Re: [PATCH] bug 75214: preferences:/// etc. should be read-only
- From: Darin Adler <darin bentspoon com>
- To: Diego González <diego pemas net>
- Cc: Nautilus List <nautilus-list lists eazel com>, George <jirka 5z com>
- Subject: Re: [PATCH] bug 75214: preferences:/// etc. should be read-only
- Date: Sun, 5 May 2002 12:27:44 -0700
On Friday, April 26, 2002, at 06:26 AM, Diego González wrote:
so here is the patch, the nautilus emblems are not showed, i was not
setting all the permissions and the wrong emblems where being showed. So
there is no ugliness!
+ if ((g_ascii_strncasecmp (scheme, "preferences", 11) == 0) ||
+ (g_ascii_strncasecmp (scheme, "all-preferences", 14) == 0)) {
The above lines look for a scheme with a *prefix* of preferences or all-preferences. If you want to look for a scheme that is equal, then you should use g_ascii_strcasecmp.
The patch otherwise looks great.
-- Darin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]