diff options
author | Robert Tari <robert@tari.in> | 2023-11-04 10:51:59 +0100 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2023-11-04 10:51:59 +0100 |
commit | c18b57d204ea432a6d2298437ff3d8248f135253 (patch) | |
tree | bf80f4aba0b195695181b16dfe6cbaed12033e00 | |
parent | 65b79215e4e335f6d1eeca435839a3f974156dda (diff) | |
download | ayatana-indicator-session-c18b57d204ea432a6d2298437ff3d8248f135253.tar.gz ayatana-indicator-session-c18b57d204ea432a6d2298437ff3d8248f135253.tar.bz2 ayatana-indicator-session-c18b57d204ea432a6d2298437ff3d8248f135253.zip |
src/service.c: Add formatted string to menu
-rw-r--r-- | src/service.c | 4 |
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 |