[drwright] Change schema name
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [drwright] Change schema name
- Date: Sat, 20 Nov 2010 22:14:42 +0000 (UTC)
commit 3749084e0e3ed43e02b754f8be588417fe7c113c
Author: Christian Persch <chpe gnome org>
Date: Fri Nov 19 22:38:24 2010 +0100
Change schema name
g-s-d expects the schema name to be derived from the module name, so use
"typing-break" instead of "TypingBreak".
po/POTFILES.in | 2 +-
src/Makefile.am | 2 +-
src/drw-cc-panel.c | 2 +-
src/drwright.h | 2 +-
src/gsd-typing-break-manager.c | 2 +-
...ngs-daemon.plugins.typing-break.gschema.xml.in} | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 50d5b2d..edcd3d8 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -3,6 +3,6 @@ src/main.c
src/drwright.c
src/drw-break-window.c
src/drw-monitor.c
-src/org.gnome.settings-daemon.plugins.TypingBreak.gschema.xml.in
+src/org.gnome.settings-daemon.plugins.typing-break.gschema.xml.in
src/gnome-typing-break-panel.desktop.in.in
[type: gettext/glade]src/drwright-panel.glade
diff --git a/src/Makefile.am b/src/Makefile.am
index a5a04be..496cec7 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -133,7 +133,7 @@ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
# GSettings
-gsettings_schemas_in_files = org.gnome-settings-daemon.plugins.TypingBreak.gschema.xml.in
+gsettings_schemas_in_files = org.gnome.settings-daemon.plugins.typing-break.gschema.xml.in
gsettings_SCHEMAS = $(gsettings_schemas_in_files:.gschema.xml.in=.gschema.xml)
gsettings_convertdir = $(datadir)/GConf/gsettings
diff --git a/src/drw-cc-panel.c b/src/drw-cc-panel.c
index f39edb5..7c63f50 100644
--- a/src/drw-cc-panel.c
+++ b/src/drw-cc-panel.c
@@ -24,7 +24,7 @@
#include "drw-cc-panel.h"
-#define DRW_SETTINGS_SCHEMA_ID "org.gnome.settings-daemon.plugins.TypingBreak"
+#define DRW_SETTINGS_SCHEMA_ID "org.gnome.settings-daemon.plugins.typing-break"
G_DEFINE_DYNAMIC_TYPE (DrwCcPanel, drw_cc_panel, CC_TYPE_PANEL)
diff --git a/src/drwright.h b/src/drwright.h
index 12234ac..9ce13c3 100644
--- a/src/drwright.h
+++ b/src/drwright.h
@@ -21,7 +21,7 @@
#ifndef __DR_WRIGHT_H__
#define __DR_WRIGHT_H__
-#define DRW_SETTINGS_SCHEMA_ID "org.gnome.settings-daemon.plugins.TypingBreak"
+#define DRW_SETTINGS_SCHEMA_ID "org.gnome.settings-daemon.plugins.typing-break"
typedef struct _DrWright DrWright;
diff --git a/src/gsd-typing-break-manager.c b/src/gsd-typing-break-manager.c
index 88abfce..081bc39 100644
--- a/src/gsd-typing-break-manager.c
+++ b/src/gsd-typing-break-manager.c
@@ -40,7 +40,7 @@
#include "gnome-settings-profile.h"
#include "gsd-typing-break-manager.h"
-#define DRW_SETTINGS_SCHEMA_ID "org.gnome.settings-daemon.plugins.TypingBreak"
+#define DRW_SETTINGS_SCHEMA_ID "org.gnome.settings-daemon.plugins.typing-break"
#define I_(string) (g_intern_static_string (string))
#define GSD_TYPING_BREAK_MANAGER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GSD_TYPE_TYPING_BREAK_MANAGER, GsdTypingBreakManagerPrivate))
diff --git a/src/org.gnome-settings-daemon.plugins.TypingBreak.gschema.xml.in b/src/org.gnome.settings-daemon.plugins.typing-break.gschema.xml.in
similarity index 96%
rename from src/org.gnome-settings-daemon.plugins.TypingBreak.gschema.xml.in
rename to src/org.gnome.settings-daemon.plugins.typing-break.gschema.xml.in
index eddb872..fac3a92 100644
--- a/src/org.gnome-settings-daemon.plugins.TypingBreak.gschema.xml.in
+++ b/src/org.gnome.settings-daemon.plugins.typing-break.gschema.xml.in
@@ -17,7 +17,7 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-->
<schemalist>
- <schema id="org.gnome.settings-daemon.plugins.TypingBreak"
+ <schema id="org.gnome.settings-daemon.plugins.typing-break"
path="/org/gnome/settings-daemon/plugins/typing-break/"
gettext-domain="drwright">
<key name="active" type="b">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]