Every time I start claws-mail I need to resize the window.
can someone please add support for the standard X command line option:
So i could do this in a batch file:
/usr/bin/claws-mail -geometry 987x945-28-12 &
Claws Mail saves the window geometry each time you close it.
You could have asked first in the mailing list.
> Claws Mail saves the window geometry each time you close it.
Yes, it does. And THAT is my problem! I usually do NOT want claws-mail to restart in the geometry I last ran it in. If I could turn off geometry saving I would be happier, but the best solution is to allow CLI override.
Just about every X program supports -geometry and claws-mail should to.
> You could have asked first in the mailing list.
Sorry, I am new to claws-mail, I am an alpine expatriot. Some projects prefer you to file bugs first, some to use an IRC channel, and some to use a mailing list. What maiing list shold I be asking on?
Created attachment 1631 [details]
Working implementation of -geometry support
Nice! Looks like documenting was more work than just making it work.
Will this go in main source?
(In reply to comment #4)
> Nice! Looks like documenting was more work than just making it work.
Not really, the fact that gtk_window_parse_geometry didn't resize the window (only moves it) and had to resource to a gtk_window_resize call was somewhat puzzling. Glad you liked it.
> Will this go in main source?
Can't say when, but I guess so, unless somebody is against including it.
Is not tested on Windows, but according GTK+ docs it should work there too.
Changes related to this bug have been committed.
Please check latest Git and update the bug accordingly.
You can also get the patch from:
++ ChangeLog 2016-02-19 19:19:02.939887260 +0100
Merge: 934a788 d1c40b3
Author: Colin Leroy <email@example.com>
Date: Fri Feb 19 19:19:02 2016 +0100
Merge branch 'master' of file:///home/git/claws
Author: Ricardo Mones <firstname.lastname@example.org>
Date: Fri Feb 19 19:15:12 2016 +0100
Fix bug #2604: Add support for -geometry
And document it too :-)