Author: shadowmaster
Date: Wed Mar 21 16:47:43 2012
New Revision: 53598

URL: http://svn.gna.org/viewcvs/wesnoth?rev=53598&view=rev
Log:
addon/mg: Set the Add-ons Manager dialog title to "Add-ons Manager"

Previously this was "Get Add-ons" or "Update Add-ons" depending on which
view was active (the latter was used for the upgradable add-ons view).
This distinction doesn't make much sense now that the dialog is
constructed in the same path and supports a third view mode. Thus, it
makes sense to use a generic catch-all title now instead.

Modified:
    trunk/src/addon/manager_ui.cpp

Modified: trunk/src/addon/manager_ui.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/addon/manager_ui.cpp?rev=53598&r1=53597&r2=53598&view=diff
==============================================================================
--- trunk/src/addon/manager_ui.cpp (original)
+++ trunk/src/addon/manager_ui.cpp Wed Mar 21 16:47:43 2012
@@ -555,9 +555,7 @@
                // Set-up the actual GUI1 dialog and its children.
                //
 
-               const std::string dlg_title(!updates_only ? _("Get Add-ons") : 
_("Update Add-ons"));
-
-               gui::dialog dlg(disp, dlg_title, "", gui::OK_CANCEL);
+               gui::dialog dlg(disp, _("Add-ons Manager"), "", gui::OK_CANCEL);
 
                gui::menu::basic_sorter sorter;
                
sorter.set_alpha_sort(1).set_alpha_sort(2).set_alpha_sort(3).set_alpha_sort(4);


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to