[ gpsdrive ] help with help

Guenther Meyer d.s.e at sordidmusic.com
Sun Sep 21 13:02:02 AKDT 2008


Am Sonntag 21 September 2008 schrieb Hamish:
> Hi,
>
> I have been cleaning up the man page and in-program help page a bit and
> come across a couple of points I can't explain:
>
> What does the command line -f flag actually do?
>  -f, --force-position   force display of position even it is invalid
>
hmm, that's a very old option, it doesn't really make sense to me...
I think, we should remove it.

> The mouse click help section (from the Help menu) says:
> "Middle mouse button: Display position again"
>
> what does that mean? does it still work?
the code switches off posmode, when clicked.
so it means "leave posmode", I guess...

> If the middle mouse click was free, I think it might be nice if it
> triggered the canvas to redraw with the map centered on the click
> position.
you mean switching to posmode with mouseclick?
because in normal mode the map view is determined by the current position.

> Even better would be middle-drag to move it around as well. 
>
a drag function would be really nice, yes. but I think to do this properly 
some significant changes to the map handling code have to be done.

> another thing I couldn't figure out: how to make keyboard shortcuts for
> the main Options and Help menus? I could add it to some (like the Map
> Control button) but other places the _ is simply put into the label name.
> The Route List button is made with the same command as Map Control but
> won't parse the underscore.
>
> any ideas?
>
usually you should use gtk_button_new_with_mnemonic instead of 
gtk_button_new_with_label on buttons.
the same for the menus with gtk_menu_item_new_with_...

or you could add your shortcuts to key_pressed_cb in main_gui.c, this 
processes all key events in the main window.

> I am not sure if new bug reports get forwarded here or to the sf-svn
> mailing list or nowhere; if not the new titles are:
>
the sf-svn list only sends out commit messages from the svn, nothing else.

bug reports should be added to the bugtracker on the sf-website. this would be 
the best way to track things, that can't be fixed very soon...
or reported to this list.

> - small fonts remain after PDA mode
this is known. could be solved by using separate config variables for pda 
mode.

> - new subdirs in map_koord are not added to Map Control list
I'm currently working on the map code, i will have a look at it.

> - --geometry command line control is broken
this means?

> - "n" to disable night mode doesn't work
it works, but it does nothing ;-)

> - signalposreq(): use mkstemp
I think, this function could be removed completely.
or is there any use for it?

> Also I noticed gpsdrive svn's version of the Debian build control rules
> still include some mysql stuff upon install,
>
this can be removed.
maybe replaced by postgis db creation...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.gpsdrivers.org/pipermail/gpsdrive/attachments/20080921/d0a427d2/attachment.bin>


More information about the GPSdrive mailing list