v18 Remove 2nd delete confirmation?
#1
Question 
After enabling "Allow file renaming and deletion", you get 2 confirmation when deleting (file & library)

I'm trying to combine into just one.  Also I noticed in the Grid skin the confirmations default to 'Yes'-

If someone can point me to the right files to tweak for either of these, I'd greatly appreciate it!
Reply
#2
It's a bit of a safety net.

The first requester is remove the file from Kodi's "internal library" but keep the real file.
The second requester is to remove "the real file." and it's gone.

This would be best handled in the 'Grid' forum.

[Moving]
Reply
#3
(2019-02-01, 05:34)PatK Wrote: The first requester is remove the file from Kodi's "internal library" but keep the real file.
The second requester is to remove "the real file." and it's gone.
 Thanks PatK - I understand what the two are, I just find a separate confirmation for each excessive.  Any idea what file handles these?
Reply
#4
They'll be in core code not skin apart from what is focused first (yes/no) and that'll be DialogConfirm.xml.
Reply
#5
Thanks Hitcher!

In case someone else wants to alter the focus in a different skin, here's the relevant code:
Quote:<control type="grouplist" id="9000">
    <centerleft>50%</centerleft>
    <top>360</top>
    <width>1664</width>
    <height>90</height>
    <onup>50</onup>
    <onleft>noop</onleft>
    <onright>71</onright>
    <align>center</align>
    <itemgap>0</itemgap>
    <orientation>horizontal</orientation>
    <!-- Ok -->
    <control type="button" id="11">
        <label>$LOCALIZE[107]</label>
        <width>256</width>
        <font>Black-24</font>
        <include>button_Dialog</include>
    </control>
    <!-- Cancel -->
    <control type="button" id="10">
        <label>$LOCALIZE[106]</label>
        <width>256</width>
        <font>Black-24</font>
        <include>button_Dialog</include>
    </control>
</control>
Reply

Logout Mark Read Team Forum Stats Members Help
Remove 2nd delete confirmation?0