mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtappbuilder: fix issues of property settings for file selection dialog.
This commit is contained in:
parent
6b93ec7733
commit
18d195cdf5
1 changed files with 6 additions and 5 deletions
|
@ -199,7 +199,8 @@ fchooser_prop_init(
|
||||||
DtbRevolvPropDialogInfo rpd = &(dtb_revolv_prop_dialog);
|
DtbRevolvPropDialogInfo rpd = &(dtb_revolv_prop_dialog);
|
||||||
PropFchooserSettingsRec *pcs = &(prop_fchooser_settings_rec[type]);
|
PropFchooserSettingsRec *pcs = &(prop_fchooser_settings_rec[type]);
|
||||||
Widget item[6];
|
Widget item[6];
|
||||||
int item_val[6];
|
XtArgVal item_val[6];
|
||||||
|
XtPointer item_ptr[6];
|
||||||
int n;
|
int n;
|
||||||
|
|
||||||
if (type == AB_PROP_REVOLVING)
|
if (type == AB_PROP_REVOLVING)
|
||||||
|
@ -281,13 +282,13 @@ fchooser_prop_init(
|
||||||
/* Search Pattern Type */
|
/* Search Pattern Type */
|
||||||
n = 0;
|
n = 0;
|
||||||
item[n] = cgen->pattern_type_rbox_items.Files_item;
|
item[n] = cgen->pattern_type_rbox_items.Files_item;
|
||||||
item_val[n] = AB_FILE_REGULAR; n++;
|
item_ptr[n] = AB_FILE_REGULAR; n++;
|
||||||
item[n] = cgen->pattern_type_rbox_items.Directories_item;
|
item[n] = cgen->pattern_type_rbox_items.Directories_item;
|
||||||
item_val[n] = AB_FILE_DIRECTORY; n++;
|
item_ptr[n] = AB_FILE_DIRECTORY; n++;
|
||||||
item[n] = cgen->pattern_type_rbox_items.Both_item;
|
item[n] = cgen->pattern_type_rbox_items.Both_item;
|
||||||
item_val[n] = AB_FILE_ANY; n++;
|
item_ptr[n] = AB_FILE_ANY; n++;
|
||||||
prop_radiobox_init(&(pcs->pattern_type), cgen->pattern_type_rbox_label,
|
prop_radiobox_init(&(pcs->pattern_type), cgen->pattern_type_rbox_label,
|
||||||
cgen->pattern_type_rbox, n, item, (XtPointer*)item_val,
|
cgen->pattern_type_rbox, n, item, item_ptr,
|
||||||
cgen->pattern_type_cb);
|
cgen->pattern_type_cb);
|
||||||
|
|
||||||
/* Search Pattern */
|
/* Search Pattern */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue