~sylvain-pineau/gtumbler/trunk

« back to all changes in this revision

Viewing changes to gtumbler/__init__.py

  • Committer: Sylvain Pineau
  • Date: 2015-01-29 13:33:41 UTC
  • Revision ID: sylvain.pineau@canonical.com-20150129133341-m2zdxtiljg8x36fh
Release 12.07.8

To run properly on recent release, I had to remove preference saving and
unused dependecies not available after 12.04

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
from gtumbler import GtumblerWindow
27
27
 
28
 
from gtumbler_lib import set_up_logging, preferences, get_version
 
28
from gtumbler_lib import set_up_logging, get_version
29
29
from gtumbler.session import Session
30
30
 
31
31
def parse_options():
68
68
    'txt_tool_args'                             : '',
69
69
    'txt_viewer_custom'                 : '',
70
70
    }
71
 
    preferences.update(default_preferences)
72
 
    # user's stored preferences are used for 2nd and subsequent sessions
73
 
    preferences.db_connect()
74
 
    preferences.load()
75
71
 
76
72
    # Run the application.
77
73
    gobject.threads_init()
82
78
    gtk.gdk.threads_enter()
83
79
    gtk.main()
84
80
    gtk.gdk.threads_leave()
85
 
    
86
 
    preferences.save()