Re: [evolution-patches] Patch for bug#246225 , bug#246227
- From: Arulanandan P <arulanandan gmail com>
- To: Not Zed <notzed ximian com>
- Cc: evolution-patches lists ximian com, eugene oconnor sun com, partha <sparthasarathi novell com>
- Subject: Re: [evolution-patches] Patch for bug#246225 , bug#246227
- Date: Mon, 1 Aug 2005 23:57:59 +0530
hi
i have attached the revised patch for the bug with changes along with ChangeLog.
On 8/1/05, Not Zed <
notzed ximian com> wrote:
>
> dont use c++ comments.
i have changed the comments to c style >
> Note that that window is re-used by vfolders, searches, and filters, so
> changing the string might break other windows.
>
i have verified the changes in all the windows . The string does not break the other windows .
i even tried resizing the window . it doesnt affect the strings which were added.
i have attached a revised patch for the bug .
>
> On Sat, 2005-07-30 at 13:20 +0530, Arulanandan P wrote:
> > Hi,
> >
> > i have attached the patch for the bugs # 246225 and 246227 with
> > changelog . This fixes the UI suggestions for the "Advanced Search"
> > and "Save Search" dialogs .
> >
> > Please review it .
> >
> > bye
> > arulanandan
> > _______________________________________________
> > evolution-patches mailing list
> >
evolution-patches lists ximian com> >
http://lists.ximian.com/mailman/listinfo/evolution-patches
>
>
Index: filter-rule.c
===================================================================
RCS file: /cvs/gnome/evolution/filter/filter-rule.c,v
retrieving revision 1.68
diff -u -p -r1.68 filter-rule.c
--- filter-rule.c 16 May 2005 06:14:34 -0000 1.68
+++ filter-rule.c 1 Aug 2005 18:15:10 -0000
@@ -777,6 +777,7 @@ get_widget (FilterRule *fr, struct _Rule
GtkWidget *add, *label, *name, *w;
GtkWidget *omenu, *menu, *item;
GtkWidget *scrolledwindow;
+ GtkWidget *scrollbox , *columntitle;
GtkObject *hadj, *vadj;
GList *l;
gchar *text;
@@ -788,7 +789,7 @@ get_widget (FilterRule *fr, struct _Rule
rule parts need to be a vbox */
vbox = gtk_vbox_new (FALSE, 6);
- label = gtk_label_new_with_mnemonic (_("_Rule name:"));
+ label = gtk_label_new_with_mnemonic (_("_Search name:"));
name = gtk_entry_new ();
gtk_label_set_mnemonic_widget (label, name);
@@ -816,7 +817,7 @@ get_widget (FilterRule *fr, struct _Rule
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox);
- text = g_strdup_printf("<b>%s</b>", _("If"));
+ text = g_strdup_printf("<b>%s</b>", _("Find items that meet the following criteria"));
label = gtk_label_new (text);
gtk_label_set_use_markup (GTK_LABEL (label), TRUE);
gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5);
@@ -855,9 +856,9 @@ get_widget (FilterRule *fr, struct _Rule
gtk_box_pack_start (GTK_BOX (hbox), add, FALSE, FALSE, 0);
if (f->flags & RULE_CONTEXT_GROUPING) {
- const char *thread_types[] = { N_("if all criteria are met"), N_("if any criteria are met") };
+ const char *thread_types[] = { N_("If all criteria are met"), N_("If any criteria are met") };
- label = gtk_label_new (_("Execute actions"));
+ label = gtk_label_new (_("Find items:"));
menu = gtk_menu_new ();
for (i=0;i<2;i++) {
@@ -919,9 +920,31 @@ get_widget (FilterRule *fr, struct _Rule
GTK_POLICY_AUTOMATIC,
GTK_POLICY_AUTOMATIC);
- gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (scrolledwindow), parts);
-
- gtk_box_pack_start (GTK_BOX (inframe), scrolledwindow, TRUE, TRUE, 3);
+ /* adds title to the columns in the table of criteria : Field , Condition , Value */
+ columntitle = gtk_hbox_new(FALSE,0);
+
+ label = gtk_label_new(g_strdup_printf("<b>%s</b>","Field")) ;
+ gtk_label_set_use_markup(GTK_LABEL(label),TRUE);
+ gtk_box_pack_start (GTK_BOX (columntitle), label, FALSE, FALSE,45);
+
+ label = gtk_label_new(g_strdup_printf("<b>%s</b>","Condition") );
+ gtk_label_set_use_markup(GTK_LABEL(label),TRUE);
+ gtk_box_pack_start( GTK_BOX(columntitle) , label , FALSE ,FALSE ,40);
+
+ label = gtk_label_new(g_strdup_printf("<b>%s</b>","Value"));
+ gtk_label_set_use_markup(GTK_LABEL(label),TRUE);
+ gtk_box_pack_start(GTK_BOX(columntitle) , label , FALSE , FALSE , 60 );/* packs the column titles to the hbox */
+
+ scrollbox = gtk_vbox_new(FALSE,0);
+
+ /*columntitle and parts get added to the vbox scrollbox */
+ gtk_box_pack_start(GTK_BOX(scrollbox),columntitle,FALSE,FALSE,0);
+
+ gtk_box_pack_start(GTK_BOX(scrollbox),parts,FALSE,FALSE,0);
+
+ gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (scrolledwindow), scrollbox);
+
+ gtk_box_pack_start (GTK_BOX (inframe), scrolledwindow, TRUE, TRUE, 3);
gtk_widget_show_all (vbox);
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/filter/ChangeLog,v
retrieving revision 1.425
diff -u -p -r1.425 ChangeLog
--- ChangeLog 16 May 2005 06:14:34 -0000 1.425
+++ ChangeLog 1 Aug 2005 18:14:23 -0000
@@ -1,3 +1,9 @@
+2005-07-30 Arulanandan P <arulanandan gmail com>
+
+ * filter-rule.c : Added the UI suggestions for "Advanced search" and "Save search"
+
+ * Fixes bugs #246225 , #246227
+
2005-05-16 Not Zed <NotZed Ximian com>
* moved e-error to e-util
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]