[nautilus/merge_replace_dialog: 19/23] Remove manual markup.



commit fcb549c0d0371e86c6c01098d7cd2d6131420c3e
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Apr 8 19:17:19 2010 +0200

    Remove manual markup.
    
    Now that we use Pango to make the string bold, this is useless.

 .../nautilus-file-conflict-dialog.c                |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/libnautilus-private/nautilus-file-conflict-dialog.c b/libnautilus-private/nautilus-file-conflict-dialog.c
index e2bbcd7..12d98d7 100644
--- a/libnautilus-private/nautilus-file-conflict-dialog.c
+++ b/libnautilus-private/nautilus-file-conflict-dialog.c
@@ -82,7 +82,7 @@ file_list_ready_cb (GList *files,
 	GtkDialog *dialog;
 	gboolean source_is_dir,	dest_is_dir, should_show_type;
 	NautilusFileConflictDialogDetails *details;
-	char *primary_text, *secondary_text, *primary_markup;
+	char *primary_text, *secondary_text;
 	char *src_name, *dest_name, *dest_dir_name;
 	char *label_text;
 	char *size, *date, *type = NULL;
@@ -153,8 +153,7 @@ file_list_ready_cb (GList *files,
 	}
 
 	label = gtk_label_new (NULL);
-	primary_markup = g_strconcat ("<b>", primary_text, "</b>", NULL);
-	gtk_label_set_markup (GTK_LABEL (label), primary_markup);
+	gtk_label_set_text (GTK_LABEL (label), primary_text);
 	gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
 	gtk_box_pack_start (GTK_BOX (details->titles_vbox),
 			    label, FALSE, FALSE, 0);
@@ -173,7 +172,6 @@ file_list_ready_cb (GList *files,
 			    label, TRUE, TRUE, 0);
 	gtk_widget_show (label);
 	g_free (primary_text);
-	g_free (primary_markup);
 	g_free (secondary_text);
 
 	/* Set up file icons */



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