diff options
author | Robert Tari <robert@tari.in> | 2021-11-15 03:16:29 +0100 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-11-15 03:16:29 +0100 |
commit | a4f024e4bd35e2b4b5570084b40484cf9c26d791 (patch) | |
tree | 0a519601faf1feffd043bfbbec9c1a2b346e0f5f /examples | |
parent | f89d65360b67d87f506fc9939df43735a2637427 (diff) | |
download | qmenumodel-a4f024e4bd35e2b4b5570084b40484cf9c26d791.tar.gz qmenumodel-a4f024e4bd35e2b4b5570084b40484cf9c26d791.tar.bz2 qmenumodel-a4f024e4bd35e2b4b5570084b40484cf9c26d791.zip |
examples/exportmenu.py: Rename x-canonical-currentvalue
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/exportmenu.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/exportmenu.py b/examples/exportmenu.py index 8e0f16e..ed996e2 100755 --- a/examples/exportmenu.py +++ b/examples/exportmenu.py @@ -42,7 +42,7 @@ def bus_acquired(bus, name): bar = Gio.MenuItem.new('bar', 'bar') bar.set_attribute_value('x-defaultvalue', GLib.Variant.new_string('Hello World!')) - bar.set_attribute_value('x-canonical-currentvalue', + bar.set_attribute_value('x-ayatana-currentvalue', GLib.Variant.new_string('awesome')) bar.set_attribute_value('x-velocity', GLib.Variant.new_uint64(83374)) menu.append_item(bar) |