Commits

Marcin Kasperski committed 2df10ce

Help updates

  • Participants
  • Parent commits 6e1901f
  • Tags 0.4.0

Comments (0)

Files changed (1)

File src/mekk/nozbe2xmind/xmind_writer.py

     topic_legend.add_subtopic("Done").add_marker(DONE_MARK)
     topic_legend.add_subtopic("Shared").add_marker(SHARED_MARK)
     topic_legend.add_subtopic("Recurring").add_marker(RECUR_MARK)
-    if contexts:
-        for c in contexts:
-            c_mark = marker_gen.give_mark("icon-%s.png" % c["icon"])
-            if c_mark:
-                topic_legend.add_subtopic(c["name"]).add_marker(c_mark)
+    #if contexts:
+    #    for c in contexts:
+    #        c_mark = marker_gen.give_mark("icon-%s.png" % c["icon"])
+    #        if c_mark:
+    #            topic_legend.add_subtopic(c["name"]).add_marker(c_mark)
 
     info_sheet = xmw.create_sheet("Help", "What you can do\nwith this map")
     info_root = info_sheet.get_root_topic()
     fn = act.add_subtopic("Flag as next")
     fn.add_marker(NEXT_ACTION_MARK)
     fn.add_subtopic("Or clear this flag")
-    if contexts and False: # TODO: XMind nie daje odpowiedniej opcji
-        ctx = act.add_subtopic("Flag context")
-        for c in contexts:
-            c_mark = marker_gen.give_mark("icon-%s.png" % c["icon"])
-            if c_mark:
-                ctx.add_subtopic(c["name"]).add_marker(c_mark)
+    ec = fn.add_subtopic("Edit context")
+    ec.add_subtopic("As Label (F3)")
+    ec.add_subtopic("Name must match existing context")
+    ec.add_subtopic("Multiple contexts not yet handled").add_subtopic("In the future they will be ,-separated")
     
     extra = info_root.add_subtopic("Extra conventions")
     t = extra.add_subtopic("Use intermediate nodes")