Re: [yast-devel] Table sorting and locales in YaST UI

2012-05-04 Thread Ladislav Slezak
Dne 4.5.2012 10:31, Thomas Goettlicher napsal(a): On Thu May 3 2012 16:08:56 Ladislav Slezak wrote: [...] - The numeric sorting problem can be solved by padding numbers with zeroes instead of spaces e.g. 090 instead of 90 - it does not look nice but I haven't found any better solution. Any

Re: [yast-devel] Table sorting and locales in YaST UI

2012-05-04 Thread Arvin Schnell
On Fri, May 04, 2012 at 10:51:51AM +0200, Jiri Srain wrote: Actually, anything that starts with a number should IMHO be sorted numerically according the number alone. The text, which is possibly appended to the number, should be taken into account only if there are two items with the same

Re: [yast-devel] Table sorting and locales in YaST UI

2012-05-04 Thread Josef Reidinger
On Fri, 4 May 2012 12:00:55 +0200 Arvin Schnell aschn...@suse.de wrote: On Fri, May 04, 2012 at 10:51:51AM +0200, Jiri Srain wrote: Actually, anything that starts with a number should IMHO be sorted numerically according the number alone. The text, which is possibly appended to the

Re: [yast-devel] Table sorting and locales in YaST UI

2012-05-04 Thread Ladislav Slezak
Dne 4.5.2012 11:48, Thomas Goettlicher napsal(a): On Fri May 4 2012 11:19:24 Ladislav Slezak wrote: [...] Which regexp do you propose? Please keep in mind, that the regexp needs to be executed each time the user wants to sort the columns for all rows of the table. We should keep the regexp

Re: [yast-devel] Table sorting and locales in YaST UI

2012-05-04 Thread Ladislav Slezak
Dne 4.5.2012 12:48, Josef Reidinger napsal(a): [...] If we start having more special request on sorting function it would be nice if we can pass sorting method there ( like almost all languages allow ). Yeah, I don't think it would be possible for Yast because of the architecture. Passing an

Re: [yast-devel] Popcorn YaST install integration

2012-05-04 Thread Lukas Ocilka
On 04/30/2012 11:45 AM, Ionuț Arțăriși wrote: Since both smolt and popcorn would collect statistics about the user's machine (hardware profile + installed packages), I think the two checkboxes should appear together during the installation process. I think it makes sense from a UI POV, since the

[yast-devel] how to port a function for use in YaST2

2012-05-04 Thread Michal Filka
Hi, I want to use two functions from GLib in yast2-core's ini agent. I've created a minimal working subset of functions from GLib - pure C. It contains three key functions and a couple help functions/macros (mainly related to string manipulations). The functions are not performance

Re: [yast-devel] Popcorn YaST install integration

2012-05-04 Thread Togan Muftuoglu
On 05/04/2012 02:22 PM, Lukas Ocilka wrote: On 04/30/2012 11:45 AM, Ionuț Arțăriși wrote: Presenting the two (smolt and popcorn) together, under the new Send Statistical Information checkbox would be a great idea IMHO. From my POV, Send Statistical Information is too generic and I as a user

Re: [yast-devel] Table sorting and locales in YaST UI

2012-05-04 Thread Thomas Goettlicher
On Fri May 4 2012 13:25:24 Ladislav Slezak wrote: Dne 4.5.2012 11:48, Thomas Goettlicher napsal(a): On Fri May 4 2012 11:19:24 Ladislav Slezak wrote: [...] Which regexp do you propose? Please keep in mind, that the regexp needs to be executed each time the user wants to sort the columns

Re: [yast-devel] Table sorting and locales in YaST UI

2012-05-04 Thread Ladislav Slezak
Dne 4.5.2012 15:41, Thomas Goettlicher napsal(a): On Fri May 4 2012 13:25:24 Ladislav Slezak wrote: [...] I fine-tuned the sort function now: * Leading blanks for numbers are ignored * '+' and '-' in front of numbers are respected * text separated by a blank right of a number is being ignored

Re: [yast-devel] Table sorting and locales in YaST UI

2012-05-04 Thread Thomas Goettlicher
On Fri May 4 2012 15:49:28 Ladislav Slezak wrote: Dne 4.5.2012 15:41, Thomas Goettlicher napsal(a): On Fri May 4 2012 13:25:24 Ladislav Slezak wrote: [...] I fine-tuned the sort function now: * Leading blanks for numbers are ignored * '+' and '-' in front of numbers are respected *