+ config_resize_popup_pos = OB_RESIZE_POS_CENTER;
+ else if (parse_contains("Fixed", doc, n)) {
+ config_resize_popup_pos = OB_RESIZE_POS_FIXED;
+
+ if ((n = parse_find_node("popupFixedPosition", node))) {
+ xmlNodePtr n2;
+
+ if ((n2 = parse_find_node("x", n->children))) {
+ gchar *s = parse_string(doc, n2);
+ if (!g_ascii_strcasecmp(s, "center"))
+ config_resize_popup_x_center = TRUE;
+ else {
+ if (s[0] == '-')
+ config_resize_popup_x_opposite = TRUE;
+ if (s[0] == '-' || s[0] == '+')
+ config_resize_popup_x = atoi(s+1);
+ else
+ config_resize_popup_x = atoi(s);
+ }
+ }
+ if ((n2 = parse_find_node("y", n->children))) {
+ gchar *s = parse_string(doc, n2);
+ if (!g_ascii_strcasecmp(s, "center"))
+ config_resize_popup_y_center = TRUE;
+ else {
+ if (s[0] == '-')
+ config_resize_popup_y_opposite = TRUE;
+ if (s[0] == '-' || s[0] == '+')
+ config_resize_popup_y = atoi(s+1);
+ else
+ config_resize_popup_y = atoi(s);
+ }
+ }
+ g_print("X %d %d %d\n", config_resize_popup_x_center, config_resize_popup_x_opposite, config_resize_popup_x);
+ g_print("Y %d %d %d\n", config_resize_popup_y_center, config_resize_popup_y_opposite, config_resize_popup_y);
+ }
+ }