Author: gs Date: Wed Oct 12 11:12:28 2011 New Revision: 66385 URL: http://svn.opensuse.org/viewcvs/yast?rev=66385&view=rev Log: restore correct setting of dialog title Modified: trunk/fcoe-client/src/complex.ycp trunk/fcoe-client/src/wizards.ycp Modified: trunk/fcoe-client/src/complex.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/fcoe-client/src/complex.ycp?rev=66385&r1=66384&r2=66385&view=diff ============================================================================== --- trunk/fcoe-client/src/complex.ycp (original) +++ trunk/fcoe-client/src/complex.ycp Wed Oct 12 11:12:28 2011 @@ -33,7 +33,6 @@ import "Label"; import "Popup"; import "Wizard"; -import "Wizard_hw"; import "Confirm"; import "FcoeClient"; import "Service"; Modified: trunk/fcoe-client/src/wizards.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/fcoe-client/src/wizards.ycp?rev=66385&r1=66384&r2=66385&view=diff ============================================================================== --- trunk/fcoe-client/src/wizards.ycp (original) +++ trunk/fcoe-client/src/wizards.ycp Wed Oct 12 11:12:28 2011 @@ -30,6 +30,7 @@ textdomain "fcoe-client"; + import "Mode"; import "Sequencer"; import "Wizard"; import "CWM"; @@ -172,7 +173,10 @@ Wizard::HideBackButton(); // TODO: rename icon to yast2-fcoe-client (yast2-theme package) - Wizard::SetTitleIcon("fcoe"); + if (Mode::normal ()) + Wizard::SetDesktopTitleAndIcon("fcoe-client"); + else + Wizard::SetTitleIcon("fcoe"); return CWM::Run (w, $[`abort : ReallyAbort]); } @@ -231,6 +235,10 @@ ]; Wizard::CreateDialog(); + if (Mode::normal ()) + Wizard::SetDesktopTitleAndIcon("fcoe-client"); + else + Wizard::SetTitleIcon("fcoe"); any ret = Sequencer::Run(aliases, sequence); @@ -267,6 +275,10 @@ ]; Wizard::CreateDialog(); + if (Mode::normal ()) + Wizard::SetDesktopTitleAndIcon("fcoe-client"); + else + Wizard::SetTitleIcon("fcoe"); any ret = Sequencer::Run(aliases, sequence); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org