On Sat, 9 Jul 2011 10:29:51 -0700 (PDT)
SegundoBob <[email protected]> wrote:

> Whenever I enable the quickMove.py plugin, I get the
> "menu already exists: Move" error message in the log pane on start
> up.  Enabling/disabling the quicksearch.py plugin does not affect
> this.  I have not noticed any ill affects.

=== modified file 'leo/plugins/quickMove.py'
--- leo/plugins/quickMove.py    2011-07-06 14:48:54 +0000
+++ leo/plugins/quickMove.py    2011-07-09 18:29:35 +0000
@@ -222,7 +222,7 @@
         for i in reversed([b for b in buttons_todo if 'parent' in b]):
             self.addButton(i['first'], i['type'], v=i['v'], parent=i['parent'])
 
-        c.frame.menu.createNewMenu('Move', 'Outline')
+        # c.frame.menu.createNewMenu('Move', 'Outline')
 
         self.local_imps = []  # make table for createMenuItemsFromTable()
         for func, name, text in self.imps:

pushed at 4424.  Now, if the menu isn't present, you get a warning
about it's absence.  Don't really know why quickMove adds a couple of
entries to it, all it's commands are under the tree context menu.

Cheers -Terry


> Version: revision 4413
> OS:  Ubuntu Studio 11.04 (natty)
> 
> Log Pane on entry:
> 
> Leo Log Window
> Leo 4.9 final, build 4411, June 21, 2011
> Python 2.7.1, qt version 4.7.2
> linux2
> setting leoID from os.getenv('USER'): 'bob'
> load dir: /home/bob/bzrWork/pluginPath/leo/core
> global config dir: /home/bob/bzrWork/pluginPath/leo/config
> home dir: /home/bob
> reading settings in /home/bob/bzrWork/pluginPath/leo/config/
> leoSettings.leo
> reading settings in /home/bob/.leo/myLeoSettings.leo
> reading settings in /home/bob/.leo/workbook.leo
> reading: /home/bob/.leo/workbook.leo
> global @command command-reverse-siblings
> menu already exists: Move
> 
> --------------------
> Output of print-plugins-info:
> 
> leo.plugins.UNL           myLeoSettings.leo
> leo.plugins.nav_qt        myLeoSettings.leo
> LeoBob02.clone_nav        myLeoSettings.leo
> leo.plugins.contextmenu   myLeoSettings.leo
> leo.plugins.quickMove     myLeoSettings.leo
> leo.plugins.leo_to_html   myLeoSettings.leo
> leo.plugins.bookmarks     myLeoSettings.leo
> leo.plugins.stickynotes   myLeoSettings.leo
> leo.plugins.plugins_menu  myLeoSettings.leo
> leo.plugins.mod_scripting myLeoSettings.leo
> 

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to