2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 09:05:14 +00:00

Get rid of gtk open with dialog

Portal open with dialog works just fine and is a more universal solution... That allows to get rid of an additional process.
This commit is contained in:
Ilya Fedin
2021-08-25 10:03:05 +04:00
committed by John Preston
parent 2694cb76a7
commit 51df482571
12 changed files with 8 additions and 838 deletions

View File

@@ -15,16 +15,8 @@ public:
enum class Type {
Base,
Webview,
TDesktop,
};
static GtkIntegration *Instance();
void load(const QString &allowedBackends);
int exec(const QString &parentDBusName);
[[nodiscard]] bool showOpenWithDialog(const QString &filepath) const;
static QString AllowedBackends();
static int Exec(
@@ -35,13 +27,6 @@ public:
static void Start(Type type);
static void Autorestart(Type type);
private:
GtkIntegration();
~GtkIntegration();
class Private;
const std::unique_ptr<Private> _private;
};
} // namespace internal