diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-11-02 13:57:49 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-11-04 07:07:25 +0100 |
commit | 65b79215e4e335f6d1eeca435839a3f974156dda (patch) | |
tree | 3d607339db813b8b3e535cf83cf008aca8ba8353 | |
parent | 4a9824a84f44529254388cec9f08d80488f3c938 (diff) | |
download | ayatana-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.c | 4 |
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 } |