PATCH: Open With...

Dawit A. adawit at kde.org
Sun Jul 14 19:27:01 BST 2002


Hello,

Here is a patch that changes/fixes a couple of things in the Open With... 
dialog box:

- Follow the "Open With->" format even if only one application is associated 
with a given mime-type.  I guess this is a matter of preference, but it would 
make the behavior consistent plus reduce the real-state the popup menu 
occupies.

- Make sure that separators are added properly.  Currently there were 
cuircumstances where a double/triple separators were being drawn. The
way to make sure this does not happen is to only add separators "before"
adding new menu items, never "after".  The culprit for the above problem were 
the plugins, specifically the kuick plugin.  As such, with the patch attached 
below, a plugin no longer needs to add any separator unless it specifically 
needs to separate its own items...

Regards,
Dawit A.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: konq_popupmenu.diff
Type: text/x-diff
Size: 8080 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20020714/4992be37/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kuick.diff
Type: text/x-diff
Size: 1481 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20020714/4992be37/attachment-0001.diff>


More information about the kfm-devel mailing list