[epiphany] about: Explicit Canary in program name



commit efe48be546c16b8d4f4d48ba868626d33e74d832
Author: Philippe Normand <philn igalia com>
Date:   Mon Jul 26 17:48:43 2021 +0100

    about: Explicit Canary in program name
    
    Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/989>

 src/window-commands.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/window-commands.c b/src/window-commands.c
index 1b709cddb..8744ae10f 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -1006,11 +1006,15 @@ window_cmd_show_about (GSimpleAction *action,
   if (window)
     gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (window));
 
+  if (g_str_equal (PROFILE, "Canary"))
+    gtk_about_dialog_set_program_name (dialog, _("Epiphany Canary"));
+  else {
 #if !TECH_PREVIEW
-  gtk_about_dialog_set_program_name (dialog, _("Web"));
+    gtk_about_dialog_set_program_name (dialog, _("Web"));
 #else
-  gtk_about_dialog_set_program_name (dialog, _("Epiphany Technology Preview"));
+    gtk_about_dialog_set_program_name (dialog, _("Epiphany Technology Preview"));
 #endif
+  }
 
   gtk_about_dialog_set_version (dialog, VERSION);
   gtk_about_dialog_set_copyright (dialog,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]