[gnome-initial-setup] Remove the center justifications
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup] Remove the center justifications
- Date: Thu, 31 May 2012 21:22:55 +0000 (UTC)
commit 7f03b3658a6a6c998f6d6eb6c9d49267dfbaea38
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu May 31 17:22:31 2012 -0400
Remove the center justifications
Licenses like the GPLv2 do their own manual centering of the text. We
should just preserve the display of the text.
gnome-initial-setup/gdm-initial-setup.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/gnome-initial-setup/gdm-initial-setup.c b/gnome-initial-setup/gdm-initial-setup.c
index 0aa1c5e..8e73f07 100644
--- a/gnome-initial-setup/gdm-initial-setup.c
+++ b/gnome-initial-setup/gdm-initial-setup.c
@@ -171,13 +171,11 @@ build_eula_text_view (GFile *eula,
if (error != NULL)
goto out;
- /* apply monospace and center */
+ /* monospace the text */
gtk_text_buffer_create_tag (buffer, "monospace", "family", "monospace", NULL);
- gtk_text_buffer_create_tag (buffer, "center", "justification", GTK_JUSTIFY_CENTER, NULL);
gtk_text_buffer_get_start_iter (buffer, &start);
gtk_text_buffer_get_end_iter (buffer, &end);
gtk_text_buffer_apply_tag_by_name (buffer, "monospace", &start, &end);
- gtk_text_buffer_apply_tag_by_name (buffer, "center", &start, &end);
widget = gtk_text_view_new_with_buffer (buffer);
gtk_text_view_set_editable (GTK_TEXT_VIEW (widget), FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]