Commit graph

184 commits

Author SHA1 Message Date
Cosimo Cecchi
7666f83777 search: remove unused hits-subtracted signal
Since this is never emitted, keeping the code around just makes it more
complicated.
2012-10-15 10:47:32 -04:00
William Jon McCann
0ab374ea0b Use git.mk 2012-09-17 18:07:25 -04:00
William Jon McCann
292314dd32 Update directory async test case 2012-08-08 15:55:29 -04:00
William Jon McCann
79869fd920 Collect results from both search providers
Previously we would only use the compiled in search provider. Now
it has been changed to run both providers at the same time and
merge the results by URI.

https://bugzilla.gnome.org/show_bug.cgi?id=680137
2012-07-18 10:57:32 -04:00
Cosimo Cecchi
44b695b9af file-operations: first pass at passing on success information
We want to know if a file operation failed for some reason, so that we
don't add it in the redo queue.
2012-01-20 22:14:01 -05:00
Cosimo Cecchi
c590280477 test: don't use deprecated gtk_vbox_new() 2011-10-18 11:28:08 -04:00
Cosimo Cecchi
04975e6cbc all: don't call g_thread_init()
GLib does that for us now.
2011-10-18 11:28:08 -04:00
Cosimo Cecchi
a0f8947383 progress-info: split progress information notify into a new manager 2011-02-03 19:38:35 -05:00
Cosimo Cecchi
393df7a83c build: simplify configure script
Also, don't support old exif/exempi APIs anymore.
2010-10-30 16:29:14 +02:00
Cosimo Cecchi
66cd22c908 background: refactor code into NautilusDesktopBackground
Remove the DirectoryBackground->EelBackground->GnomeBG abstraction and
add a new object, NautilusDesktopBackground, which is a thin wrapper
around GnomeBG, which takes care of handling background changes.
2010-10-09 15:41:41 +02:00
Cosimo Cecchi
931644a649 [test] remove test-eel-image-scrolled
It only increases compilation time
2010-08-19 16:52:45 +02:00
Cosimo Cecchi
9c9c619ae2 [test] remove eel-pixbuf-scale test 2010-08-19 16:35:27 +02:00
Cosimo Cecchi
41b7e9fe4d [eel] remove unused eel-xml-extensions. 2010-07-25 19:35:42 +02:00
Cosimo Cecchi
1ad357964e [eel] remove unused EelLabeledImage 2010-07-25 19:35:35 +02:00
Cosimo Cecchi
6feed0a28d [eel] remove unused EelImageTable 2010-07-25 19:35:31 +02:00
Alexander Larsson
ca1c74b6df Remove last users of eel_preferences and eel_gconf 2010-07-23 12:22:56 +02:00
Alexander Larsson
9318df841a Convert show-hidden-files to gsettings and merge it with show-backup-files 2010-07-23 12:22:54 +02:00
Cosimo Cecchi
d9f80b3f40 [test] GSEAL test-eel-image-table. 2010-06-11 13:25:22 +02:00
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