summaryrefslogtreecommitdiff
path: root/src/nautilus-zoom-control.c
Commit message (Collapse)AuthorAgeFilesLines
* Make accessible_parent_class variables static. Patch fromDave Camp2002-09-091-1/+1
| | | | | | | | 2002-09-09 Dave Camp <dave@ximian.com> * libnautilus-private/nautilus-icon-container.c: * src/nautilus-zoom-control.c: Make accessible_parent_class variables static. Patch from padraig.obriain@sun.com.
* add pre-condition.Michael Meeks2002-07-081-0/+2
| | | | | | | | | | | | 2002-07-08 Michael Meeks <michael@ximian.com> * src/nautilus-zoom-control.c (nautilus_zoom_control_set_parameters): add pre-condition. * src/nautilus-location-bar.c (editable_event_after_callback): if shift or control are down, don't pop to the end of the field to help auto-completers.
* put back the old nautilus values, keep the new values inMichael Meeks2002-05-161-1/+1
| | | | | | | | | | | | | | | | | | | 2002-05-16 Michael Meeks <michael@ximian.com> * icons/tahoe/tahoe.xml: * icons/gnome/gnome.xml: * icons/sierra/sierra.xml: * icons/crux_teal/crux_teal.xml: * icons/crux_eggplant/crux_eggplant.xml: * icons/default/default.xml: put back the old nautilus values, keep the new values in number_v_2_offset. * src/nautilus-zoom-control.c (draw_number): ask for number_v_2_offset so we can keep theme compatibility and get offsets right. Mostly we want 0 for the offset anyway, so this automagically gets most things right.
* Initialize current_value.Dave Camp2002-04-271-1/+2
| | | | | | | 2002-04-27 Dave Camp <dave@ximian.com> * src/nautilus-zoom-control.c (nearest_preferred): Initialize current_value.
* Replace doubles in the zoom interfaces with floats to match the bonoboDave Camp2002-04-261-17/+364
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-04-24 Dave Camp <dave@ximian.com> * src/nautilus-view-frame.c: (nautilus_view_frame_set_zoom_level): * src/nautilus-view-frame.h: * src/nautilus-window-manage-views.c: (zoom_parameters_changed_callback): * src/nautilus-window-private.h: * src/nautilus-window.c: (nautilus_window_zoom_to_level): Replace doubles in the zoom interfaces with floats to match the bonobo zoomable interface. * src/nautilus-zoom-control.c: (nautilus_zoom_control_expose): Draw the focus rectangle if the zoom control is focused. (nautilus_zoom_control_button_press_event): Grab focus. (zoom_menu_callback), (create_zoom_menu_item), (nautilus_zoom_control_change_value), (nautilus_zoom_control_set_zoom_level), (nautilus_zoom_control_set_parameters): Replace double with float. (nautilus_zoom_control_class_init): Initialize keybindings. (nautilus_zoom_control_get_accessible), (nautilus_zoom_control_accessible_do_action), (nautilus_zoom_control_accessible_get_n_actions), (nautilus_zoom_control_accessible_action_get_description), (nautilus_zoom_control_accessible_action_get_name), (nautilus_zoom_control_accessible_action_interface_init), (nautilus_zoom_control_accessible_get_current_value), (nautilus_zoom_control_accessible_get_maximum_value), (nautilus_zoom_control_accessible_get_minimum_value), (nearest_preferred), (nautilus_zoom_control_accessible_set_current_value), (nautilus_zoom_control_accessible_value_interface_init), (nautilus_zoom_control_accessible_get_name), (nautilus_zoom_control_accessible_get_description), (nautilus_zoom_control_accessible_class_init), (nautilus_zoom_control_accessible_get_type): Implement the zoom accessible. * src/nautilus-zoom-control.h: Added the change_value signal.
* Don't do anything with double-click or triple-click events.Anders Carlsson2002-04-211-0/+4
| | | | | | | | 2002-04-21 Anders Carlsson <andersca@gnu.org> * src/nautilus-zoom-control.c (nautilus_zoom_control_button_press_event): Don't do anything with double-click or triple-click events.
* revert my crack smoking fiddling with offsets changes - it seemsMichael Meeks2002-03-211-2/+2
| | | | | | | | 2002-03-20 Michael Meeks <michael@ximian.com> * src/nautilus-zoom-control.c (draw_number): revert my crack smoking fiddling with offsets changes - it seems ScaleableGorilla needs to change.
* use the y_offset to center the number in the allocation, while wasMichael Meeks2002-03-191-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | 2002-03-19 Michael Meeks <michael@ximian.com> * src/nautilus-zoom-control.c (draw_number): use the y_offset to center the number in the allocation, while was possible to 'fix' this centering by other means, it's not going to handle font size or other changes that change the pixel height of this toolbar. * libnautilus-private/nautilus.schemas: add the defaults in here to test. * components/music/nautilus-music-view.c (nautilus_music_view_init): prune old font bits. (set_up_tree_view): handle the font / size using Pango & the cell renderers. * components/news/nautilus-news.c (empty_message_size_allocate): remove, no longer neccessary GtkLabel will do the wrapping for us. (make_news_view): upd.
* Tweaked the zoom control specifications to match the new nicer rules.Darin Adler2002-03-071-148/+110
| | | | | | | | | | | | | | * icons/crux_eggplant/crux_eggplant.xml: * icons/crux_teal/crux_teal.xml: * icons/default/default.xml: * icons/gnome/gnome.xml: * icons/sierra/sierra.xml: * icons/tahoe/tahoe.xml: Tweaked the zoom control specifications to match the new nicer rules. * src/nautilus-zoom-control.c: (draw_number): Removed a lot of strangeness and fudge factors from this function.
* Because lots of recent bugs were due to "signal handler called afterDarin Adler2002-03-071-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Tons of files: Because lots of recent bugs were due to "signal handler called after object gone" problems, switched many calls of g_signal_connect and g_signal_connect_swapped to use g_signal_connect_object instead. Also did other signal-related cleanup and changed some destroys to finalizes. * libnautilus/nautilus-view-standard-main.h: We no longer need to include nautilus-view.h in here. So include it in the files that use this instead. Did merges from stable branch: 2001-10-25 Darin Adler <darin@bentspoon.com> * libnautilus-private/nautilus-directory.c: (call_files_changed_common), (call_files_changed_free_list), (call_files_changed_unref_free_list), (nautilus_directory_notify_files_changed): Move call to nautilus_directory_add_file_to_work_queue into a better bottleneck; now it catches all the notify cases, not just changed. Also tell it to re-get top-left text and link info too when we get a changed notice. * src/file-manager/fm-directory-view.c: (queue_pending_files): Don't use the timeout (and the hysteresis) when queuing files once the initial directory load is complete. Doing this was causing delays processing changes that came in later, which we don't want. * src/nautilus-sidebar-title.c: (item_count_ready), (monitor_add), (update_all), (nautilus_sidebar_title_set_file): Monitor the directory count once we get it the first time. This makes sure that changes in the directory count get reflected in the sidebar without creating a race with the main view to see who calculates it first. 2001-10-25 Alex Larsson <alexl@redhat.com> * libnautilus-private/nautilus-directory.c (nautilus_directory_notify_files_changed): Call nautilus_directory_add_file_to_work_queue() when file_info is invalidated. Otherwise it will not be read again.
* require gnome-desktop libraryjacob berkman2002-02-191-18/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-02-19 jacob berkman <jacob@ximian.com> * configure.in: require gnome-desktop library * libnautilus-private/nautilus-icon-dnd.[ch]: (nautilus_icon_dnd_uri_list_extract_uris), (nautilus_icon_dnd_uri_list_free_strings): paste old gnome-mime code here as we still need it * libnautilus-private/nautilus-link-desktop-file.[ch]: (nautilus_link_desktop_file_local_create_from_gnome_entry): * libnautilus-private/nautilus-link-historical.[ch]: (nautilus_link_historical_local_create_from_gnome_entry): * libnautilus-private/nautilus-link.[ch]: (nautilus_link_local_create_from_gnome_entry): * src/file-manager/fm-icon-view.c: (icon_view_handle_uri_list): port to gnome-desktop and re-enable * src/nautilus-location-bar.c: (drag_data_received_callback): use new uri list functions * src/nautilus-zoom-control.c: (draw_number), (nautilus_zoom_control_unload_images), (nautilus_zoom_control_load_images): port to PangoLayout and re-enable text fallback
* add -DFOO_DISABLE_DEPRECATED to disable glib, gtk, and gnome deprecatedjacob berkman2002-02-141-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-02-14 jacob berkman <jacob@ximian.com> * src/Makefile.am: * src/file-manager/Makefile.am: add -DFOO_DISABLE_DEPRECATED to disable glib, gtk, and gnome deprecated calls * src/file-manager/fm-desktop-icon-view.c: * src/file-manager/fm-directory-view.c: * src/file-manager/fm-icon-view.c: * src/file-manager/fm-properties-window.c: * src/file-manager/fm-search-list-view.c: * src/nautilus-about.c: * src/nautilus-application.c: * src/nautilus-bookmark-list.c: * src/nautilus-bookmarks-window.c: * src/nautilus-complex-search-bar.c: * src/nautilus-location-bar.c: * src/nautilus-main.c: * src/nautilus-navigation-bar.c: * src/nautilus-property-browser.c: * src/nautilus-search-bar-criterion.c: * src/nautilus-shell.c: * src/nautilus-sidebar-tabs.c: * src/nautilus-sidebar-title.c: * src/nautilus-sidebar.c: * src/nautilus-simple-search-bar.c: * src/nautilus-switchable-navigation-bar.c: * src/nautilus-switchable-search-bar.c: * src/nautilus-theme-selector.c: * src/nautilus-view-frame.c: * src/nautilus-window-manage-views.c: * src/nautilus-window-menus.c: * src/nautilus-window-toolbars.c: * src/nautilus-window.c: * src/nautilus-zoom-control.c: port to non-deprecated calls. This was mostly GnomeDialog -> GtkDialog and gtk_signal -> g_signal
* Remove. Remove nautilus-help.desktop since Nautilus isn't the help browserDarin Adler2002-01-081-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * .cvsignore: * Makefile.am: * nautilus-help.desktop.in: Remove. Remove nautilus-help.desktop since Nautilus isn't the help browser any more. * components/adapter/nautilus-adapter-load-strategy.c: (nautilus_adapter_load_strategy_class_init): * components/news/nautilus-news.c: (set_up_main_widgets): * libnautilus-private/nautilus-bookmark.c: (nautilus_bookmark_class_init): * libnautilus-private/nautilus-volume-monitor.c: (nautilus_volume_monitor_class_init): * src/file-manager/fm-desktop-icon-view.c: (fm_desktop_icon_view_destroy), (fm_desktop_icon_view_handle_middle_click), (delayed_init), (fm_desktop_icon_view_init), (desktop_icons_compare_callback): * src/nautilus-sidebar.c: (nautilus_sidebar_finalize), (nautilus_sidebar_update_buttons), (nautilus_sidebar_set_uri): Use more g_signal, less gtk_signal stuff. * components/hardware/nautilus-hardware-view.c: (setup_form_title), (setup_overview_form), (setup_CPU_form), (setup_RAM_form), (setup_IDE_form): * components/news/nautilus-news.c: (set_up_main_widgets): * src/file-manager/nautilus-indexing-info.c: (update_progress_display), (last_index_time_dialog_new), (index_progress_dialog_new): * src/nautilus-property-browser.c: (nautilus_property_browser_init), (element_clicked_callback), (labeled_image_new), (make_properties_from_directories), (add_reset_property), (make_properties_from_xml_node): * src/nautilus-sidebar-title.c: (nautilus_sidebar_title_init), (nautilus_sidebar_title_select_text_color), (update_title_font), (update_title), (update_more_info), (sidebar_title_create_title_label), (sidebar_title_create_more_info_label): Port more code from EelLabel to GtkLabel. Also change all code that was using things like "make_larger" to use "set_scale" now. * components/music/nautilus-music-view.c: (xpm_label_box), (xpm_dual_label_box), (nautilus_music_view_set_album_image): * libnautilus-private/nautilus-bookmark.c: (create_image_widget_for_bookmark), (nautilus_bookmark_menu_item_new): * src/nautilus-complex-search-bar.c: (load_find_them_pixmap_widget): Port more code from GtkPixmap to GtkImage. * components/notes/nautilus-notes.c: * components/throbber/nautilus-throbber.c: * src/file-manager/fm-properties-window.c: * src/nautilus-zoom-control.c: Remove extra includes. * libnautilus-private/nautilus-icon-factory.c: * libnautilus-private/nautilus-icon-factory.h: Remove nautilus_icon_factory_get_pixmap_and_mask_for_file. * src/nautilus-about.c: (draw_aa_string), (draw_author_list), (nautilus_about_draw_info): Port to use Pango to draw the text. It looks really bad right now, but should be straightforward to fix.
* Remove preferences calback in ::finalize.Anders Carlsson2002-01-081-6/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-01-08 Anders Carlsson <andersca@gnu.org> * src/nautilus-zoom-control.c (nautilus_zoom_control_finalize): Remove preferences calback in ::finalize. (nautilus_zoom_control_unload_images): Set image pointers to NULL after unloading images. * src/nautilus-window-menus.c: Remove some userlevel #defines. * src/nautilus-switchable-search-bar.c (nautilus_switchable_search_bar_finalize): Remove the preferences callback in ::finalize instead of ::destroy. * src/nautilus-switchable-navigation-bar.c: Create the search bar lazily. Creating the search bar came up high on the profile when creating new windows, and doing it lazily helps, especially when we don't have medusa support yet. (nautilus_switchable_navigation_bar_finalize): Free details in ::finalize. * src/nautilus-simple-search-bar.c (nautilus_simple_search_bar_finalize): Free details in ::finalize. (nautilus_simple_search_bar_destroy): Disable the undo stuff. Perhaps we could call connect to "destroy" in nautilus_undo_set_up_nautilus_entry_for_undo and call nautilus_undo_tear_down_nautilus_entry_for_undo there instead. * src/nautilus-sidebar.c (nautilus_sidebar_init): Ref and sink the title tab. (nautilus_sidebar_finalize): Move things from ::finalize to ::destroy. * src/nautilus-preferences-dialog.c (preferences_dialog_populate_themes_group): The image chooser isn't broken anymore so we can enable it now. * src/nautilus-main.c (main): Call gtk_main instead of bonobo_main since bonobo_main is for non-gui apps and won't be affected by gtk_main_quit. * src/nautilus-location-bar.c: Destroy things in ::finalize instead of in ::destroy. * src/nautilus-profiler.c: Port to GtkTextView. * src/nautilus-application.c (nautilus_application_new): Call bonobo_generic_factory_construct_noreg so that we set the IID. (nautilus_application_destroy): Unref the undo manager in ::destroy instead. * libnautilus-private/nautilus-icon-container.c: Use g_list_sort_with_data when sorting icons so we can get rid of the hack_icon_container hack. * libnautilus-private/nautilus-entry.c: Free details struct in ::finalize instead of in ::destroy * libnautilus-private/nautilus-icon-dnd.c (confirm_switch_to_manual_layout): Compare with GTK_RESPONSE_YES. * libnautilus-private/nautilus-file-operations.c (confirm_empty_trash): Compare with GTK_RESPONSE_YES. So now you know what I've been doing during christmas...
* lots of files Get rid of casts in callers to g_object_ref/g_object_unref.Darin Adler2001-12-071-6/+6
| | | | | | * lots of files Get rid of casts in callers to g_object_ref/g_object_unref. Remove parameters to eel_make_warnings_and_criticals_stop_in_debugger.
* Lots of files. Get rid a lot of unneeded casts.Darin Adler2001-11-091-5/+5
| | | | | * Lots of files. Get rid a lot of unneeded casts.
* Lots of files. Another GtkObject -> GObject pass.Darin Adler2001-11-061-1/+1
| | | | | * Lots of files. Another GtkObject -> GObject pass.
* Lots of files. Another GtkObject -> GObject pass.Darin Adler2001-11-061-9/+9
| | | | | * Lots of files. Another GtkObject -> GObject pass.
* Tons of files. More GtkObject -> GObject stuff.Darin Adler2001-11-041-8/+8
| | | | | * Tons of files. More GtkObject -> GObject stuff.
* Many files. Update for change in Eel boilerplate macro names.Darin Adler2001-11-041-1/+1
| | | | | | | | | | | * Many files. Update for change in Eel boilerplate macro names. * src/nautilus-application.c: (nautilus_application_startup): GtkObject -> GObject. * src/nautilus-shell.c: (nautilus_shell_class_init), (finalize), (nautilus_shell_new): GtkObject -> GObject.
* remove GtkText workaround (I'm also checking in a fix for the bug beingHavoc Pennington2001-11-021-23/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-11-01 Havoc Pennington <hp@pobox.com> * libnautilus/nautilus-clipboard.c (select_all): remove GtkText workaround (I'm also checking in a fix for the bug being worked around) * libnautilus-private/nautilus-bookmark.c (nautilus_bookmark_menu_item_new): replace some PixmapMenuItem with ImageMenuItem * src/file-manager/fm-directory-view.c (set_script_environment_variables): use eel_gtk_window_get_geometry_string * src/nautilus-zoom-control.c: just nuke the draw method, it ain't coming back * src/nautilus-window.c (set_initial_window_geometry): remove gtk_window_set_policy() that was useless, and replace set_usize with set_size_request. (nautilus_window_constructed): remove menu_bar_no_resize_hack, I have no idea what GTK bug it's talking about, neither does the referenced bug report say, but if we see it again we'll fix it. (plus it says the bug is unsigned math, and GTK 2 pretty much did a global s/uint/int/, especially in the size request/alloc code) * src/nautilus-desktop-window.c (realize): just remove the gnome_win_hints stuff, as the FIXME says, it's dead. (realize): remove the set_decorations, set_functions, and the move_resize, all cruft (nautilus_desktop_window_init): simplify some cruft in here * src/nautilus-bookmarks-window.c (nautilus_bookmarks_window_save_geometry): use eel_gtk_window_get_geometry_string * src/nautilus-window.c (nautilus_window_save_geometry): ditto
* src now compiles -- next problem is linkingDarin Adler2001-10-301-82/+73
| | | | | * Lots of files: src now compiles -- next problem is linking
* Locate glib-genmarshal.Darin Adler2001-10-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Locate glib-genmarshal. * libnautilus-private/.cvsignore: * libnautilus-private/Makefile.am: * libnautilus-private/nautilus-marshal.list: * src/nautilus-view-frame.c: (nautilus_view_frame_class_init): * src/nautilus-zoom-control.c: (nautilus_zoom_control_class_init): Add marshalers used inside Nautilus only. * components/adapter/nautilus-adapter-load-strategy.c: (nautilus_adapter_load_strategy_class_init): * libnautilus-private/nautilus-horizontal-splitter.c: * libnautilus-private/nautilus-icon-canvas-item.c: * libnautilus-private/nautilus-icon-text-item.h: Put code in #if GNOME2_CONVERSION_COMPLETE. * libnautilus-private/nautilus-icon-container.c: (set_pending_icon_to_reveal), (nautilus_icon_container_class_init), (nautilus_icon_container_init), (set_pending_icon_to_rename): Convert signal-handling code. * libnautilus-private/nautilus-icon-dnd.c: (get_data_on_first_target_we_support): Update for GdkAtom changes. (confirm_switch_to_manual_layout): Switch to GtkDialog.
* More GNOME 2 work. We now compile up to libnautilus-private and I'mDarin Adler2001-10-281-32/+33
| | | | | | | * Lots of files: More GNOME 2 work. We now compile up to libnautilus-private and I'm working my way through the files in there. Also changed all the initialize_class and initialize to class_init and init.
* Update for latest round of stuff moving into Eel.Ramiro Estrugo2001-05-041-2/+2
|
* nautilus-extensions -> nautilus-private renaming.Ramiro Estrugo2001-05-041-4/+4
|
* Remove librsvg.Ramiro Estrugo2001-04-041-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am: Remove librsvg. * librsvg/.cvsignore: * librsvg/Makefile.am: * librsvg/art_render.c: * librsvg/art_render.h: * librsvg/art_render_gradient.c: * librsvg/art_render_gradient.h: * librsvg/art_render_mask.c: * librsvg/art_render_mask.h: * librsvg/art_render_svp.c: * librsvg/art_render_svp.h: * librsvg/art_rgba.c: * librsvg/art_rgba.h: * librsvg/example-nested-transform.svg: * librsvg/makefile-simple: * librsvg/opacity.svg: * librsvg/rsvg-bpath-util.c: * librsvg/rsvg-bpath-util.h: * librsvg/rsvg-css.c: * librsvg/rsvg-css.h: * librsvg/rsvg-defs.c: * librsvg/rsvg-defs.h: * librsvg/rsvg-ft.c: * librsvg/rsvg-ft.h: * librsvg/rsvg-paint-server.c: * librsvg/rsvg-paint-server.h: * librsvg/rsvg-path.c: * librsvg/rsvg-path.h: * librsvg/rsvg.c: * librsvg/rsvg.h: * librsvg/subpixel-text-test: * librsvg/test-ft-gtk.c: * librsvg/test-ft.c: * librsvg/test-rsvg.c: * librsvg/test.svg: Move librsvg to its own top level GNOME CVS module. * configure.in: Add librsvg and eel dependencies. Remove librsvg and font entries. * nautilus.spec.in: Remove font entries. Add librsvg and eel requirements. * data/Makefile.am: * data/fonts/.cvsignore: * data/fonts/Makefile.am: * data/fonts/urw/.cvsignore: * data/fonts/urw/Makefile.am: * data/fonts/urw/README: * data/fonts/urw/fonts.dir: * data/fonts/urw/n019003l.afm: * data/fonts/urw/n019003l.pfb: * data/fonts/urw/n019003l.pfm: * data/fonts/urw/n019004l.afm: * data/fonts/urw/n019004l.pfb: * data/fonts/urw/n019004l.pfm: * data/fonts/urw/n019023l.afm: * data/fonts/urw/n019023l.pfb: * data/fonts/urw/n019023l.pfm: * data/fonts/urw/n019024l.afm: * data/fonts/urw/n019024l.pfb: * data/fonts/urw/n019024l.pfm: Retire default fonts. These now live in eel. * libnautilus/nautilus-undo-transaction.c: (nautilus_undo_transaction_destroy): * libnautilus/nautilus-view.c: (nautilus_view_destroy): Update for eel changes. Use eel-gtk-macros. * nautilus-installer/src/nautilus-druid-page-eazel.c: (nautilus_druid_page_eazel_destroy), (nautilus_druid_page_eazel_finalize), (nautilus_druid_page_eazel_size_allocate), (nautilus_druid_page_eazel_size_request): Update for eel changes. Use eel-gtk-macros. * libnautilus-extensions/Makefile.am: * libnautilus-extensions/nautilus-bonobo-extensions.c: * libnautilus-extensions/nautilus-bonobo-extensions.h: * libnautilus-extensions/nautilus-bookmark.c: * libnautilus-extensions/nautilus-ctree.c: * libnautilus-extensions/nautilus-customization-data.c: * libnautilus-extensions/nautilus-dateedit-extensions.c: * libnautilus-extensions/nautilus-dateedit-extensions.h: * libnautilus-extensions/nautilus-directory-async.c: * libnautilus-extensions/nautilus-directory-background.c: * libnautilus-extensions/nautilus-directory-background.h: * libnautilus-extensions/nautilus-directory-metafile-monitor.c: * libnautilus-extensions/nautilus-directory-metafile.c: * libnautilus-extensions/nautilus-directory.c: * libnautilus-extensions/nautilus-drag-window.c: * libnautilus-extensions/nautilus-drag.c: * libnautilus-extensions/nautilus-druid-page-eazel.c: * libnautilus-extensions/nautilus-druid.c: * libnautilus-extensions/nautilus-entry.c: * libnautilus-extensions/nautilus-file-changes-queue.c: * libnautilus-extensions/nautilus-file-operations-progress.c: * libnautilus-extensions/nautilus-file-operations.c: * libnautilus-extensions/nautilus-file-private.h: * libnautilus-extensions/nautilus-file-utilities.c: * libnautilus-extensions/nautilus-file.c: * libnautilus-extensions/nautilus-font-factory.c: * libnautilus-extensions/nautilus-gconf-extensions.c: * libnautilus-extensions/nautilus-generous-bin.c: * libnautilus-extensions/nautilus-global-preferences.c: * libnautilus-extensions/nautilus-global-preferences.h: * libnautilus-extensions/nautilus-horizontal-splitter.c: * libnautilus-extensions/nautilus-icon-canvas-item.c: * libnautilus-extensions/nautilus-icon-canvas-item.h: * libnautilus-extensions/nautilus-icon-container.c: * libnautilus-extensions/nautilus-icon-container.h: * libnautilus-extensions/nautilus-icon-dnd.c: * libnautilus-extensions/nautilus-icon-factory.c: * libnautilus-extensions/nautilus-icon-factory.h: * libnautilus-extensions/nautilus-icon-private.h: * libnautilus-extensions/nautilus-icon-text-item.c: * libnautilus-extensions/nautilus-keep-last-vertical-box.c: * libnautilus-extensions/nautilus-lib-self-check-functions.c: * libnautilus-extensions/nautilus-lib-self-check-functions.h: * libnautilus-extensions/nautilus-link-set.c: * libnautilus-extensions/nautilus-link.c: * libnautilus-extensions/nautilus-list-column-title.c: * libnautilus-extensions/nautilus-list.c: * libnautilus-extensions/nautilus-medusa-support.c: * libnautilus-extensions/nautilus-merged-directory.c: * libnautilus-extensions/nautilus-metafile-factory.c: * libnautilus-extensions/nautilus-metafile.c: * libnautilus-extensions/nautilus-mime-actions.c: * libnautilus-extensions/nautilus-preferences-box.c: * libnautilus-extensions/nautilus-preferences-dialog.c: * libnautilus-extensions/nautilus-preferences-group.c: * libnautilus-extensions/nautilus-preferences-item.c: * libnautilus-extensions/nautilus-preferences-pane.c: * libnautilus-extensions/nautilus-preferences.c: * libnautilus-extensions/nautilus-preferences.h: * libnautilus-extensions/nautilus-program-chooser.c: * libnautilus-extensions/nautilus-program-choosing.c: * libnautilus-extensions/nautilus-program-choosing.h: * libnautilus-extensions/nautilus-search-uri.c: * libnautilus-extensions/nautilus-sidebar-functions.c: * libnautilus-extensions/nautilus-tabs.c: * libnautilus-extensions/nautilus-theme.c: * libnautilus-extensions/nautilus-thumbnails.c: * libnautilus-extensions/nautilus-trash-directory.c: * libnautilus-extensions/nautilus-trash-file.c: * libnautilus-extensions/nautilus-trash-monitor.c: * libnautilus-extensions/nautilus-undo-context.c: * libnautilus-extensions/nautilus-undo-manager.c: * libnautilus-extensions/nautilus-undo-signal-handlers.c: * libnautilus-extensions/nautilus-vfs-directory.c: * libnautilus-extensions/nautilus-vfs-file.c: * libnautilus-extensions/nautilus-view-identifier.c: * libnautilus-extensions/nautilus-volume-monitor.c: Use new eel library. * libnautilus-extensions/nautilus-art-extensions.c: * libnautilus-extensions/nautilus-art-extensions.h: * libnautilus-extensions/nautilus-art-gtk-extensions.c: * libnautilus-extensions/nautilus-art-gtk-extensions.h: * libnautilus-extensions/nautilus-background-canvas-group.c: * libnautilus-extensions/nautilus-background-canvas-group.h: * libnautilus-extensions/nautilus-background.c: * libnautilus-extensions/nautilus-background.h: * libnautilus-extensions/nautilus-caption-table.c: * libnautilus-extensions/nautilus-caption-table.h: * libnautilus-extensions/nautilus-caption.c: * libnautilus-extensions/nautilus-caption.h: * libnautilus-extensions/nautilus-clickable-image.c: * libnautilus-extensions/nautilus-clickable-image.h: * libnautilus-extensions/nautilus-debug-drawing.c: * libnautilus-extensions/nautilus-debug-drawing.h: * libnautilus-extensions/nautilus-debug.c: * libnautilus-extensions/nautilus-debug.h: * libnautilus-extensions/nautilus-ellipsizing-label.c: * libnautilus-extensions/nautilus-ellipsizing-label.h: * libnautilus-extensions/nautilus-enumeration.c: * libnautilus-extensions/nautilus-enumeration.h: * libnautilus-extensions/nautilus-font-manager.c: * libnautilus-extensions/nautilus-font-manager.h: * libnautilus-extensions/nautilus-font-picker.c: * libnautilus-extensions/nautilus-font-picker.h: * libnautilus-extensions/nautilus-gdk-extensions.c: * libnautilus-extensions/nautilus-gdk-extensions.h: * libnautilus-extensions/nautilus-gdk-font-extensions.c: * libnautilus-extensions/nautilus-gdk-font-extensions.h: * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c: * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h: * libnautilus-extensions/nautilus-glib-extensions.c: * libnautilus-extensions/nautilus-glib-extensions.h: * libnautilus-extensions/nautilus-glyph.c: * libnautilus-extensions/nautilus-glyph.h: * libnautilus-extensions/nautilus-gnome-extensions.c: * libnautilus-extensions/nautilus-gnome-extensions.h: * libnautilus-extensions/nautilus-graphic-effects.c: * libnautilus-extensions/nautilus-graphic-effects.h: * libnautilus-extensions/nautilus-gtk-extensions.c: * libnautilus-extensions/nautilus-gtk-extensions.h: * libnautilus-extensions/nautilus-gtk-macros.h: * libnautilus-extensions/nautilus-image-table.c: * libnautilus-extensions/nautilus-image-table.h: * libnautilus-extensions/nautilus-image-with-background.c: * libnautilus-extensions/nautilus-image-with-background.h: * libnautilus-extensions/nautilus-image.c: * libnautilus-extensions/nautilus-image.h: * libnautilus-extensions/nautilus-label-with-background.c: * libnautilus-extensions/nautilus-label-with-background.h: * libnautilus-extensions/nautilus-label.c: * libnautilus-extensions/nautilus-label.h: * libnautilus-extensions/nautilus-labeled-image.c: * libnautilus-extensions/nautilus-labeled-image.h: * libnautilus-extensions/nautilus-lib-self-check-functions.c: * libnautilus-extensions/nautilus-lib-self-check-functions.h: * libnautilus-extensions/nautilus-password-dialog.c: * libnautilus-extensions/nautilus-password-dialog.h: * libnautilus-extensions/nautilus-radio-button-group.c: * libnautilus-extensions/nautilus-radio-button-group.h: * libnautilus-extensions/nautilus-region.c: * libnautilus-extensions/nautilus-region.h: * libnautilus-extensions/nautilus-scalable-font-private.h: * libnautilus-extensions/nautilus-scalable-font.c: * libnautilus-extensions/nautilus-scalable-font.h: * libnautilus-extensions/nautilus-self-checks.c: * libnautilus-extensions/nautilus-self-checks.h: * libnautilus-extensions/nautilus-smooth-text-layout-cache.c: * libnautilus-extensions/nautilus-smooth-text-layout-cache.h: * libnautilus-extensions/nautilus-smooth-text-layout.c: * libnautilus-extensions/nautilus-smooth-text-layout.h: * libnautilus-extensions/nautilus-smooth-widget.c: * libnautilus-extensions/nautilus-smooth-widget.h: * libnautilus-extensions/nautilus-stock-dialogs.c: * libnautilus-extensions/nautilus-stock-dialogs.h: * libnautilus-extensions/nautilus-string-list.c: * libnautilus-extensions/nautilus-string-list.h: * libnautilus-extensions/nautilus-string-map.c: * libnautilus-extensions/nautilus-string-map.h: * libnautilus-extensions/nautilus-string-picker.c: * libnautilus-extensions/nautilus-string-picker.h: * libnautilus-extensions/nautilus-string.c: * libnautilus-extensions/nautilus-string.h: * libnautilus-extensions/nautilus-text-caption.c: * libnautilus-extensions/nautilus-text-caption.h: * libnautilus-extensions/nautilus-viewport.c: * libnautilus-extensions/nautilus-viewport.h: * libnautilus-extensions/nautilus-wrap-table.c: * libnautilus-extensions/nautilus-wrap-table.h: * libnautilus-extensions/nautilus-xml-extensions.c: * libnautilus-extensions/nautilus-xml-extensions.h: Remove these files. These are all part of eel now. * applets/launcher/nautilus-launcher-applet.c: * applets/preferences-applet/nautilus-preferences-applet.c: * components/adapter/Makefile.am: * components/adapter/main.c: * components/adapter/nautilus-adapter-control-embed-strategy.c: * components/adapter/nautilus-adapter-embed-strategy.c: * components/adapter/nautilus-adapter-embeddable-embed-strategy.c: * components/adapter/nautilus-adapter-factory-server.c: * components/adapter/nautilus-adapter-file-load-strategy.c: * components/adapter/nautilus-adapter-load-strategy.c: * components/adapter/nautilus-adapter-progressive-load-strategy.c: * components/adapter/nautilus-adapter-stream-load-strategy.c: * components/adapter/nautilus-adapter.c: * components/hardware/Makefile.am: * components/hardware/nautilus-hardware-view.c: * components/help/Makefile.am: * components/help/help-method.c: * components/help/hyperbola-filefmt.c: * components/help/hyperbola-nav-tree.c: * components/history/Makefile.am: * components/history/nautilus-history-view.c: * components/image-viewer/Makefile.am: * components/image-viewer/nautilus-image-view.c: * components/loser/content/Makefile.am: * components/loser/content/nautilus-content-loser.c: * components/loser/sidebar/Makefile.am: * components/loser/sidebar/nautilus-sidebar-loser.c: * components/mozilla/Makefile.am: * components/mozilla/bonobo-extensions.c: * components/mozilla/nautilus-mozilla-content-view.c: * components/music/Makefile.am: * components/music/nautilus-music-view.c: * components/notes/Makefile.am: * components/notes/nautilus-notes.c: * components/rpmview/Makefile.am: * components/rpmview/nautilus-rpm-verify-window.c: * components/rpmview/nautilus-rpm-view-install.c: * components/rpmview/nautilus-rpm-view.c: * components/sample/nautilus-sample-content-view.c: * components/services/install-view/Makefile.am: * components/services/install-view/callbacks.c: * components/services/install-view/forms.c: * components/services/install-view/nautilus-service-install-view.c: * components/services/install/lib/eazel-install-logic2.c: * components/services/install/server/main.c: * components/services/inventory-view/Makefile.am: * components/services/inventory-view/nautilus-inventory-config-page .c: * components/services/inventory-view/nautilus-inventory-disable-pag * components/services/inventory-view/nautilus-inventory-enable-page * components/services/inventory-view/nautilus-inventory-view.c: * components/services/inventory/Makefile.am: * components/services/inventory/eazel-inventory-upload-callback.c: * components/services/inventory/eazel-inventory.c: * components/services/inventory/main.c: * components/services/login/nautilus-view/Makefile.am: * components/services/login/nautilus-view/nautilus-change-password- view.c: * components/services/login/nautilus-view/password-box.c: * components/services/nautilus-dependent-shared/Makefile.am: * components/services/nautilus-dependent-shared/eazel-services-exte nsions.c: * components/services/nautilus-dependent-shared/eazel-services-exte nsions.h: * components/services/nautilus-dependent-shared/eazel-services-foot er.c: * components/services/nautilus-dependent-shared/eazel-services-head er.c: * components/services/nautilus-dependent-shared/test-footer-header. c: * components/services/summary/Makefile.am: * components/services/summary/nautilus-summary-callbacks.c: * components/services/summary/nautilus-summary-dialogs.c: * components/services/summary/nautilus-summary-dialogs.h: * components/services/summary/nautilus-summary-footer.c: * components/services/summary/nautilus-summary-menu-items.c: * components/services/summary/nautilus-summary-view-private.h: * components/services/summary/nautilus-summary-view.c: * components/services/time/nautilus-view/main.c: * components/services/time/nautilus-view/trilobite-eazel-time-view. c: * components/services/trilobite/sample/nautilus-view/Makefile.am: * components/text/Makefile.am: * components/text/nautilus-text-view.c: * components/throbber/Makefile.am: * components/throbber/main.c: * components/throbber/nautilus-throbber.c: * components/tree/Makefile.am: * components/tree/nautilus-tree-change-queue.c: * components/tree/nautilus-tree-expansion-state.c: * components/tree/nautilus-tree-model.c: * components/tree/nautilus-tree-node.c: * components/tree/nautilus-tree-view-dnd.c: * components/tree/nautilus-tree-view.c: * helper-utilities/authenticate/Makefile.am: * helper-utilities/authenticate/nautilus-authenticate.c: * nautilus-installer/src/nautilus-druid.c: * src/Makefile.am: * src/file-manager/fm-desktop-icon-view.c: * src/file-manager/fm-directory-view.c: * src/file-manager/fm-directory-view.h: * src/file-manager/fm-error-reporting.c: * src/file-manager/fm-icon-text-window.c: * src/file-manager/fm-icon-view.c: * src/file-manager/fm-list-view.c: * src/file-manager/fm-properties-window.c: * src/file-manager/fm-search-list-view.c: * src/file-manager/nautilus-indexing-info.c: * src/nautilus-about.c: * src/nautilus-application.c: * src/nautilus-bookmark-list.c: * src/nautilus-bookmark-parsing.c: * src/nautilus-bookmarks-window.c: * src/nautilus-complex-search-bar.c: * src/nautilus-component-adapter-factory.c: * src/nautilus-desktop-window.c: * src/nautilus-first-time-druid.c: * src/nautilus-link-set-window.c: * src/nautilus-location-bar.c: * src/nautilus-main.c: * src/nautilus-navigation-bar.c: * src/nautilus-profiler.c: * src/nautilus-property-browser.c: * src/nautilus-search-bar-criterion.c: * src/nautilus-search-bar.c: * src/nautilus-shell.c: * src/nautilus-sidebar-tabs.c: * src/nautilus-sidebar-title.c: * src/nautilus-sidebar.c: * src/nautilus-signaller.c: * src/nautilus-simple-search-bar.c: * src/nautilus-switchable-navigation-bar.c: * src/nautilus-switchable-search-bar.c: * src/nautilus-theme-selector.c: * src/nautilus-view-frame-corba.c: * src/nautilus-view-frame.c: * src/nautilus-window-manage-views.c: * src/nautilus-window-menus.c: * src/nautilus-window-toolbars.c: * src/nautilus-window.c: * src/nautilus-window.h: * src/nautilus-zoom-control.c: Update for new eel library usage. * test/test-nautilus-background.c: * test/test-nautilus-clickable-image.c: * test/test-nautilus-font-manager.c: * test/test-nautilus-font-picker.c: * test/test-nautilus-font-simple.c: * test/test-nautilus-font.c: * test/test-nautilus-glyph-simple.c: * test/test-nautilus-glyph.c: * test/test-nautilus-image-background.c: * test/test-nautilus-image-scrolled.c: * test/test-nautilus-image-simple.c: * test/test-nautilus-image-table.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-offset.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-labeled-image.c: * test/test-nautilus-password-dialog.c: * test/test-nautilus-pixbuf-tile.c: * test/test-nautilus-smooth-text-layout.c: * test/test-nautilus-viewport-constraint.c: * test/test-nautilus-widgets.c: Remove these. They live in eel now. * test/vsignore: * test/kefile.am: * test/st-nautilus-preferences-change.c: * test/st-nautilus-preferences-display.c: * test/st-nautilus-wrap-table.c: * test/st.c: * test/st.h: Update for new eel library usage.
* reviewed by: George Lebl <jirka@5z.com>John Harper2001-02-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-22 John Harper <jsh@eazel.com> reviewed by: George Lebl <jirka@5z.com> Mostly fixed bug 1796 (Design a better First Time Walkthrough) by implementing Arlo's new design: * libnautilus-extensions/nautilus-druid-page-eazel.c: changed a lot of the Druid text (new_title_label, new_body_label): functions for creating the two types of labels used in the druid. Title labels are always anti-aliased in a hardcoded font, while body labels use the user's font choice and are never anti-aliased (set_up_service_signup_page): this page has been removed (make_title_page_icon_box): function to create an hbox containing the four icons displayed on the start page Fixed bugs 5625 (Bottom line of "Select User Level" dialog is out of view), 5901 (First-Time Druid dimensions hard-coded, text can be truncated) and 6496 (First-time Druid window clips some contents (with 100 dpi fonts)): * libnautilus-extensions/nautilus-druid-page-eazel.c: hacked this widget to scale correctly, the main change is _not_ setting the width and height of the canvas widget item, to allow the normal size allocation mechanisms to work properly [ there are still a few minor things to tweak, but this is the bulk of the redesign done ] Fixed bug 6412 (Add option to disable medusa in the first time druid) * src/nautilus-first-time-druid.c: added `Launch Medusa' page, which is only displayed if the NAUTILUS_PREFERENCES_MEDUSA_BLOCKED option isn't set. Fix bug 6379 (Nautilus assumes http proxy is needed if updates.tgz doesn't exist) * src/nautilus-first-time-druid.c (download_callback): if result is GNOME_VFS_ERROR_NOT_FOUND, just print a message that there are no updates available, then continue as normal (instead of assuming a proxy error, and going into the proxy setup pane) Fixed bug 6528 (More explanation needed for GMC transistion stuff in the druid): * src/nautilus-first-time-druid.c (set_up_gmc_transition_page): added Vera's new text for this page of the druid Fixed illogical behaviour of show-desktop option in druid (the user's choice wasn't actually being applied, the saved value was always being used): * src/nautilus-first-time-druid.c (druid_finished): set NAUTILUS_PREFERENCE_SHOW_DESKTOP from the `draw_desktop' variable, not from `save_manage_desktop' * src/nautilus-first-time-druid.c (set_up_gmc_transition_page): don't default the `draw desktop' setting to true; instead set it to the `save_manage_desktop' value. Also, only display the `draw desktop' option when not in `beginner' mode Fixed bug 3060 (Font names marked for translation need comments): * libnautilus-extensions/nautilus-icon-factory.c, libnautilus-extensions/nautilus-gdk-font-extensions.c, libnautilus-extensions/nautilus-druid-page-eazel.c, src/nautilus-zoom-control.c, src/nautilus-first-time-druid.c: added comments before localized fonts and font components
* reviewed by: John Sullivan <sullivan@eazel.com>Darin Adler2001-02-231-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug 6859 (GTK signal macros don't work in non-GCC compilers for void return types). * libnautilus-extensions/nautilus-gtk-macros.h: Replaced old macros that accidentally relied on gccisms with new ones that are portable to other compilers. NAUTILUS_CALL_PARENT_CLASS is replaced by NAUTILUS_CALL_PARENT and NAUTILUS_CALL_PARENT_WITH_RETURN_VALUE. NAUTILUS_CALL_VIRTUAL is replaced by NAUTILUS_CALL_METHOD and NAUTILUS_CALL_METHOD_WITH_RETURN_VALUE * components/adapter/nautilus-adapter-control-embed-strategy.c: (nautilus_adapter_control_embed_strategy_destroy): * components/adapter/nautilus-adapter-embed-strategy.c: (nautilus_adapter_embed_strategy_destroy), (nautilus_adapter_embed_strategy_get_widget), (nautilus_adapter_embed_strategy_get_zoomable): * components/adapter/nautilus-adapter-embeddable-embed-strategy.c: (nautilus_adapter_embeddable_embed_strategy_destroy): * components/adapter/nautilus-adapter-factory-server.c: (nautilus_adapter_factory_server_destroy): * components/adapter/nautilus-adapter-file-load-strategy.c: (nautilus_adapter_file_load_strategy_destroy): * components/adapter/nautilus-adapter-load-strategy.c: (nautilus_adapter_load_strategy_destroy), (nautilus_adapter_load_strategy_load_location), (nautilus_adapter_load_strategy_stop_loading): * components/adapter/nautilus-adapter-progressive-load-strategy.c: (nautilus_adapter_progressive_load_strategy_destroy): * components/adapter/nautilus-adapter-stream-load-strategy.c: (nautilus_adapter_stream_load_strategy_destroy): * components/adapter/nautilus-adapter.c: (nautilus_adapter_destroy): * components/hardware/nautilus-hardware-view.c: (nautilus_hardware_view_destroy): * components/history/nautilus-history-view.c: (nautilus_history_view_destroy): * components/loser/content/nautilus-content-loser.c: (nautilus_content_loser_destroy): * components/loser/sidebar/nautilus-sidebar-loser.c: (nautilus_sidebar_loser_destroy): * components/music/nautilus-music-view.c: (nautilus_music_view_destroy): * components/rpmview/nautilus-rpm-verify-window.c: (nautilus_rpm_verify_window_destroy): * components/rpmview/nautilus-rpm-view.c: (nautilus_rpm_view_destroy): * components/sample/nautilus-sample-content-view.c: (nautilus_sample_content_view_destroy): * components/services/install/nautilus-view/nautilus-service-instal l-view.c: (nautilus_service_install_view_destroy), (nautilus_service_install_view_finalize): * components/services/inventory-view/nautilus-inventory-config-page .c: (nautilus_inventory_config_page_destroy): * components/services/inventory-view/nautilus-inventory-view.c: (nautilus_inventory_view_destroy): * components/services/login/nautilus-view/nautilus-change-password- view.c: (nautilus_change_password_view_destroy): * components/services/nautilus-dependent-shared/eazel-services-foot er.c: (footer_destroy): * components/services/nautilus-dependent-shared/eazel-services-head er.c: (header_destroy): * components/services/summary/nautilus-summary-view.c: (nautilus_summary_view_destroy): * components/services/time/nautilus-view/trilobite-eazel-time-view. c: (trilobite_eazel_time_view_destroy): * components/text/nautilus-text-view.c: (nautilus_text_view_destroy): * components/throbber/nautilus-throbber.c: (nautilus_throbber_destroy), (nautilus_throbber_map), (nautilus_throbber_size_allocate): * components/tree/nautilus-tree-change-queue.c: (nautilus_tree_change_queue_destroy): * components/tree/nautilus-tree-expansion-state.c: (nautilus_tree_expansion_state_destroy): * components/tree/nautilus-tree-model.c: (nautilus_tree_model_destroy): * components/tree/nautilus-tree-node.c: (nautilus_tree_node_destroy): * components/tree/nautilus-tree-view.c: (nautilus_tree_view_destroy): * help/nautilus-quick-reference/.cvsignore: * help/nautilus-quick-reference/C/.cvsignore: * libnautilus-extensions/nautilus-background-canvas-group.c: (nautilus_background_canvas_group_update), (nautilus_background_canvas_group_draw), (nautilus_background_canvas_group_render): * libnautilus-extensions/nautilus-background.c: (nautilus_background_destroy): * libnautilus-extensions/nautilus-bookmark.c: (nautilus_bookmark_destroy): * libnautilus-extensions/nautilus-caption.c: (nautilus_caption_destroy), (nautilus_font_picker_show_all): * libnautilus-extensions/nautilus-clickable-image.c: (nautilus_clickable_image_destroy), (nautilus_clickable_image_realize), (nautilus_clickable_image_expose_event): * libnautilus-extensions/nautilus-debug-drawing.c: (debug_pixbuf_viewer_destroy): * libnautilus-extensions/nautilus-directory-metafile-monitor.c: (destroy): * libnautilus-extensions/nautilus-directory.c: (nautilus_directory_destroy), (nautilus_directory_get_name_for_self_as_new_file), (nautilus_directory_are_all_files_seen), (nautilus_directory_contains_file), (nautilus_directory_call_when_ready), (nautilus_directory_cancel_callback), (nautilus_directory_file_monitor_add), (nautilus_directory_file_monitor_remove), (nautilus_directory_force_reload), (nautilus_directory_is_not_empty): * libnautilus-extensions/nautilus-druid-page-eazel.c: (nautilus_druid_page_eazel_destroy), (nautilus_druid_page_eazel_finalize), (nautilus_druid_page_eazel_size_allocate), (nautilus_druid_page_eazel_size_request): * libnautilus-extensions/nautilus-ellipsizing-label.c: (real_size_request), (real_size_allocate), (real_style_set): * libnautilus-extensions/nautilus-entry.c: (nautilus_entry_destroy), (nautilus_entry_key_press), (nautilus_entry_motion_notify), (nautilus_entry_set_selection), (nautilus_entry_insert_text), (nautilus_entry_delete_text), (nautilus_entry_selection_clear): * libnautilus-extensions/nautilus-file.c: (destroy), (nautilus_file_monitor_add), (nautilus_file_monitor_remove), (nautilus_file_get_date), (nautilus_file_get_where_string), (nautilus_file_get_directory_item_count), (nautilus_file_get_deep_counts), (nautilus_file_get_file_type), (nautilus_file_check_if_ready), (nautilus_file_call_when_ready), (nautilus_file_cancel_call_when_ready): * libnautilus-extensions/nautilus-font-factory.c: (destroy): * libnautilus-extensions/nautilus-font-picker.c: (nautilus_font_picker_destroy): * libnautilus-extensions/nautilus-horizontal-splitter.c: (nautilus_horizontal_splitter_destroy), (nautilus_horizontal_splitter_button_press): * libnautilus-extensions/nautilus-icon-canvas-item.c: (nautilus_icon_canvas_item_destroy), (nautilus_icon_canvas_item_update): * libnautilus-extensions/nautilus-icon-container.c: (destroy), (size_allocate), (realize), (unrealize), (button_press_event), (button_release_event), (motion_notify_event), (key_press_event): * libnautilus-extensions/nautilus-icon-factory.c: (nautilus_icon_factory_destroy): * libnautilus-extensions/nautilus-image-table.c: (nautilus_image_table_destroy), (nautilus_image_table_expose_event), (nautilus_image_table_realize), (nautilus_image_table_unrealize), (nautilus_image_table_remove): * libnautilus-extensions/nautilus-image.c: (nautilus_image_destroy): * libnautilus-extensions/nautilus-keep-last-vertical-box.c: (nautilus_keep_last_vertical_box_size_allocate): * libnautilus-extensions/nautilus-label.c: (nautilus_label_destroy), (nautilus_label_size_request), (nautilus_label_size_allocate), (label_paint_pixbuf_callback): * libnautilus-extensions/nautilus-labeled-image.c: (nautilus_labeled_image_destroy): * libnautilus-extensions/nautilus-list-column-title.c: (nautilus_list_column_title_finalize): * libnautilus-extensions/nautilus-list.c: (nautilus_list_destroy), (nautilus_list_button_press), (nautilus_list_button_release), (nautilus_list_key_press), (nautilus_list_style_set), (nautilus_list_realize), (nautilus_list_unrealize), (draw_rows), (draw_all), (nautilus_list_draw), (nautilus_list_expose), (nautilus_list_resize_column), (nautilus_list_set_cell_contents), (set_list_cell), (nautilus_list_track_new_column_width), (nautilus_list_motion), (nautilus_list_clear), (insert_row): * libnautilus-extensions/nautilus-merged-directory.c: (merged_destroy): * libnautilus-extensions/nautilus-metafile-factory.c: (destroy): * libnautilus-extensions/nautilus-metafile.c: (destroy): * libnautilus-extensions/nautilus-preferences-box.c: (nautilus_preferences_box_destroy): * libnautilus-extensions/nautilus-preferences-pane.c: (nautilus_preferences_pane_destroy): * libnautilus-extensions/nautilus-scalable-font.c: (nautilus_scalable_font_destroy): * libnautilus-extensions/nautilus-string-picker.c: (nautilus_string_picker_destroy): * libnautilus-extensions/nautilus-tabs.c: (nautilus_tabs_destroy): * libnautilus-extensions/nautilus-text-caption.c: (nautilus_text_caption_destroy): * libnautilus-extensions/nautilus-trash-directory.c: (trash_destroy): * libnautilus-extensions/nautilus-trash-file.c: (trash_destroy): * libnautilus-extensions/nautilus-undo-context.c: (destroy): * libnautilus-extensions/nautilus-undo-manager.c: (destroy): * libnautilus-extensions/nautilus-vfs-directory.c: (vfs_destroy): * libnautilus-extensions/nautilus-vfs-file.c: (vfs_destroy): * libnautilus-extensions/nautilus-viewport.c: (nautilus_viewport_destroy), (nautilus_viewport_realize): * libnautilus-extensions/nautilus-volume-monitor.c: (nautilus_volume_monitor_destroy): * libnautilus-extensions/nautilus-wrap-table.c: (nautilus_wrap_table_destroy): * libnautilus/nautilus-undo-transaction.c: (nautilus_undo_transaction_destroy): * libnautilus/nautilus-view.c: (nautilus_view_destroy): * src/file-manager/fm-desktop-icon-view.c: (fm_desktop_icon_view_destroy), (real_update_menus), (real_merge_menus): * src/file-manager/fm-directory-view.c: (text_attribute_names_changed_callback), (image_display_policy_changed_callback), (directory_view_font_family_changed_callback), (click_policy_changed_callback), (smooth_graphics_mode_changed_callback), (fm_directory_view_destroy), (fm_directory_view_file_limit_reached), (fm_directory_view_bump_zoom_level), (fm_directory_view_zoom_to_level), (fm_directory_view_restore_default_zoom_level), (fm_directory_view_can_zoom_in), (fm_directory_view_can_zoom_out), (fm_directory_view_get_background_widget), (fm_directory_view_get_selection), (reveal_newly_added_folder), (fm_directory_view_get_emblem_names_to_exclude), (fm_directory_view_merge_menus), (fm_directory_view_select_all), (fm_directory_view_set_selection), (fm_directory_get_selected_icon_locations), (fm_directory_view_reveal_selection), (fm_directory_view_is_read_only), (fm_directory_view_is_empty), (fm_directory_view_supports_creating_files), (fm_directory_view_accepts_dragged_files), (fm_directory_view_supports_properties), (fm_directory_view_supports_zooming), (fm_directory_view_update_menus): * src/file-manager/fm-icon-view.c: (fm_icon_view_destroy), (fm_icon_view_clean_up), (fm_icon_view_get_directory_sort_by), (fm_icon_view_set_directory_sort_by), (fm_icon_view_get_directory_sort_reversed), (fm_icon_view_set_directory_sort_reversed), (fm_icon_view_get_directory_auto_layout), (fm_icon_view_set_directory_auto_layout), (fm_icon_view_get_directory_tighter_layout), (fm_icon_view_set_directory_tighter_layout), (fm_icon_view_supports_auto_layout), (fm_icon_view_start_renaming_item), (fm_icon_view_merge_menus), (fm_icon_view_update_menus): * src/file-manager/fm-list-view.c: (fm_list_view_adding_file), (fm_list_view_removing_file), (fm_list_view_file_still_belongs), (get_number_of_columns), (get_link_column), (get_default_sort_attribute), (get_column_specification): * src/file-manager/fm-properties-window.c: (real_shutdown), (real_destroy), (real_finalize): * src/file-manager/fm-search-list-view.c: (real_destroy), (real_add_file), (real_adding_file), (real_removing_file), (real_merge_menus), (real_update_menus): * src/nautilus-about.c: (nautilus_about_destroy): * src/nautilus-application.c: (nautilus_application_destroy), (nautilus_application_startup): * src/nautilus-complex-search-bar.c: (nautilus_complex_search_bar_destroy): * src/nautilus-desktop-window.c: (destroy), (realize): * src/nautilus-location-bar.c: (destroy): * src/nautilus-navigation-bar.c: (nautilus_navigation_bar_get_location), (nautilus_navigation_bar_set_location): * src/nautilus-property-browser.c: (nautilus_property_browser_destroy): * src/nautilus-search-bar-criterion.c: (nautilus_search_bar_criterion_destroy): * src/nautilus-shell.c: (destroy): * src/nautilus-sidebar-tabs.c: (nautilus_sidebar_tabs_destroy), (nautilus_sidebar_tabs_size_allocate): * src/nautilus-sidebar-title.c: (nautilus_sidebar_title_destroy), (nautilus_sidebar_title_size_allocate): * src/nautilus-sidebar.c: (nautilus_sidebar_destroy), (nautilus_sidebar_size_allocate), (nautilus_sidebar_realize): * src/nautilus-simple-search-bar.c: (nautilus_simple_search_bar_destroy): * src/nautilus-switchable-navigation-bar.c: (nautilus_switchable_navigation_bar_destroy): * src/nautilus-switchable-search-bar.c: (nautilus_switchable_search_bar_destroy): * src/nautilus-theme-selector.c: (nautilus_theme_selector_destroy): * src/nautilus-view-frame.c: (nautilus_view_frame_destroy), (nautilus_view_frame_finalize), (nautilus_view_frame_map): * src/nautilus-window.c: (nautilus_window_destroy), (nautilus_window_realize), (nautilus_window_size_request), (nautilus_window_add_current_location_to_history_list), (nautilus_window_show): * src/nautilus-zoom-control.c: (nautilus_zoom_control_destroy), (nautilus_zoom_control_size_allocate): Use the macros by their new names. * RENAMING: Updated for some name changes and name change ideas. * user-guide/C/.cvsignore: * user-guide/C/html/.cvsignore: * user-guide/C/img/.cvsignore: * user-guide/C/sgml/.cvsignore: Added missing cvsignores.
* fixed a bunch of problems in the image view, including making the initialAndy Hertzfeld2001-02-171-2/+4
| | | | | | | | | | | | | | | | | | * components/image-viewer/nautilus-image-view.c: (zoomable_zoom_to_fit_callback), (rezoom_control), (control_size_allocate_callback), (image_fits_in_container), (scrolled_window_size_allocate_callback), (scrollable_control_factory): fixed a bunch of problems in the image view, including making the initial shrink-to-fit feature work again, made unneccessary scroll bars go away by using GTK_POLICY_AUTOMATIC, improved the scaling to Arlo's taste by using GDK_INTERP_BILINEAR, and tweaked the scale factors, plus other clean-ups. * src/nautilus-zoom-control.c: (create_zoom_menu_item): fixed bug 6288, bogus zoom levels displayed in zoom control, by making the rounding algorithm used in the menu consistent with the one used in the control.
* reviewed by: John Sullivan <sullivan@eazel.com>Darin Adler2001-01-311-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 performance of zoom control drawing by elimitating continual callsMike Engber2000-12-161-13/+21
| | | | | | | | | | | * src/nautilus-zoom-control.c: (draw_number), (draw_pixbuf_with_prelight), (nautilus_zoom_control_draw), (nautilus_zoom_control_expose), (nautilus_zoom_control_unload_images), (nautilus_zoom_control_load_images): Fixed performance of zoom control drawing by elimitating continual calls to gdk_fontset_load - bug 3317. Also fixed a falure to unref the number strip image.
* reviewed by: Pavel Cisler <pavel@eazel.com>John Sullivan2000-11-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed bug 4257 (right click on background in icon or list view doesn't leave context menus up) This was a problem with nautilus_pop_up_context_menu. It wasn't passing the event time, which caused GTK to think that the button-release was for a later button press, and consequently to close the context menu. It appears that the root cause may be a gtk menu handling bug, but this checkin fixes the problem as far as Nautilus is concerned. * libnautilus-extensions/nautilus-gtk-extensions.h: * libnautilus-extensions/nautilus-gtk-extensions.c: (nautilus_pop_up_context_menu): Now takes event as a parameter, and passes event->time through to gtk_menu_popup. Passes 0 for button if event is a button release, to work with subtle logic in gtk popup menu-handling. * libnautilus-extensions/nautilus-icon-container.h: * libnautilus-extensions/nautilus-icon-container.c: Add event parameters to context-click signal handlers. (nautilus_icon_container_initialize_class): Change signal marshal and signature. (context_menu_parameters_new), (context_menu_parameters_free): New helper functions to manage callback data when delaying the appearance of a context menu. (button_press_event), (button_release_event), (show_context_menu_callback): Pass event when emitting signal. (handle_icon_button_press): Pass event as well as container to idle callback. * libnautilus-extensions/nautilus-list.h: * libnautilus-extensions/nautilus-list.c: Add event parameters to context-click signal handlers. (nautilus_list_initialize_class): Change signal marshal and signature. (context_menu_parameters_new), (context_menu_parameters_free): New helper functions to manage callback data when delaying the appearance of a context menu. (nautilus_list_button_press), (nautilus_list_button_release), (show_context_menu_callback): Pass event when emitting signal or setting up idle callback. * src/file-manager/fm-directory-view.h: * src/file-manager/fm-directory-view.c: (fm_directory_view_pop_up_selection_context_menu), (fm_directory_view_pop_up_background_context_menu): Take event parameter and pass it to nautilus_pop_up_context_menu. * src/file-manager/fm-icon-view.c: (icon_container_context_click_selection_callback), (icon_container_context_click_background_callback): Add event parameter to match signal change, and pass event when calling fm_directory_view_pop_up_xxx * src/file-manager/fm-list-view.c: (context_click_selection_callback), (context_click_background_callback): Add event parameter to match signal change, and pass event when calling fm_directory_view_pop_up_xxx * src/nautilus-window-toolbars.c: (back_or_forward_button_clicked_callback): Pass event for context menu on Back and Forward buttons (this code is still #ifdeffed out from Bonobo switchover, awaiting fix for bug 3510). * src/nautilus-sidebar.c: (nautilus_sidebar_press_event): Pass event for context menu in sidebar. * src/nautilus-zoom-control.c: (nautilus_zoom_control_button_press_event): Pass event for context menu in zoom control.
* reviewed by: Darin Adler <darin@eazel.com> reviewed by: Maciej StachowiakMartin Baulig2000-11-161-32/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-22 Martin Baulig <baulig@suse.de> reviewed by: Darin Adler <darin@eazel.com> reviewed by: Maciej Stachowiak <mjs@eazel.com> Use the new Bonobo::Zoomable interface instead of Nautilus::Zoomable. * libnautilus/nautilus-zoomable.[ch]: Removed. * src/nautilus-zoomable-frame-corba.c: Removed. * libnautilus/nautilus-view-component.idl (ZoomLevels, ZoomLevelList, Zoomable, ZoomableFrame): Removed. * src/nautilus-view-frame-private.h (impl_Nautilus_ZoomableFrame_vepv, impl_Nautilus_ZoomableFrame__create): Removed external declarations. * src/nautilus-view-frame.h: include <bonobo/bonobo-zoomable-frame.h>. (NautilusViewFrame): Removed the `zoomable' field and changed the type of the `zoomable_frame' field from BonoboObject into BonoboZoomableFrame. (NautilusViewFrameClass): Added `zoom_parameters_changed' signal. * src/nautilus-view-frame.c (nautilus_view_frame_destroy_client): Don't release `view->zoomable' and set `view->history_frame' and `view->zoomable_frame' to NULL, not to CORBA_OBJECT_NIL. (nautilus_view_frame_initialize_class): Added ZOOM_PARAMETERS_CHANGED signal. (zoom_level_changed_callback): New static callback function; this emits the ZOOM_LEVEL_CHANGED signal on the NautilusViewFrame. (zoom_parameters_changed_callback): New static callback function; this emits the ZOOM_PARAMETERS_CHANGED signal on the NautilusViewFrame. (nautilus_view_frame_set_to_component): QI the adapted component for "IDL:Bonobo/Zoomable:1.0" and - if it was found - create the BonoboZoomableFrame, bind it to the BonoboZoomable and connect the "zoom_level_changed" and the "zoom_parameters_changed" signals. (nautilus_view_frame_is_zoomable): Return `view->zoomable_frame != NULL'. (nautilus_view_frame_get_zoom_level): Check whether view->zoomable_frame is not NULL and call bonobo_zoomable_frame_get_zoom_level(). (nautilus_view_frame_set_zoom_level): Check whether view->zoomable_frame is not NULL and call bonobo_zoomable_frame_set_zoom_level(). (nautilus_view_frame_get_min_zoom_level): Check whether view->zoomable_frame is not NULL and call bonobo_zoomable_frame_get_min_zoom_level(). (nautilus_view_frame_get_max_zoom_level): Check whether view->zoomable_frame is not NULL and call bonobo_zoomable_frame_get_max_zoom_level(). (nautilus_view_frame_get_has_min_zoom_level): New function. Check whether view->zoomable_frame is not NULL and call bonobo_zoomable_frame_has_min_zoom_level(). (nautilus_view_frame_get_has_max_zoom_level): New function. Check whether view->zoomable_frame is not NULL and call bonobo_zoomable_frame_has_max_zoom_level(). (nautilus_view_frame_get_is_continuous): New function. Check whether view->zoomable_frame is not NULL and call bonobo_zoomable_frame_is_continuous(). (nautilus_view_frame_get_preferred_zoom_levels): If view->zoomable_frame is NULL, return NULL. Otherwise bonobo_zoomable_frame_get_preferred_zoom_levels() returns GList * of floats which we can just return. (nautilus_view_frame_zoom_in): If view->zoomable_frame is not NULL, call bonobo_zoomable_frame_zoom_in(). (nautilus_view_frame_zoom_out): If view->zoomable_frame is not NULL, call bonobo_zoomable_frame_zoom_out(). (nautilus_view_frame_zoom_to_fit): If view->zoomable_frame is not NULL, call bonobo_zoomable_frame_zoom_out(). (nautilus_view_frame_zoom_level_changed): Removed. * src/nautilus-zoom-control.c (NautilusZoomControlDetails): Added `has_min_zoom_level' and `has_max_zoom_level'. (draw_zoom_control_image): Call nautilus_zoom_control_can_zoom_in/out() to find out whether we can zoom. (zoom_menu_callback): Likewise. (nautilus_zoom_control_button_press_event): Likewise. (create_zoom_menu_item): Changed the type of the `zoom_level' argument from double to float. (nautilus_zoom_control_set_min_zoom_level): Removed. (nautilus_zoom_control_set_max_zoom_level): Removed. (nautilus_zoom_control_set_preferred_zoom_levels): Removed. (nautilus_zoom_control_set_parameters): New function. (nautilus_zoom_control_has_min_zoom_level): New function. (nautilus_zoom_control_has_max_zoom_level): New function. (nautilus_zoom_control_can_zoom_in): New function. (nautilus_zoom_control_can_zoom_out): New function. * src/file-manager/fm-directory-view.c: #include <bonobo/bonobo-zoomable.h> instead of <libnautilus/libnautilus-zoomable.h>. (FMDirectoryViewDetails): Changed the type of `zoomable' to BonoboZoomable. (fm_directory_view_preferred_zoom_levels): Made this an array of float, not double. (fm_directory_view_initialize): Create a new BonoboZoomable object here. (zoomable_zoom_in_callback): The first argument is now a BonoboZoomable. (zoomable_zoom_out_callback): The first argument is now a BonoboZoomable. (nautilus_zoom_level_from_double): Renamed into nautilus_zoom_level_from_float(). (zoomable_set_zoom_level_callback): The first argument is now a BonoboZoomable and the second one a float. (zoomable_zoom_to_fit_callback): The first argument is now a BonoboZoomable. (fm_directory_view_set_zoom_level): Call bonobo_zoomable_report_zoom_level_changed() instead of using nautilus_zoomable_set_zoom_level(). * src/nautilus-window-manage-views.c: (zoom_level_changed_callback): Don't call nautilus_zoom_control_set_min_zoom_level(), nautilus_zoom_control_set_max_zoom_level() and nautilus_zoom_control_set_preferred_zoom_levels() here. Use nautilus_zoom_control_can_zoom_in/out() to find out whether we can zoom in the calls to nautilus_bonobo_set_sensitive(). , (zoom_parameters_changed_callback): New callback function. Call nautilus_zoom_control_set_parameters() and - if the zoom_level is not 0.0 - zoom_level_changed_callback(). * components/adapter/nautilus-zoomable-proxy.[ch]: New files. * components/adapter/Makefile.am (nautilus_adapter_SOURCES): Added nautilus-zoomable-proxy.c and nautilus-zoomable-proxy.h. * components/adapter/nautilus-adapter-embed-strategy.c (NautilusAdapterEmbedStrategyClass): Added new virtual signal `get_zoomable' which must be overridden. (nautilus_adapter_embed_strategy_initialize_class): Assign it here. (nautilus_adapter_embed_strategy_get_zoomable): New static function; call the virtual `get_zoomable' in the derived class. * components/adapter/nautilus-adapter-control-embed-strategy.c: (nautilus_adapter_control_embed_strategy_initialize_class): Assign nautilus_adapter_control_embed_strategy_get_zoomable() as handler of the `get_zoomable' signal. (nautilus_adapter_control_embed_strategy_new): QI the Control for "IDL:Bonobo/Zoomable:1.0" and pass it to nautilus_zoomable_proxy_get() if found and store the return value in strategy->details->zoomable. (nautilus_adapter_control_embed_strategy_get_zoomable): New static function; return strategy->details->zoomable which is set in nautilus_adapter_control_embed_strategy_new(). * components/adapter/nautilus-adapter-embeddable-embed-strategy.c: (nautilus_adapter_embeddable_embed_strategy_initialize_class): Assign nautilus_adapter_embeddable_embed_strategy_get_zoomable() as handler of the `get_zoomable' signal. (nautilus_adapter_embeddable_embed_strategy_new): QI the View for "IDL:Bonobo/Zoomable:1.0" and pass it to nautilus_zoomable_proxy_get() if found and store the return value in strategy->details->zoomable. (nautilus_adapter_embeddable_embed_strategy_get_zoomable): New static function; return strategy->details->zoomable which is set in nautilus_adapter_embeddable_embed_strategy_new(). * components/adapter/nautilus-adapter.c: (nautilus_adapter_new): Call nautilus_adapter_embed_strategy_get_zoomable(embed_strategy) and bonobo_add_interface() it to the control if found. * components/image-viewer/nautilus-image-view.c: Rewrote the Nautilus image viewer to be a BonoboControl, to add zoomable support to it and to merge back everything from bonobo-image-generic into it.
* Use gdk_fontset_load() instead of gdk_font_load() to make i18n workRamiro Estrugo2000-10-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * libnautilus-extensions/nautilus-font-factory.c: (font_hash_node_lookup_with_insertion), (nautilus_font_factory_get_fallback_font): * libnautilus-extensions/nautilus-gdk-extensions.c: (nautilus_get_largest_fitting_font), (nautilus_gdk_font_get_bold): * libnautilus-extensions/nautilus-gtk-extensions.c: (nautilus_gtk_widget_set_font_by_name): * libnautilus-extensions/nautilus-icon-factory.c: (embed_text): * src/nautilus-zoom-control.c: (draw_number): Use gdk_fontset_load() instead of gdk_font_load() to make i18n work better. Also marked some hard-coded fonts fot localization. There is still an open bug on writing useful comments about these for the localizers. Fixes bugs 3143 and 3144. Thanks to Yukihiro Nakai <ynakai@redhat.com> for pointing these problems out providing patches to fix them. * src/nautilus-profiler.c: (window_print_button_callback), (window_save_button_callback), (dump_dialog_new), (dump_dialog_show): Same as above plus mark some strings for localization and add assertions to currently unimplemented functions.
* Fixed bug bug 3264 (Tree view shows no branches for directories,Darin Adler2000-09-261-11/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...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.
* Some work on the "sidebar panel has failed" situation.John Sullivan2000-09-251-6/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/nautilus-window-manage-views.c: (nautilus_window_update_state): Don't report sidebar panel failure when the view that failed was the content view. Doh! It had been putting up two dialogs, one for the content view and one for some mysterious unknown sidebar panel. (nautilus_window_set_state_info): Added a g_warning when the state is set to VIEW_ERROR. This will stop in the debugger to make it easier to tell what's generating the error (but without the debugger will just spew one line of spam). (nautilus_window_end_location_change_callback): Check if window is visible before trying to set the initial position. This prevents a return_if_fail complaint in some cases in the window-position-saving code when using use-new-window mode. Fixed bug 3262 (Zoom control context menu should use radio buttons, not checkboxes) * src/nautilus-zoom-control.c: Added marking_menu_items boolean to details struct. (create_zoom_menu_item): Now takes a radio button item as a parameter (from which to get the group) and returns the new radio button item (to use for the next time) and sets marking_menu_items to TRUE while creating menu items. Oh yeah, also creates a radio item instead of a check item. (zoom_menu_callback): Now bails out early if marking_menu_items. (create_zoom_menu): Passes the result of each create_zoom_menu_item into the next call, to get all the radio items in the same group.
* Fixed bug 3071 (zoom control right-click menu doesn't work)John Sullivan2000-09-141-0/+1
| | | | | | | The recent change from doubles to floats broke this, because some function pointers had been cast to gpointer so that the compiler didn't notice that they were casting CORBA_float to CORBA_double.
* Fixed by using the widget->allocation.width in the centering calculation,Andy Hertzfeld2000-09-131-3/+3
| | | | | Fixed by using the widget->allocation.width in the centering calculation, instead of the passed-in box width.
* fixed bug 2979, numbers in zoom control need to prelight, too.Andy Hertzfeld2000-09-121-1/+13
| | | | fixed bug 2979, numbers in zoom control need to prelight, too.
* fixed bug 1246, by moving the sidebar event initialization code from theAndy Hertzfeld2000-09-081-10/+103
| | | | | | | | fixed bug 1246, by moving the sidebar event initialization code from the nautilus window class to the sidebar itself. fixed bug 838, zoom control doesn't prelight, by receiving mouse motion events and prelighting as appropriate.
* Removed some special-case file names that aren't needed any more.Darin Adler2000-09-051-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * check-FIXME.pl: Removed some special-case file names that aren't needed any more. * libnautilus-extensions/nautilus-file-operations.c: (get_link_name): Added comments to help localizers. * libnautilus-extensions/nautilus-file.c: (nautilus_file_get_date_as_string): Added comments to help localizers. Deals with bug 2720 (Please add a comment to help localizers do date translations) * libnautilus-extensions/nautilus-icon-canvas-item.c: (draw_or_measure_label_text): Added a comment to help localizers. * src/file-manager/fm-directory-view.c: (fm_directory_view_display_selection_info): Unmarked one string that doesn't make sense to translate and adding a comment to another to explain why it is marked for translation. (add_separator): Changed add_open_with_gtk_menu_item into this function, which deals with bug 2735 (add_open_with_gtk_menu_item only called to create separator?). (create_open_with_gtk_menu): Call the new add_separator function. * src/nautilus-zoom-control.c: (create_zoom_menu_item): Added a comment to help localizers. * libnautilus-extensions/nautilus-link.c: (make_local_path): Fixed logic here that was doing strange things with URIs. This deals with bugs 2492 (Incorrect unescaping when dealing with link files), 2493 (Mysterious and probably incorrect "+7" when escaping URI for link file), and 2737 (link code must make path into URI). * libnautilus-extensions/nautilus-search-bar-criterion.c: * libnautilus-extensions/nautilus-search-bar-criterion.h: * po/POTFILES.in: Removed these duplicate files. Rebecca moved them to src, but she didn't remove the old ones. I didn't have to remove them from the makefile, since they were already removed, but I had to remove them from the list of files to translate. * src/nautilus-search-bar-criterion.h: * libnautilus-extensions/nautilus-search-uri.h: Moved some of the stuff from nautilus-search-bar-criterion.h to here, since it's really about search URIs, not specific to the search bar. Over time we will move more. * src/nautilus-search-bar-criterion.c: Added include of the nautilus-search-uri.h header now that stuff was moved there. * src/file-manager/fm-search-list-view.c: Fixed includes to get the nautilus-search-bar-criterion.h from its new location. This is not a real solution to the problem that was exposed by moving the search bar code. The bug 2815 covers this. * src/nautilus-complex-search-bar.c: Fix search bar so it gets the real location of the header. It was including the old one. * src/nautilus-simple-search-bar.c: Fix search bar so it gets the real location of the header. It was including the old one. * src/nautilus-main.c: (main): Some small cleanups including some additional parameter checking and returning a failure code to the invoking shell in the case where the parameters are not consistent.
* Fixed bug 2182 (right-clicking on zoom control changes zoom level)John Sullivan2000-08-291-1/+4
| | | | | | | * src/nautilus-zoom-control.c: (nautilus_zoom_control_button_press_event): Made the zoom control use Ramiro's nifty nautilus_pop_up_context_menu code to offset the menu position slightly.
* Made copyright headers consistent in style; also made sure to refer toMaciej Stachowiak2000-08-111-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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".
* made the context menu in the zoom control put a checkmark on the currentlyAndy Hertzfeld2000-08-101-4/+9
| | | | | made the context menu in the zoom control put a checkmark on the currently selected zoom level.
* Revert the subclass change i made. Turns out its not needed. The fix wasRamiro Estrugo2000-08-081-1/+1
| | | | | | | | | * src/nautilus-zoom-control.c: * src/nautilus-zoom-control.h: Revert the subclass change i made. Turns out its not needed. The fix was to make the Eazel theme grok the "GtkEventBox" style class - as all other "nice" themes do.
* Fix bug 2019. Zoom control doesnt play nicely with gtk themeRamiro Estrugo2000-08-071-37/+35
| | | | | | | | | | | | | | | | | | | | backgrounds. * src/nautilus-zoom-control.h: Subclass this beast from GtkMisc instead of GtkEventBox to get all the default widget behaviors. * src/nautilus-zoom-control.c: (nautilus_zoom_control_initialize_class), (nautilus_zoom_control_initialize), (draw_zoom_control_image), (nautilus_zoom_control_draw), (nautilus_zoom_control_expose): Change the code that drew the symbol backgrounds to clear their area instead of drawing a box. This causes the default background to be rendered instead of a blank area ironically. Also, clear the background before drawing the widget so that the we get the same effect as above on the whole widget.
* fixed bug 1897, zoom control numbers misplaced when changing search modeAndy Hertzfeld2000-08-041-1/+1
| | | | fixed bug 1897, zoom control numbers misplaced when changing search mode
* fixed bug where the increment and decrement images of the zoom controlAndy Hertzfeld2000-07-271-13/+48
| | | | | | fixed bug where the increment and decrement images of the zoom control were not being erased at the extremes; also, added ability to use custom numbers via a number strip image.
* added arlo's zoom control and adjusted the zoom control class to workAndy Hertzfeld2000-07-261-8/+57
| | | | | | added arlo's zoom control and adjusted the zoom control class to work properly with a wider range of images. also added a zoom control from Bud to experiment with in the vector theme