diff options
author | Felipe Borges <felipeborges@gnome.org> | 2017-05-16 13:39:47 +0200 |
---|---|---|
committer | Felipe Borges <felipeborges@gnome.org> | 2017-05-29 17:34:55 +0200 |
commit | f3141e430b410b86a5ce08a6dbdfcd2d38491634 (patch) | |
tree | 6465d4ea19301d06df78337e58de6ac46f63e183 /panels | |
parent | 84ccb364c5aab708247a697d2c609374c4a6f414 (diff) | |
download | gnome-control-center-f3141e430b410b86a5ce08a6dbdfcd2d38491634.tar.gz |
printers: Drop "select_new_printer" property leftover
The select_new_printer property used to be an indicator whether
the view should change to present the newly added printer.
With the Printers presented as a list in the new design, there's
no need for this flag.
https://bugzilla.gnome.org/show_bug.cgi?id=779506
Diffstat (limited to 'panels')
-rw-r--r-- | panels/printers/cc-printers-panel.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/panels/printers/cc-printers-panel.c b/panels/printers/cc-printers-panel.c index 7fb4748cf..a9504c649 100644 --- a/panels/printers/cc-printers-panel.c +++ b/panels/printers/cc-printers-panel.c @@ -100,7 +100,6 @@ struct _CcPrintersPanelPrivate gchar *new_printer_location; gchar *new_printer_make_and_model; gboolean new_printer_on_network; - gboolean select_new_printer; gchar *renamed_printer_name; gchar *deleted_printer_name; @@ -864,7 +863,6 @@ new_printer_dialog_pre_response_cb (PpNewPrinterDialog *dialog, priv->new_printer_location = g_strdup (device_location); priv->new_printer_make_and_model = g_strdup (device_make_and_model); priv->new_printer_on_network = is_network_device; - priv->select_new_printer = TRUE; actualize_printers_list (self); } @@ -1168,7 +1166,6 @@ cc_printers_panel_init (CcPrintersPanel *self) priv->new_printer_location = NULL; priv->new_printer_make_and_model = NULL; priv->new_printer_on_network = FALSE; - priv->select_new_printer = FALSE; priv->renamed_printer_name = NULL; priv->deleted_printer_name = NULL; |