2002-02-01 Dave Camp <dave@ximian.com>
* configure.in: Increased GNOME_UI_REQUIRED to 1.110.1
* libnautilus-private/nautilus-icon-container.c:
(nautilus_icon_container_class_init): Use
nautilus_marshal_VOID__POINTER_STRING instead of
nautilus_marshal_VOID__POINTER_POINTER for the icon_text_changed
signal.
(handle_focus_out_event): Return FALSE.
(nautilus_icon_container_start_renaming_selected_item),
(end_renaming_mode): Use GnomeIconTextItem instead of
NautilusIconTextItem. This includes changing how the size was
calculated, as NautilusIconTextItem expected a center point and
maximum width, and GnomeIconTextItem expects a bounding box.
* libnautilus-private/nautilus-icon-private.h: Use
GnomeIconTextItem instead of NautilusIconTextItem for
rename_widget.
* libnautilus-private/nautilus-marshal.list: Added
VOID:POINTER,STRING.
* src/file-manager/fm-icon-view.c: (renaming_icon_callback):
Temporarily #ifed out the
nautilus_clipboard_set_up_editable_in_control for the renaming
editable.
2002-01-31 John Harper <jsh@unfactored.org>
Make the search feature work again:
* configure.in: fixed how HAVE_MEDUSA is defined. Add
MEDUSA_CFLAGS to CORE_CFLAGS
* src/file-manager/fm-search-list-view.c: moved some of the
GNOME2_CONVERSION_COMPLETE ifdefs around so that we get a
functional object, just without some of the features of the
original
* src/nautilus-shell-ui.xml: copied search parts from nautilus
1 version
* src/nautilus-application.c (create_object): reenable
search-list-view creation
* src/file-manager/nautilus-indexing-info.c: random changes to
make it compile (untested as yet)
* configure.in: Bump eel version required.
* libnautilus-private/nautilus-icon-container.c:
(rubberband_timeout_callback), (start_rubberbanding),
(update_stretch_at_idle), (motion_notify_event):
* libnautilus-private/nautilus-icon-dnd.c: (icon_get_data_binder),
(nautilus_icon_container_position_shadow),
(receive_dropped_keyword),
(nautilus_icon_container_find_drop_target),
(nautilus_icon_container_receive_dropped_icons),
(nautilus_icon_container_get_drop_action),
(nautilus_icon_dnd_update_drop_target), (nautilus_icon_dnd_init),
(nautilus_icon_dnd_begin_drag):
Use new eel functions that eliminate the funky interaction between
the new GtkLayout and GnomeCanvas. Basically, all the functions
that deal with window coordinates are getting bin_window
coordinates instead. This should really be fixed in GnomeCanvas.
2002-01-30 Zbigniew Chyla <cyba@gnome.pl>
* libnautilus-private/nautilus-authn-manager.c
(construct_password_dialog):
DO NOT mark empty strings for translation.
* NEWS: Update for 1.1.3 release.
* configure.in: Bump version.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_finalize), (real_merge_menus):
Use a weak pointer so we don't retain a pointer to the UI component
if the BonoboControl goes away, but we don't. This doesn't really
fix anything, but it also does no harm.
2002-01-28 Seth Nickell <snickell@stanford.edu>
* data/applications.desktop.in:
* data/preferences.desktop.in:
Bring start-here stuff up to date with current
URI schemes, update to use appropriate system icons.
* libnautilus-private/nautilus-program-choosing.c
(nautilus_launch_application_from_command): Changed the system(3) call to
launch application from command. Instead use eel_gnome_shell_execute.
* src/file-manager/fm-directory-view.c (activate_callback):
Now use newly public NautilusDesktopFile class & nautilus_desktop_file_launch
to launch the corresponding command.
* libnautilus-private/nautilus-desktop-file-loader.c:
* libnautilus-private/nautilus-desktop-file-loader.h:
Made the NautilusDesktopFile class public. The struct has been moved
from the source to the header. The nautilus_desktop_file_new method
is not static any more.
* libnautilus-private/nautilus-desktop-file-loader.c
(nautilus_desktop_file_launch):
Add the locale name taken from the desktop file to display it
through xalf (launch feedback).
2002-01-28 Gediminas Paulauskas <menesis@delfi.lt>
* libnautilus-private/nautilus-directory.c,
libnautilus-private/nautilus-icon-container.c: use g_list_copy
instead of eel version
* src/nautilus-preferences-dialog.c,
src/nautilus-property-browser.c,
src/nautilus-window-manage-views.c,
src/nautilus-window-menus.c,
src/file-manager/fm-properties-window.c: use gtk_window_present
instead of eel version.
2002-01-28 Seth Nickell <snickell@stanford.edu>
* libnautilus-private/nautilus-global-preferences.c:
(import_old_preferences_if_needed),
(nautilus_global_preferences_init):
Add a function for moving preference values (if they exist)
from their old location to their new location, if it
hasn't already been done.
* libnautilus-private/nautilus-global-preferences.h:
Change the location/name of THEME, SHOW_HIDDEN_FILES and
SHOW_BACKUP_FILES so other file viewers in GNOME can smoothly
access them.
2002-01-28 Anders Carlsson <andersca@gnu.org>
* libnautilus-private/nautilus-file.c:
* libnautilus-private/nautilus-file.h:
Remove gmc link support and calls to gnome_set_metadata.
* libnautilus-private/nautilus-file-operations.c
(create_transfer_dialog): Set transfer_info as user_data.
* libnautilus-private/nautilus-file-operations-progress.c: Move stuff
to finalize.
* libnautilus-private/nautilus-entry.c: Remove cursor obscuring code
since that exists in GtkEntry now.
2002-01-27 Anders Carlsson <andersca@gnu.org>
* src/file-manager/fm-properties-window.c (attach_label): Add selectable argument.
(attach_value_label): set selectable to TRUE.
(attach_ellipsizing_value_label): Likewise.
(attach_title_field): set selectable to FALSE.
2002-01-23 Anders Carlsson <andersca@gnu.org>
* libnautilus/nautilus-view-standard-main.c (delayed_quit_timeout_callback):
Use gtk_main_quit.
2002-01-25 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-bookmark.c
(nautilus_bookmark_set_name): return a 'changed'
boolean.
* src/nautilus-window-manage-views.c
(update_title): only re-send history if it changed.
* src/nautilus-window.c (add_to_history_list): prune
the end of the list more succinctly, don't fire
send_history_list_changed if we didn't change the list.
* libnautilus-private/nautilus-icon-factory.c: (cache_icon_new):
No last_unref_handler any more.
(cache_icon_unref): Just keep one ref for the factory, just like
in the old days, since we don't have a "last_unref_handler" any
more.
(nautilus_icon_factory_possibly_free_cached_icon): Look at
ref_count rather than looking at "outstanding" flag.
(nautilus_icon_factory_get_pixbuf_for_icon): Just ref, no fancy
"oustanding" logic.
(embed_text): Rewrite to use Pango.
* src/file-manager/fm-list-model.h: Tweak formatting and order.
* src/file-manager/fm-list-model.c: Tweak formatting and order.
* src/file-manager/fm-list-view.h: Tweak formatting and order.
* src/file-manager/fm-list-view.c: Tweak formatting and order.
* src/file-manager/fm-properties-window.c:
(select_image_button_callback): Turn this code back on.
* src/nautilus-bookmarks-window.c: (on_row_move): Remove puts.
* src/nautilus-complex-search-bar.c:
(nautilus_complex_search_bar_queue_resize): GnomeDock -> BonoboDock.
* src/nautilus-property-browser.c: (nautilus_emblem_dialog_new):
Finish porting to GtkDialog.
(nautilus_color_selection_dialog_new): Finish porting to
GtkDialog.
(add_new_pattern): Re-enable some code.
(labeled_image_configure): Re-enable some code, take out other stuff.
(labeled_image_new): Take out some dead code.
(property_browser_category_button_new): Take out some dead code.
* src/nautilus-sidebar-tabs.c: (tab_item_destroy),
(tab_indicator_changed_callback),
(nautilus_sidebar_tabs_connect_view):
Use a listener object now, not a listener ID.
* src/nautilus-simple-search-bar.c:
(nautilus_simple_search_bar_class_init): Remove some undo code.
* src/nautilus-switchable-navigation-bar.c:
(nautilus_switchable_navigation_bar_set_mode): GnomeDock -> BonoboDock.
* src/nautilus-switchable-search-bar.c:
(nautilus_switchable_search_bar_set_mode): GnomeDock -> BonoboDock.
* src/nautilus-view-frame.c: (destroy_view): Make deregister code use
the BonoboUIEngine instead of the BonoboWindow.
* components/hardware/nautilus-hardware-view.c:
(nautilus_hardware_view_init): Re-enable the property bag.
* components/image-viewer/Makefile.am: Remove io-png.[ch].
* components/image-viewer/io-png.c: Remove.
* components/image-viewer/io-png.h: Remove.
* components/image-viewer/nautilus-image-view.c:
(save_image_to_stream): Not implemented.
* libnautilus-private/nautilus-directory-metafile.c:
(nautilus_directory_register_metadata_monitor),
(nautilus_directory_unregister_metadata_monitor):
Wipe out some bonobo_object_corba_objref calls.
* src/nautilus-window.h: Make the throbber private.
* src/nautilus-window-private.h: Make the throbber private.
Use a listener object now, not a listener ID.
* src/nautilus-window-toolbars.c:
(nautilus_window_initialize_toolbars): Move the throbber
into details.
* src/nautilus-window.c: (nautilus_window_constructed),
(nautilus_window_unrealize): Use the new listener calls that
use an object, not an ID.
(nautilus_window_allow_stop): Move the throbber into details.
* components/adapter/main.c: (main):
* components/image-viewer/nautilus-image-view.c:
(init_server_factory):
* components/throbber/main.c: (main):
Use newfangled gnome-client.h calls to turn off session management.
* libnautilus/nautilus-view-standard-main.c:
(nautilus_view_standard_main_multi): Since we think
the per-display IID scheme is broken in bonobo-activation,
we turned it off there, rather than turning it off here.
2002-01-23 Michael Meeks <michael@ximian.com>
* libnautilus/nautilus-view-standard-main.c
(nautilus_view_standard_main_multi): re-remove the
per display IID creation scheme - it's broken.
* components/throbber/nautilus-throbber.c
(nautilus_throbber_draw): kill, no draw methods
in gtk 2.0
(draw_throbber_image): remove bonobo bug
workaround, if it still exists it should be fixed
in bonobo and fold into
(nautilus_throbber_expose): here
(draw_pixbuf): fold into
(nautilus_throbber_expose): here, and fix
rendering bugs.
(nautilus_throbber_size_allocate): kill bogus
sizing logic.
(nautilus_throbber_button_release_event): do
conversion.
(nautilus_throbber_destroy): remove
force_destroy_later.
2002-01-21 Michael Meeks <michael@ximian.com>
* src/nautilus-window.c,
* src/nautilus-application.c,
* src/nautilus-view-frame.c,
* libnautilus-private/nautilus-undo-manager.c,
* libnautilus-private/nautilus-metafile-factory.c,
* libnautilus/nautilus-undo-transaction.c,
s/bonobo_object_corba_objref/BONOBO_OBJREF/
* libnautilus-private/nautilus-directory-metafile.c
(get_factory): update referencing.
* libnautilus/nautilus-view.c
(nautilus_view_get_view_frame): impl. helper to
reduce sync CORBA traffic.
(view_frame_call_end, view_frame_call_begin): upd.
(nautilus_view_dispose): release the CORBA ref. if we
took it.
(nautilus_view_set_frame): unset the frame if we
loose it.
* libnautilus-private/nautilus-bonobo-extensions.c
(add_numbered_menu_item_internal): kill the label encoding.
(nautilus_bonobo_add_submenu): ditto.
(nautilus_bonobo_set_icon): kill unused.
* components/adaptor/bonobo-stream-vfs.[ch]: remove, now
inside gnome-vfs.
* libnautilus-private/nautilus-icon-factory.c:
(load_icon_for_scaling): Disable the code that destroys the fallback
icon at shutdown time since it was hitting some snags.
* libnautilus/nautilus-view-standard-main.c:
(nautilus_view_standard_main_multi): Add a bonobo_activate to try
to reduce the complaints at quit time.
* src/nautilus-location-bar.c: (editable_key_press_callback):
Make the End key do what the right arrow key did.
* src/nautilus-window-manage-views.c: (use_saved_window_positions),
(open_location), (position_and_show_window_callback),
(determined_initial_view_callback): Open windows right away unless
we are using saved window positions.
* icons/default/Makefile: Remove.
* icons/default/Makefile.in: Remove.
2002-01-16 Havoc Pennington <hp@redhat.com>
* libnautilus-private/nautilus-file-operations.c
(ellipsize_string_for_dialog): add comment about how this should
be fixed
* components/news/nautilus-news.c (ellipsize_string): add comment
about how this should be fixed
* check-signals.pl: Remove.
* components/adapter/bonobo-stream-vfs.c: Remove.
* components/adapter/bonobo-stream-vfs.h: Remove.
* components/adapter/nautilus-adapter-progressive-load-strategy.c: Remove.
* components/adapter/nautilus-adapter-progressive-load-strategy.h: Remove.
* components/adapter/Makefile.am:
* components/hardware/Makefile.am:
* components/history/Makefile.am:
* components/image-viewer/Makefile.am:
* components/music/Makefile.am:
* components/news/Makefile.am:
* components/notes/Makefile.am:
* components/text/Makefile.am:
* components/throbber/Makefile.am:
* components/tree/Makefile.am:
* libnautilus-private/Makefile.am:
* test/Makefile.am:
General cleanups, mostly formatting.
* configure.in: Remove libiconv stuff, since we don't use it
any more. Do esound stuff in the main call to pkg-config, not
a separate set of variables.
* components/image-viewer/nautilus-image-view.c: Remove unused
libart includes.
* cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.h: Remove
the use of "decrement" as a synonym for "remove".
* test/test.c: Remove unused libart include.
2002-01-21 Anders Carlsson <andersca@gnu.org>
* configure.in:
Change libprofiler location.
* libnautilus-private/nautilus-directory-async.c:
(lacks_link_info), (make_dot_directory_uri), (link_info_start):
Remove support for gmc style links.
* libnautilus-private/nautilus-entry.c:
(emacs_shortcuts_preference_changed_callback),
(nautilus_entry_init), (nautilus_entry_finalize),
(nautilus_entry_key_press), (select_all_at_idle),
(nautilus_entry_select_all_at_idle):
Use gtk_idle_add instead and store the idle id in the details
struct. This fixes some weirdness in the file properties dialog,
since the "destroy" signal can be emitted more than once.
* libnautilus-private/nautilus-icon-canvas-item.c:
(update_label_layouts):
Enable underlining.
* libnautilus-private/nautilus-monitor.c: (get_event_uri):
Silently return if we can't find the base path. This is valid when
we've called nautilus_monitor_cancel but still have some events
in the queue.
* Makefile.am: Remove nautilus-launch-icon.png.
* components/hardware/nautilus-hardware-view.c: (setup_form_title),
(setup_overview_form): Port from EelImage to GtkImage.
* components/music/nautilus-music-view.c: Remove unused include.
* src/nautilus-theme-selector.c: Remove unused includes.
* libnautilus-private/nautilus-bonobo-extensions.c:
(bonobo_activation_activation_callback): Add warning message so we
get to see the error from bonobo-activation.
* libnautilus-private/nautilus-directory-metafile.c: (get_factory):
* libnautilus-private/nautilus-icon-factory.c: (get_icon_factory),
(load_icon_for_scaling), (embed_text):
* libnautilus-private/nautilus-metafile-factory.c:
(nautilus_metafile_factory_get_instance):
* libnautilus-private/nautilus-theme.c:
(nautilus_theme_get_theme_data_from_theme):
* libnautilus-private/nautilus-trash-monitor.c:
(nautilus_trash_monitor_get):
* libnautilus-private/nautilus-volume-monitor.c:
(nautilus_volume_monitor_get):
* src/file-manager/nautilus-indexing-info.c:
(show_indexing_info_dialog):
* src/nautilus-preferences-dialog.c:
(global_preferences_get_dialog):
* src/nautilus-window.c: (nautilus_window_class_init),
(add_to_history_list):
Use eel_debug_call_at_shutdown instead of g_atexit.
* libnautilus-private/nautilus-file.c:
(nautilus_file_get_display_name): Add G_BROKEN_FILENAMES support.
* libnautilus-private/nautilus-global-preferences.c:
(nautilus_global_preferences_init): Remove eel_smooth_widget code.
* libnautilus/Makefile.am: Add missing ORBIT_IDL dependency.
* libnautilus/nautilus-view-standard-main.c:
(nautilus_view_standard_main_multi): Remove
bonobo_ui_debug_shutdown for now. It does us no good unless we
also do eel_debug_shut_down, but libnautilus can't depend on eel.
* nautilus-launch-icon.png: Remove.
* src/file-manager/fm-properties-window.c:
(update_properties_window_icon),
(fm_properties_window_drag_data_received),
(create_image_widget_for_file): Port from EelImage to GtkImage.
* src/nautilus-component-adapter-factory.c:
(nautilus_component_adapter_factory_get): Use
eel_debug_call_at_shutdown instead of g_atexit.
(nautilus_component_adapter_factory_create_adapter): Look at
exceptions before looking at return values from CORBA calls.
* src/nautilus-main.c: (main): Add a call to eel_debug_shut_down.
* src/nautilus-property-browser.c:
(nautilus_property_browser_init), (element_clicked_callback),
(nautilus_property_browser_update_contents): Port from EelViewport
to GtkViewport.
* src/nautilus-search-bar-criterion.c:
(nautilus_search_bar_criterion_destroy),
(nautilus_search_bar_criterion_new_from_values): Fix for change
that made NautilusSignaller no longer a GtkObject.
* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_init),
(update_icon), (add_emblem): Port from EelImage to GtkImage.
* src/nautilus-signaller.h:
* src/nautilus-signaller.c: (nautilus_signaller_get_current): Use
eel_debug_call_at_shutdown instead of g_atexit.
(nautilus_signaller_instance_init),
(nautilus_signaller_class_init): Change to GObject, not GtkObject.
* src/nautilus-window-menus.c: (get_bookmark_list): Use
eel_debug_call_at_shutdown instead of g_atexit.
(nautilus_window_initialize_go_menu): Fix for change that made
NautilusSignaller no longer a GtkObject.
* test/test-nautilus-preferences-change.c: Remove unused include.
* test/test-nautilus-preferences-display.c: Remove unused includes.
* test/test-nautilus-wrap-table.c: Remove unused includes.
* test/test.c: Remove unused function.
* test/test.h: Remove unused function.
2002-01-18 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-directory-background.c
(image_loading_done_callback): don't set the background, it
causes a strange segv later.
* src/nautilus-window-toolbars.c
(set_widget_for_bonobo_control): fold into
(set_up_back_or_forward_toolbar_item): here.
(set_up_standard_bonobo_button): kill redundant
freeze / thaws.
(set_up_special_bonobo_button): don't do nasty
pixbuf roundtrips on a NULL icon_file_name
(get_pixbuf_for_xml_node): kill - somewhat inefficient.
(set_up_special_bonobo_button): set a straight pixbuf
on the button item for more speed, and kill bogus
in-proc freeze/thaw.
(set_up_back_or_forward_toolbar_item): rename to
(create_back_or_forward_toolbar_item): this to better
reflect function, aggregate a property bag.
(back_or_forward_tooblar_item_property_set_cb): impl.
2002-01-17 Anders Carlsson <andersca@gnu.org>
* libnautilus-private/nautilus-icon-canvas-item.c:
(nautilus_icon_canvas_item_update_bounds),
(draw_or_measure_label_text), (update_label_layouts),
(get_label_layout), (draw_label_layout), (draw_label_layout_aa),
(draw_or_measure_label_text_aa), (nautilus_icon_canvas_item_event):
Add non-aa pango support.
* libnautilus-private/nautilus-directory-async.c (make_dot_directory_uri):
Do an sync check for the .directory file before scheduling an async read
of the file.
2002-01-17 Anders Carlsson <andersca@gnu.org>
* src/file-manager/fm-list-model.c: New file.
* src/file-manager/fm-list-model.h: New file.
* src/file-manager/fm-list-view.c: Port to GtkTreeView.
* src/file-manager/fm-list-view.h: Port to GtkTreeView.
* src/file-manager/fm-directory-view.c (fm_directory_view_destroy):
Stop and clear the directory view before setting view to NULL because
clearing the directory when nautilus_view is NULL can trigger an assertion.
* libnautilus-private/nautilus-mime-actions.c: Added include
needed for compatibility with new gnome-vfs.
* src/file-manager/fm-directory-view.c:
(set_up_scripts_directory_global): Fix mistake with use of
GNOME_DOT_GNOME by using gnome_util_home_file instead.
* components/hardware/main.c: (main):
* components/image-viewer/nautilus-image-view.c:
(init_server_factory):
* components/loser/content/main.c: (main):
* components/loser/sidebar/main.c: (main):
* components/throbber/main.c: (main):
* libnautilus/nautilus-view-standard-main.c:
(nautilus_view_standard_main_multi),
(nautilus_view_create_from_get_type_function):
* src/nautilus-main.c: (main):
Remove unneeded code and restore display-specific registration.
This gets rid of a bunch of GNOME2_CONVERSION_COMPLETE ifdefs.
* libnautilus-private/nautilus-directory-metafile-monitor.h:
* libnautilus-private/nautilus-metafile-factory.c:
* libnautilus-private/nautilus-metafile-factory.h:
* libnautilus-private/nautilus-metafile.h:
These had emacs mode lines that said they were IDL files.
* libnautilus-private/nautilus-directory-metafile-monitor.c:
* libnautilus-private/nautilus-metafile-factory.c:
* libnautilus-private/nautilus-metafile.c:
* libnautilus-private/nautilus-undo-context.c:
* libnautilus-private/nautilus-undo-manager.c:
* libnautilus/nautilus-undo-transaction.c:
* src/nautilus-application.c:
* src/nautilus-shell.c:
* src/nautilus-view-frame-corba.c:
Use BONOBO_CLASS_BOILERPLATE_FULL instead of EEL_BONOBO_BOILERPLATE_FULL.
* src/nautilus-sidebar-title.c: (measure_width_callback),
(update_more_info): First cut at implementing date that fits into
sidebar. Not working yet.
* src/nautilus-theme-selector.c:
(install_theme_button_clicked_callback):
Remove eel_gtk_window_set_up_close_accelerator call, since this is a
GtkDialog that comes its own close accelerator.