[gnome-control-center] printers: Drop "select_new_printer" property leftover



commit f3141e430b410b86a5ce08a6dbdfcd2d38491634
Author: Felipe Borges <felipeborges gnome org>
Date:   Tue May 16 13:39:47 2017 +0200

    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

 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 7fb4748..a9504c6 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;


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