[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#407205: Patch available, please test



Thanks Attilio.

The patch seems to work fine. I have seen no regressions while testing it
and the storage of selections in the debconf database seems good.

On Friday 19 January 2007 15:53, Attilio Fiandrotti wrote:
> Moreover, the SELECT single handler no longer lets the user to unselect
> all options toghether: one, at least, will be always selected.

What exactly do you mean by this? Are you talking about multiselect
questions? I tried with the "extra locales" question in localechooser
(after modifying the script a little) and I could unset all selections
without problem.

About the patch itself. I cannot really judge the code, but I also don't
see any obvious errors.

There are a few places where the indentation is not correct:
+    tindex = malloc(sizeof(int) * count);
+       indices = q_get_indices(q);
     ^^^
[...]
+        if((result != NULL) && bool_var==1)
+        {
+        printf ("Option %d active\n", i);
        ^^^
+            copy = g_strdup(result);
[...]
+       /* by default the first row gets selected if no default option is specified */
     ^^^
+    gtk_tree_model_get_iter_first (model,&iter);
+    path = gtk_tree_model_get_path (model, &iter);

Attachment: pgp5HFOE9DQye.pgp
Description: PGP signature


Reply to: