search for: compoptiontypelist

Displaying 5 results from an estimated 5 matches for "compoptiontypelist".

2006 Nov 12
4
Include option type in gconf schema
I am writing a configuration front end for the compiz gconf plugin at the moment, but it's proving harder than it should be because gconf does not record what type of compiz option the key is. For example, say i want a color picker for each color option the only way I can tell with gconf if it is color is if it has a # at the beginning, but there could be string option which also have a # at
2006 Oct 25
2
[PATCH] Edge buttons
...gt;value.action.edgeButton); + if (!existingValue || gconf_value_compare (existingValue, gvalue)) + gconf_client_set (gd->client, key5, gvalue, NULL); + + gconf_value_free (gvalue); + g_free (key1); g_free (key2); g_free (key3); g_free (key4); + g_free (key5); } break; case CompOptionTypeList: { GConfValueType type; @@ -455,11 +469,10 @@ gconfGetOptionValue (CompDisplay *d, } optionName = g_strdup (ptr); - o = compFindOption (option, nOption, optionName, 0); if (!o) { - static int tail[] = { 4, 5, 7 }; + static int tail[] = { 4, 5, 7, 12 }; int i = 0;...
2007 Apr 11
2
Patch for ini plugin
...i", option->value.action.edgeButton); else - sprintf(strVal, "%i", 0); + asprintf (&strVal, "%i", 0); fprintf (optionFile, "%s_%s=%s\n", option->name, "edgebutton", strVal); - - break; + free (strVal); + break; case CompOptionTypeList: firstInList = TRUE; switch (option->value.list.type) @@ -968,30 +925,30 @@ iniSaveOptions (CompDisplay *d, case CompOptionTypeColor: case CompOptionTypeMatch: { - if (option->value.list.nValue && - !(strVal = realloc (strVal, sizeof (char) * MAX_O...
2006 Oct 16
2
Edge + Mouse button draft patches
Attached are my draft patches to add edge + mouse button to the actions It is useful because the edge bindings are too easily triggered, an edge + mouse button is good because it confirms the action. An additional side benefit is that the mouse wheel can be used for rotating the cube and for the switcher (it is an excellent alternative to alt-tab). I wanted to share the patches before cleaning
2006 Nov 08
2
bug in today's git snapshot with maximizing windows
...istingValue, gvalue)) > + gconf_client_set (gd->client, key5, gvalue, NULL); > + > + gconf_value_free (gvalue); > + > g_free (key1); > g_free (key2); > g_free (key3); > g_free (key4); > + g_free (key5); > } break; > case CompOptionTypeList: { > GConfValueType type; > @@ -455,11 +469,10 @@ gconfGetOptionValue (CompDisplay *d, > } > > optionName = g_strdup (ptr); > - > o = compFindOption (option, nOption, optionName, 0); > if (!o) > { > - static int tail[] = { 4, 5, 7 };...