[ekiga] CallWindow: Use markup in statistics tooltip for better clarity.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] CallWindow: Use markup in statistics tooltip for better clarity.
- Date: Sat, 3 Jan 2015 16:32:49 +0000 (UTC)
commit 92e51ef640ca8c7c9d27a5b5c9efa1fd32343fc8
Author: Damien Sandras <dsandras seconix com>
Date: Sat Jan 3 17:31:11 2015 +0100
CallWindow: Use markup in statistics tooltip for better clarity.
lib/engine/gui/gtk-frontend/call-window.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/lib/engine/gui/gtk-frontend/call-window.cpp b/lib/engine/gui/gtk-frontend/call-window.cpp
index d093604..a59348a 100644
--- a/lib/engine/gui/gtk-frontend/call-window.cpp
+++ b/lib/engine/gui/gtk-frontend/call-window.cpp
@@ -1251,13 +1251,13 @@ ekiga_call_window_update_stats (EkigaCallWindow *self,
tr_video_msg = g_strdup ("");
stats_msg =
- g_strdup_printf (_("Reception: %s %s\nLost Packets: %d %%\nJitter: %d ms\nFramerate: %d fps\nBandwidth:
%d kbits/s\n\n"
- "Transmission: %s %s\nRemote Lost Packets: %d %%\nRemote Jitter: %d ms\nFramerate: %d
fps\nBandwidth: %d kbits/s\n\n"),
+ g_strdup_printf (_("<b><u>Reception:</u></b> %s %s\nLost Packets: %d %%\nJitter: %d ms\nFramerate: %d
fps\nBandwidth: %d kbits/s\n\n"
+ "<b><u>Transmission:</u></b> %s %s\nRemote Lost Packets: %d %%\nRemote Jitter: %d
ms\nFramerate: %d fps\nBandwidth: %d kbits/s\n\n"),
stats.received_audio_codec.c_str (), re_video_msg, stats.lost_packets, stats.jitter,
stats.received_fps, stats.received_audio_bandwidth + stats.received_video_bandwidth,
stats.transmitted_audio_codec.c_str (), tr_video_msg, stats.remote_lost_packets,
stats.remote_jitter,
stats.transmitted_fps, stats.transmitted_audio_bandwidth +
stats.transmitted_video_bandwidth);
- gtk_widget_set_tooltip_text (GTK_WIDGET (self->priv->event_box), stats_msg);
+ gtk_widget_set_tooltip_markup (GTK_WIDGET (self->priv->event_box), stats_msg);
if (!self->priv->bad_connection && (stats.jitter > 250 || stats.lost_packets > 2)) {
gm_info_bar_push_message (GM_INFO_BAR (self->priv->info_bar),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]