Re: [E-devel] Strange mouse button click event
Chad Kittel wrote: On 12/16/06, blak [EMAIL PROTECTED] wrote: Hello I have noticed some strange mouse click behaviour(IMHO) For example I open an About e17 window, move mouse cursor on the Ok button, then I press down mouse button, move mouse out of the Ok button(but not away from About window) and release mouse button. Then somewhere in the same window I press again mouse button, move cursor to the Ok button and release mouse button and About window is closed. I think that such behaviour rarely can cause accidentals clicks(as was when I noticed this). Ah, nice catch. I think I've had this happen to me in the past and thought I was just going crazy! I was able to reproduce what you found without fail, on multiple windows (not just the About, as was your example). One thing I found even a bit more interesting was what happens when you have more than one button on the form. Lets say you have Button1, Button2, and Button3. If you do the MouseIn-MoveAway-MouseOut from Button1, if you were then to MouseIn-MoveToButton2-MouseOut, the defect does not occur. If you then do the MouseIn-MoveAway-MouseOut from Button2, and then try the fake click on Button3 the defect again doesn't happen, but if you did the fake click back against Button1, the defect exists. Basically, this example is trying to say that if you do the In-Away-Release on a button that button is a target for the bug to occur on for the life of the form. Fix committed. metrics - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] export of LD_LIBRARY_PATH in e_start_main.c
Carsten Haitzler (The Rasterman) wrote: On Sun, 17 Dec 2006 22:13:05 -0500 Mike Frysinger [EMAIL PROTECTED] babbled: On Sunday 17 December 2006 17:54, Carsten Haitzler wrote: this is part of the setup that enlightenment_start does to make sure e finds libraries in the prefix it's installed in. basically this is there for when people install, e17, evas, eet, etc. in, for example, /opt/e17 or /usr/local which is the default, and on linux DONT add /opt/e17/lib to /etc/ld.so.conf or if on bsd DONT add it to LD_LIBRARY_PATH. this means that things just work. e also adds to $PATH too to make sure it can execute things in its own install prefix. it detects this on the fly at runtime because e is actually relocatable at runtime and doesnt need a recompile to be moved. this also handles the problem where users do silly things like install libs multiple times in different prefixes - the LD_LIBRARY_PATH makes the prefix local libs preferred over others (i.e. the ones e17 was most likely compiled against). it sounds like you're trying to compensate for people who fucked up their install and dont know how to properly do things and thereby screwing over correct setups ... no - i'm trying to make e relocatable runtime without having to go set a whole lot of magic environment variables - just run enlightenment_start and it will work. Hm... Unfortunately setting those environment variables magically does affect the rest of the system too, not only e17. I thought about it and must say that I'd prefer it if setting those variables were left to the admin (or the one who installs software). I do agree that having several different versions of the same lib installed is not preferable, but sometimes it happens for good reason. I guess I too would consider having enlightenment relocatable useful for the unexperienced user (although I doubt that kind of user would shift enlightenment around once it's working), but I think if possible e_start_main.c should only set LD_LIBRARY_PATH if e's install location is really non-standard and not covered by the system (ld.so.conf or ld.so.conf.d/). I don't have an exact plan how to achieve relocatability without setting LD_LIBRARY_PATH, maybe s.th. like QTDIR or the option Mike proposed in this thread. Regards, Nick. -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Custom screensaver to override E's desklock (work in progress)....
On 12/17/2006 19:55, Ravenlock wrote: On 12/17/2006 10:00, Ravenlock wrote: Hello, Hoping for comments on the attached patch. The patch will add Advanced features to the Configuration Panel - Screen - Screen Lock panel. You can choose to override the Lock Screen functionality of E, and/or the E Screensaver with a Custom Screensaver which can be any executable you choose. A slight update. The only notable changes: 1) I've changed the config dialog to use minutes in stead of seconds. 2) Changed the range from 10 min max (600 seconds) to 90 minutes max. 3) bumped the E_CONFIG_FILE_GENERATION from 0x105 to 0x106 Final update until/unless there is some feedback. There may be no interest in this though I find it useful. Notable changes: 1) IPC code in place 2) Fixed memory leak wrt _e_config_free() Regards. Because of the E_CONFIG_FILE_GENERATION bump... please backup your E config dir (just in case). I had something odd happen in the last 24hrs (lost my config), and I'd hate for my patch to be responsible. I changed the max timeout because, while I feel 10 min is an appropriate timeout (for me)... seems a bit restrictive. So I up'd it a bit. Regards. This is handy (I think). There have been some issues with PAM, while this is no fix for that... it does offer a suitable workaround. Especially for those of us who would choose to use things like xscreensaver in the first place. Yes, you can say well just disable E's and configure xscreensaver. But it was annoying to me that I could not reconfigure the lock function to use insert_fav_screensaver_here. And this makes the E interface feel a little more consistent, in the sense that now I can use the menu Lock Scree option, or keybindings to activate the screensaver app of my choosing. So, you can get a little creative with it. If you keep xscreensaver up and running , you might choose to use 'xscreensaver-command -lock' as your custom saver. This will lock the screen when you tell it to (using xscreensaver). Or (using the also attached script)... you could not run xscreensaver as a daemon, choose to use E's screensaver, override it using the new custom option, and allow E to manage the timer which starts xscreensaver. The GUI changes I've made are a bit suspect as there are conditional compilations (ifdef HAVE_PAM) that may affect the location of GUI components. if some who does not HAVE_PAM could comment, that would be great too. Anyway, I was hoping someone could give it a try and comment. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Regards, Ravenlock Index: e17/apps/e/src/bin/e_config.c === RCS file: /var/cvs/e/e17/apps/e/src/bin/e_config.c,v retrieving revision 1.218 diff -u -r1.218 e_config.c --- e17/apps/e/src/bin/e_config.c 17 Dec 2006 11:24:59 - 1.218 +++ e17/apps/e/src/bin/e_config.c 18 Dec 2006 07:35:51 - @@ -478,6 +478,8 @@ E_CONFIG_VAL(D, T, desklock_use_timeout, INT); E_CONFIG_VAL(D, T, desklock_timeout, DOUBLE); E_CONFIG_VAL(D, T, desklock_disable_screensaver, INT); + E_CONFIG_VAL(D, T, desklock_use_custom_screensaver, INT); + E_CONFIG_VAL(D, T, desklock_custom_screensaver_cmd, STR); E_CONFIG_VAL(D, T, display_res_restore, INT); E_CONFIG_VAL(D, T, display_res_width, INT); E_CONFIG_VAL(D, T, display_res_height, INT); @@ -1282,6 +1284,12 @@ e_config-remember_internal_windows = 1; IFCFGEND; + + IFCFG(0x00106); + e_config-desklock_use_custom_screensaver = 0; + e_config-desklock_custom_screensaver_cmd = NULL; + IFCFGEND; + #if 0 /* example of new config */ IFCFG(0x0090); /* the version # where this value(s) was introduced */ e_config-new_value = 10; /* set the value(s) */ @@ -1366,8 +1374,9 @@ E_CONFIG_LIMIT(e_config-desklock_login_box_zone, -2, 1000); E_CONFIG_LIMIT(e_config-desklock_autolock, 0, 1); E_CONFIG_LIMIT(e_config-desklock_use_timeout, 0, 1); - E_CONFIG_LIMIT(e_config-desklock_timeout, 1.0, 600.0); + E_CONFIG_LIMIT(e_config-desklock_timeout, 1.0, 5400.0); E_CONFIG_LIMIT(e_config-desklock_disable_screensaver, 0, 1); + E_CONFIG_LIMIT(e_config-desklock_use_custom_screensaver, 0, 1); E_CONFIG_LIMIT(e_config-display_res_restore, 0, 1);
Re: [E-devel] Custom screensaver to override E's desklock (work in progress)....
Ravenlock wrote: On 12/17/2006 19:55, Ravenlock wrote: On 12/17/2006 10:00, Ravenlock wrote: Hello, Hoping for comments on the attached patch. The patch will add Advanced features to the Configuration Panel - Screen - Screen Lock panel. You can choose to override the Lock Screen functionality of E, and/or the E Screensaver with a Custom Screensaver which can be any executable you choose. A slight update. The only notable changes: 1) I've changed the config dialog to use minutes in stead of seconds. 2) Changed the range from 10 min max (600 seconds) to 90 minutes max. 3) bumped the E_CONFIG_FILE_GENERATION from 0x105 to 0x106 Final update until/unless there is some feedback. There may be no interest in this though I find it useful. Notable changes: 1) IPC code in place 2) Fixed memory leak wrt _e_config_free() Regards. Hi, as I'm somebody with desklock-related PAM problems, I naturally have interest in something like this. On the other hand... I'm not an e-developer and cannot decide whether it'll make it into the code. I must admit I haven't tried the patch (relying on xlock atm.), but would like to see the e-devs having look at it. Best, Nick. -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] export of LD_LIBRARY_PATH in e_start_main.c
On Sun, 17 Dec 2006 22:56:32 -0500 Mike Frysinger [EMAIL PROTECTED] babbled: On Sunday 17 December 2006 22:56, Carsten Haitzler wrote: this is up to libtool and compile flags and setups and i'm not playing with that - that is a secondary matter imho. these also DONT solve the problem of relocation runtime. yes it does ... that's why i said use $ORIGIN -mike and what is $ORIGIN? -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)[EMAIL PROTECTED] 裸好多 Tokyo, Japan (東京 日本) - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E CVS: libs/ewl englebass
Good catch on the mem leaks. Which events are you referring to here, the Ecore_X events or the EWL internal events? Thanks, Nathan On 12/18/06, Enlightenment CVS [EMAIL PROTECTED] wrote: Enlightenment CVS committal Author : englebass Project : e17 Module : libs/ewl Dir : e17/libs/ewl/src/engines/x11 Modified Files: ewl_engine_x11.c Log Message: Result from XGetAtomName must be free'd. But shouldn't the event rather contain names than atoms? === RCS file: /cvs/e/e17/libs/ewl/src/engines/x11/ewl_engine_x11.c,v retrieving revision 1.32 retrieving revision 1.33 diff -u -3 -r1.32 -r1.33 --- ewl_engine_x11.c13 Dec 2006 19:47:55 - 1.32 +++ ewl_engine_x11.c18 Dec 2006 07:05:56 - 1.33 @@ -1,5 +1,6 @@ #include Ewl_Engine_X11.h #include Ewl.h +#include X11/Xlib.h #include ewl_private.h #include ewl_macros.h #include ewl_debug.h @@ -1262,19 +1263,25 @@ /* Handle everything *except* XDND selection */ if (ev-selection != ECORE_X_ATOM_SELECTION_XDND) - printf(Data request event received: %s not %s\n, - XGetAtomName(ecore_x_display_get(), - ev-selection), - XGetAtomName(ecore_x_display_get(), - ECORE_X_ATOM_SELECTION_XDND)); + { + char *rec, *dnd; + + rec = XGetAtomName(ecore_x_display_get(), ev-selection); + dnd = XGetAtomName(ecore_x_display_get(), ECORE_X_ATOM_SELECTION_XDND); + printf(Data request event received: %s not %s\n, rec, dnd); + XFree(rec); + XFree(dnd); + } else if (ev-selection == ECORE_X_ATOM_SELECTION_XDND) { Ewl_Embed *embed; + char *atom; + embed = ewl_embed_evas_window_find((void *)ev-owner); - ewl_embed_dnd_data_request_feed(embed, ev, - XGetAtomName(ecore_x_display_get(), - ev-target)); + atom = XGetAtomName(ecore_x_display_get(), ev-target); + ewl_embed_dnd_data_request_feed(embed, ev, atom); + XFree(atom); } DRETURN_INT(TRUE, DLEVEL_STABLE); - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Events blocking the event system?
Hi all! For a very special use-case, I submit some custom event using ecore_event_add(). The event handler, under some conditions, will submit a new event of the same type again. This basically works as expected (kind of a tight loop), but all other events (esp. UI events like mousemove) are no longer processed. Is this the expected behavior? Can I force ecore to process the event queue? At least I can enforce repainting in the eventhandler with evas_render(). I can help myself using a timer event instead with time 0, but for this seems to have some latency (on an embedded platform), I wanted to test out the event approach described above. Any help is appreciated, - J - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] etk - scroll - text_view
hello ;) I write a application with the ETK library. I need to add a scrollbar in a text_view but my scrollbar don't appears. My code: frame = etk_frame_new(hehe); etk_container_add(ETK_CONTAINER(vbox), frame); etk_widget_show(frame); scroll = etk_scrolled_view_new (); etk_container_add(ETK_CONTAINER(frame), scroll); etk_widget_show(scroll); abouttext = etk_text_view_new(); etk_widget_size_request_set(abouttext, -1, 300); etk_object_properties_set(ETK_OBJECT(abouttext),focusable, ETK_FALSE, NULL); etk_textblock_text_set(ETK_TEXT_VIEW(abouttext)-textblock,text,ETK_TRUE); etk_container_add(ETK_CONTAINER(scroll), abouttext); etk_widget_show(abouttext); I don't see all my text because the text_view's size is not enough, that's why I want use a scroll bar. Any ideas ? We can't add a scroll in a text_view atm ? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] e16-0.16.8.5, e16keyedit-0.5
e16 version 0.16.8.5 and e16keyedit version 0.5 are now available for download: http://sourceforge.net/project/showfiles.php?group_id=2 e16-0.16.8.5: - Add Xft font support. - Add _NET_WM_SYNC_REQUEST support. - Enable setting focused/non-focused opacity independently (Grant Weir). - Enable window matches on override-redirect windows (for compositing options). - By default set opaque and fading off on xscreensaver window. - Various minor bug fixes and enhancements, see ChangeLog for details. e16keyedit-0.5: - Fix compatibility with e16 0.16.8. - Add spec file to release tarball. /Kim - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] export of LD_LIBRARY_PATH in e_start_main.c
On Monday 18 December 2006 03:47, Carsten Haitzler wrote: and what is $ORIGIN? it's a special keyword recognized by the ldso: If the name is ``ORIGIN'', then the substitution sequence is replaced by the dynamic linker with the absolute pathname of the directory in which the object containing the substitution sequence originated. in other words, if you execute /usr/bin/foo, $ORIGIN will be replaced with /usr/bin so if you utilize -rpath '$ORIGIN/../lib' in the linker flags when linking the e binary, then the ldso will automatically search /usr/bin/../lib/ when searching for libraries for the e application only ... thus the environment of e will not be polluted and applications launched inside of e should work just fine -mike pgpfkOJ2ciKem.pgp Description: PGP signature - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] etk - scroll - text_view
On 12/18/06, Atton Jonathan [EMAIL PROTECTED] wrote: hello ;) I write a application with the ETK library. I need to add a scrollbar in a text_view but my scrollbar don't appears. My code: frame = etk_frame_new(hehe); etk_container_add(ETK_CONTAINER(vbox), frame); etk_widget_show(frame); scroll = etk_scrolled_view_new (); etk_container_add(ETK_CONTAINER(frame), scroll); etk_widget_show(scroll); abouttext = etk_text_view_new(); etk_widget_size_request_set(abouttext, -1, 300); etk_object_properties_set(ETK_OBJECT(abouttext),focusable, ETK_FALSE, NULL); etk_textblock_text_set(ETK_TEXT_VIEW(abouttext)-textblock,text,ETK_TRUE); etk_container_add(ETK_CONTAINER(scroll), abouttext); etk_widget_show(abouttext); I don't see all my text because the text_view's size is not enough, that's why I want use a scroll bar. Any ideas ? We can't add a scroll in a text_view atm ? Hello, Right now, Etk's textview does not support scrolling, hopefully we will add it soon. Its advised that you make your textview fill and expand (depend on what you want). For some examples, either look at etk_test (the textview test in particular) in src/bin or check Exhibit's about dialog (exhibit_menu.c if I recall correctly). Another way, although not very elegant, would be to add the textview to a scrolledview and manually resize the textview. Feel free to hop by #etk for more help (= Best regards, hisham / codewarrior -- Hisham Mardam Bey MSc (Computer Science) http://hisham.cc/ +9613609386 Codito Ergo Sum (I Code Therefore I Am) - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] export of LD_LIBRARY_PATH in e_start_main.c
Carsten Haitzler (The Rasterman) wrote: On Sun, 17 Dec 2006 22:13:05 -0500 Mike Frysinger [EMAIL PROTECTED] babbled: On Sunday 17 December 2006 17:54, Carsten Haitzler wrote: this is part of the setup that enlightenment_start does to make sure e finds libraries in the prefix it's installed in. basically this is there for when people install, e17, evas, eet, etc. in, for example, /opt/e17 or /usr/local which is the default, and on linux DONT add /opt/e17/lib to /etc/ld.so.conf or if on bsd DONT add it to LD_LIBRARY_PATH. this means that things just work. e also adds to $PATH too to make sure it can execute things in its own install prefix. it detects this on the fly at runtime because e is actually relocatable at runtime and doesnt need a recompile to be moved. this also handles the problem where users do silly things like install libs multiple times in different prefixes - the LD_LIBRARY_PATH makes the prefix local libs preferred over others (i.e. the ones e17 was most likely compiled against). it sounds like you're trying to compensate for people who fucked up their install and dont know how to properly do things and thereby screwing over correct setups ... no - i'm trying to make e relocatable runtime without having to go set a whole lot of magic environment variables - just run enlightenment_start and it will work. Hm... Unfortunately setting those environment variables magically does affect the rest of the system too, not only e17. I thought about it and must say that I'd prefer it if setting those variables were left to the admin (or the one who installs software). I do agree that having several different versions of the same lib installed is not preferable, but sometimes it happens for good reason. I guess I too would consider having enlightenment relocatable useful for the unexperienced user (although I doubt that kind of user would shift enlightenment around once it's working), but I think if possible e_start_main.c should only set LD_LIBRARY_PATH if e's install location is really non-standard and not covered by the system (ld.so.conf or ld.so.conf.d/). I don't have an exact plan how to achieve relocatability without setting LD_LIBRARY_PATH, maybe s.th. like QTDIR or the option Mike proposed in this thread. Regards, Nick. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] etk - scroll - text_view
Le lundi 18 décembre 2006 à 20:59 +0200, Hisham Mardam Bey a écrit : On 12/18/06, Atton Jonathan [EMAIL PROTECTED] wrote: hello ;) I write a application with the ETK library. I need to add a scrollbar in a text_view but my scrollbar don't appears. My code: frame = etk_frame_new(hehe); etk_container_add(ETK_CONTAINER(vbox), frame); etk_widget_show(frame); scroll = etk_scrolled_view_new (); etk_container_add(ETK_CONTAINER(frame), scroll); etk_widget_show(scroll); abouttext = etk_text_view_new(); etk_widget_size_request_set(abouttext, -1, 300); etk_object_properties_set(ETK_OBJECT(abouttext),focusable, ETK_FALSE, NULL); etk_textblock_text_set(ETK_TEXT_VIEW(abouttext)-textblock,text,ETK_TRUE); etk_container_add(ETK_CONTAINER(scroll), abouttext); etk_widget_show(abouttext); I don't see all my text because the text_view's size is not enough, that's why I want use a scroll bar. Any ideas ? We can't add a scroll in a text_view atm ? Hello, Right now, Etk's textview does not support scrolling, hopefully we will add it soon. Its advised that you make your textview fill and expand (depend on what you want). For some examples, either look at etk_test (the textview test in particular) in src/bin or check Exhibit's about dialog (exhibit_menu.c if I recall correctly). Another way, although not very elegant, would be to add the textview to a scrolledview and manually resize the textview. Feel free to hop by #etk for more help (= Best regards, hisham / codewarrior Ok I see, I really need this options hehe :p Etk have a mainling list or site ? or you use this mailing list ? I have found a bug :o, when you select a text with the mouse, the last letter is not selected ;) in fact I try to write a ETK gui for gaim. I use Gaim's library to write my application. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] etk - scroll - text_view
On 12/19/06, Atton Jonathan [EMAIL PROTECTED] wrote: Ok I see, I really need this options hehe :p Etk have a mainling list or site ? or you use this mailing list ? We use this mailing list and #etk on irc.freenode.net I have found a bug :o, when you select a text with the mouse, the last letter is not selected ;) We'll look into it then! Thanks (= in fact I try to write a ETK gui for gaim. I use Gaim's library to write my application. Wonderful! Please step by #etk so we can have a chat sometime (= -- Hisham Mardam Bey MSc (Computer Science) http://hisham.cc/ +9613609386 Codito Ergo Sum (I Code Therefore I Am) - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Custom screensaver to override E's desklock (work in progress)....
On 12/18/2006 08:30, Ravenlock wrote: On 12/17/2006 19:55, Ravenlock wrote: On 12/17/2006 10:00, Ravenlock wrote: Hello, Hoping for comments on the attached patch. The patch will add Advanced features to the Configuration Panel - Screen - Screen Lock panel. You can choose to override the Lock Screen functionality of E, and/or the E Screensaver with a Custom Screensaver which can be any executable you choose. A slight update. The only notable changes: 1) I've changed the config dialog to use minutes in stead of seconds. 2) Changed the range from 10 min max (600 seconds) to 90 minutes max. 3) bumped the E_CONFIG_FILE_GENERATION from 0x105 to 0x106 Final update until/unless there is some feedback. There may be no interest in this though I find it useful. Notable changes: 1) IPC code in place 2) Fixed memory leak wrt _e_config_free() Regards. Ok... really done this time... for now. I think this will suffice as a first shot. (or is it my forth?) Either way, this last patch handles the X screensaver a bit better. I think the functionality included in the patch will do what you would think it should. Basically, you now can specify a single application that will respond when you - Lock Screen from the menu - Use the Desktop Lock keybinding - Enable Screensaver from the config panel. So... take a look. Comments welcome. Please don't forget to get the shell script as well (prev post). I do not keep xscreensaver running.. I use the script to launch it and shut it down. Saves a few bytes of ram. Might be useful. Now, after doing this. I've come to the conclusion that a much better job could be done. I could build a new configurator for the screensaver itself. Seperate the desklock and the screensaver. That way in the screensaver configuration, you could tweak the actual X screensaver settings (timeout, cycletime, blank, expose) as well as DPMS settings. And I could create seperate overrides, one for the desklock and one for the screensaver. Just an idea. But I think what I have now might suffice for a while. Let me know what you think. Because of the E_CONFIG_FILE_GENERATION bump... please backup your E config dir (just in case). I had something odd happen in the last 24hrs (lost my config), and I'd hate for my patch to be responsible. I changed the max timeout because, while I feel 10 min is an appropriate timeout (for me)... seems a bit restrictive. So I up'd it a bit. Regards. This is handy (I think). There have been some issues with PAM, while this is no fix for that... it does offer a suitable workaround. Especially for those of us who would choose to use things like xscreensaver in the first place. Yes, you can say well just disable E's and configure xscreensaver. But it was annoying to me that I could not reconfigure the lock function to use insert_fav_screensaver_here. And this makes the E interface feel a little more consistent, in the sense that now I can use the menu Lock Scree option, or keybindings to activate the screensaver app of my choosing. So, you can get a little creative with it. If you keep xscreensaver up and running , you might choose to use 'xscreensaver-command -lock' as your custom saver. This will lock the screen when you tell it to (using xscreensaver). Or (using the also attached script)... you could not run xscreensaver as a daemon, choose to use E's screensaver, override it using the new custom option, and allow E to manage the timer which starts xscreensaver. The GUI changes I've made are a bit suspect as there are conditional compilations (ifdef HAVE_PAM) that may affect the location of GUI components. if some who does not HAVE_PAM could comment, that would be great too. Anyway, I was hoping someone could give it a try and comment. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Regards, Ravenlock Index: e17/libs/ecore/src/lib/ecore_x/Ecore_X.h === RCS file: /var/cvs/e/e17/libs/ecore/src/lib/ecore_x/Ecore_X.h,v retrieving revision 1.178 diff -u -r1.178 Ecore_X.h --- e17/libs/ecore/src/lib/ecore_x/Ecore_X.h13 Dec 2006 19:47:17 - 1.178 +++ e17/libs/ecore/src/lib/ecore_x/Ecore_X.h19 Dec 2006 04:12:52 - @@ -1367,6 +1367,12 @@ EAPI int
Re: [E-devel] export of LD_LIBRARY_PATH in e_start_main.c
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Mon, 18 Dec 2006 13:29:34 -0500 schrieb Mike Frysinger [EMAIL PROTECTED]: On Monday 18 December 2006 03:47, Carsten Haitzler wrote: and what is $ORIGIN? it's a special keyword recognized by the ldso: If the name is ``ORIGIN'', then the substitution sequence is replaced by the dynamic linker with the absolute pathname of the directory in which the object containing the substitution sequence originated. in other words, if you execute /usr/bin/foo, $ORIGIN will be replaced with /usr/bin so if you utilize -rpath '$ORIGIN/../lib' in the linker flags when linking the e binary, then the ldso will automatically search /usr/bin/../lib/ when searching for libraries for the e application only ... thus the environment of e will not be polluted and applications launched inside of e should work just fine -mike hmm in my manpage about ld.so i can't find any references to ORIGIN/LD_ORIGIN ENV-Var. The only reference i found was in a manpage for SunOS 5.9 (http://bama.ua.edu/cgi-bin/man-cgi?ld.so.1+1) and solaris(http://docs.sun.com/app/docs/doc/816-5165/6mbb0m9k7?a=view) - -- Ein Ring, sie zu knechten, sie alle zu finden, Ins Dunkel zu treiben und ewig zu binden Im Lande Mordor, wo die Schatten drohn. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iQCVAwUBRYebKdgaULoCncyGAQKEFwP9FbLXSqNva5gAmolCqWnixX7sO5AW2aYs 5qVsg1g14JurGSP9cqDf/ebwdLqzHsfOmv4k0D4J5rwysv23T25B0bSFAloJoYDs llHjQ6UKo4uwZUPASSn8LZLgr79eJY3SAX60iQW+xlPkNQwcgDCuPzNdpfqHYFgp QoZiDRAKdpw= =zjNJ -END PGP SIGNATURE- - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel