Changeset 3961 for pkg/viola/main/gnome-terminal/trunk/debian/patches/04_resized_on_tabs_switch.patch
- Timestamp:
- 06/30/08 11:13:17 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pkg/viola/main/gnome-terminal/trunk/debian/patches/04_resized_on_tabs_switch.patch
r3226 r3961 17 17 gtk_widget_size_request (widget, &widget_request); 18 18 19 diff -Nur gnome-terminal-2.18.1/src/terminal-window.c gnome-terminal-2.18.1.new/src/terminal-window.c 20 --- gnome-terminal-2.18.1/src/terminal-window.c 2007-06-19 12:36:55.000000000 +0200 21 +++ gnome-terminal-2.18.1.new/src/terminal-window.c 2007-06-19 12:36:56.000000000 +0200 22 @@ -1585,6 +1585,14 @@ 23 app = gtk_widget_get_toplevel (widget); 24 g_assert (app != NULL); 25 26 + /* This set_size_request hack is because the extra size above base 27 + * size should only include the width of widgets that intersect the 28 + * term vertically and the height of widgets that intersect the term 29 + * horizontally. It works around a GTK bug, GTK should handle 30 + * this case. The size request can be huge without hosing 31 + * anything because we set the MIN_SIZE geometry hint. 32 + */ 33 + gtk_widget_set_size_request (widget, 2000, 2000); 34 gtk_widget_size_request (app, &toplevel_request); 35 gtk_widget_size_request (widget, &widget_request); 36
Note: See TracChangeset
for help on using the changeset viewer.


