aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2020-09-01 22:40:01 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-09-05 21:42:20 +0200
commitba837fdb88026881d5282b4b9d1a010a067d2081 (patch)
treeb7021395df17dc73b396e327ac38b2a1c2d1d357
parent104ea8395908bffb164898ca6ae9a6d1bd856546 (diff)
downloadayatana-indicator-session-ba837fdb88026881d5282b4b9d1a010a067d2081.tar.gz
ayatana-indicator-session-ba837fdb88026881d5282b4b9d1a010a067d2081.tar.bz2
ayatana-indicator-session-ba837fdb88026881d5282b4b9d1a010a067d2081.zip
src/service.c: Fix suppression of Logout item.
Fixes AyatanaIndicators/ayatana-indicator-session#12. Depends on AyatanaIndicators/libayatana-indicator#25.
-rw-r--r--src/service.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c
index c364864..0d0cd36 100644
--- a/src/service.c
+++ b/src/service.c
@@ -1244,6 +1244,8 @@ indicator_session_service_init (IndicatorSessionService * self)
G_CALLBACK(rebuild_logout_section_soon), self);
g_signal_connect_swapped (gp, "changed::suppress-logout-restart-shutdown",
G_CALLBACK(rebuild_session_section_soon), self);
+ g_signal_connect_swapped(gp, "changed::suppress-logout-menuitem",
+ G_CALLBACK(rebuild_logout_section_soon), self);
g_signal_connect_swapped (gp, "changed::suppress-shutdown-menuitem",
G_CALLBACK(rebuild_session_section_soon), self);
g_signal_connect_swapped (gp, "changed::show-real-name-on-panel",