summaryrefslogtreecommitdiff
path: root/RENAMING
Commit message (Collapse)AuthorAgeFilesLines
* Update for new GdkPixbuf. gnome-print must be built before bonobo.Darin Adler2000-04-111-0/+2
|
* Did some of the items from RENAMING.Darin Adler2000-03-221-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libnautilus/Makefile.am: * libnautilus/gnome-icon-container-dnd.c: * libnautilus/gnome-icon-container-dnd.h: * libnautilus/gnome-icon-container-grid.c: * libnautilus/gnome-icon-container-grid.h: * libnautilus/gnome-icon-container-private.h: * libnautilus/gnome-icon-container.c: * libnautilus/gnome-icon-container.h: * libnautilus/gtkflist.c: * libnautilus/gtkflist.h: * libnautilus/nautilus-icon-canvas-item.c: * libnautilus/nautilus-icon-canvas-item.h: * libnautilus/nautilus-icon-container.c: * libnautilus/nautilus-icon-container.h: * libnautilus/nautilus-icon-dnd.c: * libnautilus/nautilus-icon-dnd.h: * libnautilus/nautilus-icon-grid.c: * libnautilus/nautilus-icon-grid.h: * libnautilus/nautilus-icon-private.h: * libnautilus/nautilus-icons-view-icon-item.c: * libnautilus/nautilus-icons-view-icon-item.h: * libnautilus/nautilus-lib-self-check-functions.h: * libnautilus/nautilus-list-column-title.c: * libnautilus/nautilus-list.c: * libnautilus/nautilus-list.h: * src/file-manager/Makefile.am: * src/file-manager/fm-directory-view-icons.c: * src/file-manager/fm-directory-view-icons.h: * src/file-manager/fm-directory-view-list.c: * src/file-manager/fm-directory-view-list.h: * src/file-manager/fm-icon-view.c: * src/file-manager/fm-icon-view.h: * src/file-manager/fm-list-view.c: * src/file-manager/fm-list-view.h: * src/ntl-app.c: Did these RENAMING entries: FMDirectoryViewIcons -> FMIconView FMDirectoryViewList -> FMListView GnomeIconContainer -> NautilusIconContainer GnomeIconContainerIcon -> NautilusIcon NautilusIconsViewIconItem -> NautilusIconCanvasItem * RENAMING: Marked the renaming done.
* Fixed arrow keys and worked on the icon grid.Darin Adler2000-03-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bugs #314, #324, and #325. * components/help/hyperbola.goad: Corrected repo_ids -> repo_id, reported by Richard Hult. * src/nautilus.goad: Added missing = character, reported by Richard Hult. * libnautilus/gnome-icon-container-grid.c: * libnautilus/gnome-icon-container-grid.h: * libnautilus/gnome-icon-container.c: * libnautilus/gnome-icon-container-private.h: Made the icon grid handle negative coordinates. Removed most of the icon grid code. Reimplemented the arrow keys. They should work again. * libnautilus/nautilus-gnome-extensions.c: * libnautilus/nautilus-gnome-extensions.h: (nautilus_art_irect_contains_irect): Added another helper function. * libnautilus/nautilus-icons-view-icon-item.c: * libnautilus/nautilus-icons-view-icon-item.h: * libnautilus/gnome-icon-container.c: * libnautilus/gnome-icon-container-private.h: Added user data to each canvas item and got rid of the hash table that maps canvas items to icons. * RENAMING: Tweaks.
* Proposed renaming for index panel and metaviews.John Sullivan2000-03-211-0/+3
|
* Simplified the grid a bit and did some redesign. The grid now takes intoDarin Adler2000-03-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * libnautilus/gnome-icon-container-grid.h: * libnautilus/gnome-icon-container-grid.c: * libnautilus/gnome-icon-container-private.h: * libnautilus/gnome-icon-container.c: * libnautilus/nautilus-icons-view-icon-item.c: * libnautilus/nautilus-icons-view-icon-item.h: Simplified the grid a bit and did some redesign. The grid now takes into account the height and width of the icons. More work to come. * libnautilus/nautilus-global-preferences.c: * nautilus-widgets/nautilus-preferences.h: Some cleanup, including types for constants. * libnautilus/nautilus-gnome-extensions.h: * libnautilus/nautilus-gnome-extensions.c: (nautilus_art_irect_equal), (nautilus_art_drect_equal), (nautilus_gnome_canvas_item_get_current_canvas_bounds), (nautilus_gnome_canvas_item_request_redraw), (nautilus_gnome_canvas_request_redraw_rectangle), (nautilus_gnome_canvas_item_get_world_bounds): More useful canvas and libart routines. * RENAMING: More renaming ideas.
* Did some of the renamings that were queued in RENAMING.Darin Adler2000-03-161-15/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libnautilus/Makefile.am: * libnautilus/gdk-extensions.c: * libnautilus/gdk-extensions.h: * libnautilus/nautilus-gdk-extensions.c: * libnautilus/nautilus-gdk-extensions.h: * libnautilus/gnome-icon-container.c: * libnautilus/nautilus-background.c: * libnautilus/nautilus-icons-view-icon-item.c: Renamed gdk-extensions to add the nautilus- prefix and changed all includers. * src/Makefile.am: * src/explorer-location-bar.c: * src/explorer-location-bar.h: * src/nautilus-location-bar.c: * src/nautilus-location-bar.h: * src/ntl-window-msgs.c: * src/ntl-window.c: Renamed ExplorerLocationBar to NautilusLocationBar. * src/Makefile.am: * src/nautilus-bookmarklist.c: * src/nautilus-bookmarklist.h: * src/nautilus-bookmark-list.c: * src/nautilus-bookmark-list.h: * src/nautilus-bookmarks-window.c: * src/nautilus-bookmarks-window.h: * src/nautilus-window-menus.c: Renamed NautilusBookmarklist to NautilusBookmarkList. * RENAMING: Marked items done and added some new ones. * nautilus-widgets/nautilus-preferences-item.c: * nautilus-widgets/nautilus-preferences.c: * nautilus-widgets/test-nautilus-widgets.c: * libnautilus/nautilus-icon-factory.c: * src/file-manager/fm-directory-view-icons.c: * src/file-manager/fm-directory-view.c: * src/file-manager/fm-icon-text-window.c: Cleaned up the interface to NautilusPreferences a bit.
* It turns out that you aren't intended to reset the scroll region once youDarin Adler2000-03-101-5/+2
| | | | | | | | | | | | | | | | | | | * libnautilus/gnome-icon-container.c (set_scroll_region): It turns out that you aren't intended to reset the scroll region once you have items in the canvas. We need to do that, so I had to write some code that would update all the items when that happens. * libnautilus/nautilus-icons-view-icon-item.c: (recompute_bounding_box): Rewrote this to not assume that the icon items are all top-level items. (compute_text_rectangle, hit_test, nautilus_icons_view_icon_item_bounds): Change hit testing so it includes hits on the text. The rubberband still has to be fixed so it doesn't have the same problem. * libnautilus/nautilus-file.c: Improved a comment. * RENAMING: Some more name changes.
* Added a suggestion.Maciej Stachowiak2000-03-101-2/+7
|
* Added the concept of separate X and Y scale factors to moreDarin Adler2000-03-061-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of the code. Even though we don't want to scale the two dimensions separately at the moment, I figured it was better to go in this direction than to remove all the separate X and Y stuff that Seth Nickell added. * libnautilus/gnome-icon-container-dnd.c (gnome_icon_container_receive_dropped_icons): * libnautilus/gnome-icon-container-private.h: * libnautilus/gnome-icon-container.c (icon_get_actual_size), (icon_new), (icon_get_size), (start_stretching), (update_icon), (gnome_icon_container_add), (gnome_icon_container_is_stretched), (gnome_icon_container_unstretch), (gnome_icon_container_move_icon): * libnautilus/gnome-icon-container.h: Got rid of the old "scale", "xscale", and "yscale" and replaced them with "scale_x" and "scale_y". Made the code always set the scale factor through the gnome_icon_container_move_icon bottleneck so the changes are all reported throught the icon_moved signal. * src/file-manager/fm-directory-view-icons.c: (add_icon_if_already_positioned), (fm_directory_view_icons_icon_moved_cb): Store only a single scale factor if the X and Y are both scaled exactly the same (the normal case). Also, use a default for the scale factor so we don't save 1.0 for every file. * libnautilus/nautilus-gtk-extensions.h: * libnautilus/nautilus-gtk-extensions.c: My original change required an additional marshal function. I decided to add it anyway even though I don't need it right now. * libnautilus/nautilus/nautilus-bookmark.c (nautilus_bookmark_get_pixmap_and_mask): Changed to use the nautilus_icon_factory_get_pixbuf_for_file convenience function which has a simpler interface. * libnautilus/nautilus-icon-factory.h: * libnautilus/nautilus-icon-factory.c: Added separate X and Y scaling of icons for possible future use; the convenience functions still use the same size in both dimentions. * components/music/.cvsignore: New directory, new .cvsignore needed. * RENAMING: Some more name change ideas.
* Sopwith, please don't laugh.Maciej Stachowiak2000-02-191-0/+2
| | | | | | | * RENAMING: Suggest swapping the names NautilusView and NautilusViewFrame to better match the way Bonobo handles naming of mutual client-server pairs of this type. I'm not sure I agree, but better to be consistent than right.
* Hand tuned icons for multiple resolutions.Darin Adler2000-02-181-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So for example you can have an icon designed for the 96x96 size, which is called i-directory-96.png, and it will be loaded instead of loading i-directory.png and scaling it. * libnautilus/nautilus-icon-factory.c: (nautilus_icon_factory_get_icon_name_for_regular_file), (add_size_to_icon_name), (nautilus_icon_factory_load_icon), (nautilus_icon_factory_create_image_for_item), (get_larger_icon_size), (get_smaller_icon_size), (get_next_icon_size_to_try), (load_specific_image), (load_image_for_scaling), (load_image_scale_if_necessary), (nautilus_icon_factory_mark_recently_used), (mark_recently_used), (nautilus_icon_factory_get_pixbuf_for_icon), (get_image_from_cache), (nautilus_icon_factory_scale): Changed the icon factory so it will look for icons of multiple resolutions and scale the nearest. Also made other improvements including sharing a single fallback icon instead of making multiple ones, using the "core-dump" icon for files named "core", adding some additional g_return_if_fail. * libnautilus/nautilus-icon-factory.c: (self_test_next_icon_size_to_try), (nautilus_self_check_icon_factory): * libnautilus/nautilus-lib-self-check-functions.h: The new code needed a bit of self-check code, so I added it. * libnautilus/nautilus-directory.c: (nautilus_directory_try_to_read_metafile), (nautilus_directory_construct_alternate_metafile_uri): Since "make check" was failing, I checked to see what was wrong. The code that was respecting the new "valid_fields" part of GnomeVFSFileInfo was looking at the wrong field (flags instead of valid_fields), which caused all metafile reading to fail. While debugging this, I noticed that the alternate metafiles had particularly bad long names, so I fixed that too. * libnautilus/nautilus-directory.c: (nautilus_file_ref): * libnautilus/nautilus-glib-extensions.c: (nautilus_strdup_strftime): * libnautilus/nautilus-string.c: (nautilus_string_to_int): Switched from using <limits.h> constants to the ones from <glib.h>. I have no idea why I made this change. All hail glib! C Standard be damned! * fm-directory-view.c: (use_eazel_theme_icons_cb), (add_menu_item), (fm_directory_view_real_append_background_context_menu_items): Started on a user interface to switch to the Eazel theme icons so you can see the multiple-resolution icons, but I wanted to check in, so I stopped before it was done. * src/nautilus-index-title.c: Reindented Andy's new code to match the emacs mode header. * configure.in: * icons/Makefile.am: * icons/eazel/.cvsignore: * icons/eazel/Makefile.am: * icons/eazel/i-directory-24.png: * icons/eazel/i-directory-36.png: * icons/eazel/i-directory-72.png: * icons/eazel/i-directory-96.png: * icons/eazel/i-directory.png: I needed some variable-size icons to demonstrate the multiple resolution support in the icon factory, so I added a few directory icons from gnomad. Since these don't match the other icons, I made them part of an "eazel" icons theme. * RENAMING: Some new name ideas.
* Renamed FMIconCache to NautilusIconFactory and moved it to libnautilus.John Sullivan2000-01-271-1/+0
|
* Fixed a bug that was causing some icons to not get selected or unselectedDarin Adler2000-01-271-0/+1
| | | | | | | | | | | | | | | | | | | | | * libnautilus/gnome-icon-container.c: (icon_select): Fixed a bug that was causing some icons to not get selected or unselected properly due to strangeness of bit fields. * libnautilus/gnome-progressive-loader.h: libnautilus/gnome-progressive-loader.c: libnautilus/Makefile.am: Got rid of GnomeProgressiveLoader. We're not going to use it. * RENAMING: Andy added a new file that matched RENAMING, but then I changed my mind about a renaming, spawning yet more renaming! * src/file-manager/fm-directory-view-icons.c: Just tiny reformatting.
* Redid drag code so that it will work if there are multiple windowsDarin Adler2000-01-251-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libnautilus/gnome-icon-container-dnd.c: (create_selection_shadow): (set_gnome_icon_list_selection): (get_gnome_icon_list_selection): (gnome_icon_container_receive_dropped_icons): Redid drag code so that it will work if there are multiple windows involved, although we still don't handle copies. Changed selection to include the width and height of the icon, and to hold the top left of the icon. * libnautilus/gnome-icon-container-private.h: libnautilus/gnome-icon-container.c: (move_icon): (gnome_icon_container_move_icon): Made move_icon visible to the DnD code, and added a raise boolean so it could move and icon and bring it to the front. (gnome_icon_container_get_icon_by_uri): (gnome_icon_container_select_list_unselect_others): Added new functions for use by DnD code. * libnautilus/gnome-icon-container-private.h: libnautilus/gnome-icon-container.c: (handle_icon_button_press): Got rid of unused drag_x_offset and drag_y_offset. * libnautilus/gnome-icon-container.c: (icon_select): (icon_toggle_selected): (select_icon): (select_one_unselect_others): (toggle_icon): (unselect_all_but_one): (unselect_all): (rubberband_select_in_cell): (kbd_move_to): (kbd_space): (linger_select_timeout_cb): (handle_icon_button_press): (gnome_icon_container_select_all): (gnome_icon_container_unselect_all): Cleaned up selection logic and made it simpler. * libnautilus/gnome-icon-container.h: libnautilus/gnome-icon-container.c: (gnome_icon_container_xlate_selected): Got rid of unused function. * libnautilus/nautilus-self-checks.h: libnautilus/nautilus-self-checks.c: (nautilus_self_checks_failed): (nautilus_exit_if_self_checks_failed): src/ntl-main.c: (main): Added blank lines before and after the first and last failed checks when at least one check fails. * src/ntl-view.c: (nautilus_view_destroy): Removed a straggler message. (I hope Elliot's not still using it.) * RENAMING: Some new name ideas.
* Added more suggestions.Maciej Stachowiak2000-01-251-0/+3
|
* Added a controller object that lets GnomeIconContainerDarin Adler2000-01-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ask questions and perform actions, even though only the FMDirectoryViewIcons knows how to answer the questions and perform the actions. Replaced use of nautilus_file_get_info with specific accessors for various file info. * libnautilus/Makefile.am: libnautilus/nautilus-icons-controller.h: libnautilus/nautilus-icons-controller.c: libnautilus/gnome-icon-container-private.h: libnautilus/gnome-icon-container.h: libnautilus/gnome-icon-container.c: (icon_new_pixbuf): (gnome_icon_container_new): (gnome_icon_container_add): (gnome_icon_container_add_auto): Added NautilusIconsController, an interface provided so that the file manager can connect the icons up with the file code. This is all so we can keep the view/controller separation. This eliminates the need to pass around the icon name all the time, so the signals have changed to not take the icon name as a parameter. * src/file-manager/Makefile.am: src/file-manager/fm-icons-controller.c: src/file-manager/fm-icons-controller.h: Added FMIconsController, the actual controller used by the file manager instance of GnomeIconContainer. src/file-manager/fm-directory-view-icons.c: (create_icon_container): (add_icon_if_already_positioned): (add_icon_at_free_position): (icon_container_activate_cb): (fm_directory_view_icons_icon_moved_cb): Create and use the FMIconController. * libnautilus/gnome-icon-container-private.h: libnautilus/gnome-icon-container-dnd.c: (set_gnome_icon_list_selection): (set_uri_list_selection): libnautilus/gnome-icon-container.c: (gnome_icon_container_set_base_uri): src/file-manager/fm-directory-view-icons.c: (set_up_base_uri): (fm_directory_view_icons_begin_loading): Get rid of the old base_uri technique for handling drags. Instead the icon controller supplies URIs for icons when requested. * RENAMING: Proposed that we use NautilusIconsView as the new name for GnomeIconContainer instead of NautilusIconContainer. * libnautilus/gnome-icon-container-private.h: libnautilus/gnome-icon-container.h: libnautilus/gnome-icon-container.c: (gnome_icon_container_initialize): (handle_icon_enter_notify): (handle_icon_leave_notify): Renamed browser mode to linger selection mode. * libnautilus/gnome-icon-container-private.h: libnautilus/gnome-icon-container.h: libnautilus/gnome-icon-container.c: (icon_configure): (icon_position): (change_icon_mode): (gnome_icon_container_initialize): (gnome_icon_container_set_icon_mode): (gnome_icon_container_get_icon_mode): src/file-manager/fm-directory-view-icons.c: (fm_directory_view_icons_initialize): Got rid of icon mode, since we won't be using it. * libnautilus/gnome-icon-container-dnd.c: (get_gnome_icon_list_selection): Changed geometry parsing so it will not ignore extra characters after the numeric geometry. (gnome_icon_container_receive_dropped_icons): The code here tried to work when dragging icons between windows, but the implementation was actually only good within the same window, so I modified it to check for that case. * libnautilus/gnome-icon-container-dnd.c: (create_selection_shadow): (set_gnome_icon_list_selection): libnautilus/gnome-icon-container.c: (icon_position): Renamed GNOME_ICON_CONTAINER_ICON_XOFFSET to GNOME_ICON_CONTAINER_ICON_X_OFFSET and GNOME_ICON_CONTAINER_ICON_YOFFSET to GNOME_ICON_CONTAINER_ICON_Y_OFFSET. We use an underscore between words in identifiers. * libnautilus/gnome-icon-container.c: (destroy): Added code to remove timeouts and idles when the container is destroyed. * libnautilus/nautilus-directory.h: libnautilus/nautilus-directory.c: (nautilus_file_get_info): Get rid of the direct call to get GnomeVFSFileInfo. All info is accessed through individual functions. (nautilus_file_get_size): (nautilus_file_get_type): (nautilus_file_get_mime_type): (nautilus_file_is_executable): (nautilus_file_is_symbolic_link): Added new accessor functions as needed. src/file-manager/fm-directory-view.c: (display_selection_info): src/file-manager/fm-icon-cache.c: (fm_icon_cache_get_icon_set_for_file): (fm_icon_cache_get_icon_for_file): Change code to use the accessors instead of get_info. * libnautilus/nautilus-gtk-macros.h: (NAUTILUS_ASSIGN_MUST_OVERRIDE_SIGNAL): Changed macro to take a class pointer of the right type instead of taking both a casting macro name and a class pointer. src/file-manager/fm-directory-view.c: (fm_directory_view_initialize_class): Changed existing uses of macro to match. * src/file-manager/Makefile.am: src/file-manager/fm-icon-cache.c: src/file-manager/fm-default-file-icon.h: src/file-manager/fm-default-file-icon.c: Moved the default icon into its own file.
* The list view now has a background color just like theDarin Adler2000-01-201-0/+8
icon view does. Some more code could be saved, but that's a refactoring for another time. * libnautilus/gtkflist.c: Added support for receiving dragged colors to set the background of the list. * src/file-manager/fm-directory-view-list.c: (fm_directory_view_list_initialize_class): (fm_directory_view_list_clear): (fm_directory_view_list_background_changed_cb): Added code to load and save the background color from metadata. * libnautilus/nautilus-background.c: Put the background color in all the bg and base colors in the style instead of putting it only in bg[GTK_STATE_NORMAL]. * libnautilus/nautilus-gtk-macros.h: (NAUTILUS_DEFINE_CLASS_BOILERPLATE): Make sure that the macro only evaluates the parent_class_type argument once, like it says in the comment. (NAUTILUS_CALL_PARENT_CLASS): Fix this macro so it can be used in places where an expression is expected. * RENAMING: Added this file to list name changes we are planning for the future. * libnautilus/gtkflist.h: libnautilus/gtkflist.c: src/explorer-location-bar.h: src/explorer-location-bar.c: Minimized includes. * src/ntl-index-panel.c: src/file-manager/fm-directory-view-icons.c: Fixed some comments and formatting.