diff --git a/gui/shipBrowser.py b/gui/shipBrowser.py index aa8ee7779..e648a4926 100644 --- a/gui/shipBrowser.py +++ b/gui/shipBrowser.py @@ -154,8 +154,9 @@ class ShipMenu(wx.Panel): sizer = wx.BoxSizer(wx.HORIZONTAL) self.SetSizer(sizer) - for name, art in (("new", wx.ART_NEW), ("rename", wx.ART_FIND_AND_REPLACE), ("copy", wx.ART_COPY), ("delete", wx.ART_DELETE)): - btn = wx.BitmapButton(self, wx.ID_ANY, wx.ArtProvider.GetBitmap(art, wx.ART_BUTTON)) + for name, art in (("new", wx.ART_NEW), ("rename", bitmapLoader.getBitmap("rename", "icons")), ("copy", wx.ART_COPY), ("delete", wx.ART_DELETE)): + bitmap = wx.ArtProvider.GetBitmap(art, wx.ART_BUTTON) if name != "rename" else art + btn = wx.BitmapButton(self, wx.ID_ANY, bitmap) setattr(self, name, btn) btn.Enable(False) btn.SetToolTipString("%s fit." % name.capitalize()) diff --git a/icons/rename.png b/icons/rename.png new file mode 100644 index 000000000..0f9462a2c Binary files /dev/null and b/icons/rename.png differ