diff options
author | James Meyer <james.meyer@operamail.com> | 2012-12-10 20:07:41 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-12-10 20:07:41 (GMT) |
commit | 11b32e0a76482a958306807af483bad63736f94f (patch) | |
tree | 4ebe6a86ec53e7fc18f8b80e4fc7dfc99cdfd78b /abs/core/tilda/tilda_hide.patch | |
parent | 7b7804b4e5f46623794208d5dbcfe43c57a7e7a4 (diff) | |
download | linhes_pkgbuild-11b32e0a76482a958306807af483bad63736f94f.zip linhes_pkgbuild-11b32e0a76482a958306807af483bad63736f94f.tar.gz linhes_pkgbuild-11b32e0a76482a958306807af483bad63736f94f.tar.bz2 |
Tilda: add our patch to stop the tilda config wizard from being displayed unless it's on the command line
refs #876
Diffstat (limited to 'abs/core/tilda/tilda_hide.patch')
-rw-r--r-- | abs/core/tilda/tilda_hide.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/abs/core/tilda/tilda_hide.patch b/abs/core/tilda/tilda_hide.patch new file mode 100644 index 0000000..19d2869 --- /dev/null +++ b/abs/core/tilda/tilda_hide.patch @@ -0,0 +1,35 @@ +--- src/tilda.c.orig 2012-12-10 13:11:23.336581090 -0600 ++++ src/tilda.c 2012-12-10 13:44:31.543784376 -0600 +@@ -582,11 +582,11 @@ + if (access (tw->config_file, R_OK) == -1) + { + /* We probably need a default key, too ... */ +- gchar *default_key = g_strdup_printf ("F%d", tw->instance+1); ++ gchar *default_key = g_strdup_printf ("F%d", tw->instance+3); + config_setstr ("key", default_key); + g_free (default_key); + +- need_wizard = TRUE; ++// need_wizard = TRUE; + } + + /* Show the wizard if we need to. +@@ -598,12 +598,12 @@ + { + gint ret = tilda_keygrabber_bind (config_getstr ("key"), tw); + +- if (!ret) +- { +- /* The key was unbindable, so we need to show the wizard */ +- show_invalid_keybinding_dialog (NULL); +- wizard (tw); +- } ++// if (!ret) ++// { ++// /* The key was unbindable, so we need to show the wizard */ ++// show_invalid_keybinding_dialog (NULL); ++// wizard (tw); ++// } + } + + if (config_getbool ("hidden")) |