[swell-foop] Make prefs dialog modal
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [swell-foop] Make prefs dialog modal
- Date: Sun, 8 Dec 2013 17:25:14 +0000 (UTC)
commit 9ccc2309b59fbafa918c4977db8e9e172e2c6d61
Author: William Jon McCann <william jon mccann gmail com>
Date: Sun Dec 8 10:50:55 2013 +0100
Make prefs dialog modal
https://bugzilla.gnome.org/show_bug.cgi?id=720057
data/preferences.ui | 3 +--
src/swell-foop.vala | 1 +
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/preferences.ui b/data/preferences.ui
index 3333b76..a4bfe05 100644
--- a/data/preferences.ui
+++ b/data/preferences.ui
@@ -27,9 +27,8 @@
<object class="GtkDialog" id="preferences">
<property name="can_focus">False</property>
<property name="border_width">5</property>
- <property name="title" translatable="yes">Swell Foop</property>
+ <property name="title" translatable="yes">Preferences</property>
<property name="icon_name">gnome-swell-foop</property>
- <property name="type_hint">normal</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
<property name="visible">True</property>
diff --git a/src/swell-foop.vala b/src/swell-foop.vala
index c91e53c..d5266f7 100644
--- a/src/swell-foop.vala
+++ b/src/swell-foop.vala
@@ -245,6 +245,7 @@ public class SwellFoop : Gtk.Application
preferences_dialog = (Gtk.Dialog) preferences_builder.get_object ("preferences");
preferences_dialog.transient_for = window;
+ preferences_dialog.modal = true;
/* Theme */
var theme_combo = preferences_builder.get_object ("theme-selector") as Gtk.ComboBox;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]