projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c504ee5
)
goptions: remember to mark option index for FIO_OPT_STR_VAL
author
Jens Axboe
<axboe@kernel.dk>
Tue, 20 Mar 2012 11:09:13 +0000
(12:09 +0100)
committer
Jens Axboe
<axboe@kernel.dk>
Tue, 20 Mar 2012 11:09:13 +0000
(12:09 +0100)
Fixes hiding of these options.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
goptions.c
patch
|
blob
|
blame
|
history
diff --git
a/goptions.c
b/goptions.c
index 52a58bea147348581b5c3b78b41ab119175068bf..49da0019d6d61a2bb14cf0fe3db83feb4ae34e20 100644
(file)
--- a/
goptions.c
+++ b/
goptions.c
@@
-640,6
+640,7
@@
static struct gopt *gopt_new_str_val(struct fio_option *o,
label = gtk_label_new(o->name);
else
label = gtk_label_new(o->lname);
+ gopt_mark_index(&g->gopt, idx);
g->spin = gtk_spin_button_new_with_range(0.0, 1023.0, 1.0);
gtk_spin_button_set_update_policy(GTK_SPIN_BUTTON(g->spin), GTK_UPDATE_IF_VALID);