blam r595 - trunk/src
- From: atoker svn gnome org
- To: svn-commits-list gnome org
- Subject: blam r595 - trunk/src
- Date: Sun, 15 Jun 2008 19:56:13 +0000 (UTC)
Author: atoker
Date: Sun Jun 15 19:56:13 2008
New Revision: 595
URL: http://svn.gnome.org/viewvc/blam?rev=595&view=rev
Log:
Avoid using libbacon
We'll probably replace this with NDesk.DBus
Modified:
trunk/src/Application.cs
Modified: trunk/src/Application.cs
==============================================================================
--- trunk/src/Application.cs (original)
+++ trunk/src/Application.cs Sun Jun 15 19:56:13 2008
@@ -62,7 +62,9 @@
public static string BaseDir;
+#if USE_BACON
private MessageConnection messageConn;
+#endif
private AddChannelDialog addChannelDialog;
private ChannelDialog channelDialog;
@@ -77,7 +79,9 @@
Gnome.Client client = null;
+#if USE_BACON
private MessageConnection.MessageReceivedHandler mIpcHandler;
+#endif
enum TargetType {
String,
@@ -116,6 +120,7 @@
public Application (string[] args, params object[] props) : base ("Blam", Defines.VERSION, Modules.UI, args, props)
{
+#if USE_BACON
messageConn = new MessageConnection ("Blam");
if (!messageConn.IsServer) {
messageConn.Send ("ShowWindow");
@@ -126,6 +131,7 @@
mIpcHandler = new MessageConnection.MessageReceivedHandler (MessageReceivedCb) ;
messageConn.SetCallback (mIpcHandler);
+#endif
client = new Gnome.Client();
client.Connect();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]