mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Set the program name for --help-gtk.
This commit is contained in:
parent
6ecbb814e0
commit
b698e889ad
@ -319,6 +319,7 @@ Gnucash::Gnucash::configure_program_options (void)
|
||||
// for gtk's options. The options themselves are already parsed out by
|
||||
// gtk_init_check by the time this function is called though. So it really only
|
||||
// serves to be able to display a help message.
|
||||
g_set_prgname ("gnucash");
|
||||
auto context = g_option_context_new (m_tagline.c_str());
|
||||
auto gtk_options = gtk_get_option_group(FALSE);
|
||||
g_option_context_add_group (context, gtk_options);
|
||||
|
Loading…
Reference in New Issue
Block a user