[gnome-packagekit] gpk-update-viewer: set a more reasonable size request



commit 13674c362c6041264f016e62a998850de354e946
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Oct 5 12:22:43 2014 -0500

    gpk-update-viewer: set a more reasonable size request
    
    1400 works fine for small monitors since it's equivalent to "use the
    full screen," but on larger monitors it looks absurd.
    
    Also, the width request is ignored, so no need to set it manually.

 src/gpk-update-viewer.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gpk-update-viewer.c b/src/gpk-update-viewer.c
index 53dbb38..aec60cb 100644
--- a/src/gpk-update-viewer.c
+++ b/src/gpk-update-viewer.c
@@ -3333,8 +3333,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, as much as the screen allows */
-       ret = gpk_window_set_size_request (GTK_WINDOW(main_window), 700, 1200);
+       /* tall, but not so tall as to look ridiculous on large monitors */
+       ret = gpk_window_set_size_request (GTK_WINDOW(main_window), -1, 800);
        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]