[gedit] Use arrow image instead of GtkArrow in the sidepane switcher
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Use arrow image instead of GtkArrow in the sidepane switcher
- Date: Sun, 20 Jul 2014 09:17:43 +0000 (UTC)
commit 265fcb136084338fd7bbd9105972f69cbaba4853
Author: Paolo Borelli <pborelli gnome org>
Date: Sun Jul 20 11:14:40 2014 +0200
Use arrow image instead of GtkArrow in the sidepane switcher
Note that this does not binds the direction property anymore
since we do not really care. If this widget needs to be more
generic it will have to be readded.
gedit/gedit-menu-stack-switcher.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gedit/gedit-menu-stack-switcher.c b/gedit/gedit-menu-stack-switcher.c
index 0ca0f9f..963f427 100644
--- a/gedit/gedit-menu-stack-switcher.c
+++ b/gedit/gedit-menu-stack-switcher.c
@@ -57,8 +57,7 @@ gedit_menu_stack_switcher_init (GeditMenuStackSwitcher *switcher)
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
- arrow = gtk_arrow_new (GTK_ARROW_DOWN, GTK_SHADOW_NONE);
- g_object_bind_property (switcher, "direction", arrow, "arrow-type", 0);
+ arrow = gtk_image_new_from_icon_name ("pan-down-symbolic", GTK_ICON_SIZE_BUTTON);
gtk_box_pack_end (GTK_BOX (box), arrow, FALSE, TRUE, 6);
priv->label = gtk_label_new (NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]