brilianN / openintents

Automatically exported from code.google.com/p/openintents
0 stars 0 forks source link

Convert CSV appears twice in Notepad's menu #185

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

You see CSV twice in the list, if an item is selected by the cursor (i.e.
move the key pad or trackball up or down, then press menu). One entry is
for all lists, the second entry is for a selected list, and is there for
backward compatibility (because older versions of Notepad only included
menu items for selected lists). As many people have upgraded to a newer
version of Notepad, we could probably remove the specific list menu entry.

Original issue reported on code.google.com by peli0...@googlemail.com on 19 Jan 2009 at 1:48

GoogleCodeExporter commented 9 years ago
idealy the menu would not add the same item twice. problem is, i don't see a 
elegant
solution for this, as the menu class has no function like contains(item), so for
filtering out already existent items one has to go over all items at least once 
(and
hold a reference table), which is doable but ugly imho.

Original comment by zeroo...@googlemail.com on 27 Jan 2009 at 12:37

GoogleCodeExporter commented 9 years ago
Change Manifest of OI Convert CSV:
Take out this line:
<data android:mimeType="vnd.android.cursor.item/vnd.openintents.notepad.note" />

(take out the cursor.item, but leave cursor.dir).

This change should be made together with a new CATEGORY_INFO box that explains 
that 
the command is now only accessible from the main list of notes (where it also 
makes 
more sense).

Original comment by peli0...@googlemail.com on 28 Jan 2010 at 9:09

GoogleCodeExporter commented 9 years ago
Google Code-in task:
http://www.google-melange.com/gci/task/view/google/gci2011/7120271

Original comment by peli0...@googlemail.com on 21 Nov 2011 at 9:58

GoogleCodeExporter commented 9 years ago
Task reopened from GCI.

Original comment by peli0...@googlemail.com on 6 Dec 2011 at 11:19