summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-05-12 18:46:48 +0200
committerraveit65 <[email protected]>2017-05-25 20:13:59 +0200
commitf4b308cad220c246aa9f8b17b974ec64d7088055 (patch)
tree24352b1f342419bde42de2437ff326a74d6cf156
parent5714b32462d93bb189aa88acd767361d17d9ec1e (diff)
downloadpluma-f4b308cad220c246aa9f8b17b974ec64d7088055.tar.bz2
pluma-f4b308cad220c246aa9f8b17b974ec64d7088055.tar.xz
pluma-view: avoid GtkStock deprecations
-rw-r--r--pluma/pluma-view.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pluma/pluma-view.c b/pluma/pluma-view.c
index 7dd258df..38535065 100644
--- a/pluma/pluma-view.c
+++ b/pluma/pluma-view.c
@@ -1332,18 +1332,18 @@ customize_for_search_mode (PlumaView *view)
{
if (view->priv->search_mode == SEARCH)
{
- gtk_entry_set_icon_from_stock (GTK_ENTRY (view->priv->search_entry),
+ gtk_entry_set_icon_from_icon_name (GTK_ENTRY (view->priv->search_entry),
GTK_ENTRY_ICON_PRIMARY,
- GTK_STOCK_FIND);
+ "edit-find");
gtk_widget_set_tooltip_text (view->priv->search_entry,
_("String you want to search for"));
}
else
{
- gtk_entry_set_icon_from_stock (GTK_ENTRY (view->priv->search_entry),
+ gtk_entry_set_icon_from_icon_name (GTK_ENTRY (view->priv->search_entry),
GTK_ENTRY_ICON_PRIMARY,
- GTK_STOCK_JUMP_TO);
+ "go-jump");
gtk_widget_set_tooltip_text (view->priv->search_entry,
_("Line you want to move the cursor to"));