diff options
author | Alexander Larsson <alexl@redhat.com> | 2008-02-13 12:22:39 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2008-02-13 12:22:39 +0000 |
commit | 454b224ec78d740ae46673869f22ce1a7294c7db (patch) | |
tree | 7b229c9e8a2da61cf424de7b27d5c080b421ddd5 /libnautilus-private/nautilus-program-choosing.h | |
parent | 13b72557feb3128f8efdcec8cc9abc82479a0928 (diff) | |
download | nautilus-454b224ec78d740ae46673869f22ce1a7294c7db.tar.gz |
Add nautilus_file_is_launcher()
2008-02-13 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-file.[ch]:
* libnautilus-private/nautilus-file-private.h:
Add nautilus_file_is_launcher()
* libnautilus-private/nautilus-directory-async.c:
* libnautilus-private/nautilus-dnd.c:
* libnautilus-private/nautilus-link.[ch]
* libnautilus-private/nautilus-mime-actions.c:
* libnautilus-private/nautilus-program-choosing.[ch]:
* src/file-manager/fm-directory-view.c:
* src/file-manager/fm-tree-view.c:
Remove weird desktop-file: and command: hacks, and
replace with usage and implementation of
nautilus_file_is_launcher().
This fixes some problems where the old desktop-file uri
was interpreted as an actual file.
svn path=/trunk/; revision=13734
Diffstat (limited to 'libnautilus-private/nautilus-program-choosing.h')
-rw-r--r-- | libnautilus-private/nautilus-program-choosing.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libnautilus-private/nautilus-program-choosing.h b/libnautilus-private/nautilus-program-choosing.h index a1018d39d..cb3f73058 100644 --- a/libnautilus-private/nautilus-program-choosing.h +++ b/libnautilus-private/nautilus-program-choosing.h @@ -30,9 +30,6 @@ #include <gio/gio.h> #include <libnautilus-private/nautilus-file.h> -#define NAUTILUS_COMMAND_SPECIFIER "command:" -#define NAUTILUS_DESKTOP_COMMAND_SPECIFIER "desktop-file:" - typedef void (*NautilusApplicationChoiceCallback) (GAppInfo *application, gpointer callback_data); |