GNOME Bugzilla – Bug 704164
GtkSearchEntry: the contents is always cleared on icon-release
Last modified: 2013-07-15 10:28:30 UTC
When the icon-release signal is emitted on a GtkSearchEntry, the contents is always cleared. It should instead be cleared only if the icon-release is for the secondary icon. Because the primary icon can be used for another purpose (e.g. pop a menu with search options). A patch is coming soon.
Created attachment 249071 [details] [review] GtkSearchEntry: fix search_entry_clear_cb() When the icon-release signal is emitted on a GtkSearchEntry, the contents is now cleared only if it's for the secondary icon. The primary icon can be used for another purpose.
Review of attachment 249071 [details] [review]: See the inline comment, fix it and feel free to push. This has been acked by Company on irc. ::: gtk/gtksearchentry.c @@ +85,3 @@ static void +search_entry_clear_cb (GtkEntry *entry, + GtkEntryIconPosition icon_pos) add also the user_data that you removed
Fixed and pushed.