Bonobo toolbar item positioning bug



Here's another little buglet in Bonobo. Shall I check this in?

John

ChangeLog
=========
 2000-03-17  John Sullivan  <sullivan@eazel.com>
 
     * bonobo/bonobo-uih-toolbar.c:
    (toolbar_toplevel_item_create_widgets): Another toolbar
    bug: item position was only respected if > 0, but needs
    to be >= 0.



Patch:
======

Index: bonobo/bonobo-uih-toolbar.c
===================================================================
RCS file: /cvs/gnome/bonobo/bonobo/bonobo-uih-toolbar.c,v
retrieving revision 1.7
diff -u -r1.7 bonobo-uih-toolbar.c
--- bonobo/bonobo-uih-toolbar.c    2000/03/20 16:43:59    1.7
+++ bonobo/bonobo-uih-toolbar.c    2000/03/20 17:15:26
@@ -1127,7 +1127,7 @@
 
         gtk_widget_show (toolbar_item);
 
-        if (internal->item->pos > 0)
+        if (internal->item->pos >= 0)
             gtk_toolbar_insert_widget (GTK_TOOLBAR (toolbar),
                            toolbar_item,
                            internal->item->hint, NULL,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]