]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/gtkdlgs.cpp
radiant/texwindow: test .wad file extension case-insensitively on all systems, fix...
[xonotic/netradiant.git] / radiant / gtkdlgs.cpp
index 817cdbf309f896e50726d0e1f55fe77d17c776f8..a8ec09724249e4eb70228484b7d14f04460a7aab 100644 (file)
@@ -40,7 +40,6 @@
 #include <gtk/gtk.h>
 
 #include "debugging/debugging.h"
-#include "version.h"
 #include "aboutmsg.h"
 
 #include "igl.h"
@@ -437,7 +436,7 @@ void DoAbout(){
 
                        {
                 auto vbox2 = create_dialog_vbox( 4 );
-                               hbox.pack_start( vbox2, TRUE, FALSE, 0 );
+                               hbox.pack_start( vbox2, FALSE, FALSE, 5 );
                                {
                                        auto frame = create_dialog_frame( 0, ui::Shadow::IN );
                                        vbox2.pack_start( frame, FALSE, FALSE, 0 );
@@ -450,26 +449,30 @@ void DoAbout(){
                        }
 
                        {
-                               char const *label_text = RADIANT_NAME " " RADIANT_VERSION_STRING "\n"
-                                                                               __DATE__ "\n\n"
+                               char const *label_text = RADIANT_NAME " " RADIANT_VERSION_STRING " (" __DATE__ ")\n"
                                                                                RADIANT_ABOUTMSG "\n\n"
-                                                                               "This program is free software\n"
-                                                                               "licensed under the GNU GPL.\n\n"
-                                                                               RADIANT_NAME " is unsupported, however\n"
-                                                                               "you may report your problems at\n"
-                                                                               "https://gitlab.com/xonotic/netradiant/issues";
+                                                                               "Get news and updates on "
+                                                                               "<a href='https://netradiant.gitlab.io/'>"
+                                                                                       "netradiant.gitlab.io"
+                                                                               "</a>\n"
+                                                                               "Please report your issues on "
+                                                                               "<a href='https://gitlab.com/xonotic/netradiant/issues'>"
+                                                                                       "gitlab.com/xonotic/netradiant/issues"
+                                                                               "</a>\n\n"
+                                                                               "This program is free software licensed under the GNU GPL.";
 
                                auto label = ui::Label( label_text );
+                               gtk_label_set_use_markup( GTK_LABEL( label ), true );
 
                                label.show();
-                               hbox.pack_start( label, FALSE, FALSE, 0 );
-                               gtk_misc_set_alignment( GTK_MISC( label ), 1, 0.5 );
+                               hbox.pack_start( label, TRUE, TRUE, 0 );
+                               gtk_misc_set_alignment( GTK_MISC( label ), 0, 0 );
                                gtk_label_set_justify( label, GTK_JUSTIFY_LEFT );
                        }
 
                        {
                 auto vbox2 = create_dialog_vbox( 4 );
-                               hbox.pack_start( vbox2, FALSE, TRUE, 0 );
+                               hbox.pack_start( vbox2, TRUE, TRUE, 0 );
                                {
                     auto button = create_modal_dialog_button( "OK", ok_button );
                                        vbox2.pack_start( button, FALSE, FALSE, 0 );