Do you call kdesu from your program?

John Tapsell johnflux at gmail.com
Tue Aug 19 11:20:06 BST 2008


2008/8/19 Thiago Macieira <thiago at kde.org>:
> On Tuesday 19 August 2008 11:02:10 John Tapsell wrote:
>> 2008/8/19 Thiago Macieira <thiago at kde.org>:
>> > John Tapsell wrote:
>> >>Hey all,
>> >>  Do you call kdesu from your program?  If so, it might be worth using
>> >>the new --embed <winid>  option.  This attaches the kdesu dialog to
>> >>the window, so that it acts as a real dialog for the program.  This
>> >>solves any focus programs, tab switching problems, etc.
>> >
>> > That's a nice feature, but one nitpicking: I think the name "--embed"
>> > conveys the wrong impression. You're not embedding parts of kdesu, you're
>> > just attaching the kdesu dialog to a master window.
>>
>> I somewhat agree.  However I felt it better to follow what the kdialog
>> app does (which uses --embed).
>>
>> Choose between consistency and correctness :-)
>
> Then correct kdialog too :-)
> --embed should be reserved for actual embedding of a window

If I change kdialog, this may break scripts.  I could change it to
recognise --embed for backwards compatibility, but hide that option in
the --help
Sounds good?

John




More information about the kde-core-devel mailing list