From 75b0dc673536cde0a9f5d5441d7d2f55e656ac4f Mon Sep 17 00:00:00 2001 From: Ori Bernstein Date: Wed, 2 Jan 2008 07:34:58 +0100 Subject: [PATCH] Open the default page only if there is no session and no uri on the cli. We only want to open a default homepage or blank page if neither sessions are in use nor any uri is passed on the command line. --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 1edd038e..c5456db8 100755 --- a/src/main.c +++ b/src/main.c @@ -229,7 +229,7 @@ int main(int argc, char** argv) } g_free(uri); - if(config->startup != CONFIG_STARTUP_SESSION || xbel_folder_is_empty(_session)) + if(xbel_folder_is_empty(_session)) { XbelItem* item = xbel_bookmark_new(); if(config->startup == CONFIG_STARTUP_BLANK)