[epiphany] ephy-session: use a better variable name for session recovery
- From: Xan Lopez <xan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-session: use a better variable name for session recovery
- Date: Mon, 10 Dec 2012 16:09:32 +0000 (UTC)
commit 04848e06477d3b99a78fe150957e94ab8566927b
Author: Xan Lopez <xan igalia com>
Date: Mon Dec 10 15:40:27 2012 +0100
ephy-session: use a better variable name for session recovery
We always recover the session now, so 'has_session_state' makes more
sense than 'crashed_session'.
src/ephy-session.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/ephy-session.c b/src/ephy-session.c
index bb58d38..024895a 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -207,7 +207,7 @@ session_command_autoresume (EphySession *session,
{
GFile *saved_session_file;
char *saved_session_file_path;
- gboolean crashed_session;
+ gboolean has_session_state;
EphyPrefsRestoreSessionPolicy policy;
EphyShell *shell;
@@ -216,7 +216,7 @@ session_command_autoresume (EphySession *session,
saved_session_file = get_session_file (SESSION_STATE);
saved_session_file_path = g_file_get_path (saved_session_file);
g_object_unref (saved_session_file);
- crashed_session = g_file_test (saved_session_file_path, G_FILE_TEST_EXISTS);
+ has_session_state = g_file_test (saved_session_file_path, G_FILE_TEST_EXISTS);
g_free (saved_session_file_path);
@@ -225,7 +225,7 @@ session_command_autoresume (EphySession *session,
shell = ephy_shell_get_default ();
- if (crashed_session == FALSE ||
+ if (has_session_state == FALSE ||
policy == EPHY_PREFS_RESTORE_SESSION_POLICY_NEVER)
{
/* If we are auto-resuming, and we never want to
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]