Skip to content

Commit

Permalink
Fix branding in About dialog license statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie Fenton committed Jul 9, 2018
1 parent b2a51d7 commit 9d036e7
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions clientgui/DlgAbout.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of BOINC.
// http://boinc.berkeley.edu
// Copyright (C) 2017 University of California
// Copyright (C) 2018 University of California
//
// BOINC is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License
Expand Down Expand Up @@ -140,6 +140,10 @@ bool CDlgAbout::Create(wxWindow* parent, wxWindowID id, const wxString& caption,

void CDlgAbout::CreateControls() {
////@begin CDlgAbout content construction
CSkinAdvanced* pSkinAdvanced = wxGetApp().GetSkinManager()->GetAdvanced();
wxASSERT(pSkinAdvanced);
wxASSERT(wxDynamicCast(pSkinAdvanced, CSkinAdvanced));

CDlgAbout* itemDialog1 = this;

wxBoxSizer* itemBoxSizer2 = new wxBoxSizer(wxVERTICAL);
Expand Down Expand Up @@ -188,8 +192,14 @@ void CDlgAbout::CreateControls() {
itemStaticText13->Create( itemDialog1, wxID_STATIC, _("(C) 2003-2018 University of California, Berkeley.\nAll Rights Reserved."), wxDefaultPosition, wxDefaultSize, 0 );
itemFlexGridSizer7->Add(itemStaticText13, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5);

wxString buf = wxEmptyString;
buf.Printf(
_("%s is distributed under the GNU Lesser General Public License v3.0."),
pSkinAdvanced->GetApplicationShortName().c_str()
);

wxStaticText* itemStaticText14 = new wxStaticText;
itemStaticText14->Create( itemDialog1, wxID_STATIC, _("BOINC is distributed under the GNU Lesser General Public License v3.0."), wxDefaultPosition, wxDefaultSize, 0 );
itemStaticText14->Create( itemDialog1, wxID_STATIC, buf, wxDefaultPosition, wxDefaultSize, 0 );
itemBoxSizer2->Add(itemStaticText14, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);

wxBoxSizer* itemBoxSizer3 = new wxBoxSizer(wxHORIZONTAL);
Expand Down

0 comments on commit 9d036e7

Please sign in to comment.