summaryrefslogtreecommitdiff
path: root/grc/gui/NotebookPage.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/gui/NotebookPage.py')
-rw-r--r--grc/gui/NotebookPage.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/grc/gui/NotebookPage.py b/grc/gui/NotebookPage.py
index e7a024ab3e..bcfb4d87fe 100644
--- a/grc/gui/NotebookPage.py
+++ b/grc/gui/NotebookPage.py
@@ -54,8 +54,7 @@ class NotebookPage(Gtk.HBox):
# tab box to hold label and close button
self.label = Gtk.Label()
- image = Gtk.Image()
- image.set_from_stock('gtk-close', Gtk.IconSize.MENU)
+ image = Gtk.Image.new_from_icon_name('window-close', Gtk.IconSize.MENU)
image_box = Gtk.HBox(homogeneous=False, spacing=0)
image_box.pack_start(image, True, False, 0)
button = Gtk.Button()