From ebcce86769d174cce6e881740c5e9bcedce28e06 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 11 Sep 2010 11:50:51 -0400 Subject: Coding style and whitespace cleanups. --- filter/e-filter-rule.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'filter/e-filter-rule.c') diff --git a/filter/e-filter-rule.c b/filter/e-filter-rule.c index bf138c08e4..5edd161ce9 100644 --- a/filter/e-filter-rule.c +++ b/filter/e-filter-rule.c @@ -711,14 +711,14 @@ filter_rule_get_widget (EFilterRule *rule, /* only set to automatically clean up the memory */ g_object_set_data_full ((GObject *) vbox, "data", data, g_free); - hbox = gtk_hbox_new (FALSE, 3); - + hbox = gtk_hbox_new (FALSE, 3); + if (context->flags & E_RULE_CONTEXT_GROUPING) { const gchar *thread_types[] = { N_("If all conditions are met"), N_("If any conditions are met") }; - + label = gtk_label_new_with_mnemonic (_("_Find items:")); combobox = gtk_combo_box_new_text (); @@ -771,17 +771,17 @@ filter_rule_get_widget (EFilterRule *rule, combobox, "changed", G_CALLBACK (filter_rule_threading_changed_cb), rule); } - + gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0); gtk_widget_show (hbox); - hbox = gtk_hbox_new (FALSE, 3); + hbox = gtk_hbox_new (FALSE, 3); add = gtk_button_new_with_mnemonic (_("A_dd Condition")); gtk_button_set_image ( GTK_BUTTON (add), gtk_image_new_from_stock ( GTK_STOCK_ADD, GTK_ICON_SIZE_BUTTON)); g_signal_connect (add, "clicked", G_CALLBACK (more_parts), data); - gtk_box_pack_start (GTK_BOX (hbox), add, FALSE, FALSE, 12); + gtk_box_pack_start (GTK_BOX (hbox), add, FALSE, FALSE, 12); gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0); gtk_widget_show (hbox); @@ -796,7 +796,7 @@ filter_rule_get_widget (EFilterRule *rule, inruleame = gtk_vbox_new (FALSE, 6); gtk_box_pack_start (GTK_BOX (hbox), inruleame, TRUE, TRUE, 0); - gtk_box_pack_start (GTK_BOX (inruleame), hbox, FALSE, FALSE, 3); + gtk_box_pack_start (GTK_BOX (inruleame), hbox, FALSE, FALSE, 3); l = rule->parts; i = 0; -- cgit v1.2.3