From b698e889add7bf0e1dd91e42e60f7b67bd2b5723 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Sat, 26 Sep 2020 12:23:07 -0700 Subject: [PATCH] Set the program name for --help-gtk. --- gnucash/gnucash.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gnucash/gnucash.cpp b/gnucash/gnucash.cpp index 4bcf004d7f..fe8d667afa 100644 --- a/gnucash/gnucash.cpp +++ b/gnucash/gnucash.cpp @@ -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);