| 1413 GDK_TYPE_COLOR, G_PARAM_READABLE)); |
1413 GDK_TYPE_COLOR, G_PARAM_READABLE)); |
| 1414 gtk_widget_class_install_style_property(widget_class, g_param_spec_boxed("action-name-color", |
1414 gtk_widget_class_install_style_property(widget_class, g_param_spec_boxed("action-name-color", |
| 1415 _("Action Message Name Color"), |
1415 _("Action Message Name Color"), |
| 1416 _("Color to draw the name of an action message."), |
1416 _("Color to draw the name of an action message."), |
| 1417 GDK_TYPE_COLOR, G_PARAM_READABLE)); |
1417 GDK_TYPE_COLOR, G_PARAM_READABLE)); |
| |
1418 |
| |
1419 /* Customizable typing notification ... sort of. Example: |
| |
1420 * GtkIMHtml::typing-notification-font = "monospace italic light 8.0" |
| |
1421 * GtkIMHtml::typing-notification-color = "#ff0000" |
| |
1422 * GtkIMHtml::typing-notification-enable = 1 |
| |
1423 */ |
| |
1424 gtk_widget_class_install_style_property(widget_class, g_param_spec_boxed("typing-notification-color", |
| |
1425 _("Typing notification color"), |
| |
1426 _("The color to use for the typing notification font"), |
| |
1427 GDK_TYPE_COLOR, G_PARAM_READABLE)); |
| |
1428 gtk_widget_class_install_style_property(widget_class, g_param_spec_string("typing-notification-font", |
| |
1429 _("Typing notification font"), |
| |
1430 _("The font to use for the typing notification"), |
| |
1431 "light 8.0", G_PARAM_READABLE)); |
| |
1432 gtk_widget_class_install_style_property(widget_class, g_param_spec_boolean("typing-notification-enable", |
| |
1433 _("Enable typing notification"), |
| |
1434 _("Enable typing notification"), |
| |
1435 TRUE, G_PARAM_READABLE)); |
| 1418 |
1436 |
| 1419 binding_set = gtk_binding_set_by_class (parent_class); |
1437 binding_set = gtk_binding_set_by_class (parent_class); |
| 1420 gtk_binding_entry_add_signal (binding_set, GDK_b, GDK_CONTROL_MASK, "format_function_toggle", 1, G_TYPE_INT, GTK_IMHTML_BOLD); |
1438 gtk_binding_entry_add_signal (binding_set, GDK_b, GDK_CONTROL_MASK, "format_function_toggle", 1, G_TYPE_INT, GTK_IMHTML_BOLD); |
| 1421 gtk_binding_entry_add_signal (binding_set, GDK_i, GDK_CONTROL_MASK, "format_function_toggle", 1, G_TYPE_INT, GTK_IMHTML_ITALIC); |
1439 gtk_binding_entry_add_signal (binding_set, GDK_i, GDK_CONTROL_MASK, "format_function_toggle", 1, G_TYPE_INT, GTK_IMHTML_ITALIC); |
| 1422 gtk_binding_entry_add_signal (binding_set, GDK_u, GDK_CONTROL_MASK, "format_function_toggle", 1, G_TYPE_INT, GTK_IMHTML_UNDERLINE); |
1440 gtk_binding_entry_add_signal (binding_set, GDK_u, GDK_CONTROL_MASK, "format_function_toggle", 1, G_TYPE_INT, GTK_IMHTML_UNDERLINE); |