← Back to team overview

zim-wiki team mailing list archive

Re: change default unchecked option insert link on move selected text

 

On 13/06/2014 11:10, Sylvain Viart wrote:
The right click "move selected text" is quite a good tool, moving a task to some other page. But the popup have a default option selected. "Leave link to new page".
[...]
If not could you point me the code, and I'm gonna try to make a patch.
Seems hard coded.

Tried to change, with no success...


     class MoveTextDialog(Dialog)

/usr/share/pyshared/zim/gui/pageview.py
/usr/lib/python2.7/dist-packages/zim/gui/pageview.py <= same symlink...

seeking for "Leave link to new page"
self.uistate.setdefault('link', True) => self.uistate.setdefault('link', False)

lrwxrwxrwx 1 root root 49 mai 3 2013 /usr/lib/python2.7/dist-packages/zim/gui/pageview.py -> ../../../../../share/pyshared/zim/gui/pageview.py






Follow ups

References