[empathy/gnome-2-34] Request a minimal size on the presence chooser



commit 0edb1dc7f535d800b9bf1d48d13a56a7086f704f
Author: Robert Sajdok <robert sajdok gmail com>
Date:   Mon Feb 28 10:17:33 2011 +0100

    Request a minimal size on the presence chooser
    
    This avoid to make it completely disappear when resizing the window (#583317)

 src/empathy-main-window.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index 6656ee0..84bdd70 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -1831,6 +1831,7 @@ empathy_main_window_init (EmpathyMainWindow *window)
 	gtk_widget_show (priv->presence_chooser);
 	item = gtk_tool_item_new ();
 	gtk_widget_show (GTK_WIDGET (item));
+	gtk_widget_set_size_request (priv->presence_chooser, 10, -1);
 	gtk_container_add (GTK_CONTAINER (item), priv->presence_chooser);
 	gtk_tool_item_set_is_important (item, TRUE);
 	gtk_tool_item_set_expand (item, TRUE);



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