aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-shell.c
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-03-29 01:16:28 +0800
committerXan Lopez <xan@igalia.com>2012-03-29 01:19:55 +0800
commitf1c478dc347b8e59dab6e4d23095b44c33515be7 (patch)
tree0c45e4d11b4a74fb0ad302609618d7b71b93b2c4 /src/ephy-shell.c
parentf10d47f6e340ae8192b1d37013b3a26e9ddff6be (diff)
downloadgsoc2013-epiphany-f1c478dc347b8e59dab6e4d23095b44c33515be7.tar
gsoc2013-epiphany-f1c478dc347b8e59dab6e4d23095b44c33515be7.tar.gz
gsoc2013-epiphany-f1c478dc347b8e59dab6e4d23095b44c33515be7.tar.bz2
gsoc2013-epiphany-f1c478dc347b8e59dab6e4d23095b44c33515be7.tar.lz
gsoc2013-epiphany-f1c478dc347b8e59dab6e4d23095b44c33515be7.tar.xz
gsoc2013-epiphany-f1c478dc347b8e59dab6e4d23095b44c33515be7.tar.zst
gsoc2013-epiphany-f1c478dc347b8e59dab6e4d23095b44c33515be7.zip
ephy-shell: save the session state on Quit
It will be automatically restored on startup.
Diffstat (limited to 'src/ephy-shell.c')
-rw-r--r--src/ephy-shell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 3e8450c9a..51135e8f0 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 ());
}