-
Notifications
You must be signed in to change notification settings - Fork 164
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
Reintroduce GTG tasks DBus interface with Gio #484
base: master
Are you sure you want to change the base?
Reintroduce GTG tasks DBus interface with Gio #484
Conversation
115a86b
to
23a6d30
Compare
23a6d30
to
8cd50a7
Compare
In GLib, there is an Client Proxy you can use to access signals and properties from an DBus interface, but nothing similar for the Server-Side without generating code. So this lays out an class implementers subclass, specify some metadata and implement the methods that the interfaces uses.
Introducing org.gnome.GTG.Tasks, an DBus interface to manage tasks. This is very much inspired by the old "DBus Wrapper", that implemented org.gnome.GTGTasks (I think), but this is in some ways different: * Do actions in batches * Only handle tasks, no UI stuff (actions can replace some)
8cd50a7
to
f7394b7
Compare
Can I leave a wish here? It'd be nice to have a dbus interface to add tasks with the quick add syntax (just passing a string basically). That way we can implement a mini-app to quickly add tasks from a global shortcut (I could swear there was an issue about that but I can't find it now) |
In order to reactivate the GNote plugin i think its necessary to have a dedicated Bus method to add a single Task withouth knowing the resulting ID. I would love to reactivate this interaction as it fits perfectly the flow "Taking Notes -> abstracting tasks from these notes into GTG" |
@diegogangl Is this the correct branch? Any way it can be revived with old methods ? Like OpenTaskEditor(tid), OpenTask(tid, description) ? @Neui ? |
Is this directly related / a prerequisite to #676? In any case, needs to be rebased for 0.7. |
No. |
This is Work In Progress! Fixes #277. View the commits for some more information.
Some stuff is missing:
ModifyTasks
,AddTasks
data/dbus/org.gnome.GTG.Tasks.xml
Decisions:
Future: