]> git.pld-linux.org Git - packages/f-spot.git/blame - f-spot-fs.patch
- works for both slideshow and fullscreen request, now
[packages/f-spot.git] / f-spot-fs.patch
CommitLineData
099b7d84 1--- f-spot-0.4.1/src/MainWindow.cs.orig 2007-12-29 18:48:46.000000000 +0000
2+++ f-spot-0.4.1/src/MainWindow.cs 2007-12-29 18:43:59.000000000 +0000
3@@ -2099,6 +2099,13 @@
2c6c8200 4 int active = Math.Max (ActiveIndex (), 0);
5 if (fsview == null) {
6 fsview = new FSpot.FullScreenView (query);
7+
8+ Gdk.Screen screen = fsview.Screen;
9+ int monitor = screen.GetMonitorAtWindow (main_window.GdkWindow);
10+ Gdk.Rectangle bounds = screen.GetMonitorGeometry(monitor);
11+ fsview.Move(bounds.X, 0);
12+ fsview.SetDefaultSize(bounds.Width, bounds.Height);
13+
14 fsview.Destroyed += HandleFullScreenViewDestroy;
099b7d84 15 fsview.View.Item.Index = active;
16 ColorDialog.SwitchViews (fsview.View);
17@@ -2142,6 +2149,13 @@
18 int active = Math.Max (ActiveIndex (), 0);
19 if (fsview == null) {
20 fsview = new FSpot.FullScreenView (query);
21+
22+ Gdk.Screen screen = fsview.Screen;
23+ int monitor = screen.GetMonitorAtWindow (main_window.GdkWindow);
24+ Gdk.Rectangle bounds = screen.GetMonitorGeometry(monitor);
25+ fsview.Move(bounds.X, 0);
26+ fsview.SetDefaultSize(bounds.Width, bounds.Height);
27+
28 fsview.Destroyed += HandleFullScreenViewDestroy;
29 fsview.View.Item.Index = active;
30 ColorDialog.SwitchViews (fsview.View);
This page took 0.091648 seconds and 4 git commands to generate.