From a43ac0de02027fe87dcfa3206227ece8862814b0 Mon Sep 17 00:00:00 2001 From: DYefremov Date: Sat, 26 Oct 2019 15:01:23 +0300 Subject: [PATCH] added bottom toolbar --- app/ui/main_app_window.py | 1 + app/ui/main_window.glade | 186 +++++++++++++++++++++++++++++++++++++- 2 files changed, 182 insertions(+), 5 deletions(-) diff --git a/app/ui/main_app_window.py b/app/ui/main_app_window.py index afd7a49f..4f9f7d55 100644 --- a/app/ui/main_app_window.py +++ b/app/ui/main_app_window.py @@ -200,6 +200,7 @@ class Application(Gtk.Application): self._app_info_box = builder.get_object("app_info_box") self._app_info_box.bind_property("visible", self._status_bar_box, "visible", 4) self._app_info_box.bind_property("visible", self._main_data_box, "visible", 4) + self._app_info_box.bind_property("visible", builder.get_object("toolbar_extra_item"), "visible", 4) # Status bar self._ip_label = builder.get_object("ip_label") self._ip_label.set_text(self._options.get(self._profile).get("host")) diff --git a/app/ui/main_window.glade b/app/ui/main_window.glade index 6f69cee8..a0437960 100644 --- a/app/ui/main_window.glade +++ b/app/ui/main_window.glade @@ -2047,13 +2047,14 @@ Author: Dmitriy Yefremov True True - 0 + 2 True - True + False + True vertical @@ -2081,7 +2082,7 @@ Author: Dmitriy Yefremov - False + True True 1 @@ -2105,7 +2106,7 @@ Author: Dmitriy Yefremov False True - 2 + 5 @@ -2287,7 +2288,182 @@ Author: Dmitriy Yefremov False True end - 1 + 3 + + + + + True + True + center + center + + + True + False + Open + app.on_data_open + Open + True + gtk-open + + + + False + True + + + + + True + False + + + False + False + + + + + True + False + FTP-transfer + app.on_download + FTP-transfer + True + gtk-connect + + + False + True + + + + + False + + + True + False + + + True + False + Save + app.on_data_save + Save + True + gtk-save + + + + False + True + 0 + + + + + True + False + + + False + True + 1 + + + + + True + False + Search + win.search + Search + True + gtk-find + + + False + True + 2 + + + + + True + False + Filter + win.filter + Filter + True + gtk-spell-check + + + False + True + 3 + + + + + True + False + + + False + True + 4 + + + + + True + False + Parent lock On/Off Ctrl + L + app.on_locked + Parent lock + True + gtk-dialog-authentication + + + + False + True + 5 + + + + + True + False + Hide/Skip On/Off Ctrl + H + app.on_hide + Hide/Skip + True + gtk-jump-to + + + + False + True + 6 + + + + + + + False + False + + + + + False + True + end + 3