X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=radiant%2Fgtkdlgs.cpp;h=f0f3c2749cc4dc87e97edb27079f3f7876af67c5;hp=a7e3fbce744b6186b970cb5136e720132e191ddd;hb=fed0daaf978788b1c177a72f3195170f17df064b;hpb=cd6613e5171544b68d4ae70546c90a15c99b22a5 diff --git a/radiant/gtkdlgs.cpp b/radiant/gtkdlgs.cpp index a7e3fbce..f0f3c274 100644 --- a/radiant/gtkdlgs.cpp +++ b/radiant/gtkdlgs.cpp @@ -40,7 +40,6 @@ #include #include "debugging/debugging.h" -#include "version.h" #include "aboutmsg.h" #include "igl.h" @@ -425,7 +424,7 @@ void DoAbout(){ ModalDialog dialog; ModalDialogButton ok_button( dialog, eIDOK ); - auto window = MainFrame_getWindow().create_modal_dialog_window("About NetRadiant", dialog ); + auto window = MainFrame_getWindow().create_modal_dialog_window("About " RADIANT_NAME, dialog ); { auto vbox = create_dialog_vbox( 4, 4 ); @@ -450,16 +449,19 @@ void DoAbout(){ } { - char const *label_text = "NetRadiant " RADIANT_VERSION "\n" + char const *label_text = RADIANT_NAME " " RADIANT_VERSION_STRING "\n" __DATE__ "\n\n" - RADIANT_ABOUTMSG "\n\n" + RADIANT_ABOUTMSG "\n\n" "This program is free software\n" "licensed under the GNU GPL.\n\n" - "NetRadiant is unsupported, however\n" + RADIANT_NAME " is unsupported, however\n" "you may report your problems at\n" - "https://gitlab.com/xonotic/netradiant/issues"; + "" + "gitlab.com/xonotic/netradiant/issues" + ""; auto label = ui::Label( label_text ); + gtk_label_set_use_markup( GTK_LABEL( label ), true ); label.show(); hbox.pack_start( label, FALSE, FALSE, 0 );