help wanted from Windows and Mac experts...
Dirk Hohndel
dirk at hohndel.org
Sat Nov 3 14:54:16 PDT 2012
On Nov 3, 2012, at 1:57 PM, Mikko Rasa wrote:
> On 01.11.2012 17:53, Lubomir I. Ivanov wrote:
>> On 1 November 2012 17:36, Lubomir I. Ivanov<neolit123 at gmail.com> wrote:
>>> devicedata.devname = gtk_entry_get_text(device);
>>
>> not sure if this is the best solution, but i can write a patch that
>> will strip the text in parentheses from the gtk_entry_get_text(device)
>> call?
>
> A better solution would be to add a hidden column to the tree model used by the dropdown, which contains the value passed to libdivecomputer. This would also allow displaying device names on Linux a bit more cleanly without the /dev/ prefix, and doing other prettifying operations on the displayed strings if desired.
I really like that idea… we could use that ability on all of the OSs.
/D
More information about the subsurface
mailing list