diff options
author | Frank Worsley <fworsley@shaw.ca> | 2002-06-25 19:32:12 +0000 |
---|---|---|
committer | Frank Worsley <fworsley@src.gnome.org> | 2002-06-25 19:32:12 +0000 |
commit | f0a1aa5778df582c6335af70f954991d9d8f8d1d (patch) | |
tree | f43979e2ec6df2cd92ba94c7cce9aa4b560d1b45 /libnautilus-private/nautilus-link-historical.c | |
parent | cb4d4395fa73d5323dd65efa79ad48b96a915a13 (diff) | |
download | nautilus-f0a1aa5778df582c6335af70f954991d9d8f8d1d.tar.gz |
implement viewing/opening and executing of files for the tree view
2002-06-25 Frank Worsley <fworsley@shaw.ca>
* components/tree/nautilus-tree-view.c:
(got_activation_uri_callback):
implement viewing/opening and executing of files
for the tree view
* libnautilus-private/nautilus-dnd.c:
* libnautilus-private/nautilus-link-desktop-file.c:
* libnautilus-private/nautilus-link-historical.c:
updated for new desktop-file: command specifier to allow
proper launching of desktop files
* libnautilus-private/nautilus-program-choosing.c:
(nautilus_launch_desktop_file):
new function to launch desktop files with proper exec
parameter support
* libnautilus-private/nautilus-program-choosing.h:
define command specifiers in one place
* src/file-manager/fm-directory-view.c:
(get_executable_text_file_action):
add "run in terminal" button, partial fix for #41773
(activate_callback), (fm_directory_view_move_copy_items):
support proper launching of and dnd to desktop files
Diffstat (limited to 'libnautilus-private/nautilus-link-historical.c')
-rw-r--r-- | libnautilus-private/nautilus-link-historical.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libnautilus-private/nautilus-link-historical.c b/libnautilus-private/nautilus-link-historical.c index ae12a0a4e..f9f6d34b9 100644 --- a/libnautilus-private/nautilus-link-historical.c +++ b/libnautilus-private/nautilus-link-historical.c @@ -32,6 +32,7 @@ #include "nautilus-file-utilities.h" #include "nautilus-global-preferences.h" #include "nautilus-metadata.h" +#include "nautilus-program-choosing.h" #include <eel/eel-glib-extensions.h> #include <eel/eel-gnome-extensions.h> #include <eel/eel-preferences.h> @@ -406,10 +407,10 @@ nautilus_link_historical_local_create_from_gnome_entry (GnomeDesktopItem *entry, case GNOME_DESKTOP_ITEM_TYPE_APPLICATION: if (gnome_desktop_item_get_boolean (entry, GNOME_DESKTOP_ITEM_TERMINAL)) { terminal_command = eel_gnome_make_terminal_command (arguments); - launch_string = g_strconcat ("command:", terminal_command, NULL); + launch_string = g_strconcat (NAUTILUS_COMMAND_SPECIFIER, terminal_command, NULL); g_free (terminal_command); } else { - launch_string = g_strconcat ("command:", arguments, NULL); + launch_string = g_strconcat (NAUTILUS_COMMAND_SPECIFIER, arguments, NULL); } break; case GNOME_DESKTOP_ITEM_TYPE_LINK: |