~ubuntu-branches/ubuntu/oneiric/cairo-dock-plug-ins/oneiric-proposed

« back to all changes in this revision

Viewing changes to MeMenu/src/applet-me.c

  • 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:
29
29
 
30
30
#include "applet-struct.h"
31
31
#include "me-service-client.h"
 
32
#include "applet-menu.h"
32
33
#include "applet-me.h"
33
34
 
34
 
#define INDICATOR_ME_DBUS_OBJECT "/org/ayatana/indicator/me/menu"
35
 
#define INDICATOR_ME_SERVICE_DBUS_OBJECT "/org/ayatana/indicator/me/service"
36
 
#define INDICATOR_ME_SERVICE_DBUS_INTERFACE "org.ayatana.indicator.me.service"
37
 
#define INDICATOR_ME_DBUS_NAME  "org.ayatana.indicator.me"
38
 
#define INDICATOR_ME_DBUS_VERSION  1
39
35
#define DEFAULT_ICON "user-offline"
40
36
 
41
37
 
94
90
{
95
91
        cd_warning ("It seems that the MeMenu is not available on this system");
96
92
        status_icon_cb (NULL, DEFAULT_ICON, NULL, myApplet);  // If we're disconnecting, go back to offline.
 
93
        
 
94
        ///cd_me_delete_entry ();
97
95
}
98
96
 
99
97
void cd_me_get_initial_values (CairoDockModuleInstance *myApplet)