printers: Don't react to icon-press when searching for new printers
There is no activatable icon in the new printer dialog. https://bugzilla.gnome.org/show_bug.cgi?id=694154
This commit is contained in:
parent
e2e0c505eb
commit
25f9517656
1 changed files with 0 additions and 14 deletions
|
@ -49,10 +49,6 @@
|
||||||
|
|
||||||
static void actualize_devices_list (PpNewPrinterDialog *dialog);
|
static void actualize_devices_list (PpNewPrinterDialog *dialog);
|
||||||
static void populate_devices_list (PpNewPrinterDialog *dialog);
|
static void populate_devices_list (PpNewPrinterDialog *dialog);
|
||||||
static void search_address_cb2 (GtkEntry *entry,
|
|
||||||
GtkEntryIconPosition icon_pos,
|
|
||||||
GdkEvent *event,
|
|
||||||
gpointer user_data);
|
|
||||||
static void search_address_cb (GtkSearchEntry *entry,
|
static void search_address_cb (GtkSearchEntry *entry,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
static void new_printer_dialog_response_cb (GtkDialog *_dialog,
|
static void new_printer_dialog_response_cb (GtkDialog *_dialog,
|
||||||
|
@ -467,7 +463,6 @@ pp_new_printer_dialog_init (PpNewPrinterDialog *dialog)
|
||||||
|
|
||||||
widget = (GtkWidget*)
|
widget = (GtkWidget*)
|
||||||
gtk_builder_get_object (priv->builder, "search-entry");
|
gtk_builder_get_object (priv->builder, "search-entry");
|
||||||
g_signal_connect (widget, "icon-press", G_CALLBACK (search_address_cb2), dialog);
|
|
||||||
g_signal_connect (widget, "search-changed", G_CALLBACK (search_address_cb), dialog);
|
g_signal_connect (widget, "search-changed", G_CALLBACK (search_address_cb), dialog);
|
||||||
|
|
||||||
widget = (GtkWidget*)
|
widget = (GtkWidget*)
|
||||||
|
@ -1617,15 +1612,6 @@ search_address_cb (GtkSearchEntry *entry,
|
||||||
g_free (text);
|
g_free (text);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
|
||||||
search_address_cb2 (GtkEntry *entry,
|
|
||||||
GtkEntryIconPosition icon_pos,
|
|
||||||
GdkEvent *event,
|
|
||||||
gpointer user_data)
|
|
||||||
{
|
|
||||||
search_address_cb (GTK_SEARCH_ENTRY (entry), user_data);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
actualize_devices_list (PpNewPrinterDialog *dialog)
|
actualize_devices_list (PpNewPrinterDialog *dialog)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue