mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 15:43:55 +02:00
Set glib's application name and prgname
This commit is contained in:
parent
bc82cdc3b3
commit
b4b80822c8
1 changed files with 3 additions and 0 deletions
|
@ -593,6 +593,9 @@ void start() {
|
||||||
Glib::init();
|
Glib::init();
|
||||||
Gio::init();
|
Gio::init();
|
||||||
|
|
||||||
|
Glib::set_prgname(cExeName().toStdString());
|
||||||
|
Glib::set_application_name(std::string(AppName));
|
||||||
|
|
||||||
if (const auto integration = BaseGtkIntegration::Instance()) {
|
if (const auto integration = BaseGtkIntegration::Instance()) {
|
||||||
integration->prepareEnvironment();
|
integration->prepareEnvironment();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue