gnome-control-center r9081 - in trunk: . capplets/keybindings



Author: matthiasc
Date: Sun Oct 19 22:36:40 2008
New Revision: 9081
URL: http://svn.gnome.org/viewvc/gnome-control-center?rev=9081&view=rev

Log:
2008-10-19  Matthias Clasen  <mclasen redhat com>

        Bug 556967 â fix editability of group headings

        * capplets/keybindings/gnome-keybinding-properties.c
        (description_set_func): Don't let section headings be editable.



Modified:
   trunk/ChangeLog
   trunk/capplets/keybindings/gnome-keybinding-properties.c

Modified: trunk/capplets/keybindings/gnome-keybinding-properties.c
==============================================================================
--- trunk/capplets/keybindings/gnome-keybinding-properties.c	(original)
+++ trunk/capplets/keybindings/gnome-keybinding-properties.c	Sun Oct 19 22:36:40 2008
@@ -170,6 +170,9 @@
 		  "text", key_entry->description != NULL ?
 			  key_entry->description : _("<Unknown Action>"),
 		  NULL);
+  else 
+    g_object_set (cell,
+		  "editable", FALSE, NULL);
 }
 
 static gboolean



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