summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* partially implemented tooltips for emblems, as a stepping stone to showingpost-1_0_6Andy Hertzfeld2001-03-055-22/+305
| | | | | partially implemented tooltips for emblems, as a stepping stone to showing the annotations.
* added "notes" emblem and made one show up if annotations are availableAndy Hertzfeld2001-03-019-2/+32
| | | | | added "notes" emblem and made one show up if annotations are available
* fixed bug 7019, emblem names not vertically alignedAndy Hertzfeld2001-02-277-10/+159
| | | | | | | | | | | | | | | fixed bug 7019, emblem names not vertically aligned * libnautilus-extensions/nautilus-labeled-image.c: (nautilus_labeled_image_initialize), (is_fixed_height), (labeled_image_get_image_dimensions), (nautilus_labeled_image_get_image_bounds), (nautilus_labeled_image_set_fixed_image_height): * libnautilus-extensions/nautilus-labeled-image.h: * src/file-manager/fm-properties-window.c: (create_emblems_page): * src/nautilus-property-browser.c: (make_properties_from_directories), (property_browser_category_button_new):
* implemented the has_annotation functionAndy Hertzfeld2001-02-264-2/+45
| | | | | | | | | | * libnautilus-extensions/nautilus-annotation.c: (nautilus_annotation_has_annotation): implemented the has_annotation function * src/nautilus-property-browser.c: (add_reset_property): fixed bug 7021 by adding a line to turn the reset image into a property chit
* finished first pass at underlying annotation infrastructure: async md5Andy Hertzfeld2001-02-265-44/+409
| | | | | | | | | finished first pass at underlying annotation infrastructure: async md5 checksum calculation saving the checksum in the metadata batching multiple lookups into a single request posting the request to the server and parsing the response caching annotations locally, saving count in metadata
* post-1_0_6 branch with annotation stuffAndy Hertzfeld2001-02-22169-336/+31856
| | | | post-1_0_6 branch with annotation stuff
* Updated Ukrainian translationYuri Syrota2001-02-221-208/+14
|
* Updated Ukrainian translationYuri Syrota2001-02-221-8/+5
|
* Fix typoKjartan Maraas2001-02-221-1/+1
|
* Tweaked images in druid to use my 3D logo, and blue shades rather thanArlo Rose2001-02-224-0/+8
| | | | | | | | * icons/druid_header.png: * icons/druid_header_stretch.png: * icons/druid_sidebar.png: Tweaked images in druid to use my 3D logo, and blue shades rather than teal.
* reviewed by: Rebecca Schulman <rebecka@eazel.com>Ramiro Estrugo2001-02-225-76/+166
| | | | | | | | | | | | | | | | * libnautilus-extensions/nautilus-global-preferences.c: (global_preferences_create_dialog), (global_preferences_medusa_blocked_changed_callback), (global_preferences_create_search_pane), (global_preferences_medusa_state_changed_callback), (global_preferences_install_medusa_defaults): Fix bug 6415 - Change what appears in the medusa preference when medusa becomes blocked. Also made the default and actual value of the MEDUSA_BLOCKED be correct. The boolean value was inverted. * libnautilus-extensions/nautilus-medusa-support.c: (nautilus_medusa_blocked): Call medusa to find out if its blocked.
* ja.po: Update Japanese translation.Yukihiro Nakai2001-02-221-388/+345
|
* Updated Japanese translation.Akira TAGOH2001-02-222-408/+433
| | | | | | 2001-02-21 Akira TAGOH <tagoh@gnome.gr.jp> * ja.po: Updated Japanese translation.
* reviewed by: Mike Engber <engber@eazel.com>Darin Adler2001-02-224-6/+33
| | | | | | | | | | | | | | | | Fixed bug 6839 (Nautilus crashes with a segmentation fault when clicking Edit->Nautilus Themes). * src/nautilus-theme-selector.c: (get_theme_description_and_display_name): Make a bad URI be non-fatal (not really needed for bug fix). (populate_list_with_themes): Pass the URI for the URI parameter, not the local path. Other stuff. * src/nautilus-sidebar.c: (nautilus_sidebar_update_buttons): Added a FIXME to some questionable code.
* deleted unused action_type variableJohn Harper2001-02-222-1/+5
| | | | | | | 2001-02-21 John Harper <jsh@eazel.com> * src/file-manager/fm-directory-view.c (activate_callback): deleted unused action_type variable
* reviewed by: Darin Adler <darin@eazel.com>John Harper2001-02-227-17/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-21 John Harper <jsh@eazel.com> reviewed by: Darin Adler <darin@eazel.com> Fixed bug I introduced in my last sorting change (sort order was incorrect when nodes are first inserted): * components/tree/nautilus-tree-view-private.h: added an `inserting_node' flag field to the view details. This is used to tell the sorting comparison function when the nodes it's trying to sort haven't yet been fully initialized * components/tree/nautilus-tree-view.c (nautilus_tree_view_insert_model_node): set the inserting_node flag around the call to nautilus_ctree_insert_node (). After the node is fully initialized, call nautilus_ctree_sort_single_node () (ctree_compare_rows): when `inserting_node' is set, bail out with a nonsense value * libnautilus-extensions/nautilus-ctree.h, libnautilus-extensions/nautilus-ctree.c: reverted the change to insert_node (nautilus_ctree_sort_single_node): new function, reorders a given node, but no others
* *** empty log message ***Yukihiro Nakai2001-02-221-469/+119
|
* reviewed by: Pavel Cisler <pavel@eazel.com>Darin Adler2001-02-2211-220/+362
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug 6286 (get 3 directory loads instead of 1 when you activate file in directory view [as opposed to typing location]). This is mostly right, but there's still a relatively common case where we get a 2nd directory load. I'll have to write a bug report about that case, but it's no worse than before and quite a bit better. * src/file-manager/fm-directory-view.c: (fm_directory_view_destroy): Stop monitoring. Also change the old monitoring code to use different "client" pointers so multiple monitors don't interfere with each other. (activate_callback): Stop monitoring when we get to the point of actually activating (unless we are opening through the shell). Also do some small cleanup to "command:" handling code and fix minor storage leak. (cancel_activate_callback): Stop monitoring if we cancel. (fm_directory_view_activate_file): Start monitoring so the load can be shared between all who need it. This is the same optimization done at the shell level. (load_directory): Use the new client pointer approach so multiple monitors don't interfere with each other. (finish_loading): Use the new client pointer approach so multiple monitors don't interfere with each other. (disconnect_model_handlers): Use the new client pointer approach so multiple monitors don't interfere with each other. (monitor_file_for_open_with): Use the new client pointer approach so multiple monitors don't interfere with each other. (monitor_file_for_activation): New function that monitors the file list so we don't get multiple directory loads. Fix tests now that gnome-vfs has a fix for bug 6798 (URI functions don't always treat domain names as case-insensitive) and fix bug 6799 (nautilus_uris_match_ignore_fragments gives wrong result for URIs with trailing "/" characters). * libnautilus-extensions/nautilus-file-utilities.h: * libnautilus-extensions/nautilus-file-utilities.c: (nautilus_make_uri_canonical_strip_fragment): New function. (uris_match): Use new function to handle fragments better. (nautilus_self_check_file_utilities): Update checks to expect fixes in gnome-vfs and here. Note that both bugs 6798 and 6799 are now fixed. * help/.cvsignore: * help/nautilus-user-manual/.cvsignore: * help/nautilus-user-manual/C/.cvsignore: * omf-install/.cvsignore: Ignore generated files in some new directories.
* reviewed by: Darin Adler <darin@eazel.com>Mike Engber2001-02-222-1/+12
| | | | | | | | reviewed by: Darin Adler <darin@eazel.com> * src/file-manager/fm-properties-window.c: (set_icon_callback): Property window now stores a uri (as opposed to a path) in metadata for custom icons - bug 6841.
* ja.po: Minor fix for Japanese.Yukihiro Nakai2001-02-221-23/+23
|
* reviewed by: Darin Adler <darin@eazel.com> John SullivanMike Engber2001-02-2231-470/+1412
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reviewed by: Darin Adler <darin@eazel.com> John Sullivan <sullivan@eazel.com> * libnautilus-extensions/Makefile.am: * libnautilus-extensions/nautilus-directory-metafile-monitor.h: * libnautilus-extensions/nautilus-directory-metafile-monitor.c: (nautilus_metafile_monitor_initialize_class), (nautilus_metafile_monitor_get_epv), (nautilus_metafile_monitor_get_vepv), (nautilus_metafile_monitor_create_servant), (nautilus_metafile_monitor_initialize), (destroy), (nautilus_metafile_monitor_new), (corba_metafile_changed): Added implementation of monitors for directories to recieve notification when their metadata changes. This works across processes. * libnautilus-extensions/nautilus-directory.c: (nautilus_directory_destroy), (nautilus_directory_emit_change_signals): * libnautilus-extensions/nautilus-directory-private.h: * libnautilus-extensions/nautilus-directory-async.c: (metafile_read_mark_done), (metafile_read_start), (nautilus_directory_monitor_add_internal), (update_metadata_monitors), (nautilus_directory_monitor_remove_internal), (nautilus_directory_call_when_ready_internal), (nautilus_directory_cancel_callback_internal), (nautilus_async_destroying_file), (request_is_satisfied), (call_ready_callbacks): The state machine now uses monitors in the metadata server process. * libnautilus-extensions/nautilus-directory-metafile.c: (get_metafile), (nautilus_directory_is_metadata_read), (nautilus_directory_get_file_metadata), (nautilus_directory_get_file_metadata_list), (nautilus_directory_set_file_metadata), (nautilus_directory_set_file_metadata_list), (nautilus_directory_set_boolean_file_metadata), (nautilus_directory_set_integer_file_metadata), (nautilus_directory_copy_file_metadata), (nautilus_directory_remove_file_metadata), (nautilus_directory_rename_file_metadata), (nautilus_directory_register_metadata_monitor), (nautilus_directory_unregister_metadata_monitor): * libnautilus-extensions/nautilus-directory-metafile.h: -new calls for registering/unregistering monitors -Metadata setters no longer return booleans. -misc cleanup of CORBA exception code (or lack thereof) * libnautilus-extensions/nautilus-file-private.h: * libnautilus-extensions/nautilus-file.c: (nautilus_file_is_self_owned), (destroy), (nautilus_file_get_parent_uri), (get_file_for_parent_directory), (nautilus_file_can_rename), (nautilus_file_get_gnome_vfs_uri), (rename_callback), (nautilus_file_rename), (nautilus_file_set_directory), (get_metadata_name), (nautilus_file_set_metadata), (nautilus_file_set_metadata_list), (nautilus_file_set_boolean_metadata), (nautilus_file_set_integer_metadata), (nautilus_file_get_uri), (nautilus_file_mark_gone), (nautilus_file_changed): -exposed (& renamed) is_self_owned in the private header. -metadata setters no longer emit changes (it's done by the server) * libnautilus-extensions/nautilus-metafile-server.idl: -metafile_changed now is passed a list of file names * libnautilus-extensions/nautilus-metafile.c: (nautilus_metafile_get_epv), (destroy), (corba_is_read), (corba_get), (corba_get_list), (corba_set), (corba_set_list), (corba_copy), (corba_remove), (corba_rename), (find_monitor_node), (corba_register_monitor), (corba_unregister_monitor), (call_metatfile_changed), (file_list_filler_ghfunc), (call_metafile_changed_for_all_files_mentioned_in_metafile), (call_metatfile_changed_for_one_file): * libnautilus-extensions/nautilus-metafile.h: - metafile setters now emit changes and do not return boolean values - added call_metafile_changed_for_all_files_mentioned_in_metafile * libnautilus-extensions/nautilus-stock-dialogs.c: (timed_wait_callback): Un-canelable timed wait dialogs now have an ok button which dismisses them. * libnautilus-extensions/nautilus-trash-directory.c: (find_directory_start): Slightly clarified the text in the infamous searching for text dialog.
* Updated Brazilian Portuguese translation.Gustavo Maciel Dias Vieira2001-02-222-2273/+2130
| | | | | | 2001-02-21 Gustavo Maciel Dias Vieira <gdvieira@zaz.com.br> * pt_BR.po: Updated Brazilian Portuguese translation.
* reviewed by: Darin Adler <darin@eazel.com>John Harper2001-02-229-72/+297
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-21 John Harper <jsh@eazel.com> reviewed by: Darin Adler <darin@eazel.com> Fixed bug 6828 (Moving directories in tree view makes contents become top-level nodes): * components/tree/nautilus-tree-node.h, components/tree/nautilus-tree-node.c, components/tree/nautilus-tree-node-private.h (nautilus_tree_node_update_uri): new private function, updates the node's cached URI from its NautilusFile and updates the new is_toplevel flag (nautilus_tree_node_is_toplevel): new function, returns true if the node shouldn't have a parent node * components/tree/nautilus-tree-model.c: track nodes that have no parent but aren't top-level nodes. If suitable parents later appear the unparented nodes will be connected to them * components/tree/nautilus-tree-view.c, components/tree/nautilus-tree-view-private.h: do similar tracking of unparented nodes (but from the point of view of the view, not the model) [ Having both modules duplicate this similar functionality isn't ideal, but I don't see how to unify it ] Fixed bug 6820 (directory sort order is different in tree view): * components/tree/nautilus-tree-view.c (ctree_compare_rows): new function, set as the comparison function for tree views. It calls nautilus_file_compare_for_sort () on the files associated with the tree rows (with hardcoded type NAUTILUS_FILE_SORT_BY_NAME for now) * libnautilus-extensions/nautilus-ctree.c (nautilus_ctree_insert_node): for sorted insertions, link the inserted node into the tree before finding the correct place, then move it afterwards. This ensures that the comparison function is able to find the node pointers from the row pointers that it's given
* Updated Swedish translation.Christian Rose2001-02-222-888/+818
|
* Remove the "backup unindexed search" preference for 1.0, which isRebecca Schulman2001-02-2215-151/+251
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-21 Rebecca Schulman <rebecka@eazel.com> Remove the "backup unindexed search" preference for 1.0, which is bugzilla.eazel.com bug 6775. We will not be doing backup searches, and with Ramiro's help redo preference changes more cleanly, and to be more compatible with his preference changes. reviewed by: Ramiro Estrugo <ramiro@eazel.com> * libnautilus-extensions/nautilus-global-preferences.c: (global_preferences_install_descriptions), (global_preferences_install_defaults), (global_preferences_install_visibility), (global_preferences_create_dialog), (global_preferences_install_home_location_defaults), (global_preferences_use_fast_search_changed_callback), (global_preferences_medusa_state_changed_callback), (global_preferences_install_medusa_defaults): * libnautilus-extensions/nautilus-global-preferences.h: Remove the old BACKUP_SEARCH preference, and add functions to install medusa preference defaults, and to synchronize the gconf value of the preference with the system configuration file used by medusa. * libnautilus-extensions/nautilus-preferences.c: (nautilus_preferences_set_boolean), (nautilus_preferences_get_boolean): Remove old system preferences calls * libnautilus-extensions/Makefile.am: * libnautilus-extensions/nautilus-system-preferences.c: * libnautilus-extensions/nautilus-system-preferences.h: Remove these * libnautilus-extensions/nautilus-medusa-support.c: (nautilus_medusa_services_have_been_enabled_by_user), (nautilus_medusa_blocked), (nautilus_medusa_enable_services), (nautilus_medusa_add_system_state_changed_callback): * libnautilus-extensions/nautilus-medusa-support.h: Add this file to hide potentially ifdef'd out medusa code. * src/file-manager/fm-search-list-view.c: (load_location_callback): * src/nautilus-complex-search-bar.c: (nautilus_complex_search_bar_get_location): Remove logic related to the BACKUP_SEARCH feature.
* ja.po: Update Japanese translation.Yukihiro Nakai2001-02-211-22/+53
|
* Updated da.po.Darin Adler2001-02-211-0/+1
|
* Updated Norwegian (bokmål) translation.Kjartan Maraas2001-02-213-1550/+1457
| | | | | | 2001-02-21 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation.
* moved documentation to %{prefix}/share/gnome/help/nautilus-user-manual/C/*Robin Slomkowski2001-02-212-1/+8
| | | | | | * nautilus.spec.in: moved documentation to %{prefix}/share/gnome/help/nautilus-user-manual/C/* and added gnugpl dir BUG 6837
* reviewed by: John Sullivan <sullivan@eazel.com>Gene Z. Ragan2001-02-212-52/+63
| | | | | | | | | | | | | | | 2001-02-21 Gene Z. Ragan <gzr@eazel.com> reviewed by: John Sullivan <sullivan@eazel.com> Fixed bug 6465, Music view buttons stretch for songs with very long titles. * components/music/nautilus-music-view.c: (add_play_controls), (nautilus_music_view_set_album_image): Change the way that the play controls are added to the pack box so that they do not expand in strange ways or change their position when a custom image is added.
* ja.po: Update.Yukihiro Nakai2001-02-211-85/+62
|
* ja.po: Update Japanese translation.Yukihiro Nakai2001-02-212-2666/+3608
|
* reviewed by: Mike Fleming <mfleming@eazel.com>Darin Adler2001-02-215-16/+41
| | | | | | | | | | | | | Busted the Tinderbox again! (Another attempt to fix it.) * libnautilus-extensions/nautilus-file-utilities.c: (nautilus_self_check_file_utilities): Changed the tests to match reality. * configure.in: * user-guide/Makefile.am: Turned the user guide off again. Dan explained that this is what he meant to do (I got it wrong).
* Updated Slovak translationStano Visnovsky2001-02-212-984/+739
|
* Use ln without -s to make links into the real install/lib directory; addEric Fischer2001-02-214-19/+71
| | | | | | | | | | | | | | * nautilus-installer/install-lib/Makefile.am: Use ln without -s to make links into the real install/lib directory; add header file prerequisites * nautilus-installer/libtrilobite/Makefile.am: Use ln without -s to make links into the real libtrilobite directory; fix header file prerequisites * nautilus.spec.in: Again, try to build the installer in tinderbox. With luck, it'll actually work this time.
* reviewed by: Pavel Cisler <pavel@eazel.com>Darin Adler2001-02-215-20/+54
| | | | | | | | | | | | | | | | | | An attempt to fix the Tinderbox. * user-guide/Makefile.am: Add C subdir. Other changes. * libnautilus-extensions/nautilus-file-utilities.c: (nautilus_format_uri_for_display): Simplify to take advantage of the new gnome_vfs_get_local_path_from_uri, which rejects paths that have "#" characters in them. (nautilus_self_check_file_utilities): Add more test cases for host names that are case sensitive. * omf-install/.cvsignore: Ignore generated files in this new directory.
* Updated Ukrainian translationYuri Syrota2001-02-211-1073/+1036
|
* enabling Scrollkeeper to be the default help systemLaszlo Kovacs2001-02-212-1/+7
|
* Clarify the Mozilla version requirements.Ramiro Estrugo2001-02-212-1/+7
| | | | * README: Clarify the Mozilla version requirements.
* John Fleck <jfleck@inkstain.net>John Fleck2001-02-212-1/+9
| | | | | | | | | John Fleck <jfleck@inkstain.net> * components/help/converters/gnome-db2html2/sect-preparse.c add a test to gloss_term_append - if a glossentry has not id (a special case, but one that does on occasion occur) bail out of the function without trying to add it to the hash of glossentries fixes bug #6511
* Updated German translation for freeze/releaseMatthias Warkus2001-02-212-1204/+1706
|
* Updated Korean translation committedFatih Demir2001-02-212-2372/+3134
|
* reviewed by: Ian McKellar <ian@eazel.com>post-1_0_5Maciej Stachowiak2001-02-212-39/+66
| | | | | | | | | | | * components/services/summary/eazel-summary-shared.c (parse_service), (parse_eazel_news_item), (parse_update_news_item), (build_services_glist_from_xml), (build_eazel_news_glist_from_xml), (build_update_news_glist_from_xml): Make this more robust against unusual data from the server. In particular, if the SERVICES list or other lists are emtpy, do not crash.
* fixed bug 5939, margins in text icons are weirdly proportioned. Fixed bypost-1_0_4Andy Hertzfeld2001-02-219-23/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | fixed bug 5939, margins in text icons are weirdly proportioned. Fixed by distinguishing the rectangles for the anti-aliased and non-aa icon types * icons/i-regular.xml: added and tweaked both aa and non-aa text rectangles * libnautilus-extensions/nautilus-icon-factory.c: (get_themed_icon_file_path): get a separate text rectangle for anti-aliased mode if present fixed bug 6708, Change "support" link in menus, by moving and renamed the "support" item from the services menu to the help menu. This bug isn't finished yet, since we still have to rename the support uri, but it isn't ready on the service yet. * src/nautilus-service-ui.xml: removed support item * src/nautilus-shell-ui.xml: added customer service item * src/nautilus-window-menus.c: (help_menu_customer_service), (nautilus_window_initialize_menus): added code to handle the customer service command * src/nautilus-window-service-ui.c: (nautilus_window_install_service_ui): removed callback for the support command
* reviewed by: Mike Fleming <mfleming@eazel.com>Dan Mueth2001-02-2123-1/+7674
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-21 Dan Mueth <dan@eazel.com> reviewed by: Mike Fleming <mfleming@eazel.com> The old help tree, "user-guide/*", was broken in several ways. It assumed there was only one doc, called "user-guide", whereas we have multiple docs. Plus it had odd subdirectories which are unusual and we don't want to use. Plus the convention is to put all docs in a directory called "help" (modelled after $prefix/gnome/help) and figures in a subdir called "figures". So, I'm creating a new tree for this called "help" and installing the latest version of Vera's Nautilus User Manual with screenshots. I also added a nifty makefile, help/docs.make, which we will use for all the SGML docs and translations to keep things tidy and working with low maintenance. * Makefile.am: Including help/ * configure.in: Including help/ and subdirs * help/Makefile.am: added * help/docs.make: added nifty makefile to be used by all SGML docs and translations of SGML docs * help/nautilus-user-manual/C/Makefile.am: added * help/nautilus-user-manual/C/figures/custicon.png: added * help/nautilus-user-manual/C/figures/full.png: added * help/nautilus-user-manual/C/figures/link.png: added * help/nautilus-user-manual/C/figures/locbar.png: added * help/nautilus-user-manual/C/figures/noread.png: added * help/nautilus-user-manual/C/figures/nowrite.png: added * help/nautilus-user-manual/C/figures/part.png: added * help/nautilus-user-manual/C/figures/player.png: added * help/nautilus-user-manual/C/figures/prefmenu.png: added * help/nautilus-user-manual/C/figures/sidebar.png: added * help/nautilus-user-manual/C/figures/viewmenu.png: added * help/nautilus-user-manual/C/figures/viewmusic.png: added * help/nautilus-user-manual/C/nautilus-user-manual-C.omf: added * help/nautilus-user-manual/C/nautilus-user-manual.sgml: added * help/nautilus-user-manual/Makefile.am: added * user-guide/Makefile.am: turned off old user guide installation
* Workaround possible redundant 100% progress callback.Robey Pointer2001-02-213-0/+15
| | | | | | | * components/services/install/nautilus-view/callbacks.c: (nautilus_service_install_download_progress): Workaround possible redundant 100% progress callback.
* Fix broken build - add the right includes that got dropped by GnomeVFSPavel Cisler2001-02-212-4/+9
| | | | | | | | | 2001-02-21 Pavel Cisler <pavel@eazel.com> * components/help/help-method.c: Fix broken build - add the right includes that got dropped by GnomeVFS header file shuffle.
* removed debug spewageJohn Harper2001-02-211-4/+0
|
* reviewed by Maciej Stachowiak <mjs@eazel.com>John Harper2001-02-2116-95/+353
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-20 John Harper <jsh@eazel.com> reviewed by Maciej Stachowiak <mjs@eazel.com> Fixed bug where a renamed node in the tree view doesn't get resorted: * libnautilus-extensions/nautilus-ctree.c (set_node_info): if the ctree is in auto-sort mode, sort the branch containing the changed node Fixed a crash in the tree view when expanding nodes that have been moved across directories: * components/tree/nautilus-tree-node.c (nautilus_tree_node_remove_children): new function, unparents all children of the given node (nautilus_tree_node_destroy): emit a warning if the list of children is non-null (then call remove_children). Ideally the remove_children function should get called before the final unref of a directory node * components/tree/nautilus-tree-model.c (report_node_removed_internal): call nautilus_tree_node_remove_children before unref'ing the node Mostly fixed bug where expansion state hash table accumulates cruft over time (e.g. directories that no longer exist or got moved to locations where they can never be displayed): * components/tree/nautilus-tree-view.h (NautilusTreeViewDetails): added `view_node_to_uri_map' hash table. This is used to map view nodes to the URIs we believe they are displaying. This is necessary since by the time we find out about changes to nodes, the names of the underlying NautilusFile objects have often already been changed * components/tree/nautilus-tree-view.c (unlink_view_node_from_uri, link_view_node_with_uri, map_view_node_to_uri): functions accessing the new hash table (nautilus_tree_view_would_include_file): new function, returns true iff the given file may possibly appear in the tree view. Climbs through all parents of the file to do this (nautilus_tree_view_model_node_renamed_callback): only propagates the expansion state if the would_include function indicates that the new URI of the file would be included in the tree view * components/tree/nautilus-tree-model.c (report_node_changed): no need to suppress the `node_removed' signal when renaming the node (now that the view always deletes the expansion state of the correct URI) * libnautilus-extensions/nautilus-file.c, libnautilus-extensions/nautilus-file-private.h, libnautilus-extensions/nautilus-file-utilities.c, libnautilus-extensions/nautilus-file-utilities.h (nautilus_file_name_matches_hidden_pattern, nautilus_file_name_matches_backup_pattern): moved these functions from being private in nautilus-file to being public in nautilus-file-utilities Fixed tree view bug where moving nodes across directories still loses the expansion state: * components/tree/nautilus-tree-model.c (nautilus_tree_model_directory_files_changed_callback): separated the cases of the file being deleted and it being moved across directories. In the move case emit the `being_renamed' signal so the expansion state gets propagated (nautilus_tree_view_remove_model_node, forget_view_node): moved the code to delete the expansion state from forget_view_node to nautilus_tree_view_remove_model_node - avoids deleting expansion state of nodes that will later be renamed. It may leave non-existent directories in the expansion state, but this is a lesser bug than losing the expansion state totally. Also, use the map_view_node_to_uri function to find the URI whose expansion state needs to be removed Fixed the bug where tree view icons often got chopped at top and bottom when they're drawn (if the icon height is greater than the font height). This means that fewer rows may fit in the same vertical space, but visually it's (imho) a huge improvement (I think this is bug 6085): * components/tree/nautilus-tree-view.c (nautilus_tree_view_initialize): call gtk_clist_set_row_height with the maximum of the font height and the icon height * libnautilus-extensions/nautilus-ctree.c (draw_row): always calculate row_center_offset locally, and do it in such a way that the text really is in the center of the row! Fixed bug 5165 - repeatedly expanding and collapsing an empty directory doesn't change how the node's icon is drawn after the first expansion: * libnautilus-extensions/nautilus-ctree.c (real_tree_expand, real_tree_collapse): before returning, call tree_draw_node on the node that changed state
* Added callbacks.[ch] and forms.[ch] to split the ridiculously huge installRobey Pointer2001-02-2117-2094/+2694
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * components/services/install/nautilus-view/Makefile.am: * components/services/install/nautilus-view/callbacks.c: * components/services/install/nautilus-view/callbacks.h: * components/services/install/nautilus-view/forms.c: * components/services/install/nautilus-view/forms.h: Added callbacks.[ch] and forms.[ch] to split the ridiculously huge install view into smaller, more managable chunks. * components/services/install/nautilus-view/main.c: (quit_timer), (service_install_object_destroyed): * components/services/install/nautilus-view/nautilus-service-instal l-view.c: (deps_destroy_foreach), (nautilus_service_install_view_destroy), (nautilus_service_install_view_finalize), (nautilus_service_install_view_initialize_class), (nautilus_service_install_view_initialize), (nautilus_service_install_view_update_from_uri_finish), (service_install_stop_loading_callback): * components/services/install/nautilus-view/nautilus-service-instal l-view.h: Turn the preflight dialog into a question asked inline. Do some wacky hoop-jumping so that we do the right thing if the user leaves our view while we're waiting for a button press. Turn off some of the distractions (progress bar, etc) while waiting for info and feedback.