f-spot r4581 - in trunk: . src
- From: sdelcroix svn gnome org
- To: svn-commits-list gnome org
- Subject: f-spot r4581 - in trunk: . src
- Date: Sat, 8 Nov 2008 13:51:26 +0000 (UTC)
Author: sdelcroix
Date: Sat Nov 8 13:51:26 2008
New Revision: 4581
URL: http://svn.gnome.org/viewvc/f-spot?rev=4581&view=rev
Log:
2008-11-08 Stephane Delcroix <sdelcroix novell com>
* src/MainWindow.cs: do not resize the window fi the setting is <= 0.
Fixes bgo #559556.
Modified:
trunk/ChangeLog
trunk/src/MainWindow.cs
Modified: trunk/src/MainWindow.cs
==============================================================================
--- trunk/src/MainWindow.cs (original)
+++ trunk/src/MainWindow.cs Sat Nov 8 13:51:26 2008
@@ -2696,8 +2696,10 @@
case Preferences.MAIN_WINDOW_WIDTH:
case Preferences.MAIN_WINDOW_HEIGHT:
- main_window.Resize(Preferences.Get<int> (Preferences.MAIN_WINDOW_WIDTH),
- Preferences.Get<int> (Preferences.MAIN_WINDOW_HEIGHT));
+ if (Preferences.Get<int> (Preferences.MAIN_WINDOW_WIDTH) > 0 &&
+ Preferences.Get<int> (Preferences.MAIN_WINDOW_HEIGHT) > 0)
+ main_window.Resize(Preferences.Get<int> (Preferences.MAIN_WINDOW_WIDTH),
+ Preferences.Get<int> (Preferences.MAIN_WINDOW_HEIGHT));
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]