[gnome-packagekit] Use a reasonable default window size



commit 08ea37a2e74fdfa4497d24c16460f187186d5063
Author: Michael Catanzaro <mike catanzaro gmail com>
Date:   Sun Jun 2 09:50:42 2013 -0500

    Use a reasonable default window size
    
    The insanely small previous default was probably from the days of
    low-res displays. Since gpk-application currently always opens
    with the default window size, you currently have to resize the
    window every single time you open it, which sucks.
    
    Nowadays gnome-shell handles low-res displays just fine. If you're
    using an 800x600 resolution, this change causes the application to open
    maximized (which is desirable for very small screens).
    
    We additionally ought to remember our current size in gsettings when
    we quit, but that does not excuse a poor default.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=701464

 src/gpk-application.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gpk-application.c b/src/gpk-application.c
index ab6827a..2d990c6 100644
--- a/src/gpk-application.c
+++ b/src/gpk-application.c
@@ -3390,7 +3390,7 @@ gpk_application_startup_cb (GtkApplication *application, GpkApplicationPrivate *
        gpk_application_set_button_find_sensitivity (priv);
 
        /* set a size, as much as the screen allows */
-       gtk_window_set_default_size (GTK_WINDOW (main_window), 800, 400);
+       gtk_window_set_default_size (GTK_WINDOW (main_window), 1000, 600);
        gtk_widget_show (GTK_WIDGET(main_window));
 
        widget = GTK_WIDGET (gtk_builder_get_object (priv->builder, "treeview_packages"));


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