finch/libgnt/gnttree.c

changeset 28937
5f87e66597d9
parent 28822
a4fe79ebdcfe
child 29265
7461ac2b3467
equal deleted inserted replaced
28936:3fc270855bbd 28937:5f87e66597d9
18 * You should have received a copy of the GNU General Public License 18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software 19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
21 */ 21 */
22 22
23 #include "gntinternal.h"
23 #include "gntmarshal.h" 24 #include "gntmarshal.h"
24 #include "gntstyle.h" 25 #include "gntstyle.h"
25 #include "gnttree.h" 26 #include "gnttree.h"
26 #include "gntutils.h" 27 #include "gntutils.h"
27 28
547 else 548 else
548 attr |= gnt_color_pair(GNT_COLOR_NORMAL); 549 attr |= gnt_color_pair(GNT_COLOR_NORMAL);
549 } 550 }
550 551
551 wbkgdset(widget->window, '\0' | attr); 552 wbkgdset(widget->window, '\0' | attr);
552 mvwaddstr(widget->window, i, pos, str); 553 mvwaddstr(widget->window, i, pos, C_(str));
553 whline(widget->window, ' ', scrcol - wr); 554 whline(widget->window, ' ', scrcol - wr);
554 tree->bottom = row; 555 tree->bottom = row;
555 g_free(str); 556 g_free(str);
556 tree_mark_columns(tree, pos, i, 557 tree_mark_columns(tree, pos, i,
557 (tree->show_separator ? ACS_VLINE : ' ') | attr); 558 (tree->show_separator ? ACS_VLINE : ' ') | attr);

mercurial