Re: [E-devel] [Patch] Elementary : New widget Elc_dayselector patch

2012-03-06 Thread The Rasterman
On Tue, 06 Mar 2012 07:23:41 + (GMT) Sumanth Krishna Mannam
sumant...@samsung.com said:

 Hi Raster,
 
 Actually we have analyzed nl_langinfo()  with items  (_NL_TIME_WEEK_1STDAY,
 _NL_TIME_FIRST_WEEKDAY, _NL_TIME_FIRST_WORKDAY ) , but these types doesn't
 work in all the environments, otherwise this is the quite straight forward
 way to do Weekday/weekend calculations based on system settings.
 
 Now, looking at your suggestion, do you mean  Widget can read the  clock
 module config file and fetch the weekday/weekend details?  Clock is a dynamic
 module, can be enabled/disabled, can elm depend on that?

no no - dont read e17's clock module config. elementary needs tyo have its own
config values. 

 Or you are suggesting to have similar settings as part of elm.cfg and use it?

yes. u only need 3 integers as i described. we COULD try auto-configure and use
the nl_langinfo as above.. If that is available, but generally regardless of
locale, this stuff varies even from user to user within the same locale.

 Please clarify.
 
 Thanks,
 Sumanth
 
  
  i have a problem with this... and that is how it figures out the first day
  of the week and what the weekend is. the theme shouldn't be doing this.
  there should be an api call to set which day weeks start at. that means
  which day is the first displayed on the left (or in mirrored mode on the
  right) of the selector. you should allow any day (0-6 (mon-sun)). as for
  which day weekends start on - the same thing. also allow for how many days
  a weekend has. 0, 1, 2.. up to 6. this data SHOULD be sourced from elm
  config, not theme (so add config values, eet data descriptors for them, add
  values into the default elm config profile(s) and add widgets to the elm
  config tool to change there). there should also be the api calls as above.
  
  look at e17's clock settings - click on it and look there for week and
  weekend. i spent a while trying to come up with the simplest way to express
  all the (common) week+weekend setups around the world and this was the
  best. it covers all of them that i know of with 3 simple integers (0 to 6).
  
  Hello. Sumanth made patch for new widget dayselector.Please refer
  following description :=
  Elc_Dayselector is a day selection widget. It displays all seven days of
  the week and allows the user to select multiple days. The selection can be
  toggle by just clicking on the day. Dayselector provides the functionality
  to check whether a day is selected or not. Localization support is also
  provided in the widget. Can someone review the widget and push it to the
  EFL repository. Sign-off By: sumanth M. V. K lt; sumant...@samsung.com
  
  
  -- 
  - Codito, ergo sum - I code, therefore I am --
  The Rasterman (Carsten Haitzler)ras...@rasterman.com
  

-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] Elementary : New widget Elc_dayselector patch

2012-03-05 Thread Sumanth Krishna Mannam
Hi Raster,

Actually we have analyzed nl_langinfo()  with items  (_NL_TIME_WEEK_1STDAY, 
_NL_TIME_FIRST_WEEKDAY, _NL_TIME_FIRST_WORKDAY ) , but these types doesn't work 
in all the environments, otherwise this is the quite straight forward way to do 
Weekday/weekend calculations based on system settings.

Now, looking at your suggestion, do you mean  Widget can read the  clock module 
config file and fetch the weekday/weekend details?  Clock is a dynamic module, 
can be enabled/disabled, can elm depend on that?

Or you are suggesting to have similar settings as part of elm.cfg and use it?

Please clarify.

Thanks,
Sumanth

 
 i have a problem with this... and that is how it figures out the first day of
 the week and what the weekend is. the theme shouldn't be doing this. there
 should be an api call to set which day weeks start at. that means which day is
 the first displayed on the left (or in mirrored mode on the right) of the
 selector. you should allow any day (0-6 (mon-sun)). as for which day 
 weekends
 start on - the same thing. also allow for how many days a weekend has. 0, 1,
 2.. up to 6. this data SHOULD be sourced from elm config, not theme (so
 add config values, eet data descriptors for them, add values into the default
 elm config profile(s) and add widgets to the elm config tool to change there).
 there should also be the api calls as above.
 
 look at e17's clock settings - click on it and look there for week and 
 weekend.
 i spent a while trying to come up with the simplest way to express all the
 (common) week+weekend setups around the world and this was the best. it covers
 all of them that i know of with 3 simple integers (0 to 6).
 
 Hello. Sumanth made patch for new widget dayselector.Please refer following
 description :=
 Elc_Dayselector is a day selection widget. It displays all seven days of the 
 week and allows
 the user to select multiple days. The selection can be toggle by just
 clicking on the day. Dayselector provides the functionality to check whether
 a day is selected or not. Localization support is also provided in the
 widget. Can someone review the widget and push it to the EFL repository.
 Sign-off By: sumanth M. V. K lt; sumant...@samsung.com
 
 
 -- 
 - Codito, ergo sum - I code, therefore I am --
 The Rasterman (Carsten Haitzler)ras...@rasterman.com
 
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] Elementary : New widget Elc_dayselector patch

2012-03-04 Thread The Rasterman
On Wed, 29 Feb 2012 15:21:17 +0900 woohyunwoo_hyun0...@naver.com said:

i have a problem with this... and that is how it figures out the first day of
the week and what the weekend is. the theme shouldn't be doing this. there
should be an api call to set which day weeks start at. that means which day is
the first displayed on the left (or in mirrored mode on the right) of the
selector. you should allow any day (0-6 (mon-sun)). as for which day weekends
start on - the same thing. also allow for how many days a weekend has. 0, 1,
2.. up to 6. this data SHOULD be sourced from elm config, not theme (so
add config values, eet data descriptors for them, add values into the default
elm config profile(s) and add widgets to the elm config tool to change there).
there should also be the api calls as above.

look at e17's clock settings - click on it and look there for week and weekend.
i spent a while trying to come up with the simplest way to express all the
(common) week+weekend setups around the world and this was the best. it covers
all of them that i know of with 3 simple integers (0 to 6).

 Hello. Sumanth made patch for new widget dayselector.Please refer following
 description 
 :=Elc_Dayselector
 is a day selection widget. It displays all seven days of the week and allows
 the user to select multiple days. The selection can be toggle by just
 clicking on the day. Dayselector provides the functionality to check whether
 a day is selected or not. Localization support is also provided in the
 widget. Can someone review the widget and push it to the EFL repository.
 Sign-off By: sumanth M. V. K lt; sumant...@samsung.com


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel