linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #05158
[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2792: Add a "Download full list" button in the file list toolbar
------------------------------------------------------------
revno: 2792
committer: poy <poy@xxxxxxxxxx>
branch nick: trunk
timestamp: Sat 2012-01-07 19:05:09 +0100
message:
Add a "Download full list" button in the file list toolbar
modified:
changelog.txt
help/window_file_list.html
win32/DirectoryListingFrame.cpp
--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk
Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'changelog.txt'
--- changelog.txt 2012-01-07 17:52:55 +0000
+++ changelog.txt 2012-01-07 18:05:09 +0000
@@ -1,6 +1,7 @@
* Save and restore partial file lists (poy)
* Apply ADL searches in partial file lists (poy)
* [ADC] Heuristics to send additional levels of info in partial file lists (poy)
+* Add a "Download full list" button in the file list toolbar (poy)
-- 0.790 2011-12-29 --
* Fav users frame becomes users frame and shows all users
=== modified file 'help/window_file_list.html'
--- help/window_file_list.html 2011-12-18 15:37:20 +0000
+++ help/window_file_list.html 2012-01-07 18:05:09 +0000
@@ -23,6 +23,12 @@
<dd cshelp="IDH_FILE_LIST_SUBSTRACT">Compare this list to another list, and only show the differences between each. Useful to see new items added by an user to his file list.</dd>
<dt>Match queue</dt>
<dd cshelp="IDH_FILE_LIST_MATCH_QUEUE">Search the list for items you are currently downloading; found items will be automatically added as sources for your current downloads.</dd>
+ <dt>Download full list</dt>
+ <dd cshelp="IDH_FILE_LIST_DOWNLOAD_FULL">
+ Downloads a full version of the current file list (generally, file lists are downloaded in parts
+ to only download the directories you are interested in). This function is also useful to refresh
+ the file list if you suspect the user may have modified it.
+ </dd>
<dt><img src="Search.ico" width="16" height="16" alt="Find"/> Find</dt>
<dd cshelp="IDH_FILE_LIST_FIND">Toggle the visibility of the search box, which allows searching
within the file list.</dd>
=== modified file 'win32/DirectoryListingFrame.cpp'
--- win32/DirectoryListingFrame.cpp 2012-01-07 17:52:55 +0000
+++ win32/DirectoryListingFrame.cpp 2012-01-07 18:05:09 +0000
@@ -351,6 +351,7 @@
ids.clear();
addButton(0, T_("Subtract list"), true, IDH_FILE_LIST_SUBSTRACT, [this] { handleListDiff(); });
addButton(0, T_("Match queue"), true, IDH_FILE_LIST_MATCH_QUEUE, [this] { handleMatchQueue(); });
+ addButton(0, T_("Download full list"), true, IDH_FILE_LIST_DOWNLOAD_FULL, [this] { user.getList(); });
ids.push_back("Find");
auto findId = ids.back();
toolbar->addButton(findId, WinUtil::toolbarIcon(IDI_SEARCH), 0, T_("Find"), true, IDH_FILE_LIST_FIND,