aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-12 23:27:34 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-12 23:37:25 +0800
commit11a5ae372e20e9f053a4a9a46895c36b9f4e075b (patch)
tree74908bb4a807d318d4d8b6c0a96a313bb002b999
parent49d4f11079e86ef8e17922bf32f19def10088df7 (diff)
downloadgsoc2013-empathy-11a5ae372e20e9f053a4a9a46895c36b9f4e075b.tar
gsoc2013-empathy-11a5ae372e20e9f053a4a9a46895c36b9f4e075b.tar.gz
gsoc2013-empathy-11a5ae372e20e9f053a4a9a46895c36b9f4e075b.tar.bz2
gsoc2013-empathy-11a5ae372e20e9f053a4a9a46895c36b9f4e075b.tar.lz
gsoc2013-empathy-11a5ae372e20e9f053a4a9a46895c36b9f4e075b.tar.xz
gsoc2013-empathy-11a5ae372e20e9f053a4a9a46895c36b9f4e075b.tar.zst
gsoc2013-empathy-11a5ae372e20e9f053a4a9a46895c36b9f4e075b.zip
empathy-call-window: display_error: simplify showing of the widgets
-rw-r--r--src/empathy-call-window.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 5d9a2efa5..71aa31113 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -1482,7 +1482,6 @@ display_error (EmpathyCallWindow *self,
info_bar = gtk_info_bar_new_with_buttons (GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
NULL);
- gtk_widget_set_no_show_all (info_bar, TRUE);
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));
@@ -1493,7 +1492,6 @@ display_error (EmpathyCallWindow *self,
/* Add image */
image = gtk_image_new_from_icon_name (img, GTK_ICON_SIZE_DIALOG);
- gtk_widget_show (image);
gtk_box_pack_start (GTK_BOX (hbox), image, FALSE, FALSE, 0);
/* vbox containing the main message and the details expander */
@@ -1535,8 +1533,7 @@ display_error (EmpathyCallWindow *self,
gtk_box_pack_start (GTK_BOX (priv->errors_vbox), info_bar,
FALSE, FALSE, CONTENT_HBOX_CHILDREN_PACKING_PADDING);
- gtk_widget_show_all (hbox);
- gtk_widget_show (info_bar);
+ gtk_widget_show_all (info_bar);
}
static gchar *