*** empty log message ***

svn path=/trunk/boinc/; revision=10673
This commit is contained in:
Milos Travar 2006-07-18 14:12:57 +00:00
parent 63a2a3cd8d
commit 25ee90cd3d
1 changed files with 1 additions and 12 deletions

View File

@ -31,8 +31,6 @@
#include "sg_ImageLoader.h" #include "sg_ImageLoader.h"
#include "sg_ViewTabPage.h" #include "sg_ViewTabPage.h"
#define FILENAME "projects/member.chicago.ibm.com/proj_icon.png"
IMPLEMENT_DYNAMIC_CLASS(CViewTabPage, wxPanel) IMPLEMENT_DYNAMIC_CLASS(CViewTabPage, wxPanel)
enum{ enum{
@ -66,19 +64,10 @@ void CViewTabPage::LoadSkinImages(){
CMainDocument* pDoc = wxGetApp().GetDocument(); CMainDocument* pDoc = wxGetApp().GetDocument();
RESULT* result = pDoc->results.results[m_tabIndex]; RESULT* result = pDoc->results.results[m_tabIndex];
std::string resolved_name; std::string resolved_name;
//wxString projectsPref = wxString("projects");
std::string projectsPref = "projects"; std::string projectsPref = "projects";
//wxString projectIconName = wxString("proj_icon.png");
std::string projectIconName = "proj_icon.png"; std::string projectIconName = "proj_icon.png";
wxString masterURL = wxString(result->project_url.c_str(), wxConvUTF8); wxString masterURL = wxString(result->project_url.c_str(), wxConvUTF8);
//wxString dirProjectGraphic = projectsPref + _T("/") + masterURL + _T("/") + projectIconName;
std::string dirProjectGraphic = projectsPref + "/" + result->project_url + "/" + 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]; char filename[256];
int retval; int retval;