[gnome-applets/wip/window-picker-applet] window-picker-applet: correctly store settings
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-applets/wip/window-picker-applet] window-picker-applet: correctly store settings
- Date: Thu, 18 Sep 2014 16:55:36 +0000 (UTC)
commit 54c8fc704cd680bf56fe316bb848fd4aa22844bc
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Thu Sep 18 19:53:08 2014 +0300
window-picker-applet: correctly store settings
...rg.gnome.window-picker-applet.gschema.xml.in.in | 2 +-
window-picker-applet/src/applet.c | 4 +---
2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/window-picker-applet/data/org.gnome.window-picker-applet.gschema.xml.in.in
b/window-picker-applet/data/org.gnome.window-picker-applet.gschema.xml.in.in
index 1dc78bb..a34983b 100644
--- a/window-picker-applet/data/org.gnome.window-picker-applet.gschema.xml.in.in
+++ b/window-picker-applet/data/org.gnome.window-picker-applet.gschema.xml.in.in
@@ -1,5 +1,5 @@
<schemalist>
- <schema id="org.gnome.window-picker-applet" path="/org/gtk/window-picker-applet/">
+ <schema id="org.gnome.gnome-applets.window-picker-applet">
<key name="show-all-windows" type="b">
<default>true</default>
<summary>Show windows from all workspaces.</summary>
diff --git a/window-picker-applet/src/applet.c b/window-picker-applet/src/applet.c
index 05de55f..9a44375 100644
--- a/window-picker-applet/src/applet.c
+++ b/window-picker-applet/src/applet.c
@@ -124,9 +124,7 @@ static gboolean load_window_picker (
textdomain (GETTEXT_PACKAGE);
wnck_set_client_type (WNCK_CLIENT_TYPE_PAGER);
mainapp = app = g_slice_new0 (WinPickerApp);
- GSettings* settings = g_settings_new(
- "org.gnome.window-picker-applet"
- );
+ GSettings* settings = panel_applet_settings_new (applet, "org.gnome.gnome-applets.window-picker-applet");
mainapp->settings = settings;
app->applet = GTK_WIDGET (applet);
loadAppletStyle (GTK_WIDGET (applet)); //Load applet specific CSS Styles
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]