Changeset 1237

Show
Ignore:
Timestamp:
11/25/06 14:08:19
Author:
pvanhoof
Message:

Fixed the python bindings a little bit

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/README

    r1154 r1237  
    2525Development tips 
    2626================ 
    27 You can find the GUnit framework at http://kooditakomo.cs.tut.fi/projects/gunit 
     27You can find the GUnit framework at https://garage.maemo.org/projects/gunit 
    2828You'll need it if you build with --enable-unit-tests which will compile the 
    2929unit tests. Check the sources of the unit tests for more information. 
  • trunk/bindings/python/tinymailui-gtk.override

    r1005 r1237  
    4141import tinymail.Folder as PyTnyFolder_Type 
    4242import tinymail.MimePart as PyTnyMimePart_Type 
     43import tinymail.FolderStoreQuery as PyTnyFolderStoreQuery_Type 
    4344import tinymail.ui.MimePartSaver as PyTnyMimePartSaver_Type 
    4445import tinymail.ui.MimePartSaveStrategy as PyTnyMimePartSaveStrategy_Type 
  • trunk/docs/requirements.txt

    r1151 r1237  
     1When adding requirements here: 
     2 
     3  * Please be brief about the build procedure. Try to refer to building.txt 
     4    for build procedures 
     5 
     6  * Try to get as much features as possible documented and working on the 
     7    host. Specifiy when, how and where you can choose (network manager, 
     8    GtkMozEmbed, Python bindings, etc, etc) 
     9 
     10  * Don't forget packages that are not pulled by the package management 
     11    automatically (for example of there's no package management on the 
     12    platform) 
     13 
    114Ubuntu Edgy, Dapper, etc etc 
    215---------------------------- 
     
    518the following apt-get: 
    619 
    7 apt-get install gnome-devel firefox-dev libnm-glib-dev subversion automake1.9 autoconf2.13 autotools-dev gnome-common 
     20apt-get install gnome-devel firefox-dev libnm-glib-dev subversion \ 
     21        automake1.9 autoconf2.13 autotools-dev gnome-common 
     22 
    823mkdir -p $HOME/repos/tinymail/ 
    924cd $HOME/repos/tinymail/ 
     
    1429make install 
    1530 
     31If you also want to build the Python bindings, install python-gtk2-dev python-dev 
     32add --enable-python-bindings to the autogen.sh line. 
     33 
     34Redhat, Fedora, etc etc 
     35----------------------- 
     36TODO 
     37 
     38Insert other distro here, etc 
     39----------------------------- 
     40TODO 
  • trunk/tests/python-demo/tinymail-python-test.py

    r1112 r1237  
    7676device = account_store.get_device () 
    7777device.force_online () 
    78 accounts = tinymail.uigtk.GtkAccountTreeModel (False) 
     78query = tinymail.FolderStoreQuery () 
     79accounts = tinymail.uigtk.GtkAccountTreeModel (False, query) 
    7980account_store.get_accounts (accounts, tinymail.ACCOUNT_STORE_STORE_ACCOUNTS) 
    8081folderstree.set_model (accounts)