Re: [PATCH] bug 75214: preferences:/// etc. should be read-only



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]