aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-messages.c
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2012-08-27 15:38:04 +0200
committerLars Uebernickel <lars.uebernickel@canonical.com>2012-08-27 15:38:04 +0200
commitfab67a704ed6f189014a1988e641194e0f4babb1 (patch)
tree72dc7fbd55c4f805ea58f0e2cd93c081cd09249c /src/indicator-messages.c
parent26e95dd525ecee8024bcee0e45730798e08c877a (diff)
downloadayatana-indicator-messages-fab67a704ed6f189014a1988e641194e0f4babb1.tar.gz
ayatana-indicator-messages-fab67a704ed6f189014a1988e641194e0f4babb1.tar.bz2
ayatana-indicator-messages-fab67a704ed6f189014a1988e641194e0f4babb1.zip
Show icons on status menu items
This introduces IdoMenuItem, a GtkCheckMenuItem that can also show icons. This should go into libido at some point. Also, Im{App,Source}MenuItem could derive from it so that the GMenuItem-setting logic is only in one place.
Diffstat (limited to 'src/indicator-messages.c')
-rw-r--r--src/indicator-messages.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/indicator-messages.c b/src/indicator-messages.c
index 7625aa1..714a962 100644
--- a/src/indicator-messages.c
+++ b/src/indicator-messages.c
@@ -36,6 +36,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include "dbus-data.h"
+#include "ido-menu-item.h"
#include "im-app-menu-item.h"
#include "im-source-menu-item.h"
@@ -125,6 +126,7 @@ indicator_messages_init (IndicatorMessages *self)
/* make sure custom menu item types are registered (so that
* gtk_model_new_from_menu can pick them up */
+ ido_menu_item_get_type ();
im_app_menu_item_get_type ();
im_source_menu_item_get_type ();
}