Mercurial > pidgin.yaz
changeset 20093:df2961ce0714
Accept --display as an argument, to be passed to Gtk+.
Fixes #3133
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Mon, 17 Sep 2007 00:40:32 +0000 |
parents | 2ab6b55ffa3d |
children | f1ad6437a338 |
files | pidgin/gtkmain.c |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkmain.c Sun Sep 16 18:59:11 2007 +0000 +++ b/pidgin/gtkmain.c Mon Sep 17 00:40:32 2007 +0000 @@ -394,6 +394,9 @@ " -n, --nologin don't automatically login\n" " -l, --login[=NAME] automatically login (optional argument NAME specifies\n" " account(s) to use, separated by commas)\n" +#ifndef WIN32 + " --display=DISPLAY X display to use\n" +#endif " -v, --version display the current version and exit\n"), PIDGIN_NAME, VERSION, name); } @@ -481,6 +484,7 @@ {"nologin", no_argument, NULL, 'n'}, {"session", required_argument, NULL, 's'}, {"version", no_argument, NULL, 'v'}, + {"display", required_argument, NULL, 'D'}, {0, 0, 0, 0} }; @@ -626,6 +630,9 @@ case 'm': /* do not ensure single instance. */ opt_si = FALSE; break; + case 'D': /* --display */ + /* handled by gtk_init_check below */ + break; case '?': /* show terse help */ default: show_usage(argv[0], TRUE);