GEPS008: Moved DdTargets module
svn: r19773
This commit is contained in:
parent
54535a83bd
commit
6a15f8fd18
@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
#src
|
#src
|
||||||
src/AutoComp.py
|
src/AutoComp.py
|
||||||
src/DdTargets.py
|
|
||||||
src/Errors.py
|
src/Errors.py
|
||||||
src/ImgManip.py
|
src/ImgManip.py
|
||||||
src/ListModel.py
|
src/ListModel.py
|
||||||
@ -228,6 +227,7 @@ src/gen/utils/callman.py
|
|||||||
# gui - GUI code
|
# gui - GUI code
|
||||||
src/gui/__init__.py
|
src/gui/__init__.py
|
||||||
src/gui/dbguielement.py
|
src/gui/dbguielement.py
|
||||||
|
src/gui/ddtargets.py
|
||||||
src/gui/display.py
|
src/gui/display.py
|
||||||
src/gui/glade.py
|
src/gui/glade.py
|
||||||
src/gui/managedwindow.py
|
src/gui/managedwindow.py
|
||||||
|
@ -20,7 +20,6 @@ gdir_PYTHON = \
|
|||||||
constfunc.py\
|
constfunc.py\
|
||||||
DateEdit.py\
|
DateEdit.py\
|
||||||
DbState.py\
|
DbState.py\
|
||||||
DdTargets.py\
|
|
||||||
Errors.py\
|
Errors.py\
|
||||||
ExportAssistant.py\
|
ExportAssistant.py\
|
||||||
ExportOptions.py\
|
ExportOptions.py\
|
||||||
|
@ -27,6 +27,7 @@ pkgpython_PYTHON = \
|
|||||||
dbguielement.py \
|
dbguielement.py \
|
||||||
dbloader.py \
|
dbloader.py \
|
||||||
dbman.py \
|
dbman.py \
|
||||||
|
ddtargets.py \
|
||||||
dialog.py \
|
dialog.py \
|
||||||
display.py \
|
display.py \
|
||||||
displaystate.py \
|
displaystate.py \
|
||||||
|
@ -54,7 +54,7 @@ from gen.ggettext import sgettext as _
|
|||||||
from TransUtils import trans_objclass
|
from TransUtils import trans_objclass
|
||||||
from constfunc import mac
|
from constfunc import mac
|
||||||
from gui.glade import Glade
|
from gui.glade import Glade
|
||||||
from DdTargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
from gui.makefilter import make_filter
|
from gui.makefilter import make_filter
|
||||||
import gui.utils
|
import gui.utils
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ from gui.dialog import ErrorDialog, QuestionDialog, QuestionDialog2
|
|||||||
from gen.db import DbBsddb
|
from gen.db import DbBsddb
|
||||||
from gui.pluginmanager import GuiPluginManager
|
from gui.pluginmanager import GuiPluginManager
|
||||||
from cli.clidbman import CLIDbManager, NAME_FILE, time_val
|
from cli.clidbman import CLIDbManager, NAME_FILE, time_val
|
||||||
from DdTargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
import RecentFiles
|
import RecentFiles
|
||||||
from gui.glade import Glade
|
from gui.glade import Glade
|
||||||
from gen.db.backup import restore
|
from gen.db.backup import restore
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
The module defines a singleton instance of _DdTargets called DdTargets.
|
The module defines a singleton instance of _DdTargets called DdTargets.
|
||||||
|
|
||||||
from DdTargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
|
|
||||||
drag_dest_set(gtk.DEST_DEFAULT_ALL,
|
drag_dest_set(gtk.DEST_DEFAULT_ALL,
|
||||||
DdTargets.all_targets(),
|
DdTargets.all_targets(),
|
@ -39,7 +39,7 @@ import gobject
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import gen.lib
|
import gen.lib
|
||||||
import Errors
|
import Errors
|
||||||
from DdTargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
from addressmodel import AddressModel
|
from addressmodel import AddressModel
|
||||||
from embeddedlist import EmbeddedList
|
from embeddedlist import EmbeddedList
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ import gobject
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import gen.lib
|
import gen.lib
|
||||||
import Errors
|
import Errors
|
||||||
from DdTargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
from attrmodel import AttrModel
|
from attrmodel import AttrModel
|
||||||
from embeddedlist import EmbeddedList
|
from embeddedlist import EmbeddedList
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ from gui.dbguielement import DbGUIElement
|
|||||||
from gui.selectors import SelectorFactory
|
from gui.selectors import SelectorFactory
|
||||||
from citationrefmodel import CitationRefModel
|
from citationrefmodel import CitationRefModel
|
||||||
from embeddedlist import EmbeddedList
|
from embeddedlist import EmbeddedList
|
||||||
from DdTargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -37,7 +37,7 @@ import gobject
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import gen.lib
|
import gen.lib
|
||||||
import Errors
|
import Errors
|
||||||
from DdTargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
from groupembeddedlist import GroupEmbeddedList
|
from groupembeddedlist import GroupEmbeddedList
|
||||||
from eventrefmodel import EventRefModel
|
from eventrefmodel import EventRefModel
|
||||||
from gui.dbguielement import DbGUIElement
|
from gui.dbguielement import DbGUIElement
|
||||||
|
@ -56,7 +56,7 @@ import Utils
|
|||||||
import ThumbNails
|
import ThumbNails
|
||||||
import Errors
|
import Errors
|
||||||
import gen.mime
|
import gen.mime
|
||||||
from DdTargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
from buttontab import ButtonTab
|
from buttontab import ButtonTab
|
||||||
import constfunc
|
import constfunc
|
||||||
import const
|
import const
|
||||||
|
@ -35,7 +35,7 @@ import gobject
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import gen.lib
|
import gen.lib
|
||||||
import Errors
|
import Errors
|
||||||
from DdTargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
from locationmodel import LocationModel
|
from locationmodel import LocationModel
|
||||||
from embeddedlist import EmbeddedList
|
from embeddedlist import EmbeddedList
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ from gen.ggettext import gettext as _
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import gen.lib
|
import gen.lib
|
||||||
import Errors
|
import Errors
|
||||||
from DdTargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
from namemodel import NameModel
|
from namemodel import NameModel
|
||||||
from groupembeddedlist import GroupEmbeddedList
|
from groupembeddedlist import GroupEmbeddedList
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ from gui.dbguielement import DbGUIElement
|
|||||||
from gui.selectors import SelectorFactory
|
from gui.selectors import SelectorFactory
|
||||||
from notemodel import NoteModel
|
from notemodel import NoteModel
|
||||||
from embeddedlist import EmbeddedList
|
from embeddedlist import EmbeddedList
|
||||||
from DdTargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -35,7 +35,7 @@ import gobject
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import gen.lib
|
import gen.lib
|
||||||
import Errors
|
import Errors
|
||||||
from DdTargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
from personrefmodel import PersonRefModel
|
from personrefmodel import PersonRefModel
|
||||||
from embeddedlist import EmbeddedList
|
from embeddedlist import EmbeddedList
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ import gen.lib
|
|||||||
from gui.dbguielement import DbGUIElement
|
from gui.dbguielement import DbGUIElement
|
||||||
from gui.selectors import SelectorFactory
|
from gui.selectors import SelectorFactory
|
||||||
import Errors
|
import Errors
|
||||||
from DdTargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
from reporefmodel import RepoRefModel
|
from reporefmodel import RepoRefModel
|
||||||
from embeddedlist import EmbeddedList
|
from embeddedlist import EmbeddedList
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ _ENTER = gtk.gdk.keyval_from_name("Enter")
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from surnamemodel import SurnameModel
|
from surnamemodel import SurnameModel
|
||||||
from embeddedlist import EmbeddedList
|
from embeddedlist import EmbeddedList
|
||||||
from DdTargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
import AutoComp
|
import AutoComp
|
||||||
from gen.lib import Surname, NameOriginType
|
from gen.lib import Surname, NameOriginType
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ import gobject
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import gen.lib
|
import gen.lib
|
||||||
import Errors
|
import Errors
|
||||||
from DdTargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
from webmodel import WebModel
|
from webmodel import WebModel
|
||||||
from embeddedlist import EmbeddedList
|
from embeddedlist import EmbeddedList
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ log = logging.getLogger(".")
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gen.ggettext import gettext as _
|
from gen.ggettext import gettext as _
|
||||||
from DdTargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
import gtk
|
import gtk
|
||||||
from gtk import gdk
|
from gtk import gdk
|
||||||
import pango
|
import pango
|
||||||
|
@ -49,7 +49,7 @@ from editplace import EditPlace
|
|||||||
from editmedia import EditMedia
|
from editmedia import EditMedia
|
||||||
from editnote import EditNote
|
from editnote import EditNote
|
||||||
from gui.selectors import SelectorFactory
|
from gui.selectors import SelectorFactory
|
||||||
from DdTargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
from Errors import WindowActiveError
|
from Errors import WindowActiveError
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
@ -51,7 +51,7 @@ from gen.simple import SimpleTable
|
|||||||
from TransUtils import trans_objclass
|
from TransUtils import trans_objclass
|
||||||
import Errors
|
import Errors
|
||||||
from gui.widgets.multitreeview import MultiTreeView
|
from gui.widgets.multitreeview import MultiTreeView
|
||||||
from DdTargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
from gui.plug.quick import run_quick_report_by_name
|
from gui.plug.quick import run_quick_report_by_name
|
||||||
from gui.editors import (EditPerson, EditEvent, EditFamily, EditCitation,
|
from gui.editors import (EditPerson, EditEvent, EditFamily, EditCitation,
|
||||||
EditSource, EditPlace, EditRepository, EditNote,
|
EditSource, EditPlace, EditRepository, EditNote,
|
||||||
|
@ -63,7 +63,7 @@ import Utils
|
|||||||
from gui.dialog import QuestionDialog, QuestionDialog2
|
from gui.dialog import QuestionDialog, QuestionDialog2
|
||||||
from gui.filtereditor import FilterEditor
|
from gui.filtereditor import FilterEditor
|
||||||
from gen.ggettext import sgettext as _
|
from gen.ggettext import sgettext as _
|
||||||
from DdTargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
from gui.plug.quick import create_quickreport_menu, create_web_connect_menu
|
from gui.plug.quick import create_quickreport_menu, create_web_connect_menu
|
||||||
import gui.utils
|
import gui.utils
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ from gui.dialog import ErrorDialog, QuestionDialog
|
|||||||
import Errors
|
import Errors
|
||||||
import Bookmarks
|
import Bookmarks
|
||||||
import config
|
import config
|
||||||
from DdTargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
from gui.editors import EditPerson
|
from gui.editors import EditPerson
|
||||||
from gui.filters.sidebar import PersonSidebarFilter
|
from gui.filters.sidebar import PersonSidebarFilter
|
||||||
from gui.merge import MergePerson
|
from gui.merge import MergePerson
|
||||||
|
@ -53,7 +53,7 @@ import Bookmarks
|
|||||||
import config
|
import config
|
||||||
from gui.dialog import ErrorDialog
|
from gui.dialog import ErrorDialog
|
||||||
from gui.pluginmanager import GuiPluginManager
|
from gui.pluginmanager import GuiPluginManager
|
||||||
from DdTargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
from gui.editors import EditPlace, DeletePlaceQuery
|
from gui.editors import EditPlace, DeletePlaceQuery
|
||||||
from gui.filters.sidebar import PlaceSidebarFilter
|
from gui.filters.sidebar import PlaceSidebarFilter
|
||||||
from gui.merge import MergePlace
|
from gui.merge import MergePlace
|
||||||
|
@ -52,7 +52,7 @@ from gui.views.listview import ListView
|
|||||||
import Utils
|
import Utils
|
||||||
import Bookmarks
|
import Bookmarks
|
||||||
import Errors
|
import Errors
|
||||||
from DdTargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
from gui.dialog import ErrorDialog
|
from gui.dialog import ErrorDialog
|
||||||
from gui.editors import EditCitation, DeleteCitationQuery
|
from gui.editors import EditCitation, DeleteCitationQuery
|
||||||
from gui.filters.sidebar import CitationSidebarFilter
|
from gui.filters.sidebar import CitationSidebarFilter
|
||||||
|
@ -53,7 +53,7 @@ from gui.views.listview import ListView
|
|||||||
import Utils
|
import Utils
|
||||||
import Bookmarks
|
import Bookmarks
|
||||||
import Errors
|
import Errors
|
||||||
from DdTargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
from gui.dialog import ErrorDialog
|
from gui.dialog import ErrorDialog
|
||||||
from gui.editors import EditCitation, DeleteCitationQuery, EditSource, \
|
from gui.editors import EditCitation, DeleteCitationQuery, EditSource, \
|
||||||
DeleteSrcQuery
|
DeleteSrcQuery
|
||||||
|
@ -53,7 +53,7 @@ import Utils
|
|||||||
import Errors
|
import Errors
|
||||||
import Bookmarks
|
import Bookmarks
|
||||||
import config
|
import config
|
||||||
from DdTargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
from gui.dialog import ErrorDialog
|
from gui.dialog import ErrorDialog
|
||||||
from gui.editors import EditEvent, DeleteEventQuery
|
from gui.editors import EditEvent, DeleteEventQuery
|
||||||
from gui.filters.sidebar import EventSidebarFilter
|
from gui.filters.sidebar import EventSidebarFilter
|
||||||
|
@ -56,7 +56,7 @@ from gui.dialog import ErrorDialog
|
|||||||
from gui.filters.sidebar import FamilySidebarFilter
|
from gui.filters.sidebar import FamilySidebarFilter
|
||||||
from gui.merge import MergeFamily
|
from gui.merge import MergeFamily
|
||||||
from gen.plug import CATEGORY_QR_FAMILY
|
from gen.plug import CATEGORY_QR_FAMILY
|
||||||
from DdTargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -65,7 +65,7 @@ from gui.editors import EditMedia, DeleteMediaQuery
|
|||||||
import Errors
|
import Errors
|
||||||
from gui.filters.sidebar import MediaSidebarFilter
|
from gui.filters.sidebar import MediaSidebarFilter
|
||||||
from gui.merge import MergeMedia
|
from gui.merge import MergeMedia
|
||||||
from DdTargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
from gui.dialog import ErrorDialog
|
from gui.dialog import ErrorDialog
|
||||||
from gen.plug import CATEGORY_QR_MEDIA
|
from gen.plug import CATEGORY_QR_MEDIA
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ import Errors
|
|||||||
import Bookmarks
|
import Bookmarks
|
||||||
import config
|
import config
|
||||||
from gen.lib import Note
|
from gen.lib import Note
|
||||||
from DdTargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
from gui.dialog import ErrorDialog
|
from gui.dialog import ErrorDialog
|
||||||
from gui.filters.sidebar import NoteSidebarFilter
|
from gui.filters.sidebar import NoteSidebarFilter
|
||||||
from gui.editors import EditNote, DeleteNoteQuery
|
from gui.editors import EditNote, DeleteNoteQuery
|
||||||
|
@ -57,7 +57,7 @@ from libformatting import FormattingHelper
|
|||||||
import ThumbNails
|
import ThumbNails
|
||||||
import Errors
|
import Errors
|
||||||
from gui.editors import EditPerson, EditFamily
|
from gui.editors import EditPerson, EditFamily
|
||||||
from DdTargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
import cPickle as pickle
|
import cPickle as pickle
|
||||||
import config
|
import config
|
||||||
import Bookmarks
|
import Bookmarks
|
||||||
|
@ -43,7 +43,7 @@ import Bookmarks
|
|||||||
import Errors
|
import Errors
|
||||||
import config
|
import config
|
||||||
from gui.editors import EditRepository, DeleteRepositoryQuery
|
from gui.editors import EditRepository, DeleteRepositoryQuery
|
||||||
from DdTargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
from gui.dialog import ErrorDialog
|
from gui.dialog import ErrorDialog
|
||||||
from gui.filters.sidebar import RepoSidebarFilter
|
from gui.filters.sidebar import RepoSidebarFilter
|
||||||
from gui.merge import MergeRepository
|
from gui.merge import MergeRepository
|
||||||
|
@ -46,7 +46,7 @@ from gui.views.treemodels import SourceModel
|
|||||||
import Utils
|
import Utils
|
||||||
import Bookmarks
|
import Bookmarks
|
||||||
import Errors
|
import Errors
|
||||||
from DdTargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
from gui.dialog import ErrorDialog
|
from gui.dialog import ErrorDialog
|
||||||
from gui.editors import EditSource, DeleteSrcQuery
|
from gui.editors import EditSource, DeleteSrcQuery
|
||||||
from gui.filters.sidebar import SourceSidebarFilter
|
from gui.filters.sidebar import SourceSidebarFilter
|
||||||
|
Loading…
Reference in New Issue
Block a user