gimp r25015 - in branches/weskaggs: . libgimpwidgets
- From: weskaggs svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25015 - in branches/weskaggs: . libgimpwidgets
- Date: Mon, 3 Mar 2008 22:50:11 +0000 (GMT)
Author: weskaggs
Date: Mon Mar 3 22:50:11 2008
New Revision: 25015
URL: http://svn.gnome.org/viewvc/gimp?rev=25015&view=rev
Log:
Bill Skaggs <weskaggs primate ucdavis edu>
* libgimpwidgets/gimpcellrenderertoggle.c: reduce horizontal
space around buttons.
Modified:
branches/weskaggs/ChangeLog
branches/weskaggs/libgimpwidgets/gimpcellrenderertoggle.c
Modified: branches/weskaggs/libgimpwidgets/gimpcellrenderertoggle.c
==============================================================================
--- branches/weskaggs/libgimpwidgets/gimpcellrenderertoggle.c (original)
+++ branches/weskaggs/libgimpwidgets/gimpcellrenderertoggle.c Mon Mar 3 22:50:11 2008
@@ -242,8 +242,9 @@
pixbuf_width = gdk_pixbuf_get_width (toggle->pixbuf);
pixbuf_height = gdk_pixbuf_get_height (toggle->pixbuf);
- calc_width = (pixbuf_width +
- (gint) cell->xpad * 2 + widget->style->xthickness * 2);
+/* calc_width = (pixbuf_width + */
+/* (gint) cell->xpad * 2 + widget->style->xthickness * 2); */
+ calc_width = pixbuf_width;
calc_height = (pixbuf_height +
(gint) cell->ypad * 2 + widget->style->ythickness * 2);
@@ -419,6 +420,7 @@
{
return g_object_new (GIMP_TYPE_CELL_RENDERER_TOGGLE,
"stock_id", stock_id,
+ "xpad", 0,
NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]