add bonobo_ui_handler_unset_container to stop menus screwing up.

2000-09-14  Michael Meeks  <michael@helixcode.com>

	* folder-browser-factory.c (control_deactivate): add
	bonobo_ui_handler_unset_container to stop menus screwing up.

	* Add 2 missing stock icons in toolbar.

svn path=/trunk/; revision=5428
This commit is contained in:
Michael Meeks
2000-09-14 15:08:07 +00:00
committed by Michael Meeks
parent a005cabc94
commit 3d4b488b2f
5 changed files with 12 additions and 4 deletions

View File

@ -2,6 +2,7 @@
* folder-browser-factory.c: move fn to bonobo.
(set_pixmap): update.
(control_deactivate): add bonobo_ui_handler_unset_container
2000-09-14 Christopher James Lahey <clahey@helixcode.com>

View File

@ -222,9 +222,12 @@ control_deactivate (BonoboControl *control,
BonoboUIHandler *uih,
FolderBrowser *fb)
{
g_warning ("In mail control_deactivate");
bonobo_ui_component_rm (
bonobo_ui_compat_get_component (uih),
bonobo_ui_compat_get_container (uih), "/", NULL);
bonobo_ui_handler_unset_container (uih);
}
static void

View File

@ -1,3 +1,7 @@
2000-09-14 Michael Meeks <michael@helixcode.com>
* e-shell-view-menu.c: Remove sillies in toggle paths.
2000-09-14 Michael Meeks <michael@helixcode.com>
* e-shell-view.c: move fn to bonobo.

View File

@ -424,8 +424,8 @@ menu_do_misc (BonoboUIComponent *component,
}
#define SHORTCUT_BAR_TOGGLE_PATH "/menu/View/ShortcutBar"
#define FOLDER_BAR_TOGGLE_PATH "/menu/View/FolderBar"
#define SHORTCUT_BAR_TOGGLE_PATH "/View/ShortcutBar"
#define FOLDER_BAR_TOGGLE_PATH "/View/FolderBar"
void
e_shell_view_menu_setup (EShellView *shell_view)

View File

@ -158,11 +158,11 @@
<toolitem name="Print" verb="MessagePrint"
_label="Print" _descr="Print the selected message"
pixtype="pixbuf"/>
pixtype="stock" pixname="Print"/>
<toolitem name="Delete" verb="MessageDelete"
_label="Delete" _descr="Delete this message"
pixtype="pixbuf"/>
pixtype="stock" pixname="Trash"/>
</dockitem>
</Root>