From 25ee90cd3d5d7a1a5006bd046b586e3653ec0bdf Mon Sep 17 00:00:00 2001 From: Milos Travar Date: Tue, 18 Jul 2006 14:12:57 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=10673 --- clientgui/sg_ViewTabPage.cpp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/clientgui/sg_ViewTabPage.cpp b/clientgui/sg_ViewTabPage.cpp index 0bd202daf5..647cf70b09 100644 --- a/clientgui/sg_ViewTabPage.cpp +++ b/clientgui/sg_ViewTabPage.cpp @@ -31,8 +31,6 @@ #include "sg_ImageLoader.h" #include "sg_ViewTabPage.h" -#define FILENAME "projects/member.chicago.ibm.com/proj_icon.png" - IMPLEMENT_DYNAMIC_CLASS(CViewTabPage, wxPanel) enum{ @@ -66,20 +64,11 @@ void CViewTabPage::LoadSkinImages(){ CMainDocument* pDoc = wxGetApp().GetDocument(); RESULT* result = pDoc->results.results[m_tabIndex]; std::string resolved_name; - //wxString projectsPref = wxString("projects"); std::string projectsPref = "projects"; - //wxString projectIconName = wxString("proj_icon.png"); std::string projectIconName = "proj_icon.png"; wxString masterURL = wxString(result->project_url.c_str(), wxConvUTF8); - //wxString dirProjectGraphic = projectsPref + _T("/") + masterURL + _T("/") + projectIconName; std::string dirProjectGraphic = projectsPref + "/" + result->project_url + "/" + projectIconName; - //int retval; - //retval = boinc_resolve_filename_s(dirProjectGraphic.c_str(), resolved_name); - - const char *file = dirProjectGraphic.c_str(); - //char ch[] = "aba daba do"; - //char *cp = ch; - + char filename[256]; int retval; retval = boinc_resolve_filename(FILENAME, filename, sizeof(filename));