Merge lp:~kiwinote/software-center/bug961102 into lp:software-center

Proposed by Kiwinote on 2012-03-21
Status: Merged
Merged at revision: 2907
Proposed branch: lp:~kiwinote/software-center/bug961102
Merge into: lp:software-center
Diff against target: 32 lines (+14/-0)
2 files modified
debian/changelog (+8/-0)
softwarecenter/ui/gtk3/app.py (+6/-0)
To merge this branch: bzr merge lp:~kiwinote/software-center/bug961102
Reviewer Review Type Date Requested Status
Gary Lasker (community) 2012-03-21 Approve on 2012-03-21
Review via email: mp+98633@code.launchpad.net

Description of the change

looks like the latest gtk broke the theming

To post a comment you must log in.
Gary Lasker (gary-lasker) wrote :

Rock!! Thank you, kiwinote!!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2012-03-20 19:31:21 +0000
3+++ debian/changelog 2012-03-21 13:54:18 +0000
4@@ -1,3 +1,11 @@
5+software-center (5.1.13.2) UNRELEASED; urgency=low
6+
7+ * looks like the latest gtk causes us to receive less style-updated
8+ signals, call init_sc_css_provider explicitly so we don't loose our
9+ custom theming (LP: #961102)
10+
11+ -- Kiwinote <kiwinote@gmail.com> Wed, 21 Mar 2012 13:44:32 +0000
12+
13 software-center (5.1.13.1) precise; urgency=low
14
15 [ Kiwinote ]
16
17=== modified file 'softwarecenter/ui/gtk3/app.py'
18--- softwarecenter/ui/gtk3/app.py 2012-03-20 17:01:51 +0000
19+++ softwarecenter/ui/gtk3/app.py 2012-03-21 13:54:18 +0000
20@@ -278,6 +278,12 @@
21 settings = Gtk.Settings.get_default()
22 settings.set_property("gtk-error-bell", False)
23
24+ # initial css loading
25+ init_sc_css_provider(self.window_main,
26+ settings,
27+ Gdk.Screen.get_default(),
28+ datadir)
29+
30 # wire up the css provider to reconfigure on theme-changes
31 self.window_main.connect("style-updated",
32 self._on_style_updated,

Subscribers

People subscribed via source and target branches