changeset 2aa7b24c6157 in /home/hg/repos/gajim
branches: gtk3 details:http://hg.gajim.org/gajim?cmd=changeset;node=2aa7b24c6157 description: render_icon -> render_icon_pixbuf
diffstat:
src/filetransfers_window.py | 3 ++- src/plugins/gui.py | 2 +- src/roster_window.py | 7 +++---- 3 files changed, 6 insertions(+), 6 deletions(-)
diffs (49 lines):
diff -r 8683c53f409f -r 2aa7b24c6157 src/filetransfers_window.py --- a/src/filetransfers_window.py Mon Jul 29 18:22:19 2013 +0200 +++ b/src/filetransfers_window.py Mon Jul 29 18:29:24 2013 +0200 @@ -473,7 +473,8 @@
def get_icon(self, ident): return self.images.setdefault(ident, - self.window.render_icon(self.icons[ident], Gtk.IconSize.MENU)) + self.window.render_icon_pixbuf(self.icons[ident], + Gtk.IconSize.MENU))
def set_status(self,file_props, status): """ diff -r 8683c53f409f -r 2aa7b24c6157 src/plugins/gui.py --- a/src/plugins/gui.py Mon Jul 29 18:22:19 2013 +0200 +++ b/src/plugins/gui.py Mon Jul 29 18:29:24 2013 +0200 @@ -91,7 +91,7 @@ self.installed_plugins_treeview.append_column(col)
icon = Gtk.Image() - self.def_icon = icon.render_icon(Gtk.STOCK_PREFERENCES, + self.def_icon = icon.render_icon_pixbuf(Gtk.STOCK_PREFERENCES, Gtk.IconSize.MENU)
# connect signal for selection change diff -r 8683c53f409f -r 2aa7b24c6157 src/roster_window.py --- a/src/roster_window.py Mon Jul 29 18:22:19 2013 +0200 +++ b/src/roster_window.py Mon Jul 29 18:29:24 2013 +0200 @@ -262,9 +262,8 @@ tls_pixbuf = None if gajim.account_is_securely_connected(account): # the only way to create a pixbuf from stock - tls_pixbuf = self.window.render_icon( - Gtk.STOCK_DIALOG_AUTHENTICATION, - Gtk.IconSize.MENU) + tls_pixbuf = self.window.render_icon_pixbuf( + Gtk.STOCK_DIALOG_AUTHENTICATION, Gtk.IconSize.MENU)
it = self.model.append(None, [ gajim.interface.jabber_state_images['16'][show], @@ -1040,7 +1039,7 @@ if gajim.account_is_securely_connected(account) and not self.regroup or\ self.regroup and num_of_secured and num_of_secured == num_of_accounts: # the only way to create a pixbuf from stock - tls_pixbuf = self.window.render_icon( + tls_pixbuf = self.window.render_icon_pixbuf( Gtk.STOCK_DIALOG_AUTHENTICATION, Gtk.IconSize.MENU) self.model[child_iter][C_PADLOCK_PIXBUF] = tls_pixbuf else: