[ekiga] Call Window: Show window when placing a call.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Call Window: Show window when placing a call.
- Date: Sun, 29 Jan 2012 17:55:23 +0000 (UTC)
commit bfd7798ce2cea8082a1d523d3311b48540eb1530
Author: Damien Sandras <dsandras beip be>
Date: Sun Jan 29 18:28:04 2012 +0100
Call Window: Show window when placing a call.
It is shown as soon as we place it.
TODO: Display "Calling XYZ".
src/gui/main_window.cpp | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/gui/main_window.cpp b/src/gui/main_window.cpp
index db8a5db..bc9adc1 100644
--- a/src/gui/main_window.cpp
+++ b/src/gui/main_window.cpp
@@ -620,6 +620,7 @@ static void on_setup_call_cb (boost::shared_ptr<Ekiga::CallManager> manager,
gpointer self)
{
EkigaMainWindow *mw = EKIGA_MAIN_WINDOW (self);
+ GtkWidget *call_window = NULL;
boost::shared_ptr<Ekiga::AudioOutputCore> audiooutput_core = mw->priv->core->get<Ekiga::AudioOutputCore> ("audiooutput-core");
if (!call->is_outgoing () && !manager->get_auto_answer ()) {
@@ -635,6 +636,11 @@ static void on_setup_call_cb (boost::shared_ptr<Ekiga::CallManager> manager,
mw->priv->current_call = call;
}
else {
+
+ /* Show call window */
+ call_window = GnomeMeeting::Process ()->GetCallWindow ();
+ gtk_widget_show_all (call_window);
+
mw->priv->current_call = call;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]