[Users] [GTK3] What to do about GtkStock and GTK_STOCK_YES?

Rob Hoelz rob at hoelz.ro
Tue Jan 9 19:10:42 CET 2018


On Tue, 9 Jan 2018 14:03:02 +0000
Paul <claws at thewildbeast.co.uk> wrote:

> On Tue, 9 Jan 2018 07:49:06 -0600
> Rob Hoelz <rob at hoelz.ro> wrote: 
> 
> > it's not entirely obvious what the prefixed plus character is doing.
> > Something more explicit as to what's going on would be helpful!
> 
> It denotes the default (selected) button.
> 
> with regards
> 
> Paul
> _______________________________________________
> Users mailing list
> Users at lists.claws-mail.org
> http://lists.claws-mail.org/cgi-bin/mailman/listinfo/users

Thanks, Paul!  If we stuck with the concatenated strings, maybe we could create a #define
(like #define DEFAULT_BUTTON "+" or something) to make this clearer while reading the code?
Otherwise, I think some flags for each button (or a "default button" parameter) would be
a good move forward, in light of the GTK3 changes.  I'd be happy to undertake this work -
I just want to throw some ideas out there to make sure that the work has a higher change
of being merged before I work on it!

-Rob



More information about the Users mailing list