Updating branch refs/heads/master to 9fbbf72aacc98c34f47a35f1cc83053dfea19554 (commit) from 9c5196ef3e0b018562824aa5cc4a6f03f809b1d2 (commit)
commit 9fbbf72aacc98c34f47a35f1cc83053dfea19554 Author: Landry Breuil <lan...@xfce.org> Date: Sun Feb 12 17:24:16 2012 +0100 Set the tooltip directly on the box instead of the passed widget. panel-plugin/xfce4-mpc-plugin.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/panel-plugin/xfce4-mpc-plugin.c b/panel-plugin/xfce4-mpc-plugin.c index 2f0ce31..c064226 100644 --- a/panel-plugin/xfce4-mpc-plugin.c +++ b/panel-plugin/xfce4-mpc-plugin.c @@ -424,7 +424,7 @@ enter_cb(GtkWidget *widget, GdkEventCrossing* event, t_mpc* mpc) { if (!mpc_plugin_reconnect (mpc) || mpd_status_update (mpc->mo) != MPD_OK) { - gtk_widget_set_tooltip_text (widget, _(".... not connected ?")); + gtk_widget_set_tooltip_text (mpc->box, _(".... not connected ?")); return; } } @@ -461,7 +461,7 @@ enter_cb(GtkWidget *widget, GdkEventCrossing* event, t_mpc* mpc) gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(mpc->repeat), mpd_player_get_repeat(mpc->mo)); mpc_update_outputs(mpc); - gtk_widget_set_tooltip_text (widget, str->str); + gtk_widget_set_tooltip_text (mpc->box, str->str); g_string_free(str, TRUE); } _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits