[nemiver] Don't boldify file path in locate dialog (Closes: #633563)



commit 13c1fb3579e4b0d516077ddac655045505cfbc01
Author: Dodji Seketeli <dodji seketeli org>
Date:   Sun Nov 7 18:54:27 2010 +0100

    Don't boldify file path in locate dialog (Closes: #633563)
    
    	* src/uicommon/nmv-locate-file-dialog.cc
    	(src/uicommon/nmv-locate-file-dialog.cc): Don't use markups in
    	this label. I am not not sure it's useful and we'd need to escape
    	the content if it was.

 src/uicommon/nmv-locate-file-dialog.cc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/uicommon/nmv-locate-file-dialog.cc b/src/uicommon/nmv-locate-file-dialog.cc
index 8ea9894..ca84298 100644
--- a/src/uicommon/nmv-locate-file-dialog.cc
+++ b/src/uicommon/nmv-locate-file-dialog.cc
@@ -71,11 +71,11 @@ public:
         THROW_IF_FAIL (label_filename);
         UString instructions;
         instructions.printf (
-                _("Cannot find file '<b>%s</b>'.\nPlease specify "
+                _("Cannot find file '%s'.\nPlease specify "
                   "the location of this file:"),
                 a_filename.c_str ());
+        label_filename->set_use_markup (false);
         label_filename->set_text(instructions);
-        label_filename->set_use_markup ();
     }
 
     void on_file_selection_changed_signal ()



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