diff options
Diffstat (limited to 'libcaja-private')
-rw-r--r-- | libcaja-private/caja-file-dnd.c | 2 | ||||
-rw-r--r-- | libcaja-private/caja-file-utilities.c | 4 | ||||
-rw-r--r-- | libcaja-private/caja-file-utilities.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/libcaja-private/caja-file-dnd.c b/libcaja-private/caja-file-dnd.c index 06a61daf..9996c0c8 100644 --- a/libcaja-private/caja-file-dnd.c +++ b/libcaja-private/caja-file-dnd.c @@ -65,7 +65,7 @@ caja_drag_can_accept_files (CajaFile *drop_target_item) return TRUE; } - if (caja_is_file_roller_installed () && + if (caja_is_engrampa_installed () && caja_file_is_archive (drop_target_item)) { return TRUE; diff --git a/libcaja-private/caja-file-utilities.c b/libcaja-private/caja-file-utilities.c index 6c9a7de1..bb942c99 100644 --- a/libcaja-private/caja-file-utilities.c +++ b/libcaja-private/caja-file-utilities.c @@ -1103,13 +1103,13 @@ caja_find_file_insensitive_next (GFile *parent, const gchar *name) } gboolean -caja_is_file_roller_installed (void) +caja_is_engrampa_installed (void) { static int installed = - 1; if (installed < 0) { - if (g_find_program_in_path ("file-roller")) + if (g_find_program_in_path ("engrampa")) { installed = 1; } diff --git a/libcaja-private/caja-file-utilities.h b/libcaja-private/caja-file-utilities.h index 2e2a5746..77946eb0 100644 --- a/libcaja-private/caja-file-utilities.h +++ b/libcaja-private/caja-file-utilities.h @@ -81,7 +81,7 @@ char * caja_pixmap_file (const char *partial_path); /* Locate a file in either the uers directory or the datadir. */ char * caja_get_data_file_path (const char *partial_path); -gboolean caja_is_file_roller_installed (void); +gboolean caja_is_engrampa_installed (void); /* Inhibit/Uninhibit MATE Power Manager */ int caja_inhibit_power_manager (const char *message) G_GNUC_WARN_UNUSED_RESULT; |