aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSense Egbert Hofstede <sense@ubuntu.com>2010-09-21 21:22:16 +0200
committerSense Egbert Hofstede <sense@ubuntu.com>2010-09-21 21:22:16 +0200
commite9ed8cb1050236d27ce749ea28fcdd5652ec8e2e (patch)
tree12834d118c7ceab41d72de9c150b09fcdb387383 /src
parentdf5dbe27aa3446bf9c7ea8953968bc49a4db5864 (diff)
downloadlibayatana-appindicator-e9ed8cb1050236d27ce749ea28fcdd5652ec8e2e.tar.gz
libayatana-appindicator-e9ed8cb1050236d27ce749ea28fcdd5652ec8e2e.tar.bz2
libayatana-appindicator-e9ed8cb1050236d27ce749ea28fcdd5652ec8e2e.zip
Undoing a previous commit that had nothing to do with what I want to achive in my merge request. That's what you get for misusing old branches\!
Diffstat (limited to 'src')
-rw-r--r--src/app-indicator.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/app-indicator.c b/src/app-indicator.c
index 3d15690..6511589 100644
--- a/src/app-indicator.c
+++ b/src/app-indicator.c
@@ -174,7 +174,6 @@ static gchar * append_panel_icon_suffix (const gchar * icon_name);
static void watcher_proxy_destroyed (GObject * object, gpointer data);
static void client_menu_changed (GtkWidget *widget, GtkWidget *child, AppIndicator *indicator);
static void submenu_changed (GtkWidget *widget, GtkWidget *child, gpointer data);
-static void submenu_added (GtkWidget *widget, GtkWidget *submenu, gpointer data);
static void theme_changed_cb (GtkIconTheme * theme, gpointer user_data);
@@ -1750,14 +1749,6 @@ container_iterate (GtkWidget *widget,
child,
0);
}
- g_signal_connect (GTK_MENU_ITEM(widget),
- "submenu-added",
- G_CALLBACK (submenu_added),
- child);
- g_signal_connect (GTK_MENU_ITEM(widget),
- "submenu-removed",
- G_CALLBACK (submenu_changed),
- child);
}
dbusmenu_menuitem_property_set_bool (child,
@@ -1822,28 +1813,6 @@ submenu_changed (GtkWidget *widget,
}
static void
-submenu_added (GtkWidget *widget,
- GtkWidget *submenu,
- gpointer data)
-{
- DbusmenuMenuitem *root = (DbusmenuMenuitem *)data;
-
- gtk_container_foreach (GTK_CONTAINER (submenu),
- container_iterate,
- root);
- g_signal_connect_object (GTK_MENU(submenu),
- "child-added",
- G_CALLBACK (submenu_changed),
- root,
- 0);
- g_signal_connect_object (GTK_MENU(submenu),
- "child-removed",
- G_CALLBACK (submenu_changed),
- root,
- 0);
-}
-
-static void
setup_dbusmenu (AppIndicator *self)
{
AppIndicatorPrivate *priv;