activate help buttons in editors

svn: r14734
This commit is contained in:
Benny Malengier 2010-03-10 11:39:23 +00:00
parent fc09649901
commit 72afaa04bb
5 changed files with 6 additions and 2 deletions

View File

@ -9,6 +9,7 @@
<child internal-child="vbox">
<object class="GtkVBox" id="dialog-vbox11">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkVBox" id="vbox">
<property name="visible">True</property>

View File

@ -10,6 +10,7 @@
<child internal-child="vbox">
<object class="GtkVBox" id="dialog-vbox11">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="label517">
<property name="visible">True</property>

View File

@ -8,6 +8,7 @@
<child internal-child="vbox">
<object class="GtkVBox" id="dialog-vbox17">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkEventBox" id="eventboxtop">
<property name="visible">True</property>
@ -654,6 +655,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="pack_type">end</property>
<property name="position">2</property>
</packing>
</child>

View File

@ -91,8 +91,7 @@ class EditEventRef(EditReference):
def _connect_signals(self):
self.define_ok_button(self.top.get_object('ok'),self.ok_clicked)
self.define_cancel_button(self.top.get_object('cancel'))
# FIXME: activate when help page is available
#self.define_help_button(self.top.get_object('help'))
self.define_help_button(self.top.get_object('help'))
def _connect_db_signals(self):
"""

View File

@ -607,6 +607,7 @@ class EditFamily(EditPrimary):
def _connect_signals(self):
self.define_ok_button(self.top.get_object('ok'), self.save)
self.define_cancel_button(self.top.get_object('cancel'))
self.define_help_button(self.top.get_object('button119'))
def _can_be_replaced(self):
pass