diff --git a/app/ui/main_app_window.py b/app/ui/main_app_window.py index 3f201f93..6d0cddbc 100644 --- a/app/ui/main_app_window.py +++ b/app/ui/main_app_window.py @@ -155,14 +155,8 @@ class MainAppWindow: self._services_model = builder.get_object("services_list_store") self._bouquets_model = builder.get_object("bouquets_tree_store") self._status_bar = builder.get_object("status_bar") - # self._player_frame = builder.get_object("player_frame") - # self._player_drawing_area = builder.get_object("player_drawing_area") - # # enabling events for the drawing area - # self._player_drawing_area.set_events(Gdk.ModifierType.BUTTON1_MASK) - # self._drawing_area_xid = None self._main_window_box = builder.get_object("main_window_box") - # self._fav_iptv_mode_popup_item = builder.get_object("fav_iptv_mode_popup_item") - self._profile_label = builder.get_object("profile_label") + self._header_bar = builder.get_object("header_bar") self._bq_name_label = builder.get_object("bq_name_label") self._ip_label = builder.get_object("ip_label") self._ip_label.set_text(self._options.get(self._profile).get("host")) @@ -1136,9 +1130,9 @@ class MainAppWindow: def update_profile_label(self): profile = Profile(self._profile) if profile is Profile.ENIGMA_2: - self._profile_label.set_text("Enigma2 v.{}".format(self.get_format_version())) + self._header_bar.set_subtitle("{} Enigma2 v.{}".format(get_message("Profile:"), self.get_format_version())) elif profile is Profile.NEUTRINO_MP: - self._profile_label.set_text("Neutrino-MP") + self._header_bar.set_subtitle("{} Neutrino-MP".format(get_message("Profile:"))) def get_format_version(self): return 5 if self._options.get(self._profile).get("v5_support", False) else 4 diff --git a/app/ui/main_window.glade b/app/ui/main_window.glade index e8d673e6..2f5f0f71 100644 --- a/app/ui/main_window.glade +++ b/app/ui/main_window.glade @@ -317,7 +317,7 @@ Author: Dmitriy Yefremov - + True False @@ -334,7 +334,7 @@ Author: Dmitriy Yefremov - + True False @@ -379,6 +379,12 @@ Author: Dmitriy Yefremov + + + True + False + + Import m3u @@ -400,6 +406,12 @@ Author: Dmitriy Yefremov + + + True + False + + Remove all unavailable @@ -668,6 +680,8 @@ Author: Dmitriy Yefremov True False + DemonEditor + Profile: 1 True @@ -858,70 +872,6 @@ Author: Dmitriy Yefremov - - - True - False - vertical - - - True - False - DemonEditor - - - - - - False - True - 0 - - - - - True - False - 2 - - - True - False - Profile: - - - - - - False - True - 0 - - - - - True - False - Enigma 2 v.4 - - - - - - False - True - 1 - - - - - False - False - 1 - - - - True @@ -1087,6 +1037,7 @@ Author: Dmitriy Yefremov False + 32 True True edit-find-symbolic diff --git a/app/ui/picons_dialog.glade b/app/ui/picons_dialog.glade index ea187745..02f25857 100644 --- a/app/ui/picons_dialog.glade +++ b/app/ui/picons_dialog.glade @@ -1,5 +1,5 @@ - + @@ -23,12 +23,16 @@ False Picons download tool False + True True emblem-photos dialog + + + - 320 + 570 False 2 2