aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2009-11-24 14:06:05 -0600
committerTed Gould <ted@gould.cx>2009-11-24 14:06:05 -0600
commitce09817718cd7fd41b55c3ec1476f7ebe8834b46 (patch)
tree2efe8a911014aac29350809d948c4f3f47eee383 /src
parent254386fc933403d7b4ab559d6c9aa5dfb1234492 (diff)
downloadlibayatana-appindicator-ce09817718cd7fd41b55c3ec1476f7ebe8834b46.tar.gz
libayatana-appindicator-ce09817718cd7fd41b55c3ec1476f7ebe8834b46.tar.bz2
libayatana-appindicator-ce09817718cd7fd41b55c3ec1476f7ebe8834b46.zip
Showing the icon. Now we can put things up in the menu! Finally.
Diffstat (limited to 'src')
-rw-r--r--src/indicator-custom.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/indicator-custom.c b/src/indicator-custom.c
index 56f1032..da89c30 100644
--- a/src/indicator-custom.c
+++ b/src/indicator-custom.c
@@ -246,6 +246,7 @@ get_entries (IndicatorObject * io)
static void
application_added (DBusGProxy * proxy, const gchar * iconname, gint position, const gchar * dbusaddress, const gchar * dbusobject, IndicatorCustom * custom)
{
+ g_debug("Building new application entry: %s with icon: %s", dbusaddress, iconname);
IndicatorCustomPrivate * priv = INDICATOR_CUSTOM_GET_PRIVATE(custom);
ApplicationEntry * app = g_new(ApplicationEntry, 1);
@@ -253,6 +254,8 @@ application_added (DBusGProxy * proxy, const gchar * iconname, gint position, co
app->entry.label = NULL;
app->entry.menu = GTK_MENU(dbusmenu_gtkmenu_new((gchar *)dbusaddress, (gchar *)dbusobject));
+ gtk_widget_show(GTK_WIDGET(app->entry.image));
+
priv->applications = g_list_insert(priv->applications, app, position);
/* TODO: Need to deal with position here somehow */