[gnome-main-menu] 01/01: debian/patches: Add 1003_adjust_disable-log-out_gschema_key.patch. (Closes: #800352).
Martin Wimpress
flexiondotorg-guest at moszumanska.debian.org
Mon Sep 28 11:38:59 UTC 2015
This is an automated email from the git hooks/post-receive script.
flexiondotorg-guest pushed a commit to branch master
in repository gnome-main-menu.
commit 13d726381e3360636981c568e62393ec08591ee5
Author: Martin Wimpress <code at flexion.org>
Date: Mon Sep 28 12:38:49 2015 +0100
debian/patches: Add 1003_adjust_disable-log-out_gschema_key.patch. (Closes: #800352).
---
.../1003_adjust_disable-log-out_gschema_key.patch | 21 +++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 22 insertions(+)
diff --git a/debian/patches/1003_adjust_disable-log-out_gschema_key.patch b/debian/patches/1003_adjust_disable-log-out_gschema_key.patch
new file mode 100644
index 0000000..5029dd8
--- /dev/null
+++ b/debian/patches/1003_adjust_disable-log-out_gschema_key.patch
@@ -0,0 +1,21 @@
+Description: Adjust disable-log-out gschema key usage for org.mate.lockdown change
+Author: Martin Wimpress <code at flexion.org>
+--- a/main-menu/src/main-menu-ui.c
++++ b/main-menu/src/main-menu-ui.c
+@@ -81,7 +81,6 @@
+ #define DISABLE_TERMINAL_SETTINGS_KEY "disable-command-line"
+ #define DISABLE_LOCKSCREEN_SETTINGS_KEY "disable-lock-screen"
+
+-#define PANEL_SCHEMA "org.mate.panel"
+ #define DISABLE_LOGOUT_SETTINGS_KEY "disable-log-out"
+
+ G_DEFINE_TYPE (MainMenuUI, main_menu_ui, G_TYPE_OBJECT)
+@@ -335,7 +334,7 @@
+ priv->filearea_settings = g_settings_new (FILE_AREA_SCHEMA);
+ priv->lockdown_settings = g_settings_new (LOCKDOWN_SETTINGS_SCHEMA);
+ priv->mate_lockdown_settings = g_settings_new (MATE_LOCKDOWN_SCHEMA);
+- priv->panel_settings = g_settings_new (PANEL_SCHEMA);
++ priv->panel_settings = g_settings_new (MATE_LOCKDOWN_SCHEMA);
+
+ window_ui_path = g_build_filename (DATADIR, PACKAGE, "slab-window.ui", NULL);
+ button_ui_path = g_build_filename (DATADIR, PACKAGE, "slab-button.ui", NULL);
diff --git a/debian/patches/series b/debian/patches/series
index 8399149..c72b7fc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
1001_build-against-libmate-slab-dev.patch
1002_update-desktop-files.patch
+1003_adjust_disable-log-out_gschema_key.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/gnome-main-menu.git
More information about the pkg-mate-commits
mailing list