[aisleriot] Increase width of game select dialog



commit 2e274a63c740e066b04f5ac31f14c3f566b459ad
Author: William Jon McCann <william jon mccann gmail com>
Date:   Mon Mar 4 00:03:12 2013 -0500

    Increase width of game select dialog
    
    https://bugzilla.gnome.org/show_bug.cgi?id=695102

 src/ar-game-chooser.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/ar-game-chooser.c b/src/ar-game-chooser.c
index 95c555c..240309f 100644
--- a/src/ar-game-chooser.c
+++ b/src/ar-game-chooser.c
@@ -57,6 +57,7 @@ enum {
   COL_GAME_MODULE
 };
 
+#define SELECT_GAME_DIALOG_MIN_WIDTH (300)
 #define SELECT_GAME_DIALOG_MIN_HEIGHT (256)
 #define SELECTED_PATH_DATA_KEY "selected-path"
 
@@ -240,7 +241,9 @@ ar_game_chooser_constructor (GType type,
 
   gtk_widget_show_all (hbox);
 
-  gtk_widget_set_size_request (scrolled_window, -1, SELECT_GAME_DIALOG_MIN_HEIGHT);
+  gtk_widget_set_size_request (scrolled_window,
+                               SELECT_GAME_DIALOG_MIN_WIDTH,
+                               SELECT_GAME_DIALOG_MIN_HEIGHT);
 
   /* Select the row corresponding to the currently loaded game,
    * and scroll to it.


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