diff options
author | Angelo Naselli <anaselli@linux.it> | 2016-01-01 16:41:57 +0100 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2016-01-01 16:41:57 +0100 |
commit | bd52d8fa9689c8e8dd164618bfe489a003037866 (patch) | |
tree | 5d64501af64676d16b1c8bd7176b5457f14da19e /lib/ManaTools/Module/Services.pm | |
parent | 6a54e267dd03c20d8c8229929037a2cd0853a6a5 (diff) | |
download | manatools-bd52d8fa9689c8e8dd164618bfe489a003037866.tar manatools-bd52d8fa9689c8e8dd164618bfe489a003037866.tar.gz manatools-bd52d8fa9689c8e8dd164618bfe489a003037866.tar.bz2 manatools-bd52d8fa9689c8e8dd164618bfe489a003037866.tar.xz manatools-bd52d8fa9689c8e8dd164618bfe489a003037866.zip |
Restored Icon and Title behaviour or they were missed in mpan,
using Shared::GUI::Dialog solves this problem
Diffstat (limited to 'lib/ManaTools/Module/Services.pm')
-rw-r--r-- | lib/ManaTools/Module/Services.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/ManaTools/Module/Services.pm b/lib/ManaTools/Module/Services.pm index 700ee285..ca41582c 100644 --- a/lib/ManaTools/Module/Services.pm +++ b/lib/ManaTools/Module/Services.pm @@ -342,6 +342,12 @@ sub _servicePanel { my $appTitle = yui::YUI::app()->applicationTitle(); + ## TODO remove title and icon when using Shared::Module::GUI::Dialog + ## set new title to get it in dialog + yui::YUI::app()->setApplicationTitle($self->name()); + ## set icon if not already set by external launcher + yui::YUI::app()->setApplicationIcon($self->icon()); + my $mageiaPlugin = "mga"; my $factory = yui::YUI::widgetFactory; my $mgaFactory = yui::YExternalWidgets::externalWidgetFactory($mageiaPlugin); |