[nemiver] Display no msg dialog when gconf is down
- From: Dodji Seketeli <dodji src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nemiver] Display no msg dialog when gconf is down
- Date: Wed, 5 Aug 2009 09:31:20 +0000 (UTC)
commit 81be37f802f5db9897473910da6e9597a4eb8ad6
Author: Dodji Seketeli <dodji redhat com>
Date: Wed Aug 5 11:13:39 2009 +0200
Display no msg dialog when gconf is down
* src/persp/dbgperspective/nmv-dbg-perspective.cc:
(DBGPerspective::on_shutdown_signal): Let error messages
go to the terminal only.
* src/workbench/nmv-workbench.cc:
(Workbench::get_configuration_manager, Workbench::init_window):
Likewise.
src/persp/dbgperspective/nmv-dbg-perspective.cc | 2 +-
src/workbench/nmv-workbench.cc | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/persp/dbgperspective/nmv-dbg-perspective.cc b/src/persp/dbgperspective/nmv-dbg-perspective.cc
index 12ea3eb..fb42d34 100644
--- a/src/persp/dbgperspective/nmv-dbg-perspective.cc
+++ b/src/persp/dbgperspective/nmv-dbg-perspective.cc
@@ -1920,7 +1920,7 @@ DBGPerspective::on_shutdown_signal ()
NEMIVER_TRY
conf_mgr.set_key_value (CONF_KEY_STATUS_PANE_LOCATION, pane_location);
- NEMIVER_CATCH
+ NEMIVER_CATCH_NOX
if (m_priv->prog_path == "") {
return;
diff --git a/src/workbench/nmv-workbench.cc b/src/workbench/nmv-workbench.cc
index 2d90709..082296c 100644
--- a/src/workbench/nmv-workbench.cc
+++ b/src/workbench/nmv-workbench.cc
@@ -519,7 +519,7 @@ Workbench::get_configuration_manager ()
m_priv->conf_mgr->add_key_to_notify (
"/desktop/gnome/interface/monospace_font_name") ;
- NEMIVER_CATCH
+ NEMIVER_CATCH_NOX
}
THROW_IF_FAIL (m_priv->conf_mgr) ;
return m_priv->conf_mgr ;
@@ -588,7 +588,7 @@ Workbench::init_window ()
conf_mgr->get_key_value (CONF_KEY_NEMIVER_WINDOW_POSITION_Y, pos_y) ;
conf_mgr->get_key_value (CONF_KEY_NEMIVER_WINDOW_MAXIMIZED, maximized) ;
LOG_DD ("got windows geometry from confmgr.") ;
- NEMIVER_CATCH
+ NEMIVER_CATCH_NOX
if (width) {
LOG_DD ("restoring windows geometry from confmgr ...") ;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]