[gnome-control-center/wip/gbsneto/list-layout: 15/19] window: set the default width and height



commit 5f6dacbcde16120bf5757a72f78b1aadc664c203
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Sun May 22 14:35:26 2016 -0300

    window: set the default width and height
    
    Since the window can shrink down too much, it makes
    sense for us to have a sane default width and height.
    
    I arbitrarily choose 720x480 because that's the default
    resolution for CRT TVs.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=766922

 shell/window.ui |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/shell/window.ui b/shell/window.ui
index 62ce22b..66d2a80 100644
--- a/shell/window.ui
+++ b/shell/window.ui
@@ -4,6 +4,8 @@
   <template class="CcWindow" parent="GtkApplicationWindow">
     <property name="can_focus">False</property>
     <property name="window_position">center</property>
+    <property name="default-width">720</property>
+    <property name="default-height">480</property>
     <signal name="notify::window" handler="gdk_window_set_cb" object="CcWindow" swapped="no" />
     <signal name="map-event" handler="window_map_event_cb" object="CcWindow" swapped="no" />
     <child>


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