Test the other method
[gregoa/zavai.git] / src / app_power.vala
index ad1f2f1b07c6f9782f15e4e4ca85a639bf1b0d45..5dbc196861505ec9c757bb96b7a9de781a0145c6 100644 (file)
@@ -87,8 +87,8 @@ public class Power : zavai.Resource, Object
                if (!done)
                {
                        try {
-                               usage.Suspend();
-                               done = true;
+                               //usage.Suspend();
+                               //done = true;
                        } catch (Error e) {
                                zavai.log.error("Suspending phone with ousaged: " + e.message);
                        }
@@ -342,7 +342,7 @@ public class SuspendButton : Gtk.Button
 
        public void on_clicked()
        {
-               zavai.log.info("Suspending the phone via FSO");
+               zavai.log.info("Suspending the phone");
                power.do_suspend();
                power_menu.hide_menu();
        }
@@ -359,7 +359,7 @@ public class ShutdownButton : Gtk.Button
 
        public void on_clicked()
        {
-               zavai.log.info("Shutting down the phone via FSO");
+               zavai.log.info("Shutting down the phone");
                power.do_shutdown();
                power_menu.hide_menu();
        }
@@ -376,7 +376,7 @@ public class RebootButton : Gtk.Button
 
        public void on_clicked()
        {
-               zavai.log.info("Rebooting the phone via FSO");
+               zavai.log.info("Rebooting the phone");
                power.do_reboot();
                power_menu.hide_menu();
        }