[f-spot: 7/8] ShowOffset property is private



commit d681dcb296dd55eed6d4e4989e1bf8631cd2c36f
Author: Stephane Delcroix <stephane delcroix org>
Date:   Thu Apr 30 13:37:04 2009 +0200

    ShowOffset property is private
---
 src/Widgets/DateEdit.cs |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/Widgets/DateEdit.cs b/src/Widgets/DateEdit.cs
index 3f13771..6a380d2 100644
--- a/src/Widgets/DateEdit.cs
+++ b/src/Widgets/DateEdit.cs
@@ -63,10 +63,6 @@ Console.WriteLine ("changed to {0}", value);
 			}
 		}
 
-		public bool ShowSeconds {
-			get { return (dateEditFlags & DateEditFlags.ShowSeconds) == DateEditFlags.ShowSeconds; }
-		}
-
 		public event EventHandler DateChanged;
 		public event EventHandler TimeChanged;
 		public event EventHandler OffsetChanged;
@@ -91,6 +87,10 @@ Console.WriteLine ("changed to {0}", value);
 			if (h != null)
 				h (this, EventArgs.Empty);
 		}
+
+		bool ShowSeconds {
+			get { return (dateEditFlags & DateEditFlags.ShowSeconds) == DateEditFlags.ShowSeconds; }
+		}
 #endregion public API
 
 #region Gtk Widgetry
@@ -283,7 +283,6 @@ Console.WriteLine ("changed to {0}", value);
 			HidePopup ();
 			e.RetVal = true;
 		}
-
 #endregion
 
 #region Test App



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]