projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a18c67c
)
* Removed a duplicated save_state call
author
Sergio Villar Senin
<svillar@igalia.com>
Fri, 7 Sep 2007 07:32:10 +0000
(07:32 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Fri, 7 Sep 2007 07:32:10 +0000
(07:32 +0000)
pmo-trunk-r3233
src/widgets/modest-window-mgr.c
patch
|
blob
|
history
diff --git
a/src/widgets/modest-window-mgr.c
b/src/widgets/modest-window-mgr.c
index
d97f8db
..
fa32586
100644
(file)
--- a/
src/widgets/modest-window-mgr.c
+++ b/
src/widgets/modest-window-mgr.c
@@
-531,17
+531,11
@@
on_window_destroy (ModestWindow *window,
_("mcen_nc_no_email_message_modified_save_changes"));
/* Save to drafts */
if (response != GTK_RESPONSE_CANCEL)
_("mcen_nc_no_email_message_modified_save_changes"));
/* Save to drafts */
if (response != GTK_RESPONSE_CANCEL)
- modest_ui_actions_on_save_to_drafts (NULL, MODEST_MSG_EDIT_WINDOW (window));
-
- }
+ modest_ui_actions_on_save_to_drafts (NULL, MODEST_MSG_EDIT_WINDOW (window));
+ }
}
}
}
}
- /* Save configuration state (TODO: why edit window does not require this function ?) */
- if (!MODEST_IS_MSG_EDIT_WINDOW (window))
- modest_window_save_state (MODEST_WINDOW(window));
-
-
/* Unregister window */
modest_window_mgr_unregister_window (self, window);
/* Unregister window */
modest_window_mgr_unregister_window (self, window);