Render "Ok" and "Cancel" buttons in the options dialog correctly.

Signed-off-by: Adam Tkac <atkac@redhat.com>
This commit is contained in:
Adam Tkac 2011-01-07 13:48:05 +01:00
parent 29341cdd90
commit 82e2ed512b
2 changed files with 21 additions and 1 deletions

View File

@ -2,7 +2,7 @@
Name: tigervnc Name: tigervnc
Version: 1.0.90 Version: 1.0.90
Release: 0.26.%{snap}%{?dist} Release: 0.27.%{snap}%{?dist}
Summary: A TigerVNC remote display system Summary: A TigerVNC remote display system
Group: User Interface/Desktops Group: User Interface/Desktops
@ -43,6 +43,7 @@ Patch0: tigervnc-102434.patch
Patch4: tigervnc-cookie.patch Patch4: tigervnc-cookie.patch
Patch8: tigervnc-viewer-reparent.patch Patch8: tigervnc-viewer-reparent.patch
Patch10: tigervnc11-ldnow.patch Patch10: tigervnc11-ldnow.patch
Patch11: tigervnc11-optionsdialog.patch
%description %description
Virtual Network Computing (VNC) is a remote display system which Virtual Network Computing (VNC) is a remote display system which
@ -128,6 +129,9 @@ This package contains license of the TigerVNC suite
%patch4 -p1 -b .cookie %patch4 -p1 -b .cookie
%patch8 -p1 -b .viewer-reparent %patch8 -p1 -b .viewer-reparent
%patch10 -p1 -b .ldnow %patch10 -p1 -b .ldnow
pushd unix/vncviewer
%patch11 -p0 -b .optionsdialog
popd
cp -r /usr/share/xorg-x11-server-source/* unix/xserver cp -r /usr/share/xorg-x11-server-source/* unix/xserver
pushd unix/xserver pushd unix/xserver
@ -296,6 +300,9 @@ fi
%doc LICENCE.TXT %doc LICENCE.TXT
%changelog %changelog
* Fri Jan 07 2011 Adam Tkac <atkac redhat com> 1.0.90-0.27.20101208svn4225
- render "Ok" and "Cancel" buttons in the options dialog correctly
* Wed Dec 15 2010 Jan Görig <jgorig redhat com> 1.0.90-0.26.20101208svn4225 * Wed Dec 15 2010 Jan Görig <jgorig redhat com> 1.0.90-0.26.20101208svn4225
- added vncserver lock file (#662784) - added vncserver lock file (#662784)

View File

@ -0,0 +1,13 @@
Index: OptionsDialog.h
===================================================================
--- OptionsDialog.h (revision 4225)
+++ OptionsDialog.h (revision 4232)
@@ -198,6 +198,8 @@
y += secVnc.height();
secPlain.move(xPad, y);
y += secPlain.height();
+
+ xPad -= SECOND_COL_XPAD;
#endif
/* Render "OK" and "Cancel" buttons */