diff options
-rw-r--r-- | src/caja-side-pane.c | 4 | ||||
-rw-r--r-- | src/caja-spatial-window.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/caja-side-pane.c b/src/caja-side-pane.c index c1a6a959..ae84242e 100644 --- a/src/caja-side-pane.c +++ b/src/caja-side-pane.c @@ -353,7 +353,11 @@ caja_side_pane_init (GObject *object) side_pane->details->title_label, FALSE, FALSE, 0); +#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_widget_show (arrow); gtk_box_pack_end (GTK_BOX (select_hbox), arrow, FALSE, FALSE, 0); diff --git a/src/caja-spatial-window.c b/src/caja-spatial-window.c index 05082358..d2c79213 100644 --- a/src/caja-spatial-window.c +++ b/src/caja-spatial-window.c @@ -1062,7 +1062,11 @@ caja_spatial_window_init (CajaSpatialWindow *window) FALSE, FALSE, 0); gtk_widget_show (window->details->location_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_start (GTK_BOX (hbox), arrow, FALSE, FALSE, 0); gtk_widget_show (arrow); |