[nemiver] Minor style cleanups
- From: Dodji Seketeli <dodji src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nemiver] Minor style cleanups
- Date: Sun, 2 Oct 2011 14:53:40 +0000 (UTC)
commit 94f76a8e0632ca409dc0ccbb5ec8479a506b81d4
Author: Dodji Seketeli <dodji gnome org>
Date: Sun Sep 25 11:51:34 2011 +0200
Minor style cleanups
* src/workbench/nmv-workbench.cc (Workbench::init_window): Add
space around '=' and fix some comments.
src/workbench/nmv-workbench.cc | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/workbench/nmv-workbench.cc b/src/workbench/nmv-workbench.cc
index af893d0..8a7b72c 100644
--- a/src/workbench/nmv-workbench.cc
+++ b/src/workbench/nmv-workbench.cc
@@ -610,7 +610,7 @@ Workbench::init_window ()
IConfMgrSafePtr conf_mgr = get_configuration_manager ();
THROW_IF_FAIL (conf_mgr);
- int width=700, height=500, pos_x=0, pos_y=0;
+ int width = 700, height = 500, pos_x = 0, pos_y = 0;
bool maximized=false;
LOG_DD ("getting windows geometry from confmgr ...");
@@ -636,8 +636,8 @@ Workbench::init_window ()
LOG_DD ("null window geometry from confmgr.");
}
- //set the minimum width/height of nemiver, just in case.
- width=0, height=0;
+ // Allow the user to set the minimum width/height of nemiver.
+ width = 0, height = 0;
NEMIVER_TRY
conf_mgr->get_key_value (CONF_KEY_NEMIVER_WINDOW_MINIMUM_WIDTH, width);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]