Re: [Zim-wiki] newbie help launching pyzim from daily snapshot; building Windows installer

2009-07-17 Thread Jeffrey Liu
FYI

I don't know if you've seen this yet, but it should help streamline
the setup of pyGTK on Windows.



http://aruiz.typepad.com/siliconisland/2006/12/allinone_win32_.html



As a side note, I'm starting to look into setting up pyZim on the Mac,
but I'm getting stuck on adding pygobject to the Imendio GTK+
framework.

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] newbie help launching pyzim from daily snapshot; building Windows installer

2009-07-17 Thread Jeffrey Liu
FYI

I don't know if you've seen this yet, but it should help streamline
the setup of pyGTK on Windows.



http://aruiz.typepad.com/siliconisland/2006/12/allinone_win32_.html



As a side note, I'm starting to look into setting up pyZim on the Mac,
but I'm getting stuck on adding pygobject to the Imendio GTK+
framework.

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] newbie help launching pyzim from daily snapshot; building Windows installer

2009-07-10 Thread Jaap Karssenberg

Brendan Kidwell wrote:

Now, I don't know much about Python programming (yet), so before I get
lost, can I just ask, is it SUPPOSED to work now, if I try to run
zim.py at the command prompt? Did I do something wrong, or are you
still in the component-building stage and I can't just launch the app
as if I was a user?
  


Thanks a lot for looking into this! Sure it is *supposed* to work ;) 
Seems you found a bug I was unaware of, see below for the fix. If you 
give a directory path as argument you will not see this bug.


Some known issues in the editor keybindings for bullets list etc. 
remaining. Apart from that everything that is in should also work. Plan 
is to release a second alpha version next week, which will be the point 
where I will start to use this branch for my day to day work.


Regards,

Jaap


=== modified file 'zim/gui/__init__.py'
--- zim/gui/__init__.py2009-07-09 21:31:34 +
+++ zim/gui/__init__.py2009-07-10 16:32:16 +
@@ -1299,7 +1299,7 @@
self.set_border_width(10)
self.vbox.set_spacing(5)

-if isinstance(ui, NotebookInterface):
+if isinstance(ui, NotebookInterface) and ui.uistate:
key = self.__class__.__name__
self.uistate = ui.uistate[key]
#~ print '', self.uistate


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp