summaryrefslogtreecommitdiffstats
path: root/abs/core/tilda/tilda_hide.patch
blob: a9d586f4c2ad6a72e60a5b10d8646e2f8c9447e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
--- 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);
         config_setstr ("key", default_key);
         g_free (default_key);
 
-        need_wizard = TRUE;
+//        need_wizard = TRUE;
     }
 
     /* Show the wizard if we need to.
@@ -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, _("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, _("The keybinding you chose for \"Pull Down Terminal\" is invalid. Please choose another."));
+//            wizard (&tw);
+//        }
     }
 
     pull (&tw, config_getbool ("hidden") ? PULL_UP : PULL_DOWN, FALSE);