[gedit] "Save As" should be sensitive after a saving error
- From: Paolo Borelli <pborelli src gnome org>
- To: svn-commits-list gnome org
- Subject: [gedit] "Save As" should be sensitive after a saving error
- Date: Sat, 18 Jul 2009 20:19:35 +0000 (UTC)
commit 578301e7cd8a781f54cd0a07c80429b36d726bed
Author: Paolo Borelli <porelli gnome org>
Date: Sat Jul 18 22:18:50 2009 +0200
"Save As" should be sensitive after a saving error
Let the user select an alternative location if saving fails. Bug #576094.
gedit/gedit-window.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gedit/gedit-window.c b/gedit/gedit-window.c
index cb0115a..4c32113 100644
--- a/gedit/gedit-window.c
+++ b/gedit/gedit-window.c
@@ -693,6 +693,7 @@ set_sensitivity_according_to_tab (GeditWindow *window,
"FileSaveAs");
gtk_action_set_sensitive (action,
(state_normal ||
+ (state == GEDIT_TAB_STATE_SAVING_ERROR) ||
(state == GEDIT_TAB_STATE_EXTERNALLY_MODIFIED_NOTIFICATION) ||
(state == GEDIT_TAB_STATE_SHOWING_PRINT_PREVIEW)) &&
!(lockdown & GEDIT_LOCKDOWN_SAVE_TO_DISK));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]