summaryrefslogtreecommitdiffstats
path: root/abs/core/tilda/tilda_hide.patch
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-01-21 20:23:39 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-01-21 20:23:39 (GMT)
commite71f11d9865f691b2269d23d8dc66ef5cd1e3daa (patch)
tree405148709b6ef102b3ddf04045ab8e8ab4f09354 /abs/core/tilda/tilda_hide.patch
parentd29e321ff1656298347c228d3badb7d2bb010399 (diff)
downloadlinhes_pkgbuild-e71f11d9865f691b2269d23d8dc66ef5cd1e3daa.zip
linhes_pkgbuild-e71f11d9865f691b2269d23d8dc66ef5cd1e3daa.tar.gz
linhes_pkgbuild-e71f11d9865f691b2269d23d8dc66ef5cd1e3daa.tar.bz2
tilda: update to 1.3.1
Diffstat (limited to 'abs/core/tilda/tilda_hide.patch')
-rw-r--r--abs/core/tilda/tilda_hide.patch38
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);