Skip to content

Commit b7fe9c2

Browse files
committed
Fix iconview example
1 parent ca36025 commit b7fe9c2

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

examples/iconview_example.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from gi.repository import Gtk
22
from gi.repository.GdkPixbuf import Pixbuf
33

4-
icons = ["gtk-cut", "gtk-paste", "gtk-copy"]
4+
icons = ["edit-cut", "edit-paste", "edit-copy"]
55

66
class IconViewWindow(Gtk.Window):
77

images/iconview_example.png

11.3 KB
Loading

source/iconview.txt

+2
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@ Similarly to :class:`Gtk.TreeView`, :class:`Gtk.IconView` uses a :class:`Gtk.Lis
99
Example
1010
_______
1111

12+
.. image:: ../images/iconview_example.png
13+
1214
.. literalinclude:: ../examples/iconview_example.py
1315
:linenos:

0 commit comments

Comments
 (0)