[Gpe-list] Gpe-bugs Digest, Vol 36, Issue 8

gpe-bugs-request at linuxtogo.org gpe-bugs-request at linuxtogo.org
Mon Nov 23 12:00:01 CET 2009


Send Gpe-bugs mailing list submissions to
	gpe-bugs at linuxtogo.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/gpe-bugs
or, via email, send a message with subject or body 'help' to
	gpe-bugs-request at linuxtogo.org

You can reach the person managing the list at
	gpe-bugs-owner at linuxtogo.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gpe-bugs digest..."


Today's Topics:

   1. [Bug 315] New: Localized combobox cause application to	abort
      (bugzilla-daemon at linuxtogo.org)


----------------------------------------------------------------------

Message: 1
Date: Sun, 22 Nov 2009 22:21:47 +0100
From: bugzilla-daemon at linuxtogo.org
Subject: [Gpe-bugs] [Bug 315] New: Localized combobox cause
	application to	abort
To: gpe-bugs at linuxtogo.org
Message-ID: <bug-315-7 at http.bugs.linuxtogo.org/>
Content-Type: text/plain; charset="UTF-8"

http://bugs.linuxtogo.org/show_bug.cgi?id=315

           Summary: Localized combobox cause application to abort
           Product: gpe-todo
           Version: 0.56
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P4
         Component: default
        AssignedTo: gpe-bugs at linuxtogo.org
        ReportedBy: vchelban at fedoramd.org
   Estimated Hours: 0.0


Checked against SVN rev. 9974.

application aborts with error message
Aborted in todo-ui.c line 187

Steps to reproduce:
1. launch app with supported locale set (non english)
 LANG=ro_RO.UTF-8 gpe-todo
2. Click on New button, or on existing todo item
3. Application aborts

Not sure how optimal next patch is, but it fixes wrong behavior described
above:

===================================================================
--- todo-ui.c   (revision 9974)
+++ todo-ui.c   (working copy)
@@ -176,7 +176,7 @@

   for (i = 0; i < sizeof (state_map) / sizeof (state_map[0]); i++)
     {
-      if (strcmp(name, state_map[i].string) == 0) {
+      if (strcmp(name, _(state_map[i].string)) == 0) {
         t->state = state_map[i].value;
        g_free(name);
        return;


-- 
Configure bugmail: http://bugs.linuxtogo.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



------------------------------

_______________________________________________
Gpe-bugs mailing list
Gpe-bugs at linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/gpe-bugs


End of Gpe-bugs Digest, Vol 36, Issue 8
***************************************



More information about the Gpe-list mailing list