Merge lp:~rohangarg/ubiquity/ubiquity into lp:ubiquity

Proposed by Rohan Garg
Status: Merged
Merged at revision: 6173
Proposed branch: lp:~rohangarg/ubiquity/ubiquity
Merge into: lp:ubiquity
Diff against target: 19 lines (+5/-0)
1 file modified
ubiquity/plugins/ubi-language.py (+5/-0)
To merge this branch: bzr merge lp:~rohangarg/ubiquity/ubiquity
Reviewer Review Type Date Requested Status
Ubuntu Installer Team Pending
Review via email: mp+215844@code.launchpad.net
To post a comment you must log in.
lp:~rohangarg/ubiquity/ubiquity updated
6173. By Jonathan Riddell

https://code.launchpad.net/~rohangarg/ubiquity/ubiquity/+merge/215844 Fix firefox themeing in KDE

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'ubiquity/plugins/ubi-language.py'
2--- ubiquity/plugins/ubi-language.py 2014-04-15 10:38:25 +0000
3+++ ubiquity/plugins/ubi-language.py 2014-04-15 11:19:12 +0000
4@@ -497,10 +497,15 @@
5 def openURL(self, url):
6 from PyQt4.QtGui import QDesktopServices
7 from PyQt4.QtCore import QUrl
8+ import shutil, os
9
10 # this nonsense is needed because kde doesn't want to be root
11 misc.drop_privileges()
12 misc.drop_privileges_save()
13+ # copy over gtkrc-2.0 to get the themeing right
14+ if os.direxists("/usr/share/kubuntu-default-settings"):
15+ shutil.copy("/usr/share/kubuntu-default-settings", os.getenv("HOME") +
16+ "./.gtkrc-2.0")
17 QDesktopServices.openUrl(QUrl(url))
18 misc.regain_privileges()
19 misc.regain_privileges_save()

Subscribers

People subscribed via source and target branches

to status/vote changes: