summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-program-choosing.c
diff options
context:
space:
mode:
authorJames Willcox <jwillcox@gnome.org>2002-11-07 19:20:42 +0000
committerJames Willcox <jwillcox@src.gnome.org>2002-11-07 19:20:42 +0000
commit78c433e00e6d9dfcde9ff54f860982fb1194da29 (patch)
treeb1cf6c153dd23c9dce536db14bdf814a7ba56d62 /libnautilus-private/nautilus-program-choosing.c
parent4526ffe8851b6fe49cd5099dd6e65eadc672d044 (diff)
downloadnautilus-78c433e00e6d9dfcde9ff54f860982fb1194da29.tar.gz
Add the ability to have mime-type-sensitive context menus.
2002-11-07 James Willcox <jwillcox@gnome.org> * libnautilus-private/nautilus-mime-actions.c: (nautilus_mime_get_default_component_for_file_internal), (nautilus_mime_get_short_list_components_for_file), (nautilus_mime_actions_file_needs_full_file_attributes), (nautilus_mime_get_all_components_for_file_extended), (nautilus_mime_get_popup_components_for_file), (has_server_info_in_list), (server_info_list_intersection), (nautilus_mime_get_popup_components_for_files), (mime_get_all_components_for_uri_scheme), (make_bonobo_activation_query_with_known_mime_type), (make_bonobo_activation_query_with_uri_scheme_only), (nautilus_do_component_query): * libnautilus-private/nautilus-mime-actions.h: * libnautilus-private/nautilus-program-chooser.c: (repopulate_program_list): * libnautilus-private/nautilus-program-choosing.c: (choose_component_callback): * src/file-manager/fm-directory-view.c: (bonobo_mime_action_data_new), (bonobo_mime_action_data_free), (bonobo_mime_action_activate_callback), (bonobo_mime_action_callback), (bonobo_mime_action_menu_data_destroy_callback), (can_handle_multiple_files), (add_bonobo_menu_ui_and_verbs), (get_bonobo_menu_verb_names), (has_file_in_list), (get_unique_files), (reset_bonobo_mime_actions_menu), (real_update_menus): * src/file-manager/nautilus-directory-view-ui.xml: Add the ability to have mime-type-sensitive context menus.
Diffstat (limited to 'libnautilus-private/nautilus-program-choosing.c')
-rw-r--r--libnautilus-private/nautilus-program-choosing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnautilus-private/nautilus-program-choosing.c b/libnautilus-private/nautilus-program-choosing.c
index cf25e94c7..66cedde4c 100644
--- a/libnautilus-private/nautilus-program-choosing.c
+++ b/libnautilus-private/nautilus-program-choosing.c
@@ -194,7 +194,7 @@ choose_component_callback (NautilusFile *file,
identifier = NULL;
dialog = NULL;
if (nautilus_mime_has_any_components_for_file_extended (file,
- "(NOT nautilus:property_page_name.defined()")) {
+ "NOT nautilus:property_page_name.defined()")) {
dialog = set_up_program_chooser (file, GNOME_VFS_MIME_ACTION_TYPE_COMPONENT,
choose_data->parent_window);
if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_OK) {