summaryrefslogtreecommitdiff
path: root/README
Commit message (Collapse)AuthorAgeFilesLines
* Update for new Mozilla M18 rpms.Ramiro Estrugo2000-10-191-11/+4
| | | | | * README: Update for new Mozilla M18 rpms.
* Update docs for the fact that we now require Mozilla-M18.Ramiro Estrugo2000-10-161-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | * README: Update docs for the fact that we now require Mozilla-M18. * components/mozilla/nautilus-mozilla-content-view.c: (mozilla_content_view_one_time_happenings), (nautilus_mozilla_content_view_initialize), (nautilus_mozilla_content_view_destroy), (mozilla_load_location_callback), (mozilla_net_state_callback), (mozilla_dom_mouse_click_callback), (mozilla_translate_uri_if_needed), (mozilla_untranslate_uri_if_needed): Cleanup a bunch of pre Mozilla M18 code. Turn of a rogue printf. Remove the cut-n-pasted Bonobo merging code. We can add it back if we ever have something we really need to merge. * configure.in: Update for new Mozilla M18 requirement. Bail of detected Mozilla is not M18. * nautilus.spec.in: Add mozilla-m18 dependency to the nautilus-mozilla package.
* Changed gnome-print to work at HEAD.Darin Adler2000-10-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * README: Changed gnome-print to work at HEAD. * src/file-manager/fm-icon-view.c: (handle_radio_item): Common function shared by context menu and Bonobo menu. (context_menu_layout_radio_item_callback): Use common function. (append_one_context_menu_layout_item): Change from "verb" to "id". (update_layout_menus): Set up proper radio button based on ids. (switch_to_manual_layout): Renamed and changed from a callback to a normal function. (handle_ui_event): Signal handler to get Bonobo radio menu choices. (fm_icon_view_merge_menus): Connect UI event handler and remove old code for radio menu items. * src/file-manager/nautilus-icon-view-ui.xml: Add ids to the radio menu items. * src/nautilus-about.c: (nautilus_about_destroy), (nautilus_about_initialize), (nautilus_about_repaint), (draw_aa_string), (randomize_authors), (draw_author_list), (nautilus_about_draw_info), (nautilus_about_update_authors), (nautilus_about_close), (update_authors_if_necessary): Improve randomizing algorithm, get rid of fixed maximum number of authors. * src/nautilus-window.c: Cosmetic changes.
* Add FreeType2 information.Ramiro Estrugo2000-10-061-11/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * README: Add FreeType2 information. * configure.in: Add support for using freetype2 installed in the system from devel rpms. * cut-n-paste-code/Makefile.am: * cut-n-paste-code/freetype/Makefile.am: * cut-n-paste-code/freetype/README: * cut-n-paste-code/freetype/autohint.h: * cut-n-paste-code/freetype/cff.c: * cut-n-paste-code/freetype/cidafm.c: * cut-n-paste-code/freetype/cidafm.h: * cut-n-paste-code/freetype/cidgload.c: * cut-n-paste-code/freetype/cidgload.h: * cut-n-paste-code/freetype/cidload.c: * cut-n-paste-code/freetype/cidload.h: * cut-n-paste-code/freetype/cidobjs.c: * cut-n-paste-code/freetype/cidobjs.h: * cut-n-paste-code/freetype/cidparse.c: * cut-n-paste-code/freetype/cidparse.h: * cut-n-paste-code/freetype/cidriver.c: * cut-n-paste-code/freetype/cidriver.h: * cut-n-paste-code/freetype/cidtokens.h: * cut-n-paste-code/freetype/freetype.h: * cut-n-paste-code/freetype/ftbase.c: * cut-n-paste-code/freetype/ftbbox.h: * cut-n-paste-code/freetype/ftcalc.c: * cut-n-paste-code/freetype/ftcalc.h: * cut-n-paste-code/freetype/ftconfig.h: * cut-n-paste-code/freetype/ftdebug.c: * cut-n-paste-code/freetype/ftdebug.h: * cut-n-paste-code/freetype/ftdriver.h: * cut-n-paste-code/freetype/fterrors.h: * cut-n-paste-code/freetype/ftextend.c: * cut-n-paste-code/freetype/ftextend.h: * cut-n-paste-code/freetype/ftglyph.c: * cut-n-paste-code/freetype/ftglyph.h: * cut-n-paste-code/freetype/ftgrays.c: * cut-n-paste-code/freetype/ftgrays.h: * cut-n-paste-code/freetype/ftimage.h: * cut-n-paste-code/freetype/ftinit.c: * cut-n-paste-code/freetype/ftlist.c: * cut-n-paste-code/freetype/ftlist.h: * cut-n-paste-code/freetype/ftmemory.h: * cut-n-paste-code/freetype/ftmm.c: * cut-n-paste-code/freetype/ftmm.h: * cut-n-paste-code/freetype/ftmodule-list.h: * cut-n-paste-code/freetype/ftmodule.h: * cut-n-paste-code/freetype/ftobjs.c: * cut-n-paste-code/freetype/ftobjs.h: * cut-n-paste-code/freetype/ftoption.h: * cut-n-paste-code/freetype/ftoutln.c: * cut-n-paste-code/freetype/ftoutln.h: * cut-n-paste-code/freetype/ftraster.c: * cut-n-paste-code/freetype/ftraster.h: * cut-n-paste-code/freetype/ftrend1.c: * cut-n-paste-code/freetype/ftrend1.h: * cut-n-paste-code/freetype/ftrender.h: * cut-n-paste-code/freetype/ftsmooth.c: * cut-n-paste-code/freetype/ftsmooth.h: * cut-n-paste-code/freetype/ftstream.c: * cut-n-paste-code/freetype/ftstream.h: * cut-n-paste-code/freetype/ftsystem.c: * cut-n-paste-code/freetype/ftsystem.h: * cut-n-paste-code/freetype/fttypes.h: * cut-n-paste-code/freetype/license.txt: * cut-n-paste-code/freetype/psmodule.c: * cut-n-paste-code/freetype/psmodule.h: * cut-n-paste-code/freetype/psnames.h: * cut-n-paste-code/freetype/pstables.h: * cut-n-paste-code/freetype/raster1.c: * cut-n-paste-code/freetype/sfdriver.c: * cut-n-paste-code/freetype/sfdriver.h: * cut-n-paste-code/freetype/sfnt.c: * cut-n-paste-code/freetype/sfnt.h: * cut-n-paste-code/freetype/sfobjs.c: * cut-n-paste-code/freetype/sfobjs.h: * cut-n-paste-code/freetype/smooth.c: * cut-n-paste-code/freetype/t1afm.c: * cut-n-paste-code/freetype/t1afm.h: * cut-n-paste-code/freetype/t1driver.c: * cut-n-paste-code/freetype/t1driver.h: * cut-n-paste-code/freetype/t1errors.h: * cut-n-paste-code/freetype/t1gload.c: * cut-n-paste-code/freetype/t1gload.h: * cut-n-paste-code/freetype/t1hinter.c: * cut-n-paste-code/freetype/t1hinter.h: * cut-n-paste-code/freetype/t1load.c: * cut-n-paste-code/freetype/t1load.h: * cut-n-paste-code/freetype/t1objs.c: * cut-n-paste-code/freetype/t1objs.h: * cut-n-paste-code/freetype/t1parse.c: * cut-n-paste-code/freetype/t1parse.h: * cut-n-paste-code/freetype/t1tables.h: * cut-n-paste-code/freetype/t1tokens.c: * cut-n-paste-code/freetype/t1tokens.h: * cut-n-paste-code/freetype/t1types.h: * cut-n-paste-code/freetype/t2driver.c: * cut-n-paste-code/freetype/t2driver.h: * cut-n-paste-code/freetype/t2errors.h: * cut-n-paste-code/freetype/t2gload.c: * cut-n-paste-code/freetype/t2gload.h: * cut-n-paste-code/freetype/t2load.c: * cut-n-paste-code/freetype/t2load.h: * cut-n-paste-code/freetype/t2objs.c: * cut-n-paste-code/freetype/t2objs.h: * cut-n-paste-code/freetype/t2parse.c: * cut-n-paste-code/freetype/t2parse.h: * cut-n-paste-code/freetype/t2tokens.h: * cut-n-paste-code/freetype/t2types.h: * cut-n-paste-code/freetype/truetype.c: * cut-n-paste-code/freetype/ttcmap.c: * cut-n-paste-code/freetype/ttcmap.h: * cut-n-paste-code/freetype/ttdriver.c: * cut-n-paste-code/freetype/ttdriver.h: * cut-n-paste-code/freetype/tterrors.h: * cut-n-paste-code/freetype/ttgload.c: * cut-n-paste-code/freetype/ttgload.h: * cut-n-paste-code/freetype/ttinterp.c: * cut-n-paste-code/freetype/ttinterp.h: * cut-n-paste-code/freetype/ttload.c: * cut-n-paste-code/freetype/ttload.h: * cut-n-paste-code/freetype/ttnameid.h: * cut-n-paste-code/freetype/ttobjs.c: * cut-n-paste-code/freetype/ttobjs.h: * cut-n-paste-code/freetype/ttpload.c: * cut-n-paste-code/freetype/ttpload.h: * cut-n-paste-code/freetype/ttpost.c: * cut-n-paste-code/freetype/ttpost.h: * cut-n-paste-code/freetype/ttsbit.c: * cut-n-paste-code/freetype/ttsbit.h: * cut-n-paste-code/freetype/tttables.h: * cut-n-paste-code/freetype/tttags.h: * cut-n-paste-code/freetype/tttypes.h: * cut-n-paste-code/freetype/type1.c: * cut-n-paste-code/freetype/type1cid.c: * cut-n-paste-code/freetype/type1z.c: * cut-n-paste-code/freetype/winfnt.c: * cut-n-paste-code/freetype/winfnt.h: * cut-n-paste-code/freetype/z1afm.c: * cut-n-paste-code/freetype/z1afm.h: * cut-n-paste-code/freetype/z1driver.c: * cut-n-paste-code/freetype/z1driver.h: * cut-n-paste-code/freetype/z1gload.c: * cut-n-paste-code/freetype/z1gload.h: * cut-n-paste-code/freetype/z1load.c: * cut-n-paste-code/freetype/z1load.h: * cut-n-paste-code/freetype/z1objs.c: * cut-n-paste-code/freetype/z1objs.h: * cut-n-paste-code/freetype/z1parse.c: * cut-n-paste-code/freetype/z1parse.h: * cut-n-paste-code/freetype/z1tokens.h: Removed the cut-n-pasted FreeType2 we had in our build. * libnautilus-extensions/Makefile.am: * librsvg/Makefile.am: * nautilus.spec.in: Update for FreeType2 changes.
* Change required versions.Darin Adler2000-10-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | * README: Change required versions. * libnautilus-extensions/nautilus-bonobo-extensions.h: * libnautilus-extensions/nautilus-bonobo-extensions.c: (nautilus_bonobo_set_sensitive): Added new function that works with the new UI framework. * libnautilus-extensions/nautilus-druid-page-eazel.h: * libnautilus-extensions/nautilus-druid.h: * src/nautilus-shell-ui.xml: Make Select All insensitive. * src/nautilus-window.c: (nautilus_window_constructed): Get rid of some more of the old status bar code. (nautilus_window_allow_back), (nautilus_window_allow_forward), (nautilus_window_allow_up), (nautilus_window_allow_reload), (nautilus_window_allow_stop), (nautilus_window_zoom_level_changed_callback): Set shell menu item sensitivity with the new API. * src/nautilus-window.h: Remove status_bar_context_id.
* Retired.Ramiro Estrugo2000-10-031-1/+59
| | | | | | | | * README: Retired. * components/mozilla/README: Added Mozilla component information.
* Update for GConf HEAD (0.9)Ramiro Estrugo2000-10-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * README: * components/mozilla/nautilus-mozilla-content-view.c: (nautilus_mozilla_content_view_initialize): * components/services/install/lib/eazel-install-metadata.c: (check_gconf_init), (get_conf_string), (get_conf_int), (get_conf_boolean): * components/services/install/lib/eazel-install-types.c: (categorydata_new): * components/services/nautilus-dependent-shared/Makefile.am: * components/services/trilobite/libtrilobite/trilobite-redirect.c: (check_gconf_init), (wipe_redirect_table), (add_redirect), (trilobite_redirect_lookup), (trilobite_get_services_address): * configure.in: * libnautilus-extensions/nautilus-global-preferences.c: (global_preferences_get_sidebar_panel_view_identifiers), (register_proxy_preferences): * libnautilus-extensions/nautilus-preferences-private.h: * libnautilus-extensions/nautilus-preferences.c: (preferences_hash_node_add_by_user_level_callbacks), (preferences_hash_node_add_callback), (preferences_make_make_gconf_key), (preferences_gconf_by_user_level_callback), (preferences_gconf_callback), (preferences_initialize_if_needed), (nautilus_preferences_set_boolean), (nautilus_preferences_get_boolean), (nautilus_preferences_set_string_list), (nautilus_preferences_get_string_list), (nautilus_preferences_set_enum), (nautilus_preferences_get_enum), (nautilus_preferences_set), (nautilus_preferences_get), (nautilus_preferences_handle_error): * libnautilus-extensions/nautilus-user-level-manager.c: (user_level_manager_new), (user_level_set_default_if_needed), (gconf_user_level_changed_callback), (nautilus_user_level_manager_set_user_level), (user_level_manager_get_user_level_as_string), (nautilus_user_level_manager_set_default_value_if_needed), (nautilus_user_level_manager_compare_preference_between_user_levels ): Update for GConf HEAD (0.9)
* More work on whittling the state machine down to size.Darin Adler2000-10-031-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * README: libunicode, libglade, and eog are no longer required. * components/history/nautilus-history-view.c: (history_title_changed): * libnautilus/nautilus-view-component.idl: * libnautilus/nautilus-view.c: (impl_Nautilus_View_title_changed), (nautilus_view_initialize_class): * libnautilus/nautilus-view.h: * src/nautilus-view-frame.c: (nautilus_view_frame_title_changed): * src/nautilus-view-frame.h: Added title parameter for the title_changed function. * src/nautilus-view-frame.c: (nautilus_view_frame_report_load_complete): Got rid of extra emission of report_load_complete, which is handled by view_frame_loaded now. * libnautilus-extensions/nautilus-background.c: (nautilus_background_initialize_class): * libnautilus-extensions/nautilus-entry.c: (nautilus_entry_initialize_class): * libnautilus-extensions/nautilus-icon-text-item.c: (iti_class_init): * libnautilus-extensions/nautilus-list.c: (nautilus_list_initialize_class): * src/nautilus-bookmark-list.c: (nautilus_bookmark_list_initialize_class): * src/nautilus-navigation-bar.c: (nautilus_navigation_bar_initialize_class): * src/nautilus-search-bar-criterion.c: (nautilus_search_bar_criterion_initialize_class): * src/nautilus-sidebar.c: (nautilus_sidebar_initialize_class): * src/nautilus-switchable-navigation-bar.c: (nautilus_switchable_navigation_bar_initialize_class): Use GTK_RUN_LAST instead of GTK_RUN_FIRST. * libnautilus-extensions/nautilus-directory-background.c: * libnautilus-extensions/nautilus-link-set.c: * libnautilus-extensions/nautilus-link.c: * src/file-manager/fm-icon-text-window.c: * src/file-manager/fm-icon-view.c: * src/file-manager/fm-properties-window.c: * src/nautilus-complex-search-bar.c: * src/nautilus-link-set-window.c: * src/nautilus-simple-search-bar.c: * src/nautilus-switchable-search-bar.c: Add includes needed now that the #include <gnome.h> was removed from nautilus-global-preferences.h. * libnautilus-extensions/nautilus-string.h: * libnautilus-extensions/nautilus-string.c: (nautilus_strcmp_case_breaks_ties): Added function, like g_strcasecmp, but falls back on strcmp for strings that match case-insensitive-wise. (nautilus_istr_compare): Use nautilus_strcmp_case_breaks_ties instead of nautilus_strcasecmp. * libnautilus-extensions/nautilus-file.c: (nautilus_file_compare_by_name): Use nautilus_strcmp_case_breaks_ties instead of g_strcasecmp. (nautilus_file_compare_by_directory_name): Use nautilus_strcmp_case_breaks_ties instead of g_strcasecmp. (get_automatic_emblems_as_integer): Convert automatic emblems to integer form for simple sorting. (prepend_automatic_emblem_names): Separate out the code that puts on automatic emblem names, and make it put them first, before any keyword-based emblems. (nautilus_file_compare_by_emblems): Compare the automatic emblems first, using the integer form. (nautilus_file_compare_by_type): Use nautilus_strcmp_case_breaks_ties instead of nautilus_strcmp. (nautilus_file_compare_for_sort): Use nautilus_strcmp_case_breaks_ties instead of g_strcasecmp. (nautilus_file_compare_name): Use nautilus_strcmp_case_breaks_ties instead of g_strcasecmp. (nautilus_file_is_mime_type): Use nautilus_strcasecmp instead of nautilus_strcmp. (nautilus_file_get_emblem_names): Use prepend_automatic_emblem_names. (sort_keyword_list_and_remove_duplicates): Sort with nautilus_strcmp_case_breaks_ties instead of compare_emblem_names. Automatic emblem names are now dealt with elsewhere. * libnautilus-extensions/nautilus-icon-container.c: (compare_icons_by_name): Use nautilus_strcmp_case_breaks_ties instead of nautilus_strcasecmp. * libnautilus-extensions/nautilus-glib-extensions.c: (nautilus_g_str_list_sort): Use nautilus_str_compare. (nautilus_g_str_list_sort_case_insensitive): Use nautilus_istr_compare. * components/services/vault/command-line/main.c: (main): * test/test-nautilus-mime-actions-set.c: (str_to_action_type): Use g_strcasecmp, not strcasecmp, for portability. * libnautilus-extensions/nautilus-global-preferences.h: * libnautilus-extensions/nautilus-global-preferences.c: Removed _get_disabled_sidebar_panel_view_identifiers since the logic now removes any not in the enabled list instead. * libnautilus-extensions/nautilus-view-identifier.h: * libnautilus-extensions/nautilus-view-identifier.c: (nautilus_view_identifier_list_copy): New function. (nautilus_view_identifier_compare): Now sorts properly instead of returning 1 for any two identifiers that are !=. * nautilus-clean.sh: Removed unadorned gconfd now that it's ancient history and because it makes the script seem to fail all the time. * src/nautilus-window-manage-views.h: * src/nautilus-window-manage-views.c: (compute_title): Renamed to a shorter name since it's a local function. (update_title): Renamed to a shorter name since it's a local function and made it do nothing if the title is already correct. (nautilus_window_update_internals): Simplified code by using the new cached title. (nautilus_window_has_really_changed): Removed sidebar panel logic that is no longer needed. (nautilus_window_free_load_info): Remove some unused fields. (nautilus_window_open_location): Removed unused parameter. (nautilus_window_open_location_in_new_window): Removed unused parameter. (load_content_view): Renamed to shorter name since it's a local function. (handle_view_failure), (cancel_location_change), (load_view_for_new_location), (set_view_location_and_selection): Broke out big pieces of code used by the state machine. Soon we won't have a state machine at all, but we'll still need functions like these. (nautilus_window_update_state): Removed a lot of the code and broke the remaining bits into the above functions. (nautilus_window_set_state_info): Removed sidebar management code and some now-unused state variables. (nautilus_window_stop_loading): Moved this function in here and renamed it so the whole state machine is in one place. (nautilus_window_set_content_view): Moved this function in here and renamed it so the whole state machine is in one place. (compare_view_identifier_with_iid), (nautilus_window_set_sidebar_panels): Wrote new code to set up the sidebar panels based on a list of view identifiers, based on the code that was used before when preferences change. Moved here so the whole state machine is in one place. * src/nautilus-window-toolbars.c: (toolbar_stop_callback): Call the new function nautilus_window_stop_loading. * src/nautilus-window-private.h: * src/nautilus-window.h: * src/nautilus-window.c: (nautilus_window_initialize_class): Removed the "content_view" argument. (nautilus_window_goto_uri): Removed the view frame parameter from the open_location call. (nautilus_window_constructed): Set up sidebars based on preferences when the window is created. (nautilus_window_set_arg): Removed the "content_view" argument. (nautilus_window_get_arg): Removed the "content_view" argument. (view_menu_switch_views_callback): Call the new function nautilus_window_set_content_view. (chose_component_callback), Call the new function nautilus_window_set_content_view. (nautilus_window_open_location_callback): Removed the view frame parameter from the open_location call. (nautilus_window_open_location_in_new_window_callback): Removed the view frame parameter from the open_location_in_new_window call. (nautilus_window_connect_view): Don't connect to report_load_progress any more. The view frame now handles this for us. (nautilus_window_set_content_view_widget): Renamed this to avoid confusion with the new nautilus_window_set_content_view which is used to change content views, given a new view identifier. (update_sidebar_panels_from_preferences): Renamed and changed to use the new nautilus_window_set_sidebar_panels call.
* Remove instances of libwww, as it's no longer required.Josh Barrow2000-09-181-6/+0
| | | | | | | * README: * configure.in: * nautilus.spec.in: Remove instances of libwww, as it's no longer required.
* Remove instances of gtkhtml as it isn't required any longer.Josh Barrow2000-09-181-2/+0
| | | | | * README: Remove instances of gtkhtml as it isn't required any longer.
* Fixed bugs in Nautilus link management, some other minor problemsDarin Adler2000-09-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I encountered along the way, and did the first cut at a state machine for NautilusViewFrame based on Maciej's design that can mostly replace the super-complicated one for NautilusWindow. * README: We no longer can use the ORBit that comes with HC1.2 with cvs HEAD, since warnings have been fixed in the code generated by the newer ORBit, so fix that line in the README. * libnautilus-extensions/nautilus-directory.c: (nautilus_directory_new): Use the new nautilus_uri_is_trash function to avoid hard-coding incorrect checks for "trash:". (nautilus_directory_copy_move_metadata_key): Make simple fix for empty metadata. This code gets replaced soon anyway. * libnautilus-extensions/nautilus-drag.c: (nautilus_drag_can_accept_item): Simplify code to get rid of illegal sync. I/O. It's OK to assume all NautilusLink objects point to directories for now, and if we make a change to do something fancier later, we have to do it with async. (nautilus_drag_default_drop_action_for_icons): Use the new nautilus_uri_is_trash function to avoid hard-coding incorrect checks for "trash:". * libnautilus-extensions/nautilus-drag.h: Fixed a typo. * libnautilus-extensions/nautilus-file-operations.c: (get_link_name): Fix unintialized variable warning in a simple way that avoids adding too much code. (get_duplicate_name): Fix unintialized variable warning in a simple way that avoids adding too much code. (nautilus_file_operations_copy_move): Use the new nautilus_uri_is_trash function to avoid hard-coding incorrect checks for "trash:". * libnautilus-extensions/nautilus-file-utilities.h: * libnautilus-extensions/nautilus-file-utilities.c: (nautilus_uri_is_trash): Add new function to avoid hard-coding incorrect checks for "trash:". (nautilus_make_uri_canonical), Use nautilus_uri_is_trash. * libnautilus-extensions/nautilus-icon-container.h: * libnautilus-extensions/nautilus-icon-container.c: Remove nautilus_icon_container_trash_link_is_in_selection for 3 reasons. It doesn't belong in NautilusIconContainer, the use of it in drag code was incorrectly looking at the destination directory's selection, and it used sync. I/O. * libnautilus-extensions/nautilus-icon-dnd.c: (selection_includes_trash), (nautilus_icon_container_receive_dropped_icons): Changed code to actually check selection -- the old code would check the selection in the target window. Unfortunately this still uses sync. I/O, but that's now covered by bug 3020. * libnautilus-extensions/nautilus-icon-factory.c: (nautilus_icon_factory_get_icon_for_file): Change to use new "local" API for links to make it clear that it uses sync. I/O and only works on local files. * libnautilus-extensions/nautilus-link.h: * libnautilus-extensions/nautilus-link.c: (get_tag), (get_link_type): Added functions to handle tags internally as part of getting rid of tag string values from the API. (nautilus_link_local_create): Changed name to local to emphasize this takes a path not a URI and uses sync. I/O. (local_set_root_property): Share code among the set functions. Before there were a lot of copies of the same code. Also made sure that it does no rewrite of the file if called to set a property to the same value it already has. (nautilus_link_local_set_icon), (nautilus_link_local_set_link_uri), (nautilus_link_local_set_type): Changed name to local to emphasize these take a path not a URI and use sync. I/O. Reimplement by calling local_set_root_property. (nautilus_link_local_get_additional_text): Change name to local and make it take a path instead of a URI to make it clear it uses sync. I/O and doesn't work on remote URIs. (nautilus_link_local_get_image_uri): Change name to local and make it take a path instead of a URI to make it clear it uses sync. I/O and doesn't work on remote URIs. (nautilus_link_local_get_link_uri): Change name to local and make it take a path instead of a URI to make it clear it uses sync. I/O and doesn't work on remote URIs. (nautilus_link_local_get_link_type): Change return value to be the NautilusLinkType enum instead of the type tag string to make the interface cleaner. Also changed name to local to make it clear that it takes a path instead of a URI and uses sync. I/O. (nautilus_link_local_is_volume_link), (nautilus_link_local_is_home_link), (nautilus_link_local_is_trash_link): Changed all three of these to take advantage of the new simpler get_link_type, and changed name to local to make it clear that they take a path instead of a URI and use sync. I/O. * src/file-manager/fm-desktop-icon-view.c: (create_mount_link): Use call by new "local" name. (trash_link_is_selection): Call new "local" function, which now requires a path rather than a URI. (fm_desktop_icon_view_trash_state_changed_callback): Use call by new "local" name. (volume_unmounted_callback): Fix bug where the unmounted callback was using a path as a URI without converting. (find_and_update_home_link): Use call by new "local" name. (place_home_directory): Use call by new "local" name. (find_and_rename_trash_link): Use call by new "local" name. (create_or_rename_trash): Use call by new "local" name. (remove_old_mount_links): Use call by new "local" name. (get_sort_category): Use new get_link_type call and a case statement instead of the old one and a list of string compares. * src/file-manager/fm-directory-view.c: (fm_directory_trash_link_in_selection): Wrote a new version of this function. This is similar to what was in NautilusIconContainer, but the one in there didn't belong there, and didn't really work for other callers. Also, the one in there didn't work at all for the list view case. This new function works for either icon or list view. It still has the limitation that it won't recognize a trash link if it's not local. * src/file-manager/fm-icon-view.c: (get_icon_drop_target_uri_callback): Fix to use new local calls, but still does sync. I/O. Bug 3020 reported about that. (get_icon_text_callback): Changed to use new local calls. Still a problem that it works only locally and uses sync. I/O. Bug 2531 was already reported about that. * src/file-manager/fm-properties-window.c: (get_and_ref_file_to_display): Changed to use new local calls and the simpler link type interface. * src/nautilus-view-frame-private.h: Moved some private declarations here since they are for objects used in one file and declared in another. * src/nautilus-view-frame.h: * src/nautilus-view-frame.c: (nautilus_view_frame_destroy_client): Destroy the "check if view is gone" timeout here; makes more sense than the way it was managed before. (nautilus_view_frame_destroy): Don't destroy the timeout here any more. Also, label was moved into details. (nautilus_view_frame_handle_client_gone): Renamed from handle_client_destroy_2. (view_frame_wait), (view_frame_underway), (view_frame_wait_is_over), (view_frame_loaded), (view_frame_failed): Added functions to implement view frame state machine transitions. (check_if_view_is_gone): Moved code to check if view is gone here; it's now activated automatically without requiring an explicit call to turn it on, since all callers were turning it on at load_client time. (nautilus_view_frame_load_client): Add state management. Moved the code to turn on the object check timeout here. (nautilus_view_frame_load_location): Add state management. (nautilus_view_frame_open_location): Add state management. (nautilus_view_frame_open_location_in_new_window): Add state management. (nautilus_view_frame_open_in_new_window_and_select): Add state management. (nautilus_view_frame_report_location_change): Add state management. (nautilus_view_frame_report_selection_change): Add state management. (nautilus_view_frame_report_status): Add state management. (nautilus_view_frame_report_load_underway): Add state management. (nautilus_view_frame_report_load_progress): Add state management. (nautilus_view_frame_report_load_complete): Add state management. (nautilus_view_frame_report_load_failed): Add state management. (nautilus_view_frame_set_title): Add state management. (nautilus_view_frame_zoom_level_changed): Add state management., (nautilus_view_frame_get_label), (nautilus_view_frame_set_label): Moved label into details structure. * src/nautilus-window-manage-views.c: (nautilus_window_load_sidebar_panel): Fixed code structure a bit (fixes bug 2463) and got rid of call to old nautilus_view_frame_set_active_errors function, which is no longer needed. (nautilus_window_load_content_view): Got rid of call to old nautilus_view_frame_set_active_errors function, which is no longer needed. * src/nautilus-window.c: (window_update_sidebar_panels_from_preferences): Got rid of call to old nautilus_view_frame_set_active_errors function, which is no longer needed.
* updated references to LIBXML_1_BRANCHRobin Slomkowski2000-09-081-1/+1
|
* added requirment of BEFORE_NEW_UI_HANDLER_1 tag for bonobo, gtkhtml, eog,Robin Slomkowski2000-09-071-4/+4
| | | | | * README: added requirment of BEFORE_NEW_UI_HANDLER_1 tag for bonobo, gtkhtml, eog, xpdf
* OK now adding requirment of GConf from GCONF_0_8Robin Slomkowski2000-08-301-1/+1
|
* Added libunicode to the list of dependencies because new gtkhtlm dependsPavel Cisler2000-08-281-0/+2
| | | | | | | | 2000-08-28 Pavel Cisler <pavel@eazel.com> * README: Added libunicode to the list of dependencies because new gtkhtlm depends on it now.
* Don't use tabs any more. Spell check. Add libglade.Darin Adler2000-08-171-53/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * README: Don't use tabs any more. Spell check. Add libglade. * components/tree/nautilus-tree-model.c: (nautilus_tree_model_monitor_add), (nautilus_tree_model_monitor_node): Use file attribute constant instead of hard-coded string. I was here to make some changes to the monitor API, but I didn't get to that yet. Next check-in. * libnautilus-extensions/nautilus-directory-async.c: (nautilus_directory_monitor_add_internal): Use "files_added" signal instead of callback. This is the first step toward removing the callback. I'll remove it tomorrow. * libnautilus-extensions/nautilus-directory.c: (nautilus_directory_notify_files_added): Fix directory ref count leak. * libnautilus-extensions/nautilus-file.c: (nautilus_file_get_internal): Fix case where we would not ref the NautilusFile even though the directory is monitoring it. This would lead to an early destroy later. * libnautilus-extensions/nautilus-search-uri.c: (nautilus_search_uri_to_human): Comment out print statements. Mathieu can delete them entirely later. (nautilus_self_check_search_uri): Added a few more tests. * libnautilus-extensions/nautilus-trash-directory.h: * libnautilus-extensions/nautilus-trash-directory.c: (nautilus_trash_directory_initialize), (trash_destroy), (trash_callback_hash), (trash_callback_equal), (trash_contains_file), (trash_callback_destroy), (trash_callback_check_done), (directory_ready_callback), (trash_callback_connect_directory), (trash_call_when_ready), (trash_cancel_callback), (trash_file_monitor_add), (trash_file_monitor_remove), (trash_are_all_files_seen), (trash_is_not_empty), (nautilus_trash_directory_initialize_class), (nautilus_trash_directory_add_real_trash_directory), (nautilus_trash_directory_remove_real_trash_directory), (remove_all_real_directories): Getting closer on the trash implementation. Still a ways to go. * src/file-manager/fm-icon-text-window.c: (create_attributes_option_menu): * src/file-manager/fm-icon-view.c: (fm_icon_view_merge_menus): Use _() instead of calling gettext. It turns out this is the recommended way to do it, even when the parameter is not a literal string.
* Another pass on README/HACKING. Still room for improvement.Darin Adler2000-08-111-55/+67
|
* tweak files for upcommin release. see Changelog.Mathieu Lacage2000-08-111-1/+208
|
* Fixed bugs, mostly related to editable text fields.John Sullivan2000-04-171-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * README: Made the contents of this file slightly helpful. * data/mime/nautilus.keys: Added an obscure MIME type that someone reported running into. * libnautilus-extensions/nautilus-entry.h, * libnautilus-extensions/nautilus-entry.c: New files. Define a subclass of GtkEntry (one-line text editing field) that fixes bugs and adds convenience functions. (nautilus_entry_key_press): Override key_press handler to treat the keypad Enter key the same as the other Enter key (in GtkEntry it inserts a "/r" into the text). (nautilus_entry_select_all): Select all text, and move the text cursor position to the end. (nautilus_entry_select_all_at_idle): Same, but do it at the next idle opportunity. Useful since nautilus_entry_select_all won't work right if called in a key_press signal handler. * libnautilus-extensions/Makefile.am: Build these two new files. * src/file-manager/fm-properties-window.c: (name_field_activate): New function, updates file name and selects all text. (create_properties_window): Make name_field be a NautilusEntry. This fixes half of bug 433 (Enter keys don't work properly in properties window). Also attach to "activate" signal and update name change then. This fixes other half of bug 433. Also start with name field selected & focused. This fixes bug 432 (properties window should appear with name text selected). (name_field_update_to_match_file): Only update the displayed text if the new name coming in is different. This was needed to make select-all-on-activate work. (name_field_done_editing): Don't accept empty string as name; silently revert back to original name. * src/nautilus-bookmarks-window.c: (create_bookmarks_window): Change name & uri text fields to NautilusEntry; this causes keypad Enter key to behave like other Enter key. Also connect to focus_in and activate signals. (update_bookmark_from_text): New function, extracted from on_text_field_focus_out_event. (on_text_field_focus_out_event): Deselect all text after updating bookmark. (on_text_field_focus_in_event): New function, select all text. (name_or_uri_field_activate): New function, update bookmark and select all text. * src/nautilus-location-bar.c: (nautilus_location_bar_initialize): Use NautilusEntry instead of GtkEntry. This makes keypad Enter act like other Enter in uri-entry field. * src/ntl-window-msgs.c: (nautilus_window_end_location_change_callback): Make "Nautilus can't handle this type of file" message mention (human-readable version of) file type.
* Add misc docs.Elliot Lee1999-12-151-1/+1
| | | | Add misc docs.
* Misc updates.Elliot Lee1999-12-081-0/+2
| | | | Misc updates.
* Basic framework is there. Now for URL resolution and loading.Elliot Lee1999-12-061-0/+0
Basic framework is there. Now for URL resolution and loading.