[gnome-flashback] bluetooth-applet: fix turn on/off menu items (again)



commit c2380737fe24311b144848f9eec436bc33f3939a
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Thu Sep 10 10:56:24 2015 +0300

    bluetooth-applet: fix turn on/off menu items (again)

 .../libbluetooth-applet/gf-bluetooth-applet.c      |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-flashback/libbluetooth-applet/gf-bluetooth-applet.c 
b/gnome-flashback/libbluetooth-applet/gf-bluetooth-applet.c
index a5535ed..0b4c5e8 100644
--- a/gnome-flashback/libbluetooth-applet/gf-bluetooth-applet.c
+++ b/gnome-flashback/libbluetooth-applet/gf-bluetooth-applet.c
@@ -50,7 +50,7 @@ turn_off_cb (GtkMenuItem *item,
   if (applet->rfkill == NULL)
     return;
 
-  gf_sd_rfkill_set_bluetooth_airplane_mode (applet->rfkill, FALSE);
+  gf_sd_rfkill_set_bluetooth_airplane_mode (applet->rfkill, TRUE);
 }
 
 static void
@@ -97,7 +97,7 @@ turn_on_cb (GtkMenuItem *item,
   if (applet->rfkill == NULL)
     return;
 
-  gf_sd_rfkill_set_bluetooth_airplane_mode (applet->rfkill, TRUE);
+  gf_sd_rfkill_set_bluetooth_airplane_mode (applet->rfkill, FALSE);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]