summaryrefslogtreecommitdiff
path: root/capplets/keybindings/mate-keybinding-properties.c
diff options
context:
space:
mode:
Diffstat (limited to 'capplets/keybindings/mate-keybinding-properties.c')
-rw-r--r--capplets/keybindings/mate-keybinding-properties.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/capplets/keybindings/mate-keybinding-properties.c b/capplets/keybindings/mate-keybinding-properties.c
index cec18262..6e442552 100644
--- a/capplets/keybindings/mate-keybinding-properties.c
+++ b/capplets/keybindings/mate-keybinding-properties.c
@@ -1889,6 +1889,14 @@ setup_dialog (GtkBuilder *builder, GSettings *marco_settings)
/* set up the dialog */
reload_key_entries (builder);
+#if GTK_CHECK_VERSION(3, 0, 0)
+ widget = _gtk_builder_get_widget (builder, "mate-keybinding-dialog");
+ gtk_window_set_default_size (GTK_WINDOW (widget), 400, 500);
+ widget = _gtk_builder_get_widget (builder, "label-suggest");
+ gtk_label_set_line_wrap (GTK_LABEL (widget), TRUE);
+ gtk_label_set_max_width_chars (GTK_LABEL (widget), 60);
+#endif
+
widget = _gtk_builder_get_widget (builder, "mate-keybinding-dialog");
capplet_set_icon (widget, "preferences-desktop-keyboard-shortcuts");
gtk_widget_show (widget);