~ubuntu-branches/ubuntu/oneiric/indicator-session/oneiric-proposed

« back to all changes in this revision

Viewing changes to .pc/revert_icon_change.patch/src/dbus-shared-names.h

  • Committer: Package Import Robot
  • Author(s): Ken VanDine
  • Date: 2011-09-02 12:22:03 UTC
  • mfrom: (1.1.38 upstream)
  • Revision ID: package-import@ubuntu.com-20110902122203-ntfu0pv60f0prrpt
Tags: 0.3.4.2-0ubuntu1
* New upstream release.
  - states 'software up-to-date' although there're updates 
    available" (LP: #831650)
* -debian/patches/revert_icon_change.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
A small wrapper utility to load indicators and put them as menu items
3
 
into the gnome-panel using it's applet interface.
4
 
 
5
 
Copyright 2009 Canonical Ltd.
6
 
 
7
 
Authors:
8
 
    Ted Gould <ted@canonical.com>
9
 
 
10
 
This program is free software: you can redistribute it and/or modify it
11
 
under the terms of the GNU General Public License version 3, as published
12
 
by the Free Software Foundation.
13
 
 
14
 
This program is distributed in the hope that it will be useful, but
15
 
WITHOUT ANY WARRANTY; without even the implied warranties of
16
 
MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
17
 
PURPOSE.  See the GNU General Public License for more details.
18
 
 
19
 
You should have received a copy of the GNU General Public License along
20
 
with this program.  If not, see <http://www.gnu.org/licenses/>.
21
 
*/
22
 
 
23
 
#ifndef __DBUS_SHARED_NAMES_H__
24
 
#define __DBUS_SHARED_NAMES_H__ 
25
 
 
26
 
typedef enum {
27
 
  UP_TO_DATE,
28
 
  CHECKING_FOR_UPDATES,
29
 
  UPDATES_AVAILABLE,
30
 
  UPGRADE_IN_PROGRESS, 
31
 
  FINISHED, 
32
 
  RESTART_NEEDED,
33
 
  DONT_KNOW
34
 
}AptState;
35
 
 
36
 
typedef enum {
37
 
  SIMULATION,
38
 
  REAL
39
 
}TransactionType;
40
 
 
41
 
#define INDICATOR_USERS_DBUS_NAME  INDICATOR_SESSION_DBUS_NAME
42
 
#define INDICATOR_USERS_DBUS_OBJECT "/com/canonical/indicator/users/menu"
43
 
#define INDICATOR_USERS_SERVICE_DBUS_OBJECT "/org/gnome/DisplayManager/UserManager"
44
 
#define INDICATOR_USERS_SERVICE_DBUS_INTERFACE "org.gnome.DisplayManager.UserManager"
45
 
 
46
 
#define INDICATOR_SESSION_DBUS_NAME  "com.canonical.indicator.session"
47
 
#define INDICATOR_SESSION_DBUS_OBJECT "/com/canonical/indicator/session/menu"
48
 
#define INDICATOR_SESSION_DBUS_VERSION  0
49
 
 
50
 
#define INDICATOR_SESSION_SERVICE_DBUS_OBJECT "/com/canonical/indicator/session/service"
51
 
#define INDICATOR_SESSION_SERVICE_DBUS_IFACE  "com.canonical.indicator.session.service"
52
 
 
53
 
#define USER_ITEM_TYPE            "x-canonical-user-item"
54
 
#define USER_ITEM_PROP_NAME       "user-item-name"
55
 
#define USER_ITEM_PROP_LOGGED_IN  "user-item-logged-in"
56
 
#define USER_ITEM_PROP_IS_CURRENT_USER "user-item-is-current-user"
57
 
#define USER_ITEM_PROP_ICON       "user-item-icon-path"
58
 
#define USER_ITEM_ICON_DEFAULT    "avatar-default"
59
 
 
60
 
#define RESTART_ITEM_TYPE         "x-canonical-restart-item"
61
 
#define RESTART_ITEM_LABEL        "restart-label"
62
 
#define RESTART_ITEM_ICON         "restart-icon"
63
 
 
64
 
#define ICON_DEFAULT              "system-devices-panel"
65
 
#define ICON_RESTART              "system-devices-panel-alert"
66
 
#define GREETER_ICON_DEFAULT      "system-shutdown-panel"
67
 
 
68
 
#endif /* __DBUS_SHARED_NAMES_H__ */