Mailinglist Archive: yast-commit (953 mails)

< Previous Next >
[yast-commit] r49719 - /trunk/ncurses-pkg/src/NCPkgMenuExtras.cc
  • From: kmachalkova@xxxxxxxxxxxxxxxx
  • Date: Tue, 05 Aug 2008 14:22:12 -0000
  • Message-id: <20080805142212.E212639CD5@xxxxxxxxxxxxxxxx>
Author: kmachalkova
Date: Tue Aug 5 16:22:12 2008
New Revision: 49719

URL: http://svn.opensuse.org/viewcvs/yast?rev=49719&view=rev
Log:
Show "Start repository manager" menu only when requested
by `opt(`repoMgr) flag i.e. not in installation phase
(#381956)

Modified:
trunk/ncurses-pkg/src/NCPkgMenuExtras.cc

Modified: trunk/ncurses-pkg/src/NCPkgMenuExtras.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/ncurses-pkg/src/NCPkgMenuExtras.cc?rev=49719&r1=49718&r2=49719&view=diff
==============================================================================
--- trunk/ncurses-pkg/src/NCPkgMenuExtras.cc (original)
+++ trunk/ncurses-pkg/src/NCPkgMenuExtras.cc Tue Aug 5 16:22:12 2008
@@ -59,8 +59,11 @@
diskSpace = new YMenuItem( _("&Show Available Disk Space") );
items.push_back( diskSpace );

- repoManager = new YMenuItem( _("S&tart Repository Manager"));
- items.push_back( repoManager );
+ if ( !pkg->isRepoMgrEnabled() )
+ {
+ repoManager = new YMenuItem( _("S&tart Repository Manager"));
+ items.push_back( repoManager );
+ }

addItems( items );
}

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages