[nautilus-python] examples: install TestExtension



commit 908363cc9b25586583ac05284a352813ac7fe8da
Author: Jan Tojnar <jtojnar gmail com>
Date:   Fri Aug 12 04:44:27 2022 +0200

    examples: install TestExtension
    
    We install all other extensions from docs. Also correct the name.

 examples/TestExtension.py | 2 +-
 examples/meson.build      | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/examples/TestExtension.py b/examples/TestExtension.py
index 4f4f047..2294a8c 100644
--- a/examples/TestExtension.py
+++ b/examples/TestExtension.py
@@ -1,7 +1,7 @@
 from gi.repository import Nautilus, GObject
 
 
-class ColumnExtension(GObject.GObject, Nautilus.MenuProvider):
+class TestExtension(GObject.GObject, Nautilus.MenuProvider):
     def __init__(self):
         pass
 
diff --git a/examples/meson.build b/examples/meson.build
index 7550655..5595735 100644
--- a/examples/meson.build
+++ b/examples/meson.build
@@ -10,6 +10,7 @@ install_data(
   'open-terminal.py',
   'md5sum-property-page.py',
   'submenu.py',
+  'TestExtension.py',
   'update-file-info-async.py',
   install_dir: docdir / 'examples',
 )


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]