[empathy] roster-window: set a default height



commit eb6f86cc365f373851b52a11e06578374d0af9d2
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Fri Apr 20 10:03:48 2012 +0200

    roster-window: set a default height
    
    600 seems to be a decent default height and that's already the one we use for
    the log viewer window.
    
    We continue relying on Gtk+ to pick the best width as there is no point making
    the window wider as long as all the menus are displayed.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=674432

 src/empathy-roster-window.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-roster-window.c b/src/empathy-roster-window.c
index a8eb408..8e42304 100644
--- a/src/empathy-roster-window.c
+++ b/src/empathy-roster-window.c
@@ -2674,6 +2674,7 @@ empathy_roster_window_init (EmpathyRosterWindow *self)
   /* Load user-defined accelerators. */
   roster_window_accels_load ();
 
+  gtk_window_set_default_size (GTK_WINDOW (self), -1, 600);
   /* Set window size. */
   empathy_geometry_bind (GTK_WINDOW (self), GEOMETRY_NAME);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]