[libgda/LIBGDA_4.2] Improved help for GdauiDataFilter



commit dbcefc8261029572dc6863ad4bb10c2d7c40dfee
Author: Vivien Malerba <malerba gnome-db org>
Date:   Tue Jan 24 18:34:53 2012 +0100

    Improved help for GdauiDataFilter

 libgda-ui/gdaui-data-filter.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/libgda-ui/gdaui-data-filter.c b/libgda-ui/gdaui-data-filter.c
index d5eddb3..32b4dc4 100644
--- a/libgda-ui/gdaui-data-filter.c
+++ b/libgda-ui/gdaui-data-filter.c
@@ -218,6 +218,11 @@ gdaui_data_filter_init (GdauiDataFilter * wid)
 	gtk_label_set_markup (GTK_LABEL (label), str);
 	g_free (str);
 
+	gtk_widget_set_tooltip_markup (label, _("Columns can be referenced by thair name or more easily "
+						"using <b><tt>_&lt;column number&gt;</tt></b>. For example a valid "
+						"expression can be: <b><tt>_2 like 'doe%'</tt></b> "
+						"to filter rows where the 2nd column starts with <tt>doe</tt>."));
+
 	gtk_table_attach (GTK_TABLE (table), label, 0, 1, 0, 1, GTK_SHRINK, 0, 0, 0);
 	entry = gtk_entry_new ();
 	gtk_table_attach_defaults (GTK_TABLE (table), entry, 1, 2, 0, 1);



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