* src/plugins/Checkpoint.py: Replace combos with text entries.
* src/plugins/checkpoint.glade: Replace combos with text entries. svn: r5455
This commit is contained in:
@@ -3,6 +3,8 @@
|
|||||||
* doc/gramps-manual/Makefile.am: Add symlink to keep all gnome
|
* doc/gramps-manual/Makefile.am: Add symlink to keep all gnome
|
||||||
versions happy with the help path.
|
versions happy with the help path.
|
||||||
* src/po/de.po: Typos: missing "\n".
|
* src/po/de.po: Typos: missing "\n".
|
||||||
|
* src/plugins/Checkpoint.py: Replace combos with text entries.
|
||||||
|
* src/plugins/checkpoint.glade: Replace combos with text entries.
|
||||||
|
|
||||||
2005-11-29 Don Allingham <don@gramps-project.org>
|
2005-11-29 Don Allingham <don@gramps-project.org>
|
||||||
* src/GrampsBSDDB.py: change rebuilding of secondary indices
|
* src/GrampsBSDDB.py: change rebuilding of secondary indices
|
||||||
|
@@ -50,7 +50,6 @@ from gnome import help_display
|
|||||||
from QuestionDialog import OkDialog, ErrorDialog
|
from QuestionDialog import OkDialog, ErrorDialog
|
||||||
import WriteXML
|
import WriteXML
|
||||||
import Tool
|
import Tool
|
||||||
import AutoComp
|
|
||||||
import Utils
|
import Utils
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
@@ -59,15 +58,6 @@ import Utils
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
# Some strings that we offer as custom commands
|
|
||||||
cust_arch_list = [
|
|
||||||
'cvs ci -m "$(date)"',
|
|
||||||
]
|
|
||||||
|
|
||||||
cust_ret_list = [
|
|
||||||
'cvs up',
|
|
||||||
]
|
|
||||||
|
|
||||||
# Some message strings
|
# Some message strings
|
||||||
rcs_setup_failure_msg = [
|
rcs_setup_failure_msg = [
|
||||||
_("Checkpoint Archive Creation Failed"),
|
_("Checkpoint Archive Creation Failed"),
|
||||||
@@ -143,11 +133,9 @@ class Checkpoint(Tool.Tool):
|
|||||||
self.cust_rb = self.glade.get_widget("custom")
|
self.cust_rb = self.glade.get_widget("custom")
|
||||||
|
|
||||||
# Fill in the stored values
|
# Fill in the stored values
|
||||||
AutoComp.fill_combo(self.cust_arch_cb,cust_arch_list)
|
self.cust_arch_cb.set_text(
|
||||||
AutoComp.fill_combo(self.cust_ret_cb,cust_ret_list)
|
|
||||||
self.cust_arch_cb.child.set_text(
|
|
||||||
self.options.handler.options_dict['cacmd'])
|
self.options.handler.options_dict['cacmd'])
|
||||||
self.cust_ret_cb.child.set_text(
|
self.cust_ret_cb.set_text(
|
||||||
self.options.handler.options_dict['crcmd'])
|
self.options.handler.options_dict['crcmd'])
|
||||||
|
|
||||||
# Display controls according to the state
|
# Display controls according to the state
|
||||||
@@ -209,7 +197,7 @@ class Checkpoint(Tool.Tool):
|
|||||||
|
|
||||||
def on_archive_clicked(self,obj):
|
def on_archive_clicked(self,obj):
|
||||||
self.options.handler.options_dict['cacmd'] = unicode(
|
self.options.handler.options_dict['cacmd'] = unicode(
|
||||||
self.cust_arch_cb.child.get_text())
|
self.cust_arch_cb.get_text())
|
||||||
self.options.handler.options_dict['rcs'] = int(
|
self.options.handler.options_dict['rcs'] = int(
|
||||||
self.rcs_rb.get_active())
|
self.rcs_rb.get_active())
|
||||||
|
|
||||||
@@ -219,7 +207,7 @@ class Checkpoint(Tool.Tool):
|
|||||||
|
|
||||||
def on_retrieve_clicked(self,obj):
|
def on_retrieve_clicked(self,obj):
|
||||||
self.options.handler.options_dict['crcmd'] = unicode(
|
self.options.handler.options_dict['crcmd'] = unicode(
|
||||||
self.cust_ret_cb.child.get_text())
|
self.cust_ret_cb.get_text())
|
||||||
self.options.handler.options_dict['rcs'] = int(
|
self.options.handler.options_dict['rcs'] = int(
|
||||||
self.rcs_rb.get_active())
|
self.rcs_rb.get_active())
|
||||||
|
|
||||||
|
@@ -387,28 +387,44 @@
|
|||||||
</child>
|
</child>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<widget class="GtkComboBoxEntry" id="cust_arch">
|
<widget class="GtkEntry" id="cust_arch">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="editable">True</property>
|
||||||
|
<property name="visibility">True</property>
|
||||||
|
<property name="max_length">0</property>
|
||||||
|
<property name="text" translatable="yes"></property>
|
||||||
|
<property name="has_frame">True</property>
|
||||||
|
<property name="invisible_char" translatable="yes">*</property>
|
||||||
|
<property name="activates_default">False</property>
|
||||||
</widget>
|
</widget>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="left_attach">3</property>
|
<property name="left_attach">3</property>
|
||||||
<property name="right_attach">4</property>
|
<property name="right_attach">4</property>
|
||||||
<property name="top_attach">3</property>
|
<property name="top_attach">3</property>
|
||||||
<property name="bottom_attach">4</property>
|
<property name="bottom_attach">4</property>
|
||||||
<property name="y_options">fill</property>
|
<property name="y_options"></property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<widget class="GtkComboBoxEntry" id="cust_ret">
|
<widget class="GtkEntry" id="cust_ret">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="editable">True</property>
|
||||||
|
<property name="visibility">True</property>
|
||||||
|
<property name="max_length">0</property>
|
||||||
|
<property name="text" translatable="yes"></property>
|
||||||
|
<property name="has_frame">True</property>
|
||||||
|
<property name="invisible_char" translatable="yes">*</property>
|
||||||
|
<property name="activates_default">False</property>
|
||||||
</widget>
|
</widget>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="left_attach">3</property>
|
<property name="left_attach">3</property>
|
||||||
<property name="right_attach">4</property>
|
<property name="right_attach">4</property>
|
||||||
<property name="top_attach">4</property>
|
<property name="top_attach">4</property>
|
||||||
<property name="bottom_attach">5</property>
|
<property name="bottom_attach">5</property>
|
||||||
<property name="y_options">fill</property>
|
<property name="y_options"></property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
</widget>
|
</widget>
|
||||||
|
Reference in New Issue
Block a user