[gnome-color-manager] trivial: Wrap the GtkLabels in the GtkInfoBar widgets
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] trivial: Wrap the GtkLabels in the GtkInfoBar widgets
- Date: Sun, 18 Apr 2010 21:28:05 +0000 (UTC)
commit 7f7d1d54cfa6c1785dc2868b2e7f1e11afdb26c7
Author: Richard Hughes <richard hughsie com>
Date: Sun Apr 18 22:14:58 2010 +0100
trivial: Wrap the GtkLabels in the GtkInfoBar widgets
src/gcm-prefs.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gcm-prefs.c b/src/gcm-prefs.c
index a08709b..5f181ab 100644
--- a/src/gcm-prefs.c
+++ b/src/gcm-prefs.c
@@ -2968,6 +2968,7 @@ main (int argc, char **argv)
/* TRANSLATORS: this is displayed when the profile is crap */
info_bar_vcgt_label = gtk_label_new (_("This profile does not have the information required for whole-screen color correction."));
+ gtk_label_set_line_wrap (GTK_LABEL (info_bar_vcgt_label), TRUE);
gtk_info_bar_set_message_type (GTK_INFO_BAR(info_bar_vcgt), GTK_MESSAGE_INFO);
widget = gtk_info_bar_get_content_area (GTK_INFO_BAR(info_bar_vcgt));
gtk_container_add (GTK_CONTAINER(widget), info_bar_vcgt_label);
@@ -2975,6 +2976,7 @@ main (int argc, char **argv)
/* TRANSLATORS: this is displayed when the profile is crap */
info_bar_profiles_label = gtk_label_new (_("More color profiles could be automatically installed."));
+ gtk_label_set_line_wrap (GTK_LABEL (info_bar_profiles_label), TRUE);
gtk_info_bar_set_message_type (GTK_INFO_BAR(info_bar_profiles), GTK_MESSAGE_INFO);
widget = gtk_info_bar_get_content_area (GTK_INFO_BAR(info_bar_profiles));
gtk_container_add (GTK_CONTAINER(widget), info_bar_profiles_label);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]