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/LogViewer.pm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/ManaTools/Module/LogViewer.pm') diff --git a/lib/ManaTools/Module/LogViewer.pm b/lib/ManaTools/Module/LogViewer.pm index 9b74c44c..bc845fe4 100644 --- a/lib/ManaTools/Module/LogViewer.pm +++ b/lib/ManaTools/Module/LogViewer.pm @@ -141,6 +141,12 @@ sub _logViewerPanel { 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 $factory = yui::YUI::widgetFactory; my $optFactory = yui::YUI::optionalWidgetFactory; -- cgit v1.2.1