[file-roller] Revert "fr-new-archive-dialog: Do not fail if access::can-write is not set"
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller] Revert "fr-new-archive-dialog: Do not fail if access::can-write is not set"
- Date: Sun, 18 Sep 2016 07:45:51 +0000 (UTC)
commit 30042f67c0d88c4ce47aaf5657f161e43d6726f2
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Sep 18 09:38:18 2016 +0200
Revert "fr-new-archive-dialog: Do not fail if access::can-write is not set"
This reverts commit d18585e5176c4e8aeb5b9d1122543b7024da9e4c.
Respect the hard code freeze.
src/fr-new-archive-dialog.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/fr-new-archive-dialog.c b/src/fr-new-archive-dialog.c
index 594bf22..46dc930 100644
--- a/src/fr-new-archive-dialog.c
+++ b/src/fr-new-archive-dialog.c
@@ -425,8 +425,7 @@ fr_new_archive_dialog_get_file (FrNewArchiveDialog *self,
return NULL;
}
- if (g_file_info_has_attribute (parent_info, G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE) &&
- ! g_file_info_get_attribute_boolean (parent_info,
G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE)) {
+ if (! g_file_info_get_attribute_boolean (parent_info, G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE)) {
dialog = _gtk_error_dialog_new (GTK_WINDOW (self),
GTK_DIALOG_MODAL,
NULL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]