diff --git a/ChangeLog b/ChangeLog index 4e07edb..e945e93 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-01-10 Bernhard Walle + + * Changed size so that in Xfce 4.2 the panel height does not increase + because of the plugin + * Released 0.2.4. + 2004-08-01 Bernhard Walle * Made the plugin thread-safe and so compatible with recent developement versions of Xfce diff --git a/configure.ac b/configure.ac index 2f1a9f1..5dc33fa 100644 --- a/configure.ac +++ b/configure.ac @@ -9,7 +9,7 @@ AC_INIT([panel-plugin/netload.c]) AM_CONFIG_HEADER([config.h]) -AM_INIT_AUTOMAKE([xfce4-netload-plugin], [0.2.3]) +AM_INIT_AUTOMAKE([xfce4-netload-plugin], [0.2.4]) AM_MAINTAINER_MODE diff --git a/panel-plugin/netload.c b/panel-plugin/netload.c index faf8202..d1ee047 100644 --- a/panel-plugin/netload.c +++ b/panel-plugin/netload.c @@ -1,7 +1,7 @@ /* XFce 4 - Netload Plugin * Copyright (c) 2003 Bernhard Walle * - * Id: $Id: netload.c,v 1.10 2004/08/01 09:16:58 bwalle Exp $ + * Id: $Id: netload.c,v 1.11 2005/01/10 13:43:01 bwalle Exp $ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -696,12 +696,12 @@ static void monitor_set_size(Control *ctrl, int size) if (settings.orientation == HORIZONTAL) { gtk_widget_set_size_request(GTK_WIDGET(global->monitor->status[i]), - 6 + 2 * size, icon_size[size]); + 6 + 2 * size, icon_size[size] - 4); } else { gtk_widget_set_size_request(GTK_WIDGET(global->monitor->status[i]), - icon_size[size], 6 + 2 * size); + icon_size[size] - 4, 6 + 2 * size); } gtk_widget_queue_resize(GTK_WIDGET(global->monitor->status[i])); }