[epiphany] ephy-shell: save the session state on Quit



commit f1c478dc347b8e59dab6e4d23095b44c33515be7
Author: Xan Lopez <xan igalia com>
Date:   Wed Mar 28 19:16:28 2012 +0200

    ephy-shell: save the session state on Quit
    
    It will be automatically restored on startup.

 src/ephy-shell.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 3e8450c..51135e8 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -246,6 +246,7 @@ quit_application (GSimpleAction *action,
                   GVariant *parameter,
                   gpointer user_data)
 {
+  ephy_session_close (EPHY_SESSION (ephy_shell_get_session (ephy_shell)));
   g_application_quit (g_application_get_default ());
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]