[gnome-control-center] printers: Show printer name only in the title of options dialog



commit 39071d5b56a294c73ffb2760925706ff3ad1a413
Author: Marek Kasik <mkasik redhat com>
Date:   Tue Feb 12 12:20:28 2013 +0100

    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

 panels/printers/pp-options-dialog.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/panels/printers/pp-options-dialog.c b/panels/printers/pp-options-dialog.c
index 06c1e2b..300ede9 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));
 



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