Xavier wrote:
On Fri, Dec 4, 2009 at 10:59 PM, David Rosenstrauch <darose@darose.net> wrote:
Here's a common use case (and probably the reason why that feature got added in the first place):
You're looking through your file manager at a directory full of text documents, and you double-click on whole a bunch of them to edit them in gedit. It would be nice if they all opened in the same editor instance (i.e., in a new tab), rather than having dozens of separate editor windows open up. (I use this functionality all the time, and find it very helpful.)
Having a "New Tab" button doesn't solve this problem at all. The only thing that does solve it is the ability for an existing gedit window be able to get notified about the "open another document" request. And that requires dbus (or similar) to make it happen.
Oh, I did not realize that. I have always found that issue to be a big flaw of gui file managers. So that's the whole point of single instance application and libunique [1] that JGC just mentioned. Of course :) But so it actually means that every application that you can potentially launch on multiple files (from a file manager) would benefit from using libunique (which implies dbus)... or the equivalent functionality on top of dbus... or the equivalent functionality without using a standard interface which would be a big mess ?
If I got that right, I find it quite funny and ironical that a clueless and endless ranting about dbus ended up making me understand the coolness of dbus.
Well, at least something came out of this thread...