From 8d5af301fb8260165da0eae7d06907981513a5ed Mon Sep 17 00:00:00 2001 From: DYefremov Date: Sat, 2 Mar 2024 13:08:54 +0300 Subject: [PATCH] dialogs ui adjustments --- app/ui/dialogs.py | 8 ++++---- app/ui/iptv.glade | 6 ++++-- app/ui/service_details_dialog.glade | 5 +++-- app/ui/settings_dialog.glade | 1 + app/ui/uicommons.py | 2 +- 5 files changed, 13 insertions(+), 9 deletions(-) diff --git a/app/ui/dialogs.py b/app/ui/dialogs.py index 5b84fdbc..67a33003 100644 --- a/app/ui/dialogs.py +++ b/app/ui/dialogs.py @@ -2,7 +2,7 @@ # # The MIT License (MIT) # -# Copyright (c) 2018-2023 Dmitriy Yefremov +# Copyright (c) 2018-2024 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 @@ -47,7 +47,7 @@ def __init__(self, parent, title, buttons=None, *args, **kwargs): title=translate(title), modal=True, resizable=False, - default_width=240, + default_width=255, skip_taskbar_hint=True, skip_pager_hint=True, destroy_with_parent=True, @@ -61,12 +61,12 @@ class Dialog(Enum): MESSAGE = """ - + {use_header} False True - 250 + 255 True dialog True diff --git a/app/ui/iptv.glade b/app/ui/iptv.glade index 3cf64ed6..1a63d89e 100644 --- a/app/ui/iptv.glade +++ b/app/ui/iptv.glade @@ -3,7 +3,7 @@ The MIT License (MIT) -Copyright (c) 2018-2023 Dmitriy Yefremov +Copyright (c) 2018-2024 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 @@ -32,7 +32,7 @@ Author: Dmitriy Yefremov - + True @@ -277,6 +277,7 @@ Author: Dmitriy Yefremov True center True + demon-editor dialog True True @@ -879,6 +880,7 @@ Author: Dmitriy Yefremov False True True + demon-editor dialog True True diff --git a/app/ui/service_details_dialog.glade b/app/ui/service_details_dialog.glade index 919a6ae0..5bd88d27 100644 --- a/app/ui/service_details_dialog.glade +++ b/app/ui/service_details_dialog.glade @@ -3,7 +3,7 @@ The MIT License (MIT) -Copyright (c) 2018-2023 Dmitriy Yefremov +Copyright (c) 2018-2024 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 @@ -32,7 +32,7 @@ Author: Dmitriy Yefremov - + @@ -267,6 +267,7 @@ Author: Dmitriy Yefremov Service data False True + 800 center-on-parent True document-properties-symbolic diff --git a/app/ui/settings_dialog.glade b/app/ui/settings_dialog.glade index e0c61a56..2b7d9374 100644 --- a/app/ui/settings_dialog.glade +++ b/app/ui/settings_dialog.glade @@ -119,6 +119,7 @@ Author: Dmitriy Yefremov True center-on-parent True + demon-editor dialog True True diff --git a/app/ui/uicommons.py b/app/ui/uicommons.py index 53a1cbbe..7c9f8d2a 100644 --- a/app/ui/uicommons.py +++ b/app/ui/uicommons.py @@ -120,7 +120,7 @@ def get_icon(name, size, default=None): TV_ICON = get_icon("tv-symbolic", 16, _IMAGE_MISSING) IPTV_ICON = get_icon("emblem-shared", 16, _IMAGE_MISSING) EPG_ICON = get_icon("gtk-index", 16, _IMAGE_MISSING) -DEFAULT_ICON = get_icon("emblem-default", 16, _IMAGE_MISSING) +DEFAULT_ICON = get_icon("emblem-default-symbolic", 16, _IMAGE_MISSING) @lru_cache(maxsize=1)