[Goodies-commits] r4821 - xfce4-datetime-plugin/trunk/panel-plugin
Diego Ongaro
ongardie at xfce.org
Sat May 17 23:01:17 CEST 2008
Author: ongardie
Date: 2008-05-17 21:01:17 +0000 (Sat, 17 May 2008)
New Revision: 4821
Modified:
xfce4-datetime-plugin/trunk/panel-plugin/datetime.c
Log:
Don't set border anymore on button (Fitt's law)
Modified: xfce4-datetime-plugin/trunk/panel-plugin/datetime.c
===================================================================
--- xfce4-datetime-plugin/trunk/panel-plugin/datetime.c 2008-05-17 21:01:13 UTC (rev 4820)
+++ xfce4-datetime-plugin/trunk/panel-plugin/datetime.c 2008-05-17 21:01:17 UTC (rev 4821)
@@ -475,18 +475,12 @@
}
/*
- * Set a border - Function only called by the signal handler.
- * A border is only set, if there is enough space for it (size > 26)
+ * Function only called by the signal handler.
*/
static int datetime_set_size(XfcePanelPlugin *plugin,
gint size,
t_datetime *datetime)
{
- if(size > 26)
- gtk_container_set_border_width(GTK_CONTAINER(datetime->button), 2);
- else
- gtk_container_set_border_width(GTK_CONTAINER(datetime->button), 0);
-
/* return true to please the signal handler ;) */
return TRUE;
}
More information about the Goodies-commits
mailing list