[libgda] Improved help for GdauiDataFilter



commit d25663b47d201efa09300204550f46429261ab5e
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 8ddaf7b..0471486 100644
--- a/libgda-ui/gdaui-data-filter.c
+++ b/libgda-ui/gdaui-data-filter.c
@@ -211,6 +211,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]