Re: New Todo Tab available for testing

Adit Panchal <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <[email protected]>
Looks good to me. Similar problem as before with the memo tab on the 
Mac. I don't think it matters anymore, since the listboxes are least 
usable when the widgets are enabled.

As a bonus, I made some new toolbar icons to go with the new tab :) - 
diff and images are attached.

Adit



On Mar 14, 2005, at 11:07, [email protected] wrote:

> A new Todo tab has been implemented and committed into the Devel CVS.  
> All comments and suggestions are welcome.
20050314.diff (application/octet-stream, 1.9 KB)
Index: gui.py
===================================================================
RCS file: /cvsroot/bitpim/bitpim/gui.py,v
retrieving revision 1.175
diff -u -r1.175 gui.py
--- gui.py      14 Mar 2005 16:57:21 -0000      1.175
+++ gui.py      14 Mar 2005 20:00:25 -0000
@@ -1082,13 +1077,15 @@
                    id(self.wallpaperwidget): guihelper.ART_ADD_WALLPAPER,
                    id(self.phonewidget): guihelper.ART_ADD_CONTACT,
                    id(self.memowidget): guihelper.ART_ADD_MEMO,
+                   id(self.todowidget): guihelper.ART_ADD_TODO,
                    }
         mapbmpdelete={id(self.ringerwidget): guihelper.ART_DEL_RINGER,
                       id(self.wallpaperwidget): guihelper.ART_DEL_WALLPAPER,
                       id(self.phonewidget): guihelper.ART_DEL_CONTACT,
                       id(self.memowidget): guihelper.ART_DEL_MEMO,
+                      id(self.todowidget): guihelper.ART_DEL_TODO,
                       }
-        bmpadd=wx.ArtProvider.GetBitmap(mapbmpadd.get(id(widget), wx.ART_DEL_BOOKMARK), wx.ART_TOOLBAR, sz)
+        bmpadd=wx.ArtProvider.GetBitmap(mapbmpadd.get(id(widget), wx.ART_ADD_BOOKMARK), wx.ART_TOOLBAR, sz)
         self.tooladd.SetNormalBitmap(bmpadd)
         bmpdel=wx.ArtProvider.GetBitmap(mapbmpdelete.get(id(widget), wx.ART_DEL_BOOKMARK), wx.ART_TOOLBAR, sz)
         self.tooldelete.SetNormalBitmap(bmpdel)
Index: guihelper.py
===================================================================
RCS file: /cvsroot/bitpim/bitpim/guihelper.py,v
retrieving revision 1.32
diff -u -r1.32 guihelper.py
--- guihelper.py        5 Mar 2005 19:11:18 -0000       1.32
+++ guihelper.py        14 Mar 2005 20:00:26 -0000
@@ -282,6 +282,9 @@
     "ART_DEL_RINGER": "delete_ringer",
     "ART_ADD_MEMO": "add_memo",
     "ART_DEL_MEMO": "delete_memo",
+    "ART_ADD_TODO": "add_todo",
+    "ART_DEL_TODO": "delete_todo",
+
     }
 
 # populate namespace
add_todo.png (image/png, 1.1 KB) - not displayed
delete_todo.png (image/png, 1.1 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.