diff options
author | Angelo Naselli <anaselli@linux.it> | 2015-07-11 12:13:16 +0200 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2015-07-11 12:13:16 +0200 |
commit | 6a615882882db79df993a432a9b9a31e53ed8f79 (patch) | |
tree | 3cf805a3dd384a75d76f6e84a5004900ef2baa8f /modules/rpmdragora | |
parent | 576c96a40d618fb16eabe8f8ad869148ca862001 (diff) | |
download | colin-keep-6a615882882db79df993a432a9b9a31e53ed8f79.tar colin-keep-6a615882882db79df993a432a9b9a31e53ed8f79.tar.gz colin-keep-6a615882882db79df993a432a9b9a31e53ed8f79.tar.bz2 colin-keep-6a615882882db79df993a432a9b9a31e53ed8f79.tar.xz colin-keep-6a615882882db79df993a432a9b9a31e53ed8f79.zip |
dragoraUpdate: using our icon instead of mcc one
Diffstat (limited to 'modules/rpmdragora')
-rwxr-xr-x | modules/rpmdragora/dragoraUpdate | 5 |
1 files changed, 3 insertions, 2 deletions
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; |