/pidgin/main: 7f35c2552b63: Disable GtkIMHtml key bindings.

Elliott Sales de Andrade qulogic at pidgin.im
Tue Aug 14 04:03:26 EDT 2012


Changeset: 7f35c2552b631fe42863099d81aa6154b4d1ce6a
Author:	 Elliott Sales de Andrade <qulogic at pidgin.im>
Date:	 2012-08-13 21:26 -0400
Branch:	 default
URL: http://hg.pidgin.im/pidgin/main/rev/7f35c2552b63

Description:

Disable GtkIMHtml key bindings.

diffstat:

 pidgin/gtkimhtml.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (19 lines):

diff --git a/pidgin/gtkimhtml.c b/pidgin/gtkimhtml.c
--- a/pidgin/gtkimhtml.c
+++ b/pidgin/gtkimhtml.c
@@ -1713,6 +1713,7 @@ static void gtk_imhtml_class_init (GtkIM
 	                                        _("Enable typing notification"),
 	                                        TRUE, G_PARAM_READABLE));
 
+#if 0
 	binding_set = gtk_binding_set_by_class (parent_class);
 	gtk_binding_entry_add_signal (binding_set, GDK_KEY_b, GDK_CONTROL_MASK, "format_function_toggle", 1, G_TYPE_INT, GTK_IMHTML_BOLD);
 	gtk_binding_entry_add_signal (binding_set, GDK_KEY_i, GDK_CONTROL_MASK, "format_function_toggle", 1, G_TYPE_INT, GTK_IMHTML_ITALIC);
@@ -1728,6 +1729,7 @@ static void gtk_imhtml_class_init (GtkIM
 	gtk_binding_entry_add_signal (binding_set, GDK_KEY_z, GDK_CONTROL_MASK | GDK_SHIFT_MASK, "redo", 0);
 	gtk_binding_entry_add_signal (binding_set, GDK_KEY_F14, 0, "undo", 0);
 	gtk_binding_entry_add_signal(binding_set, GDK_KEY_v, GDK_CONTROL_MASK | GDK_SHIFT_MASK, "paste", 1, G_TYPE_STRING, "text");
+#endif
 }
 
 static void gtk_imhtml_init (GtkIMHtml *imhtml)



More information about the Commits mailing list