[GNC-dev] Buttons in GnuCash for now and in the future

Frank H. Ellenberger frank.h.ellenberger at gmail.com
Thu May 23 22:21:59 EDT 2019

Bob, I think we should put the discussion from
https://bugs.gnucash.org/show_bug.cgi?id=797232 -
dialog-ab.glade was written for gtk 2.16
on the list.

Glade did not tell me, stock items, which I used in some recent
commits, are deprecated since version 3.10. [gtk_button_new_from_stock
() in 1]
They included:
1. a label with mnemonic,
2. for which the translation was already done in the gtk domain,
3.unique icons were associated.

The questions now:
1. Does anybody know the background of this decision? I thought it was
very useful to have standard icons associated with standard actions,
also for handicapped people like me, while I do test runs with foreign

2. What is there some general replacement strategy or does it get
simply dropped?

3. Do we want to
a) drop the icons from the buttons as you did recently or
b) should we use gtk_button_new_from_icon_name () [1] with names
according [3] so they get choosen from [4]
c) in the long term look to replace GTK?


[1] https://developer.gnome.org/gtk3/stable/GtkButton.html
[2] https://developer.gnome.org/gtk3/stable/GtkSettings.html#GtkSettings--gtk-button-images
[3] https://developer.gnome.org/icon-theme-spec/,
[4] https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html

More information about the gnucash-devel mailing list