aboutsummaryrefslogtreecommitdiff
path: root/src/service.c
diff options
context:
space:
mode:
authorLukáš Tinkl <lukas.tinkl@canonical.com>2016-03-15 14:39:58 +0100
committerRobert Tari <robert@tari.in>2021-06-22 23:20:07 +0200
commit31d06b6a5456e6a60e0e6bc21cafbff36f1f4c0c (patch)
tree0cc4603fb9b1ca02da85126cff71057184986508 /src/service.c
parenta7f9ed4a8c4dadaf3b19283a70fb37e7bd9d3efc (diff)
downloadayatana-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.c8
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);