[gnome-bluetooth] sendto: remove Sending files label



commit f69d50786a5f76661290ef97bf4ebe6a098700f0
Author: Gustavo Padovan <gustavo padovan collabora co uk>
Date:   Tue May 21 19:44:41 2013 -0300

    sendto: remove Sending files label
    
    We can change the window title to say "Bluetooth File Transfer" and
    the remove the label "Sending files via Bluetooth".
    
    We can get a smaller window size with this change.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=701399

 sendto/main.c |   11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)
---
diff --git a/sendto/main.c b/sendto/main.c
index 1dd3434..d540cb2 100644
--- a/sendto/main.c
+++ b/sendto/main.c
@@ -421,7 +421,7 @@ static void create_window(void)
        GtkWidget *label;
        gchar *text;
 
-       dialog = gtk_dialog_new_with_buttons(_("File Transfer"), NULL,
+       dialog = gtk_dialog_new_with_buttons(_("Bluetooth File Transfer"), NULL,
                                0,
                                GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
                                _("_Retry"), RESPONSE_RETRY,
@@ -439,15 +439,6 @@ static void create_window(void)
        gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (dialog))),
                           vbox);
 
-       label = gtk_label_new(NULL);
-       gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);
-       text = g_markup_printf_escaped("<span size=\"larger\"><b>%s</b></span>",
-       /* translators: This is the heading for the progress dialogue */
-                                       _("Sending files via Bluetooth"));
-       gtk_label_set_markup(GTK_LABEL(label), text);
-       g_free(text);
-       gtk_box_pack_start(GTK_BOX(vbox), label, TRUE, TRUE, 0);
-
        table = gtk_grid_new();
        gtk_grid_set_column_spacing(GTK_GRID(table), 4);
        gtk_grid_set_row_spacing(GTK_GRID(table), 4);


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