Author: rpmcruz Date: Fri Jul 2 14:27:27 2010 New Revision: 62174 URL: http://svn.opensuse.org/viewcvs/yast?rev=62174&view=rev Log: * src/YGDialog.cc: bug fix 618951: sw_single too big for some screens. Modified: trunk/gtk/ChangeLog trunk/gtk/package/yast2-gtk.changes trunk/gtk/src/YGDialog.cc Modified: trunk/gtk/ChangeLog URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/ChangeLog?rev=62174&r1=62173&r2=62174&view=diff ============================================================================== --- trunk/gtk/ChangeLog (original) +++ trunk/gtk/ChangeLog Fri Jul 2 14:27:27 2010 @@ -1,3 +1,8 @@ +2010-07-02 Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt> + + * src/YGDialog.cc: bug fix 618951: sw_single too + big for some screens. + 2010-06-25 Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt> * src/YGDialog.cc: compile fix. Modified: trunk/gtk/package/yast2-gtk.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/package/yast2-gtk.changes?rev=62174&r1=62173&r2=62174&view=diff ============================================================================== --- trunk/gtk/package/yast2-gtk.changes (original) +++ trunk/gtk/package/yast2-gtk.changes Fri Jul 2 14:27:27 2010 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Jul 02 13:25:00 WET 2010 - rpmcruz@alunos.dcc.fc.up.pt + +- 2.21.58 +- sw_single window too big for some screens (bnc#618951) + +------------------------------------------------------------------- Fri Jun 26 15:37:00 WET 2010 - badshah400@gmail.com - 2.21.57 Modified: trunk/gtk/src/YGDialog.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/YGDialog.cc?rev=62174&r1=62173&r2=62174&view=diff ============================================================================== --- trunk/gtk/src/YGDialog.cc (original) +++ trunk/gtk/src/YGDialog.cc Fri Jul 2 14:27:27 2010 @@ -98,6 +98,8 @@ width = YGUI::ui()->defaultWidth(); if (YGUI::ui()->defaultHeight()) height = YGUI::ui()->defaultHeight(); + width = MIN (width, YUI::app()->displayWidth()); + height = MIN (height, YUI::app()->displayHeight()); gtk_window_set_default_size (window, width, height); if (YGUI::ui()->setFullscreen()) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org