From: Michael Orlitzky Date: Sun, 3 Jun 2012 00:51:09 +0000 (-0400) Subject: Fix the initial icon size, thanks to Harald Judt. X-Git-Tag: v0.0.9~2 X-Git-Url: http://gitweb.michael.orlitzky.com/?a=commitdiff_plain;ds=sidebyside;h=5a7b2beea3052fbd8d0827266cf4eb7c41d102d0;p=xfce4-hdaps.git Fix the initial icon size, thanks to Harald Judt. --- 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; }