~thomas-deruyter-3/qreator/qreator

« back to all changes in this revision

Viewing changes to qreator/__init__.py

  • Committer: David Planella
  • Date: 2012-01-23 07:59:13 UTC
  • Revision ID: david.planella@ubuntu.com-20120123075913-nb6fscmlc8j3d2t1
Added support to display maps with libchamplain. python-osmgpsmap, as an alternative without Clutter, does not seem to work because it's not introspectable -gtk3 branch is still WIP. Commented out GSettings code, at it seems to crash Winpdb (settings schema not found)

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
from gettext import gettext as _
10
10
gettext.textdomain('qreator')
11
11
 
 
12
from gi.repository import GtkClutter
 
13
## Needs to be called here, otherwise the GtkChamplain widget needs to be
 
14
## explicitly connected to signals and methods defined
 
15
GtkClutter.init([])
12
16
from gi.repository import Gtk # pylint: disable=E0611
13
17
 
14
18
from qreator import QreatorWindow
29
33
    'constructor for your class instances'
30
34
    parse_options()
31
35
 
32
 
    # Run the application.    
 
36
    # Run the application. 
33
37
    window = QreatorWindow.QreatorWindow()
34
38
    window.show()
35
39
    Gtk.main()