xfrun4 + dbus

Jani Monoses jani.monoses at gmail.com
Tue Feb 7 16:50:19 CET 2006


Benedikt Meurer wrote:
> Jani Monoses wrote:
> 
>>>>>>VOID OpenDialog (STRING working_directory)
>>>>>>VOID OpenDialogOnDisplay (STRING working_directory, STRING display)
>>
>>thinking a bit more about this, wouldn't the first function be 
>>equivalent to the second being called with display="" meaning default 
>>just as passing "" as working_directory means don't care, use current?
>>Would make implementing simpler.
> 
> 
> I'm working on the implementation for Thunar, and I was thinking the
> same. ;-)
> 

Here's what I have so far. Would be nice to put all the common parts in 
one of the libxfce's or at least the service definition constants.

Diff against build files and xinitrc and the other files attached.
xfrun-background is started from xinitrc as xfdesktop is and xftaskbar 
used to. You mentioned autostart or session management. Is either 
preferred, and if so should it apply to other programs started in xinitrc?

xfrun is just the dbus call with directory "" and display the current 
display.

One thing which I don't see how it would fit with current xfrun is that 
right now it used to take an optional parameter as a program to pass a 
document to.Now I ignore this.

I left the rest of the code untouched as the cleanup that Brian proposed 
can be made after this works.

Jani
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: xf.diff
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20060207/fef92e04/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xfrun-background.c
Type: text/x-csrc
Size: 17797 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20060207/fef92e04/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xfrun.h
Type: text/x-chdr
Size: 334 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20060207/fef92e04/attachment.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xfrun.c
Type: text/x-csrc
Size: 2546 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20060207/fef92e04/attachment-0001.c>


More information about the Xfce4-dev mailing list