gnome-terminal r2754 - trunk/src



Author: chpe
Date: Thu May 29 19:51:07 2008
New Revision: 2754
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2754&view=rev

Log:
Remember whether the gconf key is writable.


Modified:
   trunk/src/encoding.c

Modified: trunk/src/encoding.c
==============================================================================
--- trunk/src/encoding.c	(original)
+++ trunk/src/encoding.c	Thu May 29 19:51:07 2008
@@ -124,6 +124,7 @@
 };
                            
 static GHashTable *encodings_hashtable;
+static gboolean encodings_writable;
 
 typedef struct {
   GtkWidget *dialog;
@@ -274,6 +275,8 @@
   TerminalEncoding *encoding;
   const char *charset;
 
+  encodings_writable = gconf_entry_get_is_writable (entry);
+
   /* Mark all as non-active, then re-enable the active ones */
   g_hash_table_foreach (encodings_hashtable, (GHFunc) encoding_mark_active, GUINT_TO_POINTER (FALSE));
 



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