Mailinglist Archive: zypp-devel (53 mails)

< Previous Next >
Re: [zypp-devel] ui::Selectable::theObj()
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Mon, 6 Oct 2008 11:06:11 +0200
  • Message-id: <200810061106.11689.ma@xxxxxxx>
On Friday 03 October 2008 15:44:26 Jano Kupec wrote:
Shouldn't $subject return kernel-default-2.6.27-12.1.x86_64 given these are
available in the pool?

You can't tell with out looking at the repo priorities. This is the highest
key.

Also in case some candidate is selected to be installed. It will automatically
become theObj.

theObj is a ui hack. The ui uses it e.g. in the list views to display a
summary. The ui does not care about which objects summary it is. It should be
the 'most interesting one'. That's why it always picks a selected item. The
one that will get installed is 'interesting'.

--

cu,
Michael Andres

+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres YaST Development ma@xxxxxxxxxx
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0
+------------------------------------------------------------------+

--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
References