Develop and Download Open Source Software
Login
Create Account
Help
MY OSDN
Find Software
Magazine
Develop
Pastebin
Software
People
PersonalForge
Magazine
Wiki
OSDN
>
Find Software
>
MalonNote
MalonNote
Summary
Project Summary
Developer Dashboard
Project Reviews
Web Page
Developers
List of RSS Feeds
Statistics
History
Image Gallery
Search Keywords
News
Listed News
Help
Downloads
List of Releases
Help
Source Code
Guide
Browse CVS
Help
Docs
List Docs
Help
Forums
List of Forums
Open Discussion (1)
Help (1)
Help
Mailing Lists
list of ML
Help
Ticket
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Help
Browse CVS Repository
/
[OSDN]
/
malonnote
/
mnController.cpp
Diff of /malonnote/mnController.cpp
Parent Directory
|
Revision Log
|
Revision Graph
|
Patch
revision
1.11
by
maloninc
, Fri Aug 26 11:17:51 2005 UTC
revision
1.15
by
maloninc
, Tue Sep 13 04:22:15 2005 UTC
#
Line 98
void mnController::handleSearch(wxComman
Line 98
void mnController::handleSearch(wxComman
98
frame->showSearchResult(wiki);
frame->showSearchResult(wiki);
99
}
}
100
101
102
void mnController::handleNewButton(wxCommandEvent& event)
void mnController::handleNewButton(wxCommandEvent& event)
103
{
{
104
int ans;
int ans;
#
Line 130
void mnController::handleRemoveButton(wx
Line 131
void mnController::handleRemoveButton(wx
131
wxTreeItemData* item = frame->getSelectedItem();
wxTreeItemData* item = frame->getSelectedItem();
132
133
if(item){
if(item){
134
((WikiData*)(item))->removeDataFile();
if(wxMessageBox(wxT("Do you realy remove this memo?\n") + frame->getSelectedLabel(), wxT("Realy?"), wxYES_NO|wxICON_QUESTION) == wxYES){
135
((WikiData*)(item))->removeDataFile();
136
}
137
}
}
138
else {
else {
139
wiki->removeSearchStr(frame->getSelectedLabel());
wiki->removeSearchStr(frame->getSelectedLabel());
#
Line 269
void mnController::openUrl(wxString& url
Line 272
void mnController::openUrl(wxString& url
272
#endif
#endif
273
274
#ifdef __WXGTK__
#ifdef __WXGTK__
275
wxLogMessage(wxT("Ooops!, I don't know how to launch %s"), url.c_str());
cmd.sprintf(wxT("gnome-open %s"), url.c_str());
return;
276
#endif
#endif
277
278
//wxExecute(argv);
//wxExecute(argv);
#
Line 294
void mnController::openDoc(wxString& doc
Line 296
void mnController::openDoc(wxString& doc
296
#endif
#endif
297
298
#ifdef __WXGTK__
#ifdef __WXGTK__
299
wxLogMessage(wxT("Ooops!, I don't know how to launch %s"), doc.c_str());
cmd.sprintf(wxT("gnome-open %s"), doc.c_str());
return;
300
#endif
#endif
301
//wxExecute(argv);
302
wxExecute(cmd);
wxExecute(cmd);
303
}
}
Colored Diff
Long Colored Diff
Full Colored Diff
Unidiff
Context Diff
Side by Side
Legend:
Removed from v.1.11
changed lines
Added in v.1.15
Back to OSDN
">
Back to OSDN
ViewVC Help
Powered by
ViewVC 1.1.26