Commit 42ffc72f authored by Victor Ananjevsky's avatar Victor Ananjevsky

fix setting user-defined width of label text

parent 2e04355a
......@@ -204,7 +204,7 @@ create_layout (GtkWidget *dlg)
gtk_widget_set_can_focus (text, FALSE);
if (options.data.text_width > 0)
gtk_label_set_max_width_chars (GTK_LABEL (text), options.data.text_width);
gtk_label_set_width_chars (GTK_LABEL (text), options.data.text_width);
if (!options.data.no_markup)
gtk_label_set_markup (GTK_LABEL (text), buf);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment