Skip to content

Commit

Permalink
Even more icon renaming.
Browse files Browse the repository at this point in the history
  • Loading branch information
lalinsky committed Dec 30, 2006
1 parent ccde4ff commit afbeb96
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 13 deletions.
12 changes: 2 additions & 10 deletions picard/ui/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,6 @@ def create_statusbar(self):

def create_actions(self):

def get_icon(name, menu=True, toolbar=True):
icon = QtGui.QIcon()
if menu:
icon.addFile(":/images/16x16/%s.png" % name)
if toolbar:
icon.addFile(":/images/22x22/%s.png" % name)
return icon

self.options_action = QtGui.QAction(icontheme.lookup('preferences-desktop'), _("&Options..."), self)
self.connect(self.options_action, QtCore.SIGNAL("triggered()"), self.show_options)

Expand Down Expand Up @@ -241,13 +233,13 @@ def get_icon(name, menu=True, toolbar=True):
self.cluster_action.setShortcut(QtGui.QKeySequence(_(u"Ctrl+U")))
self.connect(self.cluster_action, QtCore.SIGNAL("triggered()"), self.cluster)

self.autotag_action = QtGui.QAction(QtGui.QIcon(":/images/magic-wand.png"), _(u"Auto Tag"), self)
self.autotag_action = QtGui.QAction(icontheme.lookup('picard-auto-tag'), _(u"Auto Tag"), self)
self.autotag_action.setEnabled(False)
# TR: Keyboard shortcut for "Auto Tag"
self.autotag_action.setShortcut(QtGui.QKeySequence(_(u"Ctrl+T")))
self.connect(self.autotag_action, QtCore.SIGNAL("triggered()"), self.autotag)

self.edit_tags_action = QtGui.QAction(QtGui.QIcon(":/images/tag.png"), _(u"Edit &Tags..."), self)
self.edit_tags_action = QtGui.QAction(icontheme.lookup('picard-edit-tags'), _(u"Edit &Tags..."), self)
self.edit_tags_action.setEnabled(False)
self.connect(self.edit_tags_action, QtCore.SIGNAL("triggered()"), self.edit_tags)

Expand Down
File renamed without changes
File renamed without changes
5 changes: 2 additions & 3 deletions resources/picard.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<file>images/Picard16.png</file>
<file>images/Picard32.png</file>
<file>images/22x22/picard-analyze.png</file>
<file>images/ToolbarListen.png</file>
<file>images/16x16/media-optical.png</file>
<file>images/22x22/media-optical.png</file>
<file>images/22x22/list-remove.png</file>
Expand All @@ -19,9 +18,9 @@
<file>images/match-80.png</file>
<file>images/match-90.png</file>
<file>images/match-100.png</file>
<file>images/magic-wand.png</file>
<file>images/22x22/picard-auto-tag.png</file>
<file>images/track-saved.png</file>
<file>images/tag.png</file>
<file>images/22x22/picard-edit-tags.png</file>
<file>images/16x16/edit-cut.png</file>
<file>images/16x16/edit-paste.png</file>
<file>images/16x16/document-open.png</file>
Expand Down

0 comments on commit afbeb96

Please sign in to comment.