Hi,

At revision 40375 :

 They are presented as a submenu with check items. Need to implement
>  support in modules, so they'll check for these variables.
>
>  DESIGNERS: could you please provide the following icons:
>
>     * preferences-modes: contain the other icons
>
>     * preferences-modes-presentation: system is in presentation mode,
>       no screensaver, locks and dpms will be available.
>
>     * preferences-modes-offline: system is offline, modules that keep
>       polling internet services (weather, forecasts, ...) should stop
>       and show "I'm offline" emblem. When network systems (network
>       manager, connman, exhalt...) are integrated, they will change
>       this state as well.
>

It seems to me that they are just variables to check for in the other
modules to determine a new kind of "profil" (like the "silence mode" of your
gsm).

Vincent Pomageot

2009/4/26 Viktor Kojouharov <[email protected]>

> On Sat, 2009-04-25 at 13:54 -0700, Enlightenment SVN wrote:
> > Log:
> >   actions to toggle new modes.
> >
> > Author:       barbieri
> > Date:         2009-04-25 13:54:12 -0700 (Sat, 25 Apr 2009)
> > New Revision: 40385
> >
> > Modified:
> >   trunk/e/src/bin/e_actions.c
> >
> > Modified: trunk/e/src/bin/e_actions.c
> > ===================================================================
> > --- trunk/e/src/bin/e_actions.c       2009-04-25 18:49:39 UTC (rev 40384)
> > +++ trunk/e/src/bin/e_actions.c       2009-04-25 20:54:12 UTC (rev 40385)
> > @@ -1801,6 +1801,22 @@
> >  }
> >
> >
>  /***************************************************************************/
> > +ACT_FN_GO(mode_presentation_toggle)
> > +{
> > +   e_config->mode.presentation = !e_config->mode.presentation;
> > +   e_config_mode_changed();
> > +   e_config_save_queue();
> > +}
> > +
> >
> +/***************************************************************************/
> > +ACT_FN_GO(mode_offline_toggle)
> > +{
> > +   e_config->mode.offline = !e_config->mode.offline;
> > +   e_config_mode_changed();
> > +   e_config_save_queue();
> > +}
> > +
> >
> +/***************************************************************************/
> >  static E_Dialog *logout_dialog = NULL;
> >
> >  static void
> > @@ -2787,6 +2803,16 @@
> >     e_action_predef_name_set(_("Enlightenment"), _("Exit Now"),
> >                           "exit_now", NULL, NULL, 0);
> >
> > +   ACT_GO(mode_presentation_toggle);
> > +   e_action_predef_name_set(_("Enlightenment : Mode"),
> > +                         _("Presentation Mode Toggle"),
> > +                         "mode_presentation_toggle", NULL, NULL, 0);
> > +
> > +   ACT_GO(mode_offline_toggle);
> > +   e_action_predef_name_set(_("Enlightenment : Mode"),
> > +                         _("Offline Mode Toggle"),
> > +                         "mode_offline_toggle", NULL, NULL, 0);
> > +
> >     ACT_GO(logout);
> >     e_action_predef_name_set(_("System"), _("Log Out"), "logout",
> >                           NULL, NULL, 0);
> >
>
> What do those modes do, exactly?
>
>
>
> ------------------------------------------------------------------------------
> Crystal Reports &#45; New Free Runtime and 30 Day Trial
> Check out the new simplified licensign option that enables unlimited
> royalty&#45;free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to