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.
This commit is contained in:
Ori Bernstein 2008-01-02 07:34:58 +01:00 committed by Christian Dywan
parent 1b0b15f3de
commit 75b0dc6735

View file

@ -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)