diff options
author | Carlos Soriano <csoriano@gnome.org> | 2016-03-31 00:20:11 +0200 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2016-04-14 10:35:16 +0200 |
commit | cc31a95fd8411ec495e3a4c62e0788c50535e3ec (patch) | |
tree | 072cf784a7021db591c46d76f22e0b9bb7dc2356 /src/nautilus-mime-actions.h | |
parent | b639a6dd378071d48ebe26bc33d758726bd62ff3 (diff) | |
download | nautilus-cc31a95fd8411ec495e3a4c62e0788c50535e3ec.tar.gz |
mime-actions: move opens_in_view to file
And allow overriding of subclasses.
Nautilus mime actions file currently uses the file as parameter, as if
it was part of the nautilus file class.
However it's hosted in a different file, even though we need to special
case some subclasses of nautilus file for its management.
imho, this code design is wrong, since it defeats the purpose of OOP.
So move it to the nautilus file, allow overriding, and override this
vfunc in the subclasses that need it, like the desktop-icon.
https://bugzilla.gnome.org/show_bug.cgi?id=712620
Diffstat (limited to 'src/nautilus-mime-actions.h')
-rw-r--r-- | src/nautilus-mime-actions.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nautilus-mime-actions.h b/src/nautilus-mime-actions.h index 72c782a26..0349c21c0 100644 --- a/src/nautilus-mime-actions.h +++ b/src/nautilus-mime-actions.h @@ -37,7 +37,6 @@ GList * nautilus_mime_get_applications_for_file (Nauti GAppInfo * nautilus_mime_get_default_application_for_files (GList *files); -gboolean nautilus_mime_file_opens_in_view (NautilusFile *file); gboolean nautilus_mime_file_opens_in_external_app (NautilusFile *file); gboolean nautilus_mime_file_launches (NautilusFile *file); void nautilus_mime_activate_files (GtkWindow *parent_window, |