[gnome-text-editor] about: fix program name



commit c185f3363cd81fa449e6ea049dd9392576e56ff6
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jan 6 13:30:44 2022 -0800

    about: fix program name
    
    We already get version information elsewhere now.

 src/editor-application-actions.c | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
---
diff --git a/src/editor-application-actions.c b/src/editor-application-actions.c
index 645d092..ee5a19a 100644
--- a/src/editor-application-actions.c
+++ b/src/editor-application-actions.c
@@ -175,21 +175,14 @@ editor_application_actions_about_cb (GSimpleAction *action,
                                      gpointer       user_data)
 {
   EditorApplication *self = user_data;
-  g_autofree char *program_name = NULL;
   g_autofree char *system_information = NULL;
   GtkAboutDialog *dialog;
   EditorWindow *window;
 
   g_assert (EDITOR_IS_APPLICATION (self));
 
-#if DEVELOPMENT_BUILD
-  program_name = g_strdup_printf ("%s %s (Development)", _("Text Editor"), PACKAGE_VERSION);
-#else
-  program_name = g_strdup_printf ("%s %s", _("Text Editor"), PACKAGE_VERSION);
-#endif
-
   dialog = GTK_ABOUT_DIALOG (gtk_about_dialog_new ());
-  gtk_about_dialog_set_program_name (dialog, program_name);
+  gtk_about_dialog_set_program_name (dialog, _("Text Editor"));
   gtk_about_dialog_set_logo_icon_name (dialog, PACKAGE_ICON_NAME);
   gtk_about_dialog_set_authors (dialog, authors);
   gtk_about_dialog_set_artists (dialog, artists);


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