I understand why one would feel the urge to automatically focus the url 
entry but under illume it causes unnecessary window resizes (only made 
much worse on slower devices) when:

   a) you load eve via cli with an URL as argument (from another prog)
   b) you just want to check the page load progress of that freakingly 
slow web site on that "%$#%&"$#&"# gprs connection :)

Does anyone have strong feelings against committing this? If so, can you 
think of a better way so these resizes under illume don't happen but 
still you get the desired (by you) auto-focus?

Rui

[...@roque trunk]$ svn diff eve
Index: eve/src/bin/chrome.c
===================================================================
--- eve/src/bin/chrome.c        (revision 54222)
+++ eve/src/bin/chrome.c        (working copy)
@@ -810,10 +810,6 @@
     Browser_Window *win = data;
     Evas_Object *ed = elm_layout_edje_get(win->current_chrome);
     Evas_Object *url_entry = edje_object_part_swallow_get(ed, "url-entry");
-
-   /* we show the location entry - requested it. it should be focused for
-    * typing, so lets do this */
-   elm_object_focus(url_entry);
  }

  static void

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to