libgimpwidgets: mostly port from stock IDs to icon names

Add some new API and deprecate old one.
This commit is contained in:
Michael Natterer
2014-05-07 21:27:57 +02:00
parent 233b86b32d
commit 79bd9c60de
22 changed files with 346 additions and 114 deletions

View File

@ -124,8 +124,8 @@ gimp_browser_init (GimpBrowser *browser)
G_CALLBACK (gimp_browser_entry_changed),
browser);
gtk_entry_set_icon_from_stock (GTK_ENTRY (browser->search_entry),
GTK_ENTRY_ICON_SECONDARY, GTK_STOCK_CLEAR);
gtk_entry_set_icon_from_icon_name (GTK_ENTRY (browser->search_entry),
GTK_ENTRY_ICON_SECONDARY, GTK_STOCK_CLEAR);
gtk_entry_set_icon_activatable (GTK_ENTRY (browser->search_entry),
GTK_ENTRY_ICON_SECONDARY, TRUE);
gtk_entry_set_icon_sensitive (GTK_ENTRY (browser->search_entry),