Enlightenment CVS committal Author : englebass Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_sys.c Log Message: Formatting. =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_sys.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- e_sys.c 2 Mar 2007 17:00:20 -0000 1.9 +++ e_sys.c 24 Mar 2007 12:54:45 -0000 1.10 @@ -88,7 +88,7 @@ e_sys_action_do(E_Sys_Action a, char *param) { int ret; - + if (_e_sys_action_current != E_SYS_NONE) { _e_sys_current_action(); @@ -124,7 +124,7 @@ * things */ char buf[4096]; - + snprintf(buf, sizeof(buf), "%s/enlightenment_sys -t halt", e_prefix_bin_get()); _e_sys_halt_check_exe = ecore_exe_run(buf, NULL); snprintf(buf, sizeof(buf), "%s/enlightenment_sys -t reboot", e_prefix_bin_get()); @@ -242,11 +242,11 @@ { Evas_List *l; int pending = 0; - + for (l = e_border_client_list(); l; l = l->next) { E_Border *bd; - + bd = l->data; if (!bd->internal) pending++; } @@ -259,13 +259,13 @@ if ((ecore_time_get() - _e_sys_logout_begin_time) > 15.0) { E_Dialog *dia; - + dia = e_dialog_new(e_container_current_get(e_manager_current_get()), "E", "_sys_error_logout_slow"); if (dia) { e_dialog_title_set(dia, _("Logout problems")); e_dialog_icon_set(dia, "enlightenment/logout", 64); - e_dialog_text_set(dia, + e_dialog_text_set(dia, _("Logout is taking too long. Some<br>" "applications refuse to close.<br>" "Do you want to finish the logout<br>" @@ -309,9 +309,9 @@ { Evas_List *l; E_Obj_Dialog *od; - + /* start logout - at end do the a_after action */ - od = e_obj_dialog_new(e_container_current_get(e_manager_current_get()), + od = e_obj_dialog_new(e_container_current_get(e_manager_current_get()), _("Logout in progress"), "E", "_sys_logout"); e_obj_dialog_obj_theme_set(od, "base/theme/sys", "e/sys/logout"); e_obj_dialog_obj_part_text_set(od, "e.textblock.message", @@ -325,7 +325,7 @@ for (l = e_border_client_list(); l; l = l->next) { E_Border *bd; - + bd = l->data; e_border_act_close_begin(bd); } @@ -343,48 +343,48 @@ dia = e_dialog_new(e_container_current_get(e_manager_current_get()), "E", "_sys_error_action_busy"); if (!dia) return; - + e_dialog_title_set(dia, _("Enlightenment is busy with another request")); e_dialog_icon_set(dia, "enlightenment/sys", 64); switch (_e_sys_action_current) { case E_SYS_LOGOUT: - e_dialog_text_set(dia, + e_dialog_text_set(dia, _("Enlightenment is busy logging out.<br>" "You cannot perform other system actions<br>" "once a logout has begun.") ); break; case E_SYS_HALT: - e_dialog_text_set(dia, + e_dialog_text_set(dia, _("Enlightenment is shutting the system down.<br>" "You cannot do any other system actions<br>" "once a shutdown has been started.") ); break; case E_SYS_REBOOT: - e_dialog_text_set(dia, + e_dialog_text_set(dia, _("Enlightenment is rebooting the system.<br>" "You cannot do any other system actions<br>" "once a reboot has begun.") ); break; case E_SYS_SUSPEND: - e_dialog_text_set(dia, + e_dialog_text_set(dia, _("Enlightenment is suspending the system.<br>" "Until suspend is complete you cannot perform<br>" "any other system actions.") ); break; case E_SYS_HIBERNATE: - e_dialog_text_set(dia, + e_dialog_text_set(dia, _("Enlightenment is hibernating the system.<br>" "You cannot perform an other system actions<br>" "until this is complete.") ); break; default: - e_dialog_text_set(dia, + e_dialog_text_set(dia, _("EEK! This should not happen") ); break; @@ -403,33 +403,33 @@ dia = e_dialog_new(e_container_current_get(e_manager_current_get()), "E", "_sys_error_action_failed"); if (!dia) return; - + e_dialog_title_set(dia, _("Enlightenment is busy with another request")); e_dialog_icon_set(dia, "enlightenment/sys", 64); switch (_e_sys_action_current) { case E_SYS_HALT: - e_dialog_text_set(dia, + e_dialog_text_set(dia, _("Shutting down of your system failed.") ); break; case E_SYS_REBOOT: - e_dialog_text_set(dia, + e_dialog_text_set(dia, _("Rebooting your system failed.") ); break; case E_SYS_SUSPEND: - e_dialog_text_set(dia, + e_dialog_text_set(dia, _("Suspend of your system failed.") ); break; case E_SYS_HIBERNATE: - e_dialog_text_set(dia, + e_dialog_text_set(dia, _("Hibernating your system failed.") ); break; default: - e_dialog_text_set(dia, + e_dialog_text_set(dia, _("EEK! This should not happen") ); break; @@ -445,7 +445,7 @@ { char buf[4096]; E_Obj_Dialog *od; - + switch (a) { case E_SYS_EXIT: @@ -474,7 +474,7 @@ else { _e_sys_exe = ecore_exe_run(buf, NULL); - od = e_obj_dialog_new(e_container_current_get(e_manager_current_get()), + od = e_obj_dialog_new(e_container_current_get(e_manager_current_get()), _("Shutting down"), "E", "_sys_halt"); e_obj_dialog_obj_theme_set(od, "base/theme/sys", "e/sys/halt"); e_obj_dialog_obj_part_text_set(od, "e.textblock.message", @@ -501,7 +501,7 @@ else { _e_sys_exe = ecore_exe_run(buf, NULL); - od = e_obj_dialog_new(e_container_current_get(e_manager_current_get()), + od = e_obj_dialog_new(e_container_current_get(e_manager_current_get()), _("Rebooting"), "E", "_sys_reboot"); e_obj_dialog_obj_theme_set(od, "base/theme/sys", "e/sys/reboot"); e_obj_dialog_obj_part_text_set(od, "e.textblock.message", @@ -527,7 +527,7 @@ else { _e_sys_exe = ecore_exe_run(buf, NULL); - od = e_obj_dialog_new(e_container_current_get(e_manager_current_get()), + od = e_obj_dialog_new(e_container_current_get(e_manager_current_get()), _("Suspending"), "E", "_sys_suspend"); e_obj_dialog_obj_theme_set(od, "base/theme/sys", "e/sys/suspend"); e_obj_dialog_obj_part_text_set(od, "e.textblock.message", @@ -553,7 +553,7 @@ else { _e_sys_exe = ecore_exe_run(buf, NULL); - od = e_obj_dialog_new(e_container_current_get(e_manager_current_get()), + od = e_obj_dialog_new(e_container_current_get(e_manager_current_get()), _("Hibernating"), "E", "_sys_hibernate"); e_obj_dialog_obj_theme_set(od, "base/theme/sys", "e/sys/hibernate"); e_obj_dialog_obj_part_text_set(od, "e.textblock.message", ------------------------------------------------------------------------- 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.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs