From 5a7b2beea3052fbd8d0827266cf4eb7c41d102d0 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sat, 2 Jun 2012 20:51:09 -0400 Subject: [PATCH] Fix the initial icon size, thanks to Harald Judt. --- panel-plugin/xfce4-hdaps.c | 3 +++ 1 file changed, 3 insertions(+) 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; } -- 2.43.2