[gnome-clocks] Make world location dialog modal, not resizeble and etc.
- From: Evgeny Bobkin <ebobkin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks] Make world location dialog modal, not resizeble and etc.
- Date: Sun, 14 Jul 2013 10:35:40 +0000 (UTC)
commit 2ac3a6a1a5e86791e0a720ceb83af8bc71026173
Author: Evgeny Bobkin <evgen ibqn gmail com>
Date: Sun Jul 14 12:09:53 2013 +0200
Make world location dialog modal, not resizeble and etc.
data/ui/worldlocationdialog.ui | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/data/ui/worldlocationdialog.ui b/data/ui/worldlocationdialog.ui
index 0a16245..9983c05 100644
--- a/data/ui/worldlocationdialog.ui
+++ b/data/ui/worldlocationdialog.ui
@@ -5,7 +5,13 @@
<template class="ClocksWorldLocationDialog" parent="GtkDialog">
<property name="can_focus">False</property>
<property name="title" translatable="yes">Add a New World Clock</property>
- <property name="type_hint">normal</property>
+ <property name="resizable">False</property>
+ <property name="modal">True</property>
+ <property name="window_position">center-on-parent</property>
+ <property name="destroy_with_parent">True</property>
+ <property name="type_hint">dialog</property>
+ <property name="gravity">center</property>
+ <property name="has_resize_grip">False</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
<property name="can_focus">False</property>
@@ -108,4 +114,4 @@
<action-widget response="1">button2</action-widget>
</action-widgets>
</template>
-</interface>
\ No newline at end of file
+</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]