소스 검색

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 년 전
부모
커밋
067940f5aa
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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: