aboutsummaryrefslogtreecommitdiff
path: root/src/messages-service.c
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2012-12-20 17:46:15 +0100
committerLars Uebernickel <lars.uebernickel@canonical.com>2012-12-20 17:46:15 +0100
commitdd756106c02cabc79c7429e42ff6658bd37bba6c (patch)
treed2b3cec61049e1c8851f863d931ca4c706d2158c /src/messages-service.c
parent27613150b42e0846f3741e4b4db1b7271b432fad (diff)
downloadayatana-indicator-messages-dd756106c02cabc79c7429e42ff6658bd37bba6c.tar.gz
ayatana-indicator-messages-dd756106c02cabc79c7429e42ff6658bd37bba6c.tar.bz2
ayatana-indicator-messages-dd756106c02cabc79c7429e42ff6658bd37bba6c.zip
ImApplicationList: add "remove-all" signal
This is a temporary hack to work around a crash in QMenuModel.
Diffstat (limited to 'src/messages-service.c')
-rw-r--r--src/messages-service.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/messages-service.c b/src/messages-service.c
index 27bce4e..c2ca1a0 100644
--- a/src/messages-service.c
+++ b/src/messages-service.c
@@ -172,6 +172,8 @@ main (int argc, char ** argv)
G_CALLBACK (im_phone_menu_remove_message), menu);
g_signal_connect_swapped (applications, "app-stopped",
G_CALLBACK (im_phone_menu_remove_application), menu);
+ g_signal_connect_swapped (applications, "remove-all",
+ G_CALLBACK (im_phone_menu_remove_all), menu);
g_main_loop_run(mainloop);