r13441 - in /desktop/unstable/gnome-terminal/debian: changelog patches/04_resized_on_tabs_switch.patch

lool at users.alioth.debian.org lool at users.alioth.debian.org
Wed Nov 14 09:08:03 UTC 2007


Author: lool
Date: Wed Nov 14 09:08:01 2007
New Revision: 13441

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=13441
Log:
* New patch, 04_resized_on_tabs_switch, kludge to help Gtk+ resize the
  terminal when switching tabs; from the Ubuntu package.

Added:
    desktop/unstable/gnome-terminal/debian/patches/04_resized_on_tabs_switch.patch
Modified:
    desktop/unstable/gnome-terminal/debian/changelog

Modified: desktop/unstable/gnome-terminal/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-terminal/debian/changelog?rev=13441&op=diff
==============================================================================
--- desktop/unstable/gnome-terminal/debian/changelog (original)
+++ desktop/unstable/gnome-terminal/debian/changelog Wed Nov 14 09:08:01 2007
@@ -1,8 +1,10 @@
-gnome-terminal (2.18.2-2) UNRELEASED; urgency=low
+gnome-terminal (2.18.2-2) unstable; urgency=low
 
   * Drop version in scrollkeeper depedency.
-
- -- Loic Minier <lool at dooz.org>  Mon, 24 Sep 2007 00:11:14 +0200
+  * New patch, 04_resized_on_tabs_switch, kludge to help Gtk+ resize the
+    terminal when switching tabs; from the Ubuntu package.
+
+ -- Loic Minier <lool at dooz.org>  Wed, 14 Nov 2007 10:02:01 +0100
 
 gnome-terminal (2.18.2-1) unstable; urgency=low
 

Added: desktop/unstable/gnome-terminal/debian/patches/04_resized_on_tabs_switch.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-terminal/debian/patches/04_resized_on_tabs_switch.patch?rev=13441&op=file
==============================================================================
--- desktop/unstable/gnome-terminal/debian/patches/04_resized_on_tabs_switch.patch (added)
+++ desktop/unstable/gnome-terminal/debian/patches/04_resized_on_tabs_switch.patch Wed Nov 14 09:08:01 2007
@@ -1,0 +1,18 @@
+diff -Nur gnome-terminal-2.18.1/src/terminal-window.c gnome-terminal-2.18.1.new/src/terminal-window.c
+--- gnome-terminal-2.18.1/src/terminal-window.c	2007-06-19 12:36:55.000000000 +0200
++++ gnome-terminal-2.18.1.new/src/terminal-window.c	2007-06-19 12:36:56.000000000 +0200
+@@ -1585,6 +1585,14 @@
+   app = gtk_widget_get_toplevel (widget);
+   g_assert (app != NULL);
+ 
++  /* This set_size_request hack is because the extra size above base
++   * size should only include the width of widgets that intersect the
++   * term vertically and the height of widgets that intersect the term
++   * horizontally. It works around a GTK bug, GTK should handle
++   * this case. The size request can be huge without hosing
++   * anything because we set the MIN_SIZE geometry hint.
++   */
++  gtk_widget_set_size_request (widget, 2000, 2000);
+   gtk_widget_size_request (app, &toplevel_request);
+   gtk_widget_size_request (widget, &widget_request);
+ 




More information about the pkg-gnome-commits mailing list