ekiga r6604 - in trunk: . lib/engine/gui/gtk-frontend
- From: jschamp svn gnome org
- To: svn-commits-list gnome org
- Subject: ekiga r6604 - in trunk: . lib/engine/gui/gtk-frontend
- Date: Thu, 14 Aug 2008 04:20:07 +0000 (UTC)
Author: jschamp
Date: Thu Aug 14 04:20:07 2008
New Revision: 6604
URL: http://svn.gnome.org/viewvc/ekiga?rev=6604&view=rev
Log:
Make a difference between "Foo says:" text (italic) and the rest.
Define a margin for the text (from the text view border).
Modified:
trunk/ChangeLog
trunk/lib/engine/gui/gtk-frontend/chat-area.cpp
Modified: trunk/lib/engine/gui/gtk-frontend/chat-area.cpp
==============================================================================
--- trunk/lib/engine/gui/gtk-frontend/chat-area.cpp (original)
+++ trunk/lib/engine/gui/gtk-frontend/chat-area.cpp Thu Aug 14 04:20:07 2008
@@ -154,7 +154,7 @@
GtkTextBuffer* buffer = NULL;
GtkTextIter iter;
- str = g_strdup_printf ("%s says: %s\n", from, txt);
+ str = g_strdup_printf ("<i>%s says:</i> %s\n", from, txt);
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (self->priv->text_view));
gtk_text_buffer_get_end_iter (buffer, &iter);
gm_text_buffer_enhancer_insert_text (self->priv->enhancer, &iter,
@@ -478,6 +478,10 @@
GTK_JUSTIFY_LEFT);
gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (self->priv->text_view),
GTK_WRAP_WORD);
+ gtk_text_view_set_left_margin (GTK_TEXT_VIEW (self->priv->text_view),
+ 2);
+ gtk_text_view_set_right_margin (GTK_TEXT_VIEW (self->priv->text_view),
+ 2);
gtk_container_add (GTK_CONTAINER (self->priv->scrolled_text_window),
self->priv->text_view);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]