printers: Show printer name only in the title of options dialog
The name of the printer is sufficient information to describe the contents of the dialog. "Options" isn't necessary. https://bugzilla.gnome.org/show_bug.cgi?id=690424
This commit is contained in:
parent
d33f14b70a
commit
39071d5b56
1 changed files with 1 additions and 5 deletions
|
@ -886,7 +886,6 @@ pp_options_dialog_new (GtkWindow *parent,
|
|||
GError *error = NULL;
|
||||
gchar *objects[] = { "options-dialog", NULL };
|
||||
guint builder_result;
|
||||
gchar *title;
|
||||
|
||||
dialog = g_new0 (PpOptionsDialog, 1);
|
||||
|
||||
|
@ -929,10 +928,7 @@ pp_options_dialog_new (GtkWindow *parent,
|
|||
g_signal_connect (dialog->dialog, "response", G_CALLBACK (options_dialog_response_cb), dialog);
|
||||
g_signal_connect (dialog->dialog, "size-allocate", G_CALLBACK (update_alignment_padding), dialog);
|
||||
|
||||
/* Translators: Options of given printer (e.g. "MyPrinter Options") */
|
||||
title = g_strdup_printf (_("%s Options"), printer_name);
|
||||
gtk_window_set_title (GTK_WINDOW (dialog->dialog), title);
|
||||
g_free (title);
|
||||
gtk_window_set_title (GTK_WINDOW (dialog->dialog), printer_name);
|
||||
|
||||
gtk_widget_show_all (GTK_WIDGET (dialog->dialog));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue