aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-11-15 03:16:29 +0100
committerRobert Tari <robert@tari.in>2021-11-15 03:16:29 +0100
commita4f024e4bd35e2b4b5570084b40484cf9c26d791 (patch)
tree0a519601faf1feffd043bfbbec9c1a2b346e0f5f
parentf89d65360b67d87f506fc9939df43735a2637427 (diff)
downloadqmenumodel-a4f024e4bd35e2b4b5570084b40484cf9c26d791.tar.gz
qmenumodel-a4f024e4bd35e2b4b5570084b40484cf9c26d791.tar.bz2
qmenumodel-a4f024e4bd35e2b4b5570084b40484cf9c26d791.zip
examples/exportmenu.py: Rename x-canonical-currentvalue
-rwxr-xr-xexamples/exportmenu.py2
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)