Comments (4)
Maemo's libcontentaction does support that, and it's time-tested; I believe its .desktop file format is flexible enough. It can be viewed in the overview: http://harmattan-dev.nokia.com/docs/platform-api-reference/showdoc.php?pkn=libcontentaction&wb=daily-docs&url=Li94bWwvZGFpbHktZG9jcy9saWJjb250ZW50YWN0aW9u
Launchpad Details: #LPC Sergey "Shnatsel" Davidoff - 2012-10-03 15:45:47 +0000
from contractor.
Discussion from the Google Doc (http://goo.gl/A2lHJ):
Сергей Давыдов
11:47 AM Sep 4
It's not only ugly, it's limited too. Not every useful D-bus request can be performed with dbus-send.
Fabian Thoma
4:29 PM Oct 26
so how is this needed in contractor? Last time I checked this was a commandline interface and not dbus?
Сергей Давыдов
4:39 PM Oct 26
Exposing app capabilities over D-bus is the cleanest way I can think of. D-bus is designed for this, so we should support calling things over D-bus.
"dbus-send" is what converts command-line stuff to d-bus calls; it's a hacky workaround until we have native D-bus support.
Launchpad Details: #LPC Cassidy James Blaede - 2012-11-09 20:36:39 +0000
from contractor.
Does the rewrite affect this?
Launchpad Details: #LPC Cody Garver - 2013-04-22 19:38:32 +0000
from contractor.
On a second thought, D-bus actions are usually quite low-level, so we'd have to present the user with some kind of intermediate UI either way.
For example, sending files with Empathy and Pidgin requires choosing the recipient first in some kind of external UI, as seen in e.g. nautilus-sendto.
Thus calling D-bus actions from Contractor directly might be not needed.
Launchpad Details: #LPC Sergey "Shnatsel" Davidoff - 2013-04-25 15:13:12 +0000
from contractor.
Related Issues (18)
- Support TryExec key like in .desktop files HOT 4
- Discriminate between single file and multi-file actions [$50] HOT 4
- documentation anywhere?? HOT 7
- filter functions based on file size HOT 1
- How to debug? HOT 5
- Migrate to Meson
- meson regression: contract directory no longer installed HOT 4
- Put all contracts in a single repository HOT 1
- Contractor doesn't allow disabling system-wide contracts HOT 5
- wrong RDNN for dbus service
- Document how to provide contracts from flatpak apps HOT 3
- Is there a proper way to translate contract files? HOT 5
- Doesn't provide a way to conditionally show contracts or make them sensitive HOT 3
- Support text buffers like plain text selection or URL HOT 2
- Contractor is GIGO HOT 1
- Send files via Bluetooth option present when no bluetooth HOT 1
- man page is in packaging instead of main source code HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from contractor.