summaryrefslogtreecommitdiff
path: root/baobab/data
diff options
context:
space:
mode:
authorBrent Hull <[email protected]>2012-11-17 22:13:08 -0500
committerBrent Hull <[email protected]>2012-11-17 22:13:08 -0500
commit507090e64e66315d6dad960791489a477dced017 (patch)
tree12d8fac0a43fda29116866a7b131960fb5d27c49 /baobab/data
parent233037a709c7843cc63e49b90da961da04bed545 (diff)
downloadmate-utils-507090e64e66315d6dad960791489a477dced017.tar.bz2
mate-utils-507090e64e66315d6dad960791489a477dced017.tar.xz
Port disk-usage-analyzer to Gsettings (based on GNOME patch)
Diffstat (limited to 'baobab/data')
-rw-r--r--baobab/data/Makefile.am19
-rw-r--r--baobab/data/baobab-main-window.ui14
-rw-r--r--baobab/data/baobab.schemas.in70
-rw-r--r--baobab/data/org.mate.disk-usage-analyzer.gschema.xml.in40
4 files changed, 51 insertions, 92 deletions
diff --git a/baobab/data/Makefile.am b/baobab/data/Makefile.am
index 66bbd2b9..02dda3b3 100644
--- a/baobab/data/Makefile.am
+++ b/baobab/data/Makefile.am
@@ -11,21 +11,14 @@ $(baobabapp_in_files): $(baobabapp_in_files:.desktop.in=.desktop.in.in)
-schemasdir = $(MATECONF_SCHEMA_FILE_DIR)
-schemas_in_files = baobab.schemas.in
-schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
+gsettingsschema_in_files = org.mate.disk-usage-analyzer.gschema.xml.in
+gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml)
-man_MANS = mate-disk-usage-analyzer.1
+
-if MATECONF_SCHEMAS_INSTALL
-install-data-local:
- if test -z "$(DESTDIR)" ; then \
- MATECONF_CONFIG_SOURCE=$(MATECONF_SCHEMA_CONFIG_SOURCE) $(MATECONFTOOL) --makefile-install-rule $(schemas_DATA) ; \
- fi
-else
-install-data-local:
-endif
+man_MANS = mate-disk-usage-analyzer.1
EXTRA_DIST = \
$(ui_DATA) \
diff --git a/baobab/data/baobab-main-window.ui b/baobab/data/baobab-main-window.ui
index 85298f4a..e544c430 100644
--- a/baobab/data/baobab-main-window.ui
+++ b/baobab/data/baobab-main-window.ui
@@ -62,10 +62,10 @@
<accelerator key="R" modifiers="GDK_CONTROL_MASK"/>
</child>
<child>
- <object class="GtkAction" id="esci1">
+ <object class="GtkAction" id="menuquit">
<property name="stock_id">gtk-quit</property>
- <property name="name">esci1</property>
- <signal handler="on_esci1_activate" last_modification_time="Tue, 05 Jul 2005 08:47:26 GMT" name="activate"/>
+ <property name="name">menuquit</property>
+ <signal handler="on_quit_activate" last_modification_time="Tue, 05 Jul 2005 08:47:26 GMT" name="activate"/>
</object>
</child>
<child>
@@ -106,7 +106,6 @@
<property name="active">True</property>
<property name="name">view_tb</property>
<property name="label" translatable="yes">_Toolbar</property>
- <signal handler="on_view_tb_activate" last_modification_time="Wed, 19 Apr 2006 12:10:25 GMT" name="activate"/>
</object>
</child>
<child>
@@ -114,7 +113,6 @@
<property name="active">True</property>
<property name="name">view_sb</property>
<property name="label" translatable="yes">St_atusbar</property>
- <signal handler="on_view_sb_activate" last_modification_time="Wed, 19 Apr 2006 12:45:08 GMT" name="activate"/>
</object>
</child>
<child>
@@ -160,7 +158,7 @@
<menuitem action="menustop"/>
<menuitem action="menurescan"/>
<separator/>
- <menuitem action="esci1"/>
+ <menuitem action="menuquit"/>
</menu>
<menu action="edit1">
<menuitem action="expand_all"/>
@@ -197,7 +195,6 @@
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<property name="focus_on_map">True</property>
<property name="urgency_hint">False</property>
- <signal handler="on_esci1_activate" last_modification_time="Sun, 31 Jul 2005 16:47:41 GMT" name="destroy"/>
<signal handler="on_delete_activate" last_modification_time="Sun, 31 Jul 2005 16:53:49 GMT" name="delete_event"/>
<child>
<object class="GtkVBox" id="vbox1">
@@ -233,8 +230,7 @@
<property name="visible_vertical">True</property>
<property name="is_important">True</property>
<accessibility>
-
- </accessibility>
+ </accessibility>
<signal handler="on_tbscanhome_clicked" last_modification_time="Wed, 23 Aug 2006 12:30:03 GMT" name="clicked"/>
<child internal-child="accessible">
<object class="AtkObject" id="a11y-tbscanhome1">
diff --git a/baobab/data/baobab.schemas.in b/baobab/data/baobab.schemas.in
deleted file mode 100644
index 10196119..00000000
--- a/baobab/data/baobab.schemas.in
+++ /dev/null
@@ -1,70 +0,0 @@
-<mateconfschemafile>
- <schemalist>
- <schema>
- <key>/schemas/apps/baobab/ui/toolbar_visible</key>
- <applyto>/apps/baobab/ui/toolbar_visible</applyto>
- <owner>baobab</owner>
- <type>bool</type>
- <default>TRUE</default>
- <locale name="C">
- <short>Toolbar is Visible</short>
- <long>Whether the toolbar should be visible in main window.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/baobab/ui/statusbar_visible</key>
- <applyto>/apps/baobab/ui/statusbar_visible</applyto>
- <owner>baobab</owner>
- <type>bool</type>
- <default>FALSE</default>
- <locale name="C">
- <short>Status Bar is Visible</short>
- <long>Whether the status bar at the bottom of main window
- should be visible.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/baobab/properties/enable_home_monitor</key>
- <applyto>/apps/baobab/properties/enable_home_monitor</applyto>
- <owner>baobab</owner>
- <type>bool</type>
- <default>FALSE</default>
- <locale name="C">
- <short>Enable monitoring of home directory</short>
- <long>Whether any change to the home directory should
- be monitored.</long>
- </locale>
- </schema>
-
-
- <schema>
- <key>/schemas/apps/baobab/properties/skip_scan_uri_list</key>
- <applyto>/apps/baobab/properties/skip_scan_uri_list</applyto>
- <owner>baobab</owner>
- <type>list</type>
- <list_type>string</list_type>
- <default>[]</default>
- <locale name="C">
- <short>Excluded partitions URIs</short>
- <long>A list of URIs for partitions to be excluded from scanning.</long>
- </locale>
- </schema>
-
- <schema>
- <key>/schemas/apps/baobab/ui/baobab_subfoldertips_visible</key>
- <applyto>/apps/baobab/ui/baobab_subfoldertips_visible</applyto>
- <owner>baobab</owner>
- <type>bool</type>
- <default>TRUE</default>
- <locale name="C">
- <short>Subfolders tooltips visible</short>
- <long>Whether the subfolder tooltips of the selected folder
- are drawn.</long>
- </locale>
- </schema>
-
- </schemalist>
-</mateconfschemafile>
-
diff --git a/baobab/data/org.mate.disk-usage-analyzer.gschema.xml.in b/baobab/data/org.mate.disk-usage-analyzer.gschema.xml.in
new file mode 100644
index 00000000..26801491
--- /dev/null
+++ b/baobab/data/org.mate.disk-usage-analyzer.gschema.xml.in
@@ -0,0 +1,40 @@
+<schemalist>
+ <schema gettext-domain="@[email protected]" id="org.mate.disk-usage-analyzer" path="/org/mate/disk-usage-analyzer/">
+ <child name="preferences" schema="org.mate.disk-usage-analyzer.preferences"/>
+ <child name="ui" schema="org.mate.disk-usage-analyzer.ui"/>
+ </schema>
+ <schema gettext-domain="@[email protected]" id="org.mate.disk-usage-analyzer.preferences" path="/org/mate/disk-usage-analyzer/preferences/">
+ <key name="monitor-home" type="b">
+ <default>false</default>
+ <_summary>Monitor Home</_summary>
+ <_description>Whether any change to the home directory should be monitored.</_description>
+ </key>
+ <key name="excluded-uris" type="as">
+ <default>[]</default>
+ <_summary>Excluded partitions URIs</_summary>
+ <_description>A list of URIs for partitions to be excluded from scanning.</_description>
+ </key>
+ </schema>
+ <schema gettext-domain="@[email protected]" id="org.mate.disk-usage-analyzer.ui" path="/org/mate/disk-usage-analyzer/ui/">
+ <key name="toolbar-visible" type="b">
+ <default>true</default>
+ <_summary>Toolbar is Visible</_summary>
+ <_description>Whether the toolbar should be visible in main window.</_description>
+ </key>
+ <key name="statusbar-visible" type="b">
+ <default>false</default>
+ <_summary>Statusbar is Visible</_summary>
+ <_description>Whether the status bar at the bottom of main window should be visible.</_description>
+ </key>
+ <key name="subfoldertips-visible" type="b">
+ <default>true</default>
+ <_summary>Subfolder tips visible</_summary>
+ <_description>Whether the subfolder tooltips of the selected folder are drawn.</_description>
+ </key>
+ <key name="active-chart" type="s">
+ <default>'rings'</default>
+ <_summary>Active Chart</_summary>
+ <_description>Which type of chart should be displayed.</_description>
+ </key>
+ </schema>
+</schemalist>