Merge lp:~inash/gwibber/gwibber-425929 into lp:gwibber
Proposed by
Inash Zubair
Status: | Rejected |
---|---|
Rejected by: | Robert Bruce Park |
Proposed branch: | lp:~inash/gwibber/gwibber-425929 |
Merge into: | lp:gwibber |
Diff against target: |
12 lines (+1/-1) 1 file modified
gwibber/gwui.py (+1/-1) |
To merge this branch: | bzr merge lp:~inash/gwibber/gwibber-425929 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Bruce Park | Disapprove | ||
Bilal Akhtar (community) | Approve | ||
gwibber-committers | Pending | ||
Review via email: mp+22772@code.launchpad.net |
Description of the change
fix for bug #425929: if application font size is a float (eg: 8.5999), gwibber crashes with exception.
To post a comment you must log in.
Unmerged revisions
- 707. By Inash Zubair
-
fixed application font size setting exception.
Does it really need to eventually be cast to an int? I removed that and let it just use a float and that worked for me.
Otherwise it looks correct to me -- please merge it.
=== modified file 'gwibber/gwui.py' get_string( "/desktop/ gnome/interface /font_name" ) font.rsplit( None, 1) web_settings. set_property( "sans-serif- font-family" , font_name) settings. set_property( "default- font-size" , int(font_size)) settings. set_property( "default- font-size" , float(font_size))
--- gwibber/gwui.py 2010-03-31 04:22:12 +0000
+++ gwibber/gwui.py 2010-05-10 14:34:08 +0000
@@ -237,7 +237,7 @@
default_font = self.gc.
font_name, font_size = default_
self.
- self.web_
+ self.web_
if not resources. theme_exists( theme):
theme = "default"