summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJens Georg <jensg@openismus.com>2013-04-30 04:57:38 +0200
committerJens Georg <jensg@openismus.com>2013-04-30 10:39:23 +0200
commit4f0c4ce7e972db3683bdb6fa18e25f7c8760c867 (patch)
treec6bf7fa31859bb46955a7473a3a8c39d45315d02 /data
parent4ddd5b7cd0b1cc12f5d0f4f944eecca1aac51272 (diff)
downloadrygel-4f0c4ce7e972db3683bdb6fa18e25f7c8760c867.tar.gz
ui: Use Switch instead of checkbox
Diffstat (limited to 'data')
-rw-r--r--data/rygel-preferences.ui81
1 files changed, 46 insertions, 35 deletions
diff --git a/data/rygel-preferences.ui b/data/rygel-preferences.ui
index 244f3b99..fada1397 100644
--- a/data/rygel-preferences.ui
+++ b/data/rygel-preferences.ui
@@ -6,9 +6,6 @@
<property name="step_increment">1</property>
<property name="page_increment">10</property>
</object>
- <object class="GtkSizeGroup" id="general-labels-sizegroup">
- <property name="mode">both</property>
- </object>
<object class="GtkListStore" id="iface-liststore">
<columns>
<!-- column-name interface -->
@@ -38,28 +35,6 @@
<property name="row_spacing">12</property>
<property name="column_spacing">12</property>
<child>
- <object class="GtkCheckButton" id="upnp-checkbutton">
- <property name="label" translatable="yes">_Share media through DLNA</property>
- <property name="use_action_appearance">False</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="has_tooltip">True</property>
- <property name="tooltip_markup" translatable="yes">Enable sharing of media, such as photos, videos and music, with DLNA</property>
- <property name="tooltip_text" translatable="yes">Enable sharing of media, such as photos, videos and music, with DLNA</property>
- <property name="use_action_appearance">False</property>
- <property name="use_underline">True</property>
- <property name="xalign">0</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <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>
<object class="GtkGrid" id="grid2">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -102,11 +77,9 @@
<property name="icon_size">1</property>
<child>
<object class="GtkToolButton" id="add-button">
- <property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="tooltip_text" translatable="yes">Add a directory to the list of shared directories</property>
- <property name="use_action_appearance">False</property>
<property name="label" translatable="yes">Add shared directory</property>
<property name="icon_name">list-add-symbolic</property>
</object>
@@ -120,7 +93,6 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="tooltip_text" translatable="yes">Remove a directory from the list of shared directories</property>
- <property name="use_action_appearance">False</property>
<property name="label" translatable="yes">Remove shared directory</property>
<property name="icon_name">list-remove-symbolic</property>
</object>
@@ -183,6 +155,48 @@
<property name="height">1</property>
</packing>
</child>
+ <child>
+ <object class="GtkGrid" id="grid3">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkSwitch" id="upnp-checkbutton">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ </object>
+ <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>
+ <object class="GtkLabel" id="label1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="margin_left">12</property>
+ <property name="hexpand">True</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">_Share media through DLNA</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">upnp-checkbutton</property>
+ </object>
+ <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>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">0</property>
+ <property name="width">2</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
</object>
<packing>
<property name="expand">False</property>
@@ -198,14 +212,12 @@
<child>
<object class="GtkButton" id="button3">
<property name="label">gtk-close</property>
- <property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="has_focus">True</property>
<property name="can_default">True</property>
<property name="has_default">True</property>
<property name="receives_default">True</property>
- <property name="use_action_appearance">False</property>
<property name="use_stock">True</property>
</object>
<packing>
@@ -228,7 +240,6 @@
<action-widget response="-7">button3</action-widget>
</action-widgets>
</object>
- <object class="GtkSizeGroup" id="plugin-labels-sizegroup"/>
<object class="GtkFileChooserDialog" id="uris-dialog">
<property name="can_focus">False</property>
<property name="can_default">True</property>
@@ -256,12 +267,10 @@
<child>
<object class="GtkButton" id="button4">
<property name="label">gtk-cancel</property>
- <property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
<property name="receives_default">True</property>
- <property name="use_action_appearance">False</property>
<property name="use_stock">True</property>
</object>
<packing>
@@ -273,13 +282,11 @@
<child>
<object class="GtkButton" id="button5">
<property name="label">gtk-open</property>
- <property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
<property name="has_default">True</property>
<property name="receives_default">True</property>
- <property name="use_action_appearance">False</property>
<property name="use_stock">True</property>
</object>
<packing>
@@ -306,6 +313,10 @@
<action-widget response="-5">button5</action-widget>
</action-widgets>
</object>
+ <object class="GtkSizeGroup" id="general-labels-sizegroup">
+ <property name="mode">both</property>
+ </object>
+ <object class="GtkSizeGroup" id="plugin-labels-sizegroup"/>
<object class="GtkListStore" id="uris-liststore">
<columns>
<!-- column-name path -->