<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[Freeswitch-trunk][14298] </title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<div id="header">FreeSWITCH Subversion</div>
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://fisheye.freeswitch.org/changelog/FreeSWITCH?cs=14298">14298</a></dd>
<dt>Author</dt> <dd>jmesquita</dd>
<dt>Date</dt> <dd>2009-07-18 20:36:33 -0500 (Sat, 18 Jul 2009)</dd>
</dl>

<h3>Log Message</h3>
<pre>* Small interface change
* Initialize eslConnection on consolePage constructor
* Fix message colors</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#freeswitchtrunkcontribjmesquitafsguiresourcesconsolepageui">freeswitch/trunk/contrib/jmesquita/fsgui/resources/consolepage.ui</a></li>
<li><a href="#freeswitchtrunkcontribjmesquitafsguiresourcesfs_guiui">freeswitch/trunk/contrib/jmesquita/fsgui/resources/fs_gui.ui</a></li>
<li><a href="#freeswitchtrunkcontribjmesquitafsguiresourcesresourcesqrc">freeswitch/trunk/contrib/jmesquita/fsgui/resources/resources.qrc</a></li>
<li><a href="#freeswitchtrunkcontribjmesquitafsguisrcconsolepagecpp">freeswitch/trunk/contrib/jmesquita/fsgui/src/consolepage.cpp</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#freeswitchtrunkcontribjmesquitafsguiresourcesnetworkidlepng">freeswitch/trunk/contrib/jmesquita/fsgui/resources/network-idle.png</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="freeswitchtrunkcontribjmesquitafsguiresourcesconsolepageui"></a>
<div class="modfile"><h4>Modified: freeswitch/trunk/contrib/jmesquita/fsgui/resources/consolepage.ui (14297 => 14298)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/contrib/jmesquita/fsgui/resources/consolepage.ui        2009-07-18 19:57:50 UTC (rev 14297)
+++ freeswitch/trunk/contrib/jmesquita/fsgui/resources/consolepage.ui        2009-07-19 01:36:33 UTC (rev 14298)
</span><span class="lines">@@ -6,8 +6,8 @@
</span><span class="cx">    &lt;rect&gt;
</span><span class="cx">     &lt;x&gt;0&lt;/x&gt;
</span><span class="cx">     &lt;y&gt;0&lt;/y&gt;
</span><del>-    &lt;width&gt;570&lt;/width&gt;
-    &lt;height&gt;443&lt;/height&gt;
</del><ins>+    &lt;width&gt;392&lt;/width&gt;
+    &lt;height&gt;301&lt;/height&gt;
</ins><span class="cx">    &lt;/rect&gt;
</span><span class="cx">   &lt;/property&gt;
</span><span class="cx">   &lt;property name=&quot;sizePolicy&quot;&gt;
</span><span class="lines">@@ -19,98 +19,146 @@
</span><span class="cx">   &lt;property name=&quot;windowTitle&quot;&gt;
</span><span class="cx">    &lt;string&gt;consolePage&lt;/string&gt;
</span><span class="cx">   &lt;/property&gt;
</span><del>-  &lt;layout class=&quot;QVBoxLayout&quot; name=&quot;verticalLayout&quot;&gt;
</del><ins>+  &lt;layout class=&quot;QHBoxLayout&quot; name=&quot;horizontalLayout_3&quot;&gt;
</ins><span class="cx">    &lt;item&gt;
</span><del>-    &lt;widget class=&quot;QTextEdit&quot; name=&quot;textConsole&quot;/&gt;
-   &lt;/item&gt;
-   &lt;item&gt;
-    &lt;layout class=&quot;QHBoxLayout&quot; name=&quot;horizontalLayout_2&quot;&gt;
-     &lt;item&gt;
-      &lt;layout class=&quot;QHBoxLayout&quot; name=&quot;horizontalLayout&quot;&gt;
</del><ins>+    &lt;widget class=&quot;QTabWidget&quot; name=&quot;serverTabs&quot;&gt;
+     &lt;property name=&quot;enabled&quot;&gt;
+      &lt;bool&gt;true&lt;/bool&gt;
+     &lt;/property&gt;
+     &lt;property name=&quot;tabPosition&quot;&gt;
+      &lt;enum&gt;QTabWidget::West&lt;/enum&gt;
+     &lt;/property&gt;
+     &lt;property name=&quot;tabShape&quot;&gt;
+      &lt;enum&gt;QTabWidget::Triangular&lt;/enum&gt;
+     &lt;/property&gt;
+     &lt;property name=&quot;currentIndex&quot;&gt;
+      &lt;number&gt;0&lt;/number&gt;
+     &lt;/property&gt;
+     &lt;property name=&quot;movable&quot;&gt;
+      &lt;bool&gt;true&lt;/bool&gt;
+     &lt;/property&gt;
+     &lt;widget class=&quot;QWidget&quot; name=&quot;tabConsole&quot;&gt;
+      &lt;attribute name=&quot;icon&quot;&gt;
+       &lt;iconset resource=&quot;resources.qrc&quot;&gt;
+        &lt;normaloff&gt;:/preferences/images/utilities-terminal.svg&lt;/normaloff&gt;:/preferences/images/utilities-terminal.svg&lt;/iconset&gt;
+      &lt;/attribute&gt;
+      &lt;attribute name=&quot;title&quot;&gt;
+       &lt;string&gt;Console&lt;/string&gt;
+      &lt;/attribute&gt;
+      &lt;layout class=&quot;QVBoxLayout&quot; name=&quot;verticalLayout_2&quot;&gt;
</ins><span class="cx">        &lt;item&gt;
</span><del>-        &lt;widget class=&quot;QLineEdit&quot; name=&quot;lineCmd&quot;/&gt;
</del><ins>+        &lt;layout class=&quot;QVBoxLayout&quot; name=&quot;verticalLayout&quot;&gt;
+         &lt;item&gt;
+          &lt;widget class=&quot;QTextEdit&quot; name=&quot;textConsole&quot;/&gt;
+         &lt;/item&gt;
+         &lt;item&gt;
+          &lt;layout class=&quot;QHBoxLayout&quot; name=&quot;horizontalLayout_2&quot;&gt;
+           &lt;item&gt;
+            &lt;layout class=&quot;QHBoxLayout&quot; name=&quot;horizontalLayout&quot;&gt;
+             &lt;item&gt;
+              &lt;widget class=&quot;QLineEdit&quot; name=&quot;lineCmd&quot;/&gt;
+             &lt;/item&gt;
+             &lt;item&gt;
+              &lt;widget class=&quot;QPushButton&quot; name=&quot;btnSend&quot;&gt;
+               &lt;property name=&quot;enabled&quot;&gt;
+                &lt;bool&gt;false&lt;/bool&gt;
+               &lt;/property&gt;
+               &lt;property name=&quot;text&quot;&gt;
+                &lt;string&gt;Send&lt;/string&gt;
+               &lt;/property&gt;
+               &lt;property name=&quot;shortcut&quot;&gt;
+                &lt;string&gt;Return&lt;/string&gt;
+               &lt;/property&gt;
+               &lt;property name=&quot;autoDefault&quot;&gt;
+                &lt;bool&gt;true&lt;/bool&gt;
+               &lt;/property&gt;
+               &lt;property name=&quot;default&quot;&gt;
+                &lt;bool&gt;true&lt;/bool&gt;
+               &lt;/property&gt;
+              &lt;/widget&gt;
+             &lt;/item&gt;
+            &lt;/layout&gt;
+           &lt;/item&gt;
+           &lt;item&gt;
+            &lt;widget class=&quot;QGroupBox&quot; name=&quot;groupBox&quot;&gt;
+             &lt;property name=&quot;title&quot;&gt;
+              &lt;string&gt;LogLevel&lt;/string&gt;
+             &lt;/property&gt;
+             &lt;layout class=&quot;QGridLayout&quot; name=&quot;gridLayout&quot;&gt;
+              &lt;item row=&quot;0&quot; column=&quot;0&quot;&gt;
+               &lt;widget class=&quot;QComboBox&quot; name=&quot;comboLogLevel&quot;&gt;
+                &lt;property name=&quot;enabled&quot;&gt;
+                 &lt;bool&gt;false&lt;/bool&gt;
+                &lt;/property&gt;
+                &lt;item&gt;
+                 &lt;property name=&quot;text&quot;&gt;
+                  &lt;string&gt;Console&lt;/string&gt;
+                 &lt;/property&gt;
+                &lt;/item&gt;
+                &lt;item&gt;
+                 &lt;property name=&quot;text&quot;&gt;
+                  &lt;string&gt;Alert&lt;/string&gt;
+                 &lt;/property&gt;
+                &lt;/item&gt;
+                &lt;item&gt;
+                 &lt;property name=&quot;text&quot;&gt;
+                  &lt;string&gt;Crit&lt;/string&gt;
+                 &lt;/property&gt;
+                &lt;/item&gt;
+                &lt;item&gt;
+                 &lt;property name=&quot;text&quot;&gt;
+                  &lt;string&gt;Err&lt;/string&gt;
+                 &lt;/property&gt;
+                &lt;/item&gt;
+                &lt;item&gt;
+                 &lt;property name=&quot;text&quot;&gt;
+                  &lt;string&gt;Warning&lt;/string&gt;
+                 &lt;/property&gt;
+                &lt;/item&gt;
+                &lt;item&gt;
+                 &lt;property name=&quot;text&quot;&gt;
+                  &lt;string&gt;Notice&lt;/string&gt;
+                 &lt;/property&gt;
+                &lt;/item&gt;
+                &lt;item&gt;
+                 &lt;property name=&quot;text&quot;&gt;
+                  &lt;string&gt;Info&lt;/string&gt;
+                 &lt;/property&gt;
+                &lt;/item&gt;
+                &lt;item&gt;
+                 &lt;property name=&quot;text&quot;&gt;
+                  &lt;string&gt;Debug&lt;/string&gt;
+                 &lt;/property&gt;
+                &lt;/item&gt;
+               &lt;/widget&gt;
+              &lt;/item&gt;
+             &lt;/layout&gt;
+            &lt;/widget&gt;
+           &lt;/item&gt;
+          &lt;/layout&gt;
+         &lt;/item&gt;
+        &lt;/layout&gt;
</ins><span class="cx">        &lt;/item&gt;
</span><del>-       &lt;item&gt;
-        &lt;widget class=&quot;QPushButton&quot; name=&quot;btnSend&quot;&gt;
-         &lt;property name=&quot;enabled&quot;&gt;
-          &lt;bool&gt;false&lt;/bool&gt;
-         &lt;/property&gt;
-         &lt;property name=&quot;text&quot;&gt;
-          &lt;string&gt;Send&lt;/string&gt;
-         &lt;/property&gt;
-         &lt;property name=&quot;shortcut&quot;&gt;
-          &lt;string&gt;Return&lt;/string&gt;
-         &lt;/property&gt;
-         &lt;property name=&quot;autoDefault&quot;&gt;
-          &lt;bool&gt;true&lt;/bool&gt;
-         &lt;/property&gt;
-         &lt;property name=&quot;default&quot;&gt;
-          &lt;bool&gt;true&lt;/bool&gt;
-         &lt;/property&gt;
-        &lt;/widget&gt;
-       &lt;/item&gt;
</del><span class="cx">       &lt;/layout&gt;
</span><del>-     &lt;/item&gt;
-     &lt;item&gt;
-      &lt;widget class=&quot;QGroupBox&quot; name=&quot;groupBox&quot;&gt;
-       &lt;property name=&quot;title&quot;&gt;
-        &lt;string&gt;LogLevel&lt;/string&gt;
-       &lt;/property&gt;
-       &lt;layout class=&quot;QGridLayout&quot; name=&quot;gridLayout&quot;&gt;
-        &lt;item row=&quot;0&quot; column=&quot;0&quot;&gt;
-         &lt;widget class=&quot;QComboBox&quot; name=&quot;comboLogLevel&quot;&gt;
-          &lt;property name=&quot;enabled&quot;&gt;
-           &lt;bool&gt;false&lt;/bool&gt;
-          &lt;/property&gt;
-          &lt;item&gt;
-           &lt;property name=&quot;text&quot;&gt;
-            &lt;string&gt;Console&lt;/string&gt;
-           &lt;/property&gt;
-          &lt;/item&gt;
-          &lt;item&gt;
-           &lt;property name=&quot;text&quot;&gt;
-            &lt;string&gt;Alert&lt;/string&gt;
-           &lt;/property&gt;
-          &lt;/item&gt;
-          &lt;item&gt;
-           &lt;property name=&quot;text&quot;&gt;
-            &lt;string&gt;Crit&lt;/string&gt;
-           &lt;/property&gt;
-          &lt;/item&gt;
-          &lt;item&gt;
-           &lt;property name=&quot;text&quot;&gt;
-            &lt;string&gt;Err&lt;/string&gt;
-           &lt;/property&gt;
-          &lt;/item&gt;
-          &lt;item&gt;
-           &lt;property name=&quot;text&quot;&gt;
-            &lt;string&gt;Warning&lt;/string&gt;
-           &lt;/property&gt;
-          &lt;/item&gt;
-          &lt;item&gt;
-           &lt;property name=&quot;text&quot;&gt;
-            &lt;string&gt;Notice&lt;/string&gt;
-           &lt;/property&gt;
-          &lt;/item&gt;
-          &lt;item&gt;
-           &lt;property name=&quot;text&quot;&gt;
-            &lt;string&gt;Info&lt;/string&gt;
-           &lt;/property&gt;
-          &lt;/item&gt;
-          &lt;item&gt;
-           &lt;property name=&quot;text&quot;&gt;
-            &lt;string&gt;Debug&lt;/string&gt;
-           &lt;/property&gt;
-          &lt;/item&gt;
-         &lt;/widget&gt;
-        &lt;/item&gt;
-       &lt;/layout&gt;
-      &lt;/widget&gt;
-     &lt;/item&gt;
-    &lt;/layout&gt;
</del><ins>+     &lt;/widget&gt;
+     &lt;widget class=&quot;QWidget&quot; name=&quot;tabExtensions&quot;&gt;
+      &lt;property name=&quot;enabled&quot;&gt;
+       &lt;bool&gt;true&lt;/bool&gt;
+      &lt;/property&gt;
+      &lt;attribute name=&quot;icon&quot;&gt;
+       &lt;iconset resource=&quot;resources.qrc&quot;&gt;
+        &lt;normaloff&gt;:/preferences/network-idle.png&lt;/normaloff&gt;:/preferences/network-idle.png&lt;/iconset&gt;
+      &lt;/attribute&gt;
+      &lt;attribute name=&quot;title&quot;&gt;
+       &lt;string&gt;Extensions&lt;/string&gt;
+      &lt;/attribute&gt;
+     &lt;/widget&gt;
+    &lt;/widget&gt;
</ins><span class="cx">    &lt;/item&gt;
</span><span class="cx">   &lt;/layout&gt;
</span><span class="cx">  &lt;/widget&gt;
</span><del>- &lt;resources/&gt;
</del><ins>+ &lt;resources&gt;
+  &lt;include location=&quot;resources.qrc&quot;/&gt;
+ &lt;/resources&gt;
</ins><span class="cx">  &lt;connections/&gt;
</span><span class="cx"> &lt;/ui&gt;
</span></span></pre></div>
<a id="freeswitchtrunkcontribjmesquitafsguiresourcesfs_guiui"></a>
<div class="modfile"><h4>Modified: freeswitch/trunk/contrib/jmesquita/fsgui/resources/fs_gui.ui (14297 => 14298)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/contrib/jmesquita/fsgui/resources/fs_gui.ui        2009-07-18 19:57:50 UTC (rev 14297)
+++ freeswitch/trunk/contrib/jmesquita/fsgui/resources/fs_gui.ui        2009-07-19 01:36:33 UTC (rev 14298)
</span><span class="lines">@@ -6,8 +6,8 @@
</span><span class="cx">    &lt;rect&gt;
</span><span class="cx">     &lt;x&gt;0&lt;/x&gt;
</span><span class="cx">     &lt;y&gt;0&lt;/y&gt;
</span><del>-    &lt;width&gt;296&lt;/width&gt;
-    &lt;height&gt;303&lt;/height&gt;
</del><ins>+    &lt;width&gt;728&lt;/width&gt;
+    &lt;height&gt;523&lt;/height&gt;
</ins><span class="cx">    &lt;/rect&gt;
</span><span class="cx">   &lt;/property&gt;
</span><span class="cx">   &lt;property name=&quot;windowTitle&quot;&gt;
</span><span class="lines">@@ -25,23 +25,9 @@
</span><span class="cx">       &lt;/property&gt;
</span><span class="cx">       &lt;widget class=&quot;QWidget&quot; name=&quot;tab&quot;&gt;
</span><span class="cx">        &lt;attribute name=&quot;title&quot;&gt;
</span><del>-        &lt;string&gt;Console&lt;/string&gt;
</del><ins>+        &lt;string&gt;Server Name&lt;/string&gt;
</ins><span class="cx">        &lt;/attribute&gt;
</span><del>-       &lt;layout class=&quot;QVBoxLayout&quot; name=&quot;verticalLayout&quot;&gt;
-        &lt;item&gt;
-         &lt;widget class=&quot;QTextEdit&quot; name=&quot;textConsole&quot;&gt;
-          &lt;property name=&quot;undoRedoEnabled&quot;&gt;
-           &lt;bool&gt;false&lt;/bool&gt;
-          &lt;/property&gt;
-          &lt;property name=&quot;readOnly&quot;&gt;
-           &lt;bool&gt;true&lt;/bool&gt;
-          &lt;/property&gt;
-          &lt;property name=&quot;textInteractionFlags&quot;&gt;
-           &lt;set&gt;Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse&lt;/set&gt;
-          &lt;/property&gt;
-         &lt;/widget&gt;
-        &lt;/item&gt;
-       &lt;/layout&gt;
</del><ins>+       &lt;layout class=&quot;QVBoxLayout&quot; name=&quot;verticalLayout&quot;/&gt;
</ins><span class="cx">       &lt;/widget&gt;
</span><span class="cx">       &lt;widget class=&quot;QWidget&quot; name=&quot;tab_2&quot;&gt;
</span><span class="cx">        &lt;property name=&quot;enabled&quot;&gt;
</span><span class="lines">@@ -60,7 +46,7 @@
</span><span class="cx">     &lt;rect&gt;
</span><span class="cx">      &lt;x&gt;0&lt;/x&gt;
</span><span class="cx">      &lt;y&gt;0&lt;/y&gt;
</span><del>-     &lt;width&gt;296&lt;/width&gt;
</del><ins>+     &lt;width&gt;728&lt;/width&gt;
</ins><span class="cx">      &lt;height&gt;26&lt;/height&gt;
</span><span class="cx">     &lt;/rect&gt;
</span><span class="cx">    &lt;/property&gt;
</span><span class="lines">@@ -147,7 +133,9 @@
</span><span class="cx">   &lt;/action&gt;
</span><span class="cx">  &lt;/widget&gt;
</span><span class="cx">  &lt;layoutdefault spacing=&quot;6&quot; margin=&quot;11&quot;/&gt;
</span><del>- &lt;resources/&gt;
</del><ins>+ &lt;resources&gt;
+  &lt;include location=&quot;resources.qrc&quot;/&gt;
+ &lt;/resources&gt;
</ins><span class="cx">  &lt;connections&gt;
</span><span class="cx">   &lt;connection&gt;
</span><span class="cx">    &lt;sender&gt;actionQuit&lt;/sender&gt;
</span></span></pre></div>
<a id="freeswitchtrunkcontribjmesquitafsguiresourcesnetworkidlepng"></a>
<div class="binary"><h4>Added: freeswitch/trunk/contrib/jmesquita/fsgui/resources/network-idle.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: freeswitch/trunk/contrib/jmesquita/fsgui/resources/network-idle.png
</span><span class="cx">___________________________________________________________________
</span><span class="cx">Name: svn:mime-type
</span><span class="cx">   + application/octet-stream
</span><a id="freeswitchtrunkcontribjmesquitafsguiresourcesresourcesqrc"></a>
<div class="modfile"><h4>Modified: freeswitch/trunk/contrib/jmesquita/fsgui/resources/resources.qrc (14297 => 14298)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/contrib/jmesquita/fsgui/resources/resources.qrc        2009-07-18 19:57:50 UTC (rev 14297)
+++ freeswitch/trunk/contrib/jmesquita/fsgui/resources/resources.qrc        2009-07-19 01:36:33 UTC (rev 14298)
</span><span class="lines">@@ -1,5 +1,6 @@
</span><span class="cx"> &lt;RCC&gt;
</span><del>-    &lt;qresource prefix=&quot;/preferences&quot; &gt;
-        &lt;file&gt;images/utilities-terminal.svg&lt;/file&gt;
-    &lt;/qresource&gt;
</del><ins>+  &lt;qresource prefix=&quot;/preferences&quot; &gt;
+    &lt;file&gt;network-idle.png&lt;/file&gt;
+    &lt;file&gt;images/utilities-terminal.svg&lt;/file&gt;
+  &lt;/qresource&gt;
</ins><span class="cx"> &lt;/RCC&gt;
</span></span></pre></div>
<a id="freeswitchtrunkcontribjmesquitafsguisrcconsolepagecpp"></a>
<div class="modfile"><h4>Modified: freeswitch/trunk/contrib/jmesquita/fsgui/src/consolepage.cpp (14297 => 14298)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/trunk/contrib/jmesquita/fsgui/src/consolepage.cpp        2009-07-18 19:57:50 UTC (rev 14297)
+++ freeswitch/trunk/contrib/jmesquita/fsgui/src/consolepage.cpp        2009-07-19 01:36:33 UTC (rev 14298)
</span><span class="lines">@@ -46,6 +46,7 @@
</span><span class="cx"> consolePage::consolePage(QWidget *parent) :
</span><span class="cx">     QWidget(parent),
</span><span class="cx">     m_ui(new Ui::consolePage),
</span><ins>+    eslConnection(NULL),
</ins><span class="cx">     histCompleter(new cmdHistory),
</span><span class="cx">     lineCmdEventFilter(new keyPressEventFilter(histCompleter))
</span><span class="cx"> {
</span><span class="lines">@@ -54,7 +55,9 @@
</span><span class="cx">             this, SLOT(loglevelChanged(int)));
</span><span class="cx">     setConsoleBackground();
</span><span class="cx">     m_ui-&gt;lineCmd-&gt;installEventFilter(lineCmdEventFilter);
</span><del>-        eslConnection = NULL;
</del><ins>+
+    /* Just for now */
+    m_ui-&gt;serverTabs-&gt;removeTab(1);
</ins><span class="cx"> }
</span><span class="cx"> consolePage::~consolePage()
</span><span class="cx"> {
</span><span class="lines">@@ -161,6 +164,9 @@
</span><span class="cx"> }
</span><span class="cx"> void consolePage::gotConnectedSlot()
</span><span class="cx"> {
</span><ins>+    QSettings settings(SETTINGS_ORGANIZATION, SETTINGS_APPLICATION);
+    m_ui-&gt;textConsole-&gt;setTextColor(settings.value(QString(&quot;Log-Level-0-Color&quot;), Qt::black).value&lt;QColor&gt;());
+
</ins><span class="cx">     appendConsoleText(tr(&quot;Connected!&quot;));
</span><span class="cx">     m_ui-&gt;lineCmd-&gt;setEnabled(eslConnection-&gt;connected());
</span><span class="cx">     m_ui-&gt;comboLogLevel-&gt;setEnabled(eslConnection-&gt;connected());
</span><span class="lines">@@ -171,6 +177,9 @@
</span><span class="cx"> }
</span><span class="cx"> void consolePage::gotDisconnectedSlot()
</span><span class="cx"> {
</span><ins>+    QSettings settings(SETTINGS_ORGANIZATION, SETTINGS_APPLICATION);
+    m_ui-&gt;textConsole-&gt;setTextColor(settings.value(QString(&quot;Log-Level-0-Color&quot;), Qt::black).value&lt;QColor&gt;());
+
</ins><span class="cx">     appendConsoleText(tr(&quot;Disconnected!&quot;));
</span><span class="cx">     m_ui-&gt;lineCmd-&gt;setEnabled(eslConnection-&gt;connected());
</span><span class="cx">     m_ui-&gt;comboLogLevel-&gt;setEnabled(eslConnection-&gt;connected());
</span><span class="lines">@@ -178,6 +187,9 @@
</span><span class="cx"> }
</span><span class="cx"> void consolePage::connectionFailedSlot(QString msg)
</span><span class="cx"> {
</span><ins>+    QSettings settings(SETTINGS_ORGANIZATION, SETTINGS_APPLICATION);
+    m_ui-&gt;textConsole-&gt;setTextColor(settings.value(QString(&quot;Log-Level-0-Color&quot;), Qt::black).value&lt;QColor&gt;());
+
</ins><span class="cx">     appendConsoleText(&quot;Connection Failed: &quot;+msg);
</span><span class="cx">     m_ui-&gt;lineCmd-&gt;setEnabled(eslConnection-&gt;connected());
</span><span class="cx">     m_ui-&gt;comboLogLevel-&gt;setEnabled(eslConnection-&gt;connected());
</span><span class="lines">@@ -185,7 +197,8 @@
</span><span class="cx"> }
</span><span class="cx"> void consolePage::gotEventSlot(ESLevent * event)
</span><span class="cx"> {
</span><del>-    m_ui-&gt;textConsole-&gt;setTextColor(Qt::black);
</del><ins>+    QSettings settings(SETTINGS_ORGANIZATION, SETTINGS_APPLICATION);
+    m_ui-&gt;textConsole-&gt;setTextColor(settings.value(QString(&quot;Log-Level-0-Color&quot;), Qt::black).value&lt;QColor&gt;());
</ins><span class="cx">     if (event-&gt;getBody())
</span><span class="cx">     {
</span><span class="cx">         QString text = event-&gt;getBody();
</span><span class="lines">@@ -201,9 +214,9 @@
</span><span class="cx"> }
</span><span class="cx"> void consolePage::gotConsoleEventSlot(ESLeventLog * event)
</span><span class="cx"> {
</span><del>-    m_ui-&gt;textConsole-&gt;setTextColor(event-&gt;getConsoleColor());
</del><span class="cx">     if (event-&gt;getBody())
</span><span class="cx">     {
</span><ins>+        m_ui-&gt;textConsole-&gt;setTextColor(event-&gt;getConsoleColor());
</ins><span class="cx">         QString text = event-&gt;getBody();
</span><span class="cx"> 
</span><span class="cx">         if (text.endsWith(&quot;\r\n&quot;))
</span><span class="lines">@@ -217,6 +230,8 @@
</span><span class="cx"> }
</span><span class="cx"> void consolePage::loglevelChanged(int loglevel)
</span><span class="cx"> {
</span><ins>+    QSettings settings(SETTINGS_ORGANIZATION, SETTINGS_APPLICATION);
+    m_ui-&gt;textConsole-&gt;setTextColor(settings.value(QString(&quot;Log-Level-0-Color&quot;), Qt::black).value&lt;QColor&gt;());
</ins><span class="cx">     if (!eslConnection-&gt;connected())
</span><span class="cx">     {
</span><span class="cx">         appendConsoleText(QString(&quot;Cannot change loglevel if not connected.&quot;));
</span></span></pre>
</div>
</div>
<div id="footer">See you at ClueCon</div>

</body>
</html>