* src/plugins/ReadPkg.py: Remove "..." (move this to Plugins.py).
* src/plugins/ReadNative.py: Likewise. * src/plugins/ReadGedcom.py: Likewise. * src/plugins/WritePkg.py: Likewise. * src/plugins/WriteCD.py: Likewise. * src/plugins/WriteGedcom.py: Likewise. * src/Plugins.py: Add "..." at menu generation. svn: r1885
This commit is contained in:
parent
7ad01cdb52
commit
068140a500
@ -7,6 +7,13 @@
|
|||||||
* src/plugins/WritePkg.py: Enable "..." in the menu item.
|
* src/plugins/WritePkg.py: Enable "..." in the menu item.
|
||||||
* src/plugins/WriteCD.py: Likewise.
|
* src/plugins/WriteCD.py: Likewise.
|
||||||
* src/plugins/WriteGedcom.py: Likewise.
|
* src/plugins/WriteGedcom.py: Likewise.
|
||||||
|
* src/plugins/ReadPkg.py: Remove "..." (move this to Plugins.py).
|
||||||
|
* src/plugins/ReadNative.py: Likewise.
|
||||||
|
* src/plugins/ReadGedcom.py: Likewise.
|
||||||
|
* src/plugins/WritePkg.py: Likewise.
|
||||||
|
* src/plugins/WriteCD.py: Likewise.
|
||||||
|
* src/plugins/WriteGedcom.py: Likewise.
|
||||||
|
* src/Plugins.py: Add "..." at menu generation.
|
||||||
|
|
||||||
2003-07-14 Donald Peterson <dpeterson@sigmaxi.org>
|
2003-07-14 Donald Peterson <dpeterson@sigmaxi.org>
|
||||||
* src/docgen/LaTeXDoc.py: Regress UNICODE support to be only a
|
* src/docgen/LaTeXDoc.py: Regress UNICODE support to be only a
|
||||||
|
@ -585,7 +585,7 @@ def build_menu(top_menu,list,callback):
|
|||||||
list = hash[key]
|
list = hash[key]
|
||||||
list.sort()
|
list.sort()
|
||||||
for name in list:
|
for name in list:
|
||||||
subentry = gtk.MenuItem(name[0])
|
subentry = gtk.MenuItem("%s..." % name[0])
|
||||||
subentry.show()
|
subentry.show()
|
||||||
subentry.connect("activate",callback,name[1])
|
subentry.connect("activate",callback,name[1])
|
||||||
submenu.append(subentry)
|
submenu.append(subentry)
|
||||||
@ -616,7 +616,7 @@ def build_export_menu(top_menu,callback):
|
|||||||
myMenu = gtk.Menu()
|
myMenu = gtk.Menu()
|
||||||
|
|
||||||
for report in _exports:
|
for report in _exports:
|
||||||
item = gtk.MenuItem(report[1])
|
item = gtk.MenuItem("%s..." % report[1])
|
||||||
item.connect("activate", callback ,report[0])
|
item.connect("activate", callback ,report[0])
|
||||||
item.show()
|
item.show()
|
||||||
myMenu.append(item)
|
myMenu.append(item)
|
||||||
@ -631,7 +631,7 @@ def build_import_menu(top_menu,callback):
|
|||||||
myMenu = gtk.Menu()
|
myMenu = gtk.Menu()
|
||||||
|
|
||||||
for report in _imports:
|
for report in _imports:
|
||||||
item = gtk.MenuItem(report[1])
|
item = gtk.MenuItem("%s..." % report[1])
|
||||||
item.connect("activate", callback ,report[0])
|
item.connect("activate", callback ,report[0])
|
||||||
item.show()
|
item.show()
|
||||||
myMenu.append(item)
|
myMenu.append(item)
|
||||||
|
@ -1777,4 +1777,4 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
from Plugins import register_import
|
from Plugins import register_import
|
||||||
register_import(readData,"%s..." % _title_string)
|
register_import(readData,_title_string)
|
||||||
|
@ -104,4 +104,4 @@ class ReadNative:
|
|||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
from Plugins import register_import
|
from Plugins import register_import
|
||||||
|
|
||||||
register_import(readData,"%s..." % _title_string)
|
register_import(readData,_title_string)
|
||||||
|
@ -138,4 +138,4 @@ class ReadPkg:
|
|||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
from Plugins import register_import
|
from Plugins import register_import
|
||||||
|
|
||||||
register_import(readData,"%s..." % _title_string)
|
register_import(readData,_title_string)
|
||||||
|
@ -266,4 +266,4 @@ class PackageWriter:
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from Plugins import register_export
|
from Plugins import register_export
|
||||||
|
|
||||||
register_export(writeData, "%s (nautilus)..." % _title_string )
|
register_export(writeData,_title_string)
|
||||||
|
@ -1145,4 +1145,4 @@ class GedcomWriter:
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from Plugins import register_export
|
from Plugins import register_export
|
||||||
|
|
||||||
register_export(writeData, "%s..." % _title_string )
|
register_export(writeData,_title_string)
|
||||||
|
@ -195,4 +195,4 @@ class PackageWriter:
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from Plugins import register_export
|
from Plugins import register_export
|
||||||
|
|
||||||
register_export(writeData, "%s..." % _title_string )
|
register_export(writeData,_title_string)
|
||||||
|
Loading…
Reference in New Issue
Block a user