OBS User unknown
2007-03-12 00:57:46 +00:00
committed by Git OBS Bridge
parent 1eea348231
commit 5f7dab2abf
5 changed files with 38 additions and 73 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:814ab099689aabdc6351565215ce6e5a2fc93e8b05fafd3ca70f4cefe167caf0
size 1840537

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8c1d2e5c26e8f44022f4025c192fb02fe5306a5fbf2aee90223504aff1af1e21
size 1957352

View File

@@ -1,64 +0,0 @@
https://bugzilla.novell.com/show_bug.cgi?id=211443
================================================================================
Index: src/terminal-window.c
===================================================================
--- src/terminal-window.c (revision 2081)
+++ src/terminal-window.c (revision 2082)
@@ -1613,8 +1613,22 @@
if (window->priv->active_term == screen)
return;
+ /* Workaround to remove gtknotebook's feature of computing its size based on
+ * all pages. When the widget is hidden, its size will not be taken into
+ * account.
+ */
+ if (window->priv->active_term)
+ {
+ GtkWidget *old_widget;
+ old_widget = terminal_screen_get_widget (window->priv->active_term);
+ gtk_widget_hide (old_widget);
+ }
+
widget = terminal_screen_get_widget (screen);
+ /* Make sure that the widget is no longer hidden due to the workaround */
+ gtk_widget_show (widget);
+
profile = terminal_screen_get_profile (screen);
if (!GTK_WIDGET_REALIZED (widget))
@@ -1705,11 +1719,7 @@
TerminalScreen *screen;
GtkWidget *menu_item;
int old_grid_width, old_grid_height;
- GtkWidget *old_widget;
-
- old_widget = NULL;
- old_grid_width = -1;
- old_grid_height = -1;
+ GtkWidget *old_widget, *new_widget;
if (window->priv->active_term == NULL)
return;
@@ -1725,17 +1735,13 @@
screen = TERMINAL_SCREEN (page_widget);
g_assert (screen);
+
+ /* This is so that we maintain the same grid */
+ new_widget = terminal_screen_get_widget (screen);
+ terminal_widget_set_size (new_widget, old_grid_width, old_grid_height);
terminal_window_set_active (window, screen);
- /* This is so we maintain the same grid moving among tabs with
- * different fonts.
- */
-#ifdef DEBUG_GEOMETRY
- g_fprintf (stderr,"setting size in switch_page handler\n");
-#endif
- terminal_window_set_size_force_grid (window, screen, TRUE, old_grid_width, old_grid_height);
-
update_tab_sensitivity (window);
menu_item = screen_get_menuitem (screen);

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Fri Mar 9 12:19:25 CST 2007 - maw@suse.de
- Update to version 2.17.91
- Plug a memory leak.
- Do not disable some keybindings when DnDing notebook pages.
- Include the Tango color scheme.
- Remember the zoom setting for new tabs.
- Do not have clashing shortcuts in popups.
- Do not resize when switching between tabs, hopefully.
- Focus new terminals when they are created, always.
- Handle long terminal titles better.
- Do not paint initially terminals black.
- Various UI updates and inconsistencies eliminated.
- A few crashes fixed.
- Remove upstreamed gnome-terminal-tab_resize_fix_r2082.patch
-------------------------------------------------------------------
Mon Feb 26 13:26:29 CET 2007 - sbrabec@suse.cz

View File

@@ -1,5 +1,5 @@
#
# spec file for package gnome-terminal (Version 2.16.1)
# spec file for package gnome-terminal (Version 2.17.91)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,12 +11,12 @@
# norootforbuild
Name: gnome-terminal
BuildRequires: docbook_4 gnome-doc-utils-devel gnutls-devel intltool kdelibs3-doc libglade2-devel libgnomeprintui-devel libgnomeui-devel libwnck-devel mDNSResponder-devel perl-XML-Parser scrollkeeper startup-notification-devel update-desktop-files vte-devel
BuildRequires: docbook_4 gnome-common gnome-doc-utils-devel gnutls-devel intltool kdelibs3-doc libglade2-devel libgnomeprintui-devel libgnomeui-devel libwnck-devel mDNSResponder-devel perl-XML-Parser scrollkeeper startup-notification-devel update-desktop-files vte-devel
License: GNU General Public License (GPL), GNU Library General Public License v. 2.0 and 2.1 (LGPL)
Group: System/X11/Terminals
Obsoletes: gnome-core
Version: 2.16.1
Release: 41
Version: 2.17.91
Release: 1
Summary: The GNOME 2.x Desktop Terminal
Source: %{name}-%{version}.tar.bz2
URL: http://www.gnome.org
@@ -26,7 +26,6 @@ Patch1: gnome-terminal-defaults.patch
Patch2: gnome-terminal-force-terminal-draw.patch
Patch4: gnome-terminal-desktop.patch
Patch5: %{name}-uninited-vars.patch
Patch6: gnome-terminal-tab_resize_fix_r2082.patch
Autoreqprov: on
%gconf_schemas_prereq
@@ -43,7 +42,6 @@ handy for quick tasks on the command line.
%patch2 -p1
%patch4 -p1
%patch5
%patch6
%build
autoreconf -f -i
@@ -92,6 +90,20 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/bonobo/servers/gnome-terminal.server
%changelog
* Fri Mar 09 2007 - maw@suse.de
- Update to version 2.17.91
- Plug a memory leak.
- Do not disable some keybindings when DnDing notebook pages.
- Include the Tango color scheme.
- Remember the zoom setting for new tabs.
- Do not have clashing shortcuts in popups.
- Do not resize when switching between tabs, hopefully.
- Focus new terminals when they are created, always.
- Handle long terminal titles better.
- Do not paint initially terminals black.
- Various UI updates and inconsistencies eliminated.
- A few crashes fixed.
- Remove upstreamed gnome-terminal-tab_resize_fix_r2082.patch
* Mon Feb 26 2007 - sbrabec@suse.cz
- Fixed invalid window resize (#211443).
* Wed Jan 17 2007 - sbrabec@suse.cz