[evolution-patches] 42395: shortcut-bar drags finally work
- From: Mike Kestner <mkestner ximian com>
- To: evolution-patches lists ximian com
- Subject: [evolution-patches] 42395: shortcut-bar drags finally work
- Date: 16 May 2003 10:09:15 -0500
so it turns out if group-bar::forall iterates over the child icon-bars
in reverse order, drags work beautifully.
Mike
Index: gal/shortcut-bar/ChangeLog
===================================================================
RCS file: /cvs/gnome/gal/gal/shortcut-bar/ChangeLog,v
retrieving revision 1.70
diff -u -p -r1.70 ChangeLog
--- gal/shortcut-bar/ChangeLog 7 May 2003 19:51:52 -0000 1.70
+++ gal/shortcut-bar/ChangeLog 16 May 2003 15:00:48 -0000
@@ -1,3 +1,8 @@
+2003-05-16 Mike Kestner <mkestner ximian com>
+
+ * e-group-bar.c (e_group_bar_forall): iterate over the group
+ children in reverse order like the group buttons. Fixes 42395.
+
2003-05-07 Mike Kestner <mkestner ximian com>
* e-icon-bar.c (e_icon_bar_drag_motion): call gdk_drag_status
Index: gal/shortcut-bar/e-group-bar.c
===================================================================
RCS file: /cvs/gnome/gal/gal/shortcut-bar/e-group-bar.c,v
retrieving revision 1.19
diff -u -p -r1.19 e-group-bar.c
--- gal/shortcut-bar/e-group-bar.c 25 Feb 2003 16:47:58 -0000 1.19
+++ gal/shortcut-bar/e-group-bar.c 16 May 2003 15:00:49 -0000
@@ -608,9 +608,9 @@ e_group_bar_forall (GtkContainer *cont
}
tmp_list = NULL;
- for (group_num = 0;
- group_num < group_bar->children->len;
- group_num++) {
+ for (group_num = group_bar->children->len - 1;
+ group_num >= 0;
+ group_num--) {
group = &g_array_index (group_bar->children,
EGroupBarChild, group_num);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]