diff options
author | Lukáš Tinkl <lukas.tinkl@canonical.com> | 2016-03-15 14:39:58 +0100 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-06-22 23:20:07 +0200 |
commit | 31d06b6a5456e6a60e0e6bc21cafbff36f1f4c0c (patch) | |
tree | 0cc4603fb9b1ca02da85126cff71057184986508 /src/service.c | |
parent | a7f9ed4a8c4dadaf3b19283a70fb37e7bd9d3efc (diff) | |
download | ayatana-indicator-session-31d06b6a5456e6a60e0e6bc21cafbff36f1f4c0c.tar.gz ayatana-indicator-session-31d06b6a5456e6a60e0e6bc21cafbff36f1f4c0c.tar.bz2 ayatana-indicator-session-31d06b6a5456e6a60e0e6bc21cafbff36f1f4c0c.zip |
change the About string only for u8
would be confusing for u7/desktop and need a string freeze exception at this point
Diffstat (limited to 'src/service.c')
-rw-r--r-- | src/service.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/service.c b/src/service.c index f6f6251..206079a 100644 --- a/src/service.c +++ b/src/service.c @@ -377,7 +377,13 @@ create_admin_section (void) gchar * desktop_help_label = g_strdup_printf(_("%s Desktop Help"), get_desktop_name()); gchar * distro_help_label = g_strdup_printf(_("%s Help…"), get_distro_name()); menu = g_menu_new (); - g_menu_append (menu, _("About This Device…"), "indicator.about"); + + if (ayatana_common_utils_is_lomiri()) { + g_menu_append (menu, _("About This Device…"), "indicator.about"); + } else { + g_menu_append (menu, _("About This Computer"), "indicator.about"); + } + g_menu_append (menu, desktop_help_label, "indicator.desktop_help"); g_menu_append (menu, distro_help_label, "indicator.distro_help"); g_free (desktop_help_label); |