[gnome-packagekit] Better default dialog height for the main application and the update viewer. This makes it work on b



commit 4b37e22d51a6ba5462dac3e6e5655e2ae5205351
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date:   Tue Mar 29 12:09:50 2011 -0400

    Better default dialog height for the main application and the update viewer. This makes it work on both high and low resolution screens.
    
    Signed-off-by: Richard Hughes <richard hughsie com>

 src/gpk-application.c   |    4 ++--
 src/gpk-update-viewer.c |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/gpk-application.c b/src/gpk-application.c
index 4fcc8b9..bb82be4 100644
--- a/src/gpk-application.c
+++ b/src/gpk-application.c
@@ -3954,8 +3954,8 @@ gpk_application_startup_cb (GtkApplication *application, gpointer user_data)
 	/* mark find button insensitive */
 	gpk_application_set_button_find_sensitivity (NULL);
 
-	/* set a size, if the screen allows */
-	ret = gpk_window_set_size_request (GTK_WINDOW (main_window), 1000, 500);
+	/* set a size, as much as the screen allows */
+	ret = gpk_window_set_size_request (GTK_WINDOW (main_window), 1000, 1200);
 
 	/* we are small form factor */
 	if (!ret) {
diff --git a/src/gpk-update-viewer.c b/src/gpk-update-viewer.c
index df97a50..89beb94 100644
--- a/src/gpk-update-viewer.c
+++ b/src/gpk-update-viewer.c
@@ -3254,8 +3254,8 @@ gpk_update_viewer_application_startup_cb (GtkApplication *_application, gpointer
 	g_signal_connect (widget, "clicked",
 			  G_CALLBACK (gpk_update_viewer_button_upgrade_cb), NULL);
 
-	/* set a size, if the screen allows */
-	ret = gpk_window_set_size_request (GTK_WINDOW(main_window), 700, 600);
+	/* set a size, as much as the screen allows */
+	ret = gpk_window_set_size_request (GTK_WINDOW(main_window), 700, 1200);
 	if (!ret) {
 		g_debug ("small form factor mode");
 		/* hide the header in SFF mode */



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