parent
31403e75d8
commit
83c94ff23a
|
@ -1,3 +1,8 @@
|
||||||
|
2006-12-30 Mike Massonnet
|
||||||
|
|
||||||
|
* panel-plugin/netload.c(monitor_set_size): avoid the plugin to enlarge
|
||||||
|
the panel.
|
||||||
|
|
||||||
2006-12-18 Bernhard Walle
|
2006-12-18 Bernhard Walle
|
||||||
|
|
||||||
* added code for DragonFly BSD, thanks to Bob Bagwill <bob@bagwill.com>
|
* added code for DragonFly BSD, thanks to Bob Bagwill <bob@bagwill.com>
|
||||||
|
|
|
@ -605,12 +605,12 @@ static gboolean monitor_set_size(XfcePanelPlugin *plugin, int size, t_global_mon
|
||||||
if (xfce_panel_plugin_get_orientation (plugin) == GTK_ORIENTATION_HORIZONTAL)
|
if (xfce_panel_plugin_get_orientation (plugin) == GTK_ORIENTATION_HORIZONTAL)
|
||||||
{
|
{
|
||||||
gtk_widget_set_size_request(GTK_WIDGET(global->monitor->status[i]),
|
gtk_widget_set_size_request(GTK_WIDGET(global->monitor->status[i]),
|
||||||
BORDER, size - 4);
|
BORDER, size - BORDER);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
gtk_widget_set_size_request(GTK_WIDGET(global->monitor->status[i]),
|
gtk_widget_set_size_request(GTK_WIDGET(global->monitor->status[i]),
|
||||||
size - 4, BORDER);
|
size - BORDER, BORDER);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
PRINT_DBG("monitor_set_size");
|
PRINT_DBG("monitor_set_size");
|
||||||
|
|
Loading…
Reference in New Issue