Commit graph

166 commits

Author SHA1 Message Date
Cosimo Cecchi
86d41c1415 Split WARNING_CFLAGS into its own variable.
So that we can use e.g. LIBNAUTILUS_EXTENSIONS_CFLAGS when compiling the
gir information.
2010-05-20 14:34:00 +02:00
Alexander Larsson
37be3809bc Remove all traces of former nautilus metadata code 2009-06-23 21:43:52 +02:00
Cosimo Cecchi
c308f7f3e9 Remove other deprecated GTK+ symbols
There were still some references to deprecated GTK+ symbols in some
files, or in some comments. Let's drop them all.
2009-04-22 00:38:43 +02:00
Cosimo Cecchi
b695c97018 Remove deprecated GDK/GTK+ symbols
Remove all uses of deprecated GDK and GTK+ symbols, replacing them
with the currently supported equivalents.
Based on a patch from Tal Benavidor (#565038).
2009-04-21 15:06:23 +02:00
Cosimo Cecchi
27e3e64028 remove obsolete test.
2009-02-24  Cosimo Cecchi  <cosimoc@gnome.org>

	* test/test-eel-widgets.c: remove obsolete test.

svn path=/trunk/; revision=15016
2009-02-24 22:47:19 +00:00
Cosimo Cecchi
4e4cbea644 remove unneeded and obsolete snippets of autofoo.
2009-02-21  Cosimo Cecchi  <cosimoc@gnome.org>

	* configure.in:
	* test/Makefile.am: remove unneeded and obsolete snippets of
	autofoo.

svn path=/trunk/; revision=14990
2009-02-21 11:51:49 +00:00
Alexander Larsson
77deda90ce Added. Added. Added. Added. Added. Added. Added. Import eel tests
2008-12-15  Alexander Larsson  <alexl@redhat.com>

        * test/Makefile.am:
        * test/test-eel-background.c: Added.
        * test/test-eel-editable-label.c: Added.
        * test/test-eel-image-scrolled.c: Added.
        * test/test-eel-image-table.c: Added.
        * test/test-eel-labeled-image.c: Added.
        * test/test-eel-pixbuf-scale.c: Added.
        * test/test-eel-widgets.c: Added.
        * test/test.h:
	Import eel tests


svn path=/trunk/; revision=14816
2008-12-15 18:14:31 +00:00
Alexander Larsson
cf740f7f9b Require trunk eel. Drop libgnome* and librsvg deps.
2008-10-07  Alexander Larsson  <alexl@redhat.com>

        * configure.in:
	Require trunk eel.
	Drop libgnome* and librsvg deps.
	
        * libnautilus-private/nautilus-customization-data.c:
        (nautilus_customization_data_get_next_element_for_display):
        * libnautilus-private/nautilus-icon-canvas-item.c:
        (real_map_pixbuf):
        * src/nautilus-property-browser.c:
        (make_drag_image):
	Use librsvg indirectly via gdk-pixbuf loader.
	
        * libnautilus-private/nautilus-thumbnails.c:
	Use thumbnail factory from gnome-desktop.
	
        * libnautilus-private/nautilus-undo.c:
        (nautilus_undo_get_undo_manager):
	Kill references to gnome canvas.
	
        * libnautilus-private/nautilus-vfs-file.c:
	Don't include removed eel-mount-operation.h header

        * src/file-manager/fm-properties-window.c:
        (update_preview_callback):
	Use thumbnail utils from gnome-desktop.

        * src/Makefile.am:
        * src/nautilus-bookmarks-window.c:
        * src/nautilus-bookmarks-window.glade: Removed.
        * src/nautilus-bookmarks-window.ui: Added.
        * src/nautilus-file-management-properties.c:
        * src/nautilus-file-management-properties.glade: Removed.
        * src/nautilus-file-management-properties.ui: Added.
	Switch from libglade to gtkbuilder.

        * libnautilus-private/nautilus-file-operations.c:
        * src/nautilus-emblem-sidebar.c:
        * src/nautilus-navigation-window.h:
        * test/test-nautilus-wrap-table.c:
        * test/test.c:
        * test/test.h:
	Drop old unused libgnome/librsvg includes



svn path=/trunk/; revision=14704
2008-10-07 19:49:14 +00:00
Cosimo Cecchi
0dcbcb7324 Use gtk_show_uri instead of gnome_help
2008-10-06  Cosimo Cecchi  <cosimoc@gnome.org>

        * src/nautilus-window-menus.c:
        (action_nautilus_manual_callback):
	Use gtk_show_uri instead of gnome_help
	
        * src/nautilus-file-management-properties-main.c:
        * src/nautilus-connect-server-dialog-main.c:
        * src/nautilus-autorun-software.c:
        * test/test-nautilus-mime-actions-set.c:
        * test/test-nautilus-mime-actions.c:
	Use GOption instead of GnomeProgram
	
        * src/nautilus-property-browser.c:
	Use GtkColorButton instead of GnomeColorPicker
	Use gtk_show_uri instead of gnome_help


svn path=/trunk/; revision=14683
2008-10-06 09:40:38 +00:00
Christian Neumair
974ad6ae24 Strip extensions using eel_filename_strip_extension(). Fixes #309510.
2008-09-01  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-customization-data.c
	(format_name_for_display), (load_name_map_hash_table):
	* src/file-manager/fm-directory-view.c
	(add_template_to_templates_menus):
	* src/nautilus-property-browser.c
	(nautilus_property_browser_drag_data_get),
	(make_properties_from_directories):
	* test/test-nautilus-wrap-table.c (main):
	Strip extensions using eel_filename_strip_extension(). Fixes #309510.
	Thanks to Paolo Borelli <pborelli@katamail.com> and Jared Moore
	<jaredm@gmx.com>.

svn path=/trunk/; revision=14555
2008-09-01 10:24:12 +00:00
Søren Sandmann
063e25efac Revert last commit as we do still need to deal with uris.
Fri May 30 23:33:17 2008  Søren Sandmann  <sandmann@redhat.com>

	* Revert last commit as we do still need to deal with uris.


svn path=/trunk/; revision=14213
2008-05-31 03:34:36 +00:00
Søren Sandmann
1b1ae3c811 Update for new eel API Require SVN version of eel
Fri May 30 22:16:51 2008  Søren Sandmann  <sandmann@redhat.com>

	* libnautilus-private/nautilus-directory-background.c
	(initialize_background_from_settings): 
	* src/nautilus-information-panel.c
	(nautilus_information_panel_update_appearance): Update for new eel
	API
	* configure.in: Require SVN version of eel


svn path=/trunk/; revision=14212
2008-05-31 02:19:14 +00:00
Alexander Larsson
ec94256ed1 Initialize threads (#515031)
2008-02-08  Alexander Larsson  <alexl@redhat.com>

        * test/test-nautilus-search-engine.c:
        (main):
	Initialize threads (#515031)


svn path=/trunk/; revision=13708
2008-02-08 08:15:45 +00:00
Alexander Larsson
12b8cc103f Don't include deprectated headers
2007-12-03  Alexander Larsson  <alexl@redhat.com>

	* test/test.h: 
	Don't include deprectated headers



svn path=/trunk/; revision=13472
2007-12-03 10:38:42 +00:00
Alexander Larsson
469047a2a5 Merge gio-branch
svn path=/trunk/; revision=13464
2007-11-30 14:51:10 +00:00
Christian Persch
ee2c880e61 Use pango ellipsisation instead of truncating the strings. Bug #410113.
2007-07-24  Christian Persch  <chpe@gnome.org>

	* libnautilus-private/nautilus-bookmark.c:
	(nautilus_bookmark_menu_item_new):
	* libnautilus-private/nautilus-customization-data.c:
	(nautilus_customization_data_new),
	(nautilus_customization_data_get_next_element_for_display):
	* libnautilus-private/nautilus-customization-data.h:
	* src/nautilus-application.c:
	* src/nautilus-bookmark-list.c: (new_bookmark_from_uri):
	* src/nautilus-navigation-window-menus.c: (connect_proxy_cb),
	(refresh_go_menu):
	* src/nautilus-places-sidebar.c: (bookmarks_drop_uris),
	(drag_data_received_callback):
	* src/nautilus-property-browser.c:
	(make_properties_from_directories):
	* src/nautilus-window-bookmarks.c: (connect_proxy_cb),
	(update_bookmarks):
	* src/nautilus-window-menus.c:
	(nautilus_menus_append_bookmark_to_menu):
	* test/test-nautilus-wrap-table.c: (main): Use pango ellipsisation
	instead of truncating the strings. Bug #410113.

svn path=/trunk/; revision=13025
2007-07-24 15:21:21 +00:00
Christian Persch
8e00ed171c Update svn:ignore and remove .cvsignore files
svn path=/trunk/; revision=12678
2006-12-31 17:15:07 +00:00
Alexander Larsson
54b31824b4 Sleep shorter, for more torture
2006-11-02  Alexander Larsson  <alexl@redhat.com>

	* test/file-torture.py (main):
	Sleep shorter, for more torture
2006-11-02 18:23:13 +00:00
Federico Mena Quintero
452167e8fa New file with a little torture test. It does a bunch of file operations on
2006-10-19  Federico Mena Quintero  <federico@novell.com>

	* test/file-torture.py: New file with a little torture test.  It
	does a bunch of file operations on a directory.  Nautilus
	sometimes crashes when viewing that directory, so this should help
	us find bugs.
2006-10-19 16:46:53 +00:00
Martin Wehner
63b8582c8e Fix C99-style variable initialization. Patch from Jens Granseuer
2006-01-26  Martin Wehner  <martin.wehner@gmail.com>

	* test/test-nautilus-directory-async.c: (main):
	Fix C99-style variable initialization.
	Patch from Jens Granseuer <jensgr@gmx.net>
2006-01-26 22:04:20 +00:00
Alexander Larsson
671e4bdaa4 --- Merged the nautilus-search2 branch --- 2005-12-12 16:59:19 +00:00
James Henstridge
61694af05c don't define GNOMELOCALEDIR in INCLUDES.
2004-01-11  James Henstridge  <james@jamesh.id.au>

	* test/Makefile.am: don't define GNOMELOCALEDIR in INCLUDES.

	* src/Makefile.am: remove desktop and server files on clean.
	Don't include GNOMELOCALEDIR in INCLUDES, since it is now defined
	in config.h.

	* Makefile.am: remove desktop files on clean, and intltool files
	on distclean.

	* acconfig.h: remove, since it isn't needed anymore.

	* configure.in: remove some macro calls not needed with newer
	automakes, and use newer versions of some macros.

	* autogen.sh: require Automake >= 1.7.
2005-01-11 09:39:27 +00:00
Alexander Larsson
67e2a42fea Merge bonobo-slay-branch
2004-11-22  Alexander Larsson  <alexl@redhat.com>
        * Merge bonobo-slay-branch
2004-11-22 15:24:38 +00:00
Dave Camp
eb6a30500d Merged the nautilus-new-mime branch.
2004-07-21  Dave Camp  <dave@novell.com>

	* Merged the nautilus-new-mime branch.
2004-07-22 03:57:44 +00:00
Alexander Larsson
5849070a30 Remove eel-string-picker.h
2004-01-06  Alexander Larsson <alexl@redhat.com>

	* test/test.h:
	Remove eel-string-picker.h
2004-01-06 07:48:32 +00:00
Anders Carlsson
9ade106bfd Remove use of EelGenerousBin, we can use a GtkBox with only one child for
2004-01-03  Anders Carlsson  <andersca@gnome.org>

	* components/adapter/nautilus-adapter.c: (nautilus_adapter_new):
	* src/nautilus-navigation-bar.c:
	* src/nautilus-navigation-bar.h:
	* src/nautilus-navigation-window.c:
	* src/nautilus-spatial-window.c:
	(nautilus_spatial_window_instance_init):
	* src/nautilus-view-frame.c:
	* src/nautilus-view-frame.h:
	* src/nautilus-window.c:
	Remove use of EelGenerousBin, we can use a GtkBox with only one
	child for that instead.

	* test/Makefile.am:
	Don't use Eel stuff that no-one else uses.
2004-01-03 18:34:46 +00:00
Alexander Larsson
3e0d21df23 AIX port from Laurent.Vivier@bull.net (Laurent Vivier)
2003-04-23  Alexander Larsson  <alexl@redhat.com>

        AIX port from Laurent.Vivier@bull.net (Laurent Vivier)

	* configure.in:
	Look for popt and some aix headers

	* components/hardware/Nautilus_View_hardware.server.in.in:
	Fix up LIBEXECDIR reference

	* components/history/nautilus-history-view.c:
	* components/notes/nautilus-notes.c:
	* components/throbber/nautilus-throbber.c:
	* libnautilus-private/nautilus-icon-canvas-item.c:
	* libnautilus-private/nautilus-icon-container.c:
	* libnautilus-private/nautilus-icon-dnd.c:
	* libnautilus-private/nautilus-program-chooser.c:
	* libnautilus-private/nautilus-volume-monitor.h:
	* src/nautilus-applicable-views.h:
	* src/nautilus-property-browser.c:
	* src/nautilus-sidebar-title.c:
	* src/file-manager/fm-directory-view.c:
	* test/test-nautilus-preferences-change.c: (main):
	* test/test.c: (test_quit):
	Fix c++ comments and commas at end of enums.
	Move math.h includes to top.

	* data/Makefile.am:
	Remove duplicate definitions

	* libnautilus-adapter/Makefile.am:
	* libnautilus-private/Makefile.am:
	* libnautilus/Makefile.am:
	Add correct libs

	* libnautilus-private/nautilus-file-private.h:
	Bitfields can't be enums.

	* libnautilus-private/nautilus-volume-monitor.c:
	Implement AIX support.

	* src/Makefile.am:
	Add POPT_FLAGS
2003-04-23 09:50:03 +00:00
Alexander Larsson
4e04c0a008 Convert file attributes from list of strings to a bitmask. Patch from
2003-04-02  Alexander Larsson  <alexl@redhat.com>

	* components/notes/nautilus-notes.c:
	* components/tree/nautilus-tree-model.c:
	* components/tree/nautilus-tree-view.c:
	* libnautilus-private/nautilus-directory-async.c:
	* libnautilus-private/nautilus-directory-background.c:
	* libnautilus-private/nautilus-directory-private.h:
	* libnautilus-private/nautilus-directory.c:
	* libnautilus-private/nautilus-directory.h:
	* libnautilus-private/nautilus-file-attributes.h:
	* libnautilus-private/nautilus-file-private.h:
	* libnautilus-private/nautilus-file.c: (rename_callback),
	* libnautilus-private/nautilus-file.h:
	* libnautilus-private/nautilus-icon-factory.c:
	* libnautilus-private/nautilus-icon-factory.h:
	* libnautilus-private/nautilus-link.c:
	* libnautilus-private/nautilus-merged-directory.c:
	* libnautilus-private/nautilus-mime-actions.c:
	* libnautilus-private/nautilus-mime-actions.h:
	* libnautilus-private/nautilus-program-choosing.c:
	* libnautilus-private/nautilus-trash-file.c:
	* libnautilus-private/nautilus-trash-monitor.c:
	* libnautilus-private/nautilus-vfs-directory.c:
	* libnautilus-private/nautilus-vfs-file.c:
	* src/file-manager/fm-directory-view.c:
	* src/file-manager/fm-icon-container.c:
	* src/file-manager/fm-properties-window.c:
	* src/nautilus-applicable-views.c:
	* src/nautilus-information-panel.c:
	* src/nautilus-sidebar-title.c:
	* src/nautilus-window-manage-views.c:
	* src/nautilus-window.c:
	* test/test-nautilus-mime-actions-set.c:
	* test/test-nautilus-mime-actions.c:

	Convert file attributes from list of strings to a bitmask.
	Patch from andersca@codefactory.se.
2003-04-02 11:51:14 +00:00
Dave Camp
f8b8fe558a Removed property widget tests.
2002-11-05  Dave Camp  <dave@ximian.com>

	* test/Makefile.am:
	* test/test.c:
	* test/test.h: Removed property widget tests.
2002-11-06 01:32:10 +00:00
Damon Chaplin
4bef8eb8b6 use $(prefix)/${DATADIRNAME}/locale rather than $(datadir)/locale so it
2002-06-12  Damon Chaplin  <damon@ximian.com>

	* test/Makefile.am (INCLUDES):
	* src/Makefile.am (INCLUDES):
	* components/tree/Makefile.am (INCLUDES):
	* components/throbber/Makefile.am (INCLUDES):
	* components/text/Makefile.am (INCLUDES):
	* components/notes/Makefile.am (INCLUDES):
	* components/news/Makefile.am (INCLUDES):
	* components/music/Makefile.am (INCLUDES):
	* components/history/Makefile.am (INCLUDES):
	* components/hardware/Makefile.am (INCLUDES): use
	$(prefix)/${DATADIRNAME}/locale rather than $(datadir)/locale so
	it works on Solaris. Fixes bug #83636.
2002-06-12 18:18:40 +00:00
Darin Adler
136742e4ef Because lots of recent bugs were due to "signal handler called after
* Tons of files:
	Because lots of recent bugs were due to "signal handler called after
	object gone" problems, switched many calls of g_signal_connect and
	g_signal_connect_swapped to use g_signal_connect_object instead.
	Also did other signal-related cleanup and changed some destroys to
	finalizes.

	* libnautilus/nautilus-view-standard-main.h:
	We no longer need to include nautilus-view.h in here. So include it
	in the files that use this instead.

	Did merges from stable branch:

	2001-10-25  Darin Adler  <darin@bentspoon.com>

        * libnautilus-private/nautilus-directory.c:
        (call_files_changed_common), (call_files_changed_free_list),
        (call_files_changed_unref_free_list),
        (nautilus_directory_notify_files_changed): Move call to
        nautilus_directory_add_file_to_work_queue into a better
        bottleneck; now it catches all the notify cases, not just changed.
        Also tell it to re-get top-left text and link info too when we get
        a changed notice.

        * src/file-manager/fm-directory-view.c: (queue_pending_files):
        Don't use the timeout (and the hysteresis) when queuing files once
        the initial directory load is complete. Doing this was causing
        delays processing changes that came in later, which we don't want.

        * src/nautilus-sidebar-title.c: (item_count_ready), (monitor_add),
	(update_all), (nautilus_sidebar_title_set_file): Monitor the
	directory count once we get it the first time. This makes sure
	that changes in the directory count get reflected in the sidebar
	without creating a race with the main view to see who calculates
	it first.

	2001-10-25  Alex Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-directory.c
	(nautilus_directory_notify_files_changed): Call
	nautilus_directory_add_file_to_work_queue() when file_info is
	invalidated.  Otherwise it will not be read again.
2002-03-07 19:36:18 +00:00
Darin Adler
3035a35267 Just release, don't unref. (get_metafile): Don't keep a ref. Also fix
* libnautilus-private/nautilus-directory-metafile.c:
        (free_factory): Just release, don't unref.
        (get_metafile): Don't keep a ref. Also fix CORBA objref leak.

        * libnautilus-private/nautilus-icon-factory.c:
        (get_icon_from_cache):

        * libnautilus-private/nautilus-metafile-factory.c:
        (nautilus_metafile_factory_get_instance): Return the same
        instance each time, don't ref, since lifetime is not managed
        by ref counting.

        * libnautilus/nautilus-clipboard.c:
        (initialize_clipboard_component_with_callback_data):
        Get rid of BonoboUIComponent leak.

        * src/nautilus-application.c: Formatting tweaks.
        * libnautilus-private/nautilus-bookmark.c: Minor cleanup.

        * test/Makefile.am:
        * test/test-nautilus-async-activation.c: Remove.
2002-02-27 18:05:45 +00:00
Darin Adler
0ba9c077fd Remove smooth mode and unused font and font size machinery.
* components/tree/nautilus-tree-view.c: (create_tree),
	(nautilus_tree_view_destroy):
	* libnautilus-private/nautilus-directory.c:
	(add_preferences_callbacks):
	* libnautilus-private/nautilus-global-preferences.c:
	* libnautilus-private/nautilus-global-preferences.h:
	* libnautilus-private/nautilus-icon-canvas-item.c:
	(measure_label_text), (nautilus_icon_canvas_item_render),
	(nautilus_icon_canvas_item_set_show_stretch_handles):
	* libnautilus-private/nautilus-icon-container.c:
	(start_rubberbanding), (finalize), (nautilus_icon_container_init),
	(nautilus_icon_container_update_icon),
	(nautilus_icon_container_theme_changed):
	* libnautilus-private/nautilus-icon-container.h:
	* libnautilus-private/nautilus-icon-private.h:
	* src/file-manager/fm-directory-view.c: (fm_directory_view_init),
	(fm_directory_view_finalize):
	* src/file-manager/fm-directory-view.h:
	* src/file-manager/fm-icon-view.c:
	(fm_icon_view_update_icon_container_font_size_table),
	(create_icon_container), (fm_icon_view_class_init):
	Remove smooth mode and unused font and font size machinery.

	* test/.cvsignore: Remove test-nautilus-smooth-graphics.
	* test/Makefile.am: Remove test-nautilus-smooth-graphics.
	* test/test-nautilus-smooth-graphics.c: Remove.

	* src/nautilus-preferences-dialog.c:
	(dialog_delete_event_callback), (dialog_button_response_callback),
	(preferences_dialog_create): Fix bug where we'd lose the
	preferences dialog if you closed it with a delete_event.
2002-01-29 19:21:59 +00:00
Darin Adler
c66ad8c74e Remove. Remove. Remove. Remove. Remove.
* check-signals.pl: Remove.
	* components/adapter/bonobo-stream-vfs.c: Remove.
	* components/adapter/bonobo-stream-vfs.h: Remove.
	* components/adapter/nautilus-adapter-progressive-load-strategy.c: Remove.
	* components/adapter/nautilus-adapter-progressive-load-strategy.h: Remove.

	* components/adapter/Makefile.am:
	* components/hardware/Makefile.am:
	* components/history/Makefile.am:
	* components/image-viewer/Makefile.am:
	* components/music/Makefile.am:
	* components/news/Makefile.am:
	* components/notes/Makefile.am:
	* components/text/Makefile.am:
	* components/throbber/Makefile.am:
	* components/tree/Makefile.am:
	* libnautilus-private/Makefile.am:
	* test/Makefile.am:
	General cleanups, mostly formatting.

	* configure.in: Remove libiconv stuff, since we don't use it
	any more. Do esound stuff in the main call to pkg-config, not
	a separate set of variables.

	* components/image-viewer/nautilus-image-view.c: Remove unused
	libart includes.

	* cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.h: Remove
	the use of "decrement" as a synonym for "remove".

	* test/test.c: Remove unused libart include.
2002-01-21 20:21:31 +00:00
Darin Adler
074ed7a01a Remove nautilus-launch-icon.png.
* Makefile.am: Remove nautilus-launch-icon.png.

	* components/hardware/nautilus-hardware-view.c: (setup_form_title),
	(setup_overview_form): Port from EelImage to GtkImage.

	* components/music/nautilus-music-view.c: Remove unused include.
	* src/nautilus-theme-selector.c: Remove unused includes.

	* libnautilus-private/nautilus-bonobo-extensions.c:
	(bonobo_activation_activation_callback): Add warning message so we
	get to see the error from bonobo-activation.

	* libnautilus-private/nautilus-directory-metafile.c: (get_factory):
	* libnautilus-private/nautilus-icon-factory.c: (get_icon_factory),
	(load_icon_for_scaling), (embed_text):
	* libnautilus-private/nautilus-metafile-factory.c:
	(nautilus_metafile_factory_get_instance):
	* libnautilus-private/nautilus-theme.c:
	(nautilus_theme_get_theme_data_from_theme):
	* libnautilus-private/nautilus-trash-monitor.c:
	(nautilus_trash_monitor_get):
	* libnautilus-private/nautilus-volume-monitor.c:
	(nautilus_volume_monitor_get):
	* src/file-manager/nautilus-indexing-info.c:
	(show_indexing_info_dialog):
	* src/nautilus-preferences-dialog.c:
	(global_preferences_get_dialog):
	* src/nautilus-window.c: (nautilus_window_class_init),
	(add_to_history_list):
	Use eel_debug_call_at_shutdown instead of g_atexit.

	* libnautilus-private/nautilus-file.c:
	(nautilus_file_get_display_name): Add G_BROKEN_FILENAMES support.

	* libnautilus-private/nautilus-global-preferences.c:
	(nautilus_global_preferences_init): Remove eel_smooth_widget code.

	* libnautilus/Makefile.am: Add missing ORBIT_IDL dependency.

	* libnautilus/nautilus-view-standard-main.c:
	(nautilus_view_standard_main_multi): Remove
	bonobo_ui_debug_shutdown for now. It does us no good unless we
	also do eel_debug_shut_down, but libnautilus can't depend on eel.

	* nautilus-launch-icon.png: Remove.

	* src/file-manager/fm-properties-window.c:
	(update_properties_window_icon),
	(fm_properties_window_drag_data_received),
	(create_image_widget_for_file): Port from EelImage to GtkImage.

	* src/nautilus-component-adapter-factory.c:
	(nautilus_component_adapter_factory_get): Use
	eel_debug_call_at_shutdown instead of g_atexit.
	(nautilus_component_adapter_factory_create_adapter): Look at
	exceptions before looking at return values from CORBA calls.

	* src/nautilus-main.c: (main): Add a call to eel_debug_shut_down.

	* src/nautilus-property-browser.c:
	(nautilus_property_browser_init), (element_clicked_callback),
	(nautilus_property_browser_update_contents): Port from EelViewport
	to GtkViewport.

	* src/nautilus-search-bar-criterion.c:
	(nautilus_search_bar_criterion_destroy),
	(nautilus_search_bar_criterion_new_from_values): Fix for change
	that made NautilusSignaller no longer a GtkObject.

	* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_init),
	(update_icon), (add_emblem): Port from EelImage to GtkImage.

	* src/nautilus-signaller.h:
	* src/nautilus-signaller.c: (nautilus_signaller_get_current): Use
	eel_debug_call_at_shutdown instead of g_atexit.
	(nautilus_signaller_instance_init),
	(nautilus_signaller_class_init): Change to GObject, not GtkObject.

	* src/nautilus-window-menus.c: (get_bookmark_list): Use
	eel_debug_call_at_shutdown instead of g_atexit.
	(nautilus_window_initialize_go_menu): Fix for change that made
	NautilusSignaller no longer a GtkObject.

	* test/test-nautilus-preferences-change.c: Remove unused include.
	* test/test-nautilus-preferences-display.c: Remove unused includes.
	* test/test-nautilus-wrap-table.c: Remove unused includes.
	* test/test.c: Remove unused function.
	* test/test.h: Remove unused function.
2002-01-19 00:06:14 +00:00
Havoc Pennington
e60f2abe9f add preload of the gconf cache, to hopefully avoid a zillion round trips
2002-01-04  Havoc Pennington  <hp@pobox.com>

	* libnautilus-private/nautilus-global-preferences.c
	(nautilus_global_preferences_init): add preload of the gconf
	cache, to hopefully avoid a zillion round trips to gconfd on
	startup.

	* test/test.c (test_window_new): remove weird gtk_window_set_policy

	* test/test-nautilus-preferences-display.c: remove user level
	stuff

	* test/test-nautilus-preferences-change.c: remove user level stuff

	* libnautilus-private/nautilus-global-preferences.c: the default
	click policy was SPEED_TRADEOFF_LOCAL_ONLY, fix

	* libnautilus-private/nautilus.schemas: add schemas file,
	incomplete, needs to be finished and installed

	* libnautilus-private/nautilus-global-preferences.c: strip out
	user levels

	* src/nautilus-shell-ui.xml: strip out user level menu

	* src/nautilus-window-menus.c: strip out user level menu
2002-01-05 04:05:26 +00:00
Darin Adler
1cb7f70f8f Don't use the eel_eat function.
* test/test.c: (test_text_caption_get_text_as_int):
	Don't use the eel_eat function.
2002-01-03 23:21:01 +00:00
Darin Adler
3eec4d53e1 Turn on test subdirectory.
* Makefile.am: Turn on test subdirectory.
	* test/test.c: (test_init), (test_label_new):
	* test/test.h:
	Build without using EelLabel.

	* src/nautilus-sidebar-title.c: Remove unused header include.
2002-01-03 23:18:38 +00:00
Darin Adler
fa2a9d0085 Port from EelLabel to GtkLabel.
* 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.
2002-01-03 00:11:12 +00:00
Darin Adler
5a749ac982 lots of files Get rid of casts in callers to g_object_ref/g_object_unref.
* lots of files
	Get rid of casts in callers to g_object_ref/g_object_unref.
	Remove parameters to eel_make_warnings_and_criticals_stop_in_debugger.
2001-12-07 00:55:34 +00:00
Michael Meeks
7a030297d9 fix.
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.
2001-11-21 08:34:57 +00:00
Darin Adler
4a2255079a Lots of files. Get rid a lot of unneeded casts.
* Lots of files.
	Get rid a lot of unneeded casts.
2001-11-09 02:05:53 +00:00
Darin Adler
f6cff97ccd Switch to glib's gettext.
* 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.
2001-11-07 21:43:57 +00:00
Darin Adler
52b329b137 Lots of files. Another GtkObject -> GObject pass.
* Lots of files.
	Another GtkObject -> GObject pass.
2001-11-06 19:14:33 +00:00
Darin Adler
bdcd47873f Tons of files. More GtkObject -> GObject stuff.
* Tons of files.
	More GtkObject -> GObject stuff.
2001-11-04 21:41:24 +00:00
Darin Adler
5abcc19954 More GNOME 2 work. We now compile up to libnautilus-private and I'm
* Lots of files:
	More GNOME 2 work. We now compile up to libnautilus-private and
	I'm working my way through the files in there. Also changed all
	the initialize_class and initialize to class_init and init.
2001-10-28 20:21:52 +00:00
Darin Adler
800e4fc159 Fix code that was using <ctype.h> functions and passing char's rather than
* components/help/converters/gnome-info2html2/html.c:
	(write_menu_entry_html):
	* components/help/converters/gnome-man2html2/gnome-man2html.c:
	(add_links), (scan_escape), (scan_format), (scan_table),
	(scan_expression), (scan_request), (scan_troff),
	(scan_troff_mandoc), (main):
	* src/nautilus-first-time-druid.c: (load_netscape_proxy_settings):
	* src/nautilus-property-browser.c: (emblem_keyword_valid):
	Fix code that was using <ctype.h> functions and passing char's
	rather than int's (using the standard "cast to unsigned char"
	trick).

	* libnautilus-private/nautilus-file.c:
	(nautilus_file_denies_access_permission),
	(nautilus_file_can_set_permissions), (nautilus_file_set_owner),
	(nautilus_file_get_group_name), (nautilus_file_can_set_group),
	(nautilus_file_get_settable_group_names),
	(nautilus_file_set_group):
	Get rid of the assumption that GnomeVFSFileInfo field types match
	the platform-specific uid_t and gid_t. This involves doing a few
	more type casts.
	(nautilus_extract_top_left_text): Fix a use of isprint on a char
	rather than an int.

	* libnautilus-private/nautilus-volume-monitor.c: Added ifdefs so
	this file can compile for Solaris without warnings.

	* test/test.c: (test_window_set_title_with_pid): Don't assume that
	getpid() returns an int. Instead cast it to unsigned long for
	printing.
2001-07-11 21:31:55 +00:00
Ramiro Estrugo
430f6bd8cc Update for latest round of stuff moving into Eel. 2001-05-04 10:19:35 +00:00
Ramiro Estrugo
90d404095e nautilus-extensions -> nautilus-private renaming. 2001-05-04 03:14:43 +00:00
Ramiro Estrugo
60b832fdfb Lots of improvement. Make dealing with dependency libs/cflags simpler.
* 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.
2001-05-02 12:18:48 +00:00