1
From 0d705371f388410d62172e1413c060d8629ac0f6 Mon Sep 17 00:00:00 2001
2
From: Iain Lane <laney@ubuntu.com>
3
Date: Tue, 09 Mar 2010 19:36:20 +0000
4
Subject: Fix for bgo#608216
6
src/Fader.cs: Change the constructor for the fader to accept a double
7
representing the number of milliseconds to fade for,
8
instead of the number of seconds.
10
src/FullScreenView.cs: Change the timeout for entering full screen view to 600ms.
12
Index: f-spot.git/src/Fader.cs
13
===================================================================
14
--- f-spot.git.orig/src/Fader.cs 2010-05-19 15:18:08.036710007 +0100
15
+++ f-spot.git/src/Fader.cs 2010-05-19 15:49:45.186710570 +0100
17
double target_opacity;
18
DoubleAnimation fadin;
20
- public Fader (Gtk.Window win, double target, int sec)
21
+ public Fader (Gtk.Window win, double target, double msec)
24
win.Mapped += HandleMapped;
25
win.Unmapped += HandleUnmapped;
26
- fadin = new DoubleAnimation (0.0, target, new TimeSpan (0, 0, sec), delegate (double opacity) {
27
+ fadin = new DoubleAnimation (0.0, target, TimeSpan.FromMilliseconds(msec), delegate (double opacity) {
28
CompositeUtils.SetWinOpacity (win, opacity);
31
Index: f-spot.git/src/FullScreenView.cs
32
===================================================================
33
--- f-spot.git.orig/src/FullScreenView.cs 2010-05-19 15:18:08.056710820 +0100
34
+++ f-spot.git/src/FullScreenView.cs 2010-05-19 15:49:45.186710570 +0100
36
slide_show.Activated += SlideShowAction;
37
actions.Add (slide_show);
39
- new Fader (this, 1.0, 3);
40
+ new Fader (this, 1.0, 600);
41
notebook = new Notebook ();
42
notebook.ShowBorder = false;
43
notebook.ShowTabs = false;