patch: bonobo_ui_handler_set_toolbar
- From: John Sullivan <sullivan eazel com>
- To: gnome-components-list <gnome-components-list gnome org>, Nat Friedman <nat helixcode com>
- Subject: patch: bonobo_ui_handler_set_toolbar
- Date: Wed, 22 Mar 2000 18:56:29 -0800
Here's another bonobo toolbar bug I ran into. The fix seemed
straightforward. Should I go ahead and check this in?
John
ChangeLog entry:
================
2000-03-22 John Sullivan <sullivan@eazel.com>
Another toolbar bug fix.
* bonobo/bonobo-uih-toolbar.c: (bonobo_ui_handler_set_toolbar):
Store new toolbar widget in the hash table in this case also.
Patch:
======
Index: bonobo/bonobo-uih-toolbar.c
===================================================================
RCS file: /cvs/gnome/bonobo/bonobo/bonobo-uih-toolbar.c,v
retrieving revision 1.8
diff -u -r1.8 bonobo-uih-toolbar.c
--- bonobo/bonobo-uih-toolbar.c 2000/03/20 18:29:07 1.8
+++ bonobo/bonobo-uih-toolbar.c 2000/03/23 02:48:42
@@ -891,6 +891,11 @@
toolbar_toplevel_toolbar_check_override (uih, name);
+ /*
+ * Store it in the widget hash table.
+ */
+ g_hash_table_insert (uih->top->name_to_toolbar_widget, g_strdup (name),
toolbar);
+
toolbar_toplevel_toolbar_store_data (
uih, name, bonobo_object_corba_objref (BONOBO_OBJECT (uih)));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]