r22274 - gnucash/trunk/src - Remove depreciated Option functions - part 1

Geert Janssens gjanssens at code.gnucash.org
Wed Aug 1 09:53:59 EDT 2012


Author: gjanssens
Date: 2012-08-01 09:53:58 -0400 (Wed, 01 Aug 2012)
New Revision: 22274
Trac: http://svn.gnucash.org/trac/changeset/22274

Added:
   gnucash/trunk/src/gnome-utils/gnc-combott.c
   gnucash/trunk/src/gnome-utils/gnc-combott.h
Modified:
   gnucash/trunk/src/gnome-utils/Makefile.am
   gnucash/trunk/src/gnome-utils/dialog-options.c
   gnucash/trunk/src/gnome-utils/dialog-options.h
   gnucash/trunk/src/gnome-utils/dialog-utils.c
   gnucash/trunk/src/gnome-utils/dialog-utils.h
   gnucash/trunk/src/import-export/import-format-dialog.c
Log:
Remove depreciated Option functions - part 1

The option menu's that appear in dialog options rely on per item tool
tips that GtkComboBox did not have. From a comment in the code, this was
highlighted on bug http://bugzilla.gnome.org/show_bug.cgi?id=303717
which implies this is now fixed but I could not see a way of adding them
so I created my own basic combo with per item tooltips.

This basic combo uses an external list store to reduce the functions
needed and can be seen when changing report settings. It look like it
does the job OK but may be I have missed something. 

I have added comments in the code in areas that would need to be changed
if GtkComboBox ever has per item tool tips.

Patch by Robert Fewell



More information about the gnucash-patches mailing list