[gnome-terminal] Fix profile editor on new profile being greyed out



commit 41ab03500622a08bcc8dd37040448f388dbf80cc
Author: Christian Persch <chpe gnome org>
Date:   Mon Jun 29 14:06:30 2009 +0200

    Fix profile editor on new profile being greyed out
    
    Bug #584943.

 src/terminal-profile.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/terminal-profile.c b/src/terminal-profile.c
index d5b874b..5ceb11d 100644
--- a/src/terminal-profile.c
+++ b/src/terminal-profile.c
@@ -921,12 +921,6 @@ terminal_profile_init (TerminalProfile *profile)
 
   priv->locked = g_new0 (gboolean, LAST_PROP);
 
-  /* Lock all props by default. If GConf is working and allows writing
-   * to the resp. keys, we'll unlock in the notification handler.
-   */
-  for (i = 0; i < LAST_PROP; ++i)
-    priv->locked[i] = TRUE;
-
   priv->properties = g_value_array_new (LAST_PROP);
   for (i = 0; i < LAST_PROP; ++i)
     g_value_array_append (priv->properties, NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]