diff options
-rw-r--r-- | MANIFEST | 5 | ||||
-rw-r--r-- | lib/ManaTools/MainDisplay.pm | 8 | ||||
-rw-r--r-- | share/images/mpan/applications_section.png | bin | 0 -> 1926 bytes | |||
-rw-r--r-- | share/images/mpan/boot_init_section.png | bin | 0 -> 1849 bytes | |||
-rw-r--r-- | share/images/mpan/networking_section.png | bin | 0 -> 2696 bytes | |||
-rw-r--r-- | share/images/mpan/security_section.png | bin | 0 -> 1688 bytes |
6 files changed, 12 insertions, 1 deletions
@@ -185,6 +185,11 @@ share/images/manauser/user_conf.png share/images/manauser/user_del.png share/images/manawall.png share/images/mpan.png +share/images/mpan/applications_section.png +share/images/mpan/boot_init_section.png +share/images/mpan/networking_section.png +share/images/mpan/security_section.png +share/images/mpan/system_section.png share/images/quit.png share/images/rpmdragora/bugfix-update.png share/images/rpmdragora/clear_22x22.png diff --git a/lib/ManaTools/MainDisplay.pm b/lib/ManaTools/MainDisplay.pm index 59915b69..bf4261c3 100644 --- a/lib/ManaTools/MainDisplay.pm +++ b/lib/ManaTools/MainDisplay.pm @@ -807,11 +807,17 @@ sub _loadCategories { 'title' ); $self->logger()->D($self->loc()->N("Load categories: title content is <<%s>>", $title)); + my $icon = $tmp->{icon}; + if ((substr( $icon, 0, 1) ne '/')) { + # icon with relative path? + $icon = File::ShareDir::dist_file(ManaTools::Shared::distName(), $tmp->{icon}); + } + $tmpCat = $self->_getCategory($title); if (!$tmpCat) { $tmpCat = new ManaTools::Category({ name => $title, - icon => $tmp->{icon} + icon => $icon, }); } $self->_loadCategory($tmpCat); diff --git a/share/images/mpan/applications_section.png b/share/images/mpan/applications_section.png Binary files differnew file mode 100644 index 00000000..6f60235d --- /dev/null +++ b/share/images/mpan/applications_section.png diff --git a/share/images/mpan/boot_init_section.png b/share/images/mpan/boot_init_section.png Binary files differnew file mode 100644 index 00000000..a59cf9b4 --- /dev/null +++ b/share/images/mpan/boot_init_section.png diff --git a/share/images/mpan/networking_section.png b/share/images/mpan/networking_section.png Binary files differnew file mode 100644 index 00000000..df45e7cb --- /dev/null +++ b/share/images/mpan/networking_section.png diff --git a/share/images/mpan/security_section.png b/share/images/mpan/security_section.png Binary files differnew file mode 100644 index 00000000..604a2790 --- /dev/null +++ b/share/images/mpan/security_section.png |