diff options
author | Jens Georg <mail@jensge.org> | 2014-06-01 20:01:26 +0200 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2014-06-01 20:02:49 +0200 |
commit | 5e7ec5573302c5bd5db81e9bdf6b9118cd5516f3 (patch) | |
tree | 5bed4c7cd9004f5f31a229aa88b2becf5dec6299 /data | |
parent | 50a54ae2473c60813af29293ef272cd0a875fe8e (diff) | |
download | rygel-5e7ec5573302c5bd5db81e9bdf6b9118cd5516f3.tar.gz |
ui: Port from Dialog to Window
Get rid of "Gtk-Message: GtkDialog mapped without a transient parent. This is
discouraged."
Signed-off-by: Jens Georg <mail@jensge.org>
Diffstat (limited to 'data')
-rw-r--r-- | data/rygel-preferences.ui | 52 |
1 files changed, 17 insertions, 35 deletions
diff --git a/data/rygel-preferences.ui b/data/rygel-preferences.ui index bc93c57d..679659fa 100644 --- a/data/rygel-preferences.ui +++ b/data/rygel-preferences.ui @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.18.3 --> <interface> - <!-- interface-requires gtk+ 3.0 --> + <requires lib="gtk+" version="3.0"/> <object class="GtkListStore" id="iface-liststore"> <columns> <!-- column-name interface --> @@ -13,7 +14,7 @@ <column type="gchararray"/> </columns> </object> - <object class="GtkDialog" id="preferences-dialog"> + <object class="GtkWindow" id="preferences-dialog"> <property name="width_request">480</property> <property name="height_request">240</property> <property name="can_focus">False</property> @@ -22,9 +23,9 @@ <property name="border_width">6</property> <property name="title" translatable="yes">Rygel Preferences</property> <property name="default_height">600</property> - <property name="type_hint">dialog</property> - <child internal-child="vbox"> - <object class="GtkBox" id="dialog-vbox1"> + <property name="deletable">False</property> + <child> + <object class="GtkBox" id="box1"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="orientation">vertical</property> @@ -78,8 +79,6 @@ <packing> <property name="left_attach">0</property> <property name="top_attach">0</property> - <property name="width">1</property> - <property name="height">1</property> </packing> </child> <child> @@ -88,9 +87,6 @@ <property name="can_focus">False</property> <property name="toolbar_style">icons</property> <property name="icon_size">1</property> - <style> - <class name="inline-toolbar"/> - </style> <child> <object class="GtkToolButton" id="add-button"> <property name="visible">True</property> @@ -117,12 +113,13 @@ <property name="homogeneous">True</property> </packing> </child> + <style> + <class name="inline-toolbar"/> + </style> </object> <packing> <property name="left_attach">0</property> <property name="top_attach">1</property> - <property name="width">1</property> - <property name="height">1</property> </packing> </child> </object> @@ -130,7 +127,6 @@ <property name="left_attach">0</property> <property name="top_attach">1</property> <property name="width">2</property> - <property name="height">1</property> </packing> </child> <child> @@ -145,8 +141,6 @@ <packing> <property name="left_attach">1</property> <property name="top_attach">0</property> - <property name="width">1</property> - <property name="height">1</property> </packing> </child> <child> @@ -163,8 +157,6 @@ <packing> <property name="left_attach">0</property> <property name="top_attach">0</property> - <property name="width">1</property> - <property name="height">1</property> </packing> </child> </object> @@ -172,7 +164,6 @@ <property name="left_attach">0</property> <property name="top_attach">0</property> <property name="width">2</property> - <property name="height">1</property> </packing> </child> <child> @@ -223,8 +214,6 @@ <packing> <property name="left_attach">0</property> <property name="top_attach">0</property> - <property name="width">1</property> - <property name="height">1</property> </packing> </child> <child> @@ -233,9 +222,6 @@ <property name="can_focus">False</property> <property name="toolbar_style">icons</property> <property name="icon_size">1</property> - <style> - <class name="inline-toolbar"/> - </style> <child> <object class="GtkToolButton" id="network-add-button"> <property name="visible">True</property> @@ -266,12 +252,13 @@ <property name="homogeneous">True</property> </packing> </child> + <style> + <class name="inline-toolbar"/> + </style> </object> <packing> <property name="left_attach">0</property> <property name="top_attach">1</property> - <property name="width">1</property> - <property name="height">1</property> </packing> </child> </object> @@ -279,7 +266,6 @@ <property name="left_attach">0</property> <property name="top_attach">3</property> <property name="width">2</property> - <property name="height">1</property> </packing> </child> <child> @@ -295,8 +281,6 @@ <packing> <property name="left_attach">0</property> <property name="top_attach">2</property> - <property name="width">1</property> - <property name="height">1</property> </packing> </child> <child> @@ -309,13 +293,13 @@ <property name="position">0</property> </packing> </child> - <child internal-child="action_area"> - <object class="GtkButtonBox" id="dialog-action_area1"> + <child> + <object class="GtkButtonBox" id="buttonbox1"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="layout_style">end</property> <child> - <object class="GtkButton" id="button3"> + <object class="GtkButton" id="close-button"> <property name="label">gtk-close</property> <property name="visible">True</property> <property name="can_focus">True</property> @@ -336,20 +320,18 @@ <property name="expand">False</property> <property name="fill">True</property> <property name="pack_type">end</property> - <property name="position">0</property> + <property name="position">1</property> </packing> </child> </object> </child> - <action-widgets> - <action-widget response="-7">button3</action-widget> - </action-widgets> </object> <object class="GtkFileChooserDialog" id="uris-dialog"> <property name="can_focus">False</property> <property name="can_default">True</property> <property name="has_default">True</property> <property name="border_width">5</property> + <property name="type">popup</property> <property name="title" translatable="yes">Select folders</property> <property name="modal">True</property> <property name="destroy_with_parent">True</property> |