2002-08-15 Dave Camp <dave@ximian.com>
* libnautilus/nautilus-clipboard.c (select_all_callback): Save the
source so the idle callback can cancel the weak ref.
(select_all_idle_callback): Cancel the weak ref so the source
isn't destroyed twice.
This should fix#74403.
2002-05-15 Sean Atkinson <sean@cantab.net>
* src/nautilus-window-manage-views.c
(get_history_list_callback):
* libnautilus/nautilus-view.c (history_dup):
* libnautilus/nautilus-view-component.idl:
Remove icon XML string from HistoryItem.
* components/history/nautilus-history-view.c
(update_history): Use bookmark icon, not XML one.
* components/history/nautilus-history-view.h: Moved some stuff
from nautilus-history-view.c here for libmain.c.
* components/history/Nautilus_View_history.server.in: Changed exe
to shlib to run history in-process.
* components/history/libmain.c: Added for shared library.
* components/history/Makefile.am: Build shared library.
2002-05-13 Michael Meeks <michael@ximian.com>
* src/nautilus-window.c (nautilus_window_show_toolbar):
activate the throbber in case we didn't earlier.
* src/nautilus-window-toolbars.c
(nautilus_window_activate_throbber): split out of
(nautilus_window_initialize_toolbars): here,
only activate the throbber if we are starting
with a toolbar.
* src/nautilus-window.c:
(nautilus_window_show_toolbar, nautilus_window_hide_toolbar): move
into nautilus-window-toolbars.
* libnautilus/nautilus-view-standard-main.c
(object_destroyed): upd. comment.
(make_object): prune bogus comment.
(nautilus_view_instrument_for_failure): impl.
(object_destroyed): only do 1 destroy ever, rename
(view_object_destroy): to this.
(make_object): upd.
(nautilus_view_never_got_frame_timeout),
(nautilus_view_set_frame_callback),
(nautilus_view_cnx_broken_callback): impl.
2002-03-11 Michael Meeks <michael@ximian.com>
* libnautilus/nautilus-clipboard.c
(select_all_callback): use g_object_weak_ref
instead of the "destroy" signal which is mostly
useless.
(idle_source_destroy_callback): impl.
* components/adapter/main.c: (main): Use gdk_get_display, not
getenv ("DISPLAY").
* components/loser/content/main.c: (main): Ditto.
* components/loser/sidebar/main.c: (main): Ditto.
* components/tree/nautilus-tree-model.c:
(stop_monitoring_directory): Rename back from
stop_monitoring_directory_without_reporting. This no longer
changes the state of "done_loading".
(set_done_loading): New, handles a state change in either
direction.
(done_loading_callback): Moved most of the guts of this into the
new set_done_loading.
(start_monitoring_directory): Call set_done_loading explicitly.
Before, this had to use an idle function, but this is no longer
necessary since we use an idle function at the next level up.
* libnautilus-private/nautilus-directory-metafile.c:
(free_factory):
* libnautilus-private/nautilus-metafile.c:
(corba_register_monitor):
* libnautilus-private/nautilus-undo-context.c:
(nautilus_undo_context_new), (finalize):
* libnautilus/nautilus-undo-transaction.c:
(nautilus_undo_transaction_finalize),
(nautilus_undo_transaction_add_to_undo_manager):
* libnautilus/nautilus-undo.c: (nautilus_undo_share_undo_manager):
* libnautilus/nautilus-view.c: (forget_cached_view_frame):
* src/nautilus-component-adapter-factory.c: (release_factory):
* src/nautilus-view-frame.c: (destroy_view):
Clean up code by not bothering with an ev for CORBA_Object_release
and CORBA_Object_duplicate.
* src/nautilus-shell-ui.xml: Remove "Feedback" menu item.
* components/tree/nautilus-tree-model.h:
* components/tree/nautilus-tree-model.c:
(stop_monitoring_directory_without_reporting): Rename old
stop_monitoring_directory function.
(stop_monitoring_directory): New function that handles changes
caused by stopping monitoring.
(destroy_children_by_function): New.
(destroy_by_function): New.
(should_show_file): New.
(update_node): Call should_show_file instead of
nautilus_file_is_gone to decide whether a given file should show
up.
(process_file_change): Ditto.
(start_monitoring_directory): Pass through flags for whether to
monitor invisible or backup files, rather than just TRUE, TRUE.
(nautilus_tree_model_get_value): Use PANGO_STYLE_ITALIC instead of
PANGO_STYLE_OBLIQUE. Both will fall back to the other if not
available, but if we have both, we'd prefer italic.
(stop_monitoring_directory_and_children): New.
(stop_monitoring): New.
(nautilus_tree_model_set_show_hidden_files): New.
(nautilus_tree_model_set_show_backup_files): New.
(file_is_not_directory): New.
(nautilus_tree_model_set_show_only_directories): New.
* components/tree/nautilus-tree-view.c:
(update_filtering_from_preferences): Call functions to change
settings on model rather than storing these settings here.
(tree_activate_callback),
(filtering_changed_callback): Call
update_filtering_from_preferences to set filtering for the newly
created tree.
(nautilus_tree_view_instance_init): Don't call
update_filtering_from_preferences here, because we don't have a
tree model yet.
* libnautilus-private/nautilus-theme.c: Formatting tweaks.
* libnautilus/nautilus-view-standard-main.c: Formatting tweak.
* src/nautilus-window-toolbars.c: Formatting tweaks, and remove
some unnecessary localized strings.
* src/nautilus-zoom-control.h: Remove extern "C" stuff. If we need
this, we'll do G_BEGIN_DECLS, and it's silly to use it for private
headers that are never going to be used from C++.
* libnautilus-private/nautilus-bonobo-extensions.c:
(nautilus_bonobo_activation_register_for_display): Temporarily
re-disable per-display registration since it doesn't work at all
on my machine. I'll turn it back on after talking to Michael
Meeks.
* Tons of files:
Because lots of recent bugs were due to "signal handler called after
object gone" problems, switched many calls of g_signal_connect and
g_signal_connect_swapped to use g_signal_connect_object instead.
Also did other signal-related cleanup and changed some destroys to
finalizes.
* libnautilus/nautilus-view-standard-main.h:
We no longer need to include nautilus-view.h in here. So include it
in the files that use this instead.
Did merges from stable branch:
2001-10-25 Darin Adler <darin@bentspoon.com>
* libnautilus-private/nautilus-directory.c:
(call_files_changed_common), (call_files_changed_free_list),
(call_files_changed_unref_free_list),
(nautilus_directory_notify_files_changed): Move call to
nautilus_directory_add_file_to_work_queue into a better
bottleneck; now it catches all the notify cases, not just changed.
Also tell it to re-get top-left text and link info too when we get
a changed notice.
* src/file-manager/fm-directory-view.c: (queue_pending_files):
Don't use the timeout (and the hysteresis) when queuing files once
the initial directory load is complete. Doing this was causing
delays processing changes that came in later, which we don't want.
* src/nautilus-sidebar-title.c: (item_count_ready), (monitor_add),
(update_all), (nautilus_sidebar_title_set_file): Monitor the
directory count once we get it the first time. This makes sure
that changes in the directory count get reflected in the sidebar
without creating a race with the main view to see who calculates
it first.
2001-10-25 Alex Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-directory.c
(nautilus_directory_notify_files_changed): Call
nautilus_directory_add_file_to_work_queue() when file_info is
invalidated. Otherwise it will not be read again.
2002-03-07 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-horizontal-splitter.c
(nautilus_horizontal_splitter_size_allocate): impl. to
cope with having a paned with no child2, without doing
lots of bogus size re-allocation.
(nautilus_horizontal_splitter_class_init): upd.
(nautilus_horizontal_splitter_pack2): impl, since
gtkpaned relies on the re-size to generate an expose
to re-render it's splitter grabber thing.a
* src/nautilus-sidebar.c
(nautilus_sidebar_set_width): impl. moving all sidebar
preferences here,
(nautilus_sidebar_init): move auto value setup
here from class_init to save possible re-enterancy
issue. Request the size we want for the sidebar,
the pane will under-allocate if neccessary.
Set the old_width to the correct size so we don't
re-render the paned lots as it swiches about.
* src/nautilus-window.c
(nautilus_window_constructed): reflow to simplify,
call sidebar_set_width.
(nautilus_window_set_content_view_widget): use
nautilus_..._pack2 instead of gtk_paned to fix rendering.
2002-03-06 Michael Meeks <michael@ximian.com>
* components/notes/nautilus-notes.c
(make_notes_view): upd.
* components/news/nautilus-news.c
(rss_read_done_callback): parse the RTF, but don't spew
warnings everywhere.
(make_news_view): upd.
* components/throbber/main.c
(cb_create_throbber): impl.
(throbber_object_destroyed, throbber_make_object):
axe cut & paste.
* libnautilus/nautilus-view-standard-main.c
(nautilus_view_create_from_get_type_function):
widen from NautilusView to BonoboObject, this
code has a much wider application.
(make_object): ditto.
* components/hardware/nautilus-hardware-view.c
(nautilus_hardware_view_get_nautilus_view): upd.
* components/throbber/nautilus-throbber.c
(nautilus_throbber_new): kill.
* libnautilus/nautilus-view-standard-main.c
(nautilus_view_standard_main_multi): use gdk_get_display.
* libnautilus-private/nautilus-bonobo-extensions.c
(nautilus_bonobo_activation_register_for_display): impl.
* src/nautilus-application.c
(nautilus_application_startup): use it.
* src/nautilus-window-toolbars.c
(location_change_at_idle_callback),
(throbber_callback): move from nautilus-window.c
(nautilus_window_allow_stop): move this here,
prune redundant sets, simplify property bag
extraction.
* src/nautilus-window.c
(nautilus_window_constructed): move throbber
location changed code out of here.
(nautilus_window_unrealize): no explicit removal
from remote property bag neccessary & upd.
* libnautilus-private/nautilus-metafile-factory.c
(corba_open): reduce complexity.
* libnautilus-private/nautilus-global-preferences.c:
(nautilus_global_preferences_init_with_folder_browsing):
Call the real nautilus_global_preferences_init. Without this, all
hell breaks loose.
* libnautilus/nautilus-clipboard.c:
(merge_in_clipboard_menu_items), (merge_out_clipboard_menu_items):
Don't do anything if things are NULL. Helps us destroy cleanly.
(focus_changed_callback): Add missing gboolean return value. These
days, signal handlers have to be more careful.
(target_destroy_callback): NULL things out instead of freeing
since destroy can happen more than once.
(nautilus_clipboard_set_up_editable): Do a weak ref so the target
data gets freed.
(first_focus_callback): Add missing gboolean return value. These
days, signal handlers have to be more careful.
* src/file-manager/fm-properties-window.c: (name_field_focus_out):
Return FALSE, not TRUE.
2002-03-04 Alexander Larsson <alla@lysator.liu.se>
* libnautilus-adapter/Makefile.am:
* libnautilus-private/Makefile.am:
* libnautilus/Makefile.am:
Bump major soname version to 2. Should fix bug #73142.
* libnautilus-private/nautilus-directory-metafile.c:
(free_factory): Just release, don't unref.
(get_metafile): Don't keep a ref. Also fix CORBA objref leak.
* libnautilus-private/nautilus-icon-factory.c:
(get_icon_from_cache):
* libnautilus-private/nautilus-metafile-factory.c:
(nautilus_metafile_factory_get_instance): Return the same
instance each time, don't ref, since lifetime is not managed
by ref counting.
* libnautilus/nautilus-clipboard.c:
(initialize_clipboard_component_with_callback_data):
Get rid of BonoboUIComponent leak.
* src/nautilus-application.c: Formatting tweaks.
* libnautilus-private/nautilus-bookmark.c: Minor cleanup.
* test/Makefile.am:
* test/test-nautilus-async-activation.c: Remove.
* Many files:
Simplified calls to bonobo_object_ref/unref.
* components/history/nautilus-history-view.c: (update_history):
Fixed so that a history update while one is already in progress
will work properly.
* libnautilus/nautilus-view.c:
(remove_listener): New.
(update_listener): Renamed from nautilus_view_set_frame, made it
handle various cases better. Fixed leak of property bag.
(forget_cached_view_frame): New.
(nautilus_view_set_frame_callback): Use new forget_cached_view_frame
and update_listener.
(nautilus_view_construct_from_bonobo_control): Use
g_signal_connect_object. Not sure if this is better, since they
are part of the same aggregate.
(nautilus_view_finalize): Use new forget_cached_view_frame and
remove_listener.
(nautilus_view_dispose): Use new forget_cached_view_frame and
remove_listener.
(nautilus_view_get_view_frame): Fixed leak of control frame.
(nautilus_view_set_listener_mask): Simplified, and made it work even
if you call it multiple times, by calling new update_listener.
* libnautilus-private/nautilus-icon-canvas-item.c:
(create_label_layout): Handle NULL font_name case just in case.
* libnautilus-private/nautilus-icon-container.c:
(nautilus_icon_container_set_zoom_level): Use
invalidate_label_sizes instead of setting update_icon_font.
(nautilus_icon_container_set_font_name): Do nothing if font name
doesn't change. If it does, use invalidate_label_sizes rather than
setting update_icon_font.
(nautilus_icon_container_set_font_size_table): Only redraw if font
size changes. Also, use invalidate_label_sizes rather than setting
update_icon_font.
* libnautilus-private/nautilus-directory.c:
(add_preferences_callbacks):
* libnautilus-private/nautilus-icon-factory.c: (get_icon_factory):
Initialize global preferences as needed.
* src/file-manager/fm-icon-view.c: (fm_icon_view_finalize):
* src/file-manager/fm-search-list-view.c: (real_destroy):
* src/nautilus-application.c: (nautilus_application_destroy),
(nautilus_application_create_window),
(nautilus_application_class_init):
* src/nautilus-main.c: (main):
* src/nautilus-view-frame.c: (create_corba_objects): Fix property
bag leak.
2002-02-22 Kjartan Maraas <kmaraas@gnome.org>
* components/hardware/main.c: Remove #ifdef ENABLE_NLS since it's not
supported in GNOME 2.
* components/music/fileinfo.c: Same here.
* libnautilus/nautilus-view-standard-main. Here too.
* src/nautilus-main.c: Same here.
* libnautilus-private/Makefile.am: Remove nautilus-desktop-file-loader.[ch].
* libnautilus-private/nautilus-desktop-file-loader.c: Remove.
* libnautilus-private/nautilus-desktop-file-loader.h: Remove.
* libnautilus-private/nautilus-directory-async.c:
(link_info_nautilus_link_read_callback): Pass in NULL for the new
optional URI parameter for parsing existing link files.
* libnautilus-private/nautilus-link-desktop-file.h:
* libnautilus-private/nautilus-link-desktop-file.c:
Change to use GnomeDesktopItem instead of NautilusDesktopFile.
* libnautilus-private/nautilus-link.h:
* libnautilus-private/nautilus-link.c:
(nautilus_link_get_link_uri_given_file_contents),
(nautilus_link_get_link_name_given_file_contents),
(nautilus_link_get_link_icon_given_file_contents):
Add optional URI parameter for parsing existing link files. This
is passed down to the GnomeDesktopItem level, which can sometimes
do a better job if it knows the URI.
* src/file-manager/fm-directory-view.c: (activate_callback):
Change to use GnomeDesktopItem instead of NautilusDesktopFile. Also,
simplify error handling.
* Many files:
Fix includes to use <> style in headers more consistently, and remove
unnecessarily includes.
2002-02-20 Michael Meeks <michael@ximian.com>
* libnautilus/nautilus-view.c
(nautilus_view_set_frame): don't spew debug as we
disconnect from a dead parent.
* src/nautilus-sidebar-tabs.c
(tab_item_destroy): ditto.
* src/nautilus-window.
(nautilus_window_unrealize): ditto.
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.
* 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.
* 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.
* 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.
2002-01-15 Johan Dahlin <jdahlin@telia.com>
* libnautilus/Makefile.am (nautilus_view_component_idl_stamp):
* libnautilus/nautilus-view-component.idl: define
__nautilus_view_component_COMPILATION instead of
NAUTILUS_VIEW_COMPONENT_COMPILATION, to be compatible with
libbonobo and bonobo-activation's idls.
* configure.in: Bump required eel version number. Get rid of
ORBIT_REQUIRED.
* libnautilus/Makefile.am: Remove unneeded "-I$(builddir)" since
it is screwing up "make distcheck".
rid of all the Makefile.am hackery so that everything ends up in
the tarball.
* configure.in: Bumped version to 1.1.1.
* components/Makefile.am: Re-enabled all the subdirs.
* components/adapter/Makefile.am: Re-enabled
nautilus-adapter-embeddable-embed-strategy.[ch].
* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
Put an #if GNOME2_CONVERSION_COMPLETE around the whole thing.
* components/loser/content/Makefile.am:
* components/loser/sidebar/Makefile.am:
Update for COMPONENT_CFLAGS in NAUTILUS_PRIVATE_CFLAGS.
* components/loser/content/main.c: (loser_make_object), (main):
* components/loser/sidebar/main.c: (loser_make_object), (main):
* components/loser/content/nautilus-content-loser.c:
(nautilus_content_loser_init):
* components/loser/sidebar/nautilus-sidebar-loser.c:
(nautilus_sidebar_loser_init):
Make these compile, not sure if they actually work.
* components/shell/Nautilus_View_shell.server.in: Remove.
* components/shell/shell.c: Remove.
This component can go in a separate package -- it doesn't need to be
part of the main Nautilus source tree.
* components/text/Makefile.am: Turned off compiling of the component,
but used EXTRA_DIST to make sure the source code still gets into the
tarball.
* components/tree/Makefile.am: Removed $(COMPONENT_LIBS) from the
libnautilus_tree_view_la_SOURCES list. Not sure why it was in there.
* libnautilus-private/Makefile.am: Remove stale references to the
nautilus-druid-related headers.
* libnautilus/nautilus-view-standard-main.c:
(nautilus_view_standard_main_multi): Remove some
GNOME2_CONVERSION_COMPLETE code that is now clearly not going to
be needed. Left in the stuff that is a placeholder for things we
still need.
* src/Makefile.am: Distribute the profiler sources even when they are
not built.
* libnautilus-private/nautilus-icon-container.c: Whitespace tweak.
* libnautilus-private/nautilus-file-operations.c:
(handle_transfer_ok): Do fix based on patch from Martin Wehner
<mwehner@tfh-berlin.de> to prevent cancel of emptying trash or
deleting from core dumping.
* Makefile.am:
* configure.in:
* docs/.cvsignore:
* docs/Makefile.am:
Add files in the docs directory to tarball.
* libnautilus/nautilus-view-standard-main.c:
(nautilus_view_standard_main_multi): Whitespace tweak.
2001-12-06 Michael Meeks <michael@ximian.com>
* libnautilus/nautilus-view-standard-main.c
(nautilus_view_standard_main_multi): if we were
already registered - due to a beautifuly inefficient
activation server race - just quit.
2001-12-05 Gediminas Paulauskas <menesis@delfi.lt>
* libnautilus-private/nautilus-desktop-file-loader.c: remove
cut'n'pasted functions which are in glib now.
* src/nautilus-about.c (nautilus_about_instance_init): don't set
close key accelerator, Gtk+ does that already.
2001-12-05 Gediminas Paulauskas <menesis@delfi.lt>
* configure.in, libnautilus/Makefile.am,
libnautilus/libnautilus.pc.in: make libnautilus know to pkg-config
2001-12-05 Gediminas Paulauskas <menesis@delfi.lt>
* components/hardware/main.c, components/help/hyperbola-main.c,
components/image-viewer/nautilus-image-view.c,
components/mozilla/main.c, libnautilus/nautilus-view-standard-main.c,
src/nautilus-main.c: (main) get translated messages from nautilus
text domain in utf-8.
* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback)
replace copyright symbol with utf-8 version of it.
2001-11-22 Michael Meeks <michael@ximian.com>
* components/notes/nautilus-notes.c (make_notes_view):
listen for changed on the text buffer.
(notes_load_metainfo): set buffer to "" not NULL.
* libnautilus/nautilus-view-standard-main.c
(delayed_quit_timeout_callback): do a bonobo_main_quit.
(object_destroyed): GObject-ify.
* components/throbber/main.c (main): upd.
2001-11-22 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-icon-container.c
(nautilus_icon_container_class_init): fix marshaller.
* libnautilus-private/nautilus-marshal.list: add
INT_POINTER_BOOLEAN
* src/file-manager/fm-properties-window.c
(real_destroy): protect against double destroys.
Tue Nov 20 21:45:43 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: Add [quoting] around AC_CHECK_HEADERS needed for
some autoconf versions.
* components/text/nautilus-text-view.c (file_read_callback):
text_view->details->text_display is set to NULL in
nautilus_text_view_destroy(), so simply check for non-NULL
rather than calling GTK_OBJECT_DESTROYED().
* src/file-manager/fm-properties-window.c (real_destroy): NULL
out name_field here, since it will be destroyed, so we
can avoid accessing it in rename_callback.
* libnautilus-private/Makefile.am (nautilus-marshal-guts.c): Get rid
of nautilus-marshal-guts.h, since glib-genmarshal now generates correct
standalone headers.
* libnautilus/nautilus-clipboard.c (select_all_callback),
* libnautilus-private/nautilus-entry.c (nautilus_entry_select_all_at_idle):
Remove the idle on destrunction of the widget, rather than checking
GTK_OBJECT_DESTROYED().
* components/history/nautilus-history-view.c:
* components/notes/nautilus-notes.c:
* components/sample/nautilus-sample-content-view.c:
* components/throbber/nautilus-throbber.c:
Update to use proper boilerplate macros. Other porting tweaks.
* libnautilus/nautilus-view.c: Switch to gnome version of macros
instead of eel version.
2001-11-12 Michael Meeks <michael@ximian.com>
* libnautilus/nautilus-view.c
(view_frame_call_begin): guard against
CORBA_OBJECT_NIL return from get_control_frame.
2001-11-10 Thomas Canty <tommydal@optushome.com.au>
* Lots of files:
Work towards getting the components compiling and
working. History, News, Notes and Throbber components
are now working.
* libnautilus/nautilus-view-standard-main.c:
Change the initialisation to use bonobo_ui_init
* src/nautilus-window-toolbars.c:
Re-enable the throbber.
* cut-n-paste-code/widgets/e-paned/e-paned.c:
(e_paned_class_init): Turn off e_paned_expose for now.
* libnautilus-private/nautilus-icon-container.c:
(nautilus_icon_container_class_init): Marshaller said the
parameters were strings, but they were actually pointers to
strings.
* libnautilus/nautilus-view.c: (queue_incoming_call): Pass
servant, not bonobo object.
* src/nautilus-view-frame.c: (nautilus_view_frame_init),
(attach_view): Switch to eel versions of connect_while_alive
functions, since the gtk versions work only on gtk objects.
* cut-n-paste-code/widgets/e-paned/e-paned.c:
(e_paned_handle_shown): Fix a G_OBJECT_CLASS that should
have been G_OBJECT_GET_CLASS.
* libnautilus-private/Makefile.am: Add back the dependency on
the cut-n-paste libraries.
* libnautilus-private/nautilus-bonobo-extensions.c:
(nautilus_bonobo_get_hidden): Silently ignore when there's no
"hidden" attribute rather than warning every time.
* libnautilus-private/nautilus-icon-factory.c:
(nautilus_icon_factory_get_pixbuf_for_icon): Ref all the pixbufs
on their way out of the icon factory since we don't have a new
strategy for removing them from the cache when the caller is done
yet.
* src/nautilus-sidebar-title.c:
(sidebar_title_create_more_info_label): Don't call make_smaller
so Havoc won't complain every time we do it.
* src/nautilus-view-frame.c: (nautilus_view_frame_destroy): Check
for NULL so we can call destroy any number of times.
* src/nautilus-window-toolbars.c:
(nautilus_window_initialize_toolbars): Turn off the code that
tries to load the throbber since we aren't compiling it yet.
* components/loser/content/nautilus-content-loser-ui.xml:
* components/loser/sidebar/nautilus-sidebar-loser-ui.xml:
* components/sample/nautilus-sample-content-view-ui.xml:
* libnautilus/nautilus-clipboard-ui.xml:
* src/nautilus-shell-ui.xml:
Update for new names of stock icons.