8732: Media: Radiobox's Include label is missing from the Gramps XML Backup dialog

This commit is contained in:
Doug Blank 2015-07-20 07:27:29 -04:00
parent 538b00b3c8
commit 85a97c1c7f

View File

@ -1286,8 +1286,9 @@ class ViewManager(CLIManager):
label.set_size_request(90, -1)
label.set_halign(Gtk.Align.START)
hbox.pack_start(label, False, True, 0)
include = Gtk.RadioButton(None, "%s (%s %s)" % (_("Include"),
mbytes, _("Megabyte|MB")))
include = Gtk.RadioButton.new_with_mnemonic_from_widget(
None, "%s (%s %s)" % (_("Include"),
mbytes, _("Megabyte|MB")))
exclude = Gtk.RadioButton.new_with_mnemonic_from_widget(include, _("Exclude"))
include.connect("toggled", lambda widget: self.media_toggle(widget, file_entry))
hbox.pack_start(include, False, True, 0)