[beast/devel: 52/77] BIRNET: remove Birnet Msg entirely
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast/devel: 52/77] BIRNET: remove Birnet Msg entirely
- Date: Wed, 1 May 2013 17:31:42 +0000 (UTC)
commit 3a5dcacfdb78d6b85c3e1432789d7afa112124e0
Author: Tim Janik <timj gnu org>
Date: Thu Apr 11 02:06:56 2013 +0200
BIRNET: remove Birnet Msg entirely
birnet/Makefile.am | 2 -
birnet/birnet.hh | 1 -
birnet/birnetmsg.cc | 579 -------------------------------------------------
birnet/birnetmsg.hh | 176 ---------------
birnet/birnetutils.cc | 6 +-
5 files changed, 3 insertions(+), 761 deletions(-)
---
diff --git a/birnet/Makefile.am b/birnet/Makefile.am
index 56def6d..9dece7f 100644
--- a/birnet/Makefile.am
+++ b/birnet/Makefile.am
@@ -10,12 +10,10 @@ GLIB_MKENUMS = glib-mkenums
birnet_headers = $(strip \
birnet.hh \
birnetcdefs.h \
- birnetmsg.hh \
birnettests.h \
birnetutils.hh \
)
birnet_sources = $(strip \
- birnetmsg.cc \
birnetutils.cc \
)
birnet_private_headers = $(strip \
diff --git a/birnet/birnet.hh b/birnet/birnet.hh
index be1b907..b60f59f 100644
--- a/birnet/birnet.hh
+++ b/birnet/birnet.hh
@@ -2,7 +2,6 @@
#ifndef __BIRNET_H__
#define __BIRNET_H__
#include <birnet/birnetconfig.h>
-#include <birnet/birnetmsg.hh>
#include <birnet/birnetutils.hh>
// We're migrating to Bse for everything and use Rapicorn core for the lower level stuff
diff --git a/birnet/birnetutils.cc b/birnet/birnetutils.cc
index 81524cf..efe637e 100644
--- a/birnet/birnetutils.cc
+++ b/birnet/birnetutils.cc
@@ -1,7 +1,6 @@
// Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
#include <glib.h>
#include "birnetutils.hh"
-#include "birnetmsg.hh"
#include <unistd.h>
#include <errno.h>
#include <sys/types.h>
@@ -18,7 +17,6 @@
#define _(s) s
#endif
namespace Birnet {
-static Msg::CustomType debug_browser ("browser", Msg::DEBUG);
static const InitSettings *birnet_init_settings = NULL;
InitSettings
init_settings ()
@@ -394,7 +392,7 @@ url_test_show (const char *url)
NULL, /* child_pid */
&error);
g_free (string);
- Msg::display (debug_browser, "show \"%s\": %s: %s", url, args[0], error ? error->message :
fallback_error);
+ // FIXME: Msg::display (debug_browser, "show \"%s\": %s: %s", url, args[0], error ? error->message :
fallback_error);
g_clear_error (&error);
if (success)
return true;
@@ -408,11 +406,13 @@ url_test_show (const char *url)
static void
browser_launch_warning (const char *url)
{
+#if 0 // FIXME
Msg::display (Msg::WARNING,
Msg::Title (_("Launch Web Browser")),
Msg::Text1 (_("Failed to launch a web browser executable")),
Msg::Text2 (_("No suitable web browser executable could be found to be executed and to
display the URL: %s"), url),
Msg::Check (_("Show messages about web browser launch problems")));
+#endif
}
void
url_show (const char *url)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]