[Xfce4-commits] <xfce4-weather-plugin:master> More info in tooltip: Increase tooltip icon size.

Harald Judt noreply at xfce.org
Wed Aug 1 13:40:03 CEST 2012


Updating branch refs/heads/master
         to de7c22ff59bc2b98463122f7362bbcde0711a359 (commit)
       from f96538cd2839ac7387882626793e1c3f25bdc61e (commit)

commit de7c22ff59bc2b98463122f7362bbcde0711a359
Author: Harald Judt <h.judt at gmx.at>
Date:   Wed Aug 1 13:33:10 2012 +0200

    More info in tooltip: Increase tooltip icon size.
    
    Unfortunately the icon is centered vertically, and there's no easy
    way to change this. Certainly it would look much better if it was
    aligned to the top of the tooltip, near the location name.

 panel-plugin/weather.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c
index e6c4d40..7621031 100644
--- a/panel-plugin/weather.c
+++ b/panel-plugin/weather.c
@@ -1011,7 +1011,7 @@ weather_get_tooltip_cb(GtkWidget *widget,
 
     conditions = get_current_conditions(data->weatherdata);
     rawvalue = get_data(conditions, data->unit_system, SYMBOL);
-    icon = get_icon(rawvalue, 32, data->night_time);
+    icon = get_icon(rawvalue, 128, data->night_time);
     g_free(rawvalue);
     gtk_tooltip_set_icon(tooltip, icon);
     g_object_unref(G_OBJECT(icon));


More information about the Xfce4-commits mailing list