diff options
author | John Sullivan <sullivan@src.gnome.org> | 2000-05-23 22:27:44 +0000 |
---|---|---|
committer | John Sullivan <sullivan@src.gnome.org> | 2000-05-23 22:27:44 +0000 |
commit | 08a71e320f0c74b6dfa48203a6be33f9d2023338 (patch) | |
tree | 4e350b854e68406d626d009fa863163a47d35c39 /src/nautilus-navigation-window.h | |
parent | 9970b3cb16b1ab0ed0371cf291503658fc01b375 (diff) | |
download | nautilus-08a71e320f0c74b6dfa48203a6be33f9d2023338.tar.gz |
Some pieces of the application and component-choosing UI.
They don't do anything useful yet.
* libnautilus-extensions/nautilus-program-chooser.h,
* libnautilus-extensions/nautilus-program-chooser.c:
New files with code for creating a program-choosing
dialog (which is really degenerate right now).
* libnautilus-extensions/nautilus-program-choosing.h,
* libnautilus-extensions/nautilus-program-choosing.c:
New files with functions for choosing a component or other
program to display or open a file with. This uses the
dialog in nautilus-program-chooser, but callers don't
need to know that.
* libnautilus-extensions/Makefile.am: add these new
files to the build.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_chose_application_callback),
(fm_directory_view_chose_component_callback), (choose_application),
(choose_component), (bonobo_menu_other_program_callback),
(other_application_callback), (other_viewer_callback):
New functions that connect the program-choosing UI to the
menu items.
(compute_menu_item_info): Stop desensitizing the "Other ..." items.
(append_gtk_menu_item): Eliminated this function, made callers use
more elaborate append_gtk_menu_item_with_view instead.
(fm_directory_view_real_create_background_context_menu_items),
(create_open_with_gtk_menu):
Updated callers to append_gtk_menu_item.
(fm_directory_view_real_create_selection_context_menu_items):
Pass view to create_open_with_gtk_menu.
(reset_bonobo_open_with_menu): Now takes an FMDirectoryView and
uses it as callback data for "Other..." items.
(fm_directory_view_real_merge_menus),
(fm_directory_view_real_update_menus): Pass view to
reset_bonobo_open_with_menu.
* src/ntl-index-panel.c: (command_button_callback): Renamed from
command_button_cb, also broke out application-launching code and
moved it to libnautilus-extensions/nautilus-program-choosing.c.
(nautilus_index_panel_chose_application_callback),
(open_with_callback): New functions, used to wire up functionality
of "Open with ..." button.
(add_command_buttons): Stop desensitizing "Open with ..." button,
and wire it up to do something.
* src/ntl-window.h: Renamed field "option_cvtype" to "view_as_option_menu".
* src/ntl-window.c:
(nautilus_window_constructed): Updated to match field name change.
(nautilus_window_switch_views): New function, broken out of
view_menu_switch_views_callback; switches window to new content view.
(view_menu_switch_views_callback): Now calls nautilus_window_switch_views.
(synch_view_as_menu): New function, resets displayed name of "View as"
menu to match current content view.
(chose_component_callback), (view_menu_choose_view_callback): New
functions, used to implement "View as ..." menu item.
(nautilus_window_load_content_view_menu): Store iid in menu item;
call synch_view_as_menu; wire up "View as ..." menu item.
* src/ntl-window-msgs.c: (handle_unreadable_location):
Tweaked wording of an error message.
* src/file-manager/fm-error-reporting.c:
(fm_report_error_renaming_file): Tweaked wording of an error message.
Diffstat (limited to 'src/nautilus-navigation-window.h')
-rw-r--r-- | src/nautilus-navigation-window.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-navigation-window.h b/src/nautilus-navigation-window.h index a79f408b1..43d745cfc 100644 --- a/src/nautilus-navigation-window.h +++ b/src/nautilus-navigation-window.h @@ -63,7 +63,7 @@ struct _NautilusWindow { /** UI stuff **/ NautilusIndexPanel *index_panel; GtkWidget *content_hbox; - GtkWidget *option_cvtype, *ent_uri; + GtkWidget *view_as_option_menu, *ent_uri; guint statusbar_ctx, statusbar_clear_id; |