[gtksourceview/gtksourcecompletion] Remove manage-keys property



commit 206ef7b776a2fbdedd36b97ecb5e021443d1ee80
Author: Jesse van den Kieboom <jessevdk gnome org>
Date:   Sat Sep 19 17:15:49 2009 +0200

    Remove manage-keys property
    
    The property is not very useful since it is all or nothing. We probably want
    to have proper bindings for the keys so that they can be easily overriden

 gtksourceview/gtksourcecompletion.c |   23 +----------------------
 1 files changed, 1 insertions(+), 22 deletions(-)
---
diff --git a/gtksourceview/gtksourcecompletion.c b/gtksourceview/gtksourcecompletion.c
index 8611c4f..1dff913 100644
--- a/gtksourceview/gtksourcecompletion.c
+++ b/gtksourceview/gtksourcecompletion.c
@@ -60,7 +60,6 @@ enum
 {
 	PROP_0,
 	PROP_VIEW,
-	PROP_MANAGE_KEYS,
 	PROP_REMEMBER_INFO_VISIBILITY,
 	PROP_SELECT_ON_SHOW,
 	PROP_SHOW_HEADERS,
@@ -1339,9 +1338,6 @@ gtk_source_completion_get_property (GObject    *object,
 		case PROP_VIEW:
 			g_value_set_object (value, completion->priv->view);
 			break;
-		case PROP_MANAGE_KEYS:
-			g_value_set_boolean (value, completion->priv->manage_keys);
-			break;
 		case PROP_REMEMBER_INFO_VISIBILITY:
 			g_value_set_boolean (value, completion->priv->remember_info_visibility);
 			break;
@@ -1379,9 +1375,6 @@ gtk_source_completion_set_property (GObject      *object,
 			completion->priv->view = g_value_dup_object (value);
 			connect_view (completion);
 			break;
-		case PROP_MANAGE_KEYS:
-			completion->priv->manage_keys = g_value_get_boolean (value);
-			break;
 		case PROP_REMEMBER_INFO_VISIBILITY:
 			completion->priv->remember_info_visibility = g_value_get_boolean (value);
 			break;
@@ -1478,21 +1471,7 @@ gtk_source_completion_class_init (GtkSourceCompletionClass *klass)
 							      _("The GtkSourceView bound to the completion"),
 							      GTK_TYPE_SOURCE_VIEW,
 							      G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
-	
-	/**
-	 * GtkSourceCompletion:manage-completion-keys:
-	 *
-	 * Determines whether the completion object should manage key presses
-	 * for navigating and activating proposals.
-	 *
-	 */
-	g_object_class_install_property (object_class,
-					 PROP_MANAGE_KEYS,
-					 g_param_spec_boolean ("manage-completion-keys",
-							      _("Manage Completion Keys"),
-							      _("Manage keys to navigate proposal selection"),
-							      TRUE,
-							      G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
+
 	/**
 	 * GtkSourceCompletion:remember-info-visibility:
 	 *



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