Skip to content

Commit d8e9b09

Browse files
committed
💎 style: Added theme bigicons-papient in wizard
1 parent db3083c commit d8e9b09

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

‎biglinux-livecd/usr/share/biglinux/calamares/src/utils/constants.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# Application Information
1010
APP_NAME = "BigLinux Calamares Config"
1111
APP_ID = "com.biglinux.calamares-config"
12-
APP_VERSION = "1.0.6"
12+
APP_VERSION = "1.0.7"
1313

1414
# Paths and Directories
1515
BASE_DIR = Path(__file__).parent.parent.parent

‎biglinux-livecd/usr/share/biglinux/livecd/application.py‎

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,20 @@ def do_startup(self):
2121
"""Called once when the application starts."""
2222
Adw.Application.do_startup(self)
2323

24-
# --- PERFORMANCE: Add system-wide icon theme path ---
25-
# 1. Get the default icon theme
24+
# Get the default icon theme
2625
icon_theme = Gtk.IconTheme.get_for_display(Gdk.Display.get_default())
27-
28-
# 2. Define the system path for circle flags
26+
27+
# Add bigicons-papient as the primary search path for icons
28+
icon_theme.add_search_path("/usr/share/icons/bigicons-papient/48x48/apps")
29+
icon_theme.add_search_path("/usr/share/icons/bigicons-papient/scalable/apps")
30+
icon_theme.add_search_path("/usr/share/icons/bigicons-papient/22x22/panel")
31+
icon_theme.add_search_path("/usr/share/icons/bigicons-papient/16x16/panel")
32+
icon_theme.add_search_path("/usr/share/icons/bigicons-papient-dark/48x48/apps")
33+
icon_theme.add_search_path("/usr/share/icons/bigicons-papient-dark/scalable/apps")
34+
logger.info("Icon theme search paths configured for bigicons-papient")
35+
36+
# Add circle flags path
2937
flags_dir = "/usr/share/circle-flags-svg/"
30-
31-
# 3. Add the directory to the icon theme's search path
3238
if os.path.isdir(flags_dir):
3339
icon_theme.add_search_path(flags_dir)
3440
else:

0 commit comments

Comments
 (0)