mirror of https://github.com/PCSX2/pcsx2.git
Linux: Show the version number for release builds.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@569 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
85c6db67c2
commit
0f6f310c71
|
@ -42,12 +42,12 @@ void OnHelp_About(GtkMenuItem *menuitem, gpointer user_data)
|
|||
Label = lookup_widget(AboutDlg, "GtkAbout_LabelVersion");
|
||||
|
||||
// Include the SVN revision
|
||||
if (SVN_REV != 0)
|
||||
sprintf(str, _("PCSX2 For Linux\nVersion %s %s\n"), PCSX2_VERSION, SVN_REV);
|
||||
else
|
||||
//Use this instead for a non-svn version
|
||||
sprintf(str, _("PCSX2 For Linux\nVersion %s\n"), PCSX2_VERSION);
|
||||
|
||||
#ifdef PCSX2_DEVBUILD
|
||||
sprintf(str, _("PCSX2 For Linux\nVersion %s %s\n"), PCSX2_VERSION, SVN_REV);
|
||||
#else
|
||||
//Use this instead for a non-svn version
|
||||
sprintf(str, _("PCSX2 For Linux\nVersion %s\n"), PCSX2_VERSION);
|
||||
#endif
|
||||
gtk_label_set_text(GTK_LABEL(Label), str);
|
||||
|
||||
Label = lookup_widget(AboutDlg, "GtkAbout_LabelAuthors");
|
||||
|
|
|
@ -228,11 +228,12 @@ void StartGui()
|
|||
add_pixmap_directory(".pixmaps");
|
||||
MainWindow = create_MainWindow();
|
||||
|
||||
if (SVN_REV != 0)
|
||||
gtk_window_set_title(GTK_WINDOW(MainWindow), "PCSX2 "PCSX2_VERSION" "SVN_REV);
|
||||
else
|
||||
gtk_window_set_title(GTK_WINDOW(MainWindow), "PCSX2 "PCSX2_VERSION);
|
||||
|
||||
#ifdef PCSX2_DEVBUILD
|
||||
gtk_window_set_title(GTK_WINDOW(MainWindow), "PCSX2 "PCSX2_VERSION" "SVN_REV);
|
||||
#else
|
||||
gtk_window_set_title(GTK_WINDOW(MainWindow), "PCSX2 "PCSX2_VERSION);
|
||||
#endif
|
||||
// status bar
|
||||
pStatusBar = gtk_statusbar_new();
|
||||
gtk_box_pack_start(GTK_BOX(lookup_widget(MainWindow, "status_box")), pStatusBar, TRUE, TRUE, 0);
|
||||
|
|
Loading…
Reference in New Issue