From 07e55b3f1eaa28ab080e806ed19e9659583aae14 Mon Sep 17 00:00:00 2001 From: DYefremov Date: Sun, 29 Jan 2023 00:33:59 +0300 Subject: [PATCH] header bar activation for macOS --- app/ui/epg/epg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/ui/epg/epg.py b/app/ui/epg/epg.py index 33176b9a..50b0a601 100644 --- a/app/ui/epg/epg.py +++ b/app/ui/epg/epg.py @@ -43,7 +43,7 @@ from gi.repository import GLib from app.commons import run_idle, run_task, run_with_delay from app.connections import download_data, DownloadType, HttpAPI from app.eparser.ecommons import BouquetService, BqServiceType -from app.settings import SEP, EpgSource +from app.settings import SEP, EpgSource, IS_DARWIN from app.tools.epg import EPG, ChannelsParser, EpgEvent, XmlTvReader from app.ui.dialogs import get_message, show_dialog, DialogType, get_builder from app.ui.tasks import BGTaskWidget @@ -475,7 +475,7 @@ class EpgDialog: self._update_on_start_switch = builder.get_object("update_on_start_switch") self._epg_dat_source_box = builder.get_object("epg_dat_source_box") - if IS_GNOME_SESSION: + if IS_GNOME_SESSION or IS_DARWIN: header_bar = Gtk.HeaderBar(visible=True, show_close_button=True, title="EPG", subtitle=get_message("List configuration")) self._dialog.set_titlebar(header_bar)