aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2023-11-04 11:08:42 +0100
committerRobert Tari <robert@tari.in>2023-11-04 11:08:42 +0100
commit75be6c2d64dfd7aee6f6dd6ae518bddbe1101ccd (patch)
treebf80f4aba0b195695181b16dfe6cbaed12033e00
parent4a9824a84f44529254388cec9f08d80488f3c938 (diff)
parentc18b57d204ea432a6d2298437ff3d8248f135253 (diff)
downloadayatana-indicator-session-75be6c2d64dfd7aee6f6dd6ae518bddbe1101ccd.tar.gz
ayatana-indicator-session-75be6c2d64dfd7aee6f6dd6ae518bddbe1101ccd.tar.bz2
ayatana-indicator-session-75be6c2d64dfd7aee6f6dd6ae518bddbe1101ccd.zip
Merge branch 'sunweaver-pr/remote-technology-name-in-suspend-menu-item'
Attributes GH PR #92: https://github.com/AyatanaIndicators/ayatana-indicator-session/pull/92
-rw-r--r--src/service.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/service.c b/src/service.c
index c3122cd..638effa 100644
--- a/src/service.c
+++ b/src/service.c
@@ -892,7 +892,9 @@ create_session_section (IndicatorSessionService * self, int profile)
if (bSuspendable)
{
- g_menu_append (menu, _("Suspend Remote Session"), "indicator.remotesuspend");
+ gchar *suspend_remote = g_strdup_printf (_("Suspend %s Session"), rda_get_remote_technology_name());
+ g_menu_append (menu, suspend_remote, "indicator.remotesuspend");
+ free (suspend_remote);
}
#endif
}