Author: jannis Date: 2008-11-10 19:20:54 +0000 (Mon, 10 Nov 2008) New Revision: 28715
Modified: libexo/trunk/ChangeLog libexo/trunk/exo/exo-icon-view.c Log: * exo/exo-icon-view.c: Revert accidently committed painting code. $ Modified: libexo/trunk/ChangeLog =================================================================== --- libexo/trunk/ChangeLog 2008-11-10 19:19:08 UTC (rev 28714) +++ libexo/trunk/ChangeLog 2008-11-10 19:20:54 UTC (rev 28715) @@ -1,5 +1,9 @@ 2008-11-10 Jannis Pohlmann <[EMAIL PROTECTED]> + * exo/exo-icon-view.c: Revert accidently committed painting code. + +2008-11-10 Jannis Pohlmann <[EMAIL PROTECTED]> + * configure.in.in, exo/exo-md5.c: Get rid of external MD5 functions. 2008-11-06 Brian Tarricone <[EMAIL PROTECTED]> Modified: libexo/trunk/exo/exo-icon-view.c =================================================================== --- libexo/trunk/exo/exo-icon-view.c 2008-11-10 19:19:08 UTC (rev 28714) +++ libexo/trunk/exo/exo-icon-view.c 2008-11-10 19:20:54 UTC (rev 28715) @@ -3560,7 +3560,6 @@ GtkStateType state; GdkRectangle cell_area; gboolean rtl; - cairo_t *cr; GList *lp; if (G_UNLIKELY (icon_view->priv->model == NULL)) @@ -3574,31 +3573,6 @@ { flags = GTK_CELL_RENDERER_SELECTED; state = GTK_WIDGET_HAS_FOCUS (icon_view) ? GTK_STATE_SELECTED : GTK_STATE_ACTIVE; - - for (lp = icon_view->priv->cell_list; lp != NULL; lp = lp->next) - { - info = EXO_ICON_VIEW_CELL_INFO (lp->data); - - if (G_UNLIKELY (!info->cell->visible)) - continue; - - exo_icon_view_get_cell_area (icon_view, item, info, &cell_area); - - /* FIXME We hardwire background drawing behind text cell renderers - * here. This is ugly, but it's done to be consistent with - * GtkIconView */ - if (GTK_IS_CELL_RENDERER_TEXT (info->cell)) - { - cr = gdk_cairo_create (drawable); - gdk_cairo_set_source_color (cr, >K_WIDGET (icon_view)->style->base[state]); - cairo_rectangle (cr, - x - item->area.x + cell_area.x, - y - item->area.y + cell_area.y, - cell_area.width, cell_area.height); - cairo_fill (cr); - cairo_destroy (cr); - } - } } else { _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits