[gnome-scan/gnome-scan-0-6] Added tooltips for each widget of the output filename widget combo.
- From: Étienne Bersac <bersace src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-scan/gnome-scan-0-6] Added tooltips for each widget of the output filename widget combo.
- Date: Tue, 9 Jun 2009 14:52:59 -0400 (EDT)
commit 48a45ba196281e43d2d5f8fd9aab2e73755e359b
Author: Ã?tienne Bersac <bersace gnome org>
Date: Tue Jun 9 20:16:30 2009 +0200
Added tooltips for each widget of the output filename widget combo.
Fix bug #585243.
---
src/flegita-output-filename-widget.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/flegita-output-filename-widget.c b/src/flegita-output-filename-widget.c
index 649c108..6aa7107 100644
--- a/src/flegita-output-filename-widget.c
+++ b/src/flegita-output-filename-widget.c
@@ -76,6 +76,7 @@ flegita_output_filename_widget_build (GnomeScanParamWidget *widget)
/* directory */
priv->filechooser = gtk_file_chooser_button_new (_("Select directory"),
GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);
+ gtk_widget_set_tooltip_text(priv->filechooser, _("Output directory"));
gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (priv->filechooser),
g_get_user_special_dir (G_USER_DIRECTORY_PICTURES));
g_signal_connect_swapped (priv->filechooser, "selection-changed",
@@ -85,6 +86,7 @@ flegita_output_filename_widget_build (GnomeScanParamWidget *widget)
/* filename */
priv->entry = gtk_entry_new ();
+ gtk_widget_set_tooltip_text(priv->entry, _("Output file basename"));
gtk_entry_set_text (GTK_ENTRY (priv->entry), _("Scanned image"));
g_signal_connect_swapped (priv->entry, "focus-out-event",
(GCallback) fofw_output_filename_changed,
@@ -99,6 +101,7 @@ flegita_output_filename_widget_build (GnomeScanParamWidget *widget)
G_TYPE_STRING);
priv->combo = gtk_combo_box_new_with_model (GTK_TREE_MODEL (priv->liststore));
+ gtk_widget_set_tooltip_text(priv->combo, _("Output file type"));
renderer = gtk_cell_renderer_pixbuf_new ();
g_object_set (renderer,
"stock-size", GTK_ICON_SIZE_BUTTON,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]