[ekiga/ds-gtk-application] Call Window: Fixed spinner being shown on window creation.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga/ds-gtk-application] Call Window: Fixed spinner being shown on window creation.
- Date: Thu, 6 Nov 2014 19:06:45 +0000 (UTC)
commit 4b8e69be8e0c3b4b04749f39acf9e8c1b769ef06
Author: Damien Sandras <dsandras seconix com>
Date: Thu Nov 6 20:04:11 2014 +0100
Call Window: Fixed spinner being shown on window creation.
lib/engine/gui/gtk-frontend/call-window.cpp | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/lib/engine/gui/gtk-frontend/call-window.cpp b/lib/engine/gui/gtk-frontend/call-window.cpp
index bb430b7..49d6217 100644
--- a/lib/engine/gui/gtk-frontend/call-window.cpp
+++ b/lib/engine/gui/gtk-frontend/call-window.cpp
@@ -1737,6 +1737,7 @@ ekiga_call_window_init_gui (EkigaCallWindow *self)
gtk_window_set_titlebar (GTK_WINDOW (self), self->priv->call_panel_toolbar);
gtk_header_bar_set_title (GTK_HEADER_BAR (self->priv->call_panel_toolbar),
_("Call Window"));
+ gtk_widget_show (self->priv->call_panel_toolbar);
/* The info bar */
self->priv->info_bar = gm_info_bar_new ();
@@ -1766,6 +1767,7 @@ ekiga_call_window_init_gui (EkigaCallWindow *self)
gtk_header_bar_pack_start (GTK_HEADER_BAR (self->priv->call_panel_toolbar), button);
gtk_widget_set_tooltip_text (GTK_WIDGET (button),
_("Hang up the current call"));
+ gtk_widget_show (button);
/* Call Hold */
button = gtk_toggle_button_new ();
@@ -1777,6 +1779,7 @@ ekiga_call_window_init_gui (EkigaCallWindow *self)
gtk_header_bar_pack_start (GTK_HEADER_BAR (self->priv->call_panel_toolbar), button);
gtk_widget_set_tooltip_text (GTK_WIDGET (button),
_("Hold or retrieve the current call"));
+ gtk_widget_show (button);
/* Call Transfer */
button = gtk_button_new ();
@@ -1788,6 +1791,7 @@ ekiga_call_window_init_gui (EkigaCallWindow *self)
gtk_header_bar_pack_start (GTK_HEADER_BAR (self->priv->call_panel_toolbar), button);
gtk_widget_set_tooltip_text (GTK_WIDGET (button),
_("Transfer the current call"));
+ gtk_widget_show (button);
/* Spinner */
self->priv->spinner = gtk_spinner_new ();
@@ -1804,6 +1808,7 @@ ekiga_call_window_init_gui (EkigaCallWindow *self)
gtk_menu_button_set_menu_model (GTK_MENU_BUTTON (button),
G_MENU_MODEL (gtk_builder_get_object (self->priv->builder, "menubar")));
gtk_header_bar_pack_end (GTK_HEADER_BAR (self->priv->call_panel_toolbar), button);
+ gtk_widget_show (button);
/* Full Screen */
button = gtk_button_new ();
@@ -1815,8 +1820,7 @@ ekiga_call_window_init_gui (EkigaCallWindow *self)
gtk_header_bar_pack_end (GTK_HEADER_BAR (self->priv->call_panel_toolbar), button);
gtk_widget_set_tooltip_text (GTK_WIDGET (button),
_("Switch to fullscreen"));
-
- gtk_widget_show_all (self->priv->call_panel_toolbar);
+ gtk_widget_show (button);
gtk_window_set_resizable (GTK_WINDOW (self), true);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]