I couldn't find a better way of preventing the shelf config dialog from being remembered so now I'm blocking it here so it can't break the world

SVN revision: 73284
This commit is contained in:
Mike Blumenkrantz 2012-07-04 13:12:03 +00:00
parent 15ff53e65d
commit d69338abd4
1 changed files with 3 additions and 1 deletions

View File

@ -155,7 +155,9 @@ _e_remember_restore_cb(void *data __UNUSED__, int type __UNUSED__, void *event _
const char *p;
p = rem->class + 9;
/* if shelf config dialog is opened from a remember, it will break the world */
if (!strncmp(p, "extensions/shelves", sizeof("extensions/shelves") - 1))
continue;
if ((param = strstr(p, "::")))
{
snprintf(path, (param - p) + sizeof(char), "%s", p);