https://bugzilla.novell.com/show_bug.cgi?id=730007 https://bugzilla.novell.com/show_bug.cgi?id=730007#c4 Carlos Robinson <carlos.e.r@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|carlos.e.r@opensuse.org | --- Comment #4 from Carlos Robinson <carlos.e.r@opensuse.org> 2011-11-20 23:27:36 UTC --- (In reply to comment #3)
Sure:
case Qt::Key_Plus: // Grab everything - install or update
if ( installed ) { ZyppStatus newStatus = S_KeepInstalled;
if ( item->candidateIsNewer() ) newStatus = S_Update;
setCurrentStatus( newStatus ); } The code sets the status to update only if the candidate is newer than the currently installed package.
Thanks. But it does not explain why they do that.
Because if the context menu says that '+' does update, I expect the menu entry and the shortkey to be absolutely equivalent. I agree, that's somewhat inconsistent.
It might make sense to have two entries: - "Update if newer version available [>] [+]" and - "Update unconditionally".
What do you think?
Me, I would prefer to have the shortcut do the same as the menu says, ie, update unconditionally. If the menu is split on two entries, then both should have a different shortcut. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.