| Summary: | kfmclient doesn't load good xml ui file | ||
|---|---|---|---|
| Product: | [Applications] konqueror | Reporter: | Cédric Bellegarde <web> |
| Component: | general | Assignee: | Konqueror Bugs <konqueror-bugs-null> |
| Status: | RESOLVED INTENTIONAL | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
*** This bug has been confirmed by popular vote. *** |
Version: (using KDE KDE 3.5.2) Installed from: Ubuntu Packages OS: Linux I'm currently writing a doc for "Kde France", i was searching a way to have different rc file for konqueror profiles. so i put this in .kde/share/apps/konqueror/profiles/webbrowsing : XMLUIFile=web.rc It works but there is a bug with kfmclient and preloaded konqueror. kfmclient do a dcop call like this: dcop konqueror-32742 KonquerorIface createBrowserWindowFromProfile /home/gnumdk/.kde/share/apps/konqueror/profiles/webbrowsing and it open konqueror.rc instead of web.rc when you have preloaded konqeror. I look a the code, the problem is in: KonqMainWindow * KonqMisc::createBrowserWindowFromProfile() (konq_misc.cc, 100). I add a "setUiFile" public member in konq_mainwindow.cc to be able to reread xml ui file: void KonqMainWindow::setUiFile(const QString& uiFile) { setXMLFile(uiFile); reloadXML(); } I call this function in KonqMisc::createBrowserWindowFromProfile() but it doesn't work :( I have no idea how to force konqMainWindow to reload the xml ui file. Thanx for any help or for a fix :)