Commit 39071d5b authored by Marek Kašík's avatar Marek Kašík
Browse files

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.
parent d33f14b7
......@@ -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));
Supports Markdown
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