Author: mkudlvasr
Date: Thu Feb 19 18:16:48 2009
New Revision: 55623
URL: http://svn.opensuse.org/viewcvs/yast?rev=55623&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:
branches/SuSE-Code-11-Branch/gtk/ChangeLog
branches/SuSE-Code-11-Branch/gtk/VERSION
branches/SuSE-Code-11-Branch/gtk/package/yast2-gtk.changes
branches/SuSE-Code-11-Branch/gtk/src/YGDialog.cc
Modified: branches/SuSE-Code-11-Branch/gtk/ChangeLog
URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/gtk/ChangeLog?rev=55623&r1=55622&r2=55623&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/gtk/ChangeLog (original)
+++ branches/SuSE-Code-11-Branch/gtk/ChangeLog Thu Feb 19 18:16:48 2009
@@ -1,3 +1,10 @@
+2009-02-19 Martin Kudlvasr
+
+ * change src/YGDialog.cc to maximize window when screen width <= 800 OR
+ * screen height <= 600. There was AND previously.
+ * fixes bnc#462476
+ * Version 2.17.12
+
2009-02-17 Martin Kudlvasr
* backport of mmeeks changes in trunk (r55491),
Modified: branches/SuSE-Code-11-Branch/gtk/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/gtk/VERSION?rev=55623&r1=55622&r2=55623&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/gtk/VERSION (original)
+++ branches/SuSE-Code-11-Branch/gtk/VERSION Thu Feb 19 18:16:48 2009
@@ -1 +1 @@
-2.17.11
+2.17.12
Modified: branches/SuSE-Code-11-Branch/gtk/package/yast2-gtk.changes
URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/gtk/package/yast2-gtk.changes?rev=55623&r1=55622&r2=55623&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/gtk/package/yast2-gtk.changes (original)
+++ branches/SuSE-Code-11-Branch/gtk/package/yast2-gtk.changes Thu Feb 19 18:16:48 2009
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Thu Feb 19 18:13:33 CET 2009 - mkudlvasr@suse.cz
+
+- fix for window maximizing on small displays (bnc#462476)
+
+-------------------------------------------------------------------
Tue Feb 17 16:07:14 CET 2009 - mkudlvasr@suse.cz
- fix for wrong handling of & in gtk widgets (bnc#475275)
Modified: branches/SuSE-Code-11-Branch/gtk/src/YGDialog.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/gtk/src/YGDialog.cc?rev=55623&r1=55622&r2=55623&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/gtk/src/YGDialog.cc (original)
+++ branches/SuSE-Code-11-Branch/gtk/src/YGDialog.cc Thu Feb 19 18:16:48 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