Reply
Thread Tools
pipeline's Avatar
Posts: 693 | Thanked: 502 times | Joined on Jul 2007
#11
I just saw that.... that would be perfect...

I get this error on install of pypackager :
dpkg: error processing /var/tmp/pypackager-0.1.0.all.deb (--install):
trying to overwrite `/usr/share/applications/hildon/._pysnippet.desktop', which is also in package pygtkeditor

should i delete that file to workaround or is that a fix which goes in deb installer

Last edited by pipeline; 2007-09-10 at 11:58.
 
Khertan's Avatar
Posts: 1,012 | Thanked: 817 times | Joined on Jul 2007 @ France
#12
Oups ... ****ing macosx' finder !!! Witch write ****ing hidden file everywhere !

I ll correct this when i ll get some times.

In fact it s a conflict with the package pysnippet ... so deleted the file will be useless.
 
pipeline's Avatar
Posts: 693 | Thanked: 502 times | Joined on Jul 2007
#13
k thx the world will just have to wait to admire my hello world

Last edited by pipeline; 2007-09-10 at 12:29.
 
Khertan's Avatar
Posts: 1,012 | Thanked: 817 times | Joined on Jul 2007 @ France
#14
PyGTKEditor 1.1.2 is available. It s a package fix.
PyPackager 0.2.0 is available too . Now PyPackager automatically remove macosx hidden file when making a package.
 
pipeline's Avatar
Posts: 693 | Thanked: 502 times | Joined on Jul 2007
#15
Thanks it installs now....

By the way what does the life preserver button/icon do in pygtkeditor?
 
Khertan's Avatar
Posts: 1,012 | Thanked: 817 times | Joined on Jul 2007 @ France
#16
Do you mean the help button ? (gtk-help)

It 's display the result of the dir command in python ...

select a piece of text like "gtk.Window" and it ll give you all the method of a gtk.Window

I would love to implement an help like in ipython. But 's it's not a priority.

For information you can increase and decrease text size with zoom+ and zoom- button
 
pipeline's Avatar
Posts: 693 | Thanked: 502 times | Joined on Jul 2007
#17
Ahh i see although i dont think that dir supports gtk objects.. still nice for python

The +- zoom is great! Didn't realize that was there.

Great program i've already recreated my simple test program to pick a file to launch with another.. the dlg.destroy worked great too.

I'll try to build up some good samples/snippets as i figure them out myself
 
pipeline's Avatar
Posts: 693 | Thanked: 502 times | Joined on Jul 2007
#18
This is the first app i am coding to build up my 'snippet' arsenal.

Its just a file runner so i can open any file with program like mplayer or leafpad (pygtkeditor doesnt support command line arguments?).

I'm a c# coder and this is my first program in python/gtk... but its copy/paste/run (correction: file save from browser.. then run) which is kinda new to maemo... but brings back nostalgia of older solid state computers with basic.

Hopefully theres something in there worth copy/pasting It uses the gtk file dialog, very simplistic use of gtk.ComboBoxEntry, and launching programs using os.system()

http://wardenclyffetower.com/MaemoFiles/SampleAssoc.txt

If someone sees anything wrong with it, let me know... wouldnt want someone to copy paste bad code.

Last edited by pipeline; 2007-09-12 at 23:07.
 
Khertan's Avatar
Posts: 1,012 | Thanked: 817 times | Joined on Jul 2007 @ France
#19
PyGTKEditor has just been updated to :
1.2.0
Feature : create a new page on open if no page exist
Feature : jump to newly created page when a new page is created
Feature : added file menu item "save as"
Feature : goto line
Bug fix : osso note is now correctly displayed when launching pygtkeditor
Added : Package icon



pygtkeditor doesn't support command line arguments .... ... i ll do it in the next version
 
pipeline's Avatar
Posts: 693 | Thanked: 502 times | Joined on Jul 2007
#20
Great stuff.. thanks for continued enhancements... ill try this later

yep i noticed no command line arguments but since you support gtk filechooser i would only have use for that for editing hidden files or in directories.. not too common
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:29.