diff options
author | monsta <[email protected]> | 2016-08-24 00:56:13 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-08-24 00:59:46 +0300 |
commit | 5815f585f8a6ae967aad703f39cc0dfbae669ff3 (patch) | |
tree | 92fa7882d4a4e27b8e4637a26a63459dc7ac3825 /examples/background-image.py | |
parent | 5e5f64a97de1c1498c7a505a5adb8b83c8474c0a (diff) | |
download | python-caja-5815f585f8a6ae967aad703f39cc0dfbae669ff3.tar.bz2 python-caja-5815f585f8a6ae967aad703f39cc0dfbae669ff3.tar.xz |
examples: add dummy function to background-image extension
seems like the only way to fix Caja warning:
caja_menu_provider_get_background_items: assertion 'CAJA_IS_MENU_PROVIDER (provider)' failed
Diffstat (limited to 'examples/background-image.py')
-rw-r--r-- | examples/background-image.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/background-image.py b/examples/background-image.py index b6d6fe2..3ea0e3c 100644 --- a/examples/background-image.py +++ b/examples/background-image.py @@ -34,3 +34,6 @@ class BackgroundImageExtension(GObject.GObject, Caja.MenuProvider): tip='Set the current image as a background image') item.connect('activate', self.menu_activate_cb, file) return item, + + def get_background_items(self, window, file): + return [] |