Commit 3b6f6e66 authored by Sonny Piers's avatar Sonny Piers Committed by Richard Hughes

Remove about label hack

Fixes #1028
parent a3127c03
Pipeline #199275 passed with stage
in 4 minutes and 22 seconds
......@@ -318,7 +318,6 @@ about_activated (GSimpleAction *action,
};
const gchar *copyright = "Copyright \xc2\xa9 2016-2019 Richard Hughes, Matthias Clasen, Kalev Lember";
GtkAboutDialog *dialog;
g_autofree gchar *title = NULL;
dialog = GTK_ABOUT_DIALOG (gtk_about_dialog_new ());
gtk_about_dialog_set_authors (dialog, authors);
......@@ -329,11 +328,8 @@ about_activated (GSimpleAction *action,
gtk_about_dialog_set_version (dialog, VERSION);
gtk_about_dialog_set_program_name (dialog, g_get_application_name ());
/* TRANSLATORS: this is the title of the about window, e.g.
* 'About Software' or 'About Application Installer' where the %s is
* the application name chosen by the distro */
title = g_strdup_printf (_("About %s"), g_get_application_name ());
gtk_window_set_title (GTK_WINDOW (dialog), title);
/* TRANSLATORS: this is the title of the about window */
gtk_window_set_title (GTK_WINDOW (dialog), _("About Software"));
/* TRANSLATORS: well, we seem to think so, anyway */
gtk_about_dialog_set_comments (dialog, _("A nice way to manage the "
......
......@@ -2118,11 +2118,8 @@ gs_shell_add_about_menu_item (GsShell *shell)
primary_menu = G_MENU (gtk_builder_get_object (priv->builder, "primary_menu"));
/* TRANSLATORS: this is the menu item that opens the about window, e.g.
* 'About Software' or 'About Application Installer' where the %s is
* the application name chosen by the distro */
label = g_strdup_printf (_("About %s"), g_get_application_name ());
menu_item = g_menu_item_new (label, "app.about");
/* TRANSLATORS: this is the menu item that opens the about window */
menu_item = g_menu_item_new (_("About Software"), "app.about");
g_menu_append_item (primary_menu, menu_item);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment