summaryrefslogtreecommitdiff
path: root/ChangeLog-20000414
Commit message (Collapse)AuthorAgeFilesLines
...
* Improved the background handling code so more is shared.Darin Adler2000-04-051-1/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's even more we could do in this direction. * components/music/nautilus-music-view.c: (nautilus_music_view_initialize): Got rid of redundant background color initialization. (nautilus_music_view_realize): Got rid of background color initialization. (nautilus_music_view_update_from_uri): Changed background color handling to use new nautilus_directory_background calls. (nautilus_music_view_background_changed): Not needed any more. * components/notes/ntl-notes.c: Did some cleanup and reformatting. * libnautilus/Makefile.am: * libnautilus/nautilus-directory-background.c: * libnautilus/nautilus-directory-background.h: Created a new file with functions that manage the background for a window connected with a particular directory. Later we might generalize it further to work for windows that are connected to any URI, not just a directory. * libnautilus/nautilus-directory.c: * libnautilus/nautilus-directory.h: Added a new "metdata_changed" signal so that the background can be updated if the underlying data changes. (nautilus_directory_initialize_class): Create the new signal. (nautilus_directory_ref), (nautilus_directory_unref): Made these functions quietly do nothing for NULL. This simplifies life for callers. (nautilus_directory_set_metadata): Emit the "metadata_changed" signal. * libnautilus/nautilus-file.c: (nautilus_file_ref), (nautilus_file_unref): Made these functions quietly do nothing for NULL. This simplifies life for callers. * libnautilus/nautilus-metadata.h: Renamed all the constants to be consistent. Got rid of separate constants for the icon view and list view backgrounds. Changed some of the underlying XML tags as well. * libnautilus/nautilus-icon-factory.c: (nautilus_icon_factory_get_icon_for_file): * src/nautilus-index-title.c: (nautilus_index_title_update_info): * src/ntl-index-panel: (nautilus_index_panel_update_info), (receive_dropped_uri_list), (nautilus_index_panel_background_changed): * src/ntl-uri-map.c: (set_initial_content_iid), (add_components_from_metadata): * src/ntl-window-msgs.c: (view_menu_switch_views_cb): * src/file-manager/fm-icon-view.c: (add_icon_if_already_positioned), (fm_icon_view_begin_loading), (fm_icon_view_set_zoom_level), (fm_icon_view_icon_changed_callback): * src/file-manager/fm-list-view.c: (fm_list_view_begin_loading), (fm_list_view_set_zoom_level), (fm_list_view_sort_items): Updated uses of metadata constants to use the new names. * src/ntl-index-panel: (nautilus_index_panel_destroy), (nautilus_index_panel_update_info): * src/ntl-uri-map.c: (add_components_from_metadata): * src/file-manager/fm-directory-view.c: (fm_directory_view_destroy), (fm_directory_view_load_uri): Used new nautilus_directory_unref to simplify code. * src/ntl-uri-map.c: (set_initial_content_iid): * src/ntl-window-msgs.c: (view_menu_switch_views_cb): Added missing nautilus_directory_unref (storage leak). * src/file-manager/fm-icon-view.c: (create_icon_container), (fm_icon_view_background_changed_callback): Removed "changed" signal handler on NautilusBackground since that's now handled by the new nautilus_directory_background calls instead. (fm_icon_view_begin_loading): Used nautilus_directory_background to replace background customization code. * src/file-manager/fm-icon-view.c: (fm_icon_view_get_zoom_level): Fixed a bug where it would try to use view as an FMIconView after the FM_IS_ICON_VIEW check failed. * src/file-manager/fm-list-view.c: (create_list), (fm_list_view_background_changed_callback): Removed "changed" signal handler on NautilusBackground since that's now handled by the new nautilus_directory_background calls instead. (fm_list_view_begin_loading): Used nautilus_directory_background to replace background customization code.
* Fixed bug in Ramiro's recent checkin that broke bootingJohn Sullivan2000-04-051-0/+11
| | | | | | | | | | if the icon theme had never been set. * libnautilus/nautilus-icon-factory.c: (nautilus_icon_factory_initialize_class), (nautilus_get_current_icon_factory): Moved theme initialization from the former to the latter, because theme needs to be non-NULL before initialize_class is called.
* Removed some unnecessary \n from g_errors.Darin Adler2000-04-051-0/+22
| | | | | | | | | | | | | | | | | | | | | | * components/services/startup/eazel-register.c: (add_package_info): * libnautilus/nautilus-file-utilities.c: (nautilus_user_top_directory): * libnautilus/nautilus-global_preferences.c: (global_preferences_get_dialog): * libnautilus/nautilus-icon-factory.c: (nautilus_icon_factory_get_thumbnail_uri): Removed unnecessary \n characters from g_warning, g_error, and g_message calls. * components/html/ntl-web-browser.c (browser_url_load_done): Ettore says we should stop calling gtk_html_private_calc_scrollbars and if it causes any problems then it's just a bug in GtkHTML that should be fixed,. * src/ntl-window-msgs.c: Reformatted the code as a first step for some changes that will make the state machine easier to understand.
* Preferences work. Make preference registration implicit. Update code thatRamiro Estrugo2000-04-051-0/+90
| | | | required preferences to be explicitly registered before using them.
* made the register command make an http request to the serviceAndy Hertzfeld2000-04-051-0/+7
| | | | made the register command make an http request to the service
* Make selection persistent across content view changes (task 105).Maciej Stachowiak2000-04-051-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/file-manager/fm-directory-view.c, src/file-manager/fm-directory-view.h (fm_directory_view_set_selection): New function. (set_selection): New virtual method that must by implemented by subclasses. (add_nautilus_file_to_uri_map, remove_nautilus_file_from_uri_map, free_file_by_uri_map_entry, free_file_by_uri_map): New functions to manage a hash table mapping from uri strings to NautilusFile objects. (notify_selection_change_cb): New function; on a selection change notification, either set the selection immediately if the view has completed loading, or establish it as pending. (display_pending_files): Maintain the uri -> file hash table on notifications from the model; do any pending selections required when loading completes. * src/file-manager/fm-list-view.c (fm_list_view_set_selection): New function to implement `set_selection' virtual method. * src/file-manager/fm-icon-view.c (fm_icon_view_set_selection): New function to implement `set_selection' virtual method. * libnautilus/nautilus-list.c (nautilus_list_set_selection): New function: set the selection to a specified set of rows. * libnautilus/nautilus-icon-container.c, libnautilus/nautilus-icon-container.h (nautilus_icon_container_set_selection): New function: set the selection to a specified set of icons.
* misc small changes to the service registration formAndy Hertzfeld2000-04-051-0/+7
| | | | misc small changes to the service registration form
* Fix cast for stricter -Werror compliance.Ramiro Estrugo2000-04-051-0/+5
|
* Finished task 54 (Set background image by drag/drop).Darin Adler2000-04-051-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed bug 346 (Bad icon positions when you change user level). Fixed bug 372 (Better icons for common file types). * libnautilus/nautilus-background-canvas-group.c: (nautilus_background_canvas_group_draw): Got rid of the colormap which is not needed now that we use gtk_rgb instead of gtk_color calls. Passed in the corner of the canvas as a parameter to nautilus_background_draw so it knows where the origin of any repeating pattern should be. * libnautilus/nautilus-background.h: * libnautilus/nautilus-background.c: (nautilus_background_draw): Added parameters to determine where the origin of any repeating pattern should be. Removed colormap parameter (see above). (nautilus_background_draw_flat_box): Passed in origin parameters in call to nautilus_background_draw. * libnautilus/nautilus-gdk-extensions.h: * libnautilus/nautilus-gdk-extensions.c: (nautilus_fill_rectangle_with_gradient): Removed colormap parameter (see above). * libnautilus/nautilus-gdk-pixbuf-extensions.c: (nautilus_gdk_pixbuf_render_to_drawable_tiled): Fixed the tiling so it will use the dither parameters to set the origin of the tiles as well. * libnautilus/nautilus-icon-dnd.c: (receive_dropped_tile_image), (nautilus_icon_container_receive_dropped_icons): Added code so that dropping an image file on the window with the shift key held down will customize the background tile image. * libnautilus/nautilus-icon-factory.c: (make_full_icon_path), (get_themed_icon_file_path): Fixed two bugs that prevented MIME-type-based icons from working correctly. First, got rid of code that tried to prepend the theme name and "nautilus/" to the beginning of a full path. Then made sure that it tries the file name without adding a suffix before it starts trying out suffixes. * libnautilus/nautilus-icon-grid.c: (nautilus_icon_grid_clear): Fixed bug where clearing the grid was resetting the visible width. * components/sample/Makefile.am: * components/services/startup/Makefile.am: Turned on -Werror for these two directories. * components/sample/nautilus-sample-content-view.h: * components/sample/nautilus-sample-content-view.c: (nautilus_sample_content_view_destroy), (bonobo_sample_callback): Fixed warnings and did some small cleanup.
* Renaming a file from its Set Properties dialog now works, thoughJohn Sullivan2000-04-051-0/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | there are various odds and ends I still need to clean up. It turned out (surprise!) that there was a lot of underpinnings work involved in implementing this feature. Fortunately most of it will be shared by rename-in-place. * libnautilus/nautilus-directory-private.h: add #define for METADATA_NODE_NAME_FOR_FILE_NAME * libnautilus/nautilus-directory.c: (nautilus_directory_get_file_metadata_node): Use METADATA_NODE_NAME_FOR_FILE_NAME #define (nautilus_directory_set_file_metadata): Use g_return_val_if_fail to prevent callers from changing the file name this way, since that wouldn't work right. * libnautilus/nautilus-file.h: * libnautilus/nautilus-file.c: (nautilus_file_can_rename): New function, returns TRUE if the user has write permission for this file. (nautilus_file_rename): New function, uses gnome_vfs_move to try to rename the file, updating metadata as appropriate. Returns the GnomeVFSResult from gnome_vfs_move. * libnautilus/nautilus-list.c (row_selected): Renamed this formerly private function to nautilus_list_is_row_selected and made it check its parameters more carefully. * libnautilus/nautilus-list.h: (nautilus_list_is_row_selected): Made this public. * src/file-manager/fm-error-reporting.c, * src/file-manager/fm-error-reporting.h: New files, home for UI code to display user error messages and such. It's initial occupant is: (fm_report_error_renaming_file): New function, puts up a non-modal alert reporting the renaming failure. * src/file-manager/Makefile.am: Add these two new files to the build. * src/file-manager/fm-directory-view.c: (bonobo_menu_open_properties_window_cb): New function, opens a Properties window for each selected item using the Bonobo callback API. (fm_directory_view_real_merge_menus): Include Set Properties item in File menu, and rearrange other items a little. (fm_directory_view_real_update_menus): Update sensitivity of Set Properties menu item. * src/file-manager/fm-list-view.c: (add_to_list): Return the new row index. (fm_list_view_file_changed): Remove and reinsert the changed file; this not only does less sorting but also recomputes all the text so name changes will be displayed. * src/file-manager/fm-properties-window.c: (get_pixmap_and_mask_for_properties_window), (update_properties_window_icon), (create_pixmap_widget_for_file), (name_field_done_editing), (name_field_update), (update_properties_window_title), (properties_window_file_changed_callback): New functions used to wire up the new editable name field and new icon pixmap widget in the properties window. (create_properties_window): Added notebook tabs, first one is Basic and currently contains icon & name; second is Emblems and has all those checkboxes. Use all the new functions to create and wire up things so that name changes & icon changes are propagated and reflected correctly. * src/nautilus-bookmarks-window.c: (create_bookmarks_window): Removed a bunch of unnecessary and leak-causing gtk_widget_refs that I happened to notice in here. I left these behind when modifying code originally created by glade, where the refs are necessary.
* more work on the registration and configuration forms in the serviceAndy Hertzfeld2000-04-041-1/+6
| | | | | more work on the registration and configuration forms in the service component
* fixed bug by only allocating uri for actual_uri if it's non-null; plusAndy Hertzfeld2000-04-041-0/+8
| | | | | fixed bug by only allocating uri for actual_uri if it's non-null; plus lots more work on the service registration form.
* more work on the service componentAndy Hertzfeld2000-04-041-1/+15
| | | | more work on the service component
* added configuration inventory routines to the nascent service componentAndy Hertzfeld2000-04-041-0/+20
| | | | added configuration inventory routines to the nascent service component
* First cut at tiled background images.Darin Adler2000-04-041-0/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First cut at tiled background images. There's no UI for setting them yet, they are only in the icon view, and they don't work properly with scrolling yet. * libnautilus/Makefile.am: * libnautilus/nautilus-gdk-extensions.c: * libnautilus/nautilus-gdk-extensions.h: * libnautilus/nautilus-gdk-pixbuf-extensions.c: * libnautilus/nautilus-gdk-pixbuf-extensions.h: Split the GdkPixbuf stuff into its own file. * libnautilus/nautilus-background.c: (nautilus_background_destroy): Fixed a bunch of leaks and added new code to stop pixbuf loading. (nautilus_background_draw): Added call to draw tiled background image. Converted gradients to use gdk_rgb instead of gdk_color. (nautilus_background_get_tile_image_uri): Implemented. (nautilus_background_set_color): Added short-circuit for background image case. (load_image_callback), (nautilus_background_set_tile_image_uri): Implemented. Include code to load in the tiled image when its URI is set. (nautilus_background_receive_dropped_color): Set the tile image to NULL when a color is dropped. * libnautilus/nautilus-gdk-extensions.c: * libnautilus/nautilus-gdk-extensions.h: (nautilus_fill_rectangle_with_color), (nautilus_fill_rectangle_with_color), (nautilus_interpolate_color): Changed from gdk_color to gdk_rgb. (nautilus_parse_rgb_with_white_default): Added function for gdk_rgb similar to what we already have for gdk_color. * libnautilus/nautilus-icon-canvas-item.c: * libnautilus/nautilus-icon-container.c: * libnautilus/nautilus-list.c: Use gdk-pixbuf extensions in new location. * libnautilus/nautilus-metadata.h: Added metadata keys for background images. * src/ntl-view.c: Added lots of stronger checks for NAUTILUS_IS_VIEW since this is where we run into trouble with a bug I ran into. * src/file-manager/icon-view.c: Added code to handle the new background images. (create_icon_container): Keep around the handler ID when connecting to the "changed" message of the background so we can block the handler as needed. (fm_icon_view_begin_loading): Load the background image as well as the background color. We need to block the background changed signal handler so we don't get confused while the color but not the image is set up. (fm_icon_view_background_changed_callback): Save the background image URI as well as the background color in the metadata.
* Fix the build. Changes in GtkHtml and Bonobo required usDarin Adler2000-04-031-2/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | to catch up. * libnautilus/ntl-meta-view-frame.h: * libnautilus/ntl-meta-view-frame.c: Rewrote to use the new property bag. This requires us to store our own properties, since the bag no longer provides any storage. (nautilus_meta_view_frame_initialize): Set up the label. (nautilus_meta_view_frame_new_from_bonobo_control): Make it actually take a BonoboControl instead of a BonoboObject and make it set up the property bag. (nautilus_meta_view_destroy): Free the label. (autilus_meta_view_frame_set_label): Just set the label. The property bag simply uses our stored label. * components/html/ntl-web-browser.c (browser_url_load_gone): Changed call to match name in new version of GtkHtml. Unfortunately, the new name makes it clear the call is intended to be private. * components/rpmview/.cvsignore: Ignore the actual binary, not nautilus-music-view. * components/rpmview/Makefile.am: Turned on -Werror. * components/music/Makefile.am: Turned on -Werror. * components/rpmview/nautilus-rpm-view.c: Fixed warnings.
* first cut at rpm view componentAndy Hertzfeld2000-04-031-0/+15
| | | | first cut at rpm view component
* Skeleton code for startup service.Ramiro Estrugo2000-04-021-0/+20
|
* Disable copy as a drag&drop operation for now. The current copy enginePavel Cisler2000-03-311-0/+9
| | | | | | | | 2000-03-31 Pavel Cisler <pavel@eazel.com> Disable copy as a drag&drop operation for now. The current copy engine doesn't handle conflicts properly yet and can erase your files.
* Fixed a bug that Pavel reported where he got a crash inDarin Adler2000-03-311-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nautilus_directory_monitor_files_unref when he pushed the "Up" button. * libnautilus/nautilus-glib-extensions.c: * libnautilus/nautilus-glib-extensions.h: (nautilus_g_strv_find): Renamed the existing function nautilus_g_strfindv to be more consistent with the rest of glib, even though it's less consistent with the other strv functions. (nautilus_g_list_safe_for_each): Added an alternate version of g_list_foreach that works even when the current item is removed from the list inside the function. * libnautilus/nautilus-gtk-extensions.c: (nautilus_gtk_object_list_unref): Use the new safe version of g_list_foreach so this works even on lists where the objects remove themselves in their destroy/finalize methods. This is the change that fixes the bug. * src/nautilus-bookmark-list.c: (nautilus_bookmark_list_load_file): Replaced some explicit code with a call to nautilus_gtk_object_list_free. * src/nautilus-index-title.c: (nautilus_index_title_update_icon): Fixed a bug that would prevent you from viewing the root level. The current version of nautilus_file_get returns NULL for the root. * src/nautilus-window-menus.c: (clear_appended_bookmark_items): Replaced some explicit code with a call to nautilus_g_list_free_deep. * src/file-manager/fm-icon-text-window.c: (synch_menus_with_preference): Updated to use the nautilus_g_strv_find call by its new name. * libnautilus/nautilus-file.c: (nautilus_file_set_keywords): Did some minor tweaks to simplify the no-keywords case.
* Show icon emblems in list view.John Sullivan2000-03-311-0/+69
|
* Finished task 62 (Set custom icon by drag/drop on index panel)Darin Adler2000-03-311-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and fixed some problems from my earlier check-ins today. * libnautilus/nautilus-directory.c: (nautilus_directory_monitor_files_ref): Fixed a bad assert from my last check-in. * src/file-manager/fm-list-view.c: (add_to_list): The list view had the same missing ref that I fixed for icon view in my last check-in. * src/nautilus-index-title.c: (release_file), (nautilus_index_title_destroy), (nautilus_index_title_update_icon), (nautilus_index_title_update_label), (nautilus_index_title_update_info), (nautilus_index_title_set_uri): Changed to hold around the NautilusFile object and connect to its "changed" message to update the file information. This causes the icon to get updated right away when the custom icon is changed. * libnautilus/nautilus-directory-private.h: * libnautilus/nautilus-directory.c: * libnautilus/nautilus-file-private.h: * libnautilus/nautilus-file.c: * libnautilus/nautilus-file.h: Converted NautilusFile to be a GtkObject instead of a plain struct, so it can have a "changed" signal. We still recommend using the "files_changed" signal on the directory to avoid the overhead of a signal connection for each file. * libnautilus/nautilus-gtk-extensions.c: * libnautilus/nautilus-gtk-extensions.h: (nautilus_gtk_object_list_ref), (nautilus_gtk_object_list_unref), (nautilus_gtk_object_list_free): Added some functions to be used with a list of GtkObjects. * libnautilus/nautilus-icon-factory.c: (nautilus_icon_factory_get_icon_name_for_file): Had to change the name of nautilus_file_get_type to avoid conflict with the GtkObject standard get_type routine.
* Added missing ref that caused very bad things to happen now that the fileDarin Adler2000-03-301-0/+10
| | | | | | | | | | * src/file-manager/fm-icon-view.c: (add_icon_if_already_positioned), (add_icon_at_free_position): Added missing ref that caused very bad things to happen now that the file ref. counts are working. * components/music/nautilus-music-view.c: Did a bunch of cleanup and fixed some memory trashing bugs where the result of g_basename was passed to g_free.
* Added convenience functions so people don't have to be constantly remindedDarin Adler2000-03-301-2/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * libnautilus/nautilus-directory.c: * libnautilus/nautilus-directory.h: (nautilus_directory_ref), (nautilus_directory_unref): Added convenience functions so people don't have to be constantly reminded that a NautilusDirectory is a a GtkObject. * libnautilus/nautilus-directory.c: (nautilus_directory_destroy): Fixed a problem where the pending files callback might fire after the NautilusDirectory is gone. * libnautilus/nautilus-directory.c: (nautilus_directory_destroy), (nautilus_directory_monitor_files_ref), (nautilus_directory_monitor_files_unref), (dequeue_pending_idle_callback), (nautilus_directory_new_file): * libnautilus/nautilus-file-private.h: * libnautilus/nautilus-file.c: (nautilus_file_get), (nautilus_file_ref), (nautilus_file_unref), (nautilus_file_free), (nautilus_file_delete): To prepare for changing NautilusFile to a GtkObject, made it use ref counts in a way that is standard. Now the directory keeps a list of the files, but only keeps a ref to the files if it is monitoring them. * src/file-manager/fm-directory-view.c: Tiny formatting tweak.
* made the selection rectangle have a semi transparent light blue fillAndy Hertzfeld2000-03-301-1/+9
| | | | | made the selection rectangle have a semi transparent light blue fill color; also tweaked the selection darkening to be a little lighter
* More copy/move operations. Fixes a problem I introduced earlier where dropPavel Cisler2000-03-301-0/+28
| | | | | | | 2000-03-28 Pavel Cisler <pavel@eazel.com> More copy/move operations. Fixes a problem I introduced earlier where drop onto a file would lock up Nautilus.
* Connect to the "destroy" signal of the view_frame rather than the sampleMaciej Stachowiak2000-03-301-0/+23
| | | | | | | | | | | | | | | | | | | | | | | * components/sample/main.c (sample_make_object): Connect to the "destroy" signal of the view_frame rather than the sample content view object, to avoid a race condition where we might exit before the view_frame is fully unreffed and has a chance to clean up. components/sample/nautilus-sample-content-view.c (nautilus_sample_content_view_destroy): Unref the NautilusViewFrame when we are destroyed. * libnautilus/nautilus-zoomable.c, libnautilus/ntl-view-frame.c, libnautilus/ntl-content-view-frame.c, libnautilus/ntl-meta-view-frame.c: Use boilerplate macros for get_type method and to invoke parent destroy method. * libnautilus/nautilus-zoomable.c, libnautilus/ntl-view-frame.c: Unref the interface we query_local_interface for, to avoid holding a superfluous ref to ourselves, since we eventually add_interface that interface. * src/ntl-view.c (nautilus_view_destroy_client): Use bonobo_object_unref instead of bonobo_object_destroy.
* fixed bug #312, index tabs not resizing properly, by overriding sizeAndy Hertzfeld2000-03-291-0/+6
| | | | | fixed bug #312, index tabs not resizing properly, by overriding size allocate and adjusting the height accordingly
* Started on copy/move operationsPavel Cisler2000-03-291-0/+38
| | | | | | 2000-03-28 Pavel Cisler <pavel@eazel.com> Started on copy/move operations
* Preparing for support for background images.Darin Adler2000-03-291-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libnautilus/nautilus-background.h: * libnautilus/nautilus-background.c: Preparing for support for background images. * libnautilus/nautilus-background.c: * libnautilus/nautilus-debug.c: * libnautilus/nautilus-icon-canvas-item.c: * libnautilus/nautilus-icon-dnd.c: Add those braces that Maciej, John, and the style guide all prefer. * libnautilus/nautilus-file.c: (nautilus_file_set_metadata): A change to metadata is considered a change to the file. * libnautilus/nautilus-graphic-effects.c: * libnautilus/nautilus-graphic-effects.h: Added nautilus_ prefix to all the functions in here. * libnautilus/nautilus-gtk-extensions.c: * libnautilus/nautilus-gtk-extensions.h: (nautilus_point_in_allocation), (nautilus_point_in_widget): Added hit testing help functions that check if a point is in a particular allocation/widget. * libnautilus/nautilus-icon-dnd.c: (get_gnome_icon_list_selection): Fixed a bug that happens when you get a 0-length piece of selection data. * libnautilus/nautilus-icon-dnd.h: Changed the icon list back to "x-gnome-icon-list". That's how the other GNOME folks want it, not "x-nautilus-icon-list". * src/nautilus-index-tabs.c: * src/nautilus-index-tabs.h: * src/nautilus-index-title.c: * src/nautilus-index-title.h: * src/ntl-index-panel.c: * src/ntl-index-panel.h: lite -> light, Other cleanup. * src/nautilus-index-title.c: * src/nautilus-index-title.h: (nautilus_index_title_hit_test_icon): * src/ntl-index-panel.c: (hit_test), (uri_is_local_image), (receive_dropped_uri_list), (receive_dropped_color): Added code needed to support dropping an image on the icon to set a custom icon. This doesn't yet update the icon in the panel itself, but I'll do that soon.
* Removed notify_title_change call and removed initial_title parameter ofJohn Sullivan2000-03-291-0/+29
| | | | notify_location_change call.
* Switch the behavior of the Control key for keyboard navigation back the way itJohn Sullivan2000-03-281-0/+6
| | | | is supposed to be.
* Cleanup NautilusPreferences a bit in preparation for api revampRamiro Estrugo2000-03-281-0/+25
| | | | to support implicitly registered preferences.
* Add initial_title parameter to notify_location_change signal and all itsJohn Sullivan2000-03-281-0/+24
| | | | handlers. This completes the change that I did part of last night.
* fixed bug #9, folder icon too small, by replacing the image with oneAndy Hertzfeld2000-03-281-0/+5
| | | | | fixed bug #9, folder icon too small, by replacing the image with one that's the proper size.
* Gave content views the ability to specify the user-displayed title for aJohn Sullivan2000-03-281-0/+157
| | | | | | location; this is used initially (and most importantly) by web pages so that bookmarks, the window title, and the index panel will display the html page title rather than the url.
* made it treat pre-lighting and selection darkening independently, so bothAndy Hertzfeld2000-03-281-0/+7
| | | | | made it treat pre-lighting and selection darkening independently, so both properties can be visually reflected simultaneously.
* changed how selection emboldening works, also, clean-ups and bug fixes inAndy Hertzfeld2000-03-281-0/+20
| | | | | changed how selection emboldening works, also, clean-ups and bug fixes in the graphic effects
* Removed the ETTORE user level easter egg and bullet proofed theRamiro Estrugo2000-03-261-0/+16
| | | | | | | | stuff that uses user levels a bit. Removed switch handling of ETTORE user level and added a default case for the unlikely (but poissible) event when the ~/.gnome/nautilus preferences file contains bogus values for the user_level enumeration.
* improved selection highlighting by darkening the icon and emboldening theAndy Hertzfeld2000-03-261-0/+13
| | | | | improved selection highlighting by darkening the icon and emboldening the font
* Fixed bug 337 (Crash on userlevel change).Darin Adler2000-03-251-1/+8
| | | | | * src/file-manager/fm-directory-view.c (user_level_changed_callback): Fixed incorrect assert.
* moved pixbuf manipulation routines intoAndy Hertzfeld2000-03-251-0/+18
| | | | | moved pixbuf manipulation routines into libnautilus/nautilus-graphic-effects
* Added sample menu item and toolbar button to sample content view component.John Sullivan2000-03-241-0/+30
|
* Added commented-out sample merged toolbar item, as basis for future real ones.John Sullivan2000-03-231-0/+10
|
* Fixed bug 336 (merged menu items don't go away when componentDarin Adler2000-03-231-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | is swapped out). * src/file-manager/fm-directory-view.c: (fm_directory_view_destroy): While debugging, I noticed that the view_frame was allocated by the FMDirectoryView and never unref'd. The exact connection of this to why the widgets don't go away is now lost in time. We added a call to bonobo_object_unref to get rid of the view frame. * src/ntl-window.h, src/ntl-window.c, src/ntl-window-msgs.c: (Nautilus_NavigationInfo_free): Got rid of this routine. It turns out that this was an incorrect hack to work around the error in the surrounding code that was copying CORBA object references without calling CORBA_Object_duplicate. (nautilus_window_destroy), (nautilus_window_request_selection_change): Changed code that was calling Nautilus_NavigationInfo_free to just call CORBA_free now that the incorrect hack is not needed. (nautilus_window_request_selection_change), (nautilus_window_update_view), (nautilus_window_update_internals), (nautilus_window_load_content_view): Changed all code that was manipulating content_view to use CORBA_Object_duplicate when storing a reference and CORBA_Object_release when overwriting a reference.
* Fixed bug 334 (Need proper hit detection when hit-testing icons.Darin Adler2000-03-221-4/+10
| | | | | | | | * libnautilus/nautilus-icon-canvas-item.c: (hit_test_pixbuf): Fixed a typo-type error where we were checking every pixel of the pixbuf instead of only the pixels that we were hit testing against. * libnautilus/nautilus-icon-container.c: Tweaks.
* Cleaned up request-new-window situation with Nautilus_NavigationRequestInfo.John Sullivan2000-03-221-0/+32
|
* Emit SELECTION_CHANGED signal after changing selection via keyboard.John Sullivan2000-03-221-0/+7
|
* Made choosing from the back/forward menus correctly update the back/forwardJohn Sullivan2000-03-221-0/+41
| | | | chains.
* Fixed an annoying bug that would sometimes cause the drag&drop feedback toPavel Cisler2000-03-221-0/+9
| | | | | | | 2000-03-21 Pavel Cisler <pavel@eazel.com> Fixed an annoying bug that would sometimes cause the drag&drop feedback to come up delayed.