diff options
author | TingPing <tngpng@gmail.com> | 2013-07-01 14:28:26 -0400 |
---|---|---|
committer | TingPing <tngpng@gmail.com> | 2013-07-01 14:28:26 -0400 |
commit | 932bfa34824883927cf3d9fbf248520ab06eab41 (patch) | |
tree | e669fc94194f48691ec00cc5ca1dab6d76790ac1 /src | |
parent | 5de5d6d00b6119c04a6e75e09fcf958ba375f086 (diff) |
Don't use popup dialogs for help
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-gtk/fe-gtk.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/fe-gtk/fe-gtk.c b/src/fe-gtk/fe-gtk.c index 6c3f1010..9793d917 100644 --- a/src/fe-gtk/fe-gtk.c +++ b/src/fe-gtk/fe-gtk.c @@ -218,10 +218,14 @@ fe_args (int argc, char *argv[]) if (arg_show_version) { +#ifdef WIN32 buffer = g_strdup_printf (DISPLAY_NAME " " PACKAGE_VERSION "\n"); gtk_init (&argc, &argv); create_msg_dialog ("Version Information", buffer); g_free (buffer); +#else + printf (PACKAGE_NAME" "PACKAGE_VERSION"\n"); +#endif return 0; } @@ -229,8 +233,12 @@ fe_args (int argc, char *argv[]) if (arg_show_autoload) { buffer = g_strdup_printf ("%s" G_DIR_SEPARATOR_S "addons\n", get_xdir ()); +#ifdef WIN32 gtk_init (&argc, &argv); create_msg_dialog ("Plugin/Script Auto-load Directory", buffer); +#else + printf (buffer); +#endif g_free (buffer); return 0; @@ -239,8 +247,12 @@ fe_args (int argc, char *argv[]) if (arg_show_config) { buffer = g_strdup_printf ("%s" G_DIR_SEPARATOR_S "\n", get_xdir ()); +#ifdef WIN32 gtk_init (&argc, &argv); create_msg_dialog ("User Config Directory", buffer); +#else + printf (buffer); +#endif g_free (buffer); return 0; |