diff options
author | portix <none@none> | 2012-08-27 02:17:17 +0200 |
---|---|---|
committer | portix <none@none> | 2012-08-27 02:17:17 +0200 |
commit | 1cf1686b8c65050aa4785bb80b3ee6b3c1f14108 (patch) | |
tree | 1647e2e5c7cbfe8ae4a2e85b4c4e083684458f57 /src | |
parent | 7fbea9b18e8f644a17cb2f5faefaeb7695002f4e (diff) | |
download | dwb-1cf1686b8c65050aa4785bb80b3ee6b3c1f14108.zip |
More information in dwb_version
Diffstat (limited to 'src')
-rw-r--r-- | src/application.c | 7 | ||||
-rw-r--r-- | src/dwb.c | 6 |
2 files changed, 9 insertions, 4 deletions
diff --git a/src/application.c b/src/application.c index 6de46750..bc705de8 100644 --- a/src/application.c +++ b/src/application.c @@ -165,9 +165,6 @@ dwb_application_local_command_line(GApplication *app, gchar ***argv, gint *exit_ if (m_opt_exe != NULL) argc_exe = g_strv_length(m_opt_exe); - dwb_init_vars(); - dwb_init_files(); - dwb_init_settings(); if (m_opt_list_sessions) { session_list(); return true; @@ -176,6 +173,10 @@ dwb_application_local_command_line(GApplication *app, gchar ***argv, gint *exit_ dwb_version(); return true; } + dwb_init_vars(); + dwb_init_files(); + dwb_init_settings(); + single_instance = GET_BOOL("single-instance"); if (m_opt_single || !single_instance) { g_application_set_flags(app, G_APPLICATION_NON_UNIQUE); @@ -4081,7 +4081,11 @@ dwb_parse_commands(const char *line) { void dwb_version() { - printf("%s %s, %s\n", NAME, VERSION, COPYRIGHT); + fprintf(stderr, " This is : "NAME"\n" + " Version : "VERSION"\n" + " Built : "__DATE__" "__TIME__"\n" + " Copyright : "COPYRIGHT"\n" + " License : "LICENSE"\n"); } /* MAIN {{{*/ int |