Replace deprecated gtk-dialog-authentication icon
This commit is contained in:
parent
de9a1ce069
commit
80bf5183c9
1 changed files with 2 additions and 2 deletions
|
@ -265,7 +265,7 @@ class RosterWindow:
|
||||||
|
|
||||||
tls_pixbuf = None
|
tls_pixbuf = None
|
||||||
if gajim.account_is_securely_connected(account):
|
if gajim.account_is_securely_connected(account):
|
||||||
tls_pixbuf = gtkgui_helpers.get_icon_pixmap('gtk-dialog-authentication', 24)
|
tls_pixbuf = gtkgui_helpers.get_icon_pixmap('changes-prevent', 16)
|
||||||
# the only way to create a pixbuf from stock
|
# the only way to create a pixbuf from stock
|
||||||
# tls_pixbuf = self.window.render_icon_pixbuf(
|
# tls_pixbuf = self.window.render_icon_pixbuf(
|
||||||
# Gtk.STOCK_DIALOG_AUTHENTICATION, Gtk.IconSize.MENU)
|
# Gtk.STOCK_DIALOG_AUTHENTICATION, Gtk.IconSize.MENU)
|
||||||
|
@ -1048,7 +1048,7 @@ class RosterWindow:
|
||||||
|
|
||||||
if gajim.account_is_securely_connected(account) and not self.regroup or\
|
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:
|
self.regroup and num_of_secured and num_of_secured == num_of_accounts:
|
||||||
tls_pixbuf = gtkgui_helpers.get_icon_pixmap('gtk-dialog-authentication', 24)
|
tls_pixbuf = gtkgui_helpers.get_icon_pixmap('changes-prevent', 16)
|
||||||
# the only way to create a pixbuf from stock
|
# the only way to create a pixbuf from stock
|
||||||
# tls_pixbuf = self.window.render_icon_pixbuf(
|
# tls_pixbuf = self.window.render_icon_pixbuf(
|
||||||
# Gtk.STOCK_DIALOG_AUTHENTICATION, Gtk.IconSize.MENU)
|
# Gtk.STOCK_DIALOG_AUTHENTICATION, Gtk.IconSize.MENU)
|
||||||
|
|
Loading…
Add table
Reference in a new issue