mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-26 12:18:01 +00:00
27 lines
740 B
C++
27 lines
740 B
C++
|
/*
|
||
|
This file is part of Telegram Desktop,
|
||
|
the official desktop application for the Telegram messaging service.
|
||
|
|
||
|
For license and copyright information please follow this link:
|
||
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||
|
*/
|
||
|
#include "platform/platform_specific.h"
|
||
|
|
||
|
#include "base/options.h"
|
||
|
|
||
|
namespace Platform {
|
||
|
|
||
|
const char kOptionGApplication[] = "gapplication";
|
||
|
|
||
|
base::options::toggle OptionGApplication({
|
||
|
.id = kOptionGApplication,
|
||
|
.name = "GApplication",
|
||
|
.description = "Force enable GNOME's GApplication and GNotification."
|
||
|
" This changes notification behavior to be native to GNOME."
|
||
|
" When disabled, autodetect is used.",
|
||
|
.scope = base::options::linux,
|
||
|
.restartRequired = true,
|
||
|
});
|
||
|
|
||
|
} // namespace Platform
|