Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 136972 Details for
Bug 131528
net-im/psi-0.11 (version bump)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
this patch removes all sly sotring and just takes first smile for iconselect.
psi-iconselect-direct-order.patch (text/plain), 1.76 KB, created by
Vadim Efimov
on 2007-11-25 12:43:55 UTC
(
hide
)
Description:
this patch removes all sly sotring and just takes first smile for iconselect.
Filename:
MIME Type:
Creator:
Vadim Efimov
Created:
2007-11-25 12:43:55 UTC
Size:
1.76 KB
patch
obsolete
>Index: src/widgets/iconselect.cpp >=================================================================== >--- src/widgets/iconselect.cpp (revision 226) >+++ src/widgets/iconselect.cpp (working copy) >@@ -119,13 +119,13 @@ > > if ( !ic->text().isEmpty() ) { > // first, try to get the text by priorities >- QStringList lang; >+/* QStringList lang; > lang << QString(QTextCodec::locale()).left(2); // most prioritent, is the local language > lang << ""; // and then the language without name goes (international?) > lang << "en"; // then real English >- >+*/ > QString str; >- QStringList::Iterator it = lang.begin(); >+/* QStringList::Iterator it = lang.begin(); > for ( ; it != lang.end(); ++it) { > QHash<QString, QString>::const_iterator it2 = ic->text().find( *it ); > if ( it2 != ic->text().end() ) { >@@ -133,13 +133,14 @@ > break; > } > } >- >+*/ > // if all fails, just get the first text > if ( str.isEmpty() ) > { > QHashIterator<QString, QString> it ( ic->text() ); >- while ( it.hasNext() ) { >- it.next(); >+ it.toBack(); >+ while ( it.hasPrevious() ) { >+ it.previous(); > > if ( !it.value().isEmpty() ) { > str = it.value(); >@@ -150,15 +151,14 @@ > > if ( !str.isEmpty() ) > text = str; >- > // and list of possible variants in the ToolTip >- QString toolTip; >- foreach ( QString icText, ic->text() ) { >+ QString toolTip = text; >+/* foreach ( QString icText, ic->text() ) { > if ( !toolTip.isEmpty() ) > toolTip += ", "; > toolTip += icText; > break; // comment this to get list of iconsets >- } >+ }*/ > if ( toolTip.length() > 30 ) > toolTip = toolTip.left(30) + "..."; > setToolTip(toolTip);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 131528
:
89494
|
89495
|
89499
|
90318
|
105141
|
105212
|
119107
|
119108
|
119110
|
119940
|
124252
|
124272
|
125145
|
126746
|
130417
|
133650
| 136972 |
138080
|
141701
|
141702
|
141704
|
142261
|
143041