summaryrefslogtreecommitdiff
path: root/libslab/app-shell.c
diff options
context:
space:
mode:
authorAlexei Sorokin <[email protected]>2017-01-24 23:48:47 +0300
committerAlexei Sorokin <[email protected]>2017-01-24 23:48:47 +0300
commitd12d0524f88726967ca4c0dbc96b3083b428abf1 (patch)
tree4ed3e5e4a2cf274b13e10ba53dee40026c4c0a1a /libslab/app-shell.c
parent40fe63c81f5c4e7658da041afa3ae4dd3c3956da (diff)
downloadmate-control-center-d12d0524f88726967ca4c0dbc96b3083b428abf1.tar.bz2
mate-control-center-d12d0524f88726967ca4c0dbc96b3083b428abf1.tar.xz
libslab: wrap labels on the left pane
Diffstat (limited to 'libslab/app-shell.c')
-rw-r--r--libslab/app-shell.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libslab/app-shell.c b/libslab/app-shell.c
index ac0a0b5f..ed4460b1 100644
--- a/libslab/app-shell.c
+++ b/libslab/app-shell.c
@@ -413,6 +413,8 @@ create_actions_section (AppShellData * app_data, const gchar * title,
action = (AppAction *) actions->data;
header = gtk_label_new (action->name);
+ gtk_label_set_line_wrap (GTK_LABEL (header), TRUE);
+ gtk_label_set_max_width_chars (GTK_LABEL (header), 0);
#if GTK_CHECK_VERSION (3, 16, 0)
gtk_label_set_xalign (GTK_LABEL (header), 0.0);
#else