summaryrefslogtreecommitdiff
path: root/panels/printers/pp-options-dialog.c
diff options
context:
space:
mode:
authorMarek Kasik <mkasik@redhat.com>2013-02-12 12:20:28 +0100
committerMarek Kasik <mkasik@redhat.com>2013-02-15 18:33:46 +0100
commit39071d5b56a294c73ffb2760925706ff3ad1a413 (patch)
treea14ae22ec245a9d6384ecd2a6e323667978dacd3 /panels/printers/pp-options-dialog.c
parentd33f14b70a11a42381e4ccb7f7363c97f5f2fa81 (diff)
downloadgnome-control-center-39071d5b56a294c73ffb2760925706ff3ad1a413.tar.gz
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
Diffstat (limited to 'panels/printers/pp-options-dialog.c')
-rw-r--r--panels/printers/pp-options-dialog.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/panels/printers/pp-options-dialog.c b/panels/printers/pp-options-dialog.c
index 06c1e2b9f..300ede9f8 100644
--- a/panels/printers/pp-options-dialog.c
+++ b/panels/printers/pp-options-dialog.c
@@ -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));