aboutsummaryrefslogtreecommitdiff
path: root/src/im-menu-item.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-09-04 08:58:43 -0500
committerTed Gould <ted@canonical.com>2009-09-04 08:58:43 -0500
commit51e1ef970beb33b529fe339abcfafa1ff99c8a83 (patch)
tree87fd881ff3a2538840b334dccba224d229c9d81f /src/im-menu-item.c
parent004770625d33b0b106551c90f7e07e109180279f (diff)
downloadayatana-indicator-messages-51e1ef970beb33b529fe339abcfafa1ff99c8a83.tar.gz
ayatana-indicator-messages-51e1ef970beb33b529fe339abcfafa1ff99c8a83.tar.bz2
ayatana-indicator-messages-51e1ef970beb33b529fe339abcfafa1ff99c8a83.zip
Fixing a header and some defines.
Diffstat (limited to 'src/im-menu-item.c')
-rw-r--r--src/im-menu-item.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/im-menu-item.c b/src/im-menu-item.c
index 242c1c4..0b8ef8f 100644
--- a/src/im-menu-item.c
+++ b/src/im-menu-item.c
@@ -24,6 +24,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#endif
#include <glib/gi18n.h>
+#include <libdbusmenu-glib/client.h>
#include <libindicate-gtk/indicator.h>
#include <libindicate-gtk/listener.h>
#include "im-menu-item.h"
@@ -298,7 +299,7 @@ im_menu_item_new (IndicateListener * listener, IndicateListenerServer * server,
priv->show_time = show_time;
priv->time_update_min = 0;
- dbusmenu_menuitem_property_set(DBUSMENU_MENUITEM(self), DBUSMENU_MENUITEM_PROP_TYPE, DBUSMENU_CLIENT_TYPES_IMAGE);
+ dbusmenu_menuitem_property_set(DBUSMENU_MENUITEM(self), "type", DBUSMENU_CLIENT_TYPES_IMAGE);
indicate_listener_get_property(listener, server, indicator, "sender", sender_cb, self);
indicate_listener_get_property_time(listener, server, indicator, "time", time_cb, self);