Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 240871 Details for
Bug 355761
DX does not pick up samples path when built against LessTif
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Excerpt from StartupWindow.C of OpenDX 4.4.4 sources
filter.c (text/plain), 1.24 KB, created by
Joachim Frieben
on 2007-10-28 12:08:42 UTC
(
hide
)
Description:
Excerpt from StartupWindow.C of OpenDX 4.4.4 sources
Filename:
MIME Type:
Creator:
Joachim Frieben
Created:
2007-10-28 12:08:42 UTC
Size:
1.24 KB
patch
obsolete
>// >// Set the filter in the file selection dialog and then do what start-image does. >// >boolean StartupWindow::startDemo() >{ >boolean set_filter = FALSE; > > if (!this->demoNetFileDialog) { > this->demoNetFileDialog = new NetFileDialog(this->getRootWidget(), this); > set_filter = TRUE; > } > this->entering_image_mode = TRUE; > this->demoNetFileDialog->post(); > this->demoNetFileDialog->showNewOption(FALSE); > > // > // Set the filter. fsb should not be NULL. > // > Widget fsb = this->demoNetFileDialog->getFileSelectionBox(); > if ((fsb) && (set_filter)) { > this->demoNetFileDialog->setDialogTitle("Sample Program Selection"); > const char* uir = theIBMApplication->getUIRoot(); > char* ext = "/samples/programs/*.net"; > char* dirspec = new char[strlen(uir) + strlen(ext) + 1]; > sprintf (dirspec, "%s%s", uir, ext); >#ifdef DXD_WIN >/* Convert to Unix if DOS */ > for(int i=0; i<strlen(dirspec); i++) > if(dirspec[i] == '/') dirspec[i] = '\\'; >#endif > XmString xmstr = XmStringCreateLtoR (dirspec, "bold"); >#ifdef DXD_WIN > Widget filt = XmFileSelectionBoxGetChild(fsb, XmDIALOG_FILTER_TEXT); > XmTextSetString(filt, dirspec); >#endif > XtVaSetValues (fsb, XmNdirMask, xmstr, NULL); > XmStringFree(xmstr); > delete dirspec; > } > > return TRUE; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 355761
: 240871