Use APPID instead of argv[0] for gnome-program-init

This commit is contained in:
Jonathan Blandford 2002-05-26 16:11:37 +00:00
parent 73be46711d
commit 6985207425
22 changed files with 68 additions and 13 deletions

View file

@ -1,3 +1,7 @@
Sun May 26 11:30:25 2002 Jonathan Blandford <jrb@gnome.org>
* gnome-keyboard-properties.c (main): use APPID instead of argv[0]
2002-05-16 jacob berkman <jacob@ximian.com>
* gnome-keyboard-properties.c (get_legacy_settings): don't copy

View file

@ -372,7 +372,7 @@ main (int argc, char **argv)
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
gnome_program_init (argv[0], VERSION, LIBGNOMEUI_MODULE, argc, argv,
gnome_program_init ("gnome-keyboard-properties", VERSION, LIBGNOMEUI_MODULE, argc, argv,
GNOME_PARAM_POPT_TABLE, cap_options,
GNOME_PARAM_APP_DATADIR, GNOMECC_DATA_DIR,
NULL);