From 82e2ed512bc9dd02ee7baae0b0dfc0ed5228045e Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Fri, 7 Jan 2011 13:48:05 +0100 Subject: [PATCH] Render "Ok" and "Cancel" buttons in the options dialog correctly. Signed-off-by: Adam Tkac --- tigervnc.spec | 9 ++++++++- tigervnc11-optionsdialog.patch | 13 +++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 tigervnc11-optionsdialog.patch diff --git a/tigervnc.spec b/tigervnc.spec index 1213a93..14f9d97 100644 --- a/tigervnc.spec +++ b/tigervnc.spec @@ -2,7 +2,7 @@ Name: tigervnc Version: 1.0.90 -Release: 0.26.%{snap}%{?dist} +Release: 0.27.%{snap}%{?dist} Summary: A TigerVNC remote display system Group: User Interface/Desktops @@ -43,6 +43,7 @@ Patch0: tigervnc-102434.patch Patch4: tigervnc-cookie.patch Patch8: tigervnc-viewer-reparent.patch Patch10: tigervnc11-ldnow.patch +Patch11: tigervnc11-optionsdialog.patch %description 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 %patch8 -p1 -b .viewer-reparent %patch10 -p1 -b .ldnow +pushd unix/vncviewer +%patch11 -p0 -b .optionsdialog +popd cp -r /usr/share/xorg-x11-server-source/* unix/xserver pushd unix/xserver @@ -296,6 +300,9 @@ fi %doc LICENCE.TXT %changelog +* Fri Jan 07 2011 Adam Tkac 1.0.90-0.27.20101208svn4225 +- render "Ok" and "Cancel" buttons in the options dialog correctly + * Wed Dec 15 2010 Jan Görig 1.0.90-0.26.20101208svn4225 - added vncserver lock file (#662784) diff --git a/tigervnc11-optionsdialog.patch b/tigervnc11-optionsdialog.patch new file mode 100644 index 0000000..ccfb298 --- /dev/null +++ b/tigervnc11-optionsdialog.patch @@ -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 */