Back to index

indicator-session  12.10.0
shared-names.h
Go to the documentation of this file.
00001 /*
00002 A small wrapper utility to load indicators and put them as menu items
00003 into the gnome-panel using it's applet interface.
00004 
00005 Copyright 2009 Canonical Ltd.
00006 
00007 Authors:
00008     Ted Gould <ted@canonical.com>
00009 
00010 This program is free software: you can redistribute it and/or modify it
00011 under the terms of the GNU General Public License version 3, as published
00012 by the Free Software Foundation.
00013 
00014 This program is distributed in the hope that it will be useful, but
00015 WITHOUT ANY WARRANTY; without even the implied warranties of
00016 MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
00017 PURPOSE.  See the GNU General Public License for more details.
00018 
00019 You should have received a copy of the GNU General Public License along
00020 with this program.  If not, see <http://www.gnu.org/licenses/>.
00021 */
00022 
00023 #ifndef __DBUS_SHARED_NAMES_H__
00024 #define __DBUS_SHARED_NAMES_H__ 
00025 
00026 #define INDICATOR_SESSION_DBUS_NAME  "com.canonical.indicator.session"
00027 #define INDICATOR_SESSION_DBUS_OBJECT "/com/canonical/indicator/session/menu"
00028 #define INDICATOR_SESSION_DBUS_VERSION  0
00029 
00030 #define INDICATOR_SESSION_SERVICE_DBUS_OBJECT "/com/canonical/indicator/session/service"
00031 #define INDICATOR_SESSION_SERVICE_DBUS_IFACE  "com.canonical.indicator.session.service"
00032 #define USER_ITEM_TYPE            "x-canonical-user-item"
00033 #define USER_ITEM_PROP_NAME       "user-item-name"
00034 #define USER_ITEM_PROP_LOGGED_IN  "user-item-logged-in"
00035 #define USER_ITEM_PROP_IS_CURRENT_USER "user-item-is-current-user"
00036 #define USER_ITEM_PROP_ICON       "user-item-icon-path"
00037 #define USER_ITEM_ICON_DEFAULT    "avatar-default"
00038 
00039 #define RESTART_ITEM_TYPE         "x-canonical-restart-item"
00040 #define RESTART_ITEM_LABEL        "restart-label"
00041 #define RESTART_ITEM_ICON         "restart-icon"
00042 
00043 #define ICON_DEFAULT              "system-devices-panel"
00044 #define ICON_RESTART              "system-devices-panel-alert"
00045 #define GREETER_ICON_DEFAULT      "system-shutdown-panel"
00046 #define GREETER_ICON_RESTART      "system-shutdown-panel-restart"
00047 
00048 /* the session indicator's settings */
00049 #define SESSION_SCHEMA                "com.canonical.indicator.session"
00050 #define SUPPRESS_KEY                  "suppress-logout-restart-shutdown"
00051 #define LOGOUT_KEY                    "suppress-logout-menuitem"
00052 #define RESTART_KEY                   "suppress-restart-menuitem"
00053 #define SHUTDOWN_KEY                  "suppress-shutdown-menuitem"
00054 #define SHOW_USER_MENU                "user-show-menu"
00055 
00056 
00057 #endif /* __DBUS_SHARED_NAMES_H__ */