summaryrefslogtreecommitdiff
path: root/src/trg-json-widgets.h
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2012-01-04 20:26:19 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2012-01-04 20:26:19 +0000
commita73d164e9fae9059be1b347270f1c7debbc00f3e (patch)
treea91c94a322ead98226d01fa6bbe0c4c79478c627 /src/trg-json-widgets.h
parent336960c958d0b4ebdc0b54c25aef87fc7cb7b0a8 (diff)
reindent with gnu indent. add keyboard accelerators for view menu, fix toggle filter widget also connected to toggle graph cb. add Lithuanian translation thanks to Algimantas Margevičius via launchpad.
Diffstat (limited to 'src/trg-json-widgets.h')
-rw-r--r--src/trg-json-widgets.h22
1 files changed, 13 insertions, 9 deletions
diff --git a/src/trg-json-widgets.h b/src/trg-json-widgets.h
index 3dafdfd..7eefe58 100644
--- a/src/trg-json-widgets.h
+++ b/src/trg-json-widgets.h
@@ -26,26 +26,30 @@
typedef struct {
GtkWidget *widget;
gchar *key;
- void (*saveFunc)(GtkWidget * widget, JsonObject * obj, gchar * key);
+ void (*saveFunc) (GtkWidget * widget, JsonObject * obj, gchar * key);
} trg_json_widget_desc;
void toggle_active_arg_is_sensitive(GtkToggleButton * b, gpointer data);
GtkWidget *trg_json_widget_check_new(GList ** wl, JsonObject * obj,
- const gchar * key, const gchar * label, GtkWidget * toggleDep);
+ const gchar * key,
+ const gchar * label,
+ GtkWidget * toggleDep);
GtkWidget *trg_json_widget_entry_new(GList ** wl, JsonObject * obj,
- const gchar * key, GtkWidget * toggleDep);
+ const gchar * key,
+ GtkWidget * toggleDep);
GtkWidget *trg_json_widget_spin_new(GList ** wl, JsonObject * obj,
- const gchar * key, GtkWidget * toggleDep, gdouble min, gdouble max,
- gdouble step);
+ const gchar * key,
+ GtkWidget * toggleDep, gdouble min,
+ gdouble max, gdouble step);
void trg_json_widget_check_save(GtkWidget * widget, JsonObject * obj,
- gchar * key);
+ gchar * key);
void trg_json_widget_entry_save(GtkWidget * widget, JsonObject * obj,
- gchar * key);
+ gchar * key);
void trg_json_widget_spin_save_int(GtkWidget * widget, JsonObject * obj,
- gchar * key);
+ gchar * key);
void trg_json_widget_spin_save_double(GtkWidget * widget, JsonObject * obj,
- gchar * key);
+ gchar * key);
void trg_json_widget_desc_free(trg_json_widget_desc * wd);
void trg_json_widget_desc_list_free(GList * list);