An icon theme may use variously styled icons for various types of UI
elements. For example, Breeze theme uses monochrome icons for actions
(toolbars) and statuses, but colourful for view contents. qBittorrent
was using icon names without putting attention to categories, creating
mix of styles in UI elements (i.e. the main toolbar).
This commit fixes icon names (and move some of them to theme) to avoid
this style mixes where possible.
Unfortunately, options dialog page icons for network and speed limits
are remained monochrome because there are no Breeze or Adwaita icons to
match.
To maintain consistency with the actual English menu item, the variable
names and method name have been changed to reflect the menu item text.
Per comments in PR qbittorrent#2493
Signed-off-by: ADTC <send2adtc@gmail.com>
The Copy icon is added to the menu item. This is in tandem with other
uses of the same icon, such as "Copy" (in log), "Copy selected" (in peer
list), "Copy tracker url", etc.
Also changed the ordering to have the new option appear before the
existing "Copy magnet link" icon.
This is as per comments in PR qbittorrent#2493
Signed-off-by: ADTC <send2adtc@gmail.com>
Implementation of feature request #2452https://github.com/qbittorrent/qBittorrent/issues/2452
Adds a new option in the right-click menu of the torrent list to copy
the name(s) of selected torrent(s) to the clipboard. This is similar to
the existing option to copy the magnet links to the clipboard.
This patch was originally authored by Chris Hirst (ciaobaby). I changed
the item name from "Copy caption" to "Copy name" (the torrent list
column header says "Name"), and I added the missing line in the header
file.
Note: Translations are not updated for the English menu item "Copy
name".
Signed-off-by: ADTC <send2adtc@gmail.com>