From bd52d8fa9689c8e8dd164618bfe489a003037866 Mon Sep 17 00:00:00 2001 From: Angelo Naselli Date: Fri, 1 Jan 2016 16:41:57 +0100 Subject: Restored Icon and Title behaviour or they were missed in mpan, using Shared::GUI::Dialog solves this problem --- lib/ManaTools/Module/Services.pm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/ManaTools/Module/Services.pm') 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); -- cgit v1.2.1