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/Users.pm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'lib/ManaTools/Module/Users.pm') diff --git a/lib/ManaTools/Module/Users.pm b/lib/ManaTools/Module/Users.pm index 85cf6074..81b6108c 100644 --- a/lib/ManaTools/Module/Users.pm +++ b/lib/ManaTools/Module/Users.pm @@ -2433,10 +2433,11 @@ sub _manageUsersDialog { ## push application title my $appTitle = yui::YUI::app()->applicationTitle(); -# ## 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); + ## 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; -- cgit v1.2.1