]> git.pld-linux.org Git - packages/f-spot.git/blame - f-spot-fs.patch
- added ac.patch
[packages/f-spot.git] / f-spot-fs.patch
CommitLineData
0e81bdbe 1--- f-spot-0.4.2/src/MainWindow.cs.orig 2008-02-14 22:26:50.000000000 +0000
2+++ f-spot-0.4.2/src/MainWindow.cs 2008-03-12 14:48:14.000000000 +0000
3@@ -2067,6 +2067,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);
0e81bdbe 17@@ -2110,6 +2117,13 @@
099b7d84 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.029114 seconds and 4 git commands to generate.