[gnome-control-center/wip/gbsneto/list-layout: 9/10] window: set the default width and height
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/gbsneto/list-layout: 9/10] window: set the default width and height
- Date: Sun, 22 May 2016 17:50:46 +0000 (UTC)
commit ccf0369bec2669789d3b363a1b3a22e85dbdc27a
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.
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]