Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
Files
Commits
e4038bff
Commit
e4038bff
authored
Jan 04, 2000
by
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
components/history/nautilus-history-view.c
View file @
e4038bff
...
...
@@ -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
;
...
...
components/history/ntl-history-view.c
View file @
e4038bff
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment