aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2023-11-04 10:51:59 +0100
committerRobert Tari <robert@tari.in>2023-11-04 10:51:59 +0100
commitc18b57d204ea432a6d2298437ff3d8248f135253 (patch)
treebf80f4aba0b195695181b16dfe6cbaed12033e00 /src
parent65b79215e4e335f6d1eeca435839a3f974156dda (diff)
downloadayatana-indicator-session-c18b57d204ea432a6d2298437ff3d8248f135253.tar.gz
ayatana-indicator-session-c18b57d204ea432a6d2298437ff3d8248f135253.tar.bz2
ayatana-indicator-session-c18b57d204ea432a6d2298437ff3d8248f135253.zip
src/service.c: Add formatted string to menu
Diffstat (limited to 'src')
-rw-r--r--src/service.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/service.c b/src/service.c
index b3f3c82..638effa 100644
--- a/src/service.c
+++ b/src/service.c
@@ -892,8 +892,8 @@ create_session_section (IndicatorSessionService * self, int profile)
if (bSuspendable)
{
- char * suspend_remote = g_strdup_printf (_("Suspend %s Session"), rda_get_remote_technology_name());
- g_menu_append (menu, _("Suspend Remote %s 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