diff --git a/gramps/gen/config.py b/gramps/gen/config.py index 632cee3d0..273d557c0 100644 --- a/gramps/gen/config.py +++ b/gramps/gen/config.py @@ -198,6 +198,8 @@ register('interface.citation-sel-height', 450) register('interface.citation-sel-width', 600) register('interface.citation-width', 600) register('interface.clipboard-height', 300) +register('interface.clipboard-horiz-position', 100) +register('interface.clipboard-vert-position', 200) register('interface.clipboard-width', 300) register('interface.dont-ask', False) register('interface.view-categories', diff --git a/gramps/gui/clipboard.py b/gramps/gui/clipboard.py index 7a4c21a07..84db1da2c 100644 --- a/gramps/gui/clipboard.py +++ b/gramps/gui/clipboard.py @@ -1385,10 +1385,13 @@ class ClipboardWindow(ManagedWindow): self.width_key = 'interface.clipboard-width' self.height_key = 'interface.clipboard-height' + self.horiz_position_key = 'interface.clipboard-horiz-position' + self.vert_position_key = 'interface.clipboard-vert-position' self.top = Glade() self.set_window(self.top.toplevel, None, None, msg=_("Clipboard")) self._set_size() + self._set_position() self.clear_all_btn = self.top.get_object("btn_clear_all") self.clear_btn = self.top.get_object("btn_clear")