Commit graph

191 commits

Author SHA1 Message Date
Carlos Soriano
ff6ccbaf40 search: done loading signal only if not restarting engine
It was working as:
- Search directory starts a new search
- Search engine starts all search providers, each one in its
own thread.
- User changes query
- Search engine stops all search providers
- Searchs providers, since they are in its own thread, cancel
in a unknown time.
- Search directory starts a new search, even before all providers
are finished.
- Search engine is marked as need to restart.
- Search providers finished.
- Search engine emits finished signal, since all search providers
now are stopped.
- Clients doesn't have a way to know if the engine
actually finished searching the current search, or the previous
search that the client asked to stop. That might confuse clients
if they ask for results.
- Search engine restart the search providers without noticing the
client, that thinks that the latest search it started was finished
already.

So to fix this confusion, only report that the engine actually finished
if the engine is not going to restart the search providers.
In this way a client can start a batch of consecutive searches without
the risk of getting search finished signals from previous searches.
Clients now will always get the search-finished signal of the
latest search they started.
2015-07-22 13:02:04 +02:00
Carlos Soriano
192d2e2fcc operations: implement new design
Now operations reside in the toolbar, in form of a button with
a popover. In this way we avoid to have a nautilus window hanging
around for it.
When no nautilus window is open, the persistence handlers of nautilus
are enough. This use a notification if the server supports it or
a systray icon in case it doesn't.
2015-07-17 00:45:39 +02:00
Cosimo Cecchi
e816485d52 eel: remove unused EelEditableLabel
This was only used for in-place renaming inside the canvas container,
which does not exist any more. Remove it.
2015-05-23 12:14:32 -07:00
Cosimo Cecchi
cbc37d3ecd Don't mention FSF address
Use the website instead.

https://bugzilla.gnome.org/show_bug.cgi?id=721518
2014-02-17 14:41:43 -08:00
Daniel Mustieles
e314fbcc99 Updated FSF's address 2014-01-31 14:13:48 +01:00
Andrés G. Aragoneses
9473dd41c1 build: stop using INCLUDES, deprecated by automake 1.7
We already depend on automake 1.9, so using the replacement of
INCLUDES (AM_CPPFLAGS) won't hurt, especially now that it is
a warning shown by default since automake 1.13, as evidenced by
this build log of mine:

Makefile.am: installing './INSTALL'
eel/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
eel/Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
libnautilus-extension/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
libnautilus-private/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
nautilus-sendto-extension/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/Makefile.am:13: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
test/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')

Signed-off-by: Alexander Larsson <alexl@redhat.com>
2013-06-18 11:30:31 +02:00
Cosimo Cecchi
2b29ab5699 test-search-engine: test cancellation and NautilusSearchEngineModel
Add some code in the search engine test to verify cancellation and
NautilusSearchEngine model work properly.
2012-10-18 15:07:19 -04:00
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