Author: mkudlvasr
Date: Thu Feb 26 20:11:04 2009
New Revision: 55801
URL: http://svn.opensuse.org/viewcvs/yast?rev=55801&view=rev
Log:
change src/YGDialog.cc to maximize window when screen width <= 800 OR
screen height <= 600. There was AND previously.
fixes bnc#462476
Modified:
trunk/gtk/ChangeLog
trunk/gtk/src/YGDialog.cc
Modified: trunk/gtk/ChangeLog
URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/ChangeLog?rev=55801&r1=55800&r2=55801&view=diff
==============================================================================
--- trunk/gtk/ChangeLog (original)
+++ trunk/gtk/ChangeLog Thu Feb 26 20:11:04 2009
@@ -1,3 +1,8 @@
+2009-02-26 Martin Kudlvasr
+
+ * change src/YGDialog.cc to maximize window when screen width <= 800 OR
+ * screen height <= 600. There was AND previously.
+
2009-02-13 Michael Meeks
* src/YGUtils.cc (ygutils_convert_to_xhtml): handle
Modified: trunk/gtk/src/YGDialog.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/YGDialog.cc?rev=55801&r1=55800&r2=55801&view=diff
==============================================================================
--- trunk/gtk/src/YGDialog.cc (original)
+++ trunk/gtk/src/YGDialog.cc Thu Feb 26 20:11:04 2009
@@ -93,7 +93,7 @@
gtk_window_set_default_size (window, DEFAULT_WIDTH, DEFAULT_HEIGHT);
if (YGUI::ui()->setFullscreen())
gtk_window_fullscreen (window);
- else if (YUI::app()->displayWidth() <= 800 && YUI::app()->displayHeight() <= 600)
+ else if (YUI::app()->displayWidth() <= 800 || YUI::app()->displayHeight() <= 600)
// maximize for small displays
gtk_window_maximize (window);
}
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org