]> git.tdb.fi Git - ext/subsurface.git/commit
Add a GtkEntry to allow editing of the device name
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 26 Sep 2011 16:44:27 +0000 (09:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 26 Sep 2011 16:44:27 +0000 (09:44 -0700)
commitda47ee401d0b0ee9d2aed10aa934831b8ed02b55
treec62801d20d91898745be5da49d79ec7ce3d7f27c
parentacca9b1804efc43b589d04b60682081b56afe7bc
Add a GtkEntry to allow editing of the device name

Ok, so some file chooser widget with a popup dialog would have been more
professional, but I'm lazy.  Plus I suspect the popup would look
horrible when populated with /dev entries, and I don't think there is
any sane filter function.

So this works, and means that you don't *have* to recompile the whole
program just because you have your dive computer on something else than
a USB serial line.

I suspect I should save the default name as a config variable too.
Maybe a setting in the preferences dialog.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
gtk-gui.c