mirror of
https://github.com/DYefremov/DemonEditor.git
synced 2026-03-05 12:01:45 +01:00
changed setting service info
This commit is contained in:
@@ -1748,8 +1748,10 @@ class Application(Gtk.Application):
|
||||
status = self._http_api.send((HttpRequestType.STATUS, None))
|
||||
next(self._http_api)
|
||||
if status:
|
||||
dsc = status.get("currservice_fulldescription", "")
|
||||
self._service_epg_label.set_text(dsc.strip().replace("\n", " ") if dsc and dsc != "N/A" else "")
|
||||
dsc = "{} {} - {}".format(status.get("currservice_name", ""),
|
||||
status.get("currservice_begin", ""),
|
||||
status.get("currservice_end", ""))
|
||||
self._service_epg_label.set_text(dsc)
|
||||
self._service_epg_label.set_tooltip_text(status.get("currservice_description", ""))
|
||||
|
||||
def update_service_info(self):
|
||||
|
||||
@@ -2910,6 +2910,7 @@ Author: Dmitriy Yefremov
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="justify">center</property>
|
||||
<property name="ellipsize">end</property>
|
||||
<property name="lines">0</property>
|
||||
</object>
|
||||
<packing>
|
||||
|
||||
Reference in New Issue
Block a user