gnome-bluetooth r390 - trunk/applet



Author: hadess
Date: Fri Feb 27 16:37:37 2009
New Revision: 390
URL: http://svn.gnome.org/viewvc/gnome-bluetooth?rev=390&view=rev

Log:
Kill some applet dead code

No more Bluetooth file sharing.

Modified:
   trunk/applet/main.c

Modified: trunk/applet/main.c
==============================================================================
--- trunk/applet/main.c	(original)
+++ trunk/applet/main.c	Fri Feb 27 16:37:37 2009
@@ -52,10 +52,6 @@
 
 #define PREF_DIR		"/apps/bluetooth-manager"
 #define PREF_ICON_POLICY	PREF_DIR "/icon_policy"
-#if 0
-#define PREF_RECEIVE_ENABLED	PREF_DIR "/receive_enabled"
-#define PREF_SHARING_ENABLED	PREF_DIR "/sharing_enabled"
-#endif
 
 static GConfClient* gconf;
 
@@ -378,18 +374,6 @@
 		update_icon_visibility();
 		return;
 	}
-
-#if 0
-	if (g_str_equal(entry->key, PREF_RECEIVE_ENABLED) == TRUE) {
-		set_receive_enabled(gconf_value_get_bool(value));
-		return;
-	}
-
-	if (g_str_equal(entry->key, PREF_SHARING_ENABLED) == TRUE) {
-		set_sharing_enabled(gconf_value_get_bool(value));
-		return;
-	}
-#endif
 }
 
 static GOptionEntry options[] = {
@@ -450,14 +434,6 @@
 		g_free(str);
 	}
 
-#if 0
-	set_receive_enabled(gconf_client_get_bool(gconf,
-						PREF_RECEIVE_ENABLED, NULL));
-
-	set_sharing_enabled(gconf_client_get_bool(gconf,
-						PREF_SHARING_ENABLED, NULL));
-#endif
-
 	gconf_client_add_dir(gconf, PREF_DIR, GCONF_CLIENT_PRELOAD_NONE, NULL);
 
 	gconf_client_notify_add(gconf, PREF_DIR,



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