aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2015-07-11 12:13:16 +0200
committerAngelo Naselli <anaselli@linux.it>2015-07-11 12:13:16 +0200
commit6a615882882db79df993a432a9b9a31e53ed8f79 (patch)
tree3cf805a3dd384a75d76f6e84a5004900ef2baa8f
parent576c96a40d618fb16eabe8f8ad869148ca862001 (diff)
downloadcolin-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
-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