Do you call kdesu from your program?
Thiago Macieira
thiago at kde.org
Tue Aug 19 12:36:10 BST 2008
On Tuesday 19 August 2008 12:20:06 John Tapsell wrote:
> 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?
Yep.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080819/5758ab98/attachment.sig>
More information about the kde-core-devel
mailing list