Commit e4038bff authored by Elliot Lee's avatar Elliot Lee
Browse files

just add some braces to make future UIH debugging easier.



just add some braces to make future UIH debugging easier.
parent 2ff70002
......@@ -178,18 +178,20 @@ static GnomeObject * make_obj(GnomeGenericFactory *Factory, const char *goad_id,
hview->clist = (GtkCList *)clist;
#if 0
GNOME_UIHandler remote_uih;
GnomeUIInfo history_menu[] = {
GNOMEUIINFO_MENU_NEW_ITEM("_New", "Testing", NULL, NULL),
GNOMEUIINFO_END
};
remote_uih = gnome_control_get_remote_ui_handler(GNOME_CONTROL(ctl));
hview->uih = gnome_ui_handler_new();
gnome_ui_handler_set_container(hview->uih, remote_uih);
gnome_ui_handler_menu_add_tree(hview->uih, "/History",
gnome_ui_handler_menu_parse_uiinfo_tree(history_menu));
{
GNOME_UIHandler remote_uih;
GnomeUIInfo history_menu[] = {
GNOMEUIINFO_MENU_NEW_ITEM("_New", "Testing", NULL, NULL),
GNOMEUIINFO_END
};
remote_uih = gnome_control_get_remote_ui_handler(GNOME_CONTROL(ctl));
hview->uih = gnome_ui_handler_new();
gnome_ui_handler_set_container(hview->uih, remote_uih);
gnome_ui_handler_menu_add_tree(hview->uih, "/History",
gnome_ui_handler_menu_parse_uiinfo_tree(history_menu));
}
#endif
return ctl;
......
......@@ -178,18 +178,20 @@ static GnomeObject * make_obj(GnomeGenericFactory *Factory, const char *goad_id,
hview->clist = (GtkCList *)clist;
#if 0
GNOME_UIHandler remote_uih;
GnomeUIInfo history_menu[] = {
GNOMEUIINFO_MENU_NEW_ITEM("_New", "Testing", NULL, NULL),
GNOMEUIINFO_END
};
remote_uih = gnome_control_get_remote_ui_handler(GNOME_CONTROL(ctl));
hview->uih = gnome_ui_handler_new();
gnome_ui_handler_set_container(hview->uih, remote_uih);
gnome_ui_handler_menu_add_tree(hview->uih, "/History",
gnome_ui_handler_menu_parse_uiinfo_tree(history_menu));
{
GNOME_UIHandler remote_uih;
GnomeUIInfo history_menu[] = {
GNOMEUIINFO_MENU_NEW_ITEM("_New", "Testing", NULL, NULL),
GNOMEUIINFO_END
};
remote_uih = gnome_control_get_remote_ui_handler(GNOME_CONTROL(ctl));
hview->uih = gnome_ui_handler_new();
gnome_ui_handler_set_container(hview->uih, remote_uih);
gnome_ui_handler_menu_add_tree(hview->uih, "/History",
gnome_ui_handler_menu_parse_uiinfo_tree(history_menu));
}
#endif
return ctl;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment