]>
Commit | Line | Data |
---|---|---|
335b07ff JP |
1 | diff -ur Azureus.old/org/gudy/azureus2/ui/swt/Messages.java Azureus/org/gudy/azureus2/ui/swt/Messages.java |
2 | --- Azureus.old/org/gudy/azureus2/ui/swt/Messages.java 2006-03-08 17:34:18.000000000 +0100 | |
3 | +++ Azureus/org/gudy/azureus2/ui/swt/Messages.java 2006-03-08 19:04:34.000000000 +0100 | |
4 | @@ -222,17 +222,6 @@ | |
5 | if (key != null) {\r | |
6 | if (!key.endsWith(".info"))\r | |
7 | key += ".info";\r | |
8 | - String toolTip = MessageText.getString(key, (String) null);\r | |
9 | - if (toolTip == null)\r | |
10 | - toolTip = MessageText.getString(key.substring(0, key.length() - 5),\r | |
11 | - (String) null);\r | |
12 | - if (toolTip != null) {\r | |
13 | - try {\r | |
14 | - ((TableColumn) widget).setToolTipText(toolTip);\r | |
15 | - } catch (NoSuchMethodError e) {\r | |
16 | - // Pre SWT 3.2\r | |
17 | - }\r | |
18 | - }\r | |
19 | }\r | |
20 | }\r | |
21 | }\r | |
22 | diff -ur Azureus.old/org/gudy/azureus2/ui/swt/views/configsections/ConfigSectionPlugins.java Azureus/org/gudy/azureus2/ui/swt/views/configsections/ConfigSectionPlugins.java | |
23 | --- Azureus.old/org/gudy/azureus2/ui/swt/views/configsections/ConfigSectionPlugins.java 2006-03-08 17:34:18.000000000 +0100 | |
24 | +++ Azureus/org/gudy/azureus2/ui/swt/views/configsections/ConfigSectionPlugins.java 2006-03-08 19:03:24.000000000 +0100 | |
25 | @@ -373,12 +373,6 @@ | |
26 | tc.addSelectionListener(new SelectionAdapter() {\r | |
27 | public void widgetSelected(SelectionEvent e) {\r | |
28 | boolean ascending = comparator.setField(table.indexOf(tc));\r | |
29 | - try {\r | |
30 | - table.setSortColumn(tc);\r | |
31 | - table.setSortDirection(ascending ? SWT.UP : SWT.DOWN);\r | |
32 | - } catch (NoSuchMethodError ignore) {\r | |
33 | - // Ignore Pre 3.0\r | |
34 | - }\r | |
35 | Collections.sort(pluginIFs, comparator);\r | |
36 | table.clearAll();\r | |
37 | }\r | |
38 | diff -ur Azureus.old/org/gudy/azureus2/ui/swt/views/TableView.java Azureus/org/gudy/azureus2/ui/swt/views/TableView.java | |
39 | --- Azureus.old/org/gudy/azureus2/ui/swt/views/TableView.java 2006-03-08 17:34:18.000000000 +0100 | |
40 | +++ Azureus/org/gudy/azureus2/ui/swt/views/TableView.java 2006-03-08 19:01:17.000000000 +0100 | |
41 | @@ -2713,25 +2713,6 @@ | |
42 | private void changeColumnIndicator() {\r | |
43 | if (table == null || table.isDisposed())\r | |
44 | return;\r | |
45 | -\r | |
46 | - try {\r | |
47 | - // can't use TableColumnCore.getPosition, because user may have moved\r | |
48 | - // columns around, messing up the SWT column indexes. \r | |
49 | - // We can either use search columnsOrdered, or search table.getColumns()\r | |
50 | - TableColumn[] tcs = table.getColumns();\r | |
51 | - for (int i = 0; i < tcs.length; i++) {\r | |
52 | - String sName = (String)tcs[i].getData("Name");\r | |
53 | - if (sName != null && sName.equals(rowSorter.sColumnName)) {\r | |
54 | - table.setSortDirection(rowSorter.bAscending ? SWT.UP : SWT.DOWN);\r | |
55 | - table.setSortColumn(tcs[i]);\r | |
56 | - return;\r | |
57 | - }\r | |
58 | - }\r | |
59 | -\r | |
60 | - table.setSortColumn(null);\r | |
61 | - } catch (NoSuchMethodError e) {\r | |
62 | - // sWT < 3.2 doesn't have column indicaters\r | |
63 | - }\r | |
64 | }\r | |
65 | \r | |
66 | private void visibleRowsChanged() {\r |