* Copyright (C) 2005, 2006 Nokia Corporation, all rights reserved.
*
* Author: Kuisma Salonen <kuisma.salonen@nokia.com>
* Copyright (C) 2005, 2006 Nokia Corporation, all rights reserved.
*
* Author: Kuisma Salonen <kuisma.salonen@nokia.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
y = ((i / w) * (tot_h + spacing));
gdk_draw_rectangle (widget->window,
y = ((i / w) * (tot_h + spacing));
gdk_draw_rectangle (widget->window,
TRUE,
(i == num_selected) ? x : x + 2,
(i == num_selected) ? y : y + 2,
TRUE,
(i == num_selected) ? x : x + 2,
(i == num_selected) ? y : y + 2,
(i == num_selected) ? tot_h : tot_h - 4);
gdk_draw_rectangle(widget->window,
(i == num_selected) ? tot_h : tot_h - 4);
gdk_draw_rectangle(widget->window,