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 - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-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