diff options
author | Eben Eliason <eben@sugar.(none)> | 2008-10-20 21:23:52 (GMT) |
---|---|---|
committer | Eben Eliason <eben@sugar.(none)> | 2008-10-20 21:23:52 (GMT) |
commit | eabae5e753e8d8d0e9f8c8e466e859206ef089e8 (patch) | |
tree | ea415cff8679cd462cc43d1e72a8847ccc2ec714 | |
parent | 7d0a46f32e23287b336cc9b4a8d6043c322416f2 (diff) |
Clarify call to set_icon_pixbuf with keyword args.
-rw-r--r-- | src/jarabe/frame/clipboardicon.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jarabe/frame/clipboardicon.py b/src/jarabe/frame/clipboardicon.py index 718bd15..ff63ad9 100644 --- a/src/jarabe/frame/clipboardicon.py +++ b/src/jarabe/frame/clipboardicon.py @@ -142,8 +142,8 @@ class ClipboardIcon(RadioToolButton): icon_theme = gtk.icon_theme_get_default() pixbuf = icon_theme.load_icon(self._icon.props.icon_name, style.STANDARD_ICON_SIZE, 0) - context.set_icon_pixbuf(pixbuf, pixbuf.props.width / 2, - pixbuf.props.height / 2) + context.set_icon_pixbuf(pixbuf, hot_x=pixbuf.props.width / 2, + hot_y=pixbuf.props.height / 2) def _notify_active_cb(self, widget, pspec): if self.props.active: |