From: Dana Jansens Date: Tue, 30 Aug 2011 15:14:06 +0000 (-0400) Subject: Make "no" a valid choice for the dialog option in cyclewindows.c. X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=5a109118cca341248066a14e3690b51f16207276;p=dana%2Fopenbox.git Make "no" a valid choice for the dialog option in cyclewindows.c. It is the same as "none" for backward compatibility (it used to be a boolean). --- diff --git a/openbox/actions/cyclewindows.c b/openbox/actions/cyclewindows.c index ba019db2..a56022c3 100644 --- a/openbox/actions/cyclewindows.c +++ b/openbox/actions/cyclewindows.c @@ -83,6 +83,8 @@ static gpointer setup_func(GHashTable *config, const gchar *s = config_value_string(v); if (g_strcasecmp(s, "none") == 0) o->dialog_mode = OB_FOCUS_CYCLE_POPUP_MODE_NONE; + else if (g_strcasecmp(s, "no") == 0) + o->dialog_mode = OB_FOCUS_CYCLE_POPUP_MODE_NONE; else if (g_strcasecmp(s, "icons") == 0) o->dialog_mode = OB_FOCUS_CYCLE_POPUP_MODE_ICONS; }