fix typo
svn: r6431
This commit is contained in:
parent
160caef065
commit
8b939198b8
@ -37,7 +37,6 @@ except ImportError:
|
||||
gconf = gnome.gconf
|
||||
|
||||
import gobject
|
||||
import os
|
||||
import Errors
|
||||
from _GrampsConfigKeys import default_value
|
||||
|
||||
|
@ -163,19 +163,19 @@ client = IniKeyClient(os.path.join(const.home_dir,"keys.ini"))
|
||||
|
||||
|
||||
def get_date_format(_date_format_list=[]):
|
||||
return get_int(Config.DATE_FORMAT,
|
||||
return get_int(DATE_FORMAT,
|
||||
range(len(_date_format_list)))
|
||||
|
||||
def save_date_format(val,_date_format_list=[]):
|
||||
set_int(Config.DATE_FORMAT, val,
|
||||
set_int(DATE_FORMAT, val,
|
||||
range(len(_date_format_list)))
|
||||
|
||||
def get_name_format(_name_format_list):
|
||||
return get_int(Config.NAME_FORMAT,
|
||||
return get_int(NAME_FORMAT,
|
||||
range(len(_name_format_list)))
|
||||
|
||||
def save_name_format(val,_name_format_list):
|
||||
set_int(Config.NAME_FORMAT, val,
|
||||
set_int(NAME_FORMAT, val,
|
||||
range(len(_name_format_list)))
|
||||
|
||||
|
||||
|
@ -26,6 +26,7 @@ It provides the choice between different storage backends.
|
||||
"""
|
||||
|
||||
import const
|
||||
|
||||
from _GrampsConfigKeys import *
|
||||
|
||||
if const.no_gconf:
|
||||
|
@ -185,8 +185,6 @@ class ViewManager:
|
||||
width = Config.get(Config.WIDTH)
|
||||
height = Config.get(Config.HEIGHT)
|
||||
|
||||
print width, height, type(width), type(height)
|
||||
|
||||
self.window = gtk.Window()
|
||||
self.window.set_icon_from_file(const.icon)
|
||||
self.window.set_default_size(width, height)
|
||||
|
Loading…
Reference in New Issue
Block a user