Comment 6 for bug 1309369

Revision history for this message
Richard Quirk (quirky) wrote :

I've hacked in this fix for it - this forces the tree view to refresh after a package selection change. No idea of the side effects, but "works for me". It still has a little visual flicker after selection change but at least there are no more phantom entries.

--- gtk/rgmainwindow.cc.orig 2014-05-01 09:34:54.963186517 +0200
+++ gtk/rgmainwindow.cc 2014-05-01 09:34:59.667186333 +0200
@@ -314,7 +314,7 @@ void RGMainWindow::refreshTable(RPackage
       _lister->limitBySearch(str);
    }

- if(_pkgList == NULL)
+ //if(_pkgList == NULL)
    {
       _pkgList = GTK_TREE_MODEL(gtk_pkg_list_new(_lister));
       gtk_tree_view_set_model(GTK_TREE_VIEW(_treeView),