Commit c610835d authored by VIGNET Pierre's avatar VIGNET Pierre

Fix clearer typos; resize window: Insert model name

parent a254840b
......@@ -17,7 +17,7 @@
<child>
<widget class="GtkMenuItem" id="menuitem2">
<property name="visible">True</property>
<property name="label" translatable="yes">Files</property>
<property name="label" translatable="yes">Model</property>
<property name="use_underline">True</property>
<child>
<widget class="GtkMenu" id="menu2">
......@@ -521,7 +521,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="label" translatable="yes">Narrow</property>
<property name="label" translatable="yes">Zoom +</property>
<property name="response_id">0</property>
</widget>
<packing>
......@@ -534,7 +534,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="label" translatable="yes">Enlarge</property>
<property name="label" translatable="yes">Zoom -</property>
<property name="response_id">0</property>
</widget>
<packing>
......
......@@ -487,7 +487,7 @@ class Charter(object):
create a new charts when you click on new
"""
# open an independant gtk.Entry for asking for the name
die = DialogEntry("Model name")
die = DialogEntry("Insert a model name")
die.okb.connect("clicked", self.ok_new_text, die)
die.cancel.connect("clicked", self.cancel, die)
die.run()
......@@ -537,7 +537,7 @@ class Charter(object):
"""
open a window to search xml file
"""
fch = FileChooser("Import from xml", "bcx files", "*.bcx")
fch = FileChooser("Import Cadbiom model", "bcx files", "*.bcx")
fch.do_action(self.import_from_xml_file)
def import_from_xml_file(self, ffile):
......
......@@ -166,6 +166,7 @@ class DialogEntry(gtk.Dialog):
None,
gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT)
self.set_default_size(350, 75)
self.entry = gtk.Entry()
self.vbox.pack_start(self.entry, True, True, 0)
self.entry.show()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment