[gnome-main-menu] Fix wrong GSettings schema Use MATE lockdown settings, not the gnome-main-menu ones
- From: Stefano Karapetsas <stefanok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-main-menu] Fix wrong GSettings schema Use MATE lockdown settings, not the gnome-main-menu ones
- Date: Tue, 12 Feb 2013 22:44:03 +0000 (UTC)
commit aaeae7366bdbf58eb10e864ec952442e8dbba916
Author: Stefano Karapetsas <stefano karapetsas com>
Date: Tue Feb 12 23:42:40 2013 +0100
Fix wrong GSettings schema
Use MATE lockdown settings, not the gnome-main-menu ones
main-menu/src/main-menu-ui.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/main-menu/src/main-menu-ui.c b/main-menu/src/main-menu-ui.c
index bea7150..30c1bff 100644
--- a/main-menu/src/main-menu-ui.c
+++ b/main-menu/src/main-menu-ui.c
@@ -1235,7 +1235,7 @@ app_is_in_blacklist (const gchar *uri, MainMenuUI *this)
if (blacklisted)
return TRUE;
- disable_lockscreen = g_settings_get_boolean (priv->lockdown_settings, DISABLE_LOCKSCREEN_SETTINGS_KEY);
+ disable_lockscreen = g_settings_get_boolean (priv->mate_lockdown_settings, DISABLE_LOCKSCREEN_SETTINGS_KEY);
/* Dont allow lock screen if root - same as gnome-panel */
blacklisted = libslab_desktop_item_is_lockscreen (uri) &&
( (geteuid () == 0) || disable_lockscreen );
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]