Branch: refs/heads/document-messages Author: Matthew Brush matt@geany.org Committer: Matthew Brush matt@geany.org Date: Mon, 04 Jun 2012 21:18:49 Commit: 9d7ff79a9a4a1e8640847c062ac085a8944e6de2 https://github.com/geany/geany/commit/9d7ff79a9a4a1e8640847c062ac085a8944e6d...
Log Message: ----------- Restore secondary clear icon functionality in Preferences dialog
Ensures all entries that get a clear icon added to the secondary position also set the secondary icon to be activatable. This was probably introducted during the Glade switch and could be fixed in the Glade file but this fix ensures that even hard coded entries will always have their clear icon activatable.
Modified Paths: -------------- src/ui_utils.c
Modified: src/ui_utils.c 3 files changed, 2 insertions(+), 1 deletions(-) =================================================================== @@ -1466,7 +1466,8 @@ static void entry_clear_icon_release_cb(GtkEntry *entry, gint icon_pos, */ void ui_entry_add_clear_icon(GtkEntry *entry) { - g_object_set(entry, "secondary-icon-stock", GTK_STOCK_CLEAR, NULL); + g_object_set(entry, "secondary-icon-stock", GTK_STOCK_CLEAR, + "secondary-icon-activatable", TRUE, NULL); g_signal_connect(entry, "icon-release", G_CALLBACK(entry_clear_icon_release_cb), NULL); }
@@ Diff output truncated at 100000 characters. @@
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).