~nmu-sscheel/gtg/rework-task-editor

« back to all changes in this revision

Viewing changes to GTG/gtk/__init__.py

  • Committer: Bertrand Rousseau
  • Date: 2012-05-09 22:33:25 UTC
  • mfrom: (1178 trunk)
  • mto: This revision was merged to the branch mainline in revision 1179.
  • Revision ID: bertrand.rousseau@gmail.com-20120509223325-a53d8nwo0x9g93bc
Merge nimit branch and trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# -*- coding: utf-8 -*-
2
2
# -----------------------------------------------------------------------------
3
3
# Gettings Things Gnome! - a personal organizer for the GNOME desktop
4
 
# Copyright (c) 2008-2009 - Lionel Dricot & Bertrand Rousseau
 
4
# Copyright (c) 2008-2012 - Lionel Dricot & Bertrand Rousseau
5
5
#
6
6
# This program is free software: you can redistribute it and/or modify it under
7
7
# the terms of the GNU General Public License as published by the Free Software
17
17
# this program.  If not, see <http://www.gnu.org/licenses/>.
18
18
# -----------------------------------------------------------------------------
19
19
 
20
 
"""
21
 
This is the UI manager. It loads the prefs and manages every window and UI in GTG.
 
20
""" Configuration for browser, it contains path to .glade files """
22
21
 
23
 
There should be no horizontal communication at all between views.
24
 
"""
25
22
import os
26
23
 
27
 
from GTG     import _
28
 
 
29
24
 
30
25
class ViewConfig:
31
 
 
32
 
 
33
26
    current_rep = os.path.dirname(os.path.abspath(__file__))
34
 
    DELETE_GLADE_FILE  = os.path.join(current_rep, "deletion.glade")
 
27
    DELETE_GLADE_FILE = os.path.join(current_rep, "deletion.glade")
35
28
    PREFERENCES_GLADE_FILE = os.path.join(current_rep, "preferences.glade")
36
29
    BACKENDS_GLADE_FILE = os.path.join(current_rep, "backends_dialog.glade")