]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
bikeshedding: some wording 141/head
authorThomas Debesse <dev@illwieckz.net>
Sun, 14 Jul 2019 00:57:54 +0000 (02:57 +0200)
committerThomas Debesse <dev@illwieckz.net>
Mon, 22 Jul 2019 02:09:24 +0000 (04:09 +0200)
libs/uilib/uilib.h
radiant/mainframe.cpp
radiant/preferences.cpp

index d795b75834659eff96b1e79d1514837f152b3d32..e6c5ff6a91d68b8fbc583123590d5391ea7650d0 100644 (file)
@@ -585,7 +585,7 @@ namespace ui {
     alert_response alert(
             Window parent,
             std::string text,
-            std::string title = "NetRadiant",
+            std::string title = RADIANT_NAME,
             alert_type type = alert_type::OK,
             alert_icon icon = alert_icon::Default
     );
index 663ca30374b3ef35e8144f0b7b02890afaa0ee6c..8a7691af94b0d16d92cd740429f47d90e6b2c832 100644 (file)
@@ -816,7 +816,7 @@ void Radiant_Shutdown(){
 }
 
 void Exit(){
-       if ( ConfirmModified( "Exit Radiant" ) ) {
+       if ( ConfirmModified( "Exit " RADIANT_NAME ) ) {
                gtk_main_quit();
        }
 }
@@ -2935,7 +2935,7 @@ WindowPositionTracker g_posXZWnd;
 WindowPositionTracker g_posYZWnd;
 
 static gint mainframe_delete( ui::Widget widget, GdkEvent *event, gpointer data ){
-       if ( ConfirmModified( "Exit Radiant" ) ) {
+       if ( ConfirmModified( "Exit " RADIANT_NAME ) ) {
                gtk_main_quit();
        }
 
index 8e2e0268f8ec882132528af56cc110fffcecc330..659308aee02766f0b31d2a9036a6f57974dea299 100644 (file)
@@ -881,6 +881,7 @@ void Preferences_Save(){
                return;
        }
 
+       // save global preferences
        g_GamesDialog.SavePrefs();
 
        globalOutputStream() << "saving local preferences to " << g_Preferences.m_inipath->str << "\n";
@@ -912,7 +913,7 @@ void PreferencesDialog_showDialog(){
        if ( ConfirmModified( "Edit Preferences" ) && g_Preferences.DoModal() == eIDOK ) {
                if ( !g_restart_required.empty() ) {
                        StringOutputStream message( 256 );
-                       message << "Preference changes require a restart:\n";
+                       message << "Preference changes require a restart:\n\n";
 
                        for ( std::vector<const char*>::iterator i = g_restart_required.begin(); i != g_restart_required.end(); ++i )
                        {