aboutsummaryrefslogtreecommitdiff
path: root/src/messages-service.c
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2012-12-20 19:12:10 +0000
committerTarmac <Unknown>2012-12-20 19:12:10 +0000
commit9d0bbac69237ef2c73feb5f74ef31f81fb441fe5 (patch)
tree53b6d4befde20868dd41148fb5c5993c60cebc30 /src/messages-service.c
parent27613150b42e0846f3741e4b4db1b7271b432fad (diff)
parent7ae19a6379e95b38c9297fe64dee833ddb235e11 (diff)
downloadayatana-indicator-messages-9d0bbac69237ef2c73feb5f74ef31f81fb441fe5.tar.gz
ayatana-indicator-messages-9d0bbac69237ef2c73feb5f74ef31f81fb441fe5.tar.bz2
ayatana-indicator-messages-9d0bbac69237ef2c73feb5f74ef31f81fb441fe5.zip
ImApplicationList: add "remove-all" signal
This is a temporary hack to work around a crash in QMenuModel. Approved by Bill Filler, PS Jenkins bot.
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);