Merge lp:~muktupavels/compiz/fix-few-typos into lp:compiz/0.9.13

Proposed by Alberts Muktupāvels
Status: Merged
Approved by: Dmitry Shachnev
Approved revision: 4161
Merged at revision: 4166
Proposed branch: lp:~muktupavels/compiz/fix-few-typos
Merge into: lp:compiz/0.9.13
Diff against target: 38 lines (+3/-4)
2 files modified
compizconfig/ccsm/ccm/Conflicts.py (+0/-1)
compizconfig/ccsm/ccm/Widgets.py (+3/-3)
To merge this branch: bzr merge lp:~muktupavels/compiz/fix-few-typos
Reviewer Review Type Date Requested Status
Marco Trevisan (Treviño) Approve
Dmitry Shachnev Approve
Review via email: mp+349664@code.launchpad.net

Commit message

ccsm: fix few typos.

Description of the change

Fix few typos.

To post a comment you must log in.
Revision history for this message
Dmitry Shachnev (mitya57) :
review: Approve
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Ack

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'compizconfig/ccsm/ccm/Conflicts.py'
2--- compizconfig/ccsm/ccm/Conflicts.py 2018-07-11 21:59:31 +0000
3+++ compizconfig/ccsm/ccm/Conflicts.py 2018-07-16 23:36:27 +0000
4@@ -519,4 +519,3 @@
5 return answer, choice
6
7 return answer
8- e
9
10=== modified file 'compizconfig/ccsm/ccm/Widgets.py'
11--- compizconfig/ccsm/ccm/Widgets.py 2018-07-12 14:41:42 +0000
12+++ compizconfig/ccsm/ccm/Widgets.py 2018-07-16 23:36:27 +0000
13@@ -78,7 +78,7 @@
14 Gtk.CellRenderer.__init__(self)
15
16 def _parse_color(self):
17- color = Gdk.Color_parse(self._text[:-4])
18+ color = Gdk.Color.parse(self._text[:-4])
19 alpha = int("0x%s" % self._text[-4:], base=16)
20 self._color = [color.red/65535.0, color.green/65535.0, color.blue/65535.0, alpha/65535.0]
21
22@@ -155,7 +155,7 @@
23 for plugin in sorted(plugins.values(), key=PluginKeyFunc):
24 liststore.append([plugin.ShortDesc, Image(plugin.Name, type=ImagePlugin).props.pixbuf,
25 plugin.Enabled, plugin])
26-
27+
28 self.insert_column_with_attributes(0, _('Plugin'), Gtk.CellRendererPixbuf(), pixbuf=1, sensitive=2)
29 column = self.get_column(0)
30
31@@ -1278,7 +1278,7 @@
32 return
33 try:
34 pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_size (path, 128, 128)
35- except gobject.GError:
36+ except GObject.GError:
37 return
38 widget.get_preview_widget ().set_from_pixbuf (pixbuf)
39

Subscribers

People subscribed via source and target branches