diff options
author | jstebbins <[email protected]> | 2008-11-06 22:30:11 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2008-11-06 22:30:11 +0000 |
commit | b944434095075cdd410b7515992b8d730b394d6f (patch) | |
tree | 7cc397317320dec6ebf485f20b19677fdeb56193 /gtk/src/callbacks.c | |
parent | c0a30f0be5aa54e8b19e04fb560e907319339a2f (diff) |
LinGui: fix start chapter range. allowed entry of chapter numbers beyond
the number of chapters on the disc
Fix a problem with picture scaling. non-anamorphic was allowing dimensions to
be entered that were larger than the title dims.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1899 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/callbacks.c')
-rw-r--r-- | gtk/src/callbacks.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c index e332854f6..515acb5b0 100644 --- a/gtk/src/callbacks.c +++ b/gtk/src/callbacks.c @@ -1002,6 +1002,7 @@ show_title_info(signal_user_data_t *ud, ghb_title_info_t *tinfo) gtk_spin_button_set_value (GTK_SPIN_BUTTON(widget), tinfo->num_chapters); widget = GHB_WIDGET (ud->builder, "start_chapter"); gtk_spin_button_set_value (GTK_SPIN_BUTTON(widget), 1); + gtk_spin_button_set_range (GTK_SPIN_BUTTON(widget), 1, tinfo->num_chapters); } static gint preview_button_width; |