From ce02ee1ca17b1d0c1485ffb40f1d1e028f11abbe Mon Sep 17 00:00:00 2001 From: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com> Date: Mon, 19 Oct 2009 14:57:37 -0400 Subject: [PATCH] [#2312] Display the STUN entry widget when opening the tab --- sflphone-client-gnome/src/config/accountconfigdialog.c | 2 ++ sflphone-client-gnome/src/mainwindow.c | 1 + 2 files changed, 3 insertions(+) diff --git a/sflphone-client-gnome/src/config/accountconfigdialog.c b/sflphone-client-gnome/src/config/accountconfigdialog.c index 999141002a..6ad988afee 100644 --- a/sflphone-client-gnome/src/config/accountconfigdialog.c +++ b/sflphone-client-gnome/src/config/accountconfigdialog.c @@ -790,6 +790,8 @@ GtkWidget * create_advanced_tab(account_t **a) gtk_entry_set_text(GTK_ENTRY(stunServerEntry), stun_server); gtk_table_attach_defaults(GTK_TABLE(table), stunServerEntry, 1, 2, 8, 9); + use_stun_cb (GTK_WIDGET (useStunRadioButton), NULL); + // This will trigger a signal, and the above two // widgets need to be instanciated before that. g_signal_connect(useStunRadioButton, "toggled", G_CALLBACK(use_stun_cb), useStunRadioButton); diff --git a/sflphone-client-gnome/src/mainwindow.c b/sflphone-client-gnome/src/mainwindow.c index 2697a2c12d..22e34cfb84 100644 --- a/sflphone-client-gnome/src/mainwindow.c +++ b/sflphone-client-gnome/src/mainwindow.c @@ -198,6 +198,7 @@ create_main_window () gtk_box_pack_start (GTK_BOX (vbox), widget, FALSE /*expand*/, TRUE /*fill*/, 0 /*padding*/); widget = create_toolbar_actions (ui_manager); + gtk_toolbar_set_style (GTK_TOOLBAR (widget), GTK_TOOLBAR_BOTH); gtk_box_pack_start (GTK_BOX (vbox), widget, FALSE /*expand*/, TRUE /*fill*/, 0 /*padding*/); gtk_box_pack_start (GTK_BOX (vbox), current_calls->tree, TRUE /*expand*/, TRUE /*fill*/, 0 /*padding*/); -- GitLab