Mailinglist Archive: yast-commit (819 mails)

< Previous Next >
[yast-commit] r54441 - in /trunk: libyui/src/YApplication.cc qt/src/YQApplication.cc
  • From: sh-sh-sh@xxxxxxxxxxxxxxxx
  • Date: Wed, 07 Jan 2009 15:35:10 -0000
  • Message-id: <E1LKaR4-0006jp-LJ@xxxxxxxxxxxxxxxx>
Author: sh-sh-sh
Date: Wed Jan 7 16:35:10 2009
New Revision: 54441

URL: http://svn.opensuse.org/viewcvs/yast?rev=54441&view=rev
Log:
fixed bug #461617 (glyphs in Arabic and Hebrew)

Modified:
trunk/libyui/src/YApplication.cc
trunk/qt/src/YQApplication.cc

Modified: trunk/libyui/src/YApplication.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/libyui/src/YApplication.cc?rev=54441&r1=54440&r2=54441&view=diff
==============================================================================
--- trunk/libyui/src/YApplication.cc (original)
+++ trunk/libyui/src/YApplication.cc Wed Jan 7 16:35:10 2009
@@ -189,8 +189,8 @@
string
YApplication::glyph( const string & sym )
{
- if ( sym == YUIGlyph_ArrowLeft ) return ( "<-" );
- else if ( sym == YUIGlyph_ArrowRight ) return ( "->" );
+ if ( sym == YUIGlyph_ArrowLeft ) return (
reverseLayout() ? "->" : "<-" );
+ else if ( sym == YUIGlyph_ArrowRight ) return (
reverseLayout() ? "<-" : "->" );
else if ( sym == YUIGlyph_ArrowUp ) return ( "^" );
else if ( sym == YUIGlyph_ArrowDown ) return ( "v"
);
else if ( sym == YUIGlyph_CheckMark ) return ( "x"
);

Modified: trunk/qt/src/YQApplication.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQApplication.cc?rev=54441&r1=54440&r2=54441&view=diff
==============================================================================
--- trunk/qt/src/YQApplication.cc (original)
+++ trunk/qt/src/YQApplication.cc Wed Jan 7 16:35:10 2009
@@ -443,8 +443,8 @@

// Hint: Use the 'xfd' program to view characters available in the Unicode
font.

- if ( sym == YUIGlyph_ArrowLeft ) unicodeChar = QChar(
0x2190 );
- else if ( sym == YUIGlyph_ArrowRight ) unicodeChar = QChar(
0x2192 );
+ if ( sym == YUIGlyph_ArrowLeft ) unicodeChar = QChar(
reverseLayout() ? 0x2192 : 0x2190 );
+ else if ( sym == YUIGlyph_ArrowRight ) unicodeChar = QChar(
reverseLayout() ? 0x2190 : 0x2192 );
else if ( sym == YUIGlyph_ArrowUp ) unicodeChar = QChar(
0x2191 );
else if ( sym == YUIGlyph_ArrowDown ) unicodeChar = QChar(
0x2193 );
else if ( sym == YUIGlyph_CheckMark ) unicodeChar = QChar(
0x2714 );

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages