mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Add a couple of defines for the tree view grid lines
This commit is contained in:
@@ -337,8 +337,8 @@ GtkTreeViewGridLines
|
||||
gnc_tree_view_get_grid_lines_pref (void)
|
||||
{
|
||||
GtkTreeViewGridLines grid_lines;
|
||||
gboolean h_lines = gnc_prefs_get_bool (GNC_PREFS_GROUP_GENERAL, "grid-lines-horizontal");
|
||||
gboolean v_lines = gnc_prefs_get_bool (GNC_PREFS_GROUP_GENERAL, "grid-lines-vertical");
|
||||
gboolean h_lines = gnc_prefs_get_bool (GNC_PREFS_GROUP_GENERAL, GNC_PREF_GRID_LINES_HORIZONTAL);
|
||||
gboolean v_lines = gnc_prefs_get_bool (GNC_PREFS_GROUP_GENERAL, GNC_PREF_GRID_LINES_VERTICAL);
|
||||
|
||||
if (h_lines)
|
||||
{
|
||||
|
||||
@@ -29,6 +29,9 @@
|
||||
#include <gtk/gtk.h>
|
||||
#include "qof.h"
|
||||
|
||||
#define GNC_PREF_GRID_LINES_HORIZONTAL "grid-lines-horizontal"
|
||||
#define GNC_PREF_GRID_LINES_VERTICAL "grid-lines-vertical"
|
||||
|
||||
void gnc_set_label_color (GtkWidget *label, gnc_numeric value);
|
||||
|
||||
/********************************************************************\
|
||||
|
||||
Reference in New Issue
Block a user