>From 0605fcacee9da726dabf9e86b68a3bb3d3a44904 Mon Sep 17 00:00:00 2001
From: Nagy Gabor <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>
---
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
_______________________________________________
pacman-dev mailing list
[email protected]
http://archlinux.org/mailman/listinfo/pacman-dev