2006-05-17 Don Allingham <don@gramps-project.org>
* src/GrampsCfg.py: pychecker fixes * src/GrampsWidgets.py: pychecker fixes * src/glade/gramps.glade: fix text entry -> label * src/NameDisplay.py: pychecker fixes * src/DisplayState.py: pychecker fixes * src/GrampsDisplay.py: pychecker fixes * src/DateEdit.py: pychecker fixes * src/gramps_main.py: pychecker fixes * src/DbLoader.py: pychecker fixes svn: r6701
This commit is contained in:
@@ -40,7 +40,6 @@ import ViewManager
|
||||
import GrampsDb
|
||||
import ArgHandler
|
||||
import Config
|
||||
import GrampsCfg
|
||||
import const
|
||||
import Errors
|
||||
import TipOfDay
|
||||
@@ -62,7 +61,6 @@ else:
|
||||
relation_icon = "relation.svg"
|
||||
|
||||
def register_stock_icons ():
|
||||
import os
|
||||
items = [
|
||||
(os.path.join(const.image_dir,person_icon),
|
||||
('gramps-person',_('Person'),gtk.gdk.CONTROL_MASK,0,'')),
|
||||
@@ -192,8 +190,6 @@ class Gramps:
|
||||
self.researcher_key_update)
|
||||
Config.client.notify_add("/apps/gramps/interface/statusbar",
|
||||
self.statusbar_key_update)
|
||||
Config.client.notify_add("/apps/gramps/interface/toolbar",
|
||||
self.toolbar_key_update)
|
||||
|
||||
if Config.get(Config.USE_TIPS):
|
||||
TipOfDay.TipOfDay(self.vm.uistate)
|
||||
@@ -237,10 +233,4 @@ class Gramps:
|
||||
def statusbar_key_update(self,client,cnxn_id,entry,data):
|
||||
self.vm.uistate.modify_statusbar()
|
||||
|
||||
def toolbar_key_update(self,client,cnxn_id,entry,data):
|
||||
the_style = Config.get(Config.TOOLBAR)
|
||||
if the_style == -1:
|
||||
self.vm.toolbar.unset_style()
|
||||
else:
|
||||
self.vm.toolbar.set_style(the_style)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user