1. 03 Jan, 2002 3 commits
    • Darin Adler's avatar
      Use GnomeCanvasRect instead of EelCanvasRect. We can redo the · 33a7797c
      Darin Adler authored
      	* libnautilus-private/nautilus-icon-container.c:
      	(start_rubberbanding):
      	Use GnomeCanvasRect instead of EelCanvasRect. We can redo the
      	EelCanvasRect optimization if we want to, but it should really
      	be put into libgnomecanvas.
      
      	* components/music/common.c:
      	* components/music/nautilus-music-view.c:
      	* libnautilus-private/nautilus-customization-data.c:
      	* libnautilus-private/nautilus-desktop-file-loader.c:
      	* libnautilus-private/nautilus-directory-async.c:
      	* libnautilus-private/nautilus-directory.c:
      	* libnautilus-private/nautilus-file.c:
      	* src/file-manager/fm-desktop-icon-view.c:
      	* src/file-manager/fm-icon-view.c:
      	* src/nautilus-property-browser.c:
      	* src/nautilus-sidebar-title.c:
      	* src/nautilus-window.c:
      	Remove lots of unneeded includes, including all cases of
      	including the locale-sensitive <ctype.h>.
      33a7797c
    • Darin Adler's avatar
      Remove some help sidebar panel remnants. · 3ae61117
      Darin Adler authored
      	* libnautilus-private/nautilus-global-preferences.c:
      	(nautilus_global_preferences_init):
      	* libnautilus-private/nautilus-sidebar-functions.c:
      	(sidebar_panel_make_preference_key):
      	* libnautilus-private/nautilus-sidebar-functions.h:
      	Remove some help sidebar panel remnants.
      3ae61117
    • Darin Adler's avatar
      Port from EelLabel to GtkLabel. · fa2a9d00
      Darin Adler authored
      	* components/hardware/nautilus-hardware-view.c:
      	(update_uptime_text), (setup_overview_form):
      	* components/music/nautilus-music-view.c:
      	* src/file-manager/nautilus-indexing-info.c:
      	(update_progress_display):
      	* src/nautilus-property-browser.c:
      	(nautilus_property_browser_init), (labeled_image_configure),
      	(labeled_image_new), (make_category),
      	(property_browser_category_button_new),
      	(nautilus_property_browser_update_contents):
      	* test/test.h:
      	* src/nautilus-shell.c:
      	* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_init):
      	Port from EelLabel to GtkLabel.
      
      	* components/news/nautilus-news.c: (do_destroy),
      	(draw_rss_logo_image), (draw_rss_title), (draw_rss_items),
      	(nautilus_news_set_title), (free_channel),
      	(empty_message_size_allocate), (set_up_main_widgets),
      	(make_news_view):
      	* libnautilus-private/nautilus-icon-private.h:
      	* src/nautilus-sidebar-tabs.c:
      	(nautilus_sidebar_tabs_load_theme_data),
      	(nautilus_sidebar_tabs_init), (nautilus_sidebar_tabs_destroy),
      	(draw_one_tab_plain), (draw_one_tab_themed), (get_tab_width),
      	(nautilus_sidebar_tabs_add_view):
      	Port to Pango text instead of Eel text.
      
      	* libnautilus-private/nautilus-customization-data.c:
      	(add_reset_text):
      	* libnautilus-private/nautilus-icon-factory.c:
      	(embedded_text_font_changed_callback), (embed_text):
      	* src/nautilus-about.c: (draw_aa_string), (draw_author_list),
      	(nautilus_about_draw_info), (nautilus_about_update_authors):
      	Disable Eel text and ifdef with GNOME2_CONVERSION_COMPLETE.
      
      	* libnautilus-private/nautilus-global-preferences.h:
      	* libnautilus-private/nautilus-global-preferences.c:
      	Turn off font-related preferences. Maybe delete later or
      	convert for Pango fonts.
      
      	* libnautilus-private/nautilus-icon-canvas-item.h:
      	* libnautilus-private/nautilus-icon-container.h:
      	Remove eel-scalable-font.h includes.
      
      	* src/nautilus-component-adapter-factory.c:
      	(nautilus_component_adapter_factory_create_adapter):
      	Disable the adapter because it was causing problems.
      fa2a9d00
  2. 02 Jan, 2002 1 commit
  3. 21 Dec, 2001 1 commit
    • Michael Meeks's avatar
      fix strcmp style for Darin. · b14ecf32
      Michael Meeks authored
      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.
      b14ecf32
  4. 18 Dec, 2001 1 commit
    • Darin Adler's avatar
      Do text drawing with Pango for the anti-aliased case. Remove all use of · 0e61a2dc
      Darin Adler authored
      	* libnautilus-private/nautilus-icon-canvas-item.h:
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	(nautilus_icon_canvas_item_init),
      	(nautilus_icon_canvas_item_finalize),
      	(nautilus_icon_canvas_item_invalidate_label_size),
      	(nautilus_icon_canvas_item_set_arg),
      	(nautilus_icon_canvas_item_get_arg), (draw_or_measure_label_text),
      	(measure_label_text), (create_label_layout), (get_label_layout),
      	(draw_label_layout), (draw_or_measure_label_text_aa),
      	(draw_label_text_aa), (nautilus_icon_canvas_item_class_init):
      	Do text drawing with Pango for the anti-aliased case. Remove all
      	use of the non-Pango Eel anti-aliased text drawing code.
      
      	* libnautilus-private/nautilus-icon-container.h:
      	* libnautilus-private/nautilus-icon-container.c: (finalize),
      	(nautilus_icon_container_init),
      	(nautilus_icon_container_update_icon),
      	(nautilus_icon_container_set_label_font_for_zoom_level):
      	* src/file-manager/fm-icon-view.c: (create_icon_container),
      	(fm_icon_view_init):
      	Remove the smooth-font stuff. We're going to use a single font
      	once we change everything to use Pango.
      
      	* icons/Makefile.am: Remove help-system icons.
      	* icons/hyperbola-*: Remove help-system icons.
      0e61a2dc
  5. 13 Dec, 2001 1 commit
    • Darin Adler's avatar
      Deleted help component as it is not slated to be part of Gnome 2. · 22ac93ef
      Darin Adler authored
      	* components/Makefile.am:
      	* components/help/*:
      	* nautilus.spec.in:
      	Deleted help component as it is not slated to be part of Gnome 2.
      
      	* RENAMING: No need to rename hyperbola if it's gone.
      
      	* configure.in: Removed ScrollKeeper check. Took a cut at making
      	the medusa check use pkg-config, it's probably messed up but at
      	least we won't define HAVE_MEDUSA if we see the Gnome 1 medusa.
      
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	(nautilus_icon_canvas_item_init),
      	(nautilus_icon_canvas_item_finalize),
      	(nautilus_icon_canvas_item_set_arg),
      	(nautilus_icon_canvas_item_get_arg),
      	(draw_or_measure_label_text_aa), (draw_label_text_aa),
      	(nautilus_icon_canvas_item_class_init):
      	Quick cut at porting to Pango from Eel font code. It's all under
      	ifdef USE_EEL_TEXT because it's not working well yet. At the moment
      	the text looks bad, and it's very slow, and it's not centered.
      
      	* libnautilus-private/nautilus-icon-factory.c: (embed_text):
      	Baby steps at doing the port to Pango here too.
      
              * src/file-manager/fm-directory-view.c: (real_update_menus):
              Add a check for NULL that seems required. This change was
              suggested by the backtrace in bug 66809, but it's not clear
              if this really fixes anything. (Rolled from stable branch.)
      
      	* src/file-manager/fm-icon-view.c: (icon_view_handle_uri_list):
      	Fix code that passed a path instead of a URI when creating a
              desktop file. (Rolled from stable branch.)
      
      	* TODO: Minor updates.
      22ac93ef
  6. 11 Dec, 2001 1 commit
    • Laszlo Peter's avatar
      s/__FUNCTION__/G_GNUC_FUNCTION/ · 57b74638
      Laszlo Peter authored
      2001-12-11  Laszlo Peter  <laca@ireland.sun.com>
      
              * libnautilus-private/nautilus-authn-manager.c:
              s/__FUNCTION__/G_GNUC_FUNCTION/
      
              * libnautilus-private/nautilus-directory-background.c: get rid of
              _gdk_display_name
      
              * libnautilus-private/nautilus-volume-monitor.c
              (nautilus_volume_get_device_type): remove "const" to match the
              prototype.
      57b74638
  7. 09 Dec, 2001 1 commit
    • Darin Adler's avatar
      Do fix based on patch from Martin Wehner <mwehner@tfh-berlin.de> to · 0df7aba6
      Darin Adler authored
      	* 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.
      0df7aba6
  8. 08 Dec, 2001 1 commit
    • Michael Meeks's avatar
      unroll control creation, connect to "activate" signal handler not map / · 84204ad0
      Michael Meeks authored
      2001-12-08  Michael Meeks  <michael@ximian.com>
      
      	* components/tree/nautilus-tree-view.c
      	(nautilus_tree_view_init): unroll control creation,
      	connect to "activate" signal handler not map / unmap
      	on no-window widget GtkScrolledWindow.
      	(tree_map_callback, tree_unmap_callback): kill.
      	(tree_activate_callback): impl.
      
      	* components/tree/libmain.c
      	(BonoboActivation_Plugin_info) ->
      	(Bonobo_Plugin_info).
      
      	* components/tree/Makefile.am: setup ldflags
      	correctly, and a LIBADD so we can activate it
      	independantly.
      
      	* components/throbber/main.c (main): fix for
      	bonobo-activation-server race condition.
      
      	* libnautilus-private/nautilus-marshal.list:
      	add VOID:STRING,STRING
      84204ad0
  9. 07 Dec, 2001 1 commit
  10. 05 Dec, 2001 1 commit
    • Gediminas Paulauskas's avatar
      remove cut'n'pasted functions which are in glib now. don't set close key · 60c93330
      Gediminas Paulauskas authored
      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.
      60c93330
  11. 04 Dec, 2001 1 commit
    • Darin Adler's avatar
      Fix bugs exposed by "make check". · b1dda721
      Darin Adler authored
      	* libnautilus-private/nautilus-directory-async.c:
      	(is_dot_or_dot_dot), (should_skip_file),
      	(dequeue_pending_idle_callback), (directory_load_one),
      	(count_non_skipped_files), (directory_count_callback),
      	(start_monitoring_file_list), (deep_count_one), (mime_list_one):
      	Add new code to handle stuff that we did with a gnome-vfs filter
      	in the old version.
      
      	* libnautilus-private/nautilus-search-uri.c:
      	(strip_uri_beginning), (tokenize_uri): Fix use of g_strsplit since
      	the meaning of the parameter has changed.
      b1dda721
  12. 01 Dec, 2001 2 commits
    • Darin Adler's avatar
      Skip over non-element nodes when walking libxml DOM tree. · f576768c
      Darin Adler authored
      	* src/nautilus-property-browser.c: (remove_color),
      	(make_properties_from_xml_node),
      	(nautilus_property_browser_update_contents):
      	Skip over non-element nodes when walking libxml DOM tree.
      
      	* libnautilus-private/nautilus-theme.c:
      	(nautilus_theme_get_theme_data_from_theme): Whitespace tweak.
      f576768c
    • Darin Adler's avatar
      Roll double-free bug fix from the branch. · a238fef0
      Darin Adler authored
      	* libnautilus-private/nautilus-directory-async.c:
      	(top_left_read_callback): Roll double-free bug fix from the branch.
      
      	* TODO: Some small updates.
      
      	* components/hardware/nautilus-hardware-view.c:
      	* data/browser.xml:
      	* icons/crux_eggplant/crux_eggplant.xml:
      	* icons/crux_teal/crux_teal.xml:
      	* icons/default.xml:
      	* icons/gnome/gnome.xml:
      	* icons/sierra/sierra.xml:
      	* icons/tahoe/tahoe.xml:
      	* libnautilus-private/nautilus-directory-background.c:
      	(nautilus_file_background_write_desktop_settings):
      	* libnautilus-private/nautilus-icon-container.c:
      	(start_rubberbanding):
      	* libnautilus-private/nautilus-icon-text-item.c:
      	(fetch_themed_color):
      	* src/nautilus-property-browser.c: (add_color_to_browser):
      	* src/nautilus-sidebar-tabs.c: (setup_light_text),
      	(setup_dark_text), (nautilus_sidebar_tabs_init),
      	(nautilus_sidebar_tabs_receive_dropped_color):
      	* src/nautilus-sidebar-title.c:
      	(nautilus_sidebar_title_select_text_color):
      	* src/nautilus-sidebar.c: (receive_dropped_color):
      	Changed all rgb:RRRR/GGGG/BBBB to #RRGGBB. We still probably have
      	to handle the old format just for old data files.
      
      	* libnautilus-private/.cvsignore:
      	nautilus-marshal-guts.h -> nautilus-marshal.h
      
      	* src/file-manager/fm-directory-view.c:
      	(update_directory_in_scripts_menu): Add filter so that we don't
      	see invisible or backup files in the scripts menu. In the old
      	days, gnome-vfs supplied the filtering.
      
      	* src/nautilus-about.c: (nautilus_about_finalize),
      	(nautilus_about_instance_init), (nautilus_about_hide),
      	(nautilus_about_hide_on_response),
      	(nautilus_about_hide_on_delete), (nautilus_about_class_init):
      	Get rid of double-destroy problem with about, and fix OK button.
      
      	* src/nautilus-bookmarks-window.c:
      	(nautilus_bookmarks_window_response_callback): Fix Done button.
      	(create_bookmarks_window): Hook up response callback.
      	(on_window_delete_event), (handle_close_accelerator): Get rid of
      	save_geometry_and_hide, since hide already does that.
      
      	* src/nautilus-main.c: (main): Add some missing domains for better
      	debugging. We should figure out a way to do this without a list of
      	domains.
      a238fef0
  13. 27 Nov, 2001 1 commit
    • Owen Taylor's avatar
      Return from get_type() functions is GType, not guint. Deal with errant · 6b6368db
      Owen Taylor authored
      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)
      6b6368db
  14. 22 Nov, 2001 1 commit
    • Michael Meeks's avatar
      fix marshaller. · 50a26e58
      Michael Meeks authored
      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().
      50a26e58
  15. 21 Nov, 2001 2 commits
    • Michael Meeks's avatar
      fix. · 7a030297
      Michael Meeks authored
      2001-11-21  Michael Meeks  <michael@ximian.com>
      
      	* test/test-nautilus-wrap-table.c (main): fix.
      
      	* test/test-nautilus-mime-actions.c (main): upd. init.
      
      	* test/test.c (test_init): upd.
      	(test_label_new): kill tile_pixbuf support.
      	(test_image_new): ditto.
      
      	* test/test-nautilus-async-activation.c (main): upd.
      
      	* test/Makefile.am: add CORE_CFLAGS, update LDADD.
      
      	* libnautilus-private/nautilus-directory.c
      	(nautilus_directory_destroy): rename to
      	(nautilus_directory_dispose): this, but leave as a
      	gtk object for now, double emission protect, move
      	removal from directories list to head & split into:
      	(nautilus_directory_finalize): here.
      
      	* libnautilus-private/nautilus-directory-async.c
      	(nautilus_directory_async_state_changed): fully remove
      	GTK_OBJECT_DESTROYED check.
      7a030297
    • Michael Meeks's avatar
      kill g_log_domain_glib. · 44af9fae
      Michael Meeks authored
      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.
      44af9fae
  16. 14 Nov, 2001 1 commit
    • Frédéric Crozat's avatar
      Add detection of automounted volume, don't eject automounted CDROMs · cf6567d4
      Frédéric Crozat authored
      * libnautilus-private/nautilus-volume-monitor.c:
      (volume_is_automounted), (mount_volume_deactivate):
      Add detection of automounted volume, don't eject automounted CDROMs
      
      * libnautilus-private/nautilus-volume-monitor.c:
      (nautilus_volume_monitor_set_volume_name):
      Fix search for volume to modify
      cf6567d4
  17. 10 Nov, 2001 1 commit
    • Darin Adler's avatar
      Remove unused stuff. · 92030834
      Darin Adler authored
              * libnautilus-private/nautilus-horizontal-splitter.c:
              Remove unused stuff.
      
              * libnautilus-private/nautilus-icon-container.c: (destroy),
              (finalize), (nautilus_icon_container_class_init): Fix the
              destroy and finalize code for the new object lifetime rules.
              * libnautilus-private/nautilus-icon-dnd.c:
              (nautilus_icon_dnd_fini): Fix another multiple-invocation
              issue.
              * libnautilus-private/nautilus-program-chooser.c:
              (nautilus_program_chooser_new): Change response codes to
              match the way this worked under GnomeDialog.
      
              * libnautilus-private/README: Update wording a bit.
      92030834
  18. 09 Nov, 2001 3 commits
    • Michael Meeks's avatar
      return bonobo_debug_shutdown, if only we could get there. · b47cbae4
      Michael Meeks authored
      2001-11-09  Michael Meeks  <michael@ximian.com>
      
      	* src/nautilus-main.c (main): return bonobo_debug_shutdown,
      	if only we could get there.
      
      	* libnautilus-private/nautilus-icon-dnd.c
      	(nautilus_icon_dnd_fini): don't try to double free the
      	drag_info, allow mutliple invocations.
      b47cbae4
    • Darin Adler's avatar
      Lots of files. Get rid a lot of unneeded casts. · 4a225507
      Darin Adler authored
      	* Lots of files.
      	Get rid a lot of unneeded casts.
      4a225507
    • Darin Adler's avatar
      Just me, not the mailing list. · bf4da2da
      Darin Adler authored
      	* MAINTAINERS: Just me, not the mailing list.
      
      	* Makefile.am: Enable the components directory.
      	* components/Makefile.am: Disable all but sample.
      
      	* components/*/.cvsignore:
      	* components/*/*.oaf.in: Removed.
      	* components/*/*.server.in: Added.
      	server -> oaf
      
      	* components/*/Makefile.am:
      	Install the servers in the right place.
      
      	* configure.in:
      	* libnautilus-adapter/Makefile.am:
      	* libnautilus-private/Makefile.am:
      	* src/Makefile.am:
      	* src/file-manager/Makefile.am:
      	Simplified CFLAGS, LIBS, and IDL_INCLUDES.
      
      	* components/sample/Makefile.am:
      	Switch to the new COMPONENT_CFLAGS.
      
      	* components/sample/nautilus-sample-content-view.h:
      	* components/sample/nautilus-sample-content-view.c:
      	(nautilus_sample_content_view_finalize): Use instead of destroy.
      	(bonobo_sample_callback): Mark string for localization.
      bf4da2da
  19. 08 Nov, 2001 3 commits
    • Darin Adler's avatar
      Remove e-paned. · bc8ad1bf
      Darin Adler authored
      	* configure.in:
      	* cut-n-paste-code/widgets/Makefile.am:
      	* cut-n-paste-code/widgets/e-paned:
      	* libnautilus-private/Makefile.am:
      	* libnautilus-private/nautilus-horizontal-splitter.c:
      	* libnautilus-private/nautilus-horizontal-splitter.h:
      	* src/nautilus-window.c: (nautilus_window_constructed),
      	(nautilus_window_set_content_view_widget),
      	(nautilus_window_hide_sidebar), (nautilus_window_show_sidebar),
      	(nautilus_window_sidebar_showing):
      	Remove e-paned.
      
      	* configure.in:
      	* data/Makefile.am:
      	* data/linksets/
      	* libnautilus-private/Makefile.am:
      	* libnautilus-private/nautilus-file-utilities.c:
      	* libnautilus-private/nautilus-link-set.c:
      	* libnautilus-private/nautilus-link-set.h:
      	* src/Makefile.am:
      	* src/nautilus-link-set-window.c:
      	* src/nautilus-link-set-window.h:
      	* src/nautilus-sidebar.c: (metadata_button_callback):
      	Remove link sets.
      
      	* libnautilus-private/nautilus-program-chooser.c:
      	(launch_mime_capplet_on_ok),
      	(launch_mime_capplet_and_close_dialog):
      	* src/nautilus-window-menus.c: (forget_history_if_yes),
      	(remove_bookmarks_for_uri_if_yes):
      	Destroy dialogs when done, since GtkDialog doesn't do this for us.
      
      	* src/nautilus-preferences-dialog.c: (preferences_dialog_create):
      	Get rid of close signal handler, since default close handler does
      	the same thing as a delete_event, which is what we want. We still
      	might have to do something fancier on a delete_event.
      bc8ad1bf
    • Darin Adler's avatar
      Remove Nautilus 1 news. This file is empty for now. Add some renaming · 3f4aeca2
      Darin Adler authored
      	* NEWS: Remove Nautilus 1 news. This file is empty for now.
      	* RENAMING: Add some renaming ideas.
      	* TODO: Add a tiny porting to-do list. I should take that
      	survey of GNOME2_CONVERSION_COMPLETE that Havoc did and put
      	it in here.
      	* TRADEMARK_NOTICE: Removed this file. Eazel logo isn't in
      	here any more.
      	* Makefile.am: Remove TRADEMARK_NOTICE.
      
      	* components/help/hyperbola-nav-index.c:
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	* libnautilus-private/nautilus-authn-manager.c:
      	* libnautilus-private/nautilus-file-operations-progress.c:
      	* libnautilus-private/nautilus-file-operations-progress.h:
      	* libnautilus-private/nautilus-file-operations.c:
      	* libnautilus-private/nautilus-icon-dnd.c:
      	* libnautilus-private/nautilus-program-chooser.c:
      	* libnautilus-private/nautilus-program-chooser.h:
      	* libnautilus-private/nautilus-program-choosing.c:
      	* src/file-manager/fm-directory-view.c:
      	* src/file-manager/fm-search-list-view.c:
      	* src/file-manager/nautilus-indexing-info.c:
      	* src/nautilus-about.c:
      	* src/nautilus-about.h:
      	* src/nautilus-application.c:
      	* src/nautilus-bookmarks-window.c:
      	* src/nautilus-location-bar.c:
      	* src/nautilus-property-browser.c:
      	* src/nautilus-shell.c:
      	* src/nautilus-window-menus.c:
      	* src/nautilus-window.c:
      	First cut at converting to GtkDialog from GnomeDialog.
      3f4aeca2
    • Anders Carlsson's avatar
      Plug a leak. · 7b12c54e
      Anders Carlsson authored
      2001-11-08  Anders Carlsson  <andersca@gnu.org>
      
      	* libnautilus-private/nautilus-icon-dnd.c
      	(nautilus_icon_dnd_update_drop_target): Plug a leak.
      
      
      Sloff Sliff
      7b12c54e
  20. 07 Nov, 2001 3 commits
    • Darin Adler's avatar
      Switch to glib's gettext. · f6cff97c
      Darin Adler authored
      	* acconfig.h:
      	* configure.in:
      	Switch to glib's gettext.
      
      	* components/help/converters/*:
      	Remove, since these were moved to libgnome.
      
      	* Many files:
      	Get rid of incorrect uses of many locale-specific functions like
      	g_strcasecmp and isspace.
      f6cff97c
    • Darin Adler's avatar
      Remove nautilus-clean.sh -- use bonobo-slay instead. · 0bdc094f
      Darin Adler authored
      	* Makefile.am:
      	* README:
      	* nautilus-clean.sh:
      	* nautilus.spec.in:
      	* src/nautilus-application.c: (nautilus_application_startup):
      	Remove nautilus-clean.sh -- use bonobo-slay instead.
      
      	* libnautilus-private/nautilus-program-chooser.c:
      	(nautilus_program_chooser_new): The -2 feature is gone from
      	gtk_window_set_default_size, so use -1.
      
      	* src/nautilus-sidebar-title.c: (smooth_font_changed_callback),
      	(nautilus_sidebar_title_select_text_color), (update_title_font),
      	(update_title), (measure_width_callback), (update_more_info),
      	(sidebar_title_create_title_label),
      	(sidebar_title_create_more_info_label): Change to use GtkLabel
      	instead of EelLabel for now -- that makes us actually get a label.
      0bdc094f
    • Maciej Stachowiak's avatar
      Tweak headers for latest gnome-vfs. I promise to stop messing with this · f97df413
      Maciej Stachowiak authored
      	* libnautilus-private/nautilus-file.c,
      	libnautilus-private/nautilus-link.c,
      	libnautilus-private/nautilus-mime-actions.c: Tweak headers for
      	latest gnome-vfs. I promise to stop messing with this now.
      f97df413
  21. 06 Nov, 2001 5 commits
    • Darin Adler's avatar
      libxml2 complains about NULL path, which libxml1 just handled by returning · 2630769d
      Darin Adler authored
      	* libnautilus-private/nautilus-find-icon-image.c: (read_details):
      	libxml2 complains about NULL path, which libxml1 just handled by
      	returning NULL, so check for NULL path.
      
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	(nautilus_icon_canvas_item_finalize),
      	(nautilus_icon_canvas_item_class_init): Change destroy to finalize.
      	(nautilus_icon_canvas_item_set_arg),
      	(nautilus_icon_canvas_item_get_arg): Use pointer instead of boxed
      	type for font.
      
      	* src/nautilus-window-menus.c: (create_menu_item_from_node),
      	(append_static_bookmarks): In the old days, all nodes were elements,
      	but now we have nodes for text too. Change code to skip over non-
      	element nodes.
      2630769d
    • Darin Adler's avatar
      Lots of files. Another GtkObject -> GObject pass. · 52b329b1
      Darin Adler authored
      	* Lots of files.
      	Another GtkObject -> GObject pass.
      52b329b1
    • Darin Adler's avatar
      Did some fixes based on a patch Michael sent me. · 5fb5bf37
      Darin Adler authored
      	* 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.
      5fb5bf37
    • Darin Adler's avatar
      Lots of files. Another GtkObject -> GObject pass. · f7e2844c
      Darin Adler authored
      	* Lots of files.
      	Another GtkObject -> GObject pass.
      f7e2844c
    • Darin Adler's avatar
      Update for gnome-vfs API changes. · dfefd4c3
      Darin Adler authored
      	* libnautilus-private/nautilus-file.c:
      	Remove include of gnome-vfs-mime-info.h. Also switch to
      	g_ascii_strcasecmp instead of g_strcasecmp.
      
      	* libnautilus-private/nautilus-icon-factory.c:
      	Remove includes of gnome-vfs-mime.h and gnome-vfs-mime-info.h.
      
      	* libnautilus-private/nautilus-link-desktop-file.c:
      	Remove include of gnome-vfs-mime.h.
      
      	* libnautilus-private/nautilus-link-historical.c:
      	(local_get_root_property): Rewrote to use
      	gnome_vfs_get_file_info. Removed include of gnome-vfs-mime.h.
      
      	* libnautilus-private/nautilus-link.c:
      	(get_link_style_for_mime_type): New function.
      	(get_link_style_for_local_file): New function, uses
      	gnome_vfs_get_file_info instead of gnome_vfs_get_mime_type.
      	(get_link_style_for_data): New function.
      	(nautilus_link_local_create),
      	(nautilus_link_local_set_icon), (nautilus_link_local_set_link_uri),
      	(nautilus_link_local_set_type),
      	(nautilus_link_local_get_additional_text),
      	(nautilus_link_local_get_link_uri),
      	(nautilus_link_local_get_link_type),
      	(nautilus_link_get_link_uri_given_file_contents),
      	(nautilus_link_get_link_name_given_file_contents),
      	(nautilus_link_get_link_icon_given_file_contents),
      	(nautilus_link_local_is_volume_link),
      	(nautilus_link_local_is_home_link),
      	(nautilus_link_local_is_trash_link),
      	(nautilus_link_local_create_from_gnome_entry):
      	Rewrote all of these to simplify and get rid of spread-out MIME
      	type code.
      
      	* libnautilus-private/nautilus-mime-actions.c:
      	Remove include of gnome-vfs-mime-info.h.
      
      	* src/Makefile.am: Remove extra dist-hook.
      dfefd4c3
  22. 05 Nov, 2001 1 commit
    • Darin Adler's avatar
      Fix a G_OBJECT_CLASS that should have been G_OBJECT_GET_CLASS. · 55941234
      Darin Adler authored
              * 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.
      55941234
  23. 04 Nov, 2001 2 commits
  24. 02 Nov, 2001 2 commits
    • Havoc Pennington's avatar
      remove GtkText workaround (I'm also checking in a fix for the bug being · c91bb9d1
      Havoc Pennington authored
      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
      c91bb9d1
    • Darin Adler's avatar
      More changes to make Nautilus get closer to running. · 9ab32f9c
      Darin Adler authored
      	* 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.
      9ab32f9c