aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2011-10-19 13:45:04 +0800
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2011-10-19 13:45:04 +0800
commit6a57263cdf33fd92ed5207d4f163c8851bb52822 (patch)
tree0f1d2933ecfe2f7cc5da39091f2e9491256ca412
parentc68091255ef12850aade51ce317292179515377f (diff)
downloadgsoc2013-empathy-6a57263cdf33fd92ed5207d4f163c8851bb52822.tar
gsoc2013-empathy-6a57263cdf33fd92ed5207d4f163c8851bb52822.tar.gz
gsoc2013-empathy-6a57263cdf33fd92ed5207d4f163c8851bb52822.tar.bz2
gsoc2013-empathy-6a57263cdf33fd92ed5207d4f163c8851bb52822.tar.lz
gsoc2013-empathy-6a57263cdf33fd92ed5207d4f163c8851bb52822.tar.xz
gsoc2013-empathy-6a57263cdf33fd92ed5207d4f163c8851bb52822.tar.zst
gsoc2013-empathy-6a57263cdf33fd92ed5207d4f163c8851bb52822.zip
Scroll dialpad entry right as more characters are inserted.
The user wants to see her most recent history, not what she typed in first.
-rw-r--r--libempathy-gtk/empathy-dialpad-widget.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-dialpad-widget.c b/libempathy-gtk/empathy-dialpad-widget.c
index fd93b834e..da1eb9192 100644
--- a/libempathy-gtk/empathy-dialpad-widget.c
+++ b/libempathy-gtk/empathy-dialpad-widget.c
@@ -80,6 +80,7 @@ dtmf_dialpad_button_pressed_cb (GtkWidget *button,
g_signal_emit (self, signals[START_TONE], 0, tone);
gtk_entry_buffer_insert_text (buffer, -1, label, -1);
+ gtk_editable_set_position (GTK_EDITABLE (self->priv->entry), -1);
return FALSE;
}