[Xfce4-commits] <xfdesktop:master> Add an iconview tooltip
Eric Koegel
noreply at xfce.org
Sun Aug 4 10:36:05 CEST 2013
Updating branch refs/heads/master
to c4a10cc1524490d35a6afd7aa67cdd57c59729b8 (commit)
from d51fb8ba1ca31f1f66f2855c4e514b80b88b15de (commit)
commit c4a10cc1524490d35a6afd7aa67cdd57c59729b8
Author: Eric Koegel <eric.koegel at gmail.com>
Date: Mon Mar 4 15:44:27 2013 +0300
Add an iconview tooltip
Add a tooltip letting the user know that the image style is set to
none and therefore they can't select a wallpaper in the iconview.
settings/main.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/settings/main.c b/settings/main.c
index 239eab1..f82bd7c 100644
--- a/settings/main.c
+++ b/settings/main.c
@@ -848,8 +848,11 @@ cb_xfdesktop_combo_image_style_changed(GtkComboBox *combo,
if(gtk_combo_box_get_active(combo) == XFCE_BACKDROP_IMAGE_NONE) {
gtk_widget_set_sensitive(panel->image_iconview, FALSE);
+ gtk_widget_set_tooltip_text(panel->image_iconview,
+ _("Image selection is unavailable while the image style is set to None."));
} else {
gtk_widget_set_sensitive(panel->image_iconview, TRUE);
+ gtk_widget_set_tooltip_text(panel->image_iconview, _("Select a background image for this display."));
}
}
More information about the Xfce4-commits
mailing list