In todo_data* vtodo_to_todo_data(char* vtodo, GList** categories) the
priority is translated like this:

        if(strcmp(n,VCPriorityPropO) == 0)
        {
          switch(atoi(fakeCStringO(vObjectUStringZValueO(t))))
          {
            case 1:
              todo->priority = g_strdup("1");
              break;
            case 3:
              todo->priority = g_strdup("2");
              break;
            case 5:
              todo->priority = g_strdup("3");
              break;
            case 7:
              todo->priority = g_strdup("4");
              break;
            case 9:
              todo->priority = g_strdup("5");
              break;
          }
        }

what about the even numbers?

Armin



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Multisync-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/multisync-devel

Reply via email to