bonobo_ui_component_set_translate from within signal
- From: Amanda Mueller t-online de (Lutz Müller)
- To: gnome-components-list gnome org
- Subject: bonobo_ui_component_set_translate from within signal
- Date: 01 Mar 2001 01:40:22 +0000
Hi!
When bonobo_ui_component_set_translate is called from within a signal,
the menu doesn't get updated.
I assume everything gets added to the component/container, as bonobo
will still complain if something is wrong with the ui-xml. It just
doesn't get displayed. If I add some menu while building up the main
widgets, everything works. However, menus of controls will get
displayed, even if they are added to the window during a signal.
I need to call bonobo_ui_component_set_translate from within a signal -
if a camera is selected on the shortcut-bar of GnoCam, I have to build
up a new widget for the camera and add camera-specific menus to
/menu/Camera (every camera has different abilities nowadays...).
A "fix" could be to just hide/show a menuitem "Camera" and pop up a
dynamically generated configuration dialog, but I dislike clicking
around a lot...
What do I do wrong?
Thank you!
Lutz Müller
--
\|||/
+------------------------------------------------+ (o o)
| Lutz Mueller +49 (7156) 34837 +---ooO-(_)-Ooo---+
| |
| Hans-Sachs-Strasse 5 |
| 71254 Ditzingen http://www.uni-karlsruhe.de/~Lutz.Mueller |
| Germany urc8 rz uni-karlsruhe de |
+------------------------------------------------------------------+
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]