summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorKacper Piwiński <vfjpl1@gmail.com>2019-04-14 16:26:35 -0300
committerAndre Miranda <andreldm@xfce.org>2019-04-14 16:26:35 -0300
commit3fcd72c769dc88f27a3aa2a710f78eceb5f2a29c (patch)
tree9cdb565cb725463987f95a8745c28c741382d387 /common
parent67582a97fc57810cefd78c271aed4660dbd93dfe (diff)
downloadixfce4-power-manager-3fcd72c769dc88f27a3aa2a710f78eceb5f2a29c.tar.gz
Rename variables for xfconf channel and property prefix
Diffstat (limited to 'common')
-rw-r--r--common/xfpm-config.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/common/xfpm-config.h b/common/xfpm-config.h
index 35f646df..3c5e4044 100644
--- a/common/xfpm-config.h
+++ b/common/xfpm-config.h
@@ -1,6 +1,7 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*-
*
* * Copyright (C) 2008-2011 Ali <aliov@xfce.org>
+ * * Copyright (C) 2019 Kacper Piwiński
*
* Licensed under the GNU General Public License Version 2
*
@@ -30,8 +31,8 @@
G_BEGIN_DECLS
-#define XFPM_CHANNEL_CFG "xfce4-power-manager"
-#define PROPERTIES_PREFIX "/xfce4-power-manager/"
+#define XFPM_CHANNEL "xfce4-power-manager"
+#define XFPM_PROPERTIES_PREFIX "/xfce4-power-manager/"
#define ON_AC_INACTIVITY_TIMEOUT "inactivity-on-ac"
#define ON_BATTERY_INACTIVITY_TIMEOUT "inactivity-on-battery"
@@ -55,6 +56,7 @@ G_BEGIN_DECLS
#define PRESENTATION_MODE "presentation-mode"
#define NETWORK_MANAGER_SLEEP "network-manager-sleep"
#define HEARTBEAT_COMMAND "heartbeat-command"
+#define LOCK_COMMAND "LockCommand"
#define SHOW_TRAY_ICON_CFG "show-tray-icon"
#define POWER_SWITCH_CFG "power-button-action"