gnome-control-center r9082 - in branches/gnome-2-24: . capplets/keybindings



Author: matthiasc
Date: Sun Oct 19 22:38:11 2008
New Revision: 9082
URL: http://svn.gnome.org/viewvc/gnome-control-center?rev=9082&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:
   branches/gnome-2-24/ChangeLog
   branches/gnome-2-24/capplets/keybindings/gnome-keybinding-properties.c

Modified: branches/gnome-2-24/capplets/keybindings/gnome-keybinding-properties.c
==============================================================================
--- branches/gnome-2-24/capplets/keybindings/gnome-keybinding-properties.c	(original)
+++ branches/gnome-2-24/capplets/keybindings/gnome-keybinding-properties.c	Sun Oct 19 22:38:11 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]