[gnome-user-share] nautilus: Fix incorrect label when Bluetooth is on



commit 2bbb558e8d81c50c1c551fa50a927f699ccf8dc1
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Nov 21 17:21:04 2014 +0100

    nautilus: Fix incorrect label when Bluetooth is on
    
    The Public directory would have had a label saying:
    "May be shared over the network or Bluetooth"
    That's incorrect since we removed support for ObexFTP.

 src/share-extension.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/share-extension.c b/src/share-extension.c
index bff314b..8282e36 100644
--- a/src/share-extension.c
+++ b/src/share-extension.c
@@ -154,11 +154,7 @@ nautilus_user_share_get_location_widget (NautilusLocationWidgetProvider *iface,
        if (is_dir[0] != FALSE && is_dir[1] != FALSE) {
                bar = nautilus_share_bar_new (_("May be used to share or receive files"));
        } else if (is_dir[0] != FALSE) {
-#ifndef HAVE_BLUETOOTH
-               bar = nautilus_share_bar_new (_("May be shared over the network or Bluetooth"));
-#else
                bar = nautilus_share_bar_new (_("May be shared over the network"));
-#endif /* !HAVE_BLUETOOTH */
        } else {
 #ifdef HAVE_BLUETOOTH
                BluetoothClient *client;


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