mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Set glib's application name and prgname
This commit is contained in:
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user