From 9a6fd1b021fa03471c68fabcdb912bf3ded77b65 Mon Sep 17 00:00:00 2001 From: Nagy Gabor Date: Sat, 26 Jul 2008 12:28:49 +0200 Subject: Remove UseColor from front-end This option wasn't used. Signed-off-by: Nagy Gabor Signed-off-by: Dan McGee --- src/pacman/conf.h | 1 - src/pacman/pacman.c | 3 --- 2 files changed, 4 deletions(-) (limited to 'src/pacman') diff --git a/src/pacman/conf.h b/src/pacman/conf.h index 874ce708..9d2318df 100644 --- a/src/pacman/conf.h +++ b/src/pacman/conf.h @@ -63,7 +63,6 @@ typedef struct __config_t { /* conf file options */ unsigned short chomp; /* I Love Candy! */ - unsigned short usecolor; /* enable colorful output */ unsigned short showsize; /* show individual package sizes */ /* When downloading, display the amount downloaded, rate, ETA, and percent * downloaded of the total download list */ diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 813a7284..445365e2 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -643,9 +643,6 @@ static int _parseconfig(const char *file, const char *givensection, } else if(strcmp(key, "ILoveCandy") == 0) { config->chomp = 1; pm_printf(PM_LOG_DEBUG, "config: chomp\n"); - } else if(strcmp(key, "UseColor") == 0) { - config->usecolor = 1; - pm_printf(PM_LOG_DEBUG, "config: usecolor\n"); } else if(strcmp(key, "ShowSize") == 0) { config->showsize = 1; pm_printf(PM_LOG_DEBUG, "config: showsize\n"); -- cgit v1.2.3-70-g09d2