summaryrefslogtreecommitdiff
path: root/libnautilus
Commit message (Collapse)AuthorAgeFilesLines
* 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
* More changes to make Nautilus get closer to running.Darin Adler2001-11-021-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libnautilus-private/nautilus-bonobo-extensions.h: Remove NAUTILUS_BONOBO_X_BOILERPLATE, superceded by EEL_DEFINE_ BONOBO_BOILERPLATE * libnautilus-private/nautilus-directory-metafile-monitor.c: * libnautilus-private/nautilus-metafile.c: * libnautilus-private/nautilus-undo-context.c: * libnautilus/nautilus-undo-transaction.c: Same fixes Havoc did, formatted differently. * libnautilus-private/nautilus-undo-manager.c: (corba_append), (corba_forget), (corba_undo), (nautilus_undo_manager_new), (finalize), (nautilus_undo_manager_class_init): GtkObject -> GObject fixes. bonobo_object_from_servant fixes. * nautilus-clean.sh: Not sure if we still need this, but change gconfd-1 to gconfd-2 and oafd to bonobo-activation-server. * nautilus.spec.in: Some updates, not sure if they are right. * src/nautilus-application.c: (nautilus_application_new), (nautilus_application_finalize), (nautilus_application_class_init): GtkObject -> GObject fixes. * src/nautilus-main.c: (main): Use gnome_program_init. * src/Makefile.am: Define a bunch more stuff used by GNOME_PROGRAM_STANDARD_PROPERTIES.
* fix EEL_DEFINE_BONOBO_BOILERPLATE callHavoc Pennington2001-11-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-11-01 Havoc Pennington <hp@pobox.com> * src/nautilus-view-frame-corba.c: fix EEL_DEFINE_BONOBO_BOILERPLATE call * src/nautilus-property-browser.c (nautilus_property_browser_init): mnemonics * src/nautilus-complex-search-bar.c (attach_criterion_to_search_bar): use gtk_widget_activate instead of eel_gtk_button_auto_click * src/nautilus-simple-search-bar.c (nautilus_simple_search_bar_new): ditto * src/nautilus-sidebar.c (nautilus_sidebar_update_buttons): remove eel_gtk_button_set_standard_padding, add mnemonic to button * src/nautilus-bookmarks-window.c (create_bookmarks_window): remove eel_gtk_button_set_standard_padding, add mnemonic to button * src/file-manager/fm-properties-window.c (create_basic_page): remove eel_gtk_button_set_standard_padding, add mnemonics to buttons * src/file-manager/fm-directory-view.c (copy_or_cut_files): remove use of eel_get_current_event_time() (paste_files_callback): ditto * Makefile.am (SUBDIRS): cut-n-paste-code seems to be required by libnautilus-private, so move it before libnautilus-private * libnautilus-private/nautilus-undo-manager.c: fix EEL_DEFINE_BONOBO_BOILERPLATE call * libnautilus-private/nautilus-undo-context.c: fix EEL_DEFINE_BONOBO_BOILERPLATE call * libnautilus-private/nautilus-program-chooser.c (nautilus_program_chooser_new): axe eel_gtk_button_set_standard_padding, add mnemonic to button (nautilus_program_chooser_new): axe eel_gtk_button_set_standard_padding, add mnemonic to button * libnautilus-private/nautilus-metafile.c: fix EEL_DEFINE_BONOBO_BOILERPLATE call * libnautilus-private/nautilus-metafile-factory.c: fix EEL_DEFINE_BONOBO_BOILERPLATE call * libnautilus-private/nautilus-icon-dnd.c (nautilus_icon_dnd_begin_drag): replace eel_drag_set_icon_pixbuf * libnautilus-private/nautilus-directory-metafile-monitor.c: fix EEL_DEFINE_BONOBO_BOILERPLATE call * libnautilus/nautilus-undo-transaction.c: fix EEL_DEFINE_BONOBO_BOILERPLATE call
* cut-n-paste-code now compiles, and we are a hair's breadth away fromDarin Adler2001-10-313-422/+1
| | | | | | * Lots of files: cut-n-paste-code now compiles, and we are a hair's breadth away from linking -- so far from running, though
* More GNOME 2 work. We now compile up to libnautilus-private and I'mDarin Adler2001-10-287-223/+91
| | | | | | | * Lots of files: More GNOME 2 work. We now compile up to libnautilus-private and I'm working my way through the files in there. Also changed all the initialize_class and initialize to class_init and init.
* First baby steps at compiling under gnome 2.Darin Adler2001-10-248-75/+38
|
* Remove RPMs-README.Darin Adler2001-10-113-3/+4
| | | | | | | | | | | | * Makefile.am: Remove RPMs-README. * libnautilus/Makefile.am: -I$(builddir) * libnautilus/nautilus-undo-private.h: * libnautilus/nautilus-undo-transaction.h: Use #include <libnautilus/x.h> rather than #include "x.h". * NEWS: Some refinement.
* Updated bugzilla.eazel.com references to refer to theDarin Adler2001-09-1511-12/+12
| | | | | corresponding bugzilla.gnome.org bug. Also updated my email address.
* Some makefile cleanup.Darin Adler2001-08-261-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am: Don't build intl since we don't need it the way we use gettext. * applets/launcher/Makefile.am: Remove redundant -I$(srcdir). * applets/preferences-applet/Makefile.am: Remove redundant -I$(srcdir). * components/adapter/Makefile.am: Remove redundant -I. * components/mozilla/Makefile.am: Mark private headers as SOURCES, not noinst_HEADERS, as suggested by automake book and manual. * components/news/Makefile.am: Remove unneeded -I$(top_srcdir)/components/news. * configure.in: Don't build intl since we don't need it the way we use gettext. * libnautilus-adapter/Makefile.am: Remove redundant -I. * libnautilus-private/Makefile.am: Change -I for new cut-n-paste-code scheme. Also mark private headers as SOURCES, not noinst_HEADERS, as suggested by automake book and manual. * libnautilus/Makefile.am: Remove redundant -I. * src/Makefile.am: Change -I for new cut-n-paste-code scheme. Also mark private headers as SOURCES, not noinst_HEADERS, as suggested by automake book and manual. * src/file-manager/Makefile.am: Mark private headers as SOURCES, not noinst_HEADERS, as suggested by automake book and manual. * check-THANKS.pl: Change Seth's preferred email address. * cut-n-paste-code/widgets/e-paned/Makefile.am: * cut-n-paste-code/widgets/gimphwrapbox/Makefile.am: Don't use -static, since we plan to link Remove unneeded -I directives now that we handle includes differently. Also mark private headers as SOURCES, not noinst_HEADERS, as suggested by automake book and manual. * cut-n-paste-code/widgets/e-paned/e-hpaned.h: * cut-n-paste-code/widgets/e-paned/e-vpaned.h: * libnautilus-private/nautilus-horizontal-splitter.h: * src/nautilus-complex-search-bar.c: * src/nautilus-search-bar-criterion.c: Simpler include scheme for cut-n-paste code.
* Remove CONTROL_CENTER_REQUIRED since nautilus doesn't requireAnders Carlsson2001-08-231-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-23 Anders Carlsson <andersca@gnu.org> * nautilus.spec.in: Remove CONTROL_CENTER_REQUIRED since nautilus doesn't require control-center anymore. * configure.in: Remove CONTROL_CENTER_REQUIRED since nautilus doesn't require control-center anymore. * src/nautilus-window.c (nautilus_window_constructed): Set shrink to TRUE when adding the sidebar since it'll look better when the splitter is collapsed. (nautilus_window_destroy): Free the window title. * src/nautilus-window-manage-views.c (begin_location_change): Unref the directory when we're done using it. * src/nautilus-sidebar.c (nautilus_sidebar_destroy): Sink the title tab so it'll destroyed even if it hasn't got a parent. * libnautilus-private/nautilus-vfs-file.c (vfs_destroy): Free details struct. * libnautilus-private/nautilus-vfs-directory.c (vfs_destroy): Free details struct. * libnautilus-private/nautilus-mime-actions.c (nautilus_mime_get_short_list_applications_for_file): Free uri_scheme. (make_oaf_query_with_uri_scheme_only): Free explicit_iid_query. * libnautilus-private/nautilus-metafile.c (destroy): Unref the private vfs uri, and free the directory uri. * libnautilus-private/nautilus-file.c (nautilus_file_get_internal): Free the string returned by nautilus_directory_get_name_for_self_as_new_file. * libnautilus-private/nautilus-file-changes-queue.c (nautilus_file_changes_consume_changes): Free the change struct. * libnautilus-private/nautilus-directory-async.c (nautilus_directory_invalidate_count_and_mime_list): Unref the file after using it. * libnautilus/nautilus-idle-queue.c (execute_queued_functions): Free each list node. (nautilus_idle_queue_destroy): Likewise.
* Get display name in a better way suggested by Havoc Pennington.Maciej Stachowiak2001-08-031-1/+4
| | | | | | * libnautilus/nautilus-view-standard-main.c: (nautilus_view_standard_main_multi): Get display name in a better way suggested by Havoc Pennington.
* Remove multiple references to $(NAUTILUS_PRIVATE_LIBS) since havingAnders Carlsson2001-07-211-1/+0
| | | | | | | | | | | | 2001-07-21 Anders Carlsson <andersca@gnome.org> * components/help/Makefile.am: * components/sample/Makefile.am: * libnautilus-adapter/Makefile.am: * libnautilus-private/Makefile.am: * libnautilus/Makefile.am: Remove multiple references to $(NAUTILUS_PRIVATE_LIBS) since having multiple references makes linking very slow with libtool 1.4.
* Changed behaviour of view processes, now every process usingChyla Zbigniew2001-07-031-3/+23
| | | | | | | | | * libnautilus/nautilus-view-standard-main.c (struct CallbackData, delayed_quit_timeout_callback, object_destroyed, make_object, nautilus_view_standard_main_multi): Changed behaviour of view processes, now every process using nautilus_view_standard_main/nautilus_view_standard_main_multi will be destroyed after 30 seconds of inactivity, not immediately.
* Started with patch by Caleb "J." Land <bokonon@rochester.rr.com>Darin Adler2001-06-011-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and added XFS support so that trash will work on XFS volumes. * libnautilus-private/nautilus-volume-monitor.h: * libnautilus-private/nautilus-volume-monitor.c: (nautilus_volume_monitor_should_integrate_trash), (make_volume_name_from_path), (mount_volume_get_name), (do_volume_activate), (mount_volume_activate), (verify_current_mount_state), (mount_volume_ext2_add), (mount_volume_udf_add), (mount_volume_vfat_add), (mount_volume_msdos_add), (mount_volume_affs_add), (mount_volume_auto_add), (mount_volume_fat_add), (mount_volume_hpfs_add), (mount_volume_hsfs_add), (mount_volume_minix_add), (mount_volume_proc_add), (mount_volume_reiserfs_add), (mount_volume_ufs_add), (mount_volume_smb_add), (mount_volume_unsdos_add), (mount_volume_xenix_add), (mount_volume_xfs_add), (mount_volume_xiafs_add), (copy_volume), (load_additional_mount_list_info), (mount_volume_prepend_filesystem): Added an XFS case and crunched code a bit. Rolled in patch by Johan Dahlin <zilch.am@home.se> to install the public IDL files in $(datadir)/idl so that non-C programmers can use them. * libnautilus/Makefile.am: Install the IDL files. Also added them to the .spec file. * nautilus.spec.in: Install the IDL files as part of nautilus-devel.
* Fixed problem compiling with new gettext:Darin Adler2001-05-233-16/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * hack-macros/gnome.m4: Add BUILD_INCLUDED_LIBINTL for compatibility with the new gettext. Fixed a problem with the throbber detecting that its X window is gone. Based on suggestions from Owen Taylor. * libnautilus/nautilus-bonobo-workarounds.h: * libnautilus/nautilus-bonobo-workarounds.c: (destroy_later_callback), (destroyed_before_timeout_callback), (nautilus_bonobo_object_force_destroy_later): Changed to "destroy later" instead of "destroy at idle". This makes us less likely to experience race conditions. * src/nautilus-window.c: (nautilus_window_initialize_class), (nautilus_window_unrealize), (nautilus_window_destroy): Moved the throbber destruction to unrealize so we destroy the throbber before we destroy its X window. Starting with patch by Anders Carlsson <andersca@gnu.org>, added both prelighting and tracking to the throbber, also making it take action on release, not press. * components/throbber/nautilus-throbber.c: (nautilus_throbber_initialize_class): Add handlers for enter, leave, and release. (nautilus_throbber_initialize): Set flags so we get enter and leave events. (select_throbber_image): Ref the image that's returned. (draw_throbber_image): Make the image be prelit if the mouse is over the throbber but it wasn't clicked, and darkened if the mouse is over the throbber and it was clicked. (nautilus_throbber_enter_notify_event): Set flag and request redraw to prelight. (nautilus_throbber_leave_notify_event): Set flag and request redraw to un-prelight. (nautilus_throbber_button_press_event): Set flag to indicate we hit the button in the throbber. Also, respond only to left clicks. (nautilus_throbber_button_release_event): Look at flag set in press event. Do the work here now instead of at press time since we are more like a real button. Rolled in change by Miguel Rodríguez Pérez <migrax@terra.es> to fix volume mounting problems: * configure.in: Check for hasmntopt. * libnautilus-private/nautilus-volume-monitor.c: (get_removable_volumes): Fix typo (HAVE_MNTTENT_H -> HAVE_MNTENT_H). Integrated patch by Miguel Rodríguez Pérez <migrax@terra.es> to make Nautilus not try to preview MPEG lists: * src/file-manager/fm-icon-view.c: (icon_container_preview_callback): Made audio/x-mpegurl another exception to the list of audio types we can preview. Rolled in change by Dennis Smit <synap@area101.penguin.nl>: * THANKS: added more translators that were missing from the THANKS file (names from all the .po files in ./po). Other updates to THANKS: * THANKS: Added Jon K Hellan. * check-THANKS.pl: Fixed logic so you can be credited as both an author and translator. Other changes: * src/file-manager/fm-list-view.c: (get_default_zoom_level): Fix typo (storaged -> storage). * src/nautilus-shell-ui.xml: * src/file-manager/nautilus-directory-view-ui.xml: Fixed keybindings entries to use the correct tags as described by ui-xml.txt.
* nautilus-extensions -> nautilus-private renaming.Ramiro Estrugo2001-05-041-1/+1
|
* Lots of improvement. Make dealing with dependency libs/cflags simpler.Ramiro Estrugo2001-05-021-17/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Lots of improvement. Make dealing with dependency libs/cflags simpler. * applets/launcher/Makefile.am: * applets/preferences-applet/Makefile.am: * components/adapter/Makefile.am: * components/hardware/Makefile.am: * components/help/Makefile.am: * components/history/Makefile.am: * components/image-viewer/Makefile.am: * components/loser/content/Makefile.am: * components/loser/sidebar/Makefile.am: * components/mozilla/Makefile.am: * components/music/Makefile.am: * components/news/Makefile.am: * components/notes/Makefile.am: * components/sample/Makefile.am: * components/text/Makefile.am: * components/throbber/Makefile.am: * components/tree/Makefile.am: * helper-utilities/error-dialog/Makefile.am: * icons/arlo/throbber/Makefile.am: * icons/crux_eggplant/backgrounds/Makefile.am: * icons/crux_eggplant/sidebar_tab_pieces/Makefile.am: * icons/crux_eggplant/throbber/Makefile.am: * icons/gnome/throbber/Makefile.am: * icons/sidebar_tab_pieces/Makefile.am: * libnautilus-adapter/Makefile.am: * libnautilus-extensions/Makefile.am: * libnautilus/Makefile.am: * src/Makefile.am: * src/file-manager/Makefile.am: * test/Makefile.am: Eliminate cut-n-paste disease by using dependency macros defined in configure.in.
* Use NAUTILUS_VERSION_INSIST from hack-macros instead ofRamiro Estrugo2001-05-021-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-01 Ramiro Estrugo <ramiro@eazel.com> * configure.in: Use NAUTILUS_VERSION_INSIST from hack-macros instead of EAZEL_VERSION_INSIST. 2001-05-01 Ramiro Estrugo <ramiro@eazel.com> * applets/launcher/Makefile.am: * applets/preferences-applet/Makefile.am: * components/adapter/Makefile.am: * components/hardware/Makefile.am: * components/help/Makefile.am: * components/history/Makefile.am: * components/image-viewer/Makefile.am: * components/loser/content/Makefile.am: * components/loser/sidebar/Makefile.am: * components/mozilla/Makefile.am: * components/music/Makefile.am: * components/notes/Makefile.am: * components/sample/Makefile.am: * components/text/Makefile.am: * components/throbber/Makefile.am: * components/tree/Makefile.am: * configure.in: * libnautilus-extensions/Makefile.am: * libnautilus/Makefile.am: * src/Makefile.am: * src/file-manager/Makefile.am: * test/Makefile.am: Patch from Christopher Lahey <clahey@ximian.com>. Use EEL_CFLAGS, LIBRSVG_CFLAGS instead of EEL_INCLUDEDIR, and EEL_CFLAGS. Thanks Chris.
* Fix bug 8105 - GConf error getting font for icon view and textRamiro Estrugo2001-04-201-6/+8
| | | | | | | | | | | | | view. * libnautilus/nautilus-view-standard-main.c: (nautilus_view_standard_main_multi): Move the post initialization callback to before the component's factory creation. Otherwise bad things can happen if the component assumes that its post init function has already been called while in its factory code. For example, if the post init function initialized nautilus preferences and the component factory executes code that uses nautilus preferences.
* Use the new EelCanvasRect instead of GnomeCanvasRect for betterDarin Adler2001-04-181-2/+2
| | | | | | | | | | | | * libnautilus-extensions/nautilus-icon-container.c: (start_rubberbanding): Use the new EelCanvasRect instead of GnomeCanvasRect for better rubber-banding speed in AA mode. * src/Makefile.am: * libnautilus/Makefile.am: * libnautilus-extensions/Makefile.am: Added dependencies so the IDL files get recompiled before we compile any .c files.
* Added a translator's name. Made it work for more file extensions. UpdatedDarin Adler2001-04-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * THANKS: Added a translator's name. * check-POTFILES.pl: Made it work for more file extensions. * check-THANKS.pl: Updated for recent email changes. * components/image-viewer/io-png.h: Fixed includes. * components/image-viewer/io-png.c: Fixed includes. * components/adapter/nautilus-zoomable-proxy.c: Add include of <config.h>. * components/music/Makefile.am: Add non-compiled files to EXTRA_DIST. This makes check-headers-in-Makefile.pl happy. * components/tree/main.c: Removed this unused file since it's just a call to the standard main function. * components/tree/nautilus-tree-change-queue.c: Add include of <config.h>. * libnautilus/Makefile.am: * libnautilus-adapter/Makefile.am: * libnautilus-extensions/Makefile.am: * src/Makefile.am: Do the dist-hook dance so we don't include generated files in the tarball. * libnautilus-extensions/nautilus-dateedit-extensions.h: * libnautilus-extensions/nautilus-dateedit-extensions.c: (nautilus_gnome_date_edit_get_date_as_string): Rewrite to use eel_gstrdup_strftime. * src/nautilus-window-manage-views.c: (nautilus_window_content_view_matches_iid): We can get a NULL content view IID in some cases, so make sure we don't call strcmp on it.
* Add missing eel includes.Ramiro Estrugo2001-04-161-0/+1
| | | | | * libnautilus/Makefile.am: Add missing eel includes.
* Add support for gettext. Add a post initialize callback so that callersRamiro Estrugo2001-04-132-30/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | * libnautilus/nautilus-view-standard-main.h: * libnautilus/nautilus-view-standard-main.c: (nautilus_view_standard_main_multi), (nautilus_view_standard_main): Add support for gettext. Add a post initialize callback so that callers can initialize any component specific stuff before the main even loop begins (nautilus preferences for example) Update for standard main changes. Add documentation for these functions. Also add criticals to make the code a little bit more robust. * components/help/hyperbola-main.c: (main): * components/history/nautilus-history-view.c: (main): * components/music/main.c: (main): * components/notes/nautilus-notes.c: (main): * components/sample/main.c: (main): * components/text/main.c: (main): * components/tree/main.c: (main): Update for standard main changes. Make these a little simpler by putting gettext support in standard main itself. Also, make sure that components that use preferences initialize them. * src/nautilus-main.c: (main): Dont do the preferences initialization if we are about to kill the nautilus shell.
* Remove librsvg.Ramiro Estrugo2001-04-042-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am: Remove librsvg. * librsvg/.cvsignore: * librsvg/Makefile.am: * librsvg/art_render.c: * librsvg/art_render.h: * librsvg/art_render_gradient.c: * librsvg/art_render_gradient.h: * librsvg/art_render_mask.c: * librsvg/art_render_mask.h: * librsvg/art_render_svp.c: * librsvg/art_render_svp.h: * librsvg/art_rgba.c: * librsvg/art_rgba.h: * librsvg/example-nested-transform.svg: * librsvg/makefile-simple: * librsvg/opacity.svg: * librsvg/rsvg-bpath-util.c: * librsvg/rsvg-bpath-util.h: * librsvg/rsvg-css.c: * librsvg/rsvg-css.h: * librsvg/rsvg-defs.c: * librsvg/rsvg-defs.h: * librsvg/rsvg-ft.c: * librsvg/rsvg-ft.h: * librsvg/rsvg-paint-server.c: * librsvg/rsvg-paint-server.h: * librsvg/rsvg-path.c: * librsvg/rsvg-path.h: * librsvg/rsvg.c: * librsvg/rsvg.h: * librsvg/subpixel-text-test: * librsvg/test-ft-gtk.c: * librsvg/test-ft.c: * librsvg/test-rsvg.c: * librsvg/test.svg: Move librsvg to its own top level GNOME CVS module. * configure.in: Add librsvg and eel dependencies. Remove librsvg and font entries. * nautilus.spec.in: Remove font entries. Add librsvg and eel requirements. * data/Makefile.am: * data/fonts/.cvsignore: * data/fonts/Makefile.am: * data/fonts/urw/.cvsignore: * data/fonts/urw/Makefile.am: * data/fonts/urw/README: * data/fonts/urw/fonts.dir: * data/fonts/urw/n019003l.afm: * data/fonts/urw/n019003l.pfb: * data/fonts/urw/n019003l.pfm: * data/fonts/urw/n019004l.afm: * data/fonts/urw/n019004l.pfb: * data/fonts/urw/n019004l.pfm: * data/fonts/urw/n019023l.afm: * data/fonts/urw/n019023l.pfb: * data/fonts/urw/n019023l.pfm: * data/fonts/urw/n019024l.afm: * data/fonts/urw/n019024l.pfb: * data/fonts/urw/n019024l.pfm: Retire default fonts. These now live in eel. * libnautilus/nautilus-undo-transaction.c: (nautilus_undo_transaction_destroy): * libnautilus/nautilus-view.c: (nautilus_view_destroy): Update for eel changes. Use eel-gtk-macros. * nautilus-installer/src/nautilus-druid-page-eazel.c: (nautilus_druid_page_eazel_destroy), (nautilus_druid_page_eazel_finalize), (nautilus_druid_page_eazel_size_allocate), (nautilus_druid_page_eazel_size_request): Update for eel changes. Use eel-gtk-macros. * libnautilus-extensions/Makefile.am: * libnautilus-extensions/nautilus-bonobo-extensions.c: * libnautilus-extensions/nautilus-bonobo-extensions.h: * libnautilus-extensions/nautilus-bookmark.c: * libnautilus-extensions/nautilus-ctree.c: * libnautilus-extensions/nautilus-customization-data.c: * libnautilus-extensions/nautilus-dateedit-extensions.c: * libnautilus-extensions/nautilus-dateedit-extensions.h: * libnautilus-extensions/nautilus-directory-async.c: * libnautilus-extensions/nautilus-directory-background.c: * libnautilus-extensions/nautilus-directory-background.h: * libnautilus-extensions/nautilus-directory-metafile-monitor.c: * libnautilus-extensions/nautilus-directory-metafile.c: * libnautilus-extensions/nautilus-directory.c: * libnautilus-extensions/nautilus-drag-window.c: * libnautilus-extensions/nautilus-drag.c: * libnautilus-extensions/nautilus-druid-page-eazel.c: * libnautilus-extensions/nautilus-druid.c: * libnautilus-extensions/nautilus-entry.c: * libnautilus-extensions/nautilus-file-changes-queue.c: * libnautilus-extensions/nautilus-file-operations-progress.c: * libnautilus-extensions/nautilus-file-operations.c: * libnautilus-extensions/nautilus-file-private.h: * libnautilus-extensions/nautilus-file-utilities.c: * libnautilus-extensions/nautilus-file.c: * libnautilus-extensions/nautilus-font-factory.c: * libnautilus-extensions/nautilus-gconf-extensions.c: * libnautilus-extensions/nautilus-generous-bin.c: * libnautilus-extensions/nautilus-global-preferences.c: * libnautilus-extensions/nautilus-global-preferences.h: * libnautilus-extensions/nautilus-horizontal-splitter.c: * libnautilus-extensions/nautilus-icon-canvas-item.c: * libnautilus-extensions/nautilus-icon-canvas-item.h: * libnautilus-extensions/nautilus-icon-container.c: * libnautilus-extensions/nautilus-icon-container.h: * libnautilus-extensions/nautilus-icon-dnd.c: * libnautilus-extensions/nautilus-icon-factory.c: * libnautilus-extensions/nautilus-icon-factory.h: * libnautilus-extensions/nautilus-icon-private.h: * libnautilus-extensions/nautilus-icon-text-item.c: * libnautilus-extensions/nautilus-keep-last-vertical-box.c: * libnautilus-extensions/nautilus-lib-self-check-functions.c: * libnautilus-extensions/nautilus-lib-self-check-functions.h: * libnautilus-extensions/nautilus-link-set.c: * libnautilus-extensions/nautilus-link.c: * libnautilus-extensions/nautilus-list-column-title.c: * libnautilus-extensions/nautilus-list.c: * libnautilus-extensions/nautilus-medusa-support.c: * libnautilus-extensions/nautilus-merged-directory.c: * libnautilus-extensions/nautilus-metafile-factory.c: * libnautilus-extensions/nautilus-metafile.c: * libnautilus-extensions/nautilus-mime-actions.c: * libnautilus-extensions/nautilus-preferences-box.c: * libnautilus-extensions/nautilus-preferences-dialog.c: * libnautilus-extensions/nautilus-preferences-group.c: * libnautilus-extensions/nautilus-preferences-item.c: * libnautilus-extensions/nautilus-preferences-pane.c: * libnautilus-extensions/nautilus-preferences.c: * libnautilus-extensions/nautilus-preferences.h: * libnautilus-extensions/nautilus-program-chooser.c: * libnautilus-extensions/nautilus-program-choosing.c: * libnautilus-extensions/nautilus-program-choosing.h: * libnautilus-extensions/nautilus-search-uri.c: * libnautilus-extensions/nautilus-sidebar-functions.c: * libnautilus-extensions/nautilus-tabs.c: * libnautilus-extensions/nautilus-theme.c: * libnautilus-extensions/nautilus-thumbnails.c: * libnautilus-extensions/nautilus-trash-directory.c: * libnautilus-extensions/nautilus-trash-file.c: * libnautilus-extensions/nautilus-trash-monitor.c: * libnautilus-extensions/nautilus-undo-context.c: * libnautilus-extensions/nautilus-undo-manager.c: * libnautilus-extensions/nautilus-undo-signal-handlers.c: * libnautilus-extensions/nautilus-vfs-directory.c: * libnautilus-extensions/nautilus-vfs-file.c: * libnautilus-extensions/nautilus-view-identifier.c: * libnautilus-extensions/nautilus-volume-monitor.c: Use new eel library. * libnautilus-extensions/nautilus-art-extensions.c: * libnautilus-extensions/nautilus-art-extensions.h: * libnautilus-extensions/nautilus-art-gtk-extensions.c: * libnautilus-extensions/nautilus-art-gtk-extensions.h: * libnautilus-extensions/nautilus-background-canvas-group.c: * libnautilus-extensions/nautilus-background-canvas-group.h: * libnautilus-extensions/nautilus-background.c: * libnautilus-extensions/nautilus-background.h: * libnautilus-extensions/nautilus-caption-table.c: * libnautilus-extensions/nautilus-caption-table.h: * libnautilus-extensions/nautilus-caption.c: * libnautilus-extensions/nautilus-caption.h: * libnautilus-extensions/nautilus-clickable-image.c: * libnautilus-extensions/nautilus-clickable-image.h: * libnautilus-extensions/nautilus-debug-drawing.c: * libnautilus-extensions/nautilus-debug-drawing.h: * libnautilus-extensions/nautilus-debug.c: * libnautilus-extensions/nautilus-debug.h: * libnautilus-extensions/nautilus-ellipsizing-label.c: * libnautilus-extensions/nautilus-ellipsizing-label.h: * libnautilus-extensions/nautilus-enumeration.c: * libnautilus-extensions/nautilus-enumeration.h: * libnautilus-extensions/nautilus-font-manager.c: * libnautilus-extensions/nautilus-font-manager.h: * libnautilus-extensions/nautilus-font-picker.c: * libnautilus-extensions/nautilus-font-picker.h: * libnautilus-extensions/nautilus-gdk-extensions.c: * libnautilus-extensions/nautilus-gdk-extensions.h: * libnautilus-extensions/nautilus-gdk-font-extensions.c: * libnautilus-extensions/nautilus-gdk-font-extensions.h: * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c: * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h: * libnautilus-extensions/nautilus-glib-extensions.c: * libnautilus-extensions/nautilus-glib-extensions.h: * libnautilus-extensions/nautilus-glyph.c: * libnautilus-extensions/nautilus-glyph.h: * libnautilus-extensions/nautilus-gnome-extensions.c: * libnautilus-extensions/nautilus-gnome-extensions.h: * libnautilus-extensions/nautilus-graphic-effects.c: * libnautilus-extensions/nautilus-graphic-effects.h: * libnautilus-extensions/nautilus-gtk-extensions.c: * libnautilus-extensions/nautilus-gtk-extensions.h: * libnautilus-extensions/nautilus-gtk-macros.h: * libnautilus-extensions/nautilus-image-table.c: * libnautilus-extensions/nautilus-image-table.h: * libnautilus-extensions/nautilus-image-with-background.c: * libnautilus-extensions/nautilus-image-with-background.h: * libnautilus-extensions/nautilus-image.c: * libnautilus-extensions/nautilus-image.h: * libnautilus-extensions/nautilus-label-with-background.c: * libnautilus-extensions/nautilus-label-with-background.h: * libnautilus-extensions/nautilus-label.c: * libnautilus-extensions/nautilus-label.h: * libnautilus-extensions/nautilus-labeled-image.c: * libnautilus-extensions/nautilus-labeled-image.h: * libnautilus-extensions/nautilus-lib-self-check-functions.c: * libnautilus-extensions/nautilus-lib-self-check-functions.h: * libnautilus-extensions/nautilus-password-dialog.c: * libnautilus-extensions/nautilus-password-dialog.h: * libnautilus-extensions/nautilus-radio-button-group.c: * libnautilus-extensions/nautilus-radio-button-group.h: * libnautilus-extensions/nautilus-region.c: * libnautilus-extensions/nautilus-region.h: * libnautilus-extensions/nautilus-scalable-font-private.h: * libnautilus-extensions/nautilus-scalable-font.c: * libnautilus-extensions/nautilus-scalable-font.h: * libnautilus-extensions/nautilus-self-checks.c: * libnautilus-extensions/nautilus-self-checks.h: * libnautilus-extensions/nautilus-smooth-text-layout-cache.c: * libnautilus-extensions/nautilus-smooth-text-layout-cache.h: * libnautilus-extensions/nautilus-smooth-text-layout.c: * libnautilus-extensions/nautilus-smooth-text-layout.h: * libnautilus-extensions/nautilus-smooth-widget.c: * libnautilus-extensions/nautilus-smooth-widget.h: * libnautilus-extensions/nautilus-stock-dialogs.c: * libnautilus-extensions/nautilus-stock-dialogs.h: * libnautilus-extensions/nautilus-string-list.c: * libnautilus-extensions/nautilus-string-list.h: * libnautilus-extensions/nautilus-string-map.c: * libnautilus-extensions/nautilus-string-map.h: * libnautilus-extensions/nautilus-string-picker.c: * libnautilus-extensions/nautilus-string-picker.h: * libnautilus-extensions/nautilus-string.c: * libnautilus-extensions/nautilus-string.h: * libnautilus-extensions/nautilus-text-caption.c: * libnautilus-extensions/nautilus-text-caption.h: * libnautilus-extensions/nautilus-viewport.c: * libnautilus-extensions/nautilus-viewport.h: * libnautilus-extensions/nautilus-wrap-table.c: * libnautilus-extensions/nautilus-wrap-table.h: * libnautilus-extensions/nautilus-xml-extensions.c: * libnautilus-extensions/nautilus-xml-extensions.h: Remove these files. These are all part of eel now. * applets/launcher/nautilus-launcher-applet.c: * applets/preferences-applet/nautilus-preferences-applet.c: * components/adapter/Makefile.am: * components/adapter/main.c: * components/adapter/nautilus-adapter-control-embed-strategy.c: * components/adapter/nautilus-adapter-embed-strategy.c: * components/adapter/nautilus-adapter-embeddable-embed-strategy.c: * components/adapter/nautilus-adapter-factory-server.c: * components/adapter/nautilus-adapter-file-load-strategy.c: * components/adapter/nautilus-adapter-load-strategy.c: * components/adapter/nautilus-adapter-progressive-load-strategy.c: * components/adapter/nautilus-adapter-stream-load-strategy.c: * components/adapter/nautilus-adapter.c: * components/hardware/Makefile.am: * components/hardware/nautilus-hardware-view.c: * components/help/Makefile.am: * components/help/help-method.c: * components/help/hyperbola-filefmt.c: * components/help/hyperbola-nav-tree.c: * components/history/Makefile.am: * components/history/nautilus-history-view.c: * components/image-viewer/Makefile.am: * components/image-viewer/nautilus-image-view.c: * components/loser/content/Makefile.am: * components/loser/content/nautilus-content-loser.c: * components/loser/sidebar/Makefile.am: * components/loser/sidebar/nautilus-sidebar-loser.c: * components/mozilla/Makefile.am: * components/mozilla/bonobo-extensions.c: * components/mozilla/nautilus-mozilla-content-view.c: * components/music/Makefile.am: * components/music/nautilus-music-view.c: * components/notes/Makefile.am: * components/notes/nautilus-notes.c: * components/rpmview/Makefile.am: * components/rpmview/nautilus-rpm-verify-window.c: * components/rpmview/nautilus-rpm-view-install.c: * components/rpmview/nautilus-rpm-view.c: * components/sample/nautilus-sample-content-view.c: * components/services/install-view/Makefile.am: * components/services/install-view/callbacks.c: * components/services/install-view/forms.c: * components/services/install-view/nautilus-service-install-view.c: * components/services/install/lib/eazel-install-logic2.c: * components/services/install/server/main.c: * components/services/inventory-view/Makefile.am: * components/services/inventory-view/nautilus-inventory-config-page .c: * components/services/inventory-view/nautilus-inventory-disable-pag * components/services/inventory-view/nautilus-inventory-enable-page * components/services/inventory-view/nautilus-inventory-view.c: * components/services/inventory/Makefile.am: * components/services/inventory/eazel-inventory-upload-callback.c: * components/services/inventory/eazel-inventory.c: * components/services/inventory/main.c: * components/services/login/nautilus-view/Makefile.am: * components/services/login/nautilus-view/nautilus-change-password- view.c: * components/services/login/nautilus-view/password-box.c: * components/services/nautilus-dependent-shared/Makefile.am: * components/services/nautilus-dependent-shared/eazel-services-exte nsions.c: * components/services/nautilus-dependent-shared/eazel-services-exte nsions.h: * components/services/nautilus-dependent-shared/eazel-services-foot er.c: * components/services/nautilus-dependent-shared/eazel-services-head er.c: * components/services/nautilus-dependent-shared/test-footer-header. c: * components/services/summary/Makefile.am: * components/services/summary/nautilus-summary-callbacks.c: * components/services/summary/nautilus-summary-dialogs.c: * components/services/summary/nautilus-summary-dialogs.h: * components/services/summary/nautilus-summary-footer.c: * components/services/summary/nautilus-summary-menu-items.c: * components/services/summary/nautilus-summary-view-private.h: * components/services/summary/nautilus-summary-view.c: * components/services/time/nautilus-view/main.c: * components/services/time/nautilus-view/trilobite-eazel-time-view. c: * components/services/trilobite/sample/nautilus-view/Makefile.am: * components/text/Makefile.am: * components/text/nautilus-text-view.c: * components/throbber/Makefile.am: * components/throbber/main.c: * components/throbber/nautilus-throbber.c: * components/tree/Makefile.am: * components/tree/nautilus-tree-change-queue.c: * components/tree/nautilus-tree-expansion-state.c: * components/tree/nautilus-tree-model.c: * components/tree/nautilus-tree-node.c: * components/tree/nautilus-tree-view-dnd.c: * components/tree/nautilus-tree-view.c: * helper-utilities/authenticate/Makefile.am: * helper-utilities/authenticate/nautilus-authenticate.c: * nautilus-installer/src/nautilus-druid.c: * src/Makefile.am: * src/file-manager/fm-desktop-icon-view.c: * src/file-manager/fm-directory-view.c: * src/file-manager/fm-directory-view.h: * src/file-manager/fm-error-reporting.c: * src/file-manager/fm-icon-text-window.c: * src/file-manager/fm-icon-view.c: * src/file-manager/fm-list-view.c: * src/file-manager/fm-properties-window.c: * src/file-manager/fm-search-list-view.c: * src/file-manager/nautilus-indexing-info.c: * src/nautilus-about.c: * src/nautilus-application.c: * src/nautilus-bookmark-list.c: * src/nautilus-bookmark-parsing.c: * src/nautilus-bookmarks-window.c: * src/nautilus-complex-search-bar.c: * src/nautilus-component-adapter-factory.c: * src/nautilus-desktop-window.c: * src/nautilus-first-time-druid.c: * src/nautilus-link-set-window.c: * src/nautilus-location-bar.c: * src/nautilus-main.c: * src/nautilus-navigation-bar.c: * src/nautilus-profiler.c: * src/nautilus-property-browser.c: * src/nautilus-search-bar-criterion.c: * src/nautilus-search-bar.c: * src/nautilus-shell.c: * src/nautilus-sidebar-tabs.c: * src/nautilus-sidebar-title.c: * src/nautilus-sidebar.c: * src/nautilus-signaller.c: * src/nautilus-simple-search-bar.c: * src/nautilus-switchable-navigation-bar.c: * src/nautilus-switchable-search-bar.c: * src/nautilus-theme-selector.c: * src/nautilus-view-frame-corba.c: * src/nautilus-view-frame.c: * src/nautilus-window-manage-views.c: * src/nautilus-window-menus.c: * src/nautilus-window-toolbars.c: * src/nautilus-window.c: * src/nautilus-window.h: * src/nautilus-zoom-control.c: Update for new eel library usage. * test/test-nautilus-background.c: * test/test-nautilus-clickable-image.c: * test/test-nautilus-font-manager.c: * test/test-nautilus-font-picker.c: * test/test-nautilus-font-simple.c: * test/test-nautilus-font.c: * test/test-nautilus-glyph-simple.c: * test/test-nautilus-glyph.c: * test/test-nautilus-image-background.c: * test/test-nautilus-image-scrolled.c: * test/test-nautilus-image-simple.c: * test/test-nautilus-image-table.c: * test/test-nautilus-image-tile.c: * test/test-nautilus-image.c: * test/test-nautilus-label-background.c: * test/test-nautilus-label-flavorful.c: * test/test-nautilus-label-offset.c: * test/test-nautilus-label-scrolled.c: * test/test-nautilus-label-simple.c: * test/test-nautilus-label-wrapped.c: * test/test-nautilus-label.c: * test/test-nautilus-labeled-image.c: * test/test-nautilus-password-dialog.c: * test/test-nautilus-pixbuf-tile.c: * test/test-nautilus-smooth-text-layout.c: * test/test-nautilus-viewport-constraint.c: * test/test-nautilus-widgets.c: Remove these. They live in eel now. * test/vsignore: * test/kefile.am: * test/st-nautilus-preferences-change.c: * test/st-nautilus-preferences-display.c: * test/st-nautilus-wrap-table.c: * test/st.c: * test/st.h: Update for new eel library usage.
* reviewed by: John Sullivan <sullivan@eazel.com>Darin Adler2001-04-031-4/+78
| | | | | | | | | | | | | | | | | | * libnautilus/nautilus-bonobo-workarounds.c: (nautilus_bonobo_object_force_destroy): Add new version that is not vulnerable to the problem of an unref coming in from the other process during the destroy phase. This version relies on Bonobo internals, so it's a truly evil bit of code, and I should be severely punished for even thinking of writing it. (nautilus_bonobo_object_force_destroy_at_idle): Added some more checks that I thought would help me in debugging. * src/nautilus-shell-ui.xml: Improve wording of tooltip for the Up command. * components/notes/nautilus-notes.c: Some code cleanup. * src/file-manager/fm-directory-view.c: Fixed a typo.
* Make file operations progress dialog always stay up for at least 1Darin Adler2001-04-031-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | second total so it doesn't just appear and disappear. Preparing for a fix to the nautilus-adapter process leaking when Nautilus is terminated by Ctrl-C, I cleaned up some of the code inside the adapter. Improved the warning you get when neither /etc/mnttab nor /proc/mounts can be opened. Fix bug 6888 (when I view a large image, it appears first at 100%, then zoomed to fit). Re-added part of the code to make components go away when the main program that is hosting them goes away. The X-window-based solution is not working as well as I had hoped, so I'm re-adding the 20-second-timeout-based solution. * components/adapter/nautilus-adapter-embed-strategy.c: (nautilus_adapter_embed_strategy_initialize_class), (nautilus_adapter_embed_strategy_get), (nautilus_adapter_embed_strategy_emit_open_location): Change the strategy new functions to use more-normal reference rules. The caller no longer expects them to "use up" a reference. * components/adapter/nautilus-adapter-control-embed-strategy.c: (nautilus_adapter_control_embed_strategy_destroy), (nautilus_adapter_control_embed_strategy_new): Don't keep a reference to the BonoboControl around after creating the frame. * components/adapter/nautilus-adapter-embeddable-embed-strategy.c: (nautilus_adapter_embeddable_embed_strategy_destroy), (nautilus_adapter_embeddable_embed_strategy_new): Don't keep a reference to the BonoboEmeddable around after creating the frame. * components/image-viewer/nautilus-image-view.c: (redraw_control), (scrolled_window_size_allocate_callback), (control_factory_common), (init_bonobo_image_generic_factory): Some name changes, and a fix so that we don't show the image first at 100%, and then shrink to fit. The downside is that this might be too hard-coded to the current behavior of Nautilus, but it's better than flashing every time you open an image. * components/services/trilobite/utils/.cvsignore: Ignore some files in this new directory. * libnautilus-extensions/nautilus-file-operations-progress.h: * libnautilus-extensions/nautilus-file-operations-progress.c: (nautilus_file_operations_progress_update), (close_callback), (nautilus_file_operations_progress_destroy), (map_callback), (delete_event_callback), (nautilus_file_operations_progress_initialize), (nautilus_file_operations_progress_initialize_class), (nautilus_file_operations_progress_new), (nautilus_file_operations_progress_set_total), (nautilus_file_operations_progress_set_operation_string), (nautilus_file_operations_progress_new_file), (nautilus_file_operations_progress_clear), (nautilus_file_operations_progress_update_sizes), (delayed_close_callback), (nautilus_file_operations_progress_done): Did a lot of code cleanups throughout the file, and added a new call nautilus_file_operations_progress_done. Use this instead of gtk_object_destroy so that the window can linger long enough for the user to see it, if a copy was really fast. * libnautilus-extensions/nautilus-file-operations.c: (transfer_info_destroy), (parent_for_error_dialog), (create_transfer_dialog), (handle_transfer_ok), (handle_transfer_vfs_error): Change to use the new nautilus_file_operations_progress_done call instead of gtk_object_destroy when done with the progress dialog. * libnautilus-extensions/nautilus-icon-container.c: (nautilus_icon_container_update_scroll_region): Fix indentation. * libnautilus-extensions/nautilus-volume-monitor.c: (get_current_mount_list): Replace cryptic g_return_if_fail message with better-worded g_warning. * libnautilus/nautilus-view.c: (set_frame_callback), (widget_destroyed_callback), (nautilus_view_construct_from_bonobo_control): Re-added code to monitor the lifetime of the frame and self-destruct when the frame goes away. The X-window-based solution wasn't working 100%, and this solution does. * src/nautilus-sidebar.c: (toggle_sidebar_panel), (sidebar_for_each_sidebar_panel): Change object data key to use a prefix that includes the word "nautilus". Tweak code that builds the menu so that it always includes any panel that's displayed, even if the user level says it shouldn't be there.
* reviewed by: John Sullivan <sullivan@eazel.com>Darin Adler2001-03-293-4/+291
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A change to reduce the number of orphaned processes when Nautilus is not terminated cleanly. This is an architecture problem, and this hack only partly addresses it. Add code to NautilusViewFrame, NautilusView, and NautilusThrobber to destroy components when the corresponding widgets are destroyed. Since X destroys windows when processes go away, this tells us immediately when processes disappear. This does not help in the case where Nautilus happens to die after creating a component, but before attaching the widget to its parent. This is not a complete solution to the orphaned processes problem because of 2 other categories of orphaned processes: 1) the adapter factory 2) non-NautilusView components, which won't get the advantage of this fix because it's in Nautilus (a fix could go into Bonobo, or into each component) * libnautilus/nautilus-bonobo-workarounds.h: * libnautilus/nautilus-bonobo-workarounds.c: (set_gone_flag), (nautilus_bonobo_object_force_destroy), (object_is_gone), (remote_check_data_free), (remote_check_timed_callback), (remote_check_destroy_callback), (nautilus_bonobo_object_call_when_remote_object_disappears), (force_destroy_cover), (nautilus_bonobo_object_force_destroy_when_owner_disappears): New code, implementing the machinery to notice when remote objects go away and to self-destruct when they do. Also code that does the timeout that used to be in NautilusViewFrame. * libnautilus/nautilus-view.c: (widget_destroyed_callback), (nautilus_view_construct_from_bonobo_control): Connect to the widget's destroy signal, and self-destruct when it happens. * components/throbber/nautilus-throbber.c: (nautilus_throbber_destroy), (null_pointer_callback), (nautilus_throbber_initialize): Destroy the BonoboControl when the throbber (a widget) is destroyed. Requires noticing when the control goes away (the old code just had a stale pointer to it). * src/nautilus-view-frame.c: (destroy_view), (nautilus_view_frame_destroy), (view_frame_failed_callback), (queue_view_frame_failed), (view_frame_failed_cover), (check_socket_gone_idle_callback), (check_socket_gone_callback), (attach_view): Use the new machinery instead of doing it ourselves, but sadly had to add some fairly complex code to catch the case where the socket is destroyed because the plug is gone.
* reviewed by: John Sullivan <sullivan@eazel.com>Darin Adler2001-03-232-24/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug 6613 (no way to delete files without using trash) by integrating Maciej's patch to add an optional Delete command (with some fixes to the patch). There may still be some loose ends. Fix bug 2206 (No way to move or copy a file to a different directory from keyboard) by implementing Cut, Copy, and Paste for files, in a way that will be familiar to Windows users. The positioning of the new files is not right yet (they inherit their position from the old files), there is no feedback when you have cut some files (Arlo's idea, which I might implement, is to make them translucent to show they are "on the way out") or when you have copied some files, and I think there are some other loose ends. Fixed cut, copy, and paste within the file names when you do a rename. This wasn't working at all. Got rid of configure-time checks that were looking at the existence of some special system files. Fixed a few minor bugs discovered by code inspection. * libnautilus-extensions/nautilus-global-preferences.h: * libnautilus-extensions/nautilus-global-preferences.c: (global_preferences_install_descriptions), (global_preferences_install_defaults), (global_preferences_install_visibility), (global_preferences_create_dialog): Add expert preference to add a Delete command that bypasses the Trash. * src/file-manager/nautilus-directory-view-ui.xml: Add Delete, Cut Files, Copy Files, and Paste Files. * src/file-manager/fm-directory-view.c: (confirm_delete_directly), (delete_callback): Add delete code. (bonobo_menu_empty_trash_callback): Get rid of extraneous cast. (fm_directory_view_initialize): Track the delete preference. Set the flags properly to indicate we have our own X window. Add a target so GTK knows that we accept pastes of copied files. (forget_clipboard_contents): Helper for when we are no longer the clipboard owner. (fm_directory_view_destroy): Remove the delete preference callback. Free the clipboard contents. (offset_drop_points): Change so it handles NULL for the list of points. (trash_or_delete_files_common): Remove unneeded parameters. (get_current_event_time): New function, placeholder that just returned GDK_CURRENT_TIME. Perhaps we should get the real event time here for use in clipboard manipulation calls. (copy_or_cut_files): New function. Save the selection for later use in a paste. (copy_files_callback), (cut_files_callback): Call the new copy_or_cut_files function. (paste_files_callback): Do the clipboard convert that results in the paste operation. (real_selection_clear_event): Forget the clipboard contents. (real_selection_get): Convert the selection into the appropriate format and put it on the clipboard. (convert_lines_to_str_list): Helper function for decoding incoming pasted files. (real_selection_received): Handle pasted files by parsing and then triggering a file copy operation. (real_merge_menus): Add verbs for cut, copy, and paste. (enable_delete_changed_callback): Keep track of delete command status in a boolean. (real_update_menus): Show delete command if the preference is on and we are not showing "Delete from Trash". Update names of the Cut and Copy command depending on how many files are selected. Also desensitize them when none are selected. (fm_directory_view_select_file): Initialize an uninitialized field. (fm_directory_view_move_copy_items): Allow relative_item_points to be NULL. (real_realize): Create our own X window. (real_size_allocate): Trick GtkScrolledWindow into doing the right thing despite the fact that we have our own X window. (fm_directory_view_initialize_class): Moved down to the bottom so we don't need so many forward declaractions. Added code to set up some needed atoms and new default handlers. * libnautilus-extensions/nautilus-icon-text-item.c: (send_focus_event), (iti_stop_editing), (iti_start_editing): Add code to send the appropriate focus events to the fake off-screen GtkEntry. This makes the clipboard code that tracks focus-related signals work properly with this entry. (iti_event): Tweak the sequence and simplify the code a bit. * libnautilus/nautilus-clipboard.c: (set_paste_sensitive_if_clipboard_contains_data): Add more FIXMEs. This function is very far from useful, and it's not clear that it can be implemented efficiently under X. (nautilus_clipboard_set_up_editable): Get rid of silly "grab_focus" hack that was an attempt to address the problems with the NautilusIconTextItem. The real solution was to do focusing for that item too. (nautilus_clipboard_set_up_editable_in_control): Fix this so it works when called on an editable that is already focused. * src/file-manager/fm-icon-view.c: (renaming_icon_callback): Get rid of "grab_focus" workaround, which wasn't working. * acconfig.h: * configure.in: Remove all configure checks that were checking the existence of files. * libnautilus-extensions/nautilus-medusa-support.c: (nautilus_medusa_check_cron_is_enabled): Simplify logic so there's less room for confusion (I did this as a fix for the bug that was reported on the mailing list, but Rebecka checked in the small patch first). Also change it so we don't need a configure-time check for the existence of the process directory and fix it so we won't get a core dump if the file doesn't have a space character in it. Also change the logic so we don't leave the directory open when we do find the cron process. * libnautilus-extensions/nautilus-volume-monitor.c: (nautilus_volume_monitor_initialize_class), (has_removable_mntent_options), (get_removable_volumes), (volume_is_removable), (volume_is_read_only), (mount_volume_get_cdrom_name), (mount_volume_activate_cdda), (mount_volume_activate_cdrom), (build_volume_list_delta), (get_current_mount_list), (mount_lists_are_identical), (verify_current_mount_state), (mount_volume_floppy_add), (get_cdrom_type_solaris), (mount_volume_iso9660_add), (display_mount_status), (close_error_pipe), (nautilus_volume_monitor_mount_unmount_removable), (mount_volume_add_filesystem): Make changes throughout to get rid of dependence on configure-time file checks and do things at runtime instead. Also use typedefs to make less code conditional. Also fix the Solaris CD-ROM code which was casting a GString to a (char *) before, so it used absurd file names, and failed to open and returned FALSE all the time. * libnautilus-extensions/nautilus-icon-container.c: (nautilus_icon_container_start_renaming_selected_item): Send the renaming signal before setting up the rest of the icon. This change is not really needed, but it's a better order to do things. * libnautilus/nautilus-clipboard-ui.xml: Move tips into the commands instead of the menu items (for style mostly, no practical implications at the moment). * src/nautilus-shell-ui.xml: Remove tips from Cut, Copy, and Paste, since tips from insensitive items aren't used, and if we had tips, we'd put them on the command, not the menu item, anyway.
* reviewed by: John Sullivan <sullivan@eazel.com>Darin Adler2001-03-162-47/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug 6495 (Emacs-style keybindings not working in location bar and other NautilusEntry fields) by adding an expert preference to control whether the Emacs shortcuts or the ones in the menu bar take precedence. I started with Maciej's patch and did many refinements. Fix bug 1788 ("Select All" needs to be implemented for text): I had to add Select All so it won't do the icon view's Select All when you do a select all with the location bar focused. Fix bug 5612 (clicking to deselect causes incorrect menu sensitivity) by adding another signal handler for button clicks. Fix bug 7581 (When trying to restart Nautilus after crash from bug 7579 I get a Segmentation Fault). I was just lucky enough to run into the problem on my machine. * libnautilus-extensions/nautilus-global-preferences.h: * libnautilus-extensions/nautilus-global-preferences.c: (global_preferences_install_descriptions), (global_preferences_install_defaults), (global_preferences_install_visibility), (global_preferences_create_dialog): Added the new Emacs-shortcut preference with the wording requested in the bug report. * libnautilus-extensions/nautilus-entry.h: * libnautilus-extensions/nautilus-entry.c: (emacs_shortcuts_preference_changed_callback): Track the preference. (nautilus_entry_initialize): Set up the callback to track the preference. (nautilus_entry_destroy): Tear down the callback to track the preference. (nautilus_entry_key_press): Allow the emacs shortcuts built into GtkEntry to work if the preference is set that way. Also, only emit the selection_changed signal if the key is actually handled. (nautilus_entry_motion_notify): Simplify the logic, since it's OK to send the selection_changed signal a little too often. (select_all_at_idle): Handle the case where the object is destroyed. (nautilus_entry_select_all_at_idle): Ref the object to handle the case where the object is destroyed before the idle happens. (nautilus_entry_button_press): Send a selection_changed message, since pressing the button can cause a selection change. (nautilus_entry_button_release): Send a selection_changed message, since pressing the button can cause a selection change. (nautilus_entry_initialize_class): Add new default handlers. Also, move to bottom of file so we don't need so many forward declarations. * libnautilus/nautilus-clipboard-ui.xml: Add a Select All Text command. * libnautilus/nautilus-clipboard.c: (select_all): New function to select all the text in a GtkEditable. Sadly it needs a special case for GtkText. (select_all_idle_callback): Callback used to select the text from idle. (select_all_callback): Callback that sets up the idle. Called from the bonobo verb. (initialize_clipboard_component_with_callback_data): Add the callback for Select All. * librsvg/rsvg.c: (rsvg_state_init): Initialize more fields, including font_size. (rsvg_text_handler_characters): Don't try to draw if the font size is 0 or negative. * librsvg/art_render_mask.c: (art_render_mask_render): Handle cases where x1 < x0. The old code would seg. fault. This was the reason we got a crash in bug 7581. * configure.in: Upped the required version of gnome-vfs.
* Fixed bug 7597 (Cut Text's underline accelerator changesJohn Sullivan2001-03-141-1/+1
| | | | | | | | to conflict with Copy Text's when a text field is focussed) * libnautilus/nautilus-clipboard-ui.xml: Changed _Cut Text to Cut _Text here, to match what it is when no text field is focussed.