* src/GrampsCfg.py: eliminate name only option in status line
* src/gramps_main.py: eliminate name only option in status line * src/preferences.py : eliminate name only option in status line * src/plugins/GraphViz.py: install only for python 2.2 svn: r2234
This commit is contained in:
parent
16d1e4c84e
commit
e43a29b72a
@ -129,7 +129,7 @@ vc_comment = 0
|
|||||||
uncompress = 0
|
uncompress = 0
|
||||||
lastfile = None
|
lastfile = None
|
||||||
nameof = Utils.normal_name
|
nameof = Utils.normal_name
|
||||||
status_bar = 0
|
status_bar = 1
|
||||||
toolbar = 2
|
toolbar = 2
|
||||||
calendar = 0
|
calendar = 0
|
||||||
paper_preference = ""
|
paper_preference = ""
|
||||||
@ -591,9 +591,7 @@ class GrampsPreferences:
|
|||||||
self.top.get_widget("sprefix").set_text(sprefix)
|
self.top.get_widget("sprefix").set_text(sprefix)
|
||||||
self.top.get_widget("pprefix").set_text(pprefix)
|
self.top.get_widget("pprefix").set_text(pprefix)
|
||||||
|
|
||||||
if status_bar == 0:
|
if status_bar == 0 or status_bar == 1:
|
||||||
self.top.get_widget("stat1").set_active(1)
|
|
||||||
elif status_bar == 1:
|
|
||||||
self.top.get_widget("stat2").set_active(1)
|
self.top.get_widget("stat2").set_active(1)
|
||||||
else:
|
else:
|
||||||
self.top.get_widget("stat3").set_active(1)
|
self.top.get_widget("stat3").set_active(1)
|
||||||
@ -850,9 +848,7 @@ class GrampsPreferences:
|
|||||||
output_obj = self.osubmenu.get_active()
|
output_obj = self.osubmenu.get_active()
|
||||||
goutput_obj = self.gsubmenu.get_active()
|
goutput_obj = self.gsubmenu.get_active()
|
||||||
|
|
||||||
if self.top.get_widget("stat1").get_active():
|
if self.top.get_widget("stat2").get_active():
|
||||||
status_bar = 0
|
|
||||||
elif self.top.get_widget("stat2").get_active():
|
|
||||||
status_bar = 1
|
status_bar = 1
|
||||||
else:
|
else:
|
||||||
status_bar = 2
|
status_bar = 2
|
||||||
|
@ -1443,7 +1443,6 @@ class Gramps:
|
|||||||
self.topWindow.set_title("%s - GRAMPS" % name)
|
self.topWindow.set_title("%s - GRAMPS" % name)
|
||||||
self.status_text("")
|
self.status_text("")
|
||||||
self.statusbar.set_progress_percentage(0.0)
|
self.statusbar.set_progress_percentage(0.0)
|
||||||
#self.statusbar.set_pulse_step(0.02)
|
|
||||||
self.delete_autosave(old_file)
|
self.delete_autosave(old_file)
|
||||||
|
|
||||||
def delete_autosave(self,filename):
|
def delete_autosave(self,filename):
|
||||||
@ -1593,9 +1592,7 @@ class Gramps:
|
|||||||
if self.active_person == None:
|
if self.active_person == None:
|
||||||
self.status_text("")
|
self.status_text("")
|
||||||
else:
|
else:
|
||||||
if GrampsCfg.status_bar == 0:
|
if GrampsCfg.status_bar <= 1:
|
||||||
name = GrampsCfg.nameof(self.active_person)
|
|
||||||
elif GrampsCfg.status_bar == 1:
|
|
||||||
pname = GrampsCfg.nameof(self.active_person)
|
pname = GrampsCfg.nameof(self.active_person)
|
||||||
name = "[%s] %s" % (self.active_person.getId(),pname)
|
name = "[%s] %s" % (self.active_person.getId(),pname)
|
||||||
else:
|
else:
|
||||||
|
@ -517,14 +517,17 @@ def get_description():
|
|||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
from Plugins import register_report
|
from Plugins import register_report
|
||||||
|
import sys
|
||||||
|
|
||||||
register_report(
|
ver = sys.version_info
|
||||||
report,
|
if ver[0] == 2 and ver[1] == 2:
|
||||||
_("Relationship Graph"),
|
register_report(
|
||||||
status=(_("Beta")),
|
report,
|
||||||
category=_("Graphical Reports"),
|
_("Relationship Graph"),
|
||||||
description=get_description(),
|
status=(_("Beta")),
|
||||||
author_name="Donald N. Allingham",
|
category=_("Graphical Reports"),
|
||||||
author_email="dallingham@users.sourceforge.net"
|
description=get_description(),
|
||||||
)
|
author_name="Donald N. Allingham",
|
||||||
|
author_email="dallingham@users.sourceforge.net"
|
||||||
|
)
|
||||||
|
|
||||||
|
@ -735,7 +735,7 @@
|
|||||||
<widget class="GtkTable" id="table15">
|
<widget class="GtkTable" id="table15">
|
||||||
<property name="border_width">12</property>
|
<property name="border_width">12</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="n_rows">9</property>
|
<property name="n_rows">8</property>
|
||||||
<property name="n_columns">3</property>
|
<property name="n_columns">3</property>
|
||||||
<property name="homogeneous">False</property>
|
<property name="homogeneous">False</property>
|
||||||
<property name="row_spacing">6</property>
|
<property name="row_spacing">6</property>
|
||||||
@ -858,10 +858,10 @@
|
|||||||
</child>
|
</child>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<widget class="GtkRadioButton" id="stat1">
|
<widget class="GtkRadioButton" id="stat2">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">True</property>
|
<property name="can_focus">True</property>
|
||||||
<property name="label" translatable="yes">_Active person's name only</property>
|
<property name="label" translatable="yes">Active person's name and _GRAMPS ID</property>
|
||||||
<property name="use_underline">True</property>
|
<property name="use_underline">True</property>
|
||||||
<property name="relief">GTK_RELIEF_NORMAL</property>
|
<property name="relief">GTK_RELIEF_NORMAL</property>
|
||||||
<property name="active">True</property>
|
<property name="active">True</property>
|
||||||
@ -879,29 +879,6 @@
|
|||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
<child>
|
|
||||||
<widget class="GtkRadioButton" id="stat2">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">True</property>
|
|
||||||
<property name="label" translatable="yes">Active person's name and _GRAMPS ID</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<property name="relief">GTK_RELIEF_NORMAL</property>
|
|
||||||
<property name="active">False</property>
|
|
||||||
<property name="inconsistent">False</property>
|
|
||||||
<property name="draw_indicator">True</property>
|
|
||||||
<property name="group">stat1</property>
|
|
||||||
<signal name="toggled" handler="on_object_toggled" object="propertybox"/>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="left_attach">1</property>
|
|
||||||
<property name="right_attach">3</property>
|
|
||||||
<property name="top_attach">7</property>
|
|
||||||
<property name="bottom_attach">8</property>
|
|
||||||
<property name="x_options">fill</property>
|
|
||||||
<property name="y_options"></property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<widget class="GtkRadioButton" id="stat3">
|
<widget class="GtkRadioButton" id="stat3">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
@ -912,14 +889,14 @@
|
|||||||
<property name="active">True</property>
|
<property name="active">True</property>
|
||||||
<property name="inconsistent">False</property>
|
<property name="inconsistent">False</property>
|
||||||
<property name="draw_indicator">True</property>
|
<property name="draw_indicator">True</property>
|
||||||
<property name="group">stat1</property>
|
<property name="group">stat2</property>
|
||||||
<signal name="toggled" handler="on_object_toggled" object="propertybox"/>
|
<signal name="toggled" handler="on_object_toggled" object="propertybox"/>
|
||||||
</widget>
|
</widget>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="left_attach">1</property>
|
<property name="left_attach">1</property>
|
||||||
<property name="right_attach">3</property>
|
<property name="right_attach">3</property>
|
||||||
<property name="top_attach">8</property>
|
<property name="top_attach">7</property>
|
||||||
<property name="bottom_attach">9</property>
|
<property name="bottom_attach">8</property>
|
||||||
<property name="x_options">fill</property>
|
<property name="x_options">fill</property>
|
||||||
<property name="y_options"></property>
|
<property name="y_options"></property>
|
||||||
</packing>
|
</packing>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user