[nautilus] query-editor: don't set special style classes on query editor labels



commit 222d31a98b602ec9c807f798f43df0ab4bdf5a6e
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Jun 27 02:42:22 2012 -0400

    query-editor: don't set special style classes on query editor labels
    
    We make bold by default using Pango and we don't need any other special
    theming for these.

 src/nautilus-query-editor.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/nautilus-query-editor.c b/src/nautilus-query-editor.c
index ecccb8b..243586f 100644
--- a/src/nautilus-query-editor.c
+++ b/src/nautilus-query-editor.c
@@ -991,9 +991,6 @@ nautilus_query_editor_init (NautilusQueryEditor *editor)
 	gtk_label_set_markup (GTK_LABEL (label), label_markup);
 	g_free (label_markup);
 
-	gtk_style_context_add_class (gtk_widget_get_style_context (label),
-				     "nautilus-cluebar-label");
-	
 	gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
 	gtk_widget_show (label);
 	
@@ -1069,9 +1066,6 @@ setup_internal_entry (NautilusQueryEditor *editor)
 	g_free (label_markup);
 	gtk_widget_show (label);
 
-	gtk_style_context_add_class (gtk_widget_get_style_context (label),
-				     "nautilus-cluebar-label");
-	
 	gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
 
 	editor->details->entry = gtk_entry_new ();
@@ -1103,9 +1097,6 @@ setup_external_entry (NautilusQueryEditor *editor, GtkWidget *entry)
 	gtk_label_set_markup (GTK_LABEL (label), label_markup);
 	gtk_widget_show (label);
 
-	gtk_style_context_add_class (gtk_widget_get_style_context (label),
-				     "nautilus-cluebar-label");
-	
 	gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
 	
 	editor->details->entry = entry;



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