/[cits3200i]/branches/metadata-branch-rvvs89/UWAPlugins/MetadataPlugin/Source/AddMetadataControl.cs


UCC Code Repository

Diff of /branches/metadata-branch-rvvs89/UWAPlugins/MetadataPlugin/Source/AddMetadataControl.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 94 by rvvs89, Tue Oct 12 21:38:57 2010 UTC revision 95 by rvvs89, Tue Oct 12 23:23:36 2010 UTC
# Line 28  namespace MetadataPlugin.Source Line 28  namespace MetadataPlugin.Source
28                  location = value;                  location = value;
29                  textRadioButton.Enabled = new List<MetadataLocation>(MetadataType.TEXT.ApplicableLocations).Contains(location);                  textRadioButton.Enabled = new List<MetadataLocation>(MetadataType.TEXT.ApplicableLocations).Contains(location);
30                  textRadioButton.Checked = textRadioButton.Enabled;                  textRadioButton.Checked = textRadioButton.Enabled;
31                    fileRadioButton.Enabled = new List<MetadataLocation>(MetadataType.FILE.ApplicableLocations).Contains(location);
32              }              }
33          }          }
34    
# Line 49  namespace MetadataPlugin.Source Line 50  namespace MetadataPlugin.Source
50              if (textRadioButton.Checked)              if (textRadioButton.Checked)
51              {              {
52                  type = MetadataType.TEXT;                  type = MetadataType.TEXT;
53                } else if(fileRadioButton.Checked) {
54                    type = MetadataType.FILE;
55              } else {              } else {
56                  AddMetadataDialog.Instance.Close();                  AddMetadataDialog.Instance.Close();
57                  return;                  return;

Legend:
Removed from v.94  
changed lines
  Added in v.95

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26