From 84f8131d97c1d3432b24ac93f9c43ea3ef4df5dd Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Tue, 16 Apr 2013 18:47:16 -0400 Subject: [PATCH] details: Fix addhw popup menu mnemonics --- virtManager/details.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/virtManager/details.py b/virtManager/details.py index d2c1cdc08..92274c44f 100644 --- a/virtManager/details.py +++ b/virtManager/details.py @@ -634,6 +634,7 @@ class vmmDetails(vmmGObjectUI): self.addhwmenu = Gtk.Menu() addHW = Gtk.ImageMenuItem(_("_Add Hardware")) + addHW.set_use_underline(True) addHWImg = Gtk.Image() addHWImg.set_from_stock(Gtk.STOCK_ADD, Gtk.IconSize.MENU) addHW.set_image(addHWImg) @@ -641,6 +642,7 @@ class vmmDetails(vmmGObjectUI): addHW.connect("activate", self.add_hardware) rmHW = Gtk.ImageMenuItem(_("_Remove Hardware")) + rmHW.set_use_underline(True) rmHWImg = Gtk.Image() rmHWImg.set_from_stock(Gtk.STOCK_REMOVE, Gtk.IconSize.MENU) rmHW.set_image(rmHWImg)