[chronojump] Encoder: fixed sensitivity on image
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Encoder: fixed sensitivity on image
- Date: Tue, 25 Sep 2012 15:32:17 +0000 (UTC)
commit 4a6b95e4abfe853bd26f204222cbb2e99148e1da
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Sep 25 17:31:49 2012 +0200
Encoder: fixed sensitivity on image
src/gui/encoder.cs | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/gui/encoder.cs b/src/gui/encoder.cs
index 302118f..f09e19c 100644
--- a/src/gui/encoder.cs
+++ b/src/gui/encoder.cs
@@ -1626,6 +1626,7 @@ public partial class ChronoJumpWindow
encoder_pulsebar_capture.Fraction = 1;
} else { //ANALYZE
+ bool analyzedCurvesOk = false;
if(encoderProcessCancel) {
encoderProcessCancel = false;
encoder_pulsebar_analyze.Text = Catalog.GetString("Cancelled");
@@ -1635,11 +1636,15 @@ public partial class ChronoJumpWindow
Pixbuf pixbuf = new Pixbuf (Util.GetEncoderGraphTempFileName()); //from a file
image_encoder_analyze.Pixbuf = pixbuf;
encoder_pulsebar_analyze.Text = "";
+ if(radiobutton_encoder_analyze_data_user_curves.Active)
+ analyzedCurvesOk = true;
}
encoder_pulsebar_analyze.Fraction = 1;
encoderButtonsSensitive(encoderSensEnumStored);
+ if(analyzedCurvesOk)
+ image_encoder_analyze.Sensitive = true;
}
treeview_encoder_curves.Sensitive = true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]