brasero r1071 - in trunk: . src
- From: philippr svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r1071 - in trunk: . src
- Date: Wed, 13 Aug 2008 19:08:34 +0000 (UTC)
Author: philippr
Date: Wed Aug 13 19:08:34 2008
New Revision: 1071
URL: http://svn.gnome.org/viewvc/brasero?rev=1071&view=rev
Log:
Add line wrapping for brasero messages
* src/brasero-disc-message.c (brasero_disc_message_set_secondary),
(brasero_disc_message_init):
Modified:
trunk/ChangeLog
trunk/src/brasero-disc-message.c
Modified: trunk/src/brasero-disc-message.c
==============================================================================
--- trunk/src/brasero-disc-message.c (original)
+++ trunk/src/brasero-disc-message.c Wed Aug 13 19:08:34 2008
@@ -466,6 +466,8 @@
if (!priv->secondary) {
priv->secondary = gtk_label_new (NULL);
+ gtk_label_set_line_wrap_mode (GTK_LABEL (priv->secondary), GTK_WRAP_WORD);
+ gtk_label_set_line_wrap (GTK_LABEL (priv->secondary), TRUE);
gtk_misc_set_alignment (GTK_MISC (priv->secondary), 0.0, 0.5);
gtk_box_pack_start (GTK_BOX (priv->text_box), priv->secondary, FALSE, TRUE, 0);
}
@@ -543,6 +545,8 @@
gtk_box_pack_start (GTK_BOX (main_box), priv->text_box, TRUE, TRUE, 0);
priv->primary = gtk_label_new (NULL);
+ gtk_label_set_line_wrap_mode (GTK_LABEL (priv->primary), GTK_WRAP_WORD);
+ gtk_label_set_line_wrap (GTK_LABEL (priv->primary), TRUE);
gtk_size_group_add_widget (priv->group, priv->primary);
gtk_misc_set_alignment (GTK_MISC (priv->primary), 0.0, 0.5);
gtk_box_pack_start (GTK_BOX (priv->text_box), priv->primary, FALSE, TRUE, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]