~ubuntu-branches/ubuntu/quantal/cairo-dock-plug-ins/quantal-201208191523

« back to all changes in this revision

Viewing changes to Status-Notifier/src/applet-struct.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthieu Baerts (matttbe)
  • Date: 2011-04-20 20:46:51 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20110420204651-ftnpzesj6uc7qeul
Tags: 2.3.0~1-0ubuntu1
* New Upstream Version (LP: #723995)
* Upstream short ChangeLog (since 2.3.0~0rc1):
 - Updated translations
 - Updated the integration of the new versions of kwin and compiz
    (Switcher, ShowDesktop, etc.)
 - Removed a lot of useless g_print
 - Updated a few plug-ins to fit with the new version of the API (gldit)
 - Fixed a few bugs
 - Updated MeMenu, MessagingMenu and Status-Notifier to works
    with the latest version of dbusmenu, etc.
* Switch to dpkg-source 3.0 (quilt) format
* debian/cairo-dock-plug-ins.install:
 - Added new files (interfaces for python, ruby, vala and mono)
* debian/control:
 - Added new dependences for new applets (sensors and zeitgeist)
    and new interfaces (python, valac, ruby and mono)
 - Updated the version of cairo-dock build-dependences
* debian/rules:
 - Added a new CMake flag to install python interface in debian/tmp
* Updated debian/watch

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
#include <cairo-dock.h>
28
28
 
 
29
typedef enum {
 
30
        CD_MODE_COMPACT=0,
 
31
        CD_MODE_SUB_DOCK,
 
32
        CD_NB_MODES
 
33
        } CDDisplayMode;
 
34
 
 
35
 
29
36
//\___________ structure containing the applet's configuration parameters.
30
37
struct _AppletConfig {
31
38
        gboolean bCompactMode;  // les items sur l'icone principale ou dans un sous-dock.
93
100
struct _AppletData {
94
101
        gchar *cHostName;
95
102
        DBusGProxy *pProxyWatcher;
 
103
        DBusGProxy *pProxyWatcherProps;
 
104
        DBusGProxy *pProxyIndicatorService;
96
105
        DBusGProxy *pProxyIndicatorApplicationService;
97
 
        DBusGProxyCall* pRegisterHostCall;
98
 
        DBusGProxyCall* pGetApplicationsCall;
99
 
        GList *pItems;
100
 
        guint iSidGetWatcher;
 
106
        gboolean bIASWatched;
 
107
        gboolean bBrokenWatcher;
 
108
        GList *pItems;  // list of all items.
101
109
        GHashTable *pThemePaths;
102
110
        gint iNbLines, iNbColumns, iItemSize;  // agencement compact.
 
111
        CDStatusNotifierItem *pCurrentlyHoveredItem;  // in compact mode, item currently hovered.
 
112
        gdouble fDesktopNameAlpha;  // in compact desklet mode, alpha for the currently hovered item title.
 
113
        gint iDefaultWidth;  // in compact mode, initial icon size.
 
114
        gint iDefaultHeight;
103
115
        } ;
104
116
 
105
117