GNOME Bugzilla – Bug 647962
Desensitize "Select All" when GtkEntry is empty
Last modified: 2011-04-26 11:58:23 UTC
I got a bug [1] from an Evolution user who was right-clicking in an empty GtkEntry widget and expecting the "Select All" popup menu item to select all items in a tree view. Had there been text in the entry, the purpose of the menu item would have been made clear on the first try. But I guess it *is* a little confusing when nothing happens. (I would prefer non-applicable context menu items be hidden instead of just desensitized, but that's a separate debate.) [1] bug #647954
Created attachment 186097 [details] [review] Trivial patch
Review of attachment 186097 [details] [review]: Can you please give the same treatment to the context menu in GtkTextView ? Otherwise, looks fine.
Created attachment 186495 [details] [review] Revised patch Covers both GtkEntry and GtkTextView.
Review of attachment 186495 [details] [review]: Please commit