~smaioli/azureus/ubuntu-experimental

« back to all changes in this revision

Viewing changes to org/gudy/azureus2/ui/swt/views/configsections/ConfigSectionTransfer.java

MergedĀ VuzeĀ 4.2.0.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
import org.gudy.azureus2.core3.internat.MessageText;
45
45
 
46
46
import com.aelitis.azureus.core.AzureusCore;
 
47
import com.aelitis.azureus.ui.swt.imageloader.ImageLoader;
47
48
 
48
49
public class ConfigSectionTransfer implements UISWTConfigSection {
49
50
        
68
69
        }
69
70
 
70
71
        public void configSectionDelete() {
 
72
                ImageLoader imageLoader = ImageLoader.getInstance();
 
73
                imageLoader.releaseImage("subitem");
71
74
        }
72
75
        
73
76
        public int maxUserMode() {
119
122
                gridData.horizontalSpan = 2;
120
123
                cMaxUploadSpeedOptionsArea.setLayoutData(gridData);
121
124
 
 
125
                ImageLoader imageLoader = ImageLoader.getInstance();
 
126
                Image img = imageLoader.getImage("subitem");
 
127
 
122
128
                label = new Label(cMaxUploadSpeedOptionsArea, SWT.NULL);
123
 
                Image img = ImageRepository.getImage("subitem");
124
129
                img.setBackground(label.getBackground());
125
130
                gridData = new GridData(GridData.VERTICAL_ALIGN_BEGINNING);
126
131
                label.setLayoutData(gridData);
322
327
                        gridData.horizontalSpan = 2;
323
328
                        cMaxUploadsOptionsArea.setLayoutData(gridData);
324
329
                        label = new Label(cMaxUploadsOptionsArea, SWT.NULL);
325
 
                        img = ImageRepository.getImage("subitem");
326
330
                        img.setBackground(label.getBackground());
327
331
                        gridData = new GridData(GridData.VERTICAL_ALIGN_BEGINNING);
328
332
                        label.setLayoutData(gridData);
373
377
                        gridData.horizontalSpan = 2;
374
378
                        cMaxPeersOptionsArea.setLayoutData(gridData);
375
379
                        label = new Label(cMaxPeersOptionsArea, SWT.NULL);
376
 
                        img = ImageRepository.getImage("subitem");
377
380
                        img.setBackground(label.getBackground());
378
381
                        gridData = new GridData(GridData.VERTICAL_ALIGN_BEGINNING);
379
382
                        label.setLayoutData(gridData);