fix wierd checkbox selection behaviour
authorkad <kad@blackcatlinux.com>
Sat, 10 Mar 2007 22:02:53 +0000 (22:02 +0000)
committerkad <kad@blackcatlinux.com>
Sat, 10 Mar 2007 22:02:53 +0000 (22:02 +0000)
git-svn-id: file:///svnroot/simple-launcher/trunk@68 3ba93dab-e023-0410-b42a-de7732cf370a

sla-list.cc

index 4cdb76d..c9b91e0 100644 (file)
@@ -44,6 +44,7 @@ SLAList::SLAList(int icon_size, LauncherItems& items): myWidget(0), myStore(0),
 
   myView = GTK_TREE_VIEW(gtk_tree_view_new_with_model(GTK_TREE_MODEL(myStore)));
   gtk_tree_view_set_headers_visible(myView, FALSE);
+  g_object_set(myView, "allow-checkbox-mode", FALSE, NULL);
 
   mySelection = gtk_tree_view_get_selection(myView);
   gtk_tree_selection_set_mode(mySelection, GTK_SELECTION_SINGLE);