-
-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Library: Port 'Toasts' to Python #732
base: main
Are you sure you want to change the base?
Conversation
|
||
|
||
action_console.connect("activate", on_activate) | ||
workbench.window.add_action(action_console) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi! Thank you! The demo unfortunately does not launch for me:
Traceback (most recent call last):
File "/app/share/re.sonny.Workbench.Devel/gdbus_ext.py", line 319, in on_method_call
result = method_func(obj, *args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/app/share/re.sonny.Workbench.Devel/python-previewer.py", line 135, in run
spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/marco/.var/app/re.sonny.Workbench.Devel/data/re.sonny.Workbench.Devel/sessions/2023-11-11 17-13-05/main.py", line 52, in <module>
workbench.window.add_action(action_console)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Window' object has no attribute 'add_action'
That part is probably not supportable yet in Python either, see also the Vala code and the issue it's refering: #110
That's exactly what I said above 😄.
|
I have converted to draft. |
Oh, hm! Sorry about that, I think GitHub didn't show me your comments yesterday 🧐 |
@UrtsiSantsi could you reopen this against https://github.com/workbenchdev/demos ? I think we should move forward and just disable the action button for now. Like Vala |
No description provided.