diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2012-01-18 23:30:02 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2012-01-18 23:30:02 +0000 |
commit | c427fa73c4f7853de992eda9de1c818c2ee525aa (patch) | |
tree | c1203a6a808f242038cb063eba4843cf97f2c40f /src/trg-preferences-dialog.c | |
parent | 2512c508cb6b8edeefed308a3dce61054d58bb06 (diff) |
full and default gtk3 support, almost. the graph is disabled as the drawing api has changed quite a bit. yet another implementation to pass arguments, which made a cleanup of main.c necessary.
Diffstat (limited to 'src/trg-preferences-dialog.c')
-rw-r--r-- | src/trg-preferences-dialog.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/trg-preferences-dialog.c b/src/trg-preferences-dialog.c index 4c774ec..d4f5680 100644 --- a/src/trg-preferences-dialog.c +++ b/src/trg-preferences-dialog.c @@ -330,7 +330,7 @@ static void toggle_filter_trackers(GtkToggleButton * w, gpointer win) gtk_toggle_button_get_active(w)); } -#ifndef TRG_NO_GRAPH +#if TRG_WITH_GRAPH static void toggle_graph(GtkToggleButton * w, gpointer win) { if (gtk_toggle_button_get_active(w)) @@ -385,8 +385,7 @@ static void trgp_double_special_dependent(GtkWidget * widget, (priv->fullUpdateCheck) && gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON - (priv-> - fullUpdateCheck))); + (priv->fullUpdateCheck))); } static GtkWidget *trg_prefs_generalPage(TrgPreferencesDialog * dlg) @@ -696,7 +695,7 @@ static GtkWidget *trg_prefs_viewPage(TrgPreferencesDialog * dlg) G_CALLBACK(notebook_toggled_cb), priv->win); hig_workarea_add_wide_control(t, &row, w); -#ifndef TRG_NO_GRAPH +#if TRG_WITH_GRAPH w = trgp_check_new(dlg, _("Show graph"), TRG_PREFS_KEY_SHOW_GRAPH, TRG_PREFS_GLOBAL, GTK_TOGGLE_BUTTON(w)); g_signal_connect(G_OBJECT(w), "toggled", G_CALLBACK(toggle_graph), |