mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Get GApplication out of experimental settings
GApplication will always be used on Linux now. GNotification gets a toggle instead.
This commit is contained in:
@@ -77,6 +77,17 @@ QString TextWithPermanentSpoiler(const TextWithEntities &textWithEntities) {
|
||||
|
||||
} // namespace
|
||||
|
||||
const char kOptionGNotification[] = "gnotification";
|
||||
|
||||
base::options::toggle OptionGNotification({
|
||||
.id = kOptionGNotification,
|
||||
.name = "GNotification",
|
||||
.description = "Force enable GLib's GNotification."
|
||||
" When disabled, autodetect is used.",
|
||||
.scope = base::options::linux,
|
||||
.restartRequired = true,
|
||||
});
|
||||
|
||||
struct System::Waiter {
|
||||
NotificationInHistoryKey key;
|
||||
UserData *reactionSender = nullptr;
|
||||
|
Reference in New Issue
Block a user