[gnome-tweak-tool] Fix make_image definition
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tweak-tool] Fix make_image definition
- Date: Mon, 19 Aug 2013 09:47:22 +0000 (UTC)
commit 94bcdf8eadc4630a8cd4c85b7ab013e5fc1ff319
Author: John Stowers <john stowers gmail com>
Date: Mon Aug 19 11:46:51 2013 +0200
Fix make_image definition
gtweak/tweaks/tweak_group_shell_extensions.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtweak/tweaks/tweak_group_shell_extensions.py b/gtweak/tweaks/tweak_group_shell_extensions.py
index 27f3cb3..8b386d8 100644
--- a/gtweak/tweaks/tweak_group_shell_extensions.py
+++ b/gtweak/tweaks/tweak_group_shell_extensions.py
@@ -72,11 +72,11 @@ class _ShellExtensionTweak(Gtk.ListBoxRow, Tweak):
if info:
- inf = make_image("dialog-information-symbolic", info)
+ inf = self.make_image("dialog-information-symbolic", info)
self.hbox.pack_start(inf, False, False, 0)
if warning:
- wg = make_image("dialog-warning-symbolic", warning)
+ wg = self.make_image("dialog-warning-symbolic", warning)
self.hbox.pack_start(wg, False, False, 0)
if self._shell.SUPPORTS_EXTENSION_PREFS:
@@ -169,7 +169,7 @@ class _ShellExtensionTweak(Gtk.ListBoxRow, Tweak):
updateButton.show()
self.hbox.pack_end(updateButton, False, False, 0)
- def make_image(icon, tip):
+ def make_image(self, icon, tip):
image = Gtk.Image.new_from_icon_name(icon, Gtk.IconSize.MENU)
image.set_tooltip_text(tip)
return image
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]