~ubuntu-branches/ubuntu/intrepid/banshee/intrepid

« back to all changes in this revision

Viewing changes to src/Core/Banshee.Base/Dap/DapPropertiesDialog.cs

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2008-01-09 08:06:38 UTC
  • mfrom: (1.3.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20080109080638-x5x0h3bd92nht0n9
Tags: 0.13.2+dfsg-2
* debian/control:
  + Build depend on mono-mcs to fix FTBFS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
            } else {
81
81
                table.AddLabel(Catalog.GetString("Device name"), device.Name);
82
82
            }
83
 
                        
84
 
            if(!device.IsReadOnly && device.CanSetOwner) {
85
 
                ownerEntry = table.AddEntry(Catalog.GetString("Owner name"), device.Owner);
86
 
                ownerEntry.Changed += OnEntryChanged;
87
 
            } else {
88
 
                table.AddLabel(Catalog.GetString("Owner name"), device.Owner);
 
83
            
 
84
            if(device.ShowOwner) {
 
85
                if(!device.IsReadOnly && device.CanSetOwner) {
 
86
                    ownerEntry = table.AddEntry(Catalog.GetString("Owner name"), device.Owner);
 
87
                    ownerEntry.Changed += OnEntryChanged;
 
88
                } else {
 
89
                    table.AddLabel(Catalog.GetString("Owner name"), device.Owner);
 
90
                }
89
91
            }
90
 
    
 
92
            
91
93
            if(!device.IsReadOnly) {   
92
94
                try {
93
95
                    VBox profile_description_box = new VBox();
94
96
                    ProfileComboBoxConfigurable profile_box = new ProfileComboBoxConfigurable(Globals.AudioProfileManager, 
95
 
                        device.ID, profile_description_box);
 
97
                        device.Uuid, profile_description_box);
96
98
                    profile_box.Combo.MimeTypeFilter = device.SupportedPlaybackMimeTypes;
97
99
                    table.AddWidget(Catalog.GetString("Encode to"), profile_box);
98
100
                    table.AddWidget(null, profile_description_box);