![]() |
2009-04-17
, 02:59
|
|
Posts: 480 |
Thanked: 378 times |
Joined on Apr 2008
@ Chicago-ish
|
#2
|
![]() |
2009-04-17
, 03:42
|
Posts: 34 |
Thanked: 2 times |
Joined on Mar 2009
|
#3
|
![]() |
2009-04-17
, 04:46
|
|
Posts: 2,142 |
Thanked: 2,054 times |
Joined on Dec 2006
@ Sicily
|
#4
|
The Following 2 Users Say Thank You to debernardis For This Useful Post: | ||
![]() |
2009-04-17
, 11:56
|
|
Posts: 480 |
Thanked: 378 times |
Joined on Apr 2008
@ Chicago-ish
|
#5
|
![]() |
2009-04-17
, 15:00
|
|
Posts: 903 |
Thanked: 632 times |
Joined on Apr 2008
|
#6
|
![]() |
2009-04-17
, 15:03
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#7
|
Some dependencies might not be immediate to satisfy. Needs python > 2.4, python-central >0.6.7, debhelper > 5.0.38, cdbs > 0.4.49, python-gtk-2, python-glade2, libgtk2.0-dev.
The Following 5 Users Say Thank You to qwerty12 For This Useful Post: | ||
![]() |
2009-04-17
, 15:18
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#8
|
--- main_window.py 2009-04-12 16:36:50.000000000 +0100 +++ main_window.py.hildonmenu 2009-04-17 16:16:18.000000000 +0100 @@ -22,6 +22,7 @@ import pygtk pygtk.require('2.0') from gtk import gdk +import hildon import gtk.glade import gobject import pango @@ -218,7 +219,7 @@ -class KeepNoteWindow (gtk.Window): +class KeepNoteWindow (hildon.Window): """Main windows for KeepNote""" def __init__(self, app): @@ -327,7 +328,7 @@ # menu bar main_vbox.set_border_width(0) self.menubar = self.make_menubar() - main_vbox.pack_start(self.menubar, False, True, 0) + self.set_menu(self.menubar) # toolbar main_vbox.pack_start(self.make_toolbar(), False, True, 0) @@ -1813,7 +1814,7 @@ # Create item factory - self.item_factory = gtk.ItemFactory(gtk.MenuBar, "<main>", + self.item_factory = gtk.ItemFactory(gtk.Menu, "<main>", self.accel_group) self.item_factory.create_items(self.menu_items) self.add_accel_group(self.accel_group)
![]() |
2009-04-17
, 15:57
|
|
Posts: 903 |
Thanked: 632 times |
Joined on Apr 2008
|
#9
|
AttributeError: 'NoneType' object has no attribute <some_attribute>
![]() |
2009-04-17
, 16:05
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#10
|
Hmm, I just tried that and I keep getting errors:
It thinks that all the gtk.MenuItems are "NoneType", so they, obviously, keep throwing errors.Code:AttributeError: 'NoneType' object has no attribute <some_attribute>
Did I do something wrong?
==============================================
KeepNote 0.5.2: Fri Apr 17 17:02:20 2009
/root/keepnote-0.5.2/keepnote/gui/main_window.py:1818: DeprecationWarning: use gtk.UIManager
self.accel_group)
http://rasm.ods.org/keepnote/
Currently for a multiplatform note editor I use notecase (has both a Linux, and Windows client as well as one for the Nokia Tablets). But it doesn't support links and images. Though from the intial look, it might be to feature heavy for the tablets' specs.