minor corrections

This commit is contained in:
DYefremov
2022-02-22 14:18:40 +03:00
parent 61282b0cc8
commit bc4c6746c9
2 changed files with 9 additions and 3 deletions

View File

@@ -254,9 +254,11 @@ Author: Dmitriy Yefremov
<property name="can_focus">False</property>
<child>
<object class="GtkScrolledWindow" id="filter_bouquet_scrolled_window">
<property name="width_request">150</property>
<property name="width_request">170</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="margin_left">5</property>
<property name="margin_right">5</property>
<property name="margin_top">5</property>
<property name="margin_bottom">5</property>
<property name="hscrollbar_policy">never</property>
@@ -265,7 +267,7 @@ Author: Dmitriy Yefremov
<child>
<object class="GtkTreeView" id="filter_bouquet_view">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_focus">False</property>
<property name="model">filter_bouquet_list_store</property>
<property name="headers_visible">False</property>
<property name="enable_search">False</property>
@@ -276,6 +278,7 @@ Author: Dmitriy Yefremov
<child>
<object class="GtkTreeViewColumn" id="fiter_bouquet_column">
<property name="title" translatable="yes">Satellite</property>
<property name="expand">True</property>
<child>
<object class="GtkCellRendererText" id="filter_bouquet_renderer_text">
<property name="ellipsize">end</property>
@@ -286,6 +289,7 @@ Author: Dmitriy Yefremov
</child>
<child>
<object class="GtkCellRendererToggle" id="filter_bouquet_renderer_toggle">
<property name="xpad">5</property>
<property name="xalign">0.98000001907348633</property>
<signal name="toggled" handler="on_filter_bouquet_toggled" swapped="no"/>
</object>
@@ -407,7 +411,7 @@ Author: Dmitriy Yefremov
<object class="GtkTreeView" id="filter_type_view">
<property name="width_request">135</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_focus">False</property>
<property name="margin_left">5</property>
<property name="margin_right">5</property>
<property name="margin_top">5</property>

View File

@@ -3610,6 +3610,8 @@ class Application(Gtk.Application):
def activate_search_state(self, view):
if view is self._services_view:
self._srv_search_button.set_active(True)
elif view is self._iptv_services_view:
self._iptv_search_button.set_active(True)
elif view is self._fav_view:
self._fav_search_button.set_active(True)