It is not hard-coded. THe code you refer is the default value, but after you use it, the dialog *should* remember your last choice.
Have a look at the config file "NOTEBOOK/.zim/state.conf" - there should be a section "[MoveTextDialog]" with a parameter "link=False". Regards, Jaap On Fri, Jun 13, 2014 at 12:17 PM, Sylvain Viart <[email protected]> wrote: > 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 > > > > > > _______________________________________________ > Mailing list: https://launchpad.net/~zim-wiki > Post to : [email protected] > Unsubscribe : https://launchpad.net/~zim-wiki > More help : https://help.launchpad.net/ListHelp > >
_______________________________________________ Mailing list: https://launchpad.net/~zim-wiki Post to : [email protected] Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp

