addhardware: Fix error message syntax typo

This commit is contained in:
Paul W. Frields 2009-08-31 10:45:59 -04:00
parent 78317e7b3a
commit ccf28d3762
3 changed files with 4 additions and 3 deletions

View File

@ -59,6 +59,7 @@ Further patches have been submitted by:
Emmanuel Lacour <elacour-at-home-dn-dot-net>
Laurent Léonard <laurent-at-open-minds-dot-org>
Michal Novotny <minovotn-at-redhat-dot-com>
Paul W. Frields <stickster-at-gmail-dot-com>
<...send a patch & get your name here...>

View File

@ -1186,8 +1186,8 @@ class vmmAddHardware(gobject.GObject):
conn = self.vm.get_connection().vmm,
name = nodedev_name)
except Exception, e:
return self.err.val_err(_("Host device parameter error",
str(e)))
return self.err.val_err(_("Host device parameter error"),
str(e))
elif page_num == PAGE_CHAR:
chartype = self.get_char_type()

View File

@ -118,7 +118,7 @@
<child>
<widget class="GtkImageMenuItem" id="menu_edit_delete">
<property name="visible">True</property>
<property name="label" translatable="yes">Delete Virtual Machine</property>
<property name="label" translatable="yes">Delete</property>
<property name="use_underline">True</property>
<signal name="activate" handler="on_menu_edit_delete_activate"/>
<child internal-child="image">