ekiga r6655 - in trunk: . src/endpoints
- From: dsandras svn gnome org
- To: svn-commits-list gnome org
- Subject: ekiga r6655 - in trunk: . src/endpoints
- Date: Tue, 19 Aug 2008 21:01:40 +0000 (UTC)
Author: dsandras
Date: Tue Aug 19 21:01:39 2008
New Revision: 6655
URL: http://svn.gnome.org/viewvc/ekiga?rev=6655&view=rev
Log:
Only add the dial action if we have an h323 url.
Modified:
trunk/ChangeLog
trunk/src/endpoints/h323-endpoint.cpp
Modified: trunk/src/endpoints/h323-endpoint.cpp
==============================================================================
--- trunk/src/endpoints/h323-endpoint.cpp (original)
+++ trunk/src/endpoints/h323-endpoint.cpp Tue Aug 19 21:01:39 2008
@@ -148,9 +148,11 @@
bool populated = false;
std::string action = _("Call");
- builder.add_action ("call", action, sigc::bind (sigc::mem_fun (this, &EndPoint::on_dial), uri));
-
- populated = true;
+ if (uri.find ("h323:") == 0) {
+
+ builder.add_action ("call", action, sigc::bind (sigc::mem_fun (this, &EndPoint::on_dial), uri));
+ populated = true;
+ }
return populated;
}
@@ -160,7 +162,7 @@
{
if (uri.find ("h323:") == 0) {
- new dialer (uri, manager);
+ new Opal::H323::dialer (uri, manager);
return true;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]