aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-11-18 22:44:45 +0800
committerMilan Crha <mcrha@redhat.com>2009-11-18 22:44:45 +0800
commitc37f588a2c64932d19c03cd32a1de56c914f6ea1 (patch)
tree60b3a9606ecfe8602b0f8a8a1ce83bcdb5a29ca8
parent9727444b39f180f91bd756bb9a7ff1daf721dc41 (diff)
downloadgsoc2013-evolution-c37f588a2c64932d19c03cd32a1de56c914f6ea1.tar
gsoc2013-evolution-c37f588a2c64932d19c03cd32a1de56c914f6ea1.tar.gz
gsoc2013-evolution-c37f588a2c64932d19c03cd32a1de56c914f6ea1.tar.bz2
gsoc2013-evolution-c37f588a2c64932d19c03cd32a1de56c914f6ea1.tar.lz
gsoc2013-evolution-c37f588a2c64932d19c03cd32a1de56c914f6ea1.tar.xz
gsoc2013-evolution-c37f588a2c64932d19c03cd32a1de56c914f6ea1.tar.zst
gsoc2013-evolution-c37f588a2c64932d19c03cd32a1de56c914f6ea1.zip
Bug #602178 - [regression] Missing widget in Search folder dialog
-rw-r--r--filter/e-rule-editor.c5
-rw-r--r--mail/em-vfolder-rule.c4
2 files changed, 3 insertions, 6 deletions
diff --git a/filter/e-rule-editor.c b/filter/e-rule-editor.c
index 119c27a04d..fe4c1e1d52 100644
--- a/filter/e-rule-editor.c
+++ b/filter/e-rule-editor.c
@@ -806,7 +806,6 @@ e_rule_editor_construct (ERuleEditor *editor,
GObject *object;
GList *list;
gint i;
- gchar *tmp;
g_return_if_fail (E_IS_RULE_EDITOR (editor));
g_return_if_fail (E_IS_RULE_CONTEXT (context));
@@ -859,9 +858,7 @@ e_rule_editor_construct (ERuleEditor *editor,
G_CALLBACK (double_click), editor);
widget = e_builder_get_widget (builder, "rule_label");
- tmp = alloca(strlen(label)+8);
- sprintf(tmp, "<b>%s</b>", label);
- gtk_label_set_label (GTK_LABEL (widget), tmp);
+ gtk_label_set_label (GTK_LABEL (widget), label);
gtk_label_set_mnemonic_widget (
GTK_LABEL (widget), GTK_WIDGET (editor->list));
diff --git a/mail/em-vfolder-rule.c b/mail/em-vfolder-rule.c
index 4b44ffc41c..ea275795cc 100644
--- a/mail/em-vfolder-rule.c
+++ b/mail/em-vfolder-rule.c
@@ -637,9 +637,9 @@ get_widget(EFilterRule *fr, ERuleContext *rc)
set_sensitive(data);
- g_object_unref(builder);
-
gtk_box_pack_start(GTK_BOX(widget), frame, TRUE, TRUE, 3);
+ g_object_unref (builder);
+
return widget;
}