summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gryniewicz <dang@gentoo.org>2006-09-07 04:04:31 +0000
committerDaniel Gryniewicz <dang@gentoo.org>2006-09-07 04:04:31 +0000
commit3e82c1fd87d3e0008708fd180fb2a5a90959e92b (patch)
tree493dedc208c29cab70dc591371fe11d14454407b /x11-terms/gnome-terminal/files
parentStable x86; bug #140715 (diff)
downloadhistorical-3e82c1fd87d3e0008708fd180fb2a5a90959e92b.tar.gz
historical-3e82c1fd87d3e0008708fd180fb2a5a90959e92b.tar.bz2
historical-3e82c1fd87d3e0008708fd180fb2a5a90959e92b.zip
gnome 2.16
Package-Manager: portage-2.1.1_rc1-r2
Diffstat (limited to 'x11-terms/gnome-terminal/files')
-rw-r--r--x11-terms/gnome-terminal/files/digest-gnome-terminal-2.16.03
-rw-r--r--x11-terms/gnome-terminal/files/gnome-terminal-2.15-tab-switching-no-resize.patch60
2 files changed, 63 insertions, 0 deletions
diff --git a/x11-terms/gnome-terminal/files/digest-gnome-terminal-2.16.0 b/x11-terms/gnome-terminal/files/digest-gnome-terminal-2.16.0
new file mode 100644
index 000000000000..62ba5ea46a71
--- /dev/null
+++ b/x11-terms/gnome-terminal/files/digest-gnome-terminal-2.16.0
@@ -0,0 +1,3 @@
+MD5 d49b53478d49a813c4ecc2836143bb5d gnome-terminal-2.16.0.tar.bz2 1914710
+RMD160 23a65e81c30d124a6dcf35d78f877fed834e8bcd gnome-terminal-2.16.0.tar.bz2 1914710
+SHA256 eda4689ee0a00742a3bb23337ef9f76faaeb5bb19f2f603db820dc8276d0c541 gnome-terminal-2.16.0.tar.bz2 1914710
diff --git a/x11-terms/gnome-terminal/files/gnome-terminal-2.15-tab-switching-no-resize.patch b/x11-terms/gnome-terminal/files/gnome-terminal-2.15-tab-switching-no-resize.patch
new file mode 100644
index 000000000000..0d0a70b171f9
--- /dev/null
+++ b/x11-terms/gnome-terminal/files/gnome-terminal-2.15-tab-switching-no-resize.patch
@@ -0,0 +1,60 @@
+--- src/terminal-window.c 2006-05-25 12:31:18.000000000 -0500
++++ - 2006-05-25 12:33:48.497915000 -0500
+@@ -1592,8 +1592,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))
+@@ -1684,11 +1698,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;
+@@ -1704,17 +1714,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);