It is always usefull to have tooltip on GUI items. It is mostly important here as there is no label to introduce the function of the combo.
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefi...@gmail.com> --- src/vikwindow.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/vikwindow.c b/src/vikwindow.c index f72b798..22bb63c 100644 --- a/src/vikwindow.c +++ b/src/vikwindow.c @@ -450,6 +450,9 @@ static GtkWidget *create_zoom_combo_all_levels () gtk_combo_box_append_text ( combo, "8192"); gtk_combo_box_append_text ( combo, "16384"); gtk_combo_box_append_text ( combo, "32768"); + /* Create tooltip */ + GtkTooltips *tooltips = gtk_tooltips_new (); + gtk_tooltips_set_tip ( tooltips, GTK_WIDGET (combo), _("Select zoom level"), NULL); return zoom_combo; } -- tg: (d4a8b54..) t/gui/add-zoom-combo-tooltip (depends on: master) ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: INSIGHTS What's next for parallel hardware, programming and related areas? Interviews and blogs by thought leaders keep you ahead of the curve. http://goparallel.sourceforge.net _______________________________________________ Viking-devel mailing list Viking-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/viking-devel Viking home page: http://viking.sf.net/