diff --git a/app/ui/main_app_window.py b/app/ui/main_app_window.py index 168030c5..91978d96 100644 --- a/app/ui/main_app_window.py +++ b/app/ui/main_app_window.py @@ -134,7 +134,8 @@ class MainAppWindow: self.__bouquets_model = builder.get_object("bouquets_tree_store") self.__status_bar = builder.get_object("status_bar") self.__profile_label = builder.get_object("profile_label") - self.__status_bar.push(0, "Current IP: " + self.__options.get(self.__profile).get("host")) + self.__ip_label = builder.get_object("ip_label") + self.__ip_label.set_text(self.__options.get(self.__profile).get("host")) self.__profile_label.set_text("Enigma2 v.4" if Profile(self.__profile) is Profile.ENIGMA_2 else "Neutrino-MP") # dynamically active elements depending on the selected view self.__tool_elements = {k: builder.get_object(k) for k in self.__DYNAMIC_ELEMENTS} @@ -672,7 +673,7 @@ class MainAppWindow: response = show_settings_dialog(self.__main_window, self.__options) if response != Gtk.ResponseType.CANCEL: profile = self.__options.get("profile") - self.__status_bar.push(0, "Current IP: " + self.__options.get(profile).get("host")) + self.__ip_label.set_text(self.__options.get(profile).get("host")) if profile != self.__profile: self.__profile_label.set_text("Enigma 2 v.4" if Profile(profile) is Profile.ENIGMA_2 else "Neutrino-MP") self.__profile = profile diff --git a/app/ui/main_window.glade b/app/ui/main_window.glade index aa35c238..29017921 100644 --- a/app/ui/main_window.glade +++ b/app/ui/main_window.glade @@ -2172,7 +2172,7 @@ - + True False 2 @@ -2180,25 +2180,59 @@ False True - 2 5 - + + 24 True False - 10 - 10 - 2 True - + True False 2 - + + True + False + Current IP: + + + False + True + 0 + + + + + True + False + 127.0.0.1 + + + False + True + 1 + + + + + False + True + 5 + 0 + + + + + True + False + 2 + + True False Profile: @@ -2225,7 +2259,7 @@ False False - 2 + 1 @@ -2238,14 +2272,18 @@ False True - 3 + end + 2 + False True - 7 + 6 diff --git a/deb/usr/share/locale/ru/LC_MESSAGES/demon-editor.mo b/deb/usr/share/locale/ru/LC_MESSAGES/demon-editor.mo index f7131e5e..b3a5cab9 100644 Binary files a/deb/usr/share/locale/ru/LC_MESSAGES/demon-editor.mo and b/deb/usr/share/locale/ru/LC_MESSAGES/demon-editor.mo differ diff --git a/po/ru/demon-editor.mo b/po/ru/demon-editor.mo index f7131e5e..b3a5cab9 100644 Binary files a/po/ru/demon-editor.mo and b/po/ru/demon-editor.mo differ diff --git a/po/ru/demon-editor.po b/po/ru/demon-editor.po index c30b4d8d..40ed0862 100644 --- a/po/ru/demon-editor.po +++ b/po/ru/demon-editor.po @@ -40,6 +40,9 @@ msgstr "Поз." msgid "Num" msgstr "№" +msgid "Current IP:" +msgstr "Текущий IP:" + #: main_window.glade:261 msgid "Assign" msgstr "Привязать"