[evolution] Bug #602178 - [regression] Missing widget in Search folder dialog
- From: Milan Crha <mcrha src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution] Bug #602178 - [regression] Missing widget in Search folder dialog
- Date: Wed, 18 Nov 2009 14:45:51 +0000 (UTC)
commit c37f588a2c64932d19c03cd32a1de56c914f6ea1
Author: Milan Crha <mcrha redhat com>
Date: Wed Nov 18 15:44:45 2009 +0100
Bug #602178 - [regression] Missing widget in Search folder dialog
filter/e-rule-editor.c | 5 +----
mail/em-vfolder-rule.c | 4 ++--
2 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/filter/e-rule-editor.c b/filter/e-rule-editor.c
index 119c27a..fe4c1e1 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 4b44ffc..ea27579 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]