summaryrefslogtreecommitdiff
path: root/src/nautilus-sidebar-tabs.c
Commit message (Collapse)AuthorAgeFilesLines
* reviewed by: John Sullivan <sullivan@eazel.com>Darin Adler2001-01-311-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug 6147 (selected icons flash unselected/selected rapidly): * src/nautilus-window-manage-views.c: (change_selection): Don't send out selection change notices to the view that reported the selection change. (change_selection_callback): Pass in view that requested the change so we can know not to send a selection change to that view. * src/file-manager/fm-directory-view.c: (fm_directory_view_send_selection_change): Clear flag that says we have a selection change for the shell. (selection_changed_callback): Add code to indicate this selection change is due to the shell, so we don't tell the shell about something it just told us. (done_loading): Set flag so we don't tell the shell about selection changes that are part of the first load of the directory. (display_selection_info_idle_callback): Only send a selection change to the shell if the change was initiated here. Also remove the code that ref's the NautilusView object -- wasn't helping. (update_menus_timeout_callback), (display_pending_idle_callback), (display_pending_timeout_callback): Remove the code that ref's the NautilusView object -- wasn't helping. (fm_directory_view_notify_selection_changed): Propagate flag that tells the idle code we have made the change to the selection and the shell should be notified. Fix bug 6158 (nautilus --quit shouldn't check for ~/.nautilus/first-time-wizard-flag). * src/nautilus-main.c: (main): Don't do the first-time druid check when the --quit or --restart option is used. Fix bug 803 (All metafile tags should be lower case). * libnautilus-extensions/nautilus-metadata.h: Use lower-case for metadata tags. * libnautilus-extensions/nautilus-directory-metafile.c: (create_metafile_root), (get_file_node), (nautilus_directory_rename_file_metadata), (nautilus_directory_copy_file_metadata), (nautilus_directory_set_metafile_contents): Change metadata tags to be lower-case. * libnautilus-extensions/nautilus-directory.c: (nautilus_self_check_directory): Use lower-case in metadata self-test for clarity. * libnautilus-extensions/nautilus-file.c: (nautilus_file_get_keywords), (nautilus_file_set_keywords): Change metadata tags to be lower-case. * data/top/.nautilus-metafile.xml * icons/ardmore/ardmore.xml: * icons/arlo/arlo.xml: * icons/arlo/i-directory.xml: * icons/arlo/i-regular.xml: * icons/crux_eggplant/crux_eggplant.xml: * icons/crux_eggplant/i-directory.xml: * icons/crux_eggplant/i-regular.xml: * icons/default.xml: * icons/gnome/gnome.xml: * icons/i-directory-accept.xml: * icons/i-directory.xml: * icons/i-regular.xml: * icons/villanova/villanova.xml: Change XML to use lower-case. * libnautilus-extensions/nautilus-link-set.c: (create_new_link): Use lower-case for link XML tags. * libnautilus-extensions/nautilus-link.c: (nautilus_link_local_create), (nautilus_link_local_set_link_uri), (nautilus_link_local_set_type), (nautilus_link_local_get_link_uri), (nautilus_link_local_get_link_type), (nautilus_link_get_link_uri_given_file_contents): Use lower-case for link XML tags. * src/nautilus-sidebar-title.c: (nautilus_sidebar_title_select_text_color), (nautilus_sidebar_title_theme_changed): Use lower-case for theme XML tags. * components/throbber/nautilus-throbber.c: (get_bonobo_properties), (nautilus_throbber_initialize), (nautilus_throbber_load_images), (nautilus_throbber_button_press_event): Change theme XML tags to be lower-case. * libnautilus-extensions/nautilus-icon-container.c: (start_rubberbanding): Use lower-case for theme XML tags. (nautilus_icon_container_initialize): Fix comment. (update_label_color), (nautilus_icon_container_theme_changed): Use lower-case for theme XML tags. * libnautilus-extensions/nautilus-icon-factory.c: (set_theme): Use lower-case for theme XML tags. (get_themed_icon_file_path): Use lower-case for icon XML file tags. (icon_theme_changed_callback): Use lower-case for theme XML tags. * src/nautilus-sidebar-tabs.c: (nautilus_sidebar_tabs_load_theme_data), (get_text_offset): Use lowe-case for theme XML tags. * src/nautilus-sidebar.c: (nautilus_sidebar_update_appearance): Use lower-case for theme XML tags. * src/nautilus-window-toolbars.c: (get_file_name_from_icon_name): Use lower-case for theme XML tags. * src/nautilus-zoom-control.c: (draw_number): Use lower-case for theme XML tags. Change code that used GSList when it should use GList. We use GList so that we can share utility functions. It's arbitrary. We could have decided to use all GSList instead, but we chose GList (because of its name, initially). * components/tree/nautilus-tree-expansion-state.c: (expansion_state_load_callback), (nautilus_tree_expansion_state_load_table_from_gconf), (hash_table_get_keys_callback), (hash_table_get_keys), (nautilus_tree_expansion_state_save_table_to_gconf): Update to use GList instead of GSList. * libnautilus-extensions/nautilus-gconf-extensions.h: * libnautilus-extensions/nautilus-gconf-extensions.c: (nautilus_gconf_handle_error), (nautilus_gconf_set_string_list), (nautilus_gconf_get_string_list): Change to work with GList instead of GSList to match the rest of Nautilus, so that the lists can be manipulated with all the GList utility functions. * libnautilus-extensions/nautilus-glib-extensions.h: * libnautilus-extensions/nautilus-glib-extensions.c: (nautilus_round): Changed name from nautilus_g_round -- "g" for "gratuitous". (nautilus_g_list_from_g_slist), (nautilus_g_slist_from_g_list): Added utility functions to help make GSLists from GLists and vice versa. Useful when dealing with functions that yield/expect GSLists. * libnautilus-extensions/nautilus-icon-text-item.c: (iti_destroy), (iti_update), (iti_paint_text), (iti_draw), (iti_render), (iti_event): Use nautilus_round by its new name. * libnautilus-extensions/nautilus-preferences.h: * libnautilus-extensions/nautilus-preferences.c: (nautilus_preferences_set_string_list), (nautilus_preferences_get_string_list), (nautilus_preferences_default_set_string_list), (nautilus_preferences_default_get_string_list): Change to use GList instead of GSList. * libnautilus-extensions/nautilus-search-uri.c: (free_tokenized_uri), (tokenize_uri), (get_translated_criterion), (get_nth_criterion_prefix), (parse_uri): Change to use GList instead of GSList. * src/nautilus-application.h: * src/nautilus-application.c: (nautilus_application_get_window_list): Renamed from nautilus_application_windows and changed to use GList instead of GSList. (nautilus_application_destroyed_window), (nautilus_application_create_window), (volume_unmounted_callback): Change to use GList instead of GSList. * src/nautilus-shell.c: (save_window_states), (restore_window_states): Use GList instead of GSList. * src/nautilus-window-manage-views.c: (just_one_window): Use GList instead of GSList. (open_location_prefer_existing_window_callback): Use GList instead of GSList. * src/nautilus-window.c: (nautilus_forget_history): Use GList instead of GSList and the new name for nautilus_application_get_window_list. Other changes. * src/nautilus-shell.c: (display_caveat_first_time): Turn off the caveat -- we're close enough to 1.0. * libnautilus-extensions/nautilus-view-identifier.c: (nautilus_view_identifier_new_from_oaf_server_info): Use free_deep call. * libnautilus/nautilus-view-standard-main.h: Use BEGIN/END_GNOME_DECLS. * src/file-manager/fm-desktop-icon-view.c: Remove unneeded include.
* fixed bug 5895, critical errors when you make the sidebar small. Fixed byAndy Hertzfeld2001-01-231-7/+22
| | | | | | | | | | * src/nautilus-sidebar-tabs.c: (draw_one_tab_themed), (draw_or_layout_all_tabs): fixed bug 5895, critical errors when you make the sidebar small. Fixed by clipping the amount we draw to fit within the destination buffer before calling gdk_pixbuf_composite. Also fixed another crash when trying to draw aa-text for the tab labels when the starting offset is bigger than the buffer; in that case, don't draw anything.
* more clean-up and fixes for the default theme changeAndy Hertzfeld2001-01-191-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | more clean-up and fixes for the default theme change * icons/ardmore/ardmore.xml: * icons/arlo/arlo.xml: * icons/default.xml: * icons/eazel/eazel.xml: * icons/gnome/gnome.xml: * icons/vector/vector.xml: * icons/villanova/villanova.xml: at Arlo's request, capitalized the theme names and also made them localizable, and tweaks to some of the theme files to fix problems caused by the new default * src/nautilus-sidebar-tabs.c: (nautilus_sidebar_tabs_load_theme_data): added a way to specify the non-pixmap tabs, since it uses pixmap ones in the default now * src/nautilus-theme-selector.c: (get_theme_description_and_display_name), (add_theme): made it use a localizable name in the xml file instead of the actual folder name. * src/nautilus-window-toolbars.c: (get_file_name_from_icon_name): added a way to get the stock gnome toolbar icons, now that we have our own in the default theme * nautilus.spec.in: added the throbber component to our package
* reviewed by: Pavel Cisler <pavel@eazel.com>Ramiro Estrugo2001-01-111-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bugs 4711, 2322, 3778, 4989, 5044, 5166, 5408, 4418, 3779 (parts), 5051, 2783 and maybe other relating to (ab)use of fonts, backgrounds and other sacred attrbiutes of Gtk themes. * components/hardware/nautilus-hardware-view.c: (setup_form_title), (setup_overview_form), (setup_CPU_form), (setup_RAM_form), (setup_IDE_form): Fix hard coded fonts. * components/music/nautilus-music-view.c: (nautilus_music_view_initialize), (music_view_set_selected_song_title), (reset_playtime), (play_status_display), (slider_moved_callback), (add_play_controls): Fix hard coded fonts. * components/rpmview/nautilus-rpm-verify-window.c: (nautilus_rpm_verify_window_initialize): Fix hard coded fonts. * components/rpmview/nautilus-rpm-view.c: (nautilus_rpm_view_initialize): * components/services/install/nautilus-view/nautilus-service-instal l-view.c: (horizontal_line_new), (install_message_new), (generate_install_form), (nautilus_service_install_view_initialize), (current_progress_bar_complete), (nautilus_service_install_installing): Fix hard coded fonts. * components/services/login/nautilus-view/nautilus-change-password- view.c: (generate_change_password_form), (authn_succeeded), (authn_failed), (change_password_button_cb), (nautilus_change_password_view_initialize): Fix hard coded fonts. Cleanup header inclusion a bit. * components/services/nautilus-dependent-shared/Makefile.am: Retire some crufty code. * components/services/nautilus-dependent-shared/eazel-services-exte nsions.c: (eazel_services_image_new), (eazel_services_image_new_from_uri):, (eazel_services_label_new): Update for label, image and hard coded font changes. * components/services/nautilus-dependent-shared/eazel-services-exte nsions.h: Make the colors opaque. Remove a bunch of hard coded font stuff. Also remove a bunch of hard coded offsets. We use alignments and paddings instead. * components/services/nautilus-dependent-shared/eazel-services-foot er.c: (label_enter_event), (label_leave_event), (image_enter_event), (footer_item_new), (eazel_services_footer_update): Update for label, image and hard coded font changes. * components/services/nautilus-dependent-shared/eazel-services-head er.c: (eazel_services_header_title_new), (eazel_services_header_middle_new): * components/services/nautilus-dependent-shared/shared-service-util ities.c: * components/services/nautilus-dependent-shared/shared-service-util ities.h: * components/services/nautilus-dependent-shared/shared-service-widg ets.c: * components/services/nautilus-dependent-shared/shared-service-widg ets.h: * components/services/summary/nautilus-view/nautilus-summary-callba cks.c: * components/services/summary/nautilus-view/nautilus-summary-dialog s.c: (generate_login_dialog): * components/services/summary/nautilus-view/nautilus-summary-footer .c: * components/services/summary/nautilus-view/nautilus-summary-menu-i tems.c: * components/services/summary/nautilus-view/nautilus-summary-view-p rivate.h: * components/services/summary/nautilus-view/nautilus-summary-view.c : (generate_summary_form), (generate_service_entry_row), (generate_eazel_news_entry_row), (generate_update_news_entry_row): Update for label, image and hard coded font changes. * libnautilus-extensions/Makefile.am: Add new smooth/label/image widget stuff. Retire buffered widget. * libnautilus-extensions/nautilus-art-extensions.c: (nautilus_art_irect_get_width), (nautilus_art_irect_get_height): * libnautilus-extensions/nautilus-art-extensions.h: Two new very simple functions to get the width/height of an ArtIRect. * libnautilus-extensions/nautilus-art-gtk-extensions.c: (nautilus_irect_gtk_widget_get_frame): * libnautilus-extensions/nautilus-art-gtk-extensions.h: New simple function to get the dimensions of a widget as an ArtIRect frame. * libnautilus-extensions/nautilus-buffered-widget.c: * libnautilus-extensions/nautilus-buffered-widget.h: Retire. We dont use this no more. * libnautilus-extensions/nautilus-customization-data.c: (nautilus_customization_data_get_next_element_for_display): Update for image and hard coded font changes. * libnautilus-extensions/nautilus-debug-drawing.c: (debug_pixbuf_viewer_initialize_class), (debug_pixbuf_viewer_initialize), (debug_pixbuf_viewer_destroy), (debug_pixbuf_viewer_size_request), (debug_pixbuf_viewer_expose_event), (debug_pixbuf_viewer_set_pixbuf), (nautilus_debug_draw_rectangle_and_cross), (destroy_debug_window), (nautilus_debug_show_pixbuf): * libnautilus-extensions/nautilus-debug-drawing.h: Back to using a widget to display the debug pixbuf. But since we cant use NautilusImage (because we want to use this debug stuff to debug NautilusImage itselft) we need something else. Thus a new private and simple widget to display the debug pixbuf. * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c: (nautilus_gdk_pixbuf_draw_to_drawable), (nautilus_gdk_pixbuf_draw_to_pixbuf_alpha): Fix a very dumb typo. (draw_tile_to_pixbuf_callback), (nautilus_gdk_pixbuf_draw_to_pixbuf_tiled), (nautilus_gdk_pixbuf_draw_to_drawable_tiled), (nautilus_gdk_pixbuf_get_from_window_safe): Rename opacity macros to FULLY_OPAQUE and FULLY_TRANSPARENT for clarity. * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h: Rename opacity macros to FULLY_OPAQUE and FULLY_TRANSPARENT for clarity. * libnautilus-extensions/nautilus-icon-factory.c: (embed_text): Update opacity macros. Tiny update for change in font constructor. * libnautilus-extensions/nautilus-image-with-background.h: * libnautilus-extensions/nautilus-image-with-background.c: (find_background_ancestor), (draw_background_callback), (nautilus_image_new_with_background): Create a NautilusImage that uses NautilusBackground to draw the background. We put this in a separate file to avoid the ugly dependency chain in NautilusBackground so that NautilusImage can be used by standalone components in the future. * libnautilus-extensions/nautilus-image.h: * libnautilus-extensions/nautilus-image.c: (nautilus_image_initialize_class), (nautilus_image_initialize), (nautilus_image_destroy), (nautilus_image_set_arg), (nautilus_image_get_arg), (nautilus_image_size_request), (image_paint_pixbuf_callback), (image_composite_pixbuf_callback), (nautilus_image_expose_event), (nautilus_image_set_is_smooth_signal), (image_get_pixbuf_frame), (image_get_pixbuf_bounds), (image_get_tile_frame), (nautilus_image_new), (nautilus_image_set_is_smooth), (nautilus_image_get_is_smooth), (nautilus_image_set_tile_pixbuf), (nautilus_image_get_tile_pixbuf), (nautilus_image_set_pixbuf), (nautilus_image_set_pixbuf_from_file_name), (nautilus_image_get_pixbuf), (nautilus_image_set_pixbuf_opacity), (nautilus_image_get_pixbuf_opacity), (nautilus_image_set_tile_opacity), (nautilus_image_get_tile_opacity), (nautilus_image_set_tile_width), (nautilus_image_get_tile_width), (nautilus_image_set_tile_height), (nautilus_image_get_tile_height), (nautilus_image_set_tile_mode_vertical), (nautilus_image_get_tile_mode_vertical), (nautilus_image_set_tile_mode_horizontal), (nautilus_image_get_tile_mode_horizontal), (nautilus_image_set_tile_pixbuf_from_file_name), (nautilus_image_set_background_mode), (nautilus_image_get_background_mode), (nautilus_image_set_solid_background_color), (nautilus_image_get_solid_background_color), (nautilus_image_new_solid): Fixed many problems. Properly handles rendering on top of arbitrary Gtk backgrounds. Does not allocate a buffer the size of the widget anymore. All rendering occurs on exposure events. Honrts the the GtkMisc superclass attrbutes for alignment and padding. The widget is a lot simpler now. * libnautilus-extensions/nautilus-label-with-background.h: * libnautilus-extensions/nautilus-label-with-background.c: (find_background_ancestor), (draw_background_callback), (nautilus_label_new_with_background): Create a NautilusLabel that uses NautilusBackground to draw the background. We put this in a separate file to avoid the ugly dependency chain in NautilusBackground so that NautilusLabel can be used by standalone components in the future. * libnautilus-extensions/nautilus-label.h: * libnautilus-extensions/nautilus-label.c: (nautilus_label_initialize_class), (nautilus_label_initialize), (nautilus_label_destroy), (nautilus_label_set_arg), (nautilus_label_get_arg), (nautilus_label_size_request), (label_paint_pixbuf_callback), (label_composite_pixbuf_callback), (nautilus_label_expose_event), (nautilus_label_set_is_smooth_signal), (label_draw_text_to_pixbuf), (label_get_default_line_wrap_width), (label_get_text_frame), (label_get_text_bounds), (label_get_tile_frame), (label_peek_text), (label_get_empty_line_height), (label_get_total_text_and_line_offset_height), (label_line_geometries_clear), (label_line_geometries_recompute), (nautilus_label_new), (nautilus_label_set_smooth_font), (nautilus_label_get_smooth_font), (nautilus_label_set_smooth_font_size), (nautilus_label_get_smooth_font_size), (nautilus_label_set_is_smooth), (nautilus_label_get_is_smooth), (nautilus_label_set_tile_pixbuf), (nautilus_label_get_tile_pixbuf), (nautilus_label_set_text_opacity), (nautilus_label_get_text_opacity), (nautilus_label_set_tile_opacity), (nautilus_label_get_tile_opacity), (nautilus_label_set_tile_width), (nautilus_label_get_tile_width), (nautilus_label_set_tile_height), (nautilus_label_get_tile_height), (nautilus_label_set_tile_mode_vertical), (nautilus_label_get_tile_mode_vertical), (nautilus_label_set_tile_mode_horizontal), (nautilus_label_get_tile_mode_horizontal), (nautilus_label_set_tile_pixbuf_from_file_name), (nautilus_label_set_background_mode), (nautilus_label_get_background_mode), (nautilus_label_set_solid_background_color), (nautilus_label_get_solid_background_color), (nautilus_label_set_smooth_line_wrap_width), (nautilus_label_get_smooth_line_wrap_width), (nautilus_label_set_text_color), (nautilus_label_get_text_color), (nautilus_label_set_smooth_drop_shadow_offset), (nautilus_label_get_smooth_drop_shadow_offset), (nautilus_label_set_smooth_drop_shadow_color), (nautilus_label_get_smooth_drop_shadow_color), (nautilus_label_set_justify), (nautilus_label_get_text_justify), (nautilus_label_set_text), (nautilus_label_get_text), (nautilus_label_set_wrap), (nautilus_label_get_wrap), (nautilus_label_new_solid), (nautilus_label_make_bold), (nautilus_label_make_larger), (nautilus_label_make_smaller): Fixed many problems. Properly handles rendering on top of arbitrary Gtk backgrounds. Does not allocate a buffer the size of the widget anymore. All rendering occurs on exposure events. Honors the the GtkMisc superclass attrbutes for alignment and padding. NautilusLabel is now subclassed from GtkLabel itself. That means that the is_smooth attribute can be toggled to make both religions happy. Support for making the label larger, smaller and/or bold based on the current font. Renamed a lot of methods to make it obvious that they apply only to the smooth case. Also made the api match GtkLabel more closely. So many functions got renamed. * libnautilus-extensions/nautilus-radio-button-group.c: (nautilus_radio_button_group_set_entry_pixbuf): Tiny update for changes in the NautilusImage constructor. * libnautilus-extensions/nautilus-scalable-font-private.h: New file. Some private font stuff lives here. I need this changed for a checkin that I will make later regarding improvement of performance in the icon container smooth fonts. * libnautilus-extensions/nautilus-scalable-font.h: * libnautilus-extensions/nautilus-scalable-font.c: (nautilus_scalable_font_initialize), (font_entry_new), (font_entry_free), (nautilus_scalable_font_new), (nautilus_scalable_font_make_bold), (nautilus_scalable_font_draw_text), (nautilus_scalable_font_draw_text_lines_with_dimensions), (nautilus_scalable_font_draw_text_lines), (nautilus_scalable_font_get_default_font), (nautilus_scalable_font_get_rsvg_handle), (nautilus_scalable_font_get_rsvg_context), (nautilus_text_layout_paint): Change the constructor to return the type itself instead of GtkObject. Some minor style tweaks. Keep track of the font entry that was used to allocate the font. New private functions for accessing the rsvg context and font handles. Remove an unsed function. * libnautilus-extensions/nautilus-smooth-widget.h: * libnautilus-extensions/nautilus-smooth-widget.c: (widget_is_smooth), (smooth_widget_set_is_smooth), (preferences_get_is_smooth), (smooth_widget_destroy), (smooth_graphics_mode_changed_callback), (nautilus_smooth_widget_register), (smooth_widget_get_tile_origin_point), (smooth_widget_get_gtk_background), (smooth_widget_get_background), (smooth_widget_paint_tile_opaque), (smooth_widget_paint_tile_transparent), (smooth_widget_paint_content_opaque), (smooth_widget_paint_content_transparent), (smooth_widget_paint_tile_and_content_transparent), (nautilus_smooth_widget_paint), (nautilus_smooth_widget_get_tile_bounds), (nautilus_smooth_widget_get_preferred_frame): Shared code between NautilusLabel and NautilusImage. ALl the code to support smooth toggable widgets lives here. Also, keep track of smooth widgets and toggle their is_smooth attribute in response to nautilus smooth graphics preferences changes. * libnautilus-extensions/nautilus-tabs.c: (nautilus_tabs_initialize), (draw_tab_label): Tiny update for change in font constructor. Add a FIXME for a hard coded font issue im going to fix later. Opacity macro update. * src/file-manager/fm-properties-window.c: (create_image_widget_for_file): Using the new image widget makes this code a lot simpler. No longer need to check smooth preference. It all happens automatically. * src/file-manager/nautilus-indexing-info.c: (update_progress_display), (show_reindex_request_information), (show_index_progress_bar), (show_indexing_info_dialog): Fix a bunch of hard coded font issues. * src/nautilus-about.c: (draw_aa_string), (nautilus_about_draw_info), (nautilus_about_update_authors): Tiny update for change in font constructor. Opacity macro update. * src/nautilus-first-time-druid.c: (label_new_left_justified), (make_hbox_user_level_radio_button), (set_up_user_level_page), (set_up_service_signup_page), (set_up_update_page), (set_up_proxy_config_page), (set_up_update_feedback_page), (nautilus_first_time_druid_show): Fix a bunch of hard coded font issues. Also fix the rendering problems with image usage inside selectable buttons. * src/nautilus-property-browser.c: (nautilus_property_browser_initialize), (set_emblem_image_from_file), (make_property_tile), (make_properties_from_directories), (add_reset_property), (make_properties_from_xml_node), (nautilus_property_browser_update_contents): Fix hard coded fonts. Update for NautilusImage and NautilusLabel changes. * src/nautilus-search-bar-criterion.c: Remove unused #include. * src/nautilus-shell.c: (display_caveat): Fix hard coded fonts. * src/nautilus-sidebar-tabs.c: (nautilus_sidebar_tabs_load_theme_data), (draw_one_tab_plain), (draw_one_tab_themed): Fix hard coded fonts. Opacity macros update. * src/nautilus-sidebar-title.c: (nautilus_sidebar_title_initialize), (nautilus_sidebar_title_select_text_color), (update_icon), (update_font), (update_title), (update_more_info), (add_emblem), (sidebar_title_create_title_label), (sidebar_title_create_more_info_label), (smooth_graphics_mode_changed_callback): Update for NautilusImage and NautilusLabel changes. Made the widget a lot simpler. We no longer need to keep track of smooth changes in the sidebar title. They are taked care automatically by the widgets. We no longer need to create 2 labels to honor smoothness. NautilusLabel does it all now. Removed a set_background() function that already exists in nautilus-extensions. * src/nautilus-theme-selector.c: (nautilus_theme_selector_initialize), (set_help_label), (exit_remove_mode): Fix hard coded fonts. * test/font-test.sh: Retire. Not needed. * test/.cvsignore: * test/Makefile.am: Add a bunch of tests. * test/test.h: * test/test.c: Put shared test code here. * test/test-nautilus-font-simple.c: * test/test-nautilus-font.c: * test/test-nautilus-image-background.c: * test/test-nautilus-image-scrolled.c: * test/test-nautilus-image-simple.c: * test/test-nautilus-image-tile.c: * test/test-nautilus-image.c: * test/test-nautilus-label-background.c: * test/test-nautilus-label-flavorful.c: * test/test-nautilus-label-scrolled.c: * test/test-nautilus-label-simple.c: * test/test-nautilus-label-wrapped.c: * test/test-nautilus-label.c: * test/test-nautilus-pixbuf-tile.c: * test/test-nautilus-smooth-graphics.c: * test/test-nautilus-wrapped-label.c: Some new tests. Many updates to old label and image tests.
* reviewed by: Pavel Cisler <pavel@eazel.com>Ramiro Estrugo2000-12-221-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | * libnautilus-extensions/nautilus-icon-canvas-item.c: (draw_or_measure_label_text_aa): * libnautilus-extensions/nautilus-icon-factory.c: (embed_text): * libnautilus-extensions/nautilus-label.c: (render_buffer_pixbuf): * libnautilus-extensions/nautilus-scalable-font.c: (nautilus_scalable_font_draw_text), (nautilus_scalable_font_draw_text_lines_with_dimensions), (nautilus_scalable_font_draw_text_lines), (nautilus_text_layout_paint), (nautilus_gdk_pixbuf_new_from_text): * libnautilus-extensions/nautilus-scalable-font.h: * libnautilus-extensions/nautilus-tabs.c: (draw_tab_label): * src/nautilus-about.c: (draw_aa_string): * src/nautilus-sidebar-tabs.c: (draw_one_tab_plain), (draw_one_tab_themed): * test/test-nautilus-font.c: (main): Lost the "inverted" feature of smooth text drawing. It wasnt used anywhere except a test program. It never looked well and the nautilus icon container does something unrelated to select text. Also replace some hard coded 255 opacity values to use the NAUTILUS_OPACITY_NONE define.
* Code formatting changes.Mike Engber2000-12-041-29/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libnautilus-extensions/nautilus-background-canvas-group.c: (nautilus_background_canvas_group_initialize_class), (nautilus_background_canvas_group_update), (nautilus_background_canvas_group_draw), (nautilus_background_canvas_group_render): Code formatting changes. * libnautilus-extensions/nautilus-background.c: (nautilus_background_initialize_class), (nautilus_background_set_combine_mode), (nautilus_background_ensure_image_scaled), (nautilus_background_load_image_callback), (nautilus_background_start_loading_image), (nautilus_background_set_image_uri_helper), (nautilus_background_set_image_uri), (set_image_and_color_image_loading_done_callback), (nautilus_background_set_image_uri_and_color), (nautilus_background_reset): * libnautilus-extensions/nautilus-directory-background.c: (background_changed_callback), (saved_settings_changed_callback), (background_reset_callback): * src/nautilus-sidebar-tabs.c: (draw_one_tab_plain): * src/nautilus-sidebar.c: (receive_dropped_color), (background_settings_changed_callback), (background_reset_callback), (nautilus_sidebar_update_appearance), (background_metadata_changed_callback), (nautilus_sidebar_set_uri): Fixed various issues with dropping colors on the sidebare. Osetensibly, the problem was with dropping white - bug 4880.
* re-organized the code to add the ability to request image paths fromAndy Hertzfeld2000-10-081-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libnautilus-extensions/nautilus-theme.c: (nautilus_theme_get_image_path_from_theme), (nautilus_theme_get_image_path): re-organized the code to add the ability to request image paths from specific themes, as well as the current one. * libnautilus-extensions/nautilus-theme.h: added nautilus_theme_get_image_path_from_theme. * src/nautilus-sidebar-tabs.c: (nautilus_sidebar_tabs_load_theme_data): used the above to implement sidebar tab redirection, so a theme can use the sidebar tabs from another theme, so sidebar tab images don't have to be present in every theme. * libnautilus-extensions/nautilus-icon-factory.c: (nautilus_icon_factory_destroy), (check_local_theme), (set_theme), (get_icon_file_path): implemented icon theme default redirection, so a theme can specify another theme to get its icons from when they're not present locally; this is needed by both Arlo and Susan's themes. * src/nautilus-throbber.c,h: (nautilus_throbber_initialize_class), (nautilus_throbber_button_press_event): made clicking on the throbber take you to a URL specified by the current theme. Did this by adding a location_change signal. This fixes bug 3433. * src/nautilus-window.c: (nautilus_window_constructed): hooked up nautilus-window to the throbber's location_change signal to change the location when the signal is emitted. * icons/default.xml: added default URI for throbber, pointing to www.eazel.com * icons/vector/vector.xml: added sidebar tab redirection to the Arlo theme for testing
* Fix more storage leaks.Darin Adler2000-09-271-19/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * components/tree/nautilus-tree-node.c: (nautilus_tree_node_new): Get rid of extra allocation of node->details that caused a storage leak. * components/tree/nautilus-tree-view.c: (nautilus_tree_view_insert_model_node): Add a g_free. (free_uri_to_node_map_entry), (free_uri_to_hack_node_map_entry), (nautilus_tree_view_destroy): Free the keys of the hash table. (tree_expand_callback), (tree_collapse_callback), (tree_select_row_callback): Added missing g_free. (nautilus_tree_view_item_at): Removed an excess g_strdup. * libnautilus-extensions/nautilus-preference.c: (preference_initialize_if_needed): Destroy the global preference table on exit. (preference_hash_node_free_func): Free the hash key as well as the node value. (preference_register): Use strdup on keys as then are entered into the hash table. (preference_hash_node_lookup_with_registration): Remove the strdup in here since preference_register now handles it. (destroy_global_preference_table): Renamed and simplified the existing unused function. * libnautilus-extensions/nautilus-volume-monitor.c: (nautilus_volume_monitor_destroy), (free_volume): Free the volume itself, not just the fields within it. * src/nautilus-complex-search-bar.c: (nautilus_complex_search_bar_get_location): Added a missing g_free. * src/nautilus-sidebar-tabs.c: (tab_item_destroy_cover), (nautilus_sidebar_tabs_destroy): Free the tab items too, not just the list they are stored in. * src/nautilus-switchable-search-bar.c: (search_bar_preference_changed_callback): Added a missing g_free. * libnautilus-extensions/nautilus-theme.c: (free_default_theme), (nautilus_theme_get_theme_data): Add code to free the default theme on program exit to make leak detection easier. * src/nautilus-main.c: (main): Clean up the memory used by the XML parser on exit to make leak detection easier. * libnautilus/Makefile.am: * libnautilus/nautilus-bonobo-workarounds.c: * libnautilus/nautilus-bonobo-workarounds.h: Added version of bonobo_object_get_epv that shares a single global instance instead of allocating a new one each time it's called. * components/adapter/nautilus-adapter-factory-server.c: (impl_Nautilus_ComponentAdapterFactory__create): * libnautilus-extensions/bonobo-stream-vfs.c: (bonobo_stream_vfs_class_init): * libnautilus-extensions/nautilus-undo-context.c: (impl_Nautilus_Undo_Context__create): * libnautilus-extensions/nautilus-undo-manager.c: (nautilus_undo_manager_initialize_class): * libnautilus/nautilus-undo-transaction.c: (impl_Nautilus_Undo_Transaction__create): * libnautilus/nautilus-view.c: (impl_Nautilus_View__create): * src/nautilus-history-frame.c: (impl_Nautilus_HistoryFrame__create): * src/nautilus-shell.c: (nautilus_shell_get_vepv): * src/nautilus-view-frame-corba.c: (impl_Nautilus_ViewFrame__create): * src/nautilus-zoomable-frame-corba.c: (impl_Nautilus_ZoomableFrame__create): Use the new cover for bonobo_object_get_epv to avoid making lots of copies of it. * src/nautilus-window-menus.c: (get_user_level_image): Formatting tweak. * tools/leak-checker/nautilus-leak-checker.c: Added more "known to allocate and not free on exit" functions.
* Fixed bug bug 3264 (Tree view shows no branches for directories,Darin Adler2000-09-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...HACK... nodes visible), bug 3290 (changing directory or refreshing causes Gdk to assert), bug 2420 (Need to free original key when removing model node), and other assorted problems. * components/tree/nautilus-tree-view.c: (insert_hack_node), (remove_hack_node), (nautilus_tree_view_insert_model_node): Fix problem where the hash table key was neither g_strdup'd on the way in, nor g_free'd on the way out. This caused all the problems with bad nesting in the tree view. * nautilus-installer/src/installer.c: (create_pixmap): * src/file-manager/fm-list-view.c: (install_row_images): * src/nautilus-theme-selector.c: (add_theme): Added more checks for NULL before calling gdk_bitmap_unref. * src/file-manager/fm-directory-view.c: (no_items_showing): Fixed a NautilusDirectory ref. count leak. * libnautilus-extensions/nautilus-font-factory.c: (unref_global_font_factory), (nautilus_get_current_font_factory): Unref the font factory on exit. (nautilus_font_factory_initialize_class), (font_hash_node_free), (free_one_hash_node), (destroy): Added code to actually destroy the font factory. (unref_fixed_font), (nautilus_font_factory_get_fallback_font): Unref the fixed font on exit. * libnautilus-extensions/nautilus-volume-monitor.c: (unref_global_volume_monitor), (nautilus_volume_monitor_get): Unref the volume monitor on exit. * src/nautilus-signaller.c: (unref_global_signaller), (nautilus_signaller_get_current): Unref the signaller on exit. * src/nautilus-component-adapter-factory.c: (nautilus_component_adapter_factory_initialize): Replaced some strange FIXMEs with a simpler one. (nautilus_component_adapter_factory_destroy): Fix a CORBA object reference leak. (nautilus_component_adapter_factory_get): Did a ref/sink. * components/adapter/nautilus-adapter-control-embed-strategy.c: (nautilus_adapter_control_embed_strategy_new): * components/adapter/nautilus-adapter-embeddable-embed-strategy.c: (nautilus_adapter_embeddable_embed_strategy_new): * components/adapter/nautilus-adapter-file-load-strategy.c: (nautilus_adapter_file_load_strategy_new): * components/adapter/nautilus-adapter-progressive-load-strategy.c: (nautilus_adapter_progressive_load_strategy_new): * components/adapter/nautilus-adapter-stream-load-strategy.c: (nautilus_adapter_stream_load_strategy_new): * components/adapter/nautilus-adapter.c: (nautilus_adapter_new): * components/rpmview/nautilus-rpm-verify-window.c: (nautilus_rpm_verify_window_new): * components/services/install/lib/eazel-install-object.c: (eazel_install_new), (eazel_install_new_with_config): * components/services/time/service/trilobite-eazel-time-service.c: (trilobite_eazel_time_service_new): * components/services/trilobite/libtrilobite/trilobite-service-pass wordquery.c: (trilobite_passwordquery_new): * components/services/trilobite/libtrilobite/trilobite-service.c: (trilobite_service_new): * components/tree/nautilus-tree-expansion-state.c: (nautilus_tree_expansion_state_new): * components/tree/nautilus-tree-model.c: (nautilus_tree_model_new): * components/tree/nautilus-tree-node.c: (nautilus_tree_node_new): * cut-n-paste-code/widgets/e-paned/e-hpaned.c: (e_hpaned_new): * cut-n-paste-code/widgets/e-paned/e-vpaned.c: (e_vpaned_new): * libnautilus-extensions/bonobo-stream-vfs.c: (bonobo_stream_create): * libnautilus-extensions/nautilus-any-width-bin.c: (nautilus_any_width_bin_new): * libnautilus-extensions/nautilus-background.c: (nautilus_background_new): * libnautilus-extensions/nautilus-bookmark.c: (nautilus_bookmark_new_with_icon): * libnautilus-extensions/nautilus-caption-table.c: (nautilus_caption_table_new): * libnautilus-extensions/nautilus-caption.c: (nautilus_caption_new): * libnautilus-extensions/nautilus-directory.c: (nautilus_directory_new): * libnautilus-extensions/nautilus-druid-page-eazel.c: (nautilus_druid_page_eazel_new), (nautilus_druid_page_eazel_new_with_vals): * libnautilus-extensions/nautilus-druid.c: (nautilus_druid_new): * libnautilus-extensions/nautilus-entry.c: (nautilus_entry_new): * libnautilus-extensions/nautilus-file-operations-progress.c: (nautilus_file_operations_progress_new): * libnautilus-extensions/nautilus-file.c: (nautilus_file_new_from_name), (nautilus_file_new_from_info): * libnautilus-extensions/nautilus-font-picker.c: (nautilus_font_picker_new): * libnautilus-extensions/nautilus-horizontal-splitter.c: (nautilus_horizontal_splitter_new): * libnautilus-extensions/nautilus-icon-container.c: (nautilus_icon_container_new): * libnautilus-extensions/nautilus-icon-factory.c: (get_icon_factory): * libnautilus-extensions/nautilus-image.c: (nautilus_image_new): * libnautilus-extensions/nautilus-keep-last-vertical-box.c: (nautilus_keep_last_vertical_box_new): * libnautilus-extensions/nautilus-label.c: (nautilus_label_new): * libnautilus-extensions/nautilus-list-column-title.c: (nautilus_list_column_title_new): * libnautilus-extensions/nautilus-list.c: (nautilus_list_new_with_titles): * libnautilus-extensions/nautilus-password-dialog.c: (nautilus_password_dialog_new): * libnautilus-extensions/nautilus-preference.c: (nautilus_preference_new_from_type): * libnautilus-extensions/nautilus-preferences-box.c: (nautilus_preferences_box_new): * libnautilus-extensions/nautilus-preferences-dialog.c: (nautilus_preferences_dialog_new): * libnautilus-extensions/nautilus-preferences-group.c: (nautilus_preferences_group_new): * libnautilus-extensions/nautilus-preferences-item.c: (nautilus_preferences_item_new): * libnautilus-extensions/nautilus-preferences-pane.c: (nautilus_preferences_pane_new): * libnautilus-extensions/nautilus-radio-button-group.c: (nautilus_radio_button_group_new): * libnautilus-extensions/nautilus-scalable-font.c: (nautilus_scalable_font_new): * libnautilus-extensions/nautilus-string-picker.c: (nautilus_string_picker_new): * libnautilus-extensions/nautilus-text-caption.c: (nautilus_text_caption_new): * libnautilus-extensions/nautilus-undo-context.c: (nautilus_undo_context_new): * libnautilus-extensions/nautilus-undo-manager.c: (nautilus_undo_manager_new): * libnautilus-extensions/nautilus-user-level-manager.c: (user_level_manager_new): * libnautilus/nautilus-undo-transaction.c: (nautilus_undo_transaction_new): * libnautilus/nautilus-view.c: (nautilus_view_new_from_bonobo_control): * src/file-manager/nautilus-trash-monitor.c: (nautilus_trash_monitor_get): * src/nautilus-desktop-window.c: (nautilus_desktop_window_new): * src/nautilus-property-browser.c: (nautilus_property_browser_new): * src/nautilus-shell.c: (nautilus_shell_new): * src/nautilus-sidebar-tabs.c: (nautilus_sidebar_tabs_new): * src/nautilus-sidebar-title.c: (nautilus_sidebar_title_new): * src/nautilus-sidebar.c: (nautilus_sidebar_create_context_menu), (nautilus_sidebar_new): * src/nautilus-theme-selector.c: (nautilus_theme_selector_new): * src/nautilus-throbber.c: (nautilus_throbber_new): * src/nautilus-view-frame.c: (nautilus_view_frame_new): * src/nautilus-zoom-control.c: (nautilus_zoom_control_new): * src/nautilus-about.c: (nautilus_about_new): * src/nautilus-application.c: (nautilus_application_new), (nautilus_application_create_window): * src/nautilus-bookmark-list.c: (nautilus_bookmark_list_new): After Tim Janik explained that gtk_type_new is a low-level call to be avoided, changed most uses of gtk_type_new to gtk_object_new or gtk_widget_new. Also, after Owen and Havoc explained that you can't just ignore the floating bit, added ref/sink calls to the functions used to create objects where we don't use the floating scheme. * src/nautilus-zoom-control.c: (nautilus_zoom_control_button_press_event): Take advantage of the fact that the new menu is floating and don't bother with ref'ing. * libnautilus-extensions/nautilus-ctree.c: (nautilus_ctree_new_with_titles): Added a cast. * components/adapter/main.c: (adapter_factory_make_object): * components/hardware/main.c: (hardware_view_make_object): * components/services/install/lib/eazel-install-corba-callback.c: (eazel_install_callback_get_type), (eazel_install_callback_new): * libnautilus-extensions/nautilus-theme.c: (nautilus_theme_get_theme), (nautilus_theme_set_theme), (nautilus_theme_get_theme_data): Whitespace tweaks.
* fixed bug 2983, sidebar tabs don't handle missing images well, by checkingAndy Hertzfeld2000-09-131-0/+5
| | | | | fixed bug 2983, sidebar tabs don't handle missing images well, by checking for a null pixbuf in draw_tab_piece_aa.
* fixed bug 2910, sidebar tabs crash in arlo theme when sidebar is closed,Andy Hertzfeld2000-09-091-1/+5
| | | | | fixed bug 2910, sidebar tabs crash in arlo theme when sidebar is closed, by making them not draw if the sidebar is closed
* Add support for drawint inverted text. Also cleanup the rendering functionRamiro Estrugo2000-09-071-4/+4
| | | | | | | | | | | | | | | | | | | | | | * libnautilus-extensions/nautilus-scalable-font.c: (nautilus_scalable_font_measure_text), (invert_glyph), (nautilus_scalable_font_draw_text), (nautilus_scalable_font_draw_text_lines_with_dimensions), (nautilus_scalable_font_draw_text_lines), (nautilus_text_layout_paint): * libnautilus-extensions/nautilus-scalable-font.h: Add support for drawint inverted text. Also cleanup the rendering function a bit. * libnautilus-extensions/nautilus-icon-factory.c: (embed_text): * libnautilus-extensions/nautilus-label.c: (render_buffer_pixbuf): * src/nautilus-about.c: (draw_aa_string): * src/nautilus-sidebar-tabs.c: (draw_one_tab_plain), (draw_one_tab_themed): Update all these for the new inverted scalable font api. * test/test-nautilus-font.c: (main): Add a inverted text test.
* fixed bug 2505, scale in sidebar tabs text drawing shouldn't be hardwired;Andy Hertzfeld2000-09-071-1/+0
| | | | | | fixed bug 2505, scale in sidebar tabs text drawing shouldn't be hardwired; actually, this was mooted when we changed it to use the real aa text machinery, so I'm just removing the fixme.
* fixed bug 2504, active tabs don't prelight, by adding, loading and drawingAndy Hertzfeld2000-09-061-21/+33
| | | | | | fixed bug 2504, active tabs don't prelight, by adding, loading and drawing the appropriate tab pieces. Also, moved the text down one pixel at Arlo's request.
* Fix all the warnings -Wuninitialized found. Quite a number of them werePavel Cisler2000-09-051-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-05 Pavel Cisler <pavel@eazel.com> * components/help/converters/gnome-db2html2/gdb3html.c: (xml_parse_document): * components/help/hyperbola-nav-index.c: (end_element): * components/services/summary/nautilus-view/nautilus-summary-view.c : (logout_button_cb): * components/services/time/service/trilobite-eazel-time-service.c: (trilobite_eazel_time_service_do_http_request): * components/tree/nautilus-tree-view.c: * configure.in: * libnautilus-extensions/bonobo-stream-vfs.c: (bonobo_stream_vfs_open): * libnautilus-extensions/nautilus-background.c: (nautilus_background_draw), (nautilus_background_draw_aa): * libnautilus-extensions/nautilus-customization-data.c: (nautilus_customization_data_new): * libnautilus-extensions/nautilus-directory-background.c: (nautilus_directory_background_write_desktop_settings): * libnautilus-extensions/nautilus-file-operations.c: (nautilus_file_operations_move_to_trash), (do_empty_trash): * libnautilus-extensions/nautilus-file.c: (nautilus_file_dump): * libnautilus-extensions/nautilus-icon-canvas-item.c: (draw_or_measure_label_text), (emblem_layout_next): * libnautilus-extensions/nautilus-icon-factory.c: (get_image_from_cache): * libnautilus-extensions/nautilus-icon-text-item.c: (iti_paint_text): * libnautilus-extensions/nautilus-list.c: (draw_cell), (draw_row): * libnautilus-extensions/nautilus-mime-actions.c: (nautilus_mime_add_application_to_short_list_for_uri): * libnautilus-extensions/nautilus-program-chooser.c: (program_file_pair_get_short_status_text), (program_file_pair_get_long_status_text): * libnautilus-extensions/nautilus-program-choosing.c: (nautilus_choose_component_for_file), (nautilus_choose_application_for_file): * libnautilus-extensions/nautilus-scalable-font.c: (nautilus_scalable_font_draw_text_lines_with_dimensions): * libnautilus-extensions/nautilus-theme.c: (nautilus_theme_make_selector): * librsvg/rsvg-ft.c: (rsvg_ft_get_glyph): * librsvg/test-ft-gtk.c: (set_text): * librsvg/test-ft.c: (save_pixbuf_to_file_internal), (save_pixbuf_to_file): * librsvg/test-rsvg.c: (save_pixbuf_to_file_internal), (save_pixbuf_to_file): * src/file-manager/fm-directory-view.c: (display_pending_files), (compute_menu_item_info): * src/file-manager/fm-icon-view.c: (compute_menu_item_info): * src/file-manager/fm-list-view.c: (get_column_from_attribute): * src/nautilus-application.c: (nautilus_application_startup): * src/nautilus-search-bar-criterion.c: (nautilus_search_bar_criterion_next_new), (nautilus_search_bar_criterion_get_location), (get_date_modified_location_for): * src/nautilus-sidebar-tabs.c: (draw_one_tab_themed), (draw_or_layout_all_tabs): * src/nautilus-toolbar.c: (nautilus_toolbar_size_allocate): * src/nautilus-window-manage-views.c: (nautilus_window_get_current_location_title): * test/test-nautilus-label.c: (justification_changed_callback): Fix all the warnings -Wuninitialized found. Quite a number of them were actual bugs. Turn on -Wuninitialized in configure.in now that ORBit generates warning-free code.
* More work on task 1588.Ramiro Estrugo2000-09-051-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libnautilus-extensions/nautilus-scalable-font.c: (nautilus_scalable_font_draw_text), (nautilus_scalable_font_measure_text_lines), (nautilus_scalable_font_draw_text_lines): * libnautilus-extensions/nautilus-scalable-font.h: Change text rendering api to take in x,y coordinates along with a clip_area. Remove some #if 0 code i left in before. Also change the text lines rendering api to optionally do its own line measuring - for the convenience of the caller. * libnautilus-extensions/nautilus-label.c: (render_buffer_pixbuf): Update for text rendering changes. Fix the justification bug. Fix the multiple newlines bug. * src/nautilus-about.c: (draw_aa_string): Update for text rendering changes. * src/nautilus-sidebar-tabs.c: (draw_one_tab_plain), (draw_one_tab_themed): Update for text rendering changes. * test/test-nautilus-font.c: (main): Update for text rendering changes. Also add multiple new lines test and clipping test. * test/test-nautilus-label.c: (main): Update for text rendering changes.
* Work on task 1588.Ramiro Estrugo2000-09-041-10/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libnautilus-extensions/nautilus-scalable-font.c: (nautilus_scalable_font_measure_text), (nautilus_scalable_font_draw_text), (nautilus_scalable_font_measure_text_lines), (nautilus_scalable_font_draw_text_lines), (nautilus_scalable_font_measure_text_lines), (nautilus_scalable_font_draw_text_lines), (nautilus_scalable_font_largest_fitting_font_size): * libnautilus-extensions/nautilus-scalable-font.h: Change api to accept a string with embedded new lines instead of an array of strings. This simplifies many things. * libnautilus-extensions/nautilus-label.c: (nautilus_label_initialize), (nautilus_label_destroy), (render_buffer_pixbuf), (label_recompute_line_geometries): Update for NautilusScalalbleFont api changes. No longer need to tokenize the text string. we can feed the string to the rendering api as is. * librsvg/rsvg-ft.c: (rsvg_ft_render_string): * librsvg/rsvg-ft.h: Change the string to glyph rendering api to accept the string length rather than computing it. This makes it possible to feed it arbitrary lengths. * librsvg/rsvg.c: (rsvg_text_handler_characters): * librsvg/test-ft-gtk.c: (draw_line): * librsvg/test-ft.c: (main): Update for api changes. * src/nautilus-about.c: (draw_aa_string): * src/nautilus-sidebar-tabs.c: (draw_one_tab_plain), (draw_one_tab_themed), (get_tab_width): * test/test-nautilus-font.c: (main): Update test to use text lines drawing api. * test/test-nautilus-label.c: (alpha_background_color_value_changed_callback), (main): Update test for 2 new lines in a row.
* made the arlo sidebar tabs use the official anti-aliased text machinery,Andy Hertzfeld2000-09-041-38/+95
| | | | | | made the arlo sidebar tabs use the official anti-aliased text machinery, instead of the scaling hack it was using. Also, made the non-themed tabs use anti-aliased text.
* Added more bug numbers to FIXMEs. 77 to go. I am exhaustedJohn Sullivan2000-08-291-2/+2
| | | | | | | | | | | | | | | | | | | | | from creating bug reports, so the remaining ones will have to wait until at least tomorrow. * src/nautilus-complex-search-bar.c: (nautilus_complex_search_bar_set_location), (fewer_options_callback), (update_options_buttons_state): * src/nautilus-search-bar.c: * src/nautilus-sidebar-tabs.c: (draw_one_tab_themed), (get_tab_width): * src/nautilus-sidebar.c: (receive_dropped_uri_list), (receive_dropped_keyword), (add_command_buttons): * src/nautilus-simple-search-bar.c: (nautilus_search_uri_to_simple_search_criteria), (nautilus_simple_search_criteria_to_search_uri): * src/nautilus-switchable-search-bar.c: (search_bar_preference_changed_callback), (nautilus_switchable_search_bar_set_location), (nautilus_search_uri_is_displayable_by_mode):
* fixed a bug in the themed sidebar tabs where the layout and drawing codeAndy Hertzfeld2000-08-191-9/+10
| | | | | fixed a bug in the themed sidebar tabs where the layout and drawing code paths would get out of whack, resulting in messed up tab layout
* added a separate theme selection window and removed theme selection fromAndy Hertzfeld2000-08-141-18/+0
| | | | | added a separate theme selection window and removed theme selection from the property browser
* fixed "hole" in the arlo sidebar tabs by using composite instead of copyAndy Hertzfeld2000-08-121-10/+32
| | | | | | fixed "hole" in the arlo sidebar tabs by using composite instead of copy area for the edge pieces; also, fixed bug where tabs would stay prelighted.
* added anti-aliased, shadowed labels for themed sidebar tabs, as well asAndy Hertzfeld2000-08-121-121/+269
| | | | | | added anti-aliased, shadowed labels for themed sidebar tabs, as well as off-screen drawing to minimize flashing, fetching the font from the theme and improved layout.
* Made copyright headers consistent in style; also made sure to refer toMaciej Stachowiak2000-08-111-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/nautilus-applicable-views.c, src/nautilus-applicable-views.h, src/nautilus-application.c, src/nautilus-application.h, src/nautilus-bookmark-list.c, src/nautilus-bookmark-list.h, src/nautilus-bookmark-parsing.c, src/nautilus-bookmark-parsing.h, src/nautilus-bookmarks-window.c, src/nautilus-bookmarks-window.h, src/nautilus-complex-search-bar.c, src/nautilus-complex-search-bar.h, src/nautilus-desktop-window.c, src/nautilus-desktop-window.h, src/nautilus-first-time-druid.c, src/nautilus-first-time-druid.h, src/nautilus-history-frame.c, src/nautilus-history-frame.h, src/nautilus-link-set-window.c, src/nautilus-link-set-window.h, src/nautilus-location-bar.c, src/nautilus-location-bar.h, src/nautilus-main.c, src/nautilus-navigation-bar.c, src/nautilus-navigation-bar.h, src/nautilus-property-browser.c, src/nautilus-property-browser.h, src/nautilus-search-bar-private.h, src/nautilus-search-bar.c, src/nautilus-search-bar.h, src/nautilus-self-check-functions.c, src/nautilus-self-check-functions.h, src/nautilus-shell.c, src/nautilus-shell.h, src/nautilus-sidebar-tabs.c, src/nautilus-sidebar-tabs.h, src/nautilus-sidebar-title.c, src/nautilus-sidebar-title.h, src/nautilus-sidebar.c, src/nautilus-sidebar.h, src/nautilus-signaller.c, src/nautilus-signaller.h, src/nautilus-simple-search-bar.c, src/nautilus-simple-search-bar.h, src/nautilus-switchable-navigation-bar.c, src/nautilus-switchable-navigation-bar.h, src/nautilus-switchable-search-bar.c, src/nautilus-switchable-search-bar.h, src/nautilus-toolbar.c, src/nautilus-toolbar.h, src/nautilus-view-frame-bonobo-control.c, src/nautilus-view-frame-bonobo-embeddable.c, src/nautilus-view-frame-corba.c, src/nautilus-view-frame-nautilus-view.c, src/nautilus-view-frame-private.h, src/nautilus-view-frame.c,src/nautilus-view-frame.h, src/nautilus-window-manage-views.c, src/nautilus-window-manage-views.h, src/nautilus-window-menus.c, src/nautilus-window-private.h, src/nautilus-window-toolbars.c, src/nautilus-window.c, src/nautilus-window.h, src/nautilus-zoom-control.c, src/nautilus-zoom-control.h, src/nautilus-zoomable-frame-corba.c: Made copyright headers consistent in style; also made sure to refer to Nautilus as Nautilus, not "this library" or "The GNOME Library".
* fixed bug in measuring tab height for themed tabsAndy Hertzfeld2000-08-091-6/+17
| | | | fixed bug in measuring tab height for themed tabs
* revamped how hit-testing works in the sidebar tabs; there's now a tabAndy Hertzfeld2000-08-091-69/+134
| | | | | revamped how hit-testing works in the sidebar tabs; there's now a tab rectangle stored in the tabItem structure.
* fixed hit-testing and drawing problems with the arlo-themed sidebar tabs,Andy Hertzfeld2000-08-081-34/+61
| | | | | | | fixed hit-testing and drawing problems with the arlo-themed sidebar tabs, made all the tab cases wrap better, and implemented Carbamide's suggestion of having the select box color in the icon view be determined by the theme.
* Fixed an uninitialized variable problem that caused a crash on boot forDarin Adler2000-08-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/nautilus-sidebar-tabs.c: (draw_or_hit_test_all_tabs): Fixed an uninitialized variable problem that caused a crash on boot for Kai Lahmann (thanks for the help, Kai). * libnautilus-extensions/nautilus-file.c: (nautilus_file_compare_for_sort_internal): (nautilus_file_get_string_attribute), Got rid of "real_name" and made "name" just do what "real_name" did before. Renamed "real_directory" to just "directory". * src/file-manager/fm-list-view.h: * src/file-manager/fm-list-view-private.h: * src/file-manager/fm-list-view.c: (fm_list_view_initialize_class), (fm_list_view_initialize), (fm_list_view_destroy), (fm_list_view_compare_rows), (compare_rows_by_name), (match_row_name), (select_matching_name_callback), (fm_list_nautilus_file_at), (row_get_data_binder), (fm_list_get_drag_pixmap), (create_list), (set_up_list), (add_to_list), (get_list), (fm_list_view_begin_loading), (fm_list_view_set_zoom_level), (fm_list_view_sort_items), (get_column_from_attribute), (get_sort_column_from_attribute), (install_row_images), (update_icons), (fm_list_view_embedded_text_policy_changed), (fm_list_view_image_display_policy_changed), (get_number_of_columns), (get_link_column), (get_column_specification), (get_column_titles), (get_column_attribute), (get_column_sort_criterion), (fm_list_view_column_set), (real_get_number_of_columns), (real_get_link_column), (real_get_column_specification): * src/file-manager/fm-search-list-view.h: * src/file-manager/fm-search-list-view.c: (fm_search_list_view_initialize_class), (fm_search_list_view_initialize), (real_get_number_of_columns), (real_get_link_column), (real_get_column_specification): Refactored the list view code so that the search list view doesn't have to replicate anything and can just describe the differences between it and the non-search list view. I was able to get rid of a lot of complexity while doing this. Changed to use the new "name" and "directory" instead of the old "real_name" and "real_directory" at the same time. * libnautilus-extensions/nautilus-file.c: (nautilus_file_new_from_name), (nautilus_file_get), (destroy), (nautilus_file_is_self_owned), (nautilus_file_get_parent_uri_as_string), (get_file_for_parent_directory), (nautilus_file_rename), (nautilus_file_get_gnome_vfs_uri), (nautilus_file_get_uri), (nautilus_file_mark_gone), (nautilus_file_changed): * libnautilus-extensions/nautilus-directory-private.h: * libnautilus-extensions/nautilus-directory-async.c: (select_needy_file): Redid the "self-owning" file handling (for URIs with no parent) so that a URI doesn't show up as one of its own children. * libnautilus-extensions/nautilus-directory.c: (nautilus_directory_is_search_directory): Took out "gnome-trash:" which doesn't belong in here. We are doing trash at the NautilusDirectory level, not the gnome-vfs level. * icons/arlo/backgrounds/.cvsignore: [added] * icons/arlo/backgrounds/Makefile.in: [removed] Added the missing cvsignore file and got rid of the Makefile.in, which should not be in cvs.
* removed hack in sidebar tabs that compensated for uneven piece sizes nowAndy Hertzfeld2000-07-291-2/+1
| | | | | | removed hack in sidebar tabs that compensated for uneven piece sizes now that Arlo has fixed them; also, made the right arrow work properly for location bar auto-completion.
* more work on the Arlo themable sidebar tabsAndy Hertzfeld2000-07-281-14/+35
| | | | more work on the Arlo themable sidebar tabs
* made sidebar tabs use separate images for theming instead of oneAndy Hertzfeld2000-07-281-105/+137
| | | | | | made sidebar tabs use separate images for theming instead of one monolithic image. Added a directory of tab images to the arlo theme.
* reworked the property browser to Arlo's two-level design also, fixedAndy Hertzfeld2000-07-231-2/+11
| | | | | reworked the property browser to Arlo's two-level design also, fixed prelighting for sidebar tabs in the arlo theme.
* removed intrinsic property emblem images from browser; added Susan's newAndy Hertzfeld2000-07-111-11/+13
| | | | | | removed intrinsic property emblem images from browser; added Susan's new user level images, used new sidebar tab edge piece in the arlo theme, and made web search force local search off.
* made the text color in the sidebar label and tabs automatically chooseAndy Hertzfeld2000-07-091-14/+26
| | | | | | | made the text color in the sidebar label and tabs automatically choose light or dark depending on the background and tab color. Also, made the property browser generally stay open and be resizable.
* fixed long-standing bug where the sidebar tabs would display the wrongAndy Hertzfeld2000-07-061-1/+11
| | | | | | | | | fixed long-standing bug where the sidebar tabs would display the wrong view by decrementing the appropriate index when a view is removed; gave sidebar views more room and solved the variable height problem by hiding the sidebar title when a sidebar view is displayed; reduced slop on splitter to avoid accidental toggling; and some new images from Susan.
* more work on the themed sidebar tabs in the arlo themeAndy Hertzfeld2000-07-041-24/+85
| | | | more work on the themed sidebar tabs in the arlo theme
* fixed bug where themed sidebar tabs weren't stacking correctly. Fixed byAndy Hertzfeld2000-07-031-3/+4
| | | | | | fixed bug where themed sidebar tabs weren't stacking correctly. Fixed by using the actual tab height instead of the non-themed constant. Also, added newer tab_pieces image.
* made sidebar tabs themable, and implemented Arlo style tabs, which areAndy Hertzfeld2000-07-031-22/+217
| | | | | made sidebar tabs themable, and implemented Arlo style tabs, which are finished yet.
* Added NAUTILUS_PREFIX so we can locate our installed files correctlyDarin Adler2000-06-091-183/+169
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * acconfig.h: * configure.in: Added NAUTILUS_PREFIX so we can locate our installed files correctly instead of assuming they are in the gnome-libs prefix. * components/help/hyperbola-filefmt.c: (fmt_map_entry): * components/websearch/ntl-web-search.c: (web_search_populate_engines): * libnautilus-extensions/nautilus-file-utilities.c: (nautilus_get_user_main_directory): * libnautilus-extensions/nautilus-link-set.c: (get_link_set_document): * src/file-manager/fm-properties-window.c: (get_property_names): * src/nautilus-property-browser.c: (nautilus_property_browser_drag_data_get), (make_drag_image), (get_xml_path), (make_properties_from_directory): Use NAUTILUS_PREFIX instead of gnome_datadir_file so we get the files from the right directory. Since gnome_datadir_file does a check to see if the file exists, had to add some explicit checks in various places. * components/html/glib-www-callbacks.c: Got rid of some warnings. * components/services/time/command-line/.cvsignore: * components/services/time/nautilus-view/.cvsignore: * components/services/time/service/.cvsignore: Ignore the new time stamp files. * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h: Fixed formatting. * RENAMING: * src/nautilus-sidebar-tabs.c: * src/nautilus-sidebar-tabs.h: * src/nautilus-sidebar-title.c: * src/nautilus-sidebar-title.h: * src/nautilus-sidebar.c: Renamed IndexTabs and IndexTitle to SidebarTabs and SidebarTitle as planned.
* Honor the gtkstyle font instead of hacking in our own. Part of bug 667.Ramiro Estrugo2000-05-311-14/+8
| | | | | | | | | * src/nautilus-sidebar-tabs.c: (nautilus_index_tabs_initialize_class), (draw_one_tab), (draw_or_hit_test_all_tabs): Honor the gtkstyle font instead of hacking in our own. Part of bug 667.
* g_warning with trailing \n == EVIL! - fix.Ramiro Estrugo2000-05-291-3/+3
|
* components/history/ntl-history-view.c ->Maciej Stachowiak2000-05-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Renamed files as follows, as per RENAMING: components/history/ntl-history-view.c -> components/history/nautilus-history-view.c components/history/ntl-history-view.oafinfo -> components/history/nautilus-history-view.oafinfo components/notes/ntl-notes.c -> components/notes/nautilus-notes.c components/notes/ntl-notes.oafinfo -> components/notes/nautilus-notes.oafinfo libnautilus-extensions/gtkscrollframe.c -> libnautilus-extensions/nautilus-scroll-frame.c libnautilus-extensions/gtkscrollframe.h -> libnautilus-extensions/nautilus-scroll-frame.h libnautilus/nautilus-view-frame.c -> libnautilus/nautilus-view.c libnautilus/nautilus-view-frame.h -> libnautilus/nautilus-view.h src/nautilus-index-tabs.c -> src/nautilus-sidebar-tabs.c src/nautilus-index-tabs.h -> src/nautilus-sidebar-tabs.h src/nautilus-index-title.c -> src/nautilus-sidebar-title.c src/nautilus-index-title.h -> src/nautilus-sidebar-title.h src/nautilus-zoomable-frame-svr.c -> src/nautilus-zoomable-frame-corba.c src/ntl-app.c -> src/nautilus-application.c src/ntl-app.h -> src/nautilus-application.h src/ntl-index-panel.c -> src/nautilus-sidebar.c src/ntl-index-panel.h -> src/nautilus-sidebar.h src/ntl-main.c -> src/nautilus-main.c src/ntl-miniicon.c -> libnautilus-extensions/nautilus-mini-icon.c src/ntl-miniicon.h -> libnautilus-extensions/nautilus-mini-icon.h src/ntl-uri-map.c -> src/nautilus-applicable-views.c src/ntl-uri-map.h -> src/nautilus-applicable-views.h src/ntl-view-bonobo-control.c -> src/nautilus-view-frame-bonobo-control.c src/ntl-view-bonobo-subdoc.c -> src/nautilus-view-frame-bonobo-embeddable.c src/ntl-view-frame-svr.c -> src/nautilus-view-frame-corba.c src/ntl-view-nautilus.c -> src/nautilus-view-frame-nautilus-view.c src/ntl-view-private.h -> src/nautilus-view-frame-private.h src/ntl-view.c -> src/nautilus-view-frame.c src/ntl-view.h -> src/nautilus-view-frame.h src/ntl-window-msgs.c -> src/nautilus-window-manage-views.c src/ntl-window-msgs.h -> src/nautilus-window-manage-views.h src/ntl-window-private.h -> src/nautilus-window-private.h src/ntl-window-state.c -> src/nautilus-window-state.c src/ntl-window-state.h -> src/nautilus-window-state.h src/ntl-window.c -> src/nautilus-window.c src/ntl-window.h -> src/nautilus-window.h * components/history/Makefile.am, components/notes/Makefile.am, libnautilus-extensions/Makefile.am, libnautilus/Makefile.am, po/POTFILES.in, src/Makefile.am, components/hardware/nautilus-hardware-view.h, components/loser/content/nautilus-content-loser.h, components/loser/sidebar/nautilus-sidebar-loser.h, components/mozilla/nautilus-mozilla-content-view.h, components/music/nautilus-music-view.h, components/rpmview/nautilus-rpm-view.h, components/sample/nautilus-sample-content-view.h, components/services/startup/nautilus-view/nautilus-service-startup-view.h, libnautilus/libnautilus.h, src/nautilus-desktop-window.h, src/nautilus-window-menus.c, src/nautilus-window-toolbars.c, src/file-manager/fm-directory-view.h : Updated for renamings. * RENAMING: removed old renamings
* Some cleanup of index tabs.Ramiro Estrugo2000-05-261-69/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/nautilus-index-tabs.c: (nautilus_index_tabs_initialize), (nautilus_index_tabs_size_request), (draw_one_tab), (draw_or_hit_test_all_tabs), (tab_item_find_by_name), (nautilus_index_tabs_add_view), (nautilus_index_tabs_get_title_from_index), (nautilus_index_tabs_remove_view), (nautilus_index_tabs_prelight_tab), (nautilus_index_tabs_select_tab), (nautilus_index_tabs_set_color), (nautilus_index_tabs_receive_dropped_color), (nautilus_index_tabs_set_title), (nautilus_index_tabs_set_title_mode), (nautilus_index_tabs_set_visible): Some cleanup of index tabs. Changed find_tab() to tab_item_find_by_name() which returns the actual tab item instead of a list node. Changed the GList append and remove operations to be more sane and actually work in the latter case. Print warnings on attempts to operate on non-existing tab items as these indicate programming errors upstream. Also add bulletproofing g_return_* macros.
* made index tabs pre-lighten instead of darken. Also, made it chooseAndy Hertzfeld2000-05-111-15/+43
| | | | | | made index tabs pre-lighten instead of darken. Also, made it choose appropriate text color when the tab color changes. Also, fixed build for trilobite.
* More FIXME-to-bug work.John Sullivan2000-04-261-2/+6
| | | | | | | | | | | | | | | * src/nautilus-index-title.c, * libnautilus-extensions/nautilus-gdk-extensions.h, * libnautilus-extensions/nautilus-gdk-extensions.c: (select_font): Moved this function to gdk_extensions and renamed it nautilus_get_largest_fitting_font. * src/nautilus-index-tabs.c, * src/nautilus-index-title.c, * src/file-manager/fm-list-view.c, * src/file-manager/fm-properties-window.c: Wrote bug reports for all (other) FIXMEs in these files. Down to 81 in Nautilus with no bug report.
* fixed bug 362: tab color is settable but not saved, and fixed bug 519:Andy Hertzfeld2000-04-251-0/+13
| | | | | fixed bug 362: tab color is settable but not saved, and fixed bug 519: dead space in sidebar
* Split libnautilus into two pieces.Ramiro Estrugo2000-04-141-1/+1
| | | | | | | | | | | | libnautilus now only contains the view interfaces needed by nautilus components. These are the interfaces defined in nautilus-view-component.idl. libnautilus-extensions containes the remainder of the stuff. Also used the cvs repository munging opportunity to do some of the ntl-* renaming outlined in the RENAIMING file.
* fixed bug #312, index tabs not resizing properly, by overriding sizeAndy Hertzfeld2000-03-291-0/+20
| | | | | fixed bug #312, index tabs not resizing properly, by overriding size allocate and adjusting the height accordingly
* Preparing for support for background images.Darin Adler2000-03-291-64/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* fixed bug where title tab was initially prelitAndy Hertzfeld2000-02-271-0/+1
| | | | fixed bug where title tab was initially prelit