]> git.pld-linux.org Git - packages/f-spot.git/commitdiff
- works for both slideshow and fullscreen request, now
authorwrobell <wrobell@pld-linux.org>
Sat, 29 Dec 2007 18:59:06 +0000 (18:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    f-spot-fs.patch -> 1.2

f-spot-fs.patch

index 3008e1136783e69127f09d8791b7dd1524968443..bf7f37be009474b4cfc7d640baf2cb7348aa5e93 100644 (file)
@@ -1,6 +1,6 @@
---- f-spot-0.2.2/src/MainWindow.cs     2006-10-06 02:23:08.000000000 +0100
-+++ f-spot-0.2.2.new/src/MainWindow.cs 2006-11-20 04:55:56.000000000 +0000
-@@ -1999,6 +1999,13 @@
+--- f-spot-0.4.1/src/MainWindow.cs.orig        2007-12-29 18:48:46.000000000 +0000
++++ f-spot-0.4.1/src/MainWindow.cs     2007-12-29 18:43:59.000000000 +0000
+@@ -2099,6 +2099,13 @@
                int active = Math.Max (ActiveIndex (), 0);
                if (fsview == null) {
                        fsview = new FSpot.FullScreenView (query);
 +                      fsview.SetDefaultSize(bounds.Width, bounds.Height);
 +
                        fsview.Destroyed += HandleFullScreenViewDestroy;
-             fsview.View.Item.Index = active;
-             ColorDialog.SwitchViews (fsview.View);
+                       fsview.View.Item.Index = active;
+                       ColorDialog.SwitchViews (fsview.View);
+@@ -2142,6 +2149,13 @@
+               int active = Math.Max (ActiveIndex (), 0);
+               if (fsview == null) {
+                       fsview = new FSpot.FullScreenView (query);
++
++                      Gdk.Screen screen = fsview.Screen;
++                      int monitor = screen.GetMonitorAtWindow (main_window.GdkWindow);
++                      Gdk.Rectangle bounds = screen.GetMonitorGeometry(monitor);
++                      fsview.Move(bounds.X, 0);
++                      fsview.SetDefaultSize(bounds.Width, bounds.Height);
++
+                       fsview.Destroyed += HandleFullScreenViewDestroy;
+                       fsview.View.Item.Index = active;
+                       ColorDialog.SwitchViews (fsview.View);
This page took 0.111626 seconds and 4 git commands to generate.