summaryrefslogtreecommitdiff
path: root/bin
diff options
authorPierre Equoy <pierre.equoy@canonical.com>2022-06-15 11:52:14 +0800
committerPierre Equoy <pierre.equoy@canonical.com>2022-06-15 11:52:14 +0800
commit50b110fc7d6d43ad375c75edb01f809b3109a129 (patch)
treee1a1dd7e8679a752c0d0b14215fb453cd446f1ec /bin
parente25b1973fc78bb10c8a709362ae7d5932769a1d0 (diff)
Fix:touchpad_test.py: icons
Gtk.STOCK_INDEX shows an icon with a few horizontal lines in recent versions of Ubuntu. Replacing this with Gtk.STOCK_DIALOG_QUESTION, an interrogation mark.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/touchpad_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/touchpad_test.py b/bin/touchpad_test.py
index 6ecde92..95d096d 100755
--- a/bin/touchpad_test.py
+++ b/bin/touchpad_test.py
@@ -43,7 +43,7 @@ class GtkScroller(object):
# Initialize GTK constants
self.ICON_SIZE = Gtk.IconSize.BUTTON
self.ICON_TESTED = Gtk.STOCK_YES
- self.ICON_UNTESTED = Gtk.STOCK_INDEX
+ self.ICON_UNTESTED = Gtk.STOCK_DIALOG_QUESTION
self.ICON_NOT_REQUIRED = Gtk.STOCK_REMOVE
self.button_factory = Gtk.Button
@@ -78,7 +78,7 @@ class GtkScroller(object):
for direction in self.directions:
self._add_label(button_hbox, direction.name)
self.icons[direction] = self._add_image(
- validation_hbox, Gtk.STOCK_INDEX)
+ validation_hbox, self.ICON_UNTESTED)
self.show_text(
_("Please move the mouse cursor to this window.") +