Commit 30042f67 authored by Paolo Bacchilega's avatar Paolo Bacchilega

Revert "fr-new-archive-dialog: Do not fail if access::can-write is not set"

This reverts commit d18585e5.
Respect the hard code freeze.
parent 9829a70b
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment