Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2013-08-16 09:29:36 -0400
committerSilenio Quarti2013-08-16 09:29:59 -0400
commit15fa06c7afb7092110595397e89e1a803a9f6cad (patch)
treee2c1d1f0fb69283959b3a3ffacd11e64ab9e48a1
parentdc90724a67a629c2b417cb5b5e6c17d4ffd149cf (diff)
downloadeclipse.platform.swt-15fa06c7afb7092110595397e89e1a803a9f6cad.tar.gz
eclipse.platform.swt-15fa06c7afb7092110595397e89e1a803a9f6cad.tar.xz
eclipse.platform.swt-15fa06c7afb7092110595397e89e1a803a9f6cad.zip
Bug 414455 - [Viewers] .refresh() method of org.eclipse.jface.viewers.TableViewer will show the selected item in Linux(Ubuntu)v4404cI20130820-0800
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java15
1 files changed, 0 insertions, 15 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java
index 0bc3024d3c..b84e2d0c41 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java
@@ -2796,11 +2796,6 @@ public void select (int index) {
OS.g_signal_handlers_block_matched (selection, OS.G_SIGNAL_MATCH_DATA, 0, 0, 0, 0, CHANGED);
TableItem item = _getItem (index);
OS.gtk_tree_selection_select_iter (selection, item.handle);
- if ((style & SWT.SINGLE) != 0) {
- long /*int*/ path = OS.gtk_tree_model_get_path (modelHandle, item.handle);
- OS.gtk_tree_view_set_cursor (handle, path, 0, false);
- OS.gtk_tree_path_free (path);
- }
OS.g_signal_handlers_unblock_matched (selection, OS.G_SIGNAL_MATCH_DATA, 0, 0, 0, 0, CHANGED);
if (fixColumn) hideFirstColumn ();
}
@@ -2840,11 +2835,6 @@ public void select (int start, int end) {
for (int index=start; index<=end; index++) {
TableItem item = _getItem (index);
OS.gtk_tree_selection_select_iter (selection, item.handle);
- if ((style & SWT.SINGLE) != 0) {
- long /*int*/ path = OS.gtk_tree_model_get_path (modelHandle, item.handle);
- OS.gtk_tree_view_set_cursor (handle, path, 0, false);
- OS.gtk_tree_path_free (path);
- }
}
OS.g_signal_handlers_unblock_matched (selection, OS.G_SIGNAL_MATCH_DATA, 0, 0, 0, 0, CHANGED);
if (fixColumn) hideFirstColumn ();
@@ -2886,11 +2876,6 @@ public void select (int [] indices) {
if (!(0 <= index && index < itemCount)) continue;
TableItem item = _getItem (index);
OS.gtk_tree_selection_select_iter (selection, item.handle);
- if ((style & SWT.SINGLE) != 0) {
- long /*int*/ path = OS.gtk_tree_model_get_path (modelHandle, item.handle);
- OS.gtk_tree_view_set_cursor (handle, path, 0, false);
- OS.gtk_tree_path_free (path);
- }
}
OS.g_signal_handlers_unblock_matched (selection, OS.G_SIGNAL_MATCH_DATA, 0, 0, 0, 0, CHANGED);
if (fixColumn) hideFirstColumn ();

Back to the top