From 51b8a58f3b49661f5b97a714571d6caa77ec25d0 Mon Sep 17 00:00:00 2001 From: Jiri Moskovcak Date: Fri, 20 Feb 2009 11:28:18 +0100 Subject: Readded simple actions to status icon. --- src/Applet/CCApplet.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/Applet/CCApplet.h') diff --git a/src/Applet/CCApplet.h b/src/Applet/CCApplet.h index b1c62a48..f2f0b2c4 100644 --- a/src/Applet/CCApplet.h +++ b/src/Applet/CCApplet.h @@ -52,8 +52,11 @@ class CApplet void Crash(std::string &value); protected: //@@TODO applet menus - void OnAppletActivate_CB(); - void OnMenuPopup_cb(guint button, guint32 activate_time); + static void OnAppletActivate_CB(GtkStatusIcon *status_icon,gpointer user_data); + static void OnMenuPopup_cb(GtkStatusIcon *status_icon, + guint button, + guint activate_time, + gpointer user_data); //menu //Glib::RefPtr m_refUIManager; //Glib::RefPtr m_refActionGroup; -- cgit