[E-devel] [PATCH] add python binding for elm_list_item_label_set
This patch adds the python equivalent for elm_list_item_label_set() by adding the method label_set() to elementary.ListItem When I finish this elm project i'm working on, i plan to add more of those. Index: include/elementary/c_elementary.pxd === --- include/elementary/c_elementary.pxd (revision 43453) +++ include/elementary/c_elementary.pxd (working copy) @@ -419,6 +419,7 @@ evas.c_evas.Evas_Object *elm_list_item_end_get(Elm_List_Item *item) evas.c_evas.Evas_Object *elm_list_item_base_get(Elm_List_Item *item) char* elm_list_item_label_get(Elm_List_Item *item) +void elm_list_item_label_set(Elm_List_Item *item, char* text) Elm_List_Item *elm_list_item_prev(Elm_List_Item *it) Elm_List_Item *elm_list_item_next(Elm_List_Item *it) Index: elementary/elementary.c_elementary_list.pxi === --- elementary/elementary.c_elementary_list.pxi (revision 43453) +++ elementary/elementary.c_elementary_list.pxi (working copy) @@ -161,6 +161,9 @@ def label_get(self): return elm_list_item_label_get(self.item) + +def label_set(self, label): +elm_list_item_label_set(self.item, label) def prev(self): self.item = elm_list_item_prev(self.item) -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] compilation error in evas_cache_image.c when no async preload
Hey, because the pending member of an Image_Entry_Flags is not available when there is no async preload, there is a compilation error in evas_cache_image.c line 940. Here is a patch below. Is it good enough ? (don't comment about indentation, i know it's not good, but i prefered to show the most relevant parts of the patch) Vincent Index: evas_cache_image.c === --- evas_cache_image.c (revision 43513) +++ evas_cache_image.c (working copy) @@ -937,9 +937,11 @@ im-references--; cache = im-cache; - if (im-references == 0 !im-flags.pending) + if (im-references == 0) { #ifdef BUILD_ASYNC_PRELOAD + if (!im-flags.pending) + { pthread_mutex_lock(mutex); if (im-flags.preload || im-flags.in_pipe) { @@ -955,6 +957,7 @@ return; } pthread_mutex_unlock(mutex); + } #endif if (im-flags.dirty) -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: caro trunk/edje/src/lib
Gustavo Sverzut Barbieri wrote: On Tue, Nov 3, 2009 at 7:26 AM, Enlightenment SVN no-re...@enlightenment.org wrote: Log: * rename _edje_strbuf_append to _edje_strbuf_append1 and _edje_strbuf_append2 in edje_util.c and edje_textblock_styles.c respectiveley (for amalgamation. See next commit) well, I really think strbuf should be in eina, this would remove similar code from edje, evas and others... but since we don't have it, why not move it to a common edje_strbuf.x and include it in both, doing a single include in amalgamation? Rephorm added ecore_strbuf along time ago to ecore. I think his intention was to use it in efreet, but I don't think it is used anywhere. Peter -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: jeffdameth trunk/eterm/Eterm/src
On Thu, 5 Nov 2009 19:27:37 +1000 David Seikel onef...@gmail.com wrote: On Wed, 7 Oct 2009 14:06:34 +0200 hannes.janet...@gmail.com hannes.janet...@googlemail.com wrote: On Wed, Oct 7, 2009 at 3:42 AM, David Seikel onef...@gmail.com wrote: On Tue, 6 Oct 2009 17:17:10 -0700 Michael Jennings m...@kainx.org wrote: On Tuesday, 06 October 2009, at 23:43:58 (+0200), Kim Woelders wrote: In my opinion the MWM hint is not related to EWMH, so I think all that is accomplished is to fetch a potentially rather large atom list which shouldn't contain the item being looked for :) My impression based on the IRC conversation was that Eterm -x didn't work under e17 without this patch, and that this patch made Eterm more EWMH-compliant. If that's not the case, then I misunderstood, and the patch needs to be rethought. This would just set the MWM hint and hope for the best. If the WM handles it, fine (is there any WM around that doesn't?). Some user was in IRC yesterday complaining about a WM (e17 I thought, but I could be mistaken) that did not provide the _MOTIF_WM_INFO atom, and thus Eterm kicked in override_redirect. Not knowing about Ctrl-click, he assumed the Eterm was fubar. So apparently *something* out there doesn't implement MWM hints properly. Is this related to my reported problems with Eterm (and at least one other app) where iconify and maximise don't turn up in the E17 window menu when using borderless? yes, Eterm becomes an override-redirect window when using borderless option with e17, so its window is not handled by the wm in any way. I commited a workaround that makes e17 pretend to be mwm so that Eterm use mwm hints for borderless mode instead of going override redirect. Just letting you know, recompiled E17 recently and my reported problems with iconify and maximize not being in the window menus of particular apps when you use the E17 borderless border is now solved. I can't really say if this change is what did it, bit it's very likely from what I can tell. Now, if I can just convince the claws mail people to behave and have their window go to the desktop I tell it to, things will be perfect. lol I can tell you why claws-mail doesn't work. Try and put a lock that doesn't allow claws-mail to change it's iconified status and you'll quickly see why. For some stupid reason claws-mail starts up iconified and then uniconifies itself after startup. I had asked the devs at some point why they do this, but don't recall getting an intelligent answer. I can't see why in the hell they do this, but it's annoying. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: devilhorns trunk/E-MODULES-EXTRA/skel/src
Gustavo Sverzut Barbieri wrote: On Fri, Nov 6, 2009 at 5:41 PM, Enlightenment SVN no-re...@enlightenment.org wrote: Log: Patch from Thanatermesis which adds more comments to the skeleton module. Still needs more filled in yet, but no time right now. Guys, why don't you take TMP/st/elementary-generator as base and create e-module-generator to aid development? It's quite simple, you can reuse the structure, scripts and even the GUI. I'm now addicted to elementary-generator, even simple tests I could do with a simple test.c I create with it so I get makefiles and ready-to-use main.c Does not sound like a bad idea at all if someone wants to jump on this. I already have a couple projects that I am working on and don't think that I'll have any time soon to tackle thisbut not a bad idea and certainly worth a look into... dh -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Demo: Make a complete e17 module in 10 minutes
Now the skel module is a bit more documented, at least more useful for who try to look at its code for the first time and want to understand how that works? without previous knowledges of E/EFL Now there's only one thing needed to motivate new ppl to make e17 modules, something to see. The ppl dont' read, not much ppl at least... the ppl are lazy to download something and to try it, the best is a tutorial explaining the creation of an e17 module, but finally, what's better for that than a video that shows how we can build and customize an e17 module in less than 10 minutes ? :) http://www.youtube.com/watch?v=abNsVyYTSkU Hope you like it :) Thanatermesis -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: devilhorns trunk/E-MODULES-EXTRA/skel/src
Sounds very good :), If anybody is interessed on write it maybe can see useful the templates from emodule-creator, this is just a kind of script-replace system under base codes, nothing very powerful but very handy :) http://us.repository.elive-systems.com/pool/efl/e/emodule-creator/ You should uncompress it than trying to install this package if you are not in elive, just use dpkg -x or ar x if you are not in a debian based system Thanatermesis -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel