[pacman-dev] [PATCH] Remove UseColor from front-end
Nagy Gabor
ngaba at bibl.u-szeged.hu
Sat Jul 26 06:31:36 EDT 2008
From 0605fcacee9da726dabf9e86b68a3bb3d3a44904 Mon Sep 17 00:00:00 2001
From: Nagy Gabor <ngaba at bibl.u-szeged.hu>
Date: Sat, 26 Jul 2008 12:28:49 +0200
Subject: [PATCH] Remove UseColor from front-end
This option wasn't used.
Signed-off-by: Nagy Gabor <ngaba at bibl.u-szeged.hu>
---
src/pacman/conf.h | 1 -
src/pacman/pacman.c | 3 ---
2 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/src/pacman/conf.h b/src/pacman/conf.h
index 874ce70..9d2318d 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 813a728..445365e 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");
--
1.5.6.4
More information about the pacman-dev
mailing list