unify appearance in preferences dialog

The reports and other windows based on GtkNotebooks have currently max. 6 tabs in preferences dialog. 
Changing the value MAX_TAB_COUNT to 6 will unify appearance in all such dialogs. But to consider future changes, it would be useful to add a few extra places for new tabs: MAX_TAB_COUNT = 8.
This commit is contained in:
Di Mang 2018-07-18 22:08:11 +02:00 committed by GitHub
parent 4c8f822c12
commit 697d2a166f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,7 @@ static QofLogModule log_module = GNC_MOD_GUI;
* Point where preferences switch control method from a set of * Point where preferences switch control method from a set of
* notebook tabs to a list. * notebook tabs to a list.
*/ */
#define MAX_TAB_COUNT 5 #define MAX_TAB_COUNT 8
/* A pointer to the last selected filename */ /* A pointer to the last selected filename */
#define LAST_SELECTION "last-selection" #define LAST_SELECTION "last-selection"