summaryrefslogtreecommitdiff
path: root/shell/ev-sidebar.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-06-22 20:52:50 +0200
committerraveit65 <[email protected]>2016-06-22 20:52:50 +0200
commite79e51d421e475e9236f36fd1702298d5710c463 (patch)
treebb5cfe0d9bade37084d4dab9dfc5de7e92201bcf /shell/ev-sidebar.c
parenteef796a4e34c69526fc405376b50df708d95084b (diff)
downloadatril-e79e51d421e475e9236f36fd1702298d5710c463.tar.bz2
atril-e79e51d421e475e9236f36fd1702298d5710c463.tar.xz
use symbolic arrows only for gtk+-3
Diffstat (limited to 'shell/ev-sidebar.c')
-rw-r--r--shell/ev-sidebar.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/ev-sidebar.c b/shell/ev-sidebar.c
index d2ce9d9e..5a775a91 100644
--- a/shell/ev-sidebar.c
+++ b/shell/ev-sidebar.c
@@ -379,7 +379,11 @@ ev_sidebar_init (EvSidebar *ev_sidebar)
FALSE, FALSE, 0);
gtk_widget_show (ev_sidebar->priv->label);
+#if GTK_CHECK_VERSION (3, 0, 0)
arrow = gtk_image_new_from_icon_name ("pan-down-symbolic", GTK_ICON_SIZE_BUTTON);
+#else
+ arrow = gtk_arrow_new (GTK_ARROW_DOWN, GTK_SHADOW_NONE);
+#endif
gtk_box_pack_end (GTK_BOX (select_hbox), arrow, FALSE, FALSE, 0);
gtk_widget_show (arrow);