diff options
author | udf | 2021-02-14 14:39:13 +0200 |
---|---|---|
committer | udf | 2021-02-14 14:39:13 +0200 |
commit | 8bdf417cff0c51b8e83f73eac07ef7634001c2d5 (patch) | |
tree | 4eb226e95fc697ffc5b33f3effca80af0223a141 /force_gtk_integration.patch | |
parent | 3b7a5bfec45f76afcd0aa13fd45741e0f8fbfa11 (diff) | |
download | aur-telegram-desktop-udf-patched.tar.gz |
Update to version 2.5.8
Diffstat (limited to 'force_gtk_integration.patch')
-rw-r--r-- | force_gtk_integration.patch | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/force_gtk_integration.patch b/force_gtk_integration.patch index d6db92459ab3..3b276e463b2b 100644 --- a/force_gtk_integration.patch +++ b/force_gtk_integration.patch @@ -1,15 +1,14 @@ Description: Forces GTK integration so the GTK file picker is always used. diff --git a/Telegram/SourceFiles/platform/linux/specific_linux.cpp b/Telegram/SourceFiles/platform/linux/specific_linux.cpp -index 340afda80..d94f5cb03 100644 +index 6f2acd9..e5764b4 100644 --- a/Telegram/SourceFiles/platform/linux/specific_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/specific_linux.cpp -@@ -310,6 +310,8 @@ bool UseGtkIntegration() { +@@ -573,6 +573,7 @@ bool IsStaticBinary() { } bool IsGtkIntegrationForced() { + return true; -+ - #ifndef TDESKTOP_DISABLE_GTK_INTEGRATION static const auto Result = [&] { - return PlatformThemes.contains(qstr("gtk3"), Qt::CaseInsensitive) + if (!GtkIntegration::Instance()) { + return false; |