Problems with detached toolbar freezing

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

 




I'm looking into gnome support in vim, and we're having a problem with the 'BonoboDockItem' detachable toolbar [menu bar should be the same, but I've been unable to move that).

The problem is that whenever the toolbar is detached & dropped, it freezes in place: it can't be moved or re-attached. The widget also keeps reporting 'is_docked' which is plainly untrue. It's buttons do, however, work.

I can't find any real documentation on this, so any pointers would be greatly appreciated!


  This is what's being done:


        BonoboDockItem *dockitem;

        gnome_app_set_toolbar(GNOME_APP(gui.mainwin), GTK_TOOLBAR(gui.toolbar));
        dockitem = gnome_app_get_dock_item_by_name(GNOME_APP(gui.mainwin),
                                                   GNOME_APP_TOOLBAR_NAME);

bonobo_dock_item_set_behavior(dockitem,BONOBO_DOCK_ITEM_BEH_NEVER_FLOATING);
        gui.toolbar_h = GTK_WIDGET(dockitem);
        gtk_container_set_border_width(GTK_CONTAINER(gui.toolbar), 0);



I added the set-behaviour line to prevent the thing being pulled off at all until we can solve the lock-up. 'toolbar' is from gtk_toolbar_new().

--
[neil@fnx ~]# rm -f .signature
[neil@fnx ~]# ls -l .signature
ls: .signature: No such file or directory
[neil@fnx ~]# exit
_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list

[Index of Archives]     [Fedora Desktop]     [Trinity Users]     [KDE]     [Gimp]     [Yosemite News]

  Powered by Linux