[gnome-control-center/wip/gbsneto/list-layout: 16/19] 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: 16/19] window: set the default width and height
- Date: Fri, 27 May 2016 00:06:09 +0000 (UTC)
commit 933a07236fbade47043e8d5a9074f275cc902b97
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]