diff options
Diffstat (limited to 'abs/core/tilda/tilda_hide.patch')
-rw-r--r-- | abs/core/tilda/tilda_hide.patch | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/abs/core/tilda/tilda_hide.patch b/abs/core/tilda/tilda_hide.patch index 19d2869..a9d586f 100644 --- a/abs/core/tilda/tilda_hide.patch +++ b/abs/core/tilda/tilda_hide.patch @@ -1,35 +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) +--- src/tilda.c.orig 2016-01-21 18:11:13.800212725 +0000 ++++ src/tilda.c 2016-01-21 18:17:31.901530136 +0000 +@@ -772,11 +772,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); +- 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; ++// need_wizard = TRUE; } /* Show the wizard if we need to. -@@ -598,12 +598,12 @@ - { - gint ret = tilda_keygrabber_bind (config_getstr ("key"), tw); +@@ -788,12 +788,12 @@ + } else { + 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); +- show_invalid_keybinding_dialog (NULL, _("The keybinding you chose for \"Pull Down Terminal\" is invalid. Please choose another.")); +- wizard (&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, _("The keybinding you chose for \"Pull Down Terminal\" is invalid. Please choose another.")); ++// wizard (&tw); ++// } } - if (config_getbool ("hidden")) + pull (&tw, config_getbool ("hidden") ? PULL_UP : PULL_DOWN, FALSE); |