[epiphany] ephy-location-entry: no need to set icons activatable



commit ad221abf777f6d58ef33127cfc4f5bb6dd784c2b
Author: Diego Escalante Urrelo <diegoe igalia com>
Date:   Fri Feb 3 02:37:33 2012 -0500

    ephy-location-entry: no need to set icons activatable
    
    Icons are activatable by default in GtkEntry. No need to reiterate that.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=669129

 lib/widgets/ephy-location-entry.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index 217ac52..d5241d3 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -889,13 +889,6 @@ ephy_location_entry_construct_contents (EphyLocationEntry *lentry)
                                         GTK_ENTRY_ICON_PRIMARY,
                                         _("Drag and drop this icon to create a link to this page"));
 
-       gtk_entry_set_icon_activatable (GTK_ENTRY (entry),
-                                       GTK_ENTRY_ICON_PRIMARY,
-                                       TRUE);
-       gtk_entry_set_icon_activatable (GTK_ENTRY (entry),
-                                       GTK_ENTRY_ICON_SECONDARY,
-                                       TRUE);
-
        g_object_connect (entry,
                          "signal::icon-press", G_CALLBACK (icon_button_press_event_cb), lentry,
                          "signal::populate-popup", G_CALLBACK (entry_populate_popup_cb), lentry,


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