[gthumb/ext] set a minimum width for the location chooser



commit 4f76bf3511d6d0b62235a5cb28e4efe9a4db4e76
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sat Dec 19 11:51:15 2009 +0100

    set a minimum width for the location chooser

 gthumb/gth-location-chooser.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gthumb/gth-location-chooser.c b/gthumb/gth-location-chooser.c
index 61362df..0b07d08 100644
--- a/gthumb/gth-location-chooser.c
+++ b/gthumb/gth-location-chooser.c
@@ -35,6 +35,8 @@
 #include "pixbuf-utils.h"
 
 
+#define MIN_WIDTH 200
+
 
 enum {
 	ITEM_TYPE_NONE,
@@ -321,6 +323,7 @@ gth_location_chooser_construct (GthLocationChooser *chooser)
 					      row_separator_func,
 					      chooser,
 					      NULL);
+	gtk_widget_set_size_request (chooser->priv->combo, MIN_WIDTH, -1);
 
 	/* icon column */
 



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