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:
parent
1b0b15f3de
commit
75b0dc6735
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ int main(int argc, char** argv)
|
||||||
}
|
}
|
||||||
g_free(uri);
|
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();
|
XbelItem* item = xbel_bookmark_new();
|
||||||
if(config->startup == CONFIG_STARTUP_BLANK)
|
if(config->startup == CONFIG_STARTUP_BLANK)
|
||||||
|
|
Loading…
Reference in a new issue