f-spot r3852 - trunk/src
- From: sdelcroix svn gnome org
- To: svn-commits-list gnome org
- Subject: f-spot r3852 - trunk/src
- Date: Mon, 28 Apr 2008 09:46:54 +0100 (BST)
Author: sdelcroix
Date: Mon Apr 28 08:46:54 2008
New Revision: 3852
URL: http://svn.gnome.org/viewvc/f-spot?rev=3852&view=rev
Log:
fixing a strange crop effect
Modified:
trunk/src/PhotoView.cs
Modified: trunk/src/PhotoView.cs
==============================================================================
--- trunk/src/PhotoView.cs (original)
+++ trunk/src/PhotoView.cs Mon Apr 28 08:46:54 2008
@@ -177,6 +177,16 @@
rating.Value = (int)Item.Current.Rating;
rating.Changed += HandleRatingChanged;
}
+
+ public void UpdateSelectionCombo ()
+ {
+ //constraints_combo.Active = 0;
+ TreeIter iter;
+ if (constraints_combo.GetActiveIter (out iter)) {
+ if (((ConstraintType)constraints_store.GetValue (iter, 3)) == ConstraintType.SameAsPhoto)
+ constraints_combo.Active = 0;
+ }
+ }
private void Update ()
{
@@ -187,8 +197,8 @@
UpdateCountLabel ();
UpdateDescriptionEntry ();
UpdateRating ();
- HandleConstraintsComboChanged (null, null);
-
+ UpdateSelectionCombo ();
+
if (UpdateFinished != null)
UpdateFinished (this);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]