aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--MANIFEST1
-rwxr-xr-xmodules/rpmdragora/dragoraUpdate5
-rw-r--r--share/images/rpmdragora/dragoraUpdate.pngbin0 -> 4414 bytes
3 files changed, 4 insertions, 2 deletions
diff --git a/MANIFEST b/MANIFEST
index 9086f44..1cf139c 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -119,6 +119,7 @@ share/images/quit.png
share/images/rpmdragora/bugfix-update.png
share/images/rpmdragora/clear_22x22.png
share/images/rpmdragora/general-update.png
+share/images/rpmdragora/dragoraUpdate.png
share/images/rpmdragora/security-update.png
share/images/rpmdragora/title-update.png
share/images/manauser/group_add.png
diff --git a/modules/rpmdragora/dragoraUpdate b/modules/rpmdragora/dragoraUpdate
index ca7b415..467a72a 100755
--- a/modules/rpmdragora/dragoraUpdate
+++ b/modules/rpmdragora/dragoraUpdate
@@ -226,8 +226,9 @@ sub run_treeview_dialog {
## set new title to get it in dialog
yui::YUI::app()->setApplicationTitle($loc->N("Software Management"));
- ## set icon if not already set by external launcher
- yui::YUI::app()->setApplicationIcon("/usr/share/mcc/themes/default/MageiaUpdate.png");
+ ## set icon
+ my $icon = File::ShareDir::dist_file(ManaTools::Shared::distName(), 'images/rpmdragora/dragoraUpdate.png');
+ yui::YUI::app()->setApplicationIcon($icon);
my $mageiaPlugin = "mga";
my $factory = yui::YUI::widgetFactory;
diff --git a/share/images/rpmdragora/dragoraUpdate.png b/share/images/rpmdragora/dragoraUpdate.png
new file mode 100644
index 0000000..85ec1ca
--- /dev/null
+++ b/share/images/rpmdragora/dragoraUpdate.png
Binary files differ