f-spot r4366 - trunk/src
- From: lmilesi svn gnome org
- To: svn-commits-list gnome org
- Subject: f-spot r4366 - trunk/src
- Date: Tue, 16 Sep 2008 12:52:58 +0000 (UTC)
Author: lmilesi
Date: Tue Sep 16 12:52:57 2008
New Revision: 4366
URL: http://svn.gnome.org/viewvc/f-spot?rev=4366&view=rev
Log:
fixing loupe menu item active flag
Modified:
trunk/src/Loupe.cs
trunk/src/MainWindow.cs
Modified: trunk/src/Loupe.cs
==============================================================================
--- trunk/src/Loupe.cs (original)
+++ trunk/src/Loupe.cs Tue Sep 16 12:52:57 2008
@@ -577,7 +577,7 @@
break;
case Gdk.EventType.TwoButtonPress:
dragging = false;
- this.Destroy ();
+ MainWindow.Toplevel.HideLoupe ();
break;
}
}
@@ -596,7 +596,7 @@
{
switch (args.Event.Key) {
case Gdk.Key.v:
- MainWindow.Toplevel.PhotoView.View.ShowHideLoupe ();
+ MainWindow.Toplevel.HideLoupe ();
args.RetVal = true;
break;
default:
Modified: trunk/src/MainWindow.cs
==============================================================================
--- trunk/src/MainWindow.cs (original)
+++ trunk/src/MainWindow.cs Tue Sep 16 12:52:57 2008
@@ -2123,6 +2123,11 @@
new TimeDialog (db, list);
}
+ public void HideLoupe ()
+ {
+ loupe_menu_item.Active = false;
+ }
+
void HandleLoupe (object sender, EventArgs args)
{
// Don't steal characters from any text entries
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]