source: pkg/viola/main/gnome-terminal/trunk/debian/patches/04_resized_on_tabs_switch.patch @ 3964

Revision 3964, 935 bytes checked in by alanbach-guest, 6 years ago (diff)
  • Fixed broken upload
  • src/terminal-window.c

    diff -Nur gnome-terminal-2.18.1/src/terminal-window.c gnome-terminal-2.18.1.new/src/terminal-window.c
    old new  
    15851585  app = gtk_widget_get_toplevel (widget); 
    15861586  g_assert (app != NULL); 
    15871587 
     1588  /* This set_size_request hack is because the extra size above base 
     1589   * size should only include the width of widgets that intersect the 
     1590   * term vertically and the height of widgets that intersect the term 
     1591   * horizontally. It works around a GTK bug, GTK should handle 
     1592   * this case. The size request can be huge without hosing 
     1593   * anything because we set the MIN_SIZE geometry hint. 
     1594   */ 
     1595  gtk_widget_set_size_request (widget, 2000, 2000); 
    15881596  gtk_widget_size_request (app, &toplevel_request); 
    15891597  gtk_widget_size_request (widget, &widget_request); 
    15901598 
Note: See TracBrowser for help on using the repository browser.