Browse Source

rpc-window: use 'edit-find' icon if no other is found

'gnome-foot' icon is not present in Adwaita theme.

QubesOS/qubes-issues#910
Marek Marczykowski-Górecki 7 năm trước cách đây
mục cha
commit
067940f5aa
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      qubespolicy/gtkhelpers.py
  2. 1 1
      qubespolicy/tests/gtkhelpers.py

+ 1 - 1
qubespolicy/gtkhelpers.py

@@ -40,7 +40,7 @@ class GtkIconGetter:
             try:
                 icon = self._theme.load_icon(name, self._size, 0)
             except GLib.Error:
-                icon = self._theme.load_icon("gnome-foot", self._size, 0)
+                icon = self._theme.load_icon("edit-find", self._size, 0)
 
             self._icons[name] = icon
 

+ 1 - 1
qubespolicy/tests/gtkhelpers.py

@@ -55,7 +55,7 @@ class MockVmLabel:
         self.color = color
         self.name = name
         self.dispvm = dispvm
-        self.icon = "gnome-foot"
+        self.icon = "edit-find"
 
 
 class MockVm: