From db9135a42865a737bd6bc7477a9aea4b31941ab1 Mon Sep 17 00:00:00 2001 From: Brent Hull Date: Sun, 18 Nov 2012 20:06:28 -0500 Subject: Use org.mate.calc as schema id --- data/Makefile.am | 4 +- data/org.mate.calc.gschema.xml.in | 75 ++++++++++++++++++++++++++++++++++ data/org.mate.mate-calc.gschema.xml.in | 75 ---------------------------------- po/POTFILES.in | 2 +- src/mate-calc.c | 2 +- 5 files changed, 79 insertions(+), 79 deletions(-) create mode 100644 data/org.mate.calc.gschema.xml.in delete mode 100644 data/org.mate.mate-calc.gschema.xml.in diff --git a/data/Makefile.am b/data/Makefile.am index b93b554..35a977a 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -6,7 +6,7 @@ ui_DATA = \ buttons-financial.ui \ buttons-programming.ui -gsettings_SCHEMAS = org.mate.mate-calc.gschema.xml +gsettings_SCHEMAS = org.mate.calc.gschema.xml @INTLTOOL_XML_NOMERGE_RULE@ @GSETTINGS_RULES@ @@ -17,7 +17,7 @@ Utilities_DATA = $(Utilities_in_files:.desktop.in=.desktop) man1_MANS = mate-calc.1 -EXTRA_DIST = $(ui_DATA) org.mate.mate-calc.gschema.xml.in mate-calc.desktop.in $(man1_MANS) +EXTRA_DIST = $(ui_DATA) org.mate.calc.gschema.xml.in mate-calc.desktop.in $(man1_MANS) DISTCLEANFILES = \ Makefile.in \ diff --git a/data/org.mate.calc.gschema.xml.in b/data/org.mate.calc.gschema.xml.in new file mode 100644 index 0000000..4f0f79b --- /dev/null +++ b/data/org.mate.calc.gschema.xml.in @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + 9 + + <_summary>Accuracy value + <_description>The number of digits displayed after the numeric point + + + 64 + + <_summary>Word size + <_description>The size of the words used in bitwise operations + + + 10 + + <_summary>Numeric Base + <_description>The numeric base + + + false + <_summary>Show Thousands Separators + <_description>Indicates whether thousands separators are shown in large numbers. + + + false + <_summary>Show Trailing Zeroes + <_description>Indicates whether any trailing zeroes after the numeric point should be shown in the display value. + + + 'fixed' + <_summary>Number format + <_description>The format to display numbers in + + + 'degrees' + <_summary>Angle units + <_description>The angle units to use + + + 'basic' + <_summary>Button mode + <_description>The button mode + + + '' + <_summary>Source currency + <_description>Currency of the current calculation + + + '' + <_summary>Target currency + <_description>Currency to convert the current calculation into + + + diff --git a/data/org.mate.mate-calc.gschema.xml.in b/data/org.mate.mate-calc.gschema.xml.in deleted file mode 100644 index 7a834f7..0000000 --- a/data/org.mate.mate-calc.gschema.xml.in +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - 9 - - <_summary>Accuracy value - <_description>The number of digits displayed after the numeric point - - - 64 - - <_summary>Word size - <_description>The size of the words used in bitwise operations - - - 10 - - <_summary>Numeric Base - <_description>The numeric base - - - false - <_summary>Show Thousands Separators - <_description>Indicates whether thousands separators are shown in large numbers. - - - false - <_summary>Show Trailing Zeroes - <_description>Indicates whether any trailing zeroes after the numeric point should be shown in the display value. - - - 'fixed' - <_summary>Number format - <_description>The format to display numbers in - - - 'degrees' - <_summary>Angle units - <_description>The angle units to use - - - 'basic' - <_summary>Button mode - <_description>The button mode - - - '' - <_summary>Source currency - <_description>Currency of the current calculation - - - '' - <_summary>Target currency - <_description>Currency to convert the current calculation into - - - diff --git a/po/POTFILES.in b/po/POTFILES.in index d684647..8113669 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -7,7 +7,7 @@ [type: gettext/glade]data/buttons-programming.ui [type: gettext/glade]data/preferences.ui data/mate-calc.desktop.in -data/org.mate.mate-calc.gschema.xml.in +data/org.mate.calc.gschema.xml.in src/currency.c src/currency.h src/financial.c diff --git a/src/mate-calc.c b/src/mate-calc.c index c8499d4..c5439af 100644 --- a/src/mate-calc.c +++ b/src/mate-calc.c @@ -222,7 +222,7 @@ main(int argc, char **argv) get_options(argc, argv); - settings = g_settings_new ("org.mate.mate-calc"); + settings = g_settings_new ("org.mate.calc"); accuracy = g_settings_get_int(settings, "accuracy"); word_size = g_settings_get_int(settings, "word-size"); base = g_settings_get_int(settings, "base"); -- cgit v1.2.1