diff options
author | fiaxh <git@lightrise.org> | 2019-02-20 23:08:30 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2019-03-14 17:39:31 +0100 |
commit | 161e4c19862be0ea6572f7701d37acc1c16b8147 (patch) | |
tree | 99c79a52371dd7a1424617045ea849b8977b039f /main/src/ui/application.vala | |
parent | cc7b0aa7bd5b6599159f654fdd8a2fd111e16a3e (diff) | |
download | dino-161e4c19862be0ea6572f7701d37acc1c16b8147.tar.gz dino-161e4c19862be0ea6572f7701d37acc1c16b8147.zip |
Add non-CSD alternative for more windows
Diffstat (limited to 'main/src/ui/application.vala')
-rw-r--r-- | main/src/ui/application.vala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main/src/ui/application.vala b/main/src/ui/application.vala index e63caff8..132705cf 100644 --- a/main/src/ui/application.vala +++ b/main/src/ui/application.vala @@ -134,6 +134,10 @@ public class Dino.Ui.Application : Gtk.Application, Dino.Application { set_accels_for_action("app.add_conference", new string[]{"<Ctrl>G"}); } + public bool use_csd() { + return Environment.get_variable("GTK_CSD") != "0"; + } + private void show_accounts_window() { ManageAccounts.Dialog dialog = new ManageAccounts.Dialog(stream_interactor, db); dialog.set_transient_for(get_active_window()); |