summaryrefslogtreecommitdiff
path: root/libnautilus
Commit message (Collapse)AuthorAgeFilesLines
* Remove icon XML string from HistoryItem.Sean Atkinson2002-05-152-2/+0
| | | | | | | | | | | | | | | | | | | | | | | 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.
* activate the throbber in case we didn't earlier.Michael Meeks2002-05-131-18/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* re-instate the making of per display iids.Michael Meeks2002-03-141-2/+2
| | | | | | | | | | | | | | | | | | 2002-03-11 Michael Meeks <michael@ximian.com> * libnautilus-private/nautilus-bonobo-extensions.c (nautilus_bonobo_activation_register_for_display): re-instate the making of per display iids. * components/loser/sidebar/main.c (main): use eel_bonobo_make_registration_id. * components/loser/content/main.c (main): ditto. * components/adapter/main.c (main): ditto. * libnautilus/nautilus-view-standard-main.c (nautilus_view_standard_main_multi): ditto.
* use g_object_weak_ref instead of the "destroy" signal which is mostlyMichael Meeks2002-03-111-6/+10
| | | | | | | | | | 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.
* a GSource is not a GObject, #73782.Michael Meeks2002-03-081-2/+6
| | | | | | | | 2002-03-08 Michael Meeks <michael@ximian.com> * libnautilus/nautilus-clipboard.c (select_all_callback): a GSource is not a GObject, #73782.
* Use gdk_get_display, not getenv ("DISPLAY"). Ditto. Ditto.Darin Adler2002-03-083-19/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Rename old stop_monitoring_directory function.Darin Adler2002-03-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Because lots of recent bugs were due to "signal handler called afterDarin Adler2002-03-075-28/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* impl. to cope with having a paned with no child2, without doing lots ofMichael Meeks2002-03-072-28/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Call the real nautilus_global_preferences_init. Without this, all hellDarin Adler2002-03-041-32/+33
| | | | | | | | | | | | | | | | | | | | | | * 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.
* Bump major soname version to 2. Should fix bug #73142.Alexander Larsson2002-03-041-0/+1
| | | | | | | | | 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.
* Just release, don't unref. (get_metafile): Don't keep a ref. Also fixDarin Adler2002-02-271-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Simplified calls to bonobo_object_ref/unref.Darin Adler2002-02-274-163/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Remove #ifdef ENABLE_NLS since it's not supported in GNOME 2. Same here.Kjartan Maraas2002-02-221-2/+0
| | | | | | | | | | 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.
* Remove nautilus-desktop-file-loader.[ch]. Remove. Remove.Darin Adler2002-02-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* don't spew debug as we disconnect from a dead parent.Michael Meeks2002-02-201-1/+3
| | | | | | | | | | | | | | 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.
* setup both the rgba and GdkColor variants. (update_label_color): upd.Michael Meeks2002-02-191-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-02-17 Michael Meeks <michael@ximian.com> * libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_theme_changed): setup both the rgba and GdkColor variants. (update_label_color): upd. color handling. (alloc_colors): allocate the colors on realize 2002-02-15 Michael Meeks <michael@ximian.com> * libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_get_label_color): return the colors we need, grab them from the style's text information though. 2002-02-14 Michael Meeks <michael@ximian.com> * libnautilus-private/nautilus-icon-canvas-item.c (nautilus_icon_canvas_item_get_property), (nautilus_icon_canvas_item_set_property): port to properties. (draw_or_measure_label_text): update color handling, could we re-use the gc here ? (draw_stretch_handles): upd gc unref. (nautilus_icon_canvas_item_class_init): upd. * libnautilus-private/nautilus-theme.c (nautilus_pixmap_file_may_be_local), (nautilus_theme_install_user_theme), (nautilus_theme_make_preview_pixbuf), (theme_get_property), (load_theme_document): upd. file tests. * libnautilus-private/nautilus-monitor.c (get_event_uri): use g_build_filename. * libnautilus-private/nautilus-find-icon-image.c (get_user_emblem_path, make_full_icon_path), (make_full_icon_path): upd. file test. * libnautilus-private/nautilus-file-utilities.c (nautilus_pixmap_file), (nautilus_get_data_file_path), (nautilus_get_user_directory), (nautilus_get_desktop_directory): upd. file tests. * libnautilus-private/nautilus-directory-metafile.c (nautilus_directory_get_boolean_file_metadata): use strcasecmp not ascii_strdown to save yet more malloc locking penalty. * libnautilus-private/nautilus-directory-background.c (nautilus_file_background_receive_root_window_changes), (desktop_background_destroyed_callback): upd. root window macro. (nautilus_connect_background_to_file_metadata), (initialize_background_from_settings), (image_loading_done_callback): upd g_signal bits. * libnautilus-private/nautilus-volume-monitor.c (nautilus_volume_monitor_class_init): upd file test. * libnautilus-private/nautilus-undo-signal-handlers.c (nautilus_undo_tear_down_nautilus_entry_for_undo): upd. * libnautilus-private/nautilus-undo-manager.c (nautilus_undo_manager_class_init): upd. signal bits. * libnautilus-private/nautilus-trash-monitor.c (nautilus_trash_monitor_class_init): g_cclosureize. (nautilus_trash_monitor_init): g_signal upds. * libnautilus-private/nautilus-trash-file.c (trash_destroy, nautilus_trash_file_init), (remove_real_file): upd. g_signal bits. * libnautilus-private/nautilus-trash-directory.c (nautilus_trash_directory_init): upd. signal connect. (trash_destroy): upd. signal bits. * libnautilus-private/nautilus-program-choosing.c (get_xalf_prefix): upd. find_program_in_path. * libnautilus-private/nautilus-program-chooser.c (nautilus_program_chooser_init): upd. window policy * libnautilus-private/nautilus-merged-directory.c (merged_remove_real_directory): upd. g_signal. (nautilus_merged_directory_class_init): upd. g_closure * libnautilus-private/nautilus-link-desktop-file.c (nautilus_link_desktop_file_get_link_icon_from_desktop): upd. pixmap location. * libnautilus-private/nautilus-icon-factory.c (nautilus_icon_factory_class_init): upd. marshallers (is_theme_in_user_directory): upd. file test. * libnautilus-private/nautilus-icon-dnd.c (auto_scroll_timeout_callback): do a queue_draw_area instead of a widget_draw. * libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_init), (set_pending_icon_to_reveal): g_signal updates. (nautilus_icon_container_new): remove visual push/pop. * libnautilus-private/nautilus-file.c (nautilus_file_fit_date_as_string): upd. julian date get. (nautilus_file_class_init): upd. marshallers. * libnautilus-private/nautilus-file-operations.c (extract_and_ellipsize_file_name_for_dialog): use get_basename. (nautilus_file_operations_copy_move): use gtk stock. * libnautilus-private/nautilus-file-operations-progress.c (nautilus_file_operations_progress_update): use progress_bar_set_fraction. (nautilus_file_operations_progress_init): prune progress setup - these are the defaults. * libnautilus-private/nautilus-entry.c (nautilus_entry_key_press): upd select_region. * libnautilus-private/nautilus-drag-window.c (get_ancestor_blocked_by): upd type_is_a. * libnautilus-private/nautilus-dnd.c (nautilus_drag_finalize), (nautilus_drag_init): g_object ref upd. * libnautilus-private/nautilus-directory.c (nautilus_directory_class_init): marshaller upd.. (nautilus_directory_schedule_metadata_remove), (nautilus_directory_schedule_metadata_copy), (nautilus_directory_schedule_metadata_move): basename upd. * libnautilus-private/nautilus-directory-background.c (desktop_background_realized): g_signal upd. (theme_image_path_to_uri): file test upd. (image_loading_done_callback): object unref on gc & pixmap. (background_changed_callback): g_signal upd. * libnautilus-private/nautilus-bookmark.c (nautilus_bookmark_disconnect_file): g_signal upd. (nautilus_bookmark_uri_known_not_to_exist): upd file test. * libnautilus-private/nautilus-authn-manager.c (authentication_dialog_button_clicked): use GTK_RESPONSE_OK * libnautilus-private/Makefile.am: add deprc. CFLAGS. * libnautilus/Makefile.am: ditto. * configure.in (DISABLE_DEPRECATED_CFLAGS): add. 2002-02-13 Michael Meeks <michael@ximian.com> * libnautilus-private/nautilus-icon-dnd.c (nautilus_icon_container_free_drag_data): re-enterancy protection.
* fix licensing info.Laszlo Peter2002-02-042-6/+6
| | | | | | 2002-02-04 Laszlo Peter <laca@ireland.sun.com> * libnautilus/nautilus-clipboard.[ch]: fix licensing info.
* Call gnome_program_init.Anders Carlsson2002-01-281-3/+6
| | | | | | | | | 2002-01-28 Anders Carlsson <andersca@gnu.org> * components/throbber/main.c (main): Call gnome_program_init. * libnautilus/nautilus-view-standard-main.c (nautilus_view_standard_main_multi): Call gnome_program_init.
* Add selectable argument. (attach_value_label): set selectable to TRUE.Anders Carlsson2002-01-271-1/+1
| | | | | | | | | | | | | | 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.
* Use newfangled gnome-client.h calls to turn off session management.Darin Adler2002-01-231-9/+5
| | | | | | | | | | | | | * 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.
* re-remove the per display IID creation scheme - it's broken.Michael Meeks2002-01-233-30/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Disable the code that destroys the fallback icon at shutdown time since itDarin Adler2002-01-221-0/+1
| | | | | | | | | | | | | | | | | | | | | * 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.
* Remove nautilus-launch-icon.png.Darin Adler2002-01-192-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Remove unneeded code and restore display-specific registration. This getsDarin Adler2002-01-172-26/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* define __nautilus_view_component_COMPILATION instead ofJohan Dahlin2002-01-162-3/+3
| | | | | | | | | | 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.
* Bump required eel version number. Get rid of ORBIT_REQUIRED.Darin Adler2002-01-151-1/+0
| | | | | | | | * 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".
* Inspired by a patch from Jacob Berkman <jacob@ximian.com>, gotDarin Adler2002-01-151-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Implement nautilus_view_close_window ().Anders Carlsson2002-01-083-0/+28
| | | | | | | | | | | | | | | | | | | | | | 2002-01-08 Anders Carlsson <andersca@gnu.org> * libnautilus-private/nautilus-icon-container.c: (nautilus_icon_container_update_icon): * libnautilus/nautilus-view-component.idl: * libnautilus/nautilus-view.c: (call_close_window), (nautilus_view_close_window): * libnautilus/nautilus-view.h: * src/nautilus-profiler.c: (nautilus_profiler_bonobo_ui_report_callback): * src/nautilus-view-frame-corba.c: (close_window), (impl_Nautilus_ViewFrame_close_window), (nautilus_view_frame_corba_part_class_init): * src/nautilus-view-frame-private.h: * src/nautilus-view-frame.c: (nautilus_view_frame_close_window), (nautilus_view_frame_class_init): * src/nautilus-view-frame.h: * src/nautilus-window-manage-views.c: (close_window_callback): Implement nautilus_view_close_window ().
* fix strcmp style for Darin.Michael Meeks2001-12-213-45/+232
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-12-18 Michael Meeks <michael@ximian.com> * components/hardware/nautilus-hardware-view.c (setup_overview_form): fix strcmp style for Darin. * components/music/fileinfo.c (find_genre_id), (file_info_http): ditto. * libnautilus-private/nautilus-customization-data.c (nautilus_customization_data_get_next_element_for_display), (nautilus_customization_data_new): ditto. * src/nautilus-property-browser.c (nautilus_property_browser_drag_data_get), (make_category_link, make_drag_image): ditto. * libnautilus-private/nautilus-volume-monitor.c (option_list_has_option): ditto. 2001-12-17 Michael Meeks <michael@ximian.com> * src/file-manager/fm-directory-view.c (fm_directory_view_init): set mask. * src/nautilus-view-frame.c (create_corba_objects): set ambient property bag. (create_ambient_properties), (nautilus_view_frame_get_prop): impl. (nautilus_view_frame_title_changed), (nautilus_view_frame_selection_changed), (send_history): re-implement to fire event instead. * components/history/nautilus-history-view.c (nautilus_history_view_instance_init): set mask. (history_changed_callback, update_history): constify. * libnautilus/nautilus-view.c (impl_Nautilus_View_title_changed), (impl_Nautilus_View_history_changed): kill. (impl_Nautilus_View_selection_changed): kill. (nautilus_view_construct_from_bonobo_control): connect to set_frame. (nautilus_view_set_frame_callback): impl. (nautilus_view_dispose): impl. to unset the frame (nautilus_view_class_init): upd signals, epv & hook dispose. (nautilus_view_frame_property_changed_callback): impl. (nautilus_view_get_ambient_properties): impl. (nautilus_view_set_listener_mask): impl. * libnautilus/nautilus-view-component.idl: remove title_changed and history_changed - use a propert and the more flexible listener interface.
* Do fix based on patch from Martin Wehner <mwehner@tfh-berlin.de> toDarin Adler2001-12-091-1/+2
| | | | | | | | | | | | | | | | * 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.
* if we were already registered - due to a beautifuly inefficient activationMichael Meeks2001-12-081-7/+9
| | | | | | | | | 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.
* remove cut'n'pasted functions which are in glib now. don't set close keyGediminas Paulauskas2001-12-054-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Return from get_type() functions is GType, not guint. Deal with errantOwen Taylor2001-11-271-1/+1
| | | | | | | | | | | Mon Nov 26 20:34:52 2001 Owen Taylor <otaylor@redhat.com> * libnautilus-private/nautilus-icon-factory.c: * libnautilus-private/nautilus-icon-container.h libnautilus-private/nautilus-file-operations-progress.h: Return from get_type() functions is GType, not guint. * components/sample/nautilus-sample-content-view.c libnautilus/nautilus-undo-private.h: Deal with errant gobject/* includes. (George Karabin)
* listen for changed on the text buffer. (notes_load_metainfo): set bufferMichael Meeks2001-11-221-9/+14
| | | | | | | | | | | | | | 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.
* fix marshaller.Michael Meeks2001-11-221-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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().
* kill g_log_domain_glib.Michael Meeks2001-11-212-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-11-21 Michael Meeks <michael@ximian.com> * src/nautilus-main.c (main): kill g_log_domain_glib. * components/news/nautilus-news.c (main): ditto. * libnautilus-private/nautilus-marshal.h: upd. * libnautilus/nautilus-view.c (nautilus_view_class_init): update for new marshallers. * libnautilus-private/nautilus-directory-async.c (nautilus_directory_async_state_changed): #ifdef out GTK_OBJECT_DESTROYED check. * libnautilus/nautilus-clipboard.c (select_all_idle_callback): kill GTK_OBJECT_DESTROYED check; unneccessary. * libnautilus-private/nautilus-directory.c (nautilus_directory_find_file_by_internal_uri): ditto. * libnautilus-private/nautilus-entry.c (select_all_at_idle): ditto. * components/text/nautilus-text-view.c (file_read_callback): ditto. * src/file-manager/fm-properties-window.c (rename_callback): ditto.
* Update to use proper boilerplate macros. Other porting tweaks.Darin Adler2001-11-131-13/+7
| | | | | | | | | | | * 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.
* guard against CORBA_OBJECT_NIL return from get_control_frame.Michael Meeks2001-11-121-1/+2
| | | | | | | | 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.
* Work towards getting the components compiling and working. History, News,Thomas Canty2001-11-111-5/+13
| | | | | | | | | | | | | | | 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.
* Lots of files. Get rid a lot of unneeded casts.Darin Adler2001-11-094-11/+11
| | | | | * Lots of files. Get rid a lot of unneeded casts.
* Cleanup, turn on all DISABLE_DEPRECATED. Turn on all DISABLE_DEPRECATED.Darin Adler2001-11-092-63/+27
| | | | | | | | | | | | | | | | * components/sample/Makefile.am: Cleanup, turn on all DISABLE_DEPRECATED. * libnautilus/Makefile.am: Turn on all DISABLE_DEPRECATED. * components/sample/nautilus-sample-content-view.c: (nautilus_sample_content_view_instance_init): Remove gratuitous assert. * libnautilus/nautilus-clipboard.c: (cut_callback), (copy_callback), (paste_callback): Remove bug workaround. (merge_in_clipboard_menu_items), (merge_out_clipboard_menu_items), (nautilus_clipboard_set_up_editable), (disconnect_set_up_in_control_handlers): gtk_signal -> g_signal.
* Lots of files. Another GtkObject -> GObject pass.Darin Adler2001-11-067-74/+72
| | | | | * Lots of files. Another GtkObject -> GObject pass.
* Did some fixes based on a patch Michael sent me.Darin Adler2001-11-061-1/+1
| | | | | | | | | | | | | | | | | * 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.
* update bonobo requirement to 1.106.0 bump bonobo-activation to 0.9.3, bumpMichael Meeks2001-11-062-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-11-06 Michael Meeks <michael@ximian.com> * configure.in: update bonobo requirement to 1.106.0 bump bonobo-activation to 0.9.3, bump canvas and libgnome[ui] to 1.105, ORBit2 >= 2.3.97, glib, gtk+, gdk-pixbuf >= 1.3.10, gconf >= 1.1.3 * components/adapter/nautilus-adapter-control-embed-strategy.c (nautilus_adapter_control_embed_strategy_activate): add NULL opt_ev to bonobo_ui_util_set_ui and/or bonobo_control_frame_set_ui_container * components/adapter/nautilus-adapter-embeddable-embed-strategy.c (nautilus_adapter_embeddable_embed_strategy_activate): ditto. * libnautilus/nautilus-view.c (nautilus_view_set_up_ui): ditto. * libnautilus/nautilus-clipboard.c (merge_in_clipboard_menu_items): ditto. * src/nautilus-window.c (nautilus_window_constructed): ditto. * src/file-manager/fm-desktop-icon-view.c (real_merge_menus): ditto. * src/file-manager/fm-search-list-view.c (real_merge_menus): ditto. * libnautilus/nautilus-view.c (nautilus_view_set_up_ui): ditto.
* Fix a G_OBJECT_CLASS that should have been G_OBJECT_GET_CLASS.Darin Adler2001-11-051-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Tons of files. More GtkObject -> GObject stuff.Darin Adler2001-11-046-143/+107
| | | | | * Tons of files. More GtkObject -> GObject stuff.
* More GtkObject -> GObject stuff.Darin Adler2001-11-041-4/+4
| | | | | | | | | | | | | | | | | * components/text/nautilus-text-view.c: (nautilus_text_view_init): * libnautilus/nautilus-view.c: * src/file-manager/fm-icon-view.c: (fm_icon_view_init): * src/file-manager/fm-properties-window.c: (append_directory_contents_fields), (append_special_execution_flags): * src/nautilus-application.c: (nautilus_application_startup), (nautilus_application_create_window): * src/nautilus-sidebar-title.c: (nautilus_sidebar_title_init): * src/nautilus-window-menus.c: (nautilus_window_initialize_bookmarks_menu), (nautilus_window_initialize_menus_part_1): * src/nautilus-window.c: (add_sidebar_panel_callback): More GtkObject -> GObject stuff.
* Many files. Update for change in Eel boilerplate macro names.Darin Adler2001-11-042-2/+5
| | | | | | | | | | | * Many files. Update for change in Eel boilerplate macro names. * src/nautilus-application.c: (nautilus_application_startup): GtkObject -> GObject. * src/nautilus-shell.c: (nautilus_shell_class_init), (finalize), (nautilus_shell_new): GtkObject -> GObject.
* remove GtkText workaround (I'm also checking in a fix for the bug beingHavoc Pennington2001-11-021-15/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-11-01 Havoc Pennington <hp@pobox.com> * libnautilus/nautilus-clipboard.c (select_all): remove GtkText workaround (I'm also checking in a fix for the bug being worked around) * libnautilus-private/nautilus-bookmark.c (nautilus_bookmark_menu_item_new): replace some PixmapMenuItem with ImageMenuItem * src/file-manager/fm-directory-view.c (set_script_environment_variables): use eel_gtk_window_get_geometry_string * src/nautilus-zoom-control.c: just nuke the draw method, it ain't coming back * src/nautilus-window.c (set_initial_window_geometry): remove gtk_window_set_policy() that was useless, and replace set_usize with set_size_request. (nautilus_window_constructed): remove menu_bar_no_resize_hack, I have no idea what GTK bug it's talking about, neither does the referenced bug report say, but if we see it again we'll fix it. (plus it says the bug is unsigned math, and GTK 2 pretty much did a global s/uint/int/, especially in the size request/alloc code) * src/nautilus-desktop-window.c (realize): just remove the gnome_win_hints stuff, as the FIXME says, it's dead. (realize): remove the set_decorations, set_functions, and the move_resize, all cruft (nautilus_desktop_window_init): simplify some cruft in here * src/nautilus-bookmarks-window.c (nautilus_bookmarks_window_save_geometry): use eel_gtk_window_get_geometry_string * src/nautilus-window.c (nautilus_window_save_geometry): ditto