aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-11-02 13:57:49 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-11-04 07:07:25 +0100
commit65b79215e4e335f6d1eeca435839a3f974156dda (patch)
tree3d607339db813b8b3e535cf83cf008aca8ba8353
parent4a9824a84f44529254388cec9f08d80488f3c938 (diff)
downloadayatana-indicator-session-65b79215e4e335f6d1eeca435839a3f974156dda.tar.gz
ayatana-indicator-session-65b79215e4e335f6d1eeca435839a3f974156dda.tar.bz2
ayatana-indicator-session-65b79215e4e335f6d1eeca435839a3f974156dda.zip
src/service.c: In remote session, show remote technology name in menu item label.
-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..b3f3c82 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");
+ char * suspend_remote = g_strdup_printf (_("Suspend %s Session"), rda_get_remote_technology_name());
+ g_menu_append (menu, _("Suspend Remote %s Session"), "indicator.remotesuspend");
+ free (suspend_remote);
}
#endif
}