1. 30 Oct, 2001 1 commit
  2. 24 Oct, 2001 1 commit
  3. 09 Oct, 2001 1 commit
    • Darin Adler's avatar
      Require newer versions of various libraries to cut down on the bug reports · c8a38d05
      Darin Adler authored
      	* configure.in: Require newer versions of various libraries to
      	cut down on the bug reports with people using newer nautilus
      	and older versions of those libraries. Including bonobo 1.0.9,
      	eel 1.0.2, librsvg 1.0.1. Remove the freetype stuff here, since
      	that's all taken care of in librsvg. Remove old GNOME2_PATH thing
      	that is definitely not needed. Remove gnome_canvas_set_dither
      	check which is now in eel if needed at all. Remove ammonite
      	configure flags.
      
      	* nautilus.spec.in: Remove freetype dependencies. This is now
      	handled in librsvg.
      
      	* components/mozilla/Makefile.am:
      	* components/mozilla/main.c: (main):
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	(mozilla_location_callback), (mozilla_link_message_callback),
      	(mozilla_dom_mouse_click_callback),
      	(navigate_mozilla_to_nautilus_uri), (post_widget_initialize):
      	* src/Makefile.am:
      	Remove dependencies on ammonite and some more remnants of
      	Eazel services code.
      c8a38d05
  4. 26 Aug, 2001 1 commit
    • Darin Adler's avatar
      Some makefile cleanup. · 4599ec3e
      Darin Adler authored
      	* 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.
      4599ec3e
  5. 22 Aug, 2001 1 commit
  6. 04 May, 2001 1 commit
  7. 02 May, 2001 2 commits
    • Ramiro Estrugo's avatar
      Lots of improvement. Make dealing with dependency libs/cflags simpler. · 60b832fd
      Ramiro Estrugo authored
      	* 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.
      60b832fd
    • Ramiro Estrugo's avatar
      Use NAUTILUS_VERSION_INSIST from hack-macros instead of · 6e7d921c
      Ramiro Estrugo authored
      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.
      6e7d921c
  8. 20 Apr, 2001 1 commit
    • Ramiro Estrugo's avatar
      Retire this class. It was a bad idea to use subclassing for the specific · 83a1b134
      Ramiro Estrugo authored
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus-extensions/nautilus-preferences-dialog.c:
      	* libnautilus-extensions/nautilus-preferences-dialog.h:
      	Retire this class.  It was a bad idea to use subclassing for the
      	specific use of the preferences dialog in nautilus.  Hooking
      	signals up to a regular GnomeDialog is good enough.
      
      	* libnautilus-extensions/nautilus-global-preferences.h:
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	(global_preferences_install_defaults),
      	(nautilus_global_preferences_initialize):
      	Remove the implementation of the Nautilus preferences dialog from
      	here.  That is something that is specific to the Nautilus shell.
      	The code lives in the Nautilus shell itself now.
      
      	* libnautilus-extensions/nautilus-preferences-box.h:
      	* libnautilus-extensions/nautilus-preferences-box.c:
      	(nautilus_preferences_box_initialize),
      	(preferences_box_select_pane),
      	(preferences_box_category_list_recreate),
      	(preferences_box_add_pane), (nautilus_preferences_box_update),
      	(preferences_box_find_pane), (preferences_box_populate_pane),
      	(nautilus_preferences_box_populate), (user_level_changed_callback),
      	(nautilus_preferences_dialog_new):
      	Add support for building preference boxes using structures to
      	describe them.  Also add a convenience function for creating a
      	GnomeDialog with a preference box as its sole child.
      
      	* libnautilus-extensions/nautilus-preferences-pane.c:
      	* libnautilus-extensions/nautilus-preferences-pane.h:
      	(nautilus_preferences_pane_add_item_to_nth_group): Remove this
      	function as its no longer used.
      
      	* libnautilus-extensions/nautilus-sidebar-functions.h:
      	* libnautilus-extensions/nautilus-sidebar-functions.c:
      	(sidebar_panel_make_preference_key):
      	Make the known sidebar panel enabled preference keys public as
      	string constants.
      
      	* src/Makefile.am:
      	* src/nautilus-preferences-dialog.h:
      	* src/nautilus-preferences-dialog.c:
      	(dialog_button_clicked_callback), (dialog_close_callback),
      	(preferences_dialog_create),
      	(global_preferences_populate_sidebar_panels_callback),
      	(preferences_dialog_populate_sidebar_tabs_group),
      	(preferences_dialog_destroy), (global_preferences_get_dialog),
      	(nautilus_preferences_dialog_show):
      	Move the implementation of the Nautilus preference dialog into the
      	Nautilus shell itself.
      
      	* src/nautilus-window-menus.c: (user_level_customize_callback):
      	Update for new preference dialog show function.
      83a1b134
  9. 18 Apr, 2001 1 commit
    • Darin Adler's avatar
      Use the new EelCanvasRect instead of GnomeCanvasRect for better · 6a0d42c3
      Darin Adler authored
      	* 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.
      6a0d42c3
  10. 17 Apr, 2001 1 commit
    • Darin Adler's avatar
      Added a translator's name. Made it work for more file extensions. Updated · d986def7
      Darin Adler authored
      	* 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.
      d986def7
  11. 10 Apr, 2001 1 commit
    • Ramiro Estrugo's avatar
      Stage one of removing services from the nautilus cvs tree. Make · 992ab763
      Ramiro Estrugo authored
      	the services enabled machinery work at runtime rather than compile
      	time.
      
      	* acconfig.h:
      	Add HAVE_AMMONITE.
      
      	* components/mozilla/main.c: (main):
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	(translate_uri_nautilus_to_mozilla),
      	(translate_uri_mozilla_to_nautilus):
      	Use HAVE_AMMONITE instead of EAZEL_SERVICES for the specific
      	Ammonite features.
      
      	* components/text/services/Makefile.am:
      	Fix rogue spacing.
      
      	* configure.in:
      
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_self_check_directory):
      	Remove EAZEL_SERVICES from self test code.  Run the test for the
      	eazel-services uri scheme regardless.
      
      	* libnautilus-extensions/nautilus-mime-actions.h:
      	* libnautilus-extensions/nautilus-mime-actions.c:
      	(mime_get_all_components_for_uri_scheme): New flavor of function
      	tha takes a uri scheme parameter instead of a NautilusFile.
      	(nautilus_mime_has_any_components_for_uri_scheme): New function to
      	find out if there exists any components registered to handle a uri
      	scheme.
      
      	* src/Makefile.am:
      	Use AMMONITE_CFLAGS and AMMONITE_LIBS instead of SERVICES_LIBS
      	hac.
      
      	* src/nautilus-services.h,
      	* src/nautilus-services.c: New files for putting all shared
      	services related code in one places.
      
      	* src/nautilus-window-menus.c: (services_button_callback),
      	(nautilus_window_initialize_menus_part_1):
      	Remove EAZEL_HACKING hackery.  Make the services code always be
      	linked in.  Use new shared services functions to determine whether
      	we need to populate the services menus and toolbars.
      
      	* src/nautilus-window-service-ui.c: (goto_services_summary),
      	(goto_online_storage), (goto_software_catalog),
      	(nautilus_window_install_service_ui):
      	Simplify by using shared services code.  Remove all Ammonite code
      	from here.  Ammonite code is constrained to nautilus-services.[ch]
      	only.  Use shared services code t determine the target uris for
      	services callbacks.
      
      	* src/nautilus-window-toolbars.c: (set_up_toolbar_images):
      	* src/nautilus-window.c: (nautilus_window_constructed):
      	Remove EAZEL_HACKING hackery.  Decide at runtime whether to setup
      	the services toobar or not.
      992ab763
  12. 04 Apr, 2001 1 commit
    • Ramiro Estrugo's avatar
      Remove librsvg. · fbbaf803
      Ramiro Estrugo authored
      	* 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.
      fbbaf803
  13. 13 Feb, 2001 2 commits
  14. 18 Jan, 2001 2 commits
    • Andy Hertzfeld's avatar
      now that the bonobo problems are resolved, we can go back to the · b8710572
      Andy Hertzfeld authored
      
      	now that the bonobo problems are resolved, we can go back to
      	the componentized throbber.
      
      	* src/Makefile.am:
      	* src/nautilus-window-toolbars.c:
      	(nautilus_window_initialize_toolbars):
      	* src/nautilus-window.c: (throbber_location_changed_callback),
      	(nautilus_window_constructed), (nautilus_window_destroy),
      	(nautilus_window_allow_stop):
      	* src/nautilus-window.h:
      b8710572
    • Andy Hertzfeld's avatar
      backed out the Bonobo component throbber temporarily due to Bonobo · 252f7dcd
      Andy Hertzfeld authored
      
      	backed out the Bonobo component throbber temporarily due
      	to Bonobo problems and restored the old one; hopefully, the
      	new one will come back soon.
      
      	* src/Makefile.am:
      	* src/nautilus-window-toolbars.c:
      	(nautilus_window_initialize_toolbars):
      	* src/nautilus-window.c: (nautilus_window_constructed),
      	(nautilus_window_destroy), (nautilus_window_allow_stop):
      	* src/nautilus-window.h:
      
      	fixed bug 5393, custom emblems arent scaling properly, by
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(nautilus_icon_container_update_icon):
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(get_themed_icon_file_path), (load_pixbuf_svg),
      	(load_specific_icon):
      252f7dcd
  15. 16 Jan, 2001 1 commit
    • Andy Hertzfeld's avatar
      fixed bug 4369, throbber frozen during long refresh, by making the · 99581381
      Andy Hertzfeld authored
      
      	fixed bug 4369, throbber frozen during long refresh, by making the
      	throbber a bonobo component so it's driven by its own thread.
      	Note that clicking on the throbber is temporarily broken; I'll
      	fix that soon.  Also, made the frame delay be specified by the
      	theme and set the default to spin somewhat slower than before.
      
      	* configure.in:
      	* components/Makefile.am:
      	* components/throbber/.cvsignore:
      	* components/throbber/Makefile.am:
      	* components/throbber/nautilus-throbber.oafinfo:
      	added throbber component
      
      	* components/throbber/main.c: (throbber_object_destroyed),
      	(throbber_make_object), (main):
      	factory for the throbber component
      
      	* components/throbber/nautilus-throbber.c,h:
      	(nautilus_throbber_initialize_class), (is_throbbing),
      	(get_bonobo_properties), (set_bonobo_properties),
      	(nautilus_throbber_destroy), (nautilus_throbber_get_control),
      	(get_throbber_dimensions), (nautilus_throbber_initialize),
      	(nautilus_throbber_new), (nautilus_throbber_theme_changed),
      	(draw_pixbuf), (select_throbber_image), (draw_throbber_image),
      	(nautilus_throbber_draw), (nautilus_throbber_expose),
      	(nautilus_throbber_map), (bump_throbber_frame),
      	(nautilus_throbber_start),
      	(nautilus_throbber_remove_update_callback),
      	(nautilus_throbber_stop), (nautilus_throbber_unload_images),
      	(load_themed_image), (make_throbber_frame_name),
      	(nautilus_throbber_load_images),
      	(nautilus_throbber_button_press_event),
      	(nautilus_throbber_set_small_mode),
      	(nautilus_throbber_size_allocate),
      	(nautilus_throbber_size_request):
      	throbber widget for the bonobo component
      
      	* src/nautilus-window-toolbars.c: (theme_changed_callback),
      	(nautilus_window_initialize_toolbars):
      	set up throbber component in the toolbar
      
      	* src/nautilus-window.c,h: (nautilus_window_constructed),
      	(nautilus_window_allow_stop):
      	use property interface to start and stop the throbber
      
      	* icons/default.xml:
      	added delay specification to throbber in default theme
      
      	* nautilus-clean.sh:
      	clean throbber component as necessary
      
      	* src/Makefile.am:
      	* src/nautilus-throbber.c,h
      	removed old throbber widget
      99581381
  16. 05 Jan, 2001 1 commit
    • Maciej Stachowiak's avatar
      xml-i18n-toolized Nautilus (plus a bit of other cleanup) as part · 7f8d07e8
      Maciej Stachowiak authored
      	of resolving bug 2693 (I will consider my work done once I have
      	also handled Bonobo).
      
      	* autogen.sh, configure.in: xml-i18n-toolize
      	* .cvsignore: ignore xml-i18n scripts
      	* Makefile.am: distribute xml-i18n-scripts
      
      	* components/adapter/Nautilus_ComponentAdapterFactory_std.oaf.in:
      	Renamed from components/adapter/nautilus-adapter.oafinfo; mark
      	translatable strings transalatable.
      	* components/adapter/Makefile.am: Deal w/ oaf file rename, do
      	merge.
      	* components/adapter/.cvsignore: Ignore .oaf file.
      
      	* components/hardware/.cvsignore, components/hardware/Makefile.am,
      	components/hardware/Nautilus_View_hardware.oaf.in,
      	components/hardware/nautilus-hardware-view.oafinfo: Ditto.
      	* components/history/.cvsignore, components/history/Makefile.am,
      	components/history/Nautilus_View_history.oaf.in,
      	components/history/nautilus-history-view.oafinfo: Ditto.
      
      	* components/image-viewer/.cvsignore,
      	components/image-viewer/Makefile.am,
      	components/...
      7f8d07e8
  17. 04 Jan, 2001 1 commit
    • Darin Adler's avatar
      reviewed by: Pavel Cisler <pavel@eazel.com> · f683ed79
      Darin Adler authored
      	Fix bug 5235 ("Forget History" eliminates history from Go menu,
      	not History sidebar panel).
      
      	* components/history/nautilus-history-view.c:
      	(install_icons): Fix leak of pixmap and bitmap.
      	(update_history): Replaced dual lock system with a single one.
      	(button_press_callback): Only respect button 1, ignore others.
      	(button_release_callback): Only respect button 1, ignore others,
      	(history_changed_callback): A new single callback for when the
      	history list changes to replace the multiple callbacks before.
      	(nautilus_history_view_initialize_class),
      	(nautilus_history_view_initialize),
      	(nautilus_history_view_destroy), (main): Change the history view
      	to use nautilus_view_standard_main which requires a subclass. This
      	gets rid of a lot of boilerplate code.
      
      	* libnautilus/nautilus-view-component.idl: Make every NautilusView
      	get an explicit history_changed call instead of requiring them to
      	guess when to get history. Removed the old get_history_list call
      	and also renamed the HistoryList sequence to History.
      	* libnautilus/nautilus-view.h:
      	* libnautilus/nautilus-view.c:
      	(impl_Nautilus_View_history_changed),
      	(nautilus_view_initialize_class): Added the necessary stuff to
      	cover the new history_changed call.
      
      	* src/nautilus-view-frame.h:
      	* src/nautilus-view-frame.c: (nautilus_view_frame_initialize):
      	Connect handlers so we can send history_changed calls to the
      	NautilusView when either the history or the icons change.
      	(nautilus_view_frame_destroy): Change state to EMPTY so the
      	history signal won't be sent once the frame is destroyed.
      	(view_frame_activated): Send a history_changed to every
      	newly-activated view.
      	(get_CORBA_object): Helper function to make code that makes CORBA
      	calls simpler.
      	(check_if_view_is_gone): Use get_CORBA_object.
      	(attach_client): Gave a nicer name, removed the code that makes
      	the Nautilus_HistoryFrame interface.
      	(nautilus_view_frame_load_client): Do the attach_client (formerly
      	nautilus_view_frame_set_to_component) before calling
      	view_frame_activated. This is needed since view_frame_activated
      	now sends a history_changed to the view.
      	(nautilus_view_frame_load_location),
      	(nautilus_view_frame_stop_loading),
      	(nautilus_view_frame_selection_changed),
      	(nautilus_view_frame_title_changed): Use get_CORBA_object.
      	(get_history_list): Made this private.
      	(send_history): Helper function that sends history to the view if
      	it's in the appropriate state.
      
      	* src/Makefile.am:
      	* src/nautilus-history-frame.c:
      	* src/nautilus-history-frame.h:
      	Removed the old NautilusHistoryFrame, which is no longer needed
      	since we put the history call right in the NautilusView class.
      
      	* src/nautilus-window-manage-views.c: (get_history_list_callback):
      	Updated for Nautilus_HistoryList -> Nautilus_History change.
      
      	Fix bug 5391 ("Esc" Canceling of an icon stretch doesn't restore
      	icon position.).
      
      	* libnautilus-extensions/nautilus-icon-private.h:
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(clear_drag_state): Add a single bottleneck function to make sure
      	the context menu timeout always gets canceled.
      	(continue_stretching): Remove the unused "update_position" parameter.
      	(undo_stretching): Consolidate the cancel_stretching function and
      	restore the icon's position as well as its size. Also use the new
      	bottleneck to clear the drag state.
      	(button_release_event): Use the new bottleneck to clear the drag
      	state.
      	(show_context_menu_callback): Use the new bottleneck to clear the
      	drag state.
      	(nautilus_icon_container_set_selection),
      	(nautilus_icon_container_select_list_unselect_others): Take
      	advantage of the defaults in g_hash_table_new and use NULL, NULL
      	instead of g_direct_hash, g_direct_equal.
      	(nautilus_icon_container_show_stretch_handles): Save the position
      	as well as the size.
      	(compute_stretch): Add a FIXME with a bug number.
      
      	Fix bug 5407 (Make "Hardware Overview" title translatable).
      
      	* components/hardware/nautilus-hardware-view.c:
      	(nautilus_hardware_view_destroy): Remove unused uri field.
      	(extract_info): Fix storage leak.
      	(get_RAM_description): Get rid of code that non-portably relies on
      	long long. Mark strings for translation.
      	(get_IDE_description): Get rid of code that non-portably relies on
      	long long. Mark strings for translation.
      	(setup_overview_form): Marked string for translation.
      	(setup_CPU_form), (setup_RAM_form), (setup_IDE_form),
      	(is_location), (nautilus_hardware_view_load_uri): Disable the
      	views other than the overview for now since they are not ready to
      	be seen.
      	(nautilus_hardware_view_drag_data_received): Get rid of the code
      	that makes the hardware view accept a URI list drag.
      
      	Fix bug 5405 (nautilus --check fails when using LC_ALL=sv_SE due
      	to missing entry in POTFILES.in).
      
      	* po/POTFILES.in: Added nautilus-glib-extensions.c.
      
      	Other changes.
      
      	* src/nautilus-signaller.h:
      	* src/nautilus-signaller.c: (nautilus_signaller_initialize_class),
      	(nautilus_signaller_get_current):
      	Change the NautilusSignaller class so that the interface calls the
      	object a GtkObject * and the details of the class are hidden.
      
      	* src/nautilus-property-browser.c: (emit_emblems_changed_signal):
      	* src/nautilus-search-bar-criterion.c:
      	(nautilus_search_bar_criterion_destroy),
      	(nautilus_search_bar_criterion_new_from_values):
      	* src/nautilus-window-menus.c:
      	(nautilus_window_initialize_go_menu):
      	* src/nautilus-window.c: (nautilus_send_history_list_changed):
      	Now that nautilus_signaller_get_current returns a GtkObject,
      	remove some unnecessary casts.
      
      	* components/html/glibwww-callbacks.c: (get_sock_info),
      	(glibwww_timer_register):
      	* components/tree/nautilus-tree-model.c:
      	(nautilus_tree_model_initialize):
      	* components/tree/nautilus-tree-view.c:
      	(nautilus_tree_view_initialize):
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(async_job_start):
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_notify_files_added),
      	(nautilus_directory_notify_files_removed),
      	(nautilus_directory_notify_files_moved):
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(nautilus_icon_factory_initialize):
      	* libnautilus-extensions/nautilus-list.c:
      	(nautilus_list_set_selection):
      	* libnautilus-extensions/nautilus-merged-directory.c:
      	(nautilus_merged_directory_initialize):
      	* libnautilus-extensions/nautilus-trash-directory.c:
      	(nautilus_trash_directory_initialize):
      	* src/file-manager/fm-properties-window.c:
      	(fm_properties_window_present):
      	Take advantage of the defaults in g_hash_table_new and use NULL,
      	NULL instead of g_direct_hash, g_direct_equal.
      f683ed79
  18. 16 Nov, 2000 1 commit
    • Martin Baulig's avatar
      reviewed by: Darin Adler <darin@eazel.com> reviewed by: Maciej Stachowiak · 00c39630
      Martin Baulig authored
      2000-10-22  Martin Baulig  <baulig@suse.de>
      
      	reviewed by: Darin Adler  <darin@eazel.com>
      	reviewed by: Maciej Stachowiak  <mjs@eazel.com>
      
      	Use the new Bonobo::Zoomable interface instead of Nautilus::Zoomable.
      
      	* libnautilus/nautilus-zoomable.[ch]: Removed.
      	* src/nautilus-zoomable-frame-corba.c: Removed.
      
      	* libnautilus/nautilus-view-component.idl
      	(ZoomLevels, ZoomLevelList, Zoomable, ZoomableFrame): Removed.
      
      	* src/nautilus-view-frame-private.h
      	(impl_Nautilus_ZoomableFrame_vepv, impl_Nautilus_ZoomableFrame__create):
      	Removed external declarations.
      
      	* src/nautilus-view-frame.h: include <bonobo/bonobo-zoomable-frame.h>.
      	(NautilusViewFrame): Removed the `zoomable' field and changed the
      	type of the `zoomable_frame' field from BonoboObject into
      	BonoboZoomableFrame.
      	(NautilusViewFrameClass): Added `zoom_parameters_changed' signal.
      
      	* src/nautilus-view-frame.c (nautilus_view_frame_destroy_client):
      	Don't release `view->zoomable' and set `view->history_frame' and
      	`view->zoomable_frame' to NULL, not to CORBA_OBJECT_NIL.
      	(nautilus_view_frame_initialize_class): Added ZOOM_PARAMETERS_CHANGED
      	signal.
      	(zoom_level_changed_callback): New static callback function; this emits
      	the ZOOM_LEVEL_CHANGED signal on the NautilusViewFrame.
      	(zoom_parameters_changed_callback): New static callback function; this
      	emits the ZOOM_PARAMETERS_CHANGED signal on the NautilusViewFrame.
      	(nautilus_view_frame_set_to_component): QI the adapted component for
      	"IDL:Bonobo/Zoomable:1.0" and - if it was found - create the
      	BonoboZoomableFrame, bind it to the BonoboZoomable and connect the
      	"zoom_level_changed" and the "zoom_parameters_changed" signals.
      	(nautilus_view_frame_is_zoomable): Return `view->zoomable_frame != NULL'.
      	(nautilus_view_frame_get_zoom_level): Check whether view->zoomable_frame
      	is not NULL and call bonobo_zoomable_frame_get_zoom_level().
      	(nautilus_view_frame_set_zoom_level): Check whether view->zoomable_frame
      	is not NULL and call bonobo_zoomable_frame_set_zoom_level().
      	(nautilus_view_frame_get_min_zoom_level): Check whether
      	view->zoomable_frame is not NULL and call
      	bonobo_zoomable_frame_get_min_zoom_level().
      	(nautilus_view_frame_get_max_zoom_level): Check whether
      	view->zoomable_frame is not NULL and call
      	bonobo_zoomable_frame_get_max_zoom_level().
      	(nautilus_view_frame_get_has_min_zoom_level): New function.
      	Check whether view->zoomable_frame is not NULL and call
      	bonobo_zoomable_frame_has_min_zoom_level().
      	(nautilus_view_frame_get_has_max_zoom_level): New function.
      	Check whether view->zoomable_frame is not NULL and call
      	bonobo_zoomable_frame_has_max_zoom_level().
      	(nautilus_view_frame_get_is_continuous): New function.
      	Check whether view->zoomable_frame is not NULL and call
      	bonobo_zoomable_frame_is_continuous().
      	(nautilus_view_frame_get_preferred_zoom_levels): If
      	view->zoomable_frame is NULL, return NULL. Otherwise
      	bonobo_zoomable_frame_get_preferred_zoom_levels() returns GList *
      	of floats which we can just return.
      	(nautilus_view_frame_zoom_in): If view->zoomable_frame is not NULL,
      	call bonobo_zoomable_frame_zoom_in().
      	(nautilus_view_frame_zoom_out): If view->zoomable_frame is not NULL,
      	call bonobo_zoomable_frame_zoom_out().
      	(nautilus_view_frame_zoom_to_fit):  If view->zoomable_frame is not
      	NULL, call bonobo_zoomable_frame_zoom_out().
      	(nautilus_view_frame_zoom_level_changed): Removed.
      
      	* src/nautilus-zoom-control.c (NautilusZoomControlDetails): Added
      	`has_min_zoom_level' and `has_max_zoom_level'.
      	(draw_zoom_control_image): Call nautilus_zoom_control_can_zoom_in/out()
      	to find out whether we can zoom.
      	(zoom_menu_callback): Likewise.
      	(nautilus_zoom_control_button_press_event): Likewise.
      	(create_zoom_menu_item): Changed the type of the `zoom_level' argument
      	from double to float.
      	(nautilus_zoom_control_set_min_zoom_level): Removed.
      	(nautilus_zoom_control_set_max_zoom_level): Removed.
      	(nautilus_zoom_control_set_preferred_zoom_levels): Removed.
      	(nautilus_zoom_control_set_parameters): New function.
      	(nautilus_zoom_control_has_min_zoom_level): New function.
      	(nautilus_zoom_control_has_max_zoom_level): New function.
      	(nautilus_zoom_control_can_zoom_in): New function.
      	(nautilus_zoom_control_can_zoom_out): New function.
      
      	* src/file-manager/fm-directory-view.c: #include
      	<bonobo/bonobo-zoomable.h> instead of
      	<libnautilus/libnautilus-zoomable.h>.
      	(FMDirectoryViewDetails): Changed the type of `zoomable' to
      	BonoboZoomable.
      	(fm_directory_view_preferred_zoom_levels): Made this an array of float,
      	not double.
      	(fm_directory_view_initialize): Create a new BonoboZoomable object here.
      	(zoomable_zoom_in_callback): The first argument is now a BonoboZoomable.
      	(zoomable_zoom_out_callback): The first argument is now a BonoboZoomable.
      	(nautilus_zoom_level_from_double): Renamed into
      	nautilus_zoom_level_from_float().
      	(zoomable_set_zoom_level_callback): The first argument is now a
      	BonoboZoomable and the second one a float.
      	(zoomable_zoom_to_fit_callback): The first argument is now a
      	BonoboZoomable.
      	(fm_directory_view_set_zoom_level): Call
      	bonobo_zoomable_report_zoom_level_changed()
      	instead of using nautilus_zoomable_set_zoom_level().
      
      	* src/nautilus-window-manage-views.c:
      	(zoom_level_changed_callback): Don't call
      	nautilus_zoom_control_set_min_zoom_level(),
      	nautilus_zoom_control_set_max_zoom_level() and
      	nautilus_zoom_control_set_preferred_zoom_levels() here.
      	Use nautilus_zoom_control_can_zoom_in/out() to find out whether we
      	can zoom in the calls to nautilus_bonobo_set_sensitive().
      	, (zoom_parameters_changed_callback): New callback function.
      	Call nautilus_zoom_control_set_parameters() and - if the zoom_level
      	is not 0.0 - zoom_level_changed_callback().
      
      	* components/adapter/nautilus-zoomable-proxy.[ch]: New files.
      
      	* components/adapter/Makefile.am (nautilus_adapter_SOURCES):
      	Added nautilus-zoomable-proxy.c and nautilus-zoomable-proxy.h.
      
      	* components/adapter/nautilus-adapter-embed-strategy.c
      	(NautilusAdapterEmbedStrategyClass): Added new virtual signal
      	`get_zoomable' which must be overridden.
      	(nautilus_adapter_embed_strategy_initialize_class): Assign it here.
      	(nautilus_adapter_embed_strategy_get_zoomable): New static function;
      	call the virtual `get_zoomable' in the derived class.
      
      	* components/adapter/nautilus-adapter-control-embed-strategy.c:
      	(nautilus_adapter_control_embed_strategy_initialize_class):
      	Assign nautilus_adapter_control_embed_strategy_get_zoomable() as
      	handler of the `get_zoomable' signal.
      	(nautilus_adapter_control_embed_strategy_new): QI the Control for
      	"IDL:Bonobo/Zoomable:1.0" and pass it to nautilus_zoomable_proxy_get()
      	if found and store the return value in strategy->details->zoomable.
      	(nautilus_adapter_control_embed_strategy_get_zoomable): New static
      	function; return strategy->details->zoomable which is set in
      	nautilus_adapter_control_embed_strategy_new().
      
      	* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
      	(nautilus_adapter_embeddable_embed_strategy_initialize_class):
      	Assign nautilus_adapter_embeddable_embed_strategy_get_zoomable() as
      	handler of the `get_zoomable' signal.
      	(nautilus_adapter_embeddable_embed_strategy_new): QI the View for
      	"IDL:Bonobo/Zoomable:1.0" and pass it to nautilus_zoomable_proxy_get()
      	if found and store the return value in strategy->details->zoomable.
      	(nautilus_adapter_embeddable_embed_strategy_get_zoomable): New static
      	function; return strategy->details->zoomable which is set in
      	nautilus_adapter_embeddable_embed_strategy_new().
      
      	* components/adapter/nautilus-adapter.c: (nautilus_adapter_new):
      	Call nautilus_adapter_embed_strategy_get_zoomable(embed_strategy) and
      	bonobo_add_interface() it to the control if found.
      
      	* components/image-viewer/nautilus-image-view.c: Rewrote the Nautilus
      	image viewer to be a BonoboControl, to add zoomable support to it and
      	to merge back everything from bonobo-image-generic into it.
      00c39630
  19. 03 Nov, 2000 1 commit
  20. 30 Oct, 2000 1 commit
    • Darin Adler's avatar
      Fixed bug 4057 (clicking the back button while opening a huge · d8d5d7bd
      Darin Adler authored
      	directory often crashes).
      
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(nautilus_icon_container_for_each): The function was iterating
      	some icons twice. All the icons on the new_icons list are also on
      	the icons list.
      	(icon_destroy): Also be sure to remove the icon from the new_icons
      	list if it happens to be destroyed while still on that list.
      
      	* configure.in:
      	* Makefile.shared:
      	Got rid of the shared part of the code to generate .xml.h
      	files. It's no longer needed since the po directory takes care of
      	everything itself.
      
      	* components/loser/content/Makefile.am:
      	* components/loser/sidebar/Makefile.am:
      	* components/mozilla/Makefile.am:
      	* components/sample/Makefile.am:
      	* components/services/summary/nautilus-view/Makefile.am:
      	* libnautilus/Makefile.am:
      	* src/Makefile.am:
      	* src/file-manager/Makefile.am:
      	Got rid of the per-directory part of the code to generate .xml.h
      	files.
      
      	* components/loser/content/nautilus-content-lose...
      d8d5d7bd
  21. 28 Oct, 2000 1 commit
  22. 27 Oct, 2000 1 commit
  23. 26 Oct, 2000 1 commit
    • Rebecca Schulman's avatar
      Fixed the panel menu item to launch the desktop and one nautilus window, · c1ca89cb
      Rebecca Schulman authored
      2000-10-26  Rebecca Schulman  <rebecka@eazel.com>
      	Fixed the panel menu item to launch the desktop
      	and one nautilus window, starting at the user's
      	home directory by default.  To do this, we created
      	a new script called launch-nautilus.  Ramiro
      	recommended some changes to run-nautilus that
      	I also did.
      
      	* nautilus.desktop:
      	Changed run-nautilus to launch-nautilus
      	* nautilus.spec.in:
      	Changed run-nautilus to launch-nautilus,
      	since run-nautilus won't be needed in the
      	rpm
      	* src/Makefile.am:
      	added launch-nautilus to the build
      	* src/launch-nautilus:
      	* src/run-nautilus:
      	removed the mozilla environment
      	LD_LIBRARY_PATH hacks.
      
      	* user-guide/C/sgml/chapter-1.sgml:
      	Corrected an HTML error.
      c1ca89cb
  24. 25 Oct, 2000 1 commit
    • J Shane Culpepper's avatar
      · 35189379
      J Shane Culpepper authored
      2000-10-25  J Shane Culpepper  <pepper@eazel.com>
      
      	* components/services/summary/nautilus-view/nautilus-summary-view.c
      	: (generate_summary_form), (nautilus_summary_view_load_uri),
      	(merge_bonobo_menu_items):
      	* src/Makefile.am:
      	* src/nautilus-window-service-ui.c: (goto_online_storage),
      	(goto_software_catalog):
      35189379
  25. 20 Oct, 2000 2 commits
    • Darin Adler's avatar
      We need to include the .xml.h files in EXTRA_DIST. My mistake turning that · 560bc567
      Darin Adler authored
      	* components/loser/content/Makefile.am:
      	* components/loser/sidebar/Makefile.am:
      	* components/mozilla/Makefile.am:
      	* components/sample/Makefile.am:
      	* components/services/summary/nautilus-view/Makefile.am:
      	* libnautilus/Makefile.am:
      	* src/Makefile.am:
      	* src/file-manager/Makefile.am:
      	We need to include the .xml.h files in EXTRA_DIST. My mistake
      	turning that off (killed the Tinderbox).
      
      	* src/nautilus-window-manage-views.c:
      	(position_and_show_window_callback),
      	(nautilus_window_end_location_change_callback): Fix small ref
      	mistake I might have introduced with my last check-in.
      560bc567
    • Darin Adler's avatar
      Moved some shared Makefile stuff to a shared include file so we don't use · 06005f26
      Darin Adler authored
      	* Makefile.am:
      	* Makefile.shared:
      	* components/loser/content/Makefile.am:
      	* components/loser/sidebar/Makefile.am:
      	* components/mozilla/Makefile.am:
      	* components/sample/Makefile.am:
      	* components/services/install/command-line/Makefile.am:
      	* components/services/summary/nautilus-view/Makefile.am:
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus/Makefile.am:
      	* src/Makefile.am:
      	* src/file-manager/Makefile.am:
      	Moved some shared Makefile stuff to a shared include file so we
      	don't use "copy and paste technology" in our Makefiles. Fixed the
      	rule that builds .xml.h files so it doesn't have to be copied and
      	pasted everywhere.
      
      	* components/loser/content/nautilus-content-loser-ui.xml.h:
      	* components/loser/sidebar/nautilus-sidebar-loser-ui.xml.h:
      	* components/mozilla/nautilus-mozilla-ui.xml.h:
      	* components/sample/nautilus-sample-content-view-ui.xml.h:
      	* libnautilus/nautilus-clipboard-ui.xml.h:
      	* src/file-manager/nautilus-directory-view-ui.xml.h:
      	* src/file-manager/nautilus-icon-view-ui.xml.h:
      	* src/file-manager/nautilus-search-list-view-ui.xml.h:
      	* src/nautilus-shell-ui.xml.h:
      	Regenerated the xml.h files with the new Bonobo tool, which keeps
      	things in alphabetical order to minimize cvs thrashing.
      
      	* components/services/summary/nautilus-view/Makefile.am:
      	* components/services/summary/nautilus-view/nautilus-summary-view-ui.xml.h:
      	Added localization for the summary view UI.
      
      	* src/Makefile.am:
      	Added localization for the service UI pieces.
      
      	* libnautilus-extensions/nautilus-buffered-widget.c:
      	(nautilus_buffered_widget_initialize),
      	(connect_to_background_if_needed): Fixed bug where the widget
      	would stay connected after the background was destroyed. John saw
      	it once, but I'm not sure how to reproduce it.
      
      	* nautilus.spec.in: Fix some bad spelling and strange wording.
      
      	* src/nautilus-applicable-views.h:
      	* src/nautilus-applicable-views.c: (got_file_info_callback),
      	(nautilus_navigation_info_new), (nautilus_navigation_info_cancel),
      	(nautilus_navigation_info_free),
      	(nautilus_navigation_info_get_location),
      	(nautilus_navigation_info_get_initial_content_id):
      	Removed lots of cruft from this class so it's private and can be
      	changed around a bit.
      
      	* src/nautilus-window-manage-views.c:
      	(nautilus_window_update_internals): Use the new
      	nautilus_navigation_info_get_location.
      	(handle_unreadable_location): Get rid of unneeded file == NULL
      	check.
      	(load_view_for_new_location): Use the new
      	nautilus_navigation_info_get_initial_content_id.
      	(set_view_location_and_selection): Use the new
      	nautilus_navigation_info_get_location.
      	(nautilus_window_end_location_change_callback): Use the new
      	nautilus_navigation_info_get_location.
      	(nautilus_window_begin_location_change): Remove some unnecessary
      	code.
      06005f26
  26. 19 Oct, 2000 4 commits
    • Eskil Heyn Olsen's avatar
      Fun with Build chapter IX. · 447f77ca
      Eskil Heyn Olsen authored
          * components/loser/content/Makefile.am:
          * components/loser/sidebar/Makefile.am:
          * components/mozilla/Makefile.am:
          * components/sample/Makefile.am:
          * libnautilus/Makefile.am:
          * src/Makefile.am:
          * src/file-manager/Makefile.am:
          Fun with Build chapter IX.
      447f77ca
    • Eskil Heyn Olsen's avatar
      Still fixing the tinderbox build. · f7381a09
      Eskil Heyn Olsen authored
      	* components/loser/content/Makefile.am:
      	* components/loser/sidebar/Makefile.am:
      	* components/mozilla/Makefile.am:
      	* components/sample/Makefile.am:
      	* po/POTFILES.in:
      	* src/Makefile.am:
      	* src/file-manager/Makefile.am:
      	Still fixing the tinderbox build.
      f7381a09
    • Rebecca Schulman's avatar
      Fixed problems in making the new bonobo translation that confused the · 60951d7f
      Rebecca Schulman authored
      2000-10-18  Rebecca Schulman  <rebecka@eazel.com>
      	Fixed problems in making the new bonobo translation
      	that confused the headers.  Also added .cvsignore
      	entries for the new generated xml files. This should fix
              the tinderbox build
      
      	* components/loser/content/.cvsignore:
      	* components/loser/content/Makefile.am:
      	* components/loser/sidebar/.cvsignore:
      	* components/loser/sidebar/Makefile.am:
      	* components/mozilla/.cvsignore:
      	* components/mozilla/Makefile.am:
      	* components/sample/.cvsignore:
      	* components/sample/Makefile.am:
      	* icons/.cvsignore:
      	* libnautilus/.cvsignore:
      	* libnautilus/Makefile.am:
      	* src/.cvsignore:
      	* src/Makefile.am:
      	* src/file-manager/.cvsignore:
      	* src/file-manager/Makefile.am:
      60951d7f
    • Kjartan Maraas's avatar
      Feeble attempt to hook up generation of .h files from the *-ui.xml files · cfd436d4
      Kjartan Maraas authored
      2000-10-19  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* */Makefile.am: Feeble attempt to hook up generation
      	of .h files from the *-ui.xml files to get them included
      	in the translations. This will need to be done in a better
      	way I guess.
      	* configure.in: Added a check for bonobo-ui-extract.
      cfd436d4
  27. 18 Oct, 2000 2 commits
    • Darin Adler's avatar
      Use calls by new names. · e5483a3a
      Darin Adler authored
      	* components/notes/nautilus-notes.c: (make_notes_view):
      	* src/nautilus-location-bar.c: (nautilus_location_bar_new):
      	* src/nautilus-simple-search-bar.c:
      	(nautilus_simple_search_bar_new):
      	Use calls by new names.
      
      	* libnautilus-extensions/nautilus-undo-signal-handlers.c:
      	(editable_key_press_event), (nautilus_undo_editable_set_undo_key):
      	Disabled the undo-key part of undo also. The old code was actually
      	harmless because it got the name of the signal wrong, but it's
      	better to have it disabled.
      	* src/nautilus-shell-ui.xml: Added a comment that points out the
      	2nd place where undo has been disabled.
      
      	* libnautilus/nautilus-clipboard.h:
      	* libnautilus/nautilus-clipboard.c: (cut_callback),
      	(copy_callback), (paste_callback), (clear_callback),
      	(set_paste_sensitive_if_clipboard_contains_data),
      	(focus_changed_callback), (target_destroy_callback),
      	(nautilus_clipboard_set_up_editable), (first_focus_callback),
      	(control_destroyed_callback),
      	(nautilus_clipboard_set_up_editable_in_control),
      	(disconnect_set_up_in_control_handlers):
      	Some minor cleanup of the clipboard code. Includes bug fixes for
      	items that are already in focus when the clipboard is hooked up
      	(should never happen), and a fix for code that was using
      	gtk_signal_disconnect on something that was connected with
      	gtk_signal_connect_while_alive (doesn't work). Also got rid of
      	misguided code that was copying a Bonobo_UIContainer with memcpy
      	(since Bonobo_UIContainer is just a pointer).
      
      	* src/Makefile.am:
      	* src/nautilus-window-private.h:
      	Changed source file name from nautilus-service-menu to
      	nautilus-service-ui, since it does a toolbar item, not just a
      	menu.
      
      	* src/nautilus-window-service-ui.c:
      	* src/nautilus-window-service-ui.h:
      	A second cut at the service UI code. It no longer leaks a UI
      	component.
      
      	* src/nautilus-window.c: (nautilus_window_constructed),
      	(nautilus_window_get_ui_container): Use our own pointer to the UI
      	container instead of asking the shell UI for its container.
      e5483a3a
    • Andy Hertzfeld's avatar
      added a Services menu, per Darin's advice, as a separate bonobo ui · c9ef6cbd
      Andy Hertzfeld authored
      
      
      	added a Services menu, per Darin's advice, as a separate bonobo
      	ui component.  Right now, it's leaking the UI handler, and the
      	menu uris aren't correct; will finish this tomorrow.
      
      	* src/Makefile.am:
      	added new files: nautilus-service-ui.xml and
      	nautilus_window_install_service_menu
      
      	* src/nautilus-service-ui.xml:
      	xml file defining service menu and toolbar button
      
      	* src/nautilus-shell-ui.xml:
      	added placeholder for services menu and toolbar button; removed
      	definition of toolbar button
      
      	* src/nautilus-window-private.h:
      	added reference to install routine
      
      	* src/nautilus-window-service-menu.c: (goto_services_summary),
      	(goto_online_storage), (goto_software_catalog),
      	(nautilus_window_install_service_menu):
      	merge in the services menu and button and handle the commands
      
      	* src/nautilus-window-toolbars.c: (set_up_toolbar_images),
      	(nautilus_window_initialize_toolbars):
      	change the service button image when the theme changes
      	if EAZEL_SERVICES is defined
      
      	* src/nautilus-window.c: (nautilus_window_constructed):
      	call the install routine if EAZEL_SERVICES is defined
      c9ef6cbd
  28. 13 Oct, 2000 1 commit
  29. 12 Oct, 2000 1 commit
    • Darin Adler's avatar
      Fixed typo. · 27226688
      Darin Adler authored
      	* HACKING: Fixed typo.
      
      	* src/Makefile.am: Add DATADIR.
      	* src/file-manager/Makefile.am: Add DATADIR.
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_real_merge_menus): Use DATADIR instead of
      	NAUTILUS_DATADIR, since that's where the UI XML files are.
      	* src/nautilus-window.c: (nautilus_window_constructed): Use
      	DATADIR instead of NAUTILUS_DATADIR, since that's where the UI XML
      	files are.
      
      	* src/nautilus-shell-ui.xml: Fix some upper-cased accelerators. Not
      	sure if they caused any real problem.
      
      	* src/nautilus-window-menus.c: (bookmark_holder_free_cover): Added
      	cover to avoid function type cast.
      	(append_bookmark_to_menu): Use cover.
      	(append_dynamic_bookmarks): Removed some commented out code
      27226688
  30. 09 Oct, 2000 1 commit
    • Mathieu Lacage's avatar
      Fix bugs 3498, 3523 and the nautilus part of 3497 3497 bug fix is disabled · eea192b0
      Mathieu Lacage authored
      2000-10-09  Mathieu Lacage  <mathieu@eazel.com>
      
      	Fix bugs 3498, 3523 and the nautilus part of 3497
      	3497 bug fix is disabled because there is a bug in bonobo.
      	bug you can try it if you set BONOBO_WORKAROUND to 1.
      
      	* libnautilus-extensions/nautilus-bonobo-extensions.c:
      	(nautilus_bonobo_set_accelerator),
      	(nautilus_bonobo_set_description), (nautilus_bonobo_set_label),
      	(nautilus_bonobo_set_sensitive), (nautilus_bonobo_set_hidden),
      	(nautilus_bonobo_get_hidden), (nautilus_bonobo_set_icon):
      	add g_asserts. add (nautilus_bonobo_set_icon)
      	* libnautilus-extensions/nautilus-bonobo-extensions.h:
      	add (nautilus_bonobo_set_icon) prototype
      
      	* src/Makefile.am: beautification.
      	* src/file-manager/fm-desktop-icon-view.c:
      	(fm_desktop_icon_view_initialize_class): a space...
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_real_merge_menus): a space too...
      	* src/nautilus-shell-ui.xml: mainly a few spaces.
      	* src/nautilus-window-manage-views.c: (load_content_view):
      	use bonobo_ui_component_freeze/thaw
      	* src/nautilus-window-menus.c:
      	(nautilus_window_update_show_hide_menu_items),
      	(get_user_level_icon_name), (switch_to_user_level),
      	(add_user_level_menu_item), (nautilus_window_initialize_menus),
      	(nautilus_window_update_find_menu_item),
      	(update_user_level_menu_items),
      	(convert_user_level_to_path):
      	use bonobo_ui_component_freeze/thaw and add the corect calls to
      	nautilus_bonobo_set_icon
      	* src/nautilus-window.c: (nautilus_window_constructed),
      	(show_dock_item): add calls to nautilus_bonobo_set_hidden to remove
      	the toolbars for the desktop case.
      eea192b0
  31. 05 Oct, 2000 2 commits
    • Darin Adler's avatar
      Cut over to HEAD of Bonobo. This check-in includes all the changes · 2ae47c75
      Darin Adler authored
      	needed to compile and run, but there are many things wrong
      	visually that may take a while to get fixed.
      
      	* src/nautilus-window-menus.c: (file_menu_new_window_callback),
      	(file_menu_close_window_callback),
      	(file_menu_close_all_windows_callback),
      	(file_menu_toggle_find_mode_callback),
      	(file_menu_web_search_callback), (edit_menu_undo_callback),
      	(edit_menu_cut_callback), (edit_menu_copy_callback),
      	(edit_menu_paste_callback), (edit_menu_clear_callback),
      	(go_menu_back_callback), (go_menu_forward_callback),
      	(go_menu_up_callback), (go_menu_home_callback),
      	(go_menu_forget_history_callback), (view_menu_reload_callback),
      	(view_menu_show_hide_sidebar_callback),
      	(view_menu_show_hide_tool_bar_callback),
      	(view_menu_show_hide_location_bar_callback),
      	(view_menu_show_hide_status_bar_callback),
      	(nautilus_window_update_show_hide_menu_items),
      	(view_menu_zoom_in_callback), (view_menu_zoom_out_callback),
      	(view_menu_zoom_normal_callback),
      	(bookmarks_menu_add_bookmark_callback),
      	(bookmarks_menu_edit_bookmarks_callback),
      	(user_level_customize_callback), (customize_callback),
      	(change_appearance_callback), (help_menu_about_nautilus_callback),
      	(help_menu_nautilus_feedback_callback), (switch_to_user_level),
      	(user_level_menu_item_callback), (append_placeholder),
      	(append_separator), (append_bookmark_to_menu),
      	(create_menu_item_from_node), (remove_bookmarks_after),
      	(remove_underline_accelerator_from_menu_title),
      	(new_top_level_menu), (add_user_level_menu_item),
      	(nautilus_window_initialize_menus),
      	(nautilus_window_update_find_menu_item),
      	(update_user_level_menu_items), (convert_verb_to_user_level),
      	(convert_user_level_to_verb), (update_preferences_dialog_title):
      	* src/nautilus-window.c: (nautilus_window_clear_status),
      	(nautilus_window_set_status), (install_status_bar),
      	(nautilus_window_constructed), (nautilus_window_set_arg),
      	(nautilus_window_get_arg), (nautilus_window_destroy),
      	(nautilus_window_allow_back), (nautilus_window_allow_forward),
      	(nautilus_window_allow_up), (nautilus_window_allow_reload),
      	(nautilus_window_zoom_level_changed_callback),
      	(nautilus_window_set_content_view_widget), (show_dock_item),
      	(hide_dock_item), (dock_item_showing),
      	(nautilus_window_hide_tool_bar), (nautilus_window_show_tool_bar),
      	(nautilus_window_tool_bar_showing),
      	(nautilus_window_hide_status_bar),
      	(nautilus_window_show_status_bar),
      	(nautilus_window_status_bar_showing):
      	Convert to new API. Some is disabled with #ifdef UIH.
      
      	* Makefile.am:
      	* configure.in:
      	Turned off build of the idl directory, build components after src.
      
      	* components/adapter/main.c:
      	* components/notes/nautilus-notes.c:
      	* components/sample/main.c:
      	* libnautilus-extensions/nautilus-font-picker.c:
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	* libnautilus-extensions/nautilus-password-dialog.c:
      	* libnautilus-extensions/nautilus-preferences-item.c:
      	* libnautilus/nautilus-undo-transaction.c:
      	* libnautilus/nautilus-undo.c:
      	* src/nautilus-application.c:
      	* src/nautilus-history-frame.c:
      	* src/nautilus-link-set-window.c:
      	* src/nautilus-main.c:
      	* src/nautilus-shell.c:
      	* src/nautilus-sidebar.c:
      	* src/nautilus-view-frame-corba.c:
      	* src/nautilus-zoomable-frame-corba.c:
      	* test/test-nautilus-font-picker.c:
      	* test/test-nautilus-image.c: (create_font_picker_frame):
      	* test/test-nautilus-label.c: (create_font_picker_frame):
      	* test/test-nautilus-preferences.c:
      	* test/test-nautilus-widgets.c: (radio_group_load_it_up):
      	Fixed includes.
      
      	* test/test-nautilus-image.c: (create_font_picker_frame):
      	* test/test-nautilus-label.c: (create_font_picker_frame):
      	* test/test-nautilus-widgets.c: (radio_group_load_it_up):
      	Turned off localization of some strings in tests.
      
      	* components/adapter/nautilus-adapter-control-embed-strategy.c:
      	(nautilus_adapter_control_embed_strategy_new):
      	* components/adapter/nautilus-adapter-control-embed-strategy.h:
      	* components/adapter/nautilus-adapter-embed-strategy.c:
      	(nautilus_adapter_embed_strategy_get):
      	* components/adapter/nautilus-adapter-embed-strategy.h:
      	* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
      	(nautilus_adapter_embeddable_embed_strategy_new):
      	* components/adapter/nautilus-adapter-embeddable-embed-strategy.h:
      	Embedding code now deals with Bonobo_UIContainer, not
      	Bonobo_UIHandler.
      
      	* components/adapter/nautilus-adapter.c: (nautilus_adapter_new):
      	This code not only had to be changed to deal with the
      	Bonobo_UIContainer instead of Bonobo_UIHandler, but it also needed
      	to deal with the containing item (was remote_ui_handler), not the
      	local component.
      
      	* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
      	(nautilus_adapter_embeddable_embed_strategy_new):
      	* components/adapter/nautilus-adapter.c:
      	BonoboContainer was renamed BonoboItemContainer.
      
      	* components/history/nautilus-history-view.c:
      	Remove unused BonoboUIHandler * field.
      
      	* components/loser/content/Makefile.am:
      	* components/loser/sidebar/Makefile.am:
      	* components/mozilla/Makefile.am:
      	* components/sample/Makefile.am:
      	* src/Makefile.am:
      	* src/file-manager/Makefile.am:
      	Added the necessary defines and build rules to install ui.xml
      	files and locate them from the C code.
      
      	* src/file-manager/nautilus-directory-view-ui.xml:
      	* src/file-manager/nautilus-icon-view-ui.xml:
      	* src/file-manager/nautilus-search-list-view-ui.xml:
      	* src/nautilus-shell-ui.xml:
      	Added definitions of user interface.
      
      	* components/loser/content/nautilus-content-loser-ui.xml:
      	* components/loser/sidebar/nautilus-sidebar-loser-ui.xml:
      	* components/mozilla/nautilus-mozilla-ui.xml:
      	* components/sample/nautilus-sample-content-view-ui.xml:
      	Added empty placeholders for user interface.
      
      	* components/loser/content/nautilus-content-loser.c:
      	(loser_merge_bonobo_items_callback):
      	* components/loser/sidebar/nautilus-sidebar-loser.c:
      	(loser_merge_bonobo_items_callback):
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	(mozilla_merge_bonobo_items_callback):
      	* components/sample/nautilus-sample-content-view.c:
      	(sample_merge_bonobo_items_callback):
      	Use nautilus_view_set_up_ui to get the user interface from a
      	ui.xml file. Put #ifdef UIH around old code to make the items work
      	that still needs to be visited.
      
      	* libnautilus-extensions/nautilus-bonobo-extensions.c:
      	* libnautilus-extensions/nautilus-bonobo-extensions.h:
      	* libnautilus-extensions/nautilus-undo-manager.c:
      	* libnautilus-extensions/nautilus-undo-manager.h:
      	* libnautilus/nautilus-clipboard.c: (add_menu_items_callback),
      	(remove_menu_items_callback),
      	(nautilus_clipboard_set_up_editable_from_bonobo_control):
      	* libnautilus/nautilus-clipboard.h:
      	Wrapped code in ifdef UIH to disable it until it can be converted
      	to the new Bonobo.
      
      	* libnautilus-extensions/nautilus-caption-table.h:
      	* libnautilus-extensions/nautilus-caption.h:
      	* libnautilus-extensions/nautilus-font-picker.h:
      	* libnautilus-extensions/nautilus-preferences-group.h:
      	* libnautilus-extensions/nautilus-preferences-item.h:
      	* libnautilus-extensions/nautilus-radio-button-group.h:
      	* src/nautilus-about.h:
      	Got rid of any cases where headers include the omnibus header
      	<gnome.h>. These made the conversion process harder, which is why
      	we fixed them.
      
      	* libnautilus/libnautilus.h:
      	Got rid of cases where headers include the omnibus header
      	<bonobo.h>.
      
      	* libnautilus/nautilus-view.h:
      	* libnautilus/nautilus-view.c: (nautilus_view_set_up_ui):
      	Added a helper function to make it easy for Nautilus components to
      	load their UI and get it attached to the Nautilus:View object.
      
      	* nautilus.spec.in: Install the nautilus-*-ui.xml files too.
      
      	* src/file-manager/fm-directory-view.h:
      	* src/file-manager/fm-directory-view.c:
      	(bonobo_menu_select_all_callback),
      	(bonobo_menu_empty_trash_callback),
      	(bonobo_control_activate_callback): Convert to new API.
      	(fm_directory_view_get_bonobo_ui_container): Name and purpose
      	changed slightly for new API.
      	(fm_directory_view_real_merge_menus): Merge with new API.
      	(fm_directory_view_real_update_menus): Disabled this code for now.
      
      	* src/file-manager/fm-icon-view.c: (fm_icon_view_destroy): Destroy
      	icon view's own component at destroy time.
      	(context_menu_layout_radio_item_callback),
      	(append_one_context_menu_layout_item),
      	(fm_icon_view_create_background_context_menu_items),
      	(update_layout_menus): Convert to new API, disable some with
      	#ifdef UIH.
      	(get_sort_criterion_by_verb),
      	(set_sort_criterion_by_verb), (sort_callback): Convert to new API.
      	(fm_icon_view_merge_menus): Merge with new API, creating our own
      	UI component separate from the directory view's.
      	(fm_icon_view_update_menus): Disable with #ifdef UIH.
      
      	* src/file-manager/fm-search-list-view.h:
      	* src/file-manager/fm-search-list-view.c:
      	(fm_search_list_view_initialize_class),
      	(fm_search_list_view_initialize), (real_destroy),
      	(indexing_info_callback), (real_merge_menus), (real_update_menus):
      	Add code necessary to use a separate UI component, and disabled
      	the actual menu set-up code with #ifdef UIH. This required adding
      	a details struct.
      
      	* src/nautilus-desktop-window.c: (realize): Turned off the code
      	that hides the desktop elements.
      
      	* src/nautilus-window-private.h:
      	* src/nautilus-view-frame.h:
      	* src/nautilus-view-frame.c: (nautilus_view_frame_destroy),
      	(nautilus_view_frame_new), (nautilus_view_frame_load_client):
      	* src/nautilus-window-manage-views.c: (load_content_view),
      	(nautilus_window_set_sidebar_panels):
      	Change to use Bonobo_UIContainer instead of Bonobo_UIHandler.
      
      	* src/nautilus-window-toolbars.c: (remember_buttons),
      	(nautilus_window_initialize_toolbars): Leave this code around and
      	change it enough to compile and run, even though it's creating a
      	second, invisible toolbar.
      
      	* src/nautilus-window.h: Change to be a BonoboWin subclass instead
      	of a GnomeApp subclass.
      2ae47c75
    • Ramiro Estrugo's avatar
      Build profiler hooks if ENABLE_PROFILER is enabled. · 70b4f4a6
      Ramiro Estrugo authored
      	* src/Makefile.am:
      	Build profiler hooks if ENABLE_PROFILER is enabled.
      
      	* src/nautilus-profiler.c: (widget_find_ancestor_window),
      	(ui_handler_find_ancestor_window), (widget_set_busy_cursor),
      	(widget_clear_busy_cursor),
      	(nautilus_profiler_bonobo_ui_report_callback):
      	Add support for saving dump to a file.
      70b4f4a6