2008-11-30 [paul] 3.6.1cvs54
[claws.git] / src / gtk / prefswindow.c
index 46d956261e5529479a79b83b1a7e6c1ea0626f41..292daedf2f6b2d9b7074f8ffe3e2a06b08350a4e 100644 (file)
@@ -690,6 +690,8 @@ static gboolean prefswindow_row_selected(GtkTreeSelection *selector,
        GtkTreeIter iter;
        GtkAdjustment *adj;
 
+       if (gtk_tree_path_get_depth(path) < 2)
+               return FALSE;
 #ifndef GENERIC_UMPC
        if (currently_selected) 
                return TRUE;