X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=panel-plugin%2Fxfce4-hdaps.c;fp=panel-plugin%2Fxfce4-hdaps.c;h=232e7774290b5546b37bf8fec9937ccc241cdf4d;hb=5a7b2beea3052fbd8d0827266cf4eb7c41d102d0;hp=e263ce5cf3222022edce4438a7b54f6fddca6e88;hpb=e35c2d096519a5f33ec395fde3b58825631a670c;p=xfce4-hdaps.git diff --git a/panel-plugin/xfce4-hdaps.c b/panel-plugin/xfce4-hdaps.c index e263ce5..232e777 100644 --- a/panel-plugin/xfce4-hdaps.c +++ b/panel-plugin/xfce4-hdaps.c @@ -345,6 +345,9 @@ static gboolean hdaps_size_changed(XfcePanelPlugin *plugin, gtk_widget_set_size_request(GTK_WIDGET(plugin), size, -1); } + /* This fixes an issue where the initial icon size is too small. */ + hdaps_set_icon(hdaps, hdaps->previous_status); + /* We handled the change, so we're supposed to return TRUE. */ return TRUE; }