[gnome-control-center/wip/gbsneto/list-layout: 32/35] 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: 32/35] window: set the default width and height
- Date: Fri, 3 Jun 2016 15:33:56 +0000 (UTC)
commit 2590e38905e6ded5f8159b994f86da26476a6f09
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.
720x480 was chosen 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 afa8efd..d8654f2 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]