From eabae5e753e8d8d0e9f8c8e466e859206ef089e8 Mon Sep 17 00:00:00 2001 From: Eben Eliason Date: Mon, 20 Oct 2008 21:23:52 +0000 Subject: Clarify call to set_icon_pixbuf with keyword args. --- 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: -- cgit v0.9.1