[gnome-user-share] Improve the nautilus cluebar



commit 8ae76ce81119e63ac6fdfdd537d256bf82069e0a
Author: William Jon McCann <jmccann redhat com>
Date:   Tue Aug 7 16:16:04 2012 -0400

    Improve the nautilus cluebar
    
    Make the text more concise and the bar more compact.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=681408

 src/nautilus-share-bar.c |    7 +------
 src/share-extension.c    |    6 +++---
 2 files changed, 4 insertions(+), 9 deletions(-)
---
diff --git a/src/nautilus-share-bar.c b/src/nautilus-share-bar.c
index 33dab14..deaa0eb 100644
--- a/src/nautilus-share-bar.c
+++ b/src/nautilus-share-bar.c
@@ -85,7 +85,6 @@ nautilus_share_bar_init (NautilusShareBar *bar)
         GtkWidget *action_area;
 	GtkWidget *label;
         GtkWidget *vbox;
-        GtkWidget *image;
         GtkWidget *button;
         PangoAttrList *attrs;
 
@@ -114,13 +113,9 @@ nautilus_share_bar_init (NautilusShareBar *bar)
         gtk_container_add (GTK_CONTAINER (vbox), bar->priv->label);
 
         button = gtk_info_bar_add_button (GTK_INFO_BAR (bar),
-                                          _("Launch Preferences"),
+                                          _("Preferences"),
                                           NAUTILUS_SHARE_BAR_RESPONSE_PREFERENCES);
 
-        image = gtk_image_new_from_icon_name ("folder-remote", GTK_ICON_SIZE_BUTTON);
-        gtk_widget_show (image);
-        gtk_button_set_image (GTK_BUTTON (button), image);
-
         gtk_widget_set_tooltip_text (button,
                                      _("Launch Personal File Sharing Preferences"));
 
diff --git a/src/share-extension.c b/src/share-extension.c
index 944a26b..db50017 100644
--- a/src/share-extension.c
+++ b/src/share-extension.c
@@ -139,11 +139,11 @@ nautilus_user_share_get_location_widget (NautilusLocationWidgetProvider *iface,
 		return NULL;
 
 	if (is_dir[0] != FALSE && is_dir[1] != FALSE) {
-		bar = nautilus_share_bar_new (_("You can share files from this folder and receive files to it"));
+		bar = nautilus_share_bar_new (_("May be used to share or receive files"));
 	} else if (is_dir[0] != FALSE) {
-		bar = nautilus_share_bar_new (_("You can share files from this folder over the network and Bluetooth"));
+		bar = nautilus_share_bar_new (_("May be shared over the network or Bluetooth"));
 	} else {
-		bar = nautilus_share_bar_new (_("You can receive files over Bluetooth into this folder"));
+		bar = nautilus_share_bar_new (_("May be used to receive files over Bluetooth"));
 	}
 
 	g_signal_connect (bar, "response",



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