Skip to content

Commit

Permalink
- Fixed window size (bnc #722053)
Browse files Browse the repository at this point in the history
- 2.42.3
  • Loading branch information
tgoettlicher committed Feb 11, 2013
1 parent 9f744df commit 4c71793
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 11 16:53:11 CET 2013 - tgoettlicher@suse.de
- Fixed window size (bnc #722053)
- 2.42.3

-------------------------------------------------------------------
Fri Jan 18 15:13:21 CET 2013 - anaselli@linux.it
- Added a basic theme management by using css style (style.css)
Expand Down
2 changes: 1 addition & 1 deletion VERSION.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SET( VERSION_MAJOR "2" )
SET( VERSION_MINOR "42" )
SET( VERSION_PATCH "2" )
SET( VERSION_PATCH "3" )
SET( VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}${VERSION_SHA1}" )

##### This is need for the libyui core, ONLY.
Expand Down
2 changes: 2 additions & 0 deletions src/YGDialog.cc
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ class YGWindow
height = MIN (height, YUI::app()->displayHeight());

gtk_window_set_default_size (window, width, height);
gtk_window_resize(window, width, height);

if (YGUI::ui()->setFullscreen())
gtk_window_fullscreen (window);
else if (YUI::app()->displayWidth() <= 800 || YUI::app()->displayHeight() <= 600)
Expand Down

0 comments on commit 4c71793

Please sign in to comment.