From 8981216d64d501530549836c49fc2844466f9de6 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Mon, 25 Apr 2011 17:41:28 +0200 Subject: Store known providers and balance in gsettings based on the IMSI of the SIM card --- data/Makefile.am | 26 +++++++++++++++ data/org.gnome.PrepaidManager.gschema.xml.in.in | 43 +++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 data/Makefile.am create mode 100644 data/org.gnome.PrepaidManager.gschema.xml.in.in (limited to 'data') diff --git a/data/Makefile.am b/data/Makefile.am new file mode 100644 index 0000000..d97af90 --- /dev/null +++ b/data/Makefile.am @@ -0,0 +1,26 @@ +NULL = + +gsettings_SCHEMAS = org.gnome.PrepaidManager.gschema.xml + +@INTLTOOL_XML_NOMERGE_RULE@ +@GSETTINGS_RULES@ + +%.gschema.xml.in: %.gschema.xml.in.in Makefile + $(AM_V_GEN) sed -e 's^\@GETTEXT_PACKAGE\@^$(GETTEXT_PACKAGE)^g' < $< > $@ + +# We need to compile schemas at make time +# to run from source tree +gschemas.compiled: $(gsettings_SCHEMAS:.xml=.valid) + $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --targetdir=. . + +all-local: gschemas.compiled + +EXTRA_DIST = \ + org.gnome.PrepaidManager.gschema.xml.in.in \ + $(NULL) + +CLEANFILES = \ + $(gsettings_SCHEMAS) \ + gschemas.compiled \ + $(NULL) + diff --git a/data/org.gnome.PrepaidManager.gschema.xml.in.in b/data/org.gnome.PrepaidManager.gschema.xml.in.in new file mode 100644 index 0000000..2b75c8e --- /dev/null +++ b/data/org.gnome.PrepaidManager.gschema.xml.in.in @@ -0,0 +1,43 @@ + + + + [] + <_summary>Accounts + <_description> + List of configured accounts. The account at your GSM/UMTS provider is + identified by the imsi on your SIM card. + + + + + + + "" + <_summary>The providers name + <_description> + The name of the mobile broadband provider. + + + + "" + <_summary>The country the provider operates in + <_description> + This is the country where you bought the SIM card. + + + + "The current balance is unknown." + <_summary>Balance + <_description> + The current balance of this account. + + + + "" + <_summary>Update timestamp + <_description> + The last time the balance got updated. + + + + -- cgit v1.2.3