aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-call-window.c
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2011-10-21 14:21:29 +0800
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2011-10-21 14:21:29 +0800
commitbf6ec911f61590159f94d424c1a0632c439623f9 (patch)
tree4e8be99555cabc736a9ad0a4ea5a513761f7f39d /src/empathy-call-window.c
parenta9dbf08ec7036c258cd040efa256740138951753 (diff)
downloadgsoc2013-empathy-bf6ec911f61590159f94d424c1a0632c439623f9.tar
gsoc2013-empathy-bf6ec911f61590159f94d424c1a0632c439623f9.tar.gz
gsoc2013-empathy-bf6ec911f61590159f94d424c1a0632c439623f9.tar.bz2
gsoc2013-empathy-bf6ec911f61590159f94d424c1a0632c439623f9.tar.lz
gsoc2013-empathy-bf6ec911f61590159f94d424c1a0632c439623f9.tar.xz
gsoc2013-empathy-bf6ec911f61590159f94d424c1a0632c439623f9.tar.zst
gsoc2013-empathy-bf6ec911f61590159f94d424c1a0632c439623f9.zip
display_error: Put 'Close' button on the bottom/end
Diffstat (limited to 'src/empathy-call-window.c')
-rw-r--r--src/empathy-call-window.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 9da6b9ced..f7efe37a2 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -2935,8 +2935,7 @@ display_error (EmpathyCallWindow *self,
gchar *txt;
/* Create info bar */
- info_bar = gtk_info_bar_new_with_buttons (GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
- NULL);
+ info_bar = gtk_info_bar_new ();
if (button_text != NULL)
{
@@ -2946,6 +2945,9 @@ display_error (EmpathyCallWindow *self,
"uri", g_strdup (uri), g_free);
}
+ gtk_info_bar_add_button (GTK_INFO_BAR (info_bar),
+ GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE);
+
gtk_info_bar_set_message_type (GTK_INFO_BAR (info_bar), GTK_MESSAGE_WARNING);
content_area = gtk_info_bar_get_content_area (GTK_INFO_BAR (info_bar));