Henning Hraban Ramm wrote:
Am 2006-01-23 um 21:26 schrieb Adi J. Sieker:
It starts with a popup dialog warning "no image handler for type 25
defined"; I guess that's the .ico file.
I changed icon format to a png, I hope that works now.
No error. But it needs more (i.e. an application bundle) to get a Mac
app use an icon. (You don't need to do anything about that at the
moment.)
Better at least.
Oh, are the are the menu items in all the right places?
- Quit and About are in the application menu (that's right), so...
- Help menu is empty
- File menu is also empty
Again, I'd put everything from the Notes menu to the File menu; that
stuff belongs there, according to Apple's Human Interface Guidelines.
If you implement different databases, the File menu should contain:
- a submenu File:New containing New database, New note (Ctrl-N), New
top note (a lot of apps order it this way)
That's an idea. I'll ponder some more. :)
- Save (Ctrl-S), Save as (Shift-Ctrl-S) and Close (Ctrl-W) -> database
(I think Save should always save the whole database, if it doesn't
already)
Yes, Save saves everything.
(- Quit/Exit for other platforms)
That's there already.
I'd use Ctrl-Y or Shift-Ctrl-Z for Redo, that's more common I think.
(Ctrl becomes Cmd on the Mac automatically.)
Fine tuning.:)
I guess the wx.WXK_RETURN -- or rawKeyCode at all -- isn't the
right thing on every platform.
I remember some discussions about checking key codes on the wx
mailing list...
I changed something with the search stuff. Would you please have
another go.
Sorry, it still does nothing at pressing Return or Enter.
damn...
OK, this version logs all keydowns in a freeNotes.log file in the
same directory as the python file.
I didn't find any dabo docs on key events (where's dabo.ui.dKeys??),
and I guess there's a bug somewhere...
- evt.rawKeyCode is some 'long'
- evt.keyChar works for Return ("\r"), but not for Enter (None)
- dabo.ui.dKeys.key_Return is 13, so ord(evt.keyChar) works with
Return -- not as intuitive as dabo claims to be!
But even then, the search doesn't work. I guess it should switch to
the right page and highlight the found word?
No it doesn't search in the currently displayed note, but searches all
notes in the database and only displays those notes which contain the text.
Ok, it seems to switch to that page, but highlights nothing, and
additionally it clears the notes tree and list!
The tree/list control should empty if nothing is found (note to self,
inform the user if nothing was found) or at least reduce the notes
displayed.
After some searches, sometimes somtehing or everything appears again.
something appears if the search term was found in some of the notes.
But if I click into the list, I get:
Traceback (most recent call last):
File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/Dabo-0.5-py2.4.egg/dabo/lib/eventMixin.py",
line 87, in raiseEvent
bindingFunction(event)
File "freeNotes.py", line 737, in OnNoteSelected
biz.seek(evt.noteID,DB_FIELD_ID)
Hmm, this is on line 716 in the editor, does Python report the wrong
line numbers or are you by any chance still using and older version?
adi
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users