Browse Source

COSMETIC: Fix naming of actions opening new dialogs (use Name...)

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
f1bfcb4822
  1. 1
      Changelog
  2. 6
      src/peerlistwidget.cpp
  3. 2
      src/trackerlist.cpp
  4. 2
      src/transferlistfilterswidget.h
  5. 8
      src/ui/mainwindow.ui
  6. 10
      src/ui/rss.ui

1
Changelog

@ -15,6 +15,7 @@
- COSMETIC: Display peers country name in tooltip - COSMETIC: Display peers country name in tooltip
- COSMETIC: Display number of torrents in transfers tab label - COSMETIC: Display number of torrents in transfers tab label
- COSMETIC: Simplified program preferences - COSMETIC: Simplified program preferences
- COSMETIC: Fix naming of actions opening new dialogs (use Name...)
* Sun Mar 14 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.2.0 * Sun Mar 14 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.2.0
- FEATURE: User can set alternative speed limits for fast toggling - FEATURE: User can set alternative speed limits for fast toggling

6
src/peerlistwidget.cpp

@ -128,7 +128,7 @@ void PeerListWidget::showPeerListMenu(QPoint) {
// Add Peer Action // Add Peer Action
QAction *addPeerAct = 0; QAction *addPeerAct = 0;
if(!h.is_queued() && !h.is_checking()) { if(!h.is_queued() && !h.is_checking()) {
addPeerAct = menu.addAction(QIcon(":/Icons/oxygen/user-group-new.png"), tr("Add a new peer")); addPeerAct = menu.addAction(QIcon(":/Icons/oxygen/user-group-new.png"), tr("Add a new peer..."));
empty_menu = false; empty_menu = false;
} }
// Per Peer Speed limiting actions // Per Peer Speed limiting actions
@ -136,8 +136,8 @@ void PeerListWidget::showPeerListMenu(QPoint) {
QAction *dlLimitAct = 0; QAction *dlLimitAct = 0;
QAction *banAct = 0; QAction *banAct = 0;
if(!selectedPeerIPs.isEmpty()) { if(!selectedPeerIPs.isEmpty()) {
dlLimitAct = menu.addAction(QIcon(":/Icons/skin/download.png"), tr("Limit download rate")); dlLimitAct = menu.addAction(QIcon(":/Icons/skin/download.png"), tr("Limit download rate..."));
upLimitAct = menu.addAction(QIcon(":/Icons/skin/seeding.png"), tr("Limit upload rate")); upLimitAct = menu.addAction(QIcon(":/Icons/skin/seeding.png"), tr("Limit upload rate..."));
banAct = menu.addAction(QIcon(":/Icons/oxygen/user-group-delete.png"), tr("Ban peer permanently")); banAct = menu.addAction(QIcon(":/Icons/oxygen/user-group-delete.png"), tr("Ban peer permanently"));
empty_menu = false; empty_menu = false;
} }

2
src/trackerlist.cpp

@ -345,7 +345,7 @@ void TrackerList::showTrackerListMenu(QPoint) {
QList<QTreeWidgetItem*> selected_items = getSelectedTrackerItems(); QList<QTreeWidgetItem*> selected_items = getSelectedTrackerItems();
QMenu menu; QMenu menu;
// Add actions // Add actions
QAction *addAct = menu.addAction(QIcon(":/Icons/oxygen/list-add.png"), tr("Add a new tracker")); QAction *addAct = menu.addAction(QIcon(":/Icons/oxygen/list-add.png"), tr("Add a new tracker..."));
QAction *delAct = 0; QAction *delAct = 0;
if(!getSelectedTrackerItems().isEmpty()) { if(!getSelectedTrackerItems().isEmpty()) {
delAct = menu.addAction(QIcon(":/Icons/oxygen/list-remove.png"), "Remove tracker"); delAct = menu.addAction(QIcon(":/Icons/oxygen/list-remove.png"), "Remove tracker");

2
src/transferlistfilterswidget.h

@ -313,7 +313,7 @@ protected slots:
QAction *removeAct = 0; QAction *removeAct = 0;
if(!labelFilters->selectedItems().empty() && labelFilters->row(labelFilters->selectedItems().first()) > 1) if(!labelFilters->selectedItems().empty() && labelFilters->row(labelFilters->selectedItems().first()) > 1)
removeAct = labelMenu.addAction(QIcon(":/Icons/oxygen/list-remove.png"), tr("Remove label")); removeAct = labelMenu.addAction(QIcon(":/Icons/oxygen/list-remove.png"), tr("Remove label"));
QAction *addAct = labelMenu.addAction(QIcon(":/Icons/oxygen/list-add.png"), tr("Add label")); QAction *addAct = labelMenu.addAction(QIcon(":/Icons/oxygen/list-add.png"), tr("Add label..."));
QAction *act = 0; QAction *act = 0;
act = labelMenu.exec(QCursor::pos()); act = labelMenu.exec(QCursor::pos());
if(act) { if(act) {

8
src/ui/mainwindow.ui

@ -209,12 +209,12 @@
</action> </action>
<action name="actionSet_upload_limit"> <action name="actionSet_upload_limit">
<property name="text"> <property name="text">
<string>Set upload limit</string> <string>Set upload limit...</string>
</property> </property>
</action> </action>
<action name="actionSet_download_limit"> <action name="actionSet_download_limit">
<property name="text"> <property name="text">
<string>Set download limit</string> <string>Set download limit...</string>
</property> </property>
</action> </action>
<action name="actionDocumentation"> <action name="actionDocumentation">
@ -224,12 +224,12 @@
</action> </action>
<action name="actionSet_global_download_limit"> <action name="actionSet_global_download_limit">
<property name="text"> <property name="text">
<string>Set global download limit</string> <string>Set global download limit...</string>
</property> </property>
</action> </action>
<action name="actionSet_global_upload_limit"> <action name="actionSet_global_upload_limit">
<property name="text"> <property name="text">
<string>Set global upload limit</string> <string>Set global upload limit...</string>
</property> </property>
</action> </action>
<action name="actionDecreasePriority"> <action name="actionDecreasePriority">

10
src/ui/rss.ui

@ -190,7 +190,7 @@ p, li { white-space: pre-wrap; }
<normaloff>:/Icons/oxygen/edit_clear.png</normaloff>:/Icons/oxygen/edit_clear.png</iconset> <normaloff>:/Icons/oxygen/edit_clear.png</normaloff>:/Icons/oxygen/edit_clear.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Rename</string> <string>Rename...</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Rename</string> <string>Rename</string>
@ -214,7 +214,7 @@ p, li { white-space: pre-wrap; }
<normaloff>:/Icons/oxygen/subscribe16.png</normaloff>:/Icons/oxygen/subscribe16.png</iconset> <normaloff>:/Icons/oxygen/subscribe16.png</normaloff>:/Icons/oxygen/subscribe16.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>New subscription</string> <string>New subscription...</string>
</property> </property>
</action> </action>
<action name="actionUpdate_all_feeds"> <action name="actionUpdate_all_feeds">
@ -274,7 +274,7 @@ p, li { white-space: pre-wrap; }
<normaloff>:/Icons/oxygen/download.png</normaloff>:/Icons/oxygen/download.png</iconset> <normaloff>:/Icons/oxygen/download.png</normaloff>:/Icons/oxygen/download.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>RSS feed downloader</string> <string>RSS feed downloader...</string>
</property> </property>
</action> </action>
<action name="actionNew_folder"> <action name="actionNew_folder">
@ -283,7 +283,7 @@ p, li { white-space: pre-wrap; }
<normaloff>:/Icons/oxygen/folder-new.png</normaloff>:/Icons/oxygen/folder-new.png</iconset> <normaloff>:/Icons/oxygen/folder-new.png</normaloff>:/Icons/oxygen/folder-new.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>New folder</string> <string>New folder...</string>
</property> </property>
</action> </action>
<action name="actionManage_cookies"> <action name="actionManage_cookies">
@ -292,7 +292,7 @@ p, li { white-space: pre-wrap; }
<normaloff>:/Icons/oxygen/cookies.png</normaloff>:/Icons/oxygen/cookies.png</iconset> <normaloff>:/Icons/oxygen/cookies.png</normaloff>:/Icons/oxygen/cookies.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Manage cookies</string> <string>Manage cookies...</string>
</property> </property>
</action> </action>
</widget> </widget>

Loading…
Cancel
Save