diff --git a/app/ui/backup_dialog.glade b/app/ui/backup_dialog.glade
index 3102e3a3..abe0654f 100644
--- a/app/ui/backup_dialog.glade
+++ b/app/ui/backup_dialog.glade
@@ -33,6 +33,12 @@ Author: Dmitriy Yefremov
+
+
+
+
+
@@ -108,7 +107,6 @@ Author: Dmitriy Yefremov
True
True
True
- True
diff --git a/app/ui/download_dialog.glade b/app/ui/download_dialog.glade
index bd551a36..4eeac4ed 100755
--- a/app/ui/download_dialog.glade
+++ b/app/ui/download_dialog.glade
@@ -33,6 +33,18 @@ Author: Dmitriy Yefremov
+
+ True
+ False
+ network-receive-symbolic
+ 1
+
+
+ True
+ False
+ network-transmit-symbolic
+ 1
+
500
False
@@ -601,6 +613,8 @@ Author: Dmitriy Yefremov
True
Receive
center
+ download_image
+ True
@@ -617,6 +631,8 @@ Author: Dmitriy Yefremov
True
Send
center
+ send_image
+ True
diff --git a/app/ui/epg_dialog.glade b/app/ui/epg_dialog.glade
index f8ca713c..8e33f134 100644
--- a/app/ui/epg_dialog.glade
+++ b/app/ui/epg_dialog.glade
@@ -33,6 +33,18 @@ Author: Dmitriy Yefremov
+
+ True
+ False
+ checkmark
+ 1
+
+
+ True
+ False
+ edit-select-all-symbolic
+ 1
+
@@ -75,10 +87,16 @@ Author: Dmitriy Yefremov
copy_image
False
-
+
+
+ True
+ False
+ edit-find-replace-symbolic
+ 1
+
True
False
@@ -100,7 +118,7 @@ Author: Dmitriy Yefremov
insert_link_image
False
-
+
@@ -130,6 +148,12 @@ Author: Dmitriy Yefremov
+
+ True
+ False
+ document-save-as-symbolic
+ 1
+
@@ -559,58 +583,104 @@ Author: Dmitriy Yefremov
+
+ True
+ False
+ emblem-synchronizing-symbolic
+ 1
+
480
320
False
+ EPG
True
center-on-parent
480
- 240
+ 320
True
- gtk-index
+ True
True
center
-
-
@@ -1221,35 +1245,6 @@ Author: Dmitriy Yefremov
close_config_list_button
-
- True
- False
- edit-undo
-
-
@@ -1279,9 +1274,21 @@ Author: Dmitriy Yefremov
+
+ True
+ False
+ network-receive-symbolic
+ 1
+
+
+ True
+ False
+ document-revert-symbolic-rtl
+
480
False
+ YouTube
False
True
center-on-parent
@@ -1290,82 +1297,110 @@ Author: Dmitriy Yefremov
True
True
center
-
-
-
True
False
vertical
+
+
+ True
+ False
+ 15
+ 15
+ 5
+ 5
+
+
+ Receive
+ True
+ False
+ True
+ True
+ Receive
+ center
+ yt_receive_image
+ True
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ Playlist import
+
+
+ False
+ True
+ 2
+
+
+
+
+ True
+ False
+ expand
+
+
+ False
+ Desired video quality
+ center
+ yt_quality_liststore
+ 0
+ 0
+
+
+
+ 0
+
+
+
+
+ True
+ True
+ 2
+
+
+
+
+ Import
+ True
+ True
+ Import
+ center
+ yt_import_image
+ True
+
+
+
+
+ True
+ True
+ 2
+
+
+
+
+ False
+ True
+ end
+ 1
+
+
+
+
+ False
+ True
+ 0
+
+
True
@@ -1380,8 +1415,9 @@ Author: Dmitriy Yefremov
+ False
True
- 0
+ 1
@@ -1478,7 +1514,7 @@ Author: Dmitriy Yefremov
- 24
+ 26
False
5
10
@@ -1492,7 +1528,8 @@ Author: Dmitriy Yefremov
True
False
- gtk-properties
+ 5
+ document-properties-symbolic
False
diff --git a/app/ui/iptv.py b/app/ui/iptv.py
index d290be52..ad64688f 100644
--- a/app/ui/iptv.py
+++ b/app/ui/iptv.py
@@ -557,7 +557,8 @@ class YtListImportDialog:
builder.set_translation_domain(TEXT_DOMAIN)
builder.add_objects_from_string(get_dialogs_string(_UI_PATH).format(use_header=IS_GNOME_SESSION),
("yt_import_dialog_window", "yt_liststore", "yt_quality_liststore",
- "yt_popup_menu", "remove_selection_image"))
+ "yt_popup_menu", "remove_selection_image", "yt_receive_image",
+ "yt_import_image"))
builder.connect_signals(handlers)
self._dialog = builder.get_object("yt_import_dialog_window")
diff --git a/app/ui/main_app_window.py b/app/ui/main_app_window.py
index 4a270419..54942a1a 100644
--- a/app/ui/main_app_window.py
+++ b/app/ui/main_app_window.py
@@ -16,7 +16,7 @@ from app.eparser.ecommons import CAS, Flag, BouquetService
from app.eparser.enigma.bouquets import BqServiceType
from app.eparser.iptv import export_to_m3u
from app.eparser.neutrino.bouquets import BqType
-from app.settings import SettingsType, Settings, SettingsException, PlayStreamsMode, IS_DARWIN
+from app.settings import SettingsType, Settings, SettingsException, PlayStreamsMode
from app.tools.media import Player, Recorder, HttpPlayer
from app.ui.epg_dialog import EpgDialog
from app.ui.transmitter import LinksTransmitter
@@ -216,8 +216,8 @@ 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", builder.get_object("main_paned"), "visible", 4)
- self._app_info_box.bind_property("visible", builder.get_object("toolbar_extra_item"), "visible", 4)
- self._app_info_box.bind_property("visible", builder.get_object("toolbar_tools_item"), "visible", 4)
+ self._app_info_box.bind_property("visible", builder.get_object("toolbar_extra_box"), "visible", 4)
+ self._app_info_box.bind_property("visible", builder.get_object("toolbar_tools_box"), "visible", 4)
self._app_info_box.bind_property("visible", builder.get_object("save_tool_button"), "visible", 4)
# Status bar
self._profile_combo_box = builder.get_object("profile_combo_box")
diff --git a/app/ui/main_window.glade b/app/ui/main_window.glade
index 2d0ace7c..2dde666c 100644
--- a/app/ui/main_window.glade
+++ b/app/ui/main_window.glade
@@ -28,12 +28,121 @@ Author: Dmitriy Yefremov
-->
-
-
-
+
+
+
+ True
+ False
+ 5
+ bookmark-new-symbolic
+ 1
+
+
+ True
+ False
+ 5
+ document-revert-symbolic
+ 1
+
+
@@ -48,61 +157,6 @@ Author: Dmitriy Yefremov
-
- True
- False
- gtk-clear
-
-
- True
- False
- gtk-clear
-
-
- True
- False
- gtk-copy
-
-
- True
- False
- gtk-copy
-
-
- True
- False
- insert-link
-
-
- True
- False
- gtk-edit
-
-
- True
- False
- gtk-revert-to-saved
-
-
- True
- False
- gtk-index
-
-
- True
- False
- gtk-save-as
-
-
-
- True
- False
- gtk-properties
-
@@ -131,6 +185,316 @@ Author: Dmitriy Yefremov
+
+
+ True
+ False
+ edit-find-replace-symbolic
+ 1
+
@@ -174,444 +538,57 @@ Author: Dmitriy Yefremov
True
False
- gtk-find
+ edit-find-symbolic
+ 1
-
+
True
False
- gtk-file
+ network-transmit-receive-symbolic
+ 1
-
-
- True
- False
- gtk-connect
-
-
diff --git a/app/ui/picons_manager.glade b/app/ui/picons_manager.glade
index aa946e4d..cb196d63 100644
--- a/app/ui/picons_manager.glade
+++ b/app/ui/picons_manager.glade
@@ -28,11 +28,33 @@ Author: Dmitriy Yefremov
-->
-
+
+ True
+ False
+ cancel
+
+
+ True
+ False
+ edit-redo-symbolic
+ 1
+
+
+ True
+ False
+ edit-find-replace-symbolic
+ 1
+
+
+ True
+ False
+ network-server-symbolic
+ 1
+
@@ -67,10 +89,28 @@ Author: Dmitriy Yefremov
+
+ True
+ False
+ network-receive-symbolic
+ 1
+
+
+ True
+ False
+ network-receive-symbolic
+ 1
+
+
+ True
+ False
+ user-trash-symbolic
+
True
False
edit-undo
+ 1
+
+ True
+ False
+ network-transmit-symbolic
+ 1
+
False
+ Picons manager
center-on-parent
True
True
True
center
-
-
+
+
@@ -332,7 +183,6 @@ Author: Dmitriy Yefremov
5
5
10
- 5
@@ -350,49 +200,6 @@ Author: Dmitriy Yefremov
5
vertical
5
-
-
- False
- 1
- 1
-
-
- True
- True
- edit-find-symbolic
- False
- False
-
-
-
-
- False
- True
- 0
-
-
-
-
- False
- 1
- 1
-
-
- True
- True
- gtk-spell-check
- False
- False
-
-
-
-
-
- False
- True
- 1
-
-
True
@@ -405,7 +212,7 @@ Author: Dmitriy Yefremov
False
True
- 2
+ 0
@@ -449,6 +256,49 @@ Author: Dmitriy Yefremov
True
True
+ 1
+
+
+
+
+ False
+ 1
+ 1
+
+
+ True
+ True
+ edit-find-symbolic
+ False
+ False
+
+
+
+
+ False
+ True
+ 2
+
+
+
+
+ False
+ 1
+ 1
+
+
+ True
+ True
+ edit-find-replace-symbolic
+ False
+ False
+
+
+
+
+
+ False
+ True
3
@@ -1187,6 +1037,188 @@ Author: Dmitriy Yefremov
0
+
+
+ True
+ False
+ center
+ center
+ 15
+ 15
+ 10
+ 10
+
+
+ True
+ False
+ expand
+
+
+ Send
+ True
+ True
+ True
+ Transfer to receiver
+ send_image
+ True
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ Receive
+ True
+ True
+ True
+ Download from the receiver
+ receive_image
+ True
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ Filter
+ True
+ True
+ True
+ Filter
+ filter_image
+ True
+
+
+
+
+ False
+ True
+ 2
+
+
+
+
+ Remove
+ True
+ True
+ True
+ Remove all picons from the receiver
+ remove_image
+ True
+
+
+
+ False
+ True
+ 3
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ False
+ expand
+
+
+ Cancel
+ True
+ True
+ Cancel
+ center
+ cancel_image
+ True
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ Load providers
+ True
+ False
+ True
+ False
+ Load providers
+ center
+ load_providers
+ True
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ Receive picons
+ True
+ False
+ True
+ False
+ Receive picons
+ center
+ receive_picons_image
+ True
+
+
+
+ False
+ True
+ 2
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ Convert
+ True
+ False
+ Convert
+ center
+ convert_image
+ True
+
+
+
+ False
+ True
+ 2
+
+
+
+
+ False
+ True
+ 1
+
+
True
@@ -1221,7 +1253,7 @@ Author: Dmitriy Yefremov
False
True
- 1
+ 3
@@ -1278,7 +1310,7 @@ Author: Dmitriy Yefremov
False
True
- 2
+ 4
diff --git a/app/ui/picons_manager.py b/app/ui/picons_manager.py
index 6c7377e9..b88844f1 100644
--- a/app/ui/picons_manager.py
+++ b/app/ui/picons_manager.py
@@ -93,13 +93,15 @@ class PiconsDialog:
self._resize_220_132_radio_button = builder.get_object("resize_220_132_radio_button")
self._resize_100_60_radio_button = builder.get_object("resize_100_60_radio_button")
self._satellite_label = builder.get_object("satellite_label")
- self._header_download_box = builder.get_object("header_download_box")
+ self._explorer_action_box = builder.get_object("explorer_action_box")
self._satellite_label.bind_property("visible", builder.get_object("loading_data_label"), "visible", 4)
self._satellite_label.bind_property("visible", builder.get_object("loading_data_spinner"), "visible", 4)
- self._cancel_button.bind_property("visible", self._header_download_box, "visible", 4)
- self._convert_button.bind_property("visible", self._header_download_box, "visible", 4)
- self._load_providers_button.bind_property("visible", self._receive_button, "visible")
- self._load_providers_button.bind_property("visible", builder.get_object("download_box_separator"), "visible")
+ self._cancel_button.bind_property("visible", builder.get_object("receive_button"), "visible", 4)
+ self._cancel_button.bind_property("visible", self._load_providers_button, "visible", 4)
+ self._convert_button.bind_property("visible", self._explorer_action_box, "visible", 4)
+ downloader_action_box = builder.get_object("downloader_action_box")
+ self._explorer_action_box.bind_property("visible", downloader_action_box, "visible", 4)
+ self._convert_button.bind_property("visible", downloader_action_box, "visible", 4)
self._filter_bar.bind_property("search-mode-enabled", self._filter_bar, "visible")
self._explorer_path_button.bind_property("sensitive", builder.get_object("picons_view_sw"), "sensitive")
# Init drag-and-drop
@@ -438,12 +440,12 @@ class PiconsDialog:
def run_func(self, func, update=False):
try:
GLib.idle_add(self._expander.set_expanded, True)
- GLib.idle_add(self._header_download_box.set_sensitive, False)
+ GLib.idle_add(self._explorer_action_box.set_sensitive, False)
func()
except OSError as e:
self.show_info_message(str(e), Gtk.MessageType.ERROR)
finally:
- GLib.idle_add(self._header_download_box.set_sensitive, True)
+ GLib.idle_add(self._explorer_action_box.set_sensitive, True)
if update:
self.on_picons_folder_changed(self._explorer_path_button)
@@ -505,9 +507,8 @@ class PiconsDialog:
def on_visible_page(self, stack: Gtk.Stack, param):
name = stack.get_visible_child_name()
self._convert_button.set_visible(name == "converter")
- self._load_providers_button.set_visible(name == "downloader")
is_explorer = name == "explorer"
- self._filter_button.set_visible(is_explorer)
+ self._explorer_action_box.set_visible(is_explorer)
if is_explorer:
self.on_picons_folder_changed(self._explorer_path_button)
diff --git a/app/ui/satellites_dialog.glade b/app/ui/satellites_dialog.glade
index 24b19e96..0f1129e4 100644
--- a/app/ui/satellites_dialog.glade
+++ b/app/ui/satellites_dialog.glade
@@ -30,7 +30,7 @@ Author: Dmitriy Yefremov
The MIT License (MIT)
-Copyright (c) 2018-2019 Dmitriy Yefremov
+Copyright (c) 2018-2020 Dmitriy Yefremov
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -414,6 +414,7 @@ Author: Dmitriy Yefremov
False
+ Satellites edit tool
True
center-on-parent
True
@@ -422,17 +423,25 @@ Author: Dmitriy Yefremov
True
center
-
-
@@ -925,7 +939,6 @@ Author: Dmitriy Yefremov
True
True
True
- True
@@ -936,7 +949,6 @@ Author: Dmitriy Yefremov
True
True
True
- True
@@ -1329,6 +1341,7 @@ Author: Dmitriy Yefremov
False
+ Satellites update
True
center-on-parent
True
@@ -1336,189 +1349,6 @@ Author: Dmitriy Yefremov
True
center
-
-
-
True
@@ -1528,6 +1358,162 @@ Author: Dmitriy Yefremov
1
2
vertical
+
+
+
+ False
+ True
+ 0
+
+
True
@@ -1822,7 +1808,7 @@ Author: Dmitriy Yefremov
True
True
- 2
+ 4
@@ -1860,7 +1846,7 @@ Author: Dmitriy Yefremov
False
True
- 3
+ 5
diff --git a/app/ui/service_details_dialog.glade b/app/ui/service_details_dialog.glade
index 6a770ddd..75daabae 100644
--- a/app/ui/service_details_dialog.glade
+++ b/app/ui/service_details_dialog.glade
@@ -254,7 +254,6 @@
True
Cancel
True
- True
@@ -265,7 +264,6 @@
True
Save current service
True
- True
@@ -276,7 +274,6 @@
True
Create and save as new service
True
- True
@@ -1569,7 +1566,6 @@
True
True
True
- True
@@ -1579,7 +1575,6 @@
True
True
True
- True
diff --git a/app/ui/style.css b/app/ui/style.css
index c90360d4..34d6840d 100644
--- a/app/ui/style.css
+++ b/app/ui/style.css
@@ -1,10 +1,10 @@
#digit-entry {
border-color: Red;
+ border-width: 0.15em;
}
#status-bar-button {
- padding: 1px;
- margin: 1px;
+ margin: 0.1em;
}
#textview-large {
@@ -14,6 +14,8 @@
.group {}
.group :first-child {
+ padding-left: 0.5em;
+ padding-right: 0.5em;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}