Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 167988 Details for
Bug 241248
Ebuild request x11-themes/gtk-engines-kde4
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to go with the ebuild.
move_theme.patch (text/plain), 1.65 KB, created by
Marek Sapota
on 2008-10-11 10:19:43 UTC
(
hide
)
Description:
Patch to go with the ebuild.
Filename:
MIME Type:
Creator:
Marek Sapota
Created:
2008-10-11 10:19:43 UTC
Size:
1.65 KB
patch
obsolete
>--- gtk-kde4/src/form1.cpp~ 2008-07-16 20:21:50.000000000 +0400 >+++ gtk-kde4/src/form1.cpp 2008-07-16 21:01:48.000000000 +0400 >@@ -51,8 +51,16 @@ > } > } > varstr=QDir::homePath().append("/.themes"); >- hometh=varstr+"/qt4"; >+ hometh=varstr+"/Qt4"; > dirqt.setPath(hometh); >+ >+ if ((dirqt.exists()==0) && (QDir("/usr/share/themes/Qt4").exists())) >+ { >+ QProcess * copy = new QProcess(); >+ copy->execute(QString("cp"), QStringList()<<"-R"<<"/usr/share/themes/Qt4"<<"~/.themes/"); >+ delete copy; >+ } >+ > if(dirqt.exists()) > { > comboBox->insertItem(0,"Use current KDE style"); >@@ -76,7 +84,7 @@ > for (i=1; i!=filesel.size(); i++) > { > filesel[i].remove("/gtk-2.0"); >- if (filesel.at(i)!="qt4") comboBox->addItem(filesel.at(i)); >+ if (filesel.at(i)!="Qt4") comboBox->addItem(filesel.at(i)); > } > } > //icons finding >@@ -198,7 +206,7 @@ > menu->show(); > //fix Oxy! ^ > >- QDir::setCurrent(QDir::homePath().append("/.themes/qt4/gtk-2.0/")); >+ QDir::setCurrent(QDir::homePath().append("/.themes/Qt4/gtk-2.0/")); > wpix=QPixmap(widge->size()); > wpix.fill(Qt::transparent); > bpix=QPixmap(widge->size()); >@@ -422,8 +430,8 @@ > out<<"include \"/usr/share/themes/"<<comboBox->currentText()<<"/gtk-2.0/gtkrc\""<<endl; > out<<"include \""<<QDir::homePath()<<"/.themes/"<<comboBox->currentText()<<"/gtk-2.0/gtkrc\""<<endl; > }else{ >- out<<"include \"/usr/share/themes/qt4/gtk-2.0/gtkrc\""<<endl; >- out<<"include \""<<QDir::homePath()<<"/.themes/qt4/gtk-2.0/gtkrc\""<<endl; >+ out<<"include \"/usr/share/themes/Qt4/gtk-2.0/gtkrc\""<<endl; >+ out<<"include \""<<QDir::homePath()<<"/.themes/Qt4/gtk-2.0/gtkrc\""<<endl; > } > out<<"style \"user-font\""<<endl; > out<<"{ "<<endl;
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 241248
:
167986
| 167988