Updating branch refs/heads/eric/wallpaper-and-settings-improvements to c4a10cc1524490d35a6afd7aa67cdd57c59729b8 (commit) from d51fb8ba1ca31f1f66f2855c4e514b80b88b15de (commit)
commit c4a10cc1524490d35a6afd7aa67cdd57c59729b8 Author: Eric Koegel <eric.koe...@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 files changed, 3 insertions(+), 0 deletions(-) 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.")); } } _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits