mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-26 04:35:39 +03:00
The telegram developers made great progress in making packaging Telegram Desktop a pleasant experience for Alpine Linux. - There is now a full tarball available that includes all gitmodules that before were all checked out via tarballs in the source= variable. - There is now support deciding whether to use system packages and linking it to the Telegram binary instead of statically linked checked out versions in the source tree. - The build system is now cmake, which is much better than the previous GYP meta build-system mess. Overall the change from the old to the new system reduced Alpine Linux's load by 834 lines.
48 lines
1.5 KiB
Diff
48 lines
1.5 KiB
Diff
From 675b5d645221bae9d9ad2cc7dd62d30a3b0f95c3 Mon Sep 17 00:00:00 2001
|
|
From: Julian Sparber <julian@sparber.net>
|
|
Date: Thu, 14 Nov 2019 17:36:33 +0100
|
|
Subject: [PATCH] Make it work on small sizes
|
|
|
|
---
|
|
Telegram/SourceFiles/settings/settings_main.cpp | 2 +-
|
|
Telegram/SourceFiles/window/window.style | 4 ++--
|
|
2 files changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/Telegram/SourceFiles/settings/settings_main.cpp b/Telegram/SourceFiles/settings/settings_main.cpp
|
|
index 18552902b..c2d8e7a4d 100644
|
|
--- a/Telegram/SourceFiles/settings/settings_main.cpp
|
|
+++ b/Telegram/SourceFiles/settings/settings_main.cpp
|
|
@@ -100,7 +100,7 @@ void SetupSections(
|
|
}
|
|
|
|
bool HasInterfaceScale() {
|
|
- return true;
|
|
+ return false;
|
|
}
|
|
|
|
void SetupInterfaceScale(
|
|
diff --git a/Telegram/SourceFiles/window/window.style b/Telegram/SourceFiles/window/window.style
|
|
index b3cd3ae83..29bf8bc3c 100644
|
|
--- a/Telegram/SourceFiles/window/window.style
|
|
+++ b/Telegram/SourceFiles/window/window.style
|
|
@@ -10,7 +10,7 @@ using "basic.style";
|
|
using "ui/widgets/widgets.style";
|
|
using "history/history.style";
|
|
|
|
-windowMinWidth: 380px;
|
|
+windowMinWidth: 360px;
|
|
windowMinHeight: 480px;
|
|
windowDefaultWidth: 800px;
|
|
windowDefaultHeight: 600px;
|
|
@@ -19,7 +19,7 @@ windowShadowShift: 1px;
|
|
|
|
columnMinimalWidthLeft: 260px;
|
|
columnMaximalWidthLeft: 540px;
|
|
-columnMinimalWidthMain: 380px;
|
|
+columnMinimalWidthMain: 360px;
|
|
columnDesiredWidthMain: 512px;
|
|
columnMinimalWidthThird: 292px;
|
|
columnMaximalWidthThird: 392px;
|
|
--
|
|
2.24.1
|
|
|