[yast-commit] r51703 - in /trunk/yast2: library/wizard/src/Wizard.ycp package/yast2.changes
Author: tgoettlicher Date: Tue Sep 30 15:47:19 2008 New Revision: 51703 URL: http://svn.opensuse.org/viewcvs/yast?rev=51703&view=rev Log: Fixed forgotten unregister from agent Modified: trunk/yast2/library/wizard/src/Wizard.ycp trunk/yast2/package/yast2.changes Modified: trunk/yast2/library/wizard/src/Wizard.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/wizard/src/Wizard.ycp?rev=51703&r1=51702&r2=51703&view=diff ============================================================================== --- trunk/yast2/library/wizard/src/Wizard.ycp (original) +++ trunk/yast2/library/wizard/src/Wizard.ycp Tue Sep 30 15:47:19 2008 @@ -1065,7 +1065,7 @@ string LanguageFull = ""; string filename = sformat("%1/%2.desktop", Directory::desktopdir, file); // Do not use .yast2.desktop.v.$filename, because ini-agent reads - // all the desktop files anyway which is wasteful for setting one icon. + // all the desktop files anyway which is wasteful for setting one title. // The config is adapted from .yast2.desktop. SCR::RegisterAgent (.yast2.desktop1, `ag_ini( `IniAgent( filename, @@ -1114,6 +1114,9 @@ y2debug("Set dialog title: %1", name); SetDialogTitle( name ); + + SCR::UnregisterAgent (.yast2.desktop1); + return ( name != nil && name != ""); } Modified: trunk/yast2/package/yast2.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/package/yast2.changes?rev=51703&r1=51702&r2=51703&view=diff ============================================================================== --- trunk/yast2/package/yast2.changes (original) +++ trunk/yast2/package/yast2.changes Tue Sep 30 15:47:19 2008 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Tue Sep 30 15:27:45 CEST 2008 - tgoettlicher@suse.de + +- Fixed forgotten unregister from agent + +------------------------------------------------------------------- Mon Sep 29 16:52:39 CEST 2008 - visnov@suse.cz - updated man page with exit codes -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
tgoettlicher@svn.opensuse.org