summaryrefslogtreecommitdiffstats
path: root/abs/core/tilda/tilda_hide.patch
blob: 19d286906e4a2cf7e81c8f0d62532220a61c668c (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	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"))