diff options
author | raveit65 <[email protected]> | 2016-06-22 16:32:02 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-06-22 16:32:02 +0200 |
commit | 585bf5c16f20680d63d106f0bc08c537d601392d (patch) | |
tree | 0cfd3e053f3ebc09d976ba0def9037dd86d45f1c /shell | |
parent | d4e9df8989ef35e8c8ccaa4ce3b067ca25de71c2 (diff) | |
download | atril-585bf5c16f20680d63d106f0bc08c537d601392d.tar.bz2 atril-585bf5c16f20680d63d106f0bc08c537d601392d.tar.xz |
GTK+-3.0: avoid deprecated usage of GtkArrow
Diffstat (limited to 'shell')
-rw-r--r-- | shell/eggfindbar.c | 4 | ||||
-rw-r--r-- | shell/ev-sidebar.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/shell/eggfindbar.c b/shell/eggfindbar.c index 4074d4f2..82eae53f 100644 --- a/shell/eggfindbar.c +++ b/shell/eggfindbar.c @@ -331,7 +331,7 @@ egg_find_bar_init (EggFindBar *find_bar) gtk_label_set_mnemonic_widget (GTK_LABEL (label), priv->find_entry); /* Prev */ - arrow = gtk_arrow_new (GTK_ARROW_LEFT, GTK_SHADOW_NONE); + arrow = gtk_image_new_from_icon_name ("pan-start-symbolic", GTK_ICON_SIZE_BUTTON); priv->previous_button = gtk_tool_button_new (arrow, Q_("Find Pre_vious")); gtk_tool_button_set_use_underline (GTK_TOOL_BUTTON (priv->previous_button), TRUE); gtk_tool_item_set_is_important (priv->previous_button, TRUE); @@ -339,7 +339,7 @@ egg_find_bar_init (EggFindBar *find_bar) _("Find previous occurrence of the search string")); /* Next */ - arrow = gtk_arrow_new (GTK_ARROW_RIGHT, GTK_SHADOW_NONE); + arrow = gtk_image_new_from_icon_name ("pan-end-symbolic", GTK_ICON_SIZE_BUTTON); priv->next_button = gtk_tool_button_new (arrow, Q_("Find Ne_xt")); gtk_tool_button_set_use_underline (GTK_TOOL_BUTTON (priv->next_button), TRUE); gtk_tool_item_set_is_important (priv->next_button, TRUE); diff --git a/shell/ev-sidebar.c b/shell/ev-sidebar.c index 44a146f5..d2ce9d9e 100644 --- a/shell/ev-sidebar.c +++ b/shell/ev-sidebar.c @@ -379,7 +379,7 @@ ev_sidebar_init (EvSidebar *ev_sidebar) FALSE, FALSE, 0); gtk_widget_show (ev_sidebar->priv->label); - arrow = gtk_arrow_new (GTK_ARROW_DOWN, GTK_SHADOW_NONE); + arrow = gtk_image_new_from_icon_name ("pan-down-symbolic", GTK_ICON_SIZE_BUTTON); gtk_box_pack_end (GTK_BOX (select_hbox), arrow, FALSE, FALSE, 0); gtk_widget_show (arrow); |