2010-08-23 Pierre Wieser * po/POTFILES.in: Add src/core/na-selected-info.c file. * src/core/na-selected-info.c (query_file_attributes): Make the error message translatable. * src/core/na-tokens.c (na_tokens_new_from_selection): Do not get dirname of a null filename. (parse_singular): Take care of possibly null data or over-indexing. * src/core/na-selected-info.c: * src/core/na-selected-info.h (na_selected_info_create_for_uri): Add errmsg parameter to check for incorrect URIs. * src/utils/nautilus-actions-run.c (get_selection_from_strv): Do not try to deal with malformed URIs. * src/utils/nautilus-actions-schemas.c: Include glib-object.h. * src/api/na-data-boxed.h: Revert to glib-object.h. 2010-08-22 Pierre Wieser * src/core/na-icontext.c (is_candidate_for_mimetypes): * src/core/na-selected-info.c (na_selected_info_get_mime_type): Take care of possibly NULL mimetype. 2010-08-21 Pierre Wieser * src/api/na-dbus.h * src/api/na-ifactory-provider-provider.h * src/core/na-importer-ask.h * src/io-desktop/nadp-formats.h * src/io-desktop/nadp-reader.h * src/io-desktop/nadp-utils.h * src/io-desktop/nadp-writer.h * src/io-gconf/nagp-reader.h * src/io-gconf/nagp-writer.h * src/io-xml/naxml-formats.h * src/io-xml/naxml-reader.h * src/io-xml/naxml-writer.h * src/nact/nact-tree-model-priv.h: Fix single inclusion. * src/core/na-icontext.c (is_candidate_for_schemes, is_candidate_for_folders): Address each ocurrence of file instead of just the first one. * doc/nact/Makefile.am: Fix PDF distribution. 2010-08-19 Pierre Wieser * src/nact/nautilus-actions-config-tool.ui: Do not overexpand the example label. * src/core/na-object-profile.c (convert_pre_v3_parameters_str): Fix conversion of '%d/%f' to '%f' when there are other parameters. * src/core/na-icontext.c (is_candidate_for_mimetypes): Improve debug messages. (is_candidate_for_basenames): Take care of matchcase. * src/core/na-icontext.c (is_mimetype_of): Take care of wildcard expressions. (is_candidate_for_folders): Only try to g_pattern_match() if has pattern. * src/plugin-menu/nautilus-actions.c (build_nautilus_menus): Add debug messages. * data/actions/open-terminal-here.desktop: * data/actions/show-na-parameters.desktop: Fix typo. * src/api/na-object-item.h: * src/core/na-object-item.c (na_object_item_deals_with_version): New function. * src/api/na-object-profile.h: * src/core/na-object-profile.c (na_object_profile_convert_v2_to_last): New function. * src/core/na-object-action.c: * src/core/na-object-menu.c (ifactory_object_read_start): Removed (unused) function. * src/io-xml/naxml-reader.c (naxml_reader_read_done): Cleanup code. * src/nact/nact-ibasenames-tab.c (on_tab_updatable_selection_changed): Display matchcase status for the current context. 2010-08-18 Pierre Wieser * src/core/na-object-profile.c (convert_pre_v3_parameters_str): As a special optimization, converts '%d/%f' to '%f'. * src/io-xml/naxml-reader.c (naxml_reader_read_data): Let a node available for a second reading in case of a multiple-defined data (e.g. icon which exists in localized and unlocalized forms). * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_new_from_uri): Do not warn about malformed .desktop file when importing an URI. Path+parameters are splitted whatever be the I/O importer. * src/io-desktop/nadp-reader.c (read_done_profile_split_exec): Removed function. * src/core/na-object-profile.c (split_path_parameters): New function. * src/core/na-data-boxed.c (uint_set_from_string): Fix default uint value when reading null string. * src/nact/nact-assistant-import.c (assistant_apply): Cleanup code. 2010-08-17 Pierre Wieser * Replace GtkLable with GtkTextView in import and export assistants. * src/nact/nact-assistant-export.c (assist_prepare_exportdone): * src/nact/nact-assistant-import.c (prepare_importdone): * src/nact/nact-assistant-export.ui: * src/nact/nautilus-actions-config-tool.ui: Updated accordingly. * src/core/na-core-utils.c (na_core_utils_str_split_first_word): Accepts null or empty input string or output pointers. * src/io-desktop/nadp-reader.c (read_done_profile_split_exec): Only try to split a non-null command.