[almanah] core: Hide the main window while exiting to make things look faster
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [almanah] core: Hide the main window while exiting to make things look faster
- Date: Mon, 18 Apr 2011 17:33:15 +0000 (UTC)
commit de24162fe156d7f9e54ff30edd3eaa05cf273b32
Author: Philip Withnall <philip tecnocode co uk>
Date: Mon Apr 18 17:53:04 2011 +0100
core: Hide the main window while exiting to make things look faster
src/main-window.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/main-window.c b/src/main-window.c
index 38d0521..0ccd056 100644
--- a/src/main-window.c
+++ b/src/main-window.c
@@ -869,6 +869,9 @@ mw_print_activate_cb (GtkAction *action, AlmanahMainWindow *main_window)
void
mw_quit_activate_cb (GtkAction *action, AlmanahMainWindow *main_window)
{
+ /* Hide the window to make things look faster */
+ gtk_widget_hide (GTK_WIDGET (main_window));
+
save_current_entry (main_window);
gtk_widget_destroy (GTK_WIDGET (main_window));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]