summaryrefslogtreecommitdiff
path: root/gtk/gtktoolbar.c
diff options
context:
space:
mode:
authorSoeren Sandmann <sandmann@daimi.au.dk>2003-10-04 22:58:14 +0000
committerSøren Sandmann Pedersen <ssp@src.gnome.org>2003-10-04 22:58:14 +0000
commit26d22e865ebf2085f732b91559a280e06140eb0f (patch)
treec6fa8b9972496318f4dbf35744e75f61bd3f4889 /gtk/gtktoolbar.c
parent6d18d72eaaa101ffe90fd6ffff88d44723da6923 (diff)
downloadgdk-pixbuf-26d22e865ebf2085f732b91559a280e06140eb0f.tar.gz
focus arrow before pack_end items (#123851, Matthias Clasen)
Sun Oct 5 00:53:15 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoolbar.c (gtk_toolbar_list_children_in_focus_order): focus arrow before pack_end items (#123851, Matthias Clasen)
Diffstat (limited to 'gtk/gtktoolbar.c')
-rw-r--r--gtk/gtktoolbar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c
index dd5e8328d..4eea8f57d 100644
--- a/gtk/gtktoolbar.c
+++ b/gtk/gtktoolbar.c
@@ -1377,6 +1377,8 @@ gtk_toolbar_list_children_in_focus_order (GtkToolbar *toolbar,
result = g_list_prepend (result, item);
}
+ result = g_list_prepend (result, priv->arrow_button);
+
for (list = priv->items; list != NULL; list = list->next)
{
GtkToolItem *item = list->data;
@@ -1385,8 +1387,6 @@ gtk_toolbar_list_children_in_focus_order (GtkToolbar *toolbar,
result = g_list_prepend (result, item);
}
- result = g_list_prepend (result, priv->arrow_button);
-
rtl = (gtk_widget_get_direction (GTK_WIDGET (toolbar)) == GTK_TEXT_DIR_RTL);
/* move in logical order when