| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.in:
Remove nautilusclist cut-n-paste code.
* cut-n-paste-code/widgets/Makefile.am:
* cut-n-paste-code/widgets/nautilusclist/.cvsignore:
* cut-n-paste-code/widgets/nautilusclist/Makefile.am:
* cut-n-paste-code/widgets/nautilusclist/nautilusclist.c:
* cut-n-paste-code/widgets/nautilusclist/nautilusclist.h:
Remove nautilusclist cut-n-paste code.
* libnautilus-extensions/nautilus-file-dnd.h:
* libnautilus-extensions/nautilus-file-dnd.c:
New file with Drag and Drop code that operated on NautilusFile
objects.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-list-column-title.c:
* libnautilus-extensions/nautilus-list-column-title.h:
* libnautilus-extensions/nautilus-list.c:
* libnautilus-extensions/nautilus-list.h:
* libnautilus-extensions/nautilus-ctree.c:
* libnautilus-extensions/nautilus-ctree.h:
* libnautilus-extensions/nautilus-drag.c:
* libnautilus-extensions/nautilus-drag.h:
Move these widget into eel.
* libnautilus-extensions/nautilus-icon-dnd.h:
* libnautilus-extensions/nautilus-icon-dnd.c:
Update for eel dnd code move.
* nautilus-installer/install-lib/Makefile.am:
* nautilus-installer/libtrilobite/Makefile.am:
Remove some voodoo that was needed for cut-n-paste code in
trilobite that no longer is among us.
* components/help/hyperbola-nav-tree.c:
* components/music/nautilus-music-view.c:
* components/rpmview/nautilus-rpm-verify-window.c:
* components/rpmview/nautilus-rpm-view-private.h:
* components/rpmview/nautilus-rpm-view.c:
* components/tree/nautilus-tree-view-dnd.c:
* components/tree/nautilus-tree-view-dnd.h:
* components/tree/nautilus-tree-view-private.h:
* components/tree/nautilus-tree-view.c:
* src/file-manager/fm-directory-view.c:
* src/file-manager/fm-list-view.c: (fm_list_view_initialize),
* src/nautilus-sidebar.c:
Update for clist, ctree, list and dnd code that now lives in eel.
Also do more #include cleanup.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libnautilus-extensions/nautilus-file-utilities.c:
* libnautilus-extensions/nautilus-file-utilities.h:
Move vfs extensions to eel.
* components/services/install-view/nautilus-service-install-view.c:
* components/services/install/server/main.c:
* components/services/inventory/eazel-inventory-collect-hardware.c:
(add_info):
* components/services/inventory/eazel-inventory-service.c:
(impl_Trilobite_Eazel_Inventory_upload):
* components/text/nautilus-text-view.c: (handle_service_menu_item):
* components/tree/nautilus-tree-view.c: (select_current_location),
(tree_load_location_callback), (got_activation_uri_callback):
* libnautilus-extensions/nautilus-bookmark.c:
(nautilus_bookmark_compare_with), (nautilus_bookmark_compare_uris),
(bookmark_file_changed_callback):
* libnautilus-extensions/nautilus-directory-async.c:
(top_left_cancel), (activation_uri_cancel), (top_left_start),
(activation_uri_start):
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_make_uri_canonical), (nautilus_directory_new),
(nautilus_directory_notify_files_moved),
(nautilus_self_check_directory):
* libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_items_in_trash),
(nautilus_drag_default_drop_action_for_icons):
* libnautilus-extensions/nautilus-file-operations.c:
(format_and_ellipsize_uri_for_dialog),
(nautilus_file_operations_copy_move):
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_internal),
(nautilus_file_get_parent_uri_for_display),
(nautilus_file_can_rename), (nautilus_file_get_uri_scheme),
(nautilus_file_is_in_trash), (nautilus_self_check_file):
* libnautilus-extensions/nautilus-icon-dnd.c:
(nautilus_icon_container_selection_items_local):
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_name_for_file),
(nautilus_icon_factory_get_emblem_icons_for_file):
* libnautilus-extensions/nautilus-link.c:
(nautilus_link_local_get_image_uri):
* libnautilus-extensions/nautilus-metafile.c:
(construct_private_metafile_vfs_uri), (metafile_read_cancel),
(metafile_read_restart):
* libnautilus-extensions/nautilus-tabs.c:
* libnautilus-extensions/nautilus-theme.c:
* libnautilus-extensions/nautilus-thumbnails.c:
(make_thumbnail_uri):
* libnautilus-extensions/nautilus-trash-file.c:
(nautilus_trash_file_initialize):
* libnautilus-extensions/nautilus-trash-monitor.c:
(nautilus_trash_files_changed_callback),
(nautilus_trash_monitor_initialize):
* src/file-manager/fm-desktop-icon-view.c:
(update_trash_link_and_delete_copies):
* src/file-manager/fm-directory-view.c: (show_trash_callback),
(trash_or_delete_files_common),
(fm_directory_view_trash_or_delete_files),
(fm_directory_view_move_copy_items):
* src/file-manager/fm-properties-window.c:
(is_merged_trash_directory):
* src/nautilus-application.c:
(nautilus_make_uri_list_from_shell_strv):
* src/nautilus-first-time-druid.c: (read_file_handle_cancel_cover),
(initiate_file_download):
* src/nautilus-location-bar.c: (try_to_expand_path),
(nautilus_location_bar_set_location),
(nautilus_location_bar_get_location),
(nautilus_location_bar_update_label):
* src/nautilus-profiler.c:
(nautilus_profiler_bonobo_ui_report_callback):
* src/nautilus-property-browser.c: (add_pattern_to_browser),
(emblem_dialog_clicked):
* src/nautilus-sidebar.c: (receive_dropped_uri_list):
* src/nautilus-theme-selector.c: (add_theme_to_icons):
* src/nautilus-window-manage-views.c: (set_displayed_location),
(check_bookmark_location_matches), (handle_go_elsewhere),
(viewed_file_changed_callback), (determined_initial_view_callback),
(open_location_prefer_existing_window_callback),
(report_redirect_callback):
* src/nautilus-window-menus.c: (show_bogus_bookmark_window):
Update for vfs extensions move to eel. Also cleanup the #include
state of some of these files. Removed unused #includes. Remove
some cut-n-paste code in services components and use the
extensions in eel directly.
|
|
|
|
|
| |
* libnautilus-extensions/Makefile.am:
Add missing header file.
|
|
|
|
|
|
|
|
|
|
|
| |
* components/notes/nautilus-notes.c: (do_destroy),
(notes_get_indicator_image), (make_notes_view), (main):
Use nautilus_view_standard_main to simplify and remove code.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_populate_pane): Code had N_() wrapped around
an empty string. That's a no-no. Calling _("") on empty string
gives you the complete translator info, which must be avoided.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-03 John Harper <jsh@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 7967 (Tree view uses non-standard colors instead of
gtk theme colors):
* libnautilus-extensions/nautilus-list.c,
libnautilus-extensions/nautilus-list.h
(nautilus_list_set_alternate_row_colors,
nautilus_list_set_background_color_offsets): new functions.
They give some control over how the list background is drawn.
The offsets function takes two offsets into the GtkStyle
structure (which should point to GdkColor structures)
* libnautilus-extensions/nautilus-ctree.c
(nautilus_ctree_init): call the above two functions with
suitable values to make the tree look like it used to, before
being derived from the NautilusList widget
|
|
|
|
|
|
|
| |
* libnautilus-extensions/nautilus-ellipsizing-label.c:
(recompute_ellipsized_text): Made ellipsizing labels
use middle-truncation, now that it's available (added
by Pavel recently, yay!).
|
|
|
|
|
|
| |
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_populate_pane): Added missing calls to
_() so things in the pane are translated.
|
|
|
|
|
|
|
|
| |
* libnautilus-extensions/nautilus-gdk-font-extensions.c:
Remove rogue unused #include.
* libnautilus-extensions/nautilus-text-caption.c:
Remove rogue unused #include.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
second total so it doesn't just appear and disappear.
Preparing for a fix to the nautilus-adapter process leaking when
Nautilus is terminated by Ctrl-C, I cleaned up some of the code
inside the adapter.
Improved the warning you get when neither /etc/mnttab nor
/proc/mounts can be opened.
Fix bug 6888 (when I view a large image, it appears first at 100%,
then zoomed to fit).
Re-added part of the code to make components go away when the main
program that is hosting them goes away. The X-window-based
solution is not working as well as I had hoped, so I'm re-adding
the 20-second-timeout-based solution.
* components/adapter/nautilus-adapter-embed-strategy.c:
(nautilus_adapter_embed_strategy_initialize_class),
(nautilus_adapter_embed_strategy_get),
(nautilus_adapter_embed_strategy_emit_open_location): Change the
strategy new functions to use more-normal reference rules. The
caller no longer expects them to "use up" a reference.
* components/adapter/nautilus-adapter-control-embed-strategy.c:
(nautilus_adapter_control_embed_strategy_destroy),
(nautilus_adapter_control_embed_strategy_new): Don't keep a
reference to the BonoboControl around after creating the frame.
* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
(nautilus_adapter_embeddable_embed_strategy_destroy),
(nautilus_adapter_embeddable_embed_strategy_new): Don't keep a
reference to the BonoboEmeddable around after creating the frame.
* components/image-viewer/nautilus-image-view.c: (redraw_control),
(scrolled_window_size_allocate_callback),
(control_factory_common), (init_bonobo_image_generic_factory):
Some name changes, and a fix so that we don't show the image first
at 100%, and then shrink to fit. The downside is that this might
be too hard-coded to the current behavior of Nautilus, but it's
better than flashing every time you open an image.
* components/services/trilobite/utils/.cvsignore: Ignore some
files in this new directory.
* libnautilus-extensions/nautilus-file-operations-progress.h:
* libnautilus-extensions/nautilus-file-operations-progress.c:
(nautilus_file_operations_progress_update), (close_callback),
(nautilus_file_operations_progress_destroy), (map_callback),
(delete_event_callback),
(nautilus_file_operations_progress_initialize),
(nautilus_file_operations_progress_initialize_class),
(nautilus_file_operations_progress_new),
(nautilus_file_operations_progress_set_total),
(nautilus_file_operations_progress_set_operation_string),
(nautilus_file_operations_progress_new_file),
(nautilus_file_operations_progress_clear),
(nautilus_file_operations_progress_update_sizes),
(delayed_close_callback), (nautilus_file_operations_progress_done):
Did a lot of code cleanups throughout the file, and added a new
call nautilus_file_operations_progress_done. Use this instead of
gtk_object_destroy so that the window can linger long enough for
the user to see it, if a copy was really fast.
* libnautilus-extensions/nautilus-file-operations.c:
(transfer_info_destroy), (parent_for_error_dialog),
(create_transfer_dialog), (handle_transfer_ok),
(handle_transfer_vfs_error): Change to use the new
nautilus_file_operations_progress_done call instead of
gtk_object_destroy when done with the progress dialog.
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_update_scroll_region): Fix indentation.
* libnautilus-extensions/nautilus-volume-monitor.c:
(get_current_mount_list): Replace cryptic g_return_if_fail message
with better-worded g_warning.
* libnautilus/nautilus-view.c: (set_frame_callback),
(widget_destroyed_callback),
(nautilus_view_construct_from_bonobo_control): Re-added code to
monitor the lifetime of the frame and self-destruct when the frame
goes away. The X-window-based solution wasn't working 100%, and
this solution does.
* src/nautilus-sidebar.c: (toggle_sidebar_panel),
(sidebar_for_each_sidebar_panel): Change object data key to use a
prefix that includes the word "nautilus". Tweak code that builds
the menu so that it always includes any panel that's displayed,
even if the user level says it shouldn't be there.
|
|
|
|
|
|
|
|
| |
reviewed by: John Harper <jsh@eazel.com>
* libnautilus-extensions/nautilus-background-canvas-group.c:
(nautilus_background_canvas_group_initialize_common):
Put back in call to gnome_canvas_set_dither.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* acconfig.h:
* configure.in:
Add a NAUTILUS_SOURCE_DIRECTORY that contains the location of the
nautilus source code, so that some checks can work without having
to do 'make install'
* components/services/install-view/nautilus-service-install-view.c:
(nautilus_service_install_view_initialize_class):
Initialize preferences so that smooth widgets and other nautilus
specific preferences work.
* components/services/summary/nautilus-summary-view.c:
(nautilus_summary_view_initialize_class):
Initialize preferences so that smooth widgets and other nautilus
specific preferences work.
* libnautilus-extensions/Makefile.am:
Remove macros that arent needed any more.
* libnautilus-extensions/nautilus-entry.h:
* libnautilus-extensions/nautilus-entry.c:
(nautilus_entry_initialize), (obscure_cursor),
(nautilus_entry_key_press), (nautilus_entry_motion_notify),
(nautilus_entry_set_text), (nautilus_entry_insert_text),
(nautilus_entry_delete_text), (nautilus_entry_initialize_class),
(nautilus_entry_set_special_tab_handling):
Make all the attributes private.
* libnautilus-extensions/nautilus-font-manager.c:
(at_exit_handler), (nautilus_free_static_storage_at_exit),
(gnome_vfs_init_if_needed), (font_description_table_add),
(font_description_table_new), (directory_contains_file),
(ensure_local_font_table),
(nautilus_font_manager_get_default_font),
(nautilus_font_manager_get_default_bold_font),
(nautilus_self_check_font_manager):
Remove dependency on nautilus-file-utilities. Update for new
machanism for finding data in the source directory so that checks
work even when Nautilus has not undergone 'make install.'
* libnautilus-extensions/nautilus-global-preferences.c:
(smooth_graphics_mode_changed_callback),
(nautilus_global_preferences_initialize):
Keep track of preferences smooth graphics mode changes and call
the new smooth widget api for changing the smoothness of all
tracked widgets.
* libnautilus-extensions/nautilus-scalable-font.c:
Remove a rogue unused #include.
* libnautilus-extensions/nautilus-smooth-widget.h:
* libnautilus-extensions/nautilus-smooth-widget.c:
(nautilus_smooth_widget_global_set_is_smooth),
(nautilus_smooth_widget_register):
Dont use preferences to track global smoothness changes. Add a
function to that instead.
* src/nautilus-location-bar.c: (nautilus_location_bar_initialize):
Update for privatized NautilusEntry attributes.
|
|
|
|
|
|
|
| |
* libnautilus-extensions/nautilus-global-preferences.c:
Moved the font preferences from the Icon & List Views
pane into the Appearance pane, and tweaked the wording.
It was too weird having the font choices in two places.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed bug 7918 (Preferences window wider than it needs to be)
This also fixes the bug where the HTTP Host text field was
a little shorter than the HTTP Location text field.
* libnautilus-extensions/nautilus-caption.h:
* libnautilus-extensions/nautilus-caption.c:
(nautilus_caption_set_extra_spacing): Renamed from
_set_spacing, since there's a minimum fixed amount
of spacing that's always used. The bug was that this
routine was (only) being used to align items by setting the
padding of the 2nd item in the box. This sets an equal
amount of blank space before and after the item, when
we only want the space before. Fixed by changing it to
use gtk_box_set_spacing instead.
(nautilus_caption_set_child): Don't use the spacing for
the padding here either.
* libnautilus-extensions/nautilus-preferences-item.h:
* libnautilus-extensions/nautilus-preferences-item.c:
(nautilus_preferences_item_set_caption_extra_spacing):
Renamed from _set_caption_spacing for clarity.
* libnautilus-extensions/nautilus-preferences-group.c:
(preferences_group_align_captions): Updated for name
change.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libnautilus-extensions/nautilus-preferences-item.c:
(nautilus_preferences_item_set_constrained_integer_values): When
the constrained interger values are change, we need to update the
displayed value as well, otherwise the very first time the
preferences dialogs shows, the selected entry will be wrong.
* libnautilus-extensions/nautilus-preferences.c:
(preferences_key_make_for_getter):
Fix for bug 7939 - preference value not set at Intermediate level
when defined at Novice and visible at Advanced.
The problem was that when a preference is not visible and it does
not have a default for the current user_level, then the default
value was 0. The fix was to do is to find the closest
(lowest) user_level with a good default and use that.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-sidebar-functions.h:
* libnautilus-extensions/nautilus-sidebar-functions.c:
(compare_view_identifiers), (sidebar_is_sidebar_panel_enabled),
(sidebar_is_sidebar_panel_enabled_cover),
(sidebar_get_sidebar_panel_view_identifiers),
(nautilus_sidebar_get_enabled_sidebar_panel_view_identifiers),
(nautilus_sidebar_panel_make_preference_key),
(nautilus_sidebar_for_each_panel):
New functions. Move sidebar and sidebar panel specific code used
throughout Nautilus to its own place.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_populate_sidebar_panels_callback),
(global_preferences_create_sidebar_panels_pane),
(global_preferences_install_sidebar_panel_defaults):
Move sidebar and sidebar panel specific code to
nautilus-sidebar-functions.[ch]. Simplify sidebar panel creation
a bit.
* libnautilus-extensions/nautilus-global-preferences.h:
Remove the sidebar panel NAMESPACE as preferences dont support
namespaces any more.
* src/nautilus-sidebar.c: (any_panel_matches_iid): Tiny anal
renaming.
(toggle_sidebar_panel): Simplify this function a bit. The
previous "dance" that the code was doing was not really
necessariy.
(sidebar_for_each_sidebar_panel),
(sidebar_add_panel_context_menu_items): Simplify a lot by using
the new sidebar panel iterator. Remove a bunch of oaf code which
is handled by the iterator in sidebar-functions. Also, only
create the menu items if the preference is visible at the current
user level.
(nautilus_sidebar_get_sidebar_panel_key): Yank this function as it
is not needed anymore.
* src/nautilus-window.c: (nautilus_window_for_each_sidebar_panel),
(nautilus_window_initialize): Keep track of sidebar panel changes
for each individual panel instead of trying to use the whole
namespace. The namespace thing was a broken feature of
preferences which is no longer supported.
(update_sidebar_panels_from_preferences): Update for new public
sidebar functions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libnautilus-extensions/nautilus-preferences-box.c:
(preferences_box_select_pane),
(preferences_box_category_list_recreate),
(nautilus_preferences_box_new),
(nautilus_preferences_box_find_pane):
If the preferences dialog is currently selecting a pane, then make
sure that pane gets selected again (if visible) after a user level
change.
* libnautilus-extensions/nautilus-preferences-box.h:
Small paramater name tweaking.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libnautilus-extensions/nautilus-preferences-item.h:
* libnautilus-extensions/nautilus-preferences-item.c:
(nautilus_preferences_item_update_showing): New function to update
the showing state of the item depending on preferences visibility.
(preferences_item_construct),
(preferences_item_value_changed_callback),
(preferences_item_create_enum),
(preferences_item_update_displayed_value): Make
update_displayed_value private. It no longer needs to be called
by the parent container. Since preference items now get updated
by value changed callbacks.
* libnautilus-extensions/nautilus-preferences-group.c:
(nautilus_preferences_group_update): No need to update the showing
state of the items over here. Simpy call the new preferences item
function to do this.
* libnautilus-extensions/nautilus-preferences-dialog.c:
(nautilus_preferences_dialog_initialize),
(nautilus_preferences_dialog_destroy):
Have the callback automatically removed. Small style tweaking.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libnautilus-extensions/nautilus-preferences-item.c:
(preferences_item_value_changed_callback),
(preferences_item_create_enum),
(preferences_item_create_short_enum),
(preferences_item_create_boolean),
(preferences_item_create_editable_string),
(preferences_item_create_editable_integer),
(preferences_item_create_constrained_integer),
(preferences_item_create_font),
(preferences_item_create_smooth_font):
Add value changed callbacks for the preference associated with
each item. In this callback, we update the diplay value of the
item. This way, regardless of when and where the preference
values change, the preferences dialog will always be up to date.
|
|
|
|
|
|
| |
* libnautilus-extensions/nautilus-preferences-item.c:
(preferences_item_update_constrained_integer): Remove a rogue
printf I left in by accident.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libnautilus-extensions/nautilus-global-preferences.c:
Changed from Mike Fleming to hide the proxy authentication
preferences when the "Use Proxy" preference is FALSE.
* libnautilus-extensions/nautilus-preferences-group.c:
(nautilus_preferences_group_add_item):
Change the item packing parameters so that items will be sized to
their natural sizes. Otherwise they fill the avaialable space and
screw up the usage of control preferences to properly hide items
and have everything update accordingly.
* libnautilus-extensions/nautilus-preferences-pane.c:
(preferences_pane_control_preference_changed_callback):
Force a queue resize when the pane is updated so that empty space
resulting from controlled preferences items being hidden will go
away.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libnautilus-extensions/nautilus-enumeration.h:
* libnautilus-extensions/nautilus-enumeration.c:
(nautilus_enumeration_new_from_tokens),
(nautilus_enumeration_get_entry_position),
(nautilus_enumeration_get_value_position),
(nautilus_enumeration_get_entries),
(nautilus_self_check_enumeration):
New functions to make this data structure more useful and easier
to use. Also added self checks.
* libnautilus-extensions/nautilus-preferences-item.c:
(preferences_item_destroy),
(preferences_item_update_constrained_integer),
(constrained_integer_changed_callback),
(nautilus_preferences_item_set_constrained_integer_values):
Use a NautilusEnumeration instead of maintaing 2 lists of entries
and values ourselves. Makes this code a little bit simpler.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Part of bug 4832
Added preferences for HTTP proxy username/password.
Really, this is sub-optimal:
o The first-time druid still doesn't have UI for this
o The password is presented and stored in the clear (? does this matter?
It's transmitted in the clear, too)
o If the user is using an HTTP proxy that requires authentication, but
have not filled out the username/password correctly, they get an
"Access Denied" dialog
o There's no way to tell embedded mozilla about this (bug 74171), so
embedded mozilla prompts the user again for the password
* libnautilus-extensions/nautilus-global-preferences.c:
* libnautilus-extensions/nautilus-global-preferences.h:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_create_dialog),
(global_preferences_populate_pane):
No need to explicitly add pane update callbacks for control
preference. These happen automatically as needed now.
* libnautilus-extensions/nautilus-preferences-pane.h:
* libnautilus-extensions/nautilus-preferences-pane.c:
(nautilus_preferences_pane_destroy),
(nautilus_preferences_pane_find_group),
(preferences_pane_control_preference_changed_callback),
(nautilus_preferences_pane_add_control_preference):
New function to add control preferences to the pane. For each
unique control preference, a callback will be added to update the
pane so that control actions (such as hiding or showing items) can
take place as needed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* components/text/nautilus-text-view.c: (merge_bonobo_menu_items):
Add a FIXME for a bug.
* libnautilus-extensions/nautilus-gconf-extensions.h:
* libnautilus-extensions/nautilus-gconf-extensions.c:
(nautilus_gconf_get_value), (nautilus_gconf_value_is_equal),
(nautilus_gconf_value_free): New convenience functions for using
GConf values directly.
* libnautilus-extensions/nautilus-gdk-font-extensions.c:
Remove a FIXME for a bug i fixed recently.
* libnautilus-extensions/nautilus-preferences.c:
(preferences_callback_entry_invoke_function),
(preferences_entry_invoke_callbacks_if_needed),
(preferences_something_changed_notice),
(preferences_global_table_check_changes_function),
(preferences_entry_update_cached_value),
(preferences_entry_ensure_gconf_connection),
(preferences_callback_entry_free_func), (preferences_entry_free),
(preferences_global_table_insert):
Fix bug 5875 - Preference callbacks should only trigger when
values change.
The problem was twofold. First, when the user level changed, we
would invoke all callbacks regardless of whether the value had
changed or not. Second, when a GConf value changed notice
triggered, we would invoke the corresponding Nautilus preference
callback regardless of whether the value according to Nautilus
changed or not.
The fact that Nautilus preferences have a visibility attribute
means that even if the GConf value changes, they may have a
different value (a default due to high visibility for example)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libnautilus-extensions/nautilus-preferences.c:
(update_auto_integer_or_boolean): Removed bogus return_if_fail.
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_initialize_class): Set up auto-storage
variable for click policy preference.
(button_press_event): Use auto-storage variable instead of
calling nautilus_preferences_get.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize_class): Set up auto-storage variables
for three preferences checked elsewhere in this class.
(open_alternate_callback), (open_location), (confirm_delete_directly),
(confirm_delete_from_trash), (fm_directory_view_activate_files):
Use auto-storage variables instead of calling nautilus_preferences_get.
(confirm_trash_changed_callback), (enable_delete_changed_callback):
Removed these functions.
(real_update_menus): Removed code setting up callbacks to update
static variables when the preference changed. The auto-storage
variables have the same effect with much less code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed bug 7913 (fm_get_text_attribute_names_preference
should cache preference value for speed)
Fixed bug 7914 (nautilus_icon_canvas_item_initialize
should cache smooth_font for speed)
Added a new way to stay up-to-date with the value of a
preference: you register a (typically global) variable
with a particular preference, and the preferences machinery
updates its value automatically whenever the preference
changes. This is a replacement for using
nautilus_preferences_get (and _get_integer and _get_boolean)
repeatedly, and is much more efficient. We might eventually
replace all the callers of _get_xxx with calls to this, and
remove those calls entirely.
I deployed this in the two specific cases Pavel found with
profiling (bugs 7913 & 7914) and some more places. I'll
deploy it in more places still later.
* libnautilus-extensions/nautilus-preferences.h:
* libnautilus-extensions/nautilus-preferences.c:
(update_auto_string), (update_auto_integer_or_boolean):
New helper functions to update an individual auto-storage variable.
(preferences_entry_update_auto_storage): New function, updates
all auto-storage variables for a particular preference.
(preferences_something_changed_notice): update auto-storage variables
before calling callbacks.
(preferences_entry_ensure_gconf_connection): New function, extracted
from preferences_entry_add_callback.
(preferences_entry_add_callback): Now calls extracted function.
(preferences_entry_add_auto_storage): New function, adds a single
auto-storage variable for a given preference.
(preferences_entry_check_remove_connection): New function, extracted
from preferences_entry_remove_callback.
(preferences_entry_remove_callback): Now calls extracted function.
(preferences_entry_remove_auto_storage): New function, removes a single
auto-storage variable for a given preference.
(preferences_entry_free): Free the auto-storage list.
(nautilus_preferences_add_auto_string),
(nautilus_preferences_add_auto_integer),
(nautilus_preferences_add_auto_boolean),
(nautilus_preferences_remove_auto_string),
(nautilus_preferences_remove_auto_integer),
(nautilus_preferences_remove_auto_boolean): Public cover functions
for the three basic types of auto-storage variables.
(nautilus_preferences_remove_callback): Fixed small bug where this
function would unnecessarily add an entry before removing it.
* libnautilus-extensions/nautilus-font-factory.c:
(nautilus_font_factory_get_font_from_preferences):
Reworked to use auto-storage variable.
* libnautilus-extensions/nautilus-global-preferences.c:
(nautilus_global_preferences_initialize): Set up auto-storage
variables for icon view & default smooth font preferences.
(global_preferences_get_smooth_font),
(global_preferences_get_smooth_bold_font): Changed to take
font file name instead of preferences name.
(nautilus_global_preferences_get_icon_view_smooth_font),
(nautilus_global_preferences_get_default_smooth_font),
(nautilus_global_preferences_get_default_smooth_bold_font):
Use auto-storage variables.
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(nautilus_icon_canvas_item_initialize_class): Set up
auto-storage variable for click policy preference.
(in_single_click_mode): Use auto-storage variable.
* libnautilus-extensions/nautilus-icon-factory.c:
(should_display_image_file_as_itself): Use auto-storage
variable for thumbnail policy.
* src/file-manager/fm-icon-text-window.c:
(fm_get_text_attribute_names_preference): Use auto-storage
variable for icon captions.
* src/file-manager/fm-icon-view.c:
(should_preview_sound): Use auto-storage variable for
sound-preview preference.
(fm_icon_view_initialize_class): Set up auto-storage variable
for sound-preview preference.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libnautilus-extensions/nautilus-file-operations.c:
(sync_transfer_callback): Don't send out notifications in the case
where we did a no-op move on top of self.
(nautilus_file_operations_copy_move): Get rid of code that
complains about move on top of self, since that's no longer
considered an error.
* configure.in: We require the new gnome-vfs now because we need
the code that handles move to self better.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-29 Pavel Cisler <pavel@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-gdk-font-extensions.c:
(nautilus_string_ellipsize_start):
Rework to only measure one character width at a time when zeroing
in on the right width.
* libnautilus-extensions/nautilus-gdk-font-extensions.c:
(nautilus_string_ellipsize_end),
(nautilus_string_ellipsize_middle),
* libnautilus-extensions/nautilus-gdk-font-extensions.h:
Add nautilus_string_ellipsize_middle and nautilus_string_ellipsize_end.
* libnautilus-extensions/nautilus-gdk-font-extensions.c:
(nautilus_self_check_ellipsize),
(nautilus_self_check_ellipsize_start),
(nautilus_self_check_ellipsize_middle),
(nautilus_self_check_ellipsize_end),
(nautilus_self_check_gdk_font_extensions):
Add test cases for the new calls.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libnautilus-extensions/nautilus-background-canvas-group.c:
Comment out call to gnome_canvas_set_dither because it no
longer serves a useful purpose and it removes our dependancy
on using a gnome-libs > 1.2.8 - bug 7922.
(nautilus_background_canvas_group_initialize_common):
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_destroy):
* libnautilus-extensions/nautilus-background.h:
* libnautilus-extensions/nautilus-directory-background.c:
(theme_image_path_to_uri),
(nautilus_file_background_get_default_settings_for_theme),
(nautilus_file_background_get_default_settings),
(nautilus_file_background_read_desktop_settings),
(nautilus_file_background_write_desktop_settings),
(nautilus_file_background_write_desktop_default_settings),
(nautilus_file_background_matches_default_settings),
(nautilus_file_background_is_set), (background_changed_callback),
(initialize_background_from_settings):
* src/nautilus-sidebar.c: (background_settings_changed_callback),
(nautilus_sidebar_update_appearance):
Remove combine mode from nautilus-background. It no longer serves
any purpose (background always draw dithered now) - bug 2190 & 5516.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix bug 7915 (update_font called repeatedly causes slowdown).
Fix black line on right side of icon view that I introduced when I
was doing the cut/copy/paste work.
* libnautilus-extensions/nautilus-label.h:
* libnautilus-extensions/nautilus-label.c:
(nautilus_label_set_text): Add a boolean result to tell whether
the label text was changed for the convenience of callers who want
to do work only if it changes.
* src/nautilus-sidebar-title.c: (update_title): Only call
update_font if the title changed.
* src/file-manager/fm-directory-view.c: (real_realize): Set
background to the normal background from the style. Now we see a
gray background again instead of a black one.
(fm_directory_view_initialize_class): Set scrollbar_spacing to 0
since the extra 3 pixels don't do us any good.
|
|
|
|
|
|
|
|
|
| |
Josh noticed that the special "thumbnail is loading" icon
was no longer used. Darin and I found the problem.
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_for_file): Store URI rather
than local path for special "loading" image.
|
|
|
|
|
|
|
| |
* libnautilus-extensions/nautilus-global-preferences.c:
At TigerT's suggestion, changed default thumbnail image
limit from 1 MB to 3 MB to cover the range of most
current digital cameras.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed bug 3328 (Need a preference to specify upper bounds for
thumbnailing)
In Speed Tradeoffs at Advanced level, you can now choose an
upper bound for image file size that will get thumbnailed.
* libnautilus-extensions/nautilus-global-preferences.c:
* libnautilus-extensions/nautilus-global-preferences.h:
Add thumbnail limit preference.
* libnautilus-extensions/nautilus-icon-factory.c:
(destroy_icon_factory), (get_icon_factory): Add and
remove callback for thumbnail-limit preference.
(thumbnail_limit_changed_callback): Store new value in global
variable; send icons-changed signal.
(nautilus_icon_factory_get_icon_for_file): Use global
variable instead of constant when determining thumbail limit.
* libnautilus-extensions/nautilus-preferences-item.c:
(preferences_item_update_constrained_integer): Check the
label strings correctly; this was working for the font size
menus only because the label strings were just the number
printf'ed into a string.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-28 John Harper <jsh@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>
Re-fixed bug 6820 (directory sort order is different in tree
view):
* components/tree/nautilus-tree-view.c: realized that I can get
the tree model node directly from the row's data pointer,
there's no need to map the row to a node (which is a linear
operation). Also, cache the clist->tree-view mapping to avoid a
call to gtk_object_data_get each comparison
(create_tree): enabled the custom comparison function
Work to share more drawing code between NautilusList and
NautilusCTree:
* libnautilus-extensions/nautilus-ctree.c (get_cell_style,
draw_cell_pixbuf): deleted. Use similarly named nautilus_list_
functions instead
(draw_row): only draw the special tree pixbuf if `height > 0'.
This fixes a weird clipping bug
* libnautilus-extensions/nautilus-list.c (get_cell_style,
draw_cell_pixbuf): renamed as nautilus_list_X
Ensure that the list view fetches the correct icons (i.e.
special anti-aliased images if the view is in smooth mode)
* libnautilus-extensions/nautilus-list.c
(nautilus_list_is_anti_aliased): new function
* src/file-manager/fm-list-view.c
(fm_list_view_update_smooth_graphics_mode): call update_icons
(fm_list_view_get_emblem_pixbufs_for_file, install_row_images):
pass the correct aa mode to the icon factory
Draw tree-view icons in smooth mode when appropriate:
* components/tree/nautilus-tree-view.c
(update_smooth_graphics_mode,
smooth_graphics_mode_changed_callback): new functions. As yet
they don't refetch all icons when the smooth preference
changes..
Fixed the bug introduced recently where the tree gets a title
bar:
* libnautilus-extensions/nautilus-list.c
(nautilus_list_realize): don't turn on titles
* src/file-manager/fm-list-view.c (create_list): set the
CLIST_SHOW_TITLES flag
|
|
|
|
|
|
|
|
|
|
| |
2001-03-28 Jason Leach <jasonleach@usa.net>
reviewed by: Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-directory-private.h: builddir !=
srcdir fix by changing #include "nautilus-idle-queue.h" to
#include <libnautilus/nautilus-idle-queue.h>.
|
|
|
|
|
|
|
| |
* libnautilus-extensions/nautilus-global-preferences.c:
Tweaked wording of font & font size preferences. They're
still a little awkward, but I think mostly in ways that
reflect their actual use, which is still a little awkward.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Followup on my recent tree change to get rid of some flicker.
* components/tree/nautilus-tree-view.c:
(set_selected_row_position): Only scroll the view if the row isn't
already in the right position. Prevents the case where it scrolls
by less than a whole row.
* cut-n-paste-code/widgets/nautilusclist/nautilusclist.h:
* cut-n-paste-code/widgets/nautilusclist/nautilusclist.c:
(nautilus_clist_thaw), (nautilus_clist_check_unfrozen),
(real_resize_column), (real_row_move), (resync_selection),
(nautilus_clist_map), (nautilus_clist_style_set),
(real_sort_list):
Add code to detect changes and only redraw when actual changes
happen. Also make freeze/thaw with no changes between them a no-op
by having the frozen check schedule a refresh at thaw time as a
side effect. It used to do a refresh every time it got thawed. Add
calls to do refresh for all cases where the old code was counting
on thaw implying a full refresh.
* libnautilus-extensions/nautilus-ctree.c: (real_tree_move),
(real_select_all), (nautilus_ctree_insert_gnode),
(nautilus_ctree_remove_node), (nautilus_ctree_expand_recursive),
(nautilus_ctree_expand_to_depth),
(nautilus_ctree_collapse_recursive),
(nautilus_ctree_collapse_to_depth),
(nautilus_ctree_toggle_expansion_recursive),
(nautilus_ctree_real_select_recursive),
(nautilus_ctree_set_node_info), (nautilus_ctree_set_indent),
(nautilus_ctree_set_spacing), (nautilus_ctree_set_line_style),
(nautilus_ctree_sort_recursive), (nautilus_ctree_sort_node),
(nautilus_ctree_sort_single_node):
Use the new unfrozen check that has a side effect of making the
next thaw do a refresh. Add the new refresh calls that are needed
now that thaw doesn't always do a refresh. Removed some
unnecessary drawing for cases where things haven't changed.
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_track_new_column_width):
Use the new unfrozen check that has a side effect of making the
next thaw do a refresh.
* src/file-manager/fm-list-view.c: (fm_list_view_set_zoom_level):
Formatting tweak.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* components/text/nautilus-text-view-ui.xml:
* components/text/nautilus-text-view.c: (merge_bonobo_menu_items):
* libnautilus-extensions/nautilus-font-factory.c:
(nautilus_font_factory_get_font_by_family):
Change "default" to "GTK System Font." Also add a FIXME for the fact
that the string "GTK System Font" is hard coded in many places.
Im going to fix this better in a bit.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_populate_pane):
Add documentation for the preference and preference dialog item
structures and tables. Also cleanup a bit of cruft left over from
the last checkin.
* libnautilus-extensions/nautilus-preferences-item.c:
(nautilus_preferences_item_initialize), (preferences_item_destroy),
(preferences_item_create_constrained_integer),
(preferences_item_create_font),
(constrained_integer_changed_callback),
(nautilus_preferences_item_set_constrained_integer_values):
* libnautilus-extensions/nautilus-preferences-item.h:
Add support for having the constrained integer values be
independent of the labels.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
7343 - Fonts checks should work even when nautilus has not
undergone 'make install'
7703 - index status dialog is mixing gnome dialog font and
nautilus custom font
7204 - Need a better way to pick a fallback font
1102 - Embedded text should use preferences to determine the font
it uses
7357 - Preferences dialog spews critical in the ja_JP locale
7344 - NautilusScalable should not be doing any preferences
peeking
7345 - Default font "helvetica" hard coded and marked for
translatation in many places
7834 - Should mark selected style in font picker menu
5239 - Please make the text viewer use a fixed-width font
7401 - Non smooth font family picker should have a "GTK System
Font" entry
Work in progress for related bugs:
5101 - font sizes hard-coded in icon view
5456 - Sidebar tabs use hard coded font families
7670 - Font size is small in list view.
reviewed by: Glynn Foster <glynn.foster@ireland.sun.com>
* components/notes/nautilus-notes.c: (make_notes_view):
Dont translate the font name.
* components/text/nautilus-text-view-ui.xml:
Add default and fixed entries.
* components/text/nautilus-text-view.c:
(nautilus_text_view_initialize_class),
(nautilus_text_view_initialize), (nautilus_text_view_destroy),
(nautilus_text_view_update_font), (handle_ui_event),
(merge_bonobo_menu_items), (nautilus_text_view_zoom_to_level),
(zoomable_zoom_to_fit_callback), (font_changed_callback):
Dont store the font name and size. Compute these as needed. Use
deltas instead of hard coded font sizes to compute the font size
for a given zoom level. Store the font changes in preferences.
* libnautilus-extensions/nautilus-caption.c:
(nautilus_caption_initialize), (nautilus_caption_set_title_label),
(nautilus_caption_get_title_label),
(nautilus_caption_get_title_label_width),
(nautilus_caption_set_child), (nautilus_caption_set_spacing):
* libnautilus-extensions/nautilus-caption.h:
Add support for nice caption alignments.
* libnautilus-extensions/nautilus-directory.c:
(add_preferences_callbacks), (remove_preferences_callbacks):
A bit of a hack. Keep track of changes in the default smooth font
so that embedded icon text previews can be updated as needed.
* libnautilus-extensions/nautilus-font-factory.c:
(nautilus_font_factory_get_font_by_family),
A temporary hack for default system font usage. In a future
checkin this will not be needed anymore.
(nautilus_font_factory_get_font_from_preferences):
Dont translate font names anymore.
* libnautilus-extensions/nautilus-font-manager.c:
(font_description_new), (font_description_free),
(font_description_get_char_set), (font_description_table_for_each),
(font_list_find_bold_callback), (get_test_font_dir),
(nautilus_self_check_font_manager):
* libnautilus-extensions/nautilus-font-manager.h:
Merge char_set_registry and char_set_encoding into one string
'char_set.' Make the font checks work even if nautilus has not
undergone 'make install'
* libnautilus-extensions/nautilus-font-picker.c:
(nautilus_font_picker_initialize), (nautilus_font_picker_destroy),
(font_picker_populate), (font_make_style_name),
(font_style_entry_new), (compare_style),
(global_font_list_populate_callback):
* libnautilus-extensions/nautilus-font-picker.h:
Sublcass the font picker from NautilusCaption so that it will
nicely align in the preferences dialog.
Mark selected style in font picker menus by using radio buttons.
Fix a storage leak on destruction.
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_compare_integer), (nautilus_self_check_glib_extensions):
* libnautilus-extensions/nautilus-glib-extensions.h:
New GCompare function for integers.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_defaults),
(global_preferences_create_dialog),
(global_preferences_create_search_pane),
(global_preferences_create_sidebar_panels_pane),
(global_preferences_pane_update_callback),
(global_preferences_get_dialog),
(global_preferences_install_sidebar_panel_defaults),
(global_preferences_make_sidebar_panel_key),
(global_preferences_is_sidebar_panel_enabled),
(global_preferences_install_home_location_defaults),
(global_preferences_install_font_defaults),
(global_preferences_install_medusa_defaults),
(global_preferences_populate_pane),
(global_preferences_get_smooth_font),
(global_preferences_get_smooth_bold_font),
(nautilus_global_preferences_get_icon_view_smooth_font),
(nautilus_global_preferences_get_default_smooth_font),
(nautilus_global_preferences_get_default_smooth_bold_font),
(nautilus_global_preferences_initialize):
* libnautilus-extensions/nautilus-global-preferences.h:
Simplify the creation of preferences by using structures to
describe both preferences and preference fialog entries.
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_get_system_font):
* libnautilus-extensions/nautilus-gtk-extensions.h:
New function to obtain the "Gtk System Font."
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(nautilus_icon_canvas_item_initialize_class),
(nautilus_icon_canvas_item_set_arg),
(nautilus_icon_canvas_item_get_arg),
(nautilus_icon_canvas_item_set_smooth_font_size):
* libnautilus-extensions/nautilus-icon-canvas-item.h:
Use signed integers for the font dimensions.
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_initialize),
(nautilus_icon_container_update_icon),
(nautilus_icon_container_theme_changed),
(nautilus_icon_container_set_font_size_table):
* libnautilus-extensions/nautilus-icon-container.h:
* libnautilus-extensions/nautilus-icon-private.h:
Dont translate the font names. Rename the font size table to
better reflect its purpose. Use signed integers for font sizes.
* libnautilus-extensions/nautilus-icon-factory.c:
(embedded_text_font_changed_callback), (embedded_text_font_free),
(embed_text):
Keep track of changes in the smooth font used for embedded text so
that the icon text previews will update as needed.
* libnautilus-extensions/nautilus-preferences-box.c:
(nautilus_preferences_box_find_pane):
* libnautilus-extensions/nautilus-preferences-box.h:
New function to find a named pane.
* libnautilus-extensions/nautilus-preferences-group.c:
(preferences_group_align_captions),
(nautilus_preferences_group_update),
(nautilus_preferences_group_get_title_label):
* libnautilus-extensions/nautilus-preferences-group.h:
Add support for aligning captions.
* libnautilus-extensions/nautilus-preferences-item.c:
(nautilus_preferences_item_initialize),
(preferences_item_construct), (preferences_item_update_enum),
(preferences_item_create_enum),
(preferences_item_update_short_enum),
(preferences_item_create_short_enum),
(preferences_item_update_boolean),
(preferences_item_create_boolean),
(preferences_item_update_editable_string),
(preferences_item_create_editable_string),
(preferences_item_update_editable_integer),
(preferences_item_create_editable_integer),
(preferences_item_update_constrained_integer),
(preferences_item_create_constrained_integer),
(preferences_item_update_font), (preferences_item_create_font),
(preferences_item_update_smooth_font),
(preferences_item_create_smooth_font),
(nautilus_preferences_item_new),
(enum_radio_group_changed_callback),
(boolean_button_toggled_callback), (font_item_changed_callback),
(editable_string_changed_callback),
(editable_integer_changed_callback),
(constrained_integer_changed_callback),
(nautilus_preferences_item_update_displayed_value),
(preferences_item_update_editable_integer_settings_at_idle),
(nautilus_preferences_item_get_control_showing),
(nautilus_preferences_item_set_constrained_integer_paramaters),
(nautilus_preferences_item_child_is_caption),
(nautilus_preferences_item_get_caption_title_label_width),
(nautilus_preferences_item_set_caption_spacing):
* libnautilus-extensions/nautilus-preferences-item.h:
Add a new CONSTRAINED INTEGER item type. Add support for aligning
captions.
Dont translate font names.
* libnautilus-extensions/nautilus-preferences-pane.c:
(nautilus_preferences_pane_add_group),
(nautilus_preferences_pane_add_item_to_nth_group),
(nautilus_preferences_pane_get_num_visible_groups),
(nautilus_preferences_pane_get_num_groups),
(nautilus_preferences_pane_find_group):
* libnautilus-extensions/nautilus-preferences-pane.h:
Add a function for finding a named group.
* libnautilus-extensions/nautilus-scalable-font.c:
(nautilus_scalable_font_get_default_font),
(nautilus_scalable_font_get_default_bold_font):
Dont peek preferences for the default fonts. These are now
handled in nautilus-global-preferences.
* libnautilus-extensions/nautilus-smooth-text-layout.c:
(smooth_text_layout_line_list_new),
(smooth_text_layout_line_list_new_wrapped),
(nautilus_smooth_text_layout_new),
(nautilus_smooth_text_layout_set_font_size):
Use signed integers for font sizes.
* libnautilus-extensions/nautilus-string-picker.c:
(nautilus_string_picker_initialize),
(nautilus_string_picker_set_string_list):
Update for Caption superclass changes. Dont make singleton
choices insensitive.
* libnautilus-extensions/nautilus-text-caption.c:
(nautilus_text_caption_initialize):
* libnautilus-extensions/nautilus-text-caption.h:
Update for Caption superclass changes. Fix errors in header comments.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize), (fm_directory_view_destroy):
* src/file-manager/fm-directory-view.h:
Remove knowledge of font stuff. The fonts for icon and list view
are now handled separately so each subclass will have to do its
own preferences listening.
* src/file-manager/fm-icon-view.c: (set_sort_criterion_by_id),
(font_changed_callback), (smooth_font_changed_callback),
(standard_font_size_changed_callback),
(fm_icon_view_initialize_class), (fm_icon_view_initialize),
(fm_icon_view_update_icon_container_font_size_table),
(fm_icon_view_update_icon_container_smooth_font),
(create_icon_container):
Keep track of icon view font changes. Use deltas to compute the
font sizes instead of hard coded point sizes.
* src/file-manager/fm-list-view.c: (fm_list_view_initialize_class),
(fm_list_view_initialize), (fm_list_view_update_font),
(font_or_font_size_changed_callback),
(fm_list_view_image_display_policy_changed):
Keep track of list view font changes. Use deltas to compute the
font sizes instead of hard coded point sizes.
* src/file-manager/nautilus-indexing-info.c:
(last_index_time_and_reindex_button_dialog_new),
(index_progress_dialog_new):
Dont use smooth labels mixed in with regular gtk labels.
* src/nautilus-sidebar-tabs.c:
(nautilus_sidebar_tabs_load_theme_data),
(smooth_font_changed_callback), (nautilus_sidebar_tabs_initialize),
(nautilus_sidebar_tabs_destroy):
Add macros and FIXME for hard coded font size. NULL out the tab_font
when its unreffed, otherwise all hell breaks lose when user level
changes. Update for default font changes.
* src/nautilus-sidebar-title.c: (smooth_font_changed_callback),
(nautilus_sidebar_title_initialize),
(nautilus_sidebar_title_destroy), (update_font):
Keep track of smooth font changes. Update for default font changes.
* test/test-nautilus-font-manager.c: (font_iterator_callback):
* test/test-nautilus-font-picker.c: (update_font),
(print_selected_font_callback), (main):
* test/test-nautilus-label-simple.c: (use_system_font_callback),
(use_system_font_bold_callback), (main):
Update for font picker and font manager changes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some tree view changes so it only does work when the tree view is
open, not when it's closed. Also improved speed by not creating so
many pixmaps, which required changing lots of classes to use
pixbufs instead of pixmaps.
* components/tree/libmain.c: (tree_shlib_object_destroyed),
(tree_shlib_make_object): Changed to use NautilusTreeView
subclass of NautilusView, not widget.
* components/tree/main.c: (main): Use standard main.
* components/rpmview/nautilus-rpm-view.c:
(file_activation_callback), (fill_filename_tree_int),
(fill_filename_tree), (nautilus_rpm_view_update_from_uri):
Update to use NautilusCList instead of GtkCList.
* components/tree/nautilus-tree-change-queue.h: Got rid of ADDED
(it's now the same as CHANGED).
* components/tree/nautilus-tree-model.h:
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_initialize_class): No more ADDED.
(destroy_file_hash): New function.
(nautilus_tree_model_destroy): Destroy deferral hashes.
(nautilus_tree_model_node_begin_monitoring): Use changed instead
of added.
(report_node_changed): Emit changed instead of added.
(process_file_change): New function.
(process_directory_done_loading): New function.
(add_file_to_hash): New function.
(nautilus_tree_model_directory_files_changed_callback),
(nautilus_tree_model_directory_done_loading_callback): Either put
the file in the hash table or send the notification.
(process_one_changed_file), (process_one_done_loading_file):
Helper functions to send notifications.
(nautilus_tree_model_set_defer_notifications): Start deferring
notifications by making hash tables. Stop deferring notifications
by sending out all the notifications and then getting rid of the
hash tables.
* components/tree/nautilus-tree-view.h:
* components/tree/nautilus-tree-view-private.h:
* components/tree/nautilus-tree-view.c:
(nautilus_tree_view_insert_model_node), (ctree_is_node_expanded),
(nautilus_tree_view_update_model_node),
(awaited_node_or_uri_found), (notify_done_loading),
(notify_node_seen), (get_selected_row),
(get_selected_row_position), (set_selected_row_position),
(dequeue_pending_idle_callback), (schedule_pending_idle_callback),
(unschedule_pending_idle_callback),
(nautilus_tree_view_load_from_filesystem), (ctree_compare_rows),
(create_tree), (tree_map_callback), (tree_unmap_callback),
(nautilus_tree_view_initialize), (nautilus_tree_view_destroy),
(get_uri_sequence_to_root),
(call_when_uri_loaded_or_parent_done_loading),
(cancel_selection_in_progress),
(expand_uri_sequence_and_select_end), (select_current_location),
(tree_load_location_callback), (got_activation_uri_callback),
(ctree_get_first_selected_node),
(nautilus_tree_view_update_all_icons),
(nautilus_tree_view_initialize_class):
Convert to use pixbufs instead of pixmaps. Convert to use
NautilusList instead of GtkCList. Fix storage leak of name.
Get rid of weak use of callback function pointers. Add feature
where the selected row is kept in position as new items are added.
Eliminated ADDED and jsut used CHANGED instead. Defer creating the
tree view until the first map. Turn off processing when unmapped.
Change NautilusTreeView to be NautilusView subclass, not a widget.
* components/tree/nautilus-tree-view-dnd.c:
(nautilus_tree_view_drag_begin), (nautilus_tree_view_drag_motion),
(get_data_on_first_target_we_support),
(nautilus_tree_view_button_press),
(nautilus_tree_view_button_release),
(nautilus_tree_view_motion_notify),
(nautilus_tree_view_set_dnd_icon),
(nautilus_tree_view_collapse_node),
(nautilus_tree_view_expand_or_collapse_row),
(nautilus_tree_view_tree_node_at), (auto_scroll_timeout_callback),
(nautilus_tree_view_real_scroll),
(nautilus_tree_view_collapse_all),
(nautilus_tree_view_receive_dropped_icons),
(nautilus_tree_view_drag_destroy),
(nautilus_tree_view_drag_destroy_real):
Switch from GtkCList to NautilusCList. Also get rid of code that
assumes NautilusTreeView is a widget. Also convert to use pixbufs
instead of pixmaps.
* cut-n-paste-code/widgets/nautilusclist/nautilusclist.h:
* cut-n-paste-code/widgets/nautilusclist/nautilusclist.c:
(nautilus_clist_optimal_column_width), (nautilus_clist_set_text),
(nautilus_clist_set_pixbuf), (nautilus_clist_get_pixbuf),
(nautilus_clist_set_pixtext), (nautilus_clist_get_pixtext),
(set_cell_contents), (cell_size_request), (real_insert_row),
(draw_row), (draw_rows), (row_delete):
Change to use pixbufs instead of pixmaps. Remove most of the
drawing code since this can only be used as a base class for
NautilusList anyway. Add boolean to set_cell_contents so it
redraws only if the cell has changed.
* libnautilus-extensions/nautilus-ctree.h:
* libnautilus-extensions/nautilus-ctree.c: (COLUMN_FROM_XPIXEL),
(nautilus_ctree_get_type), (nautilus_ctree_class_init),
(nautilus_ctree_set_arg), (nautilus_ctree_get_arg),
(nautilus_ctree_init), (ctree_attach_styles),
(ctree_detach_styles), (nautilus_ctree_realize),
(nautilus_ctree_event), (nautilus_ctree_unrealize),
(nautilus_ctree_button_press), (draw_drag_highlight),
(nautilus_ctree_row_at), (get_cell_rectangle),
(nautilus_ctree_set_prelight), (draw_cell_pixbuf),
(get_cell_style), (nautilus_ctree_draw_expander),
(nautilus_ctree_draw_lines), (draw_row), (tree_draw_node),
(nautilus_ctree_link), (nautilus_ctree_unlink), (real_row_move),
(real_tree_move), (change_focus_row_expansion), (real_tree_expand),
(real_tree_collapse), (column_auto_resize), (auto_resize_columns),
(cell_size_request), (set_cell_contents), (set_node_info),
(row_new), (row_delete), (real_select_row), (real_unselect_row),
(real_tree_select), (real_tree_unselect), (select_row_recursive),
(real_select_all), (real_unselect_all), (ctree_is_hot_spot),
(nautilus_ctree_construct), (real_insert_row),
(nautilus_ctree_insert_node), (nautilus_ctree_insert_gnode),
(real_remove_row), (nautilus_ctree_remove_node), (real_clear),
(nautilus_ctree_post_recursive),
(nautilus_ctree_post_recursive_to_depth),
(nautilus_ctree_pre_recursive),
(nautilus_ctree_pre_recursive_to_depth),
(nautilus_ctree_find_node_ptr), (nautilus_ctree_node_nth),
(nautilus_ctree_find), (nautilus_ctree_find_by_row_data),
(nautilus_ctree_find_all_by_row_data),
(nautilus_ctree_find_by_row_data_custom),
(nautilus_ctree_find_all_by_row_data_custom),
(nautilus_ctree_is_hot_spot), (nautilus_ctree_expand_recursive),
(nautilus_ctree_expand_to_depth),
(nautilus_ctree_collapse_recursive),
(nautilus_ctree_collapse_to_depth),
(nautilus_ctree_toggle_expansion_recursive),
(nautilus_ctree_real_select_recursive),
(nautilus_ctree_node_set_text), (nautilus_ctree_node_set_pixbuf),
(nautilus_ctree_node_set_pixtext), (nautilus_ctree_set_node_info),
(nautilus_ctree_node_set_shift), (remove_grab),
(nautilus_ctree_node_set_selectable),
(nautilus_ctree_node_get_cell_type),
(nautilus_ctree_node_get_text), (nautilus_ctree_node_get_pixbuf),
(nautilus_ctree_node_get_pixtext), (nautilus_ctree_get_node_info),
(nautilus_ctree_node_set_cell_style),
(nautilus_ctree_node_get_cell_style),
(nautilus_ctree_node_set_row_style), (nautilus_ctree_node_moveto),
(nautilus_ctree_node_is_visible), (nautilus_ctree_set_indent),
(nautilus_ctree_set_spacing), (nautilus_ctree_set_show_stub),
(nautilus_ctree_set_line_style), (tree_sort),
(nautilus_ctree_sort_recursive), (real_sort_list),
(nautilus_ctree_sort_node), (nautilus_ctree_sort_single_node),
(fake_unselect_all), (selection_find), (resync_selection),
(real_undo_selection), (check_drag), (drag_dest_info_destroy),
(drag_dest_cell), (nautilus_ctree_drag_begin),
(nautilus_ctree_drag_motion), (nautilus_ctree_drag_data_received):
Change to use NautilusList instead of GtkCList. Change to use
pixbufs instead of pixmaps. Use set_cell_contents boolean to only
redraw when cell has changed.
* libnautilus-extensions/nautilus-gtk-extensions.h:
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_marshal_POINTER__INT): Add new marshal needed for
the pixbuf version of a NautilusList call.
(nautilus_drag_set_icon_pixbuf): Helper to convert pixbuf to
a pixmap and mask for GTK's sake.
* libnautilus-extensions/nautilus-icon-dnd.c:
(nautilus_icon_dnd_begin_drag): Use nautilus_drag_set_icon_pixbuf.
* libnautilus-extensions/nautilus-list.h:
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_initialize_class), (nautilus_list_initialize_dnd),
(nautilus_list_initialize), (nautilus_list_destroy), (draw_cell),
(nautilus_list_mark_cell_as_link),
(nautilus_list_set_cell_contents), (set_list_cell),
(get_list_cell), (nautilus_list_drag_start),
(nautilus_list_receive_dropped_icons):
Take advantage of the new changes in NautilusCList, which now uses
pixmaps directly. Change drag signal to use a pixbuf, not a
pixmap. Change so it doesn't do the DND stuff unless you
explicitly call for it. Use set_cell_contents boolean to only
redraw when cell has changed.
* src/file-manager/fm-list-view.c: (fm_list_get_drag_pixbuf),
(fm_list_get_sort_column_index), (create_list), (set_up_list):
Change to use the new pixbuf signal instead of the old pixmap one.
Make a call to ask NautilusList to do the DND stuff.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tue Mar 27 15:56:00 2001 George Lebl <jirka@5z.com>
Reviewed by a bunch of people on bugzilla, and according to everyone
it actually works, despite being written by me.
* libnautilus-extensions/nautilus-icon-container.c
(nautilus_icon_container_update_scroll_region)
(lay_down_icons_horizontal) (lay_down_icons_tblr)
(nautilus_icon_container_set_margins)
libnautilus-extensions/nautilus-icon-container.h
libnautilus-extensions/nautilus-icon-private.h
src/file-manager/fm-desktop-icon-view.c (panel_desktop_area_changed)
(desktop_icon_view_property_filter) (fm_desktop_icon_view_destroy)
(fm_desktop_icon_view_initialize): Reads GNOME_PANEL_DESKTOP_AREA
hint from the root window, which the panel sets to give the area
not covered by panels. Then set margins on the icon container so
that the icons are shifted away from the panels. Also when
relaying out icons the new size is taken into account.
Fix #1447, the infamous showstopper uber bug.
|
|
|
|
|
|
|
|
|
|
| |
2001-03-27 Gene Z. Ragan <gzr@eazel.com>
Use the proper automake defined conditional to
enable audio cd mounting.
* libnautilus-extensions/nautilus-volume-monitor.c:
(get_removable_volumes), (get_current_mount_list):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-26 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-audio-player.c:
* libnautilus-extensions/nautilus-audio-player.h:
(player_thread),
(nautilus_audio_player_play), (nautilus_audio_player_stop),
(esdout_init), (esdout_write), (get_latency), (esd_stou8),
(esd_utos16sw), (esd_utos16), (esd_16sw):
New code to add support for an audio player thread. This is
a first step to avoid the use of external binaries from
within nautilus to preview audio. This will hopefully allow
us to use a more flexible preview mechanism in the future.
The new code currently uses the audiofile library from
gnome cvs.
* libnautilus-extensions/Makefile.am:
Add new files to build.
* src/file-manager/fm-icon-view.c: (fm_icon_view_destroy),
(fm_icon_view_begin_loading), (play_file), (preview_audio),
(icon_container_preview_callback), (fm_icon_view_initialize):
Add a conditional to allow the use of the new audio preview
code. The conditional is currently set to use the old code,
not the new mechanism.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
reviewed by: Darin Adler <darin@eazel.com>
* libnautilus-extensions/nautilus-directory-async.c:
(is_anyone_waiting_for_metafile), (call_ready_callbacks),
(start_or_stop_io), (nautilus_directory_cancel):
* libnautilus-extensions/nautilus-directory-metafile-monitor.c:
(corba_metafile_ready):
* libnautilus-extensions/nautilus-directory-metafile.c:
(get_metafile), (nautilus_directory_rename_file_metadata),
(nautilus_directory_rename_directory_metadata):
* libnautilus-extensions/nautilus-directory-metafile.h:
* libnautilus-extensions/nautilus-directory-private.h:
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_initialize), (nautilus_directory_destroy),
(set_directory_uri), (change_directory_uri),
(nautilus_self_check_directory):
* libnautilus-extensions/nautilus-directory.h:
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_file_name_matches_backup_pattern),
(nautilus_file_name_matches_metafile_pattern):
* libnautilus-extensions/nautilus-file-utilities.h:
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_is_metafile):
* libnautilus-extensions/nautilus-file.h:
* libnautilus-extensions/nautilus-metafile-factory.c: (corba_open):
* libnautilus-extensions/nautilus-metafile-server.idl:
* libnautilus-extensions/nautilus-metafile.c:
(nautilus_metafile_class_init), (nautilus_metafile_init),
(destroy), (construct_private_metafile_vfs_uri),
(nautilus_metafile_set_directory_uri), (nautilus_metafile_new),
(nautilus_metafile_get), (schedule_next_read), (async_read_start),
(async_read_done), (async_read_cancel), (corba_is_read),
(corba_get), (corba_get_list), (corba_set), (corba_set_list),
(corba_copy), (corba_remove), (corba_rename),
(corba_rename_directory), (corba_register_monitor),
(corba_unregister_monitor),
(nautilus_metafile_notify_metafile_ready), (call_metafile_changed),
(call_metafile_changed_for_all_files_mentioned_in_metafile),
(call_metafile_changed_for_one_file), (create_metafile_root),
(get_file_node), (get_metadata_string_from_metafile),
(get_metadata_list_from_metafile),
(set_metadata_string_in_metafile), (set_metadata_list_in_metafile),
(set_metadata_in_metafile), (get_metadata_string_from_table),
(get_metadata_list_from_table), (set_metadata_eat_value),
(metafile_free_metadata), (get_file_metadata),
(get_file_metadata_list), (set_file_metadata),
(set_file_metadata_list), (metafile_get_file_uri),
(rename_file_metadata), (apply_one_change), (apply_file_changes),
(nautilus_metafile_apply_pending_changes), (copy_file_metadata),
(remove_file_metadata), (nautilus_metafile_set_metafile_contents),
(metafile_read_cancel), (can_use_public_metafile),
(metafile_read_mark_done), (metafile_read_done),
(metafile_read_try_public_metafile),
(metafile_read_check_for_directory_callback),
(metafile_read_check_for_directory), (metafile_read_failed),
(metafile_read_done_callback), (metafile_read_restart),
(allow_metafile), (metafile_read_start), (metafile_write_done),
(metafile_write_failed), (metafile_write_failure_close_callback),
(metafile_write_success_close_callback), (metafile_write_callback),
(metafile_write_create_callback), (metafile_write_start),
(metafile_write), (metafile_write_idle_callback),
(directory_request_write_metafile):
* libnautilus-extensions/nautilus-metafile.h:
* libnautilus-extensions/nautilus-vfs-directory.c:
(vfs_is_not_empty):
Factored the metadata reading/writing code out of nautilus-directory
- bug 6661.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sun Mar 25 17:02:17 2001 George Lebl <jirka@5z.com>
Review dude: Maciej
* components/music/id3_frame.c (id3_read_frame)
components/music/id3_frame_text.c (id3_get_text)
components/music/id3_frame_url.c (id3_get_url)
components/music/nautilus-music-view.c (sort_list)
(click_column_callback)
components/services/trilobite/libtrilobite/trilobite-root-helper.c
(trilobite_root_helper_destroy) (trilobite_root_helper_start)
libnautilus-extensions/nautilus-file.c
(nautilus_file_list_filter_hidden_and_bac):
Use GINT_TO_POINTER and GPOINTER_TO_INT when casting ints to/from
pointers to fix 64 bit issues
|
|
|
|
|
|
|
|
|
| |
2001-03-24 Rebecca Schulman <rebecka@eazel.com>
* libnautilus-extensions/nautilus-medusa-support.c:
(nautilus_medusa_check_cron_is_enabled):
Add check for "cron" as well as "crond" so that cron will
also be recognized on Debian.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
More loose ends of the file copy and paste feature.
* libnautilus-extensions/nautilus-directory-notify.h:
Rename NautilusFileChangesQueuePositionSetting to
NautilusFileChangesQueuePosition. Add a field so it can
be used to set or remove a position. Rename
nautilus_directory_schedule_position_setting to
nautilus_directory_schedule_position_set.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_schedule_position_set): Change name and also
make it handle the case where we want to remove a position rather
than setting it.
* libnautilus-extensions/nautilus-file-changes-queue.h:
* libnautilus-extensions/nautilus-file-changes-queue.c:
(nautilus_file_changes_queue_schedule_position_set): Name change.
(nautilus_file_changes_queue_schedule_position_remove): New
function used to remove a position.
(position_set_list_free): Name changes, added the new remove
flavor where needed.
(nautilus_file_changes_consume_changes): Updated SET case,
added case for REMOVE.
* libnautilus-extensions/nautilus-file-operations.c:
(icon_position_iterator_get_next): New function, used to extract
the next position out of the iterator.
(apply_one_position): Simplified by using
icon_position_iterator_get_next, and also changed so that the
position is always either removed or set.
* libnautilus-extensions/nautilus-file-operations.h: Fixed header.
* libnautilus-extensions/nautilus-gtk-extensions.h:
* libnautilus-extensions/nautilus-gtk-extensions.c:
(event_get_time), (nautilus_get_current_event_time): Add new
function to get the current event time. This is available in GTK
2.0, so we can remove it when we move up.
* libnautilus-extensions/nautilus-link.c:
(nautilus_link_local_create): Updated for change to notify API.
* libnautilus-extensions/nautilus-program-choosing.c:
(nautilus_launch_application_from_command): Added FIXME.
* src/file-manager/fm-directory-view.c: (copy_or_cut_files): Use
new nautilus_get_current_event_time function. Put up a status
string about the cut or copy. Since there's no other feedback this
is especially important.
(paste_files_callback): Use new nautilus_get_current_event_time
function.
(real_selection_clear_event): Erase the status string.
(real_selection_received): Put up a status string if the paste
does nothing. Since we can't desensitize the Paste Files command,
this is the next best thing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make properties window show link target path for
symbolic links (not for NautilusLinks yet; I'll do
that separately). This shows "unknown" with old gnome-vfs;
but will show the right result with the latest gnome-vfs
(well, it will after Pavel checks in, which will be very
soon).
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_string_attribute): Add support
for "link_target"
* src/file-manager/fm-properties-window.c:
(should_show_link_target): returns TRUE if file is a
symbolic link.
(create_basic_page): Add "Link Target" field.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix bug 6613 (no way to delete files without using trash) by
integrating Maciej's patch to add an optional Delete command (with
some fixes to the patch). There may still be some loose ends.
Fix bug 2206 (No way to move or copy a file to a different
directory from keyboard) by implementing Cut, Copy, and Paste for
files, in a way that will be familiar to Windows users. The
positioning of the new files is not right yet (they inherit their
position from the old files), there is no feedback when you have
cut some files (Arlo's idea, which I might implement, is to make
them translucent to show they are "on the way out") or when you
have copied some files, and I think there are some other loose
ends.
Fixed cut, copy, and paste within the file names when you do a
rename. This wasn't working at all.
Got rid of configure-time checks that were looking at the
existence of some special system files.
Fixed a few minor bugs discovered by code inspection.
* libnautilus-extensions/nautilus-global-preferences.h:
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_install_descriptions),
(global_preferences_install_defaults),
(global_preferences_install_visibility),
(global_preferences_create_dialog): Add expert preference to add a
Delete command that bypasses the Trash.
* src/file-manager/nautilus-directory-view-ui.xml: Add Delete, Cut
Files, Copy Files, and Paste Files.
* src/file-manager/fm-directory-view.c: (confirm_delete_directly),
(delete_callback): Add delete code.
(bonobo_menu_empty_trash_callback): Get rid of extraneous cast.
(fm_directory_view_initialize): Track the delete preference. Set
the flags properly to indicate we have our own X window. Add a
target so GTK knows that we accept pastes of copied files.
(forget_clipboard_contents): Helper for when we are no longer the
clipboard owner.
(fm_directory_view_destroy): Remove the delete preference
callback. Free the clipboard contents.
(offset_drop_points): Change so it handles NULL for the list of
points.
(trash_or_delete_files_common): Remove unneeded parameters.
(get_current_event_time): New function, placeholder that just
returned GDK_CURRENT_TIME. Perhaps we should get the real event
time here for use in clipboard manipulation calls.
(copy_or_cut_files): New function. Save the selection for later
use in a paste.
(copy_files_callback), (cut_files_callback): Call the new
copy_or_cut_files function.
(paste_files_callback): Do the clipboard convert that results in
the paste operation.
(real_selection_clear_event): Forget the clipboard contents.
(real_selection_get): Convert the selection into the appropriate
format and put it on the clipboard.
(convert_lines_to_str_list): Helper function for decoding incoming
pasted files.
(real_selection_received): Handle pasted files by parsing and then
triggering a file copy operation.
(real_merge_menus): Add verbs for cut, copy, and paste.
(enable_delete_changed_callback): Keep track of delete command
status in a boolean.
(real_update_menus): Show delete command if the preference is on
and we are not showing "Delete from Trash". Update names of the
Cut and Copy command depending on how many files are selected.
Also desensitize them when none are selected.
(fm_directory_view_select_file): Initialize an uninitialized field.
(fm_directory_view_move_copy_items): Allow relative_item_points to
be NULL.
(real_realize): Create our own X window.
(real_size_allocate): Trick GtkScrolledWindow into doing the right
thing despite the fact that we have our own X window.
(fm_directory_view_initialize_class): Moved down to the bottom so
we don't need so many forward declaractions. Added code to set up
some needed atoms and new default handlers.
* libnautilus-extensions/nautilus-icon-text-item.c:
(send_focus_event), (iti_stop_editing), (iti_start_editing): Add
code to send the appropriate focus events to the fake off-screen
GtkEntry. This makes the clipboard code that tracks focus-related
signals work properly with this entry.
(iti_event): Tweak the sequence and simplify the code a bit.
* libnautilus/nautilus-clipboard.c:
(set_paste_sensitive_if_clipboard_contains_data): Add more
FIXMEs. This function is very far from useful, and it's not clear
that it can be implemented efficiently under X.
(nautilus_clipboard_set_up_editable): Get rid of silly
"grab_focus" hack that was an attempt to address the problems with
the NautilusIconTextItem. The real solution was to do focusing for
that item too.
(nautilus_clipboard_set_up_editable_in_control): Fix this so it
works when called on an editable that is already focused.
* src/file-manager/fm-icon-view.c: (renaming_icon_callback): Get
rid of "grab_focus" workaround, which wasn't working.
* acconfig.h:
* configure.in:
Remove all configure checks that were checking the existence of
files.
* libnautilus-extensions/nautilus-medusa-support.c:
(nautilus_medusa_check_cron_is_enabled): Simplify logic so there's
less room for confusion (I did this as a fix for the bug that was
reported on the mailing list, but Rebecka checked in the small
patch first). Also change it so we don't need a configure-time
check for the existence of the process directory and fix it so we
won't get a core dump if the file doesn't have a space character
in it. Also change the logic so we don't leave the directory open
when we do find the cron process.
* libnautilus-extensions/nautilus-volume-monitor.c:
(nautilus_volume_monitor_initialize_class),
(has_removable_mntent_options), (get_removable_volumes),
(volume_is_removable), (volume_is_read_only),
(mount_volume_get_cdrom_name), (mount_volume_activate_cdda),
(mount_volume_activate_cdrom), (build_volume_list_delta),
(get_current_mount_list), (mount_lists_are_identical),
(verify_current_mount_state), (mount_volume_floppy_add),
(get_cdrom_type_solaris), (mount_volume_iso9660_add),
(display_mount_status), (close_error_pipe),
(nautilus_volume_monitor_mount_unmount_removable),
(mount_volume_add_filesystem): Make changes throughout to get rid
of dependence on configure-time file checks and do things at
runtime instead. Also use typedefs to make less code conditional.
Also fix the Solaris CD-ROM code which was casting a GString to
a (char *) before, so it used absurd file names, and failed to open
and returned FALSE all the time.
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_start_renaming_selected_item): Send the
renaming signal before setting up the rest of the icon. This
change is not really needed, but it's a better order to do things.
* libnautilus/nautilus-clipboard-ui.xml: Move tips into the
commands instead of the menu items (for style mostly, no practical
implications at the moment).
* src/nautilus-shell-ui.xml: Remove tips from Cut, Copy, and Paste,
since tips from insensitive items aren't used, and if we had tips,
we'd put them on the command, not the menu item, anyway.
|