summaryrefslogtreecommitdiff
path: root/2024-03-27-012041-5213-1@78903120e74d_master
diff options
context:
space:
mode:
Diffstat (limited to '2024-03-27-012041-5213-1@78903120e74d_master')
-rw-r--r--2024-03-27-012041-5213-1@78903120e74d_master/index.html132
-rw-r--r--2024-03-27-012041-5213-1@78903120e74d_master/report-198a90.html1870
-rw-r--r--2024-03-27-012041-5213-1@78903120e74d_master/report-22051c.html9672
-rw-r--r--2024-03-27-012041-5213-1@78903120e74d_master/report-281643.html1776
-rw-r--r--2024-03-27-012041-5213-1@78903120e74d_master/report-41f5bf.html1083
-rw-r--r--2024-03-27-012041-5213-1@78903120e74d_master/report-4a22f4.html9673
-rw-r--r--2024-03-27-012041-5213-1@78903120e74d_master/report-4de11e.html1225
-rw-r--r--2024-03-27-012041-5213-1@78903120e74d_master/report-5b979e.html1267
-rw-r--r--2024-03-27-012041-5213-1@78903120e74d_master/report-8954c3.html1121
-rw-r--r--2024-03-27-012041-5213-1@78903120e74d_master/report-b8f564.html2089
-rw-r--r--2024-03-27-012041-5213-1@78903120e74d_master/report-cafb08.html1265
-rw-r--r--2024-03-27-012041-5213-1@78903120e74d_master/report-cf3974.html2089
-rw-r--r--2024-03-27-012041-5213-1@78903120e74d_master/scanview.css62
-rw-r--r--2024-03-27-012041-5213-1@78903120e74d_master/sorttable.js492
14 files changed, 33816 insertions, 0 deletions
diff --git a/2024-03-27-012041-5213-1@78903120e74d_master/index.html b/2024-03-27-012041-5213-1@78903120e74d_master/index.html
new file mode 100644
index 0000000..a3397e6
--- /dev/null
+++ b/2024-03-27-012041-5213-1@78903120e74d_master/index.html
@@ -0,0 +1,132 @@
+<html>
+<head>
+<title>rootdir - scan-build results</title>
+<link type="text/css" rel="stylesheet" href="scanview.css"/>
+<script src="sorttable.js"></script>
+<script language='javascript' type="text/javascript">
+function SetDisplay(RowClass, DisplayVal)
+{
+ var Rows = document.getElementsByTagName("tr");
+ for ( var i = 0 ; i < Rows.length; ++i ) {
+ if (Rows[i].className == RowClass) {
+ Rows[i].style.display = DisplayVal;
+ }
+ }
+}
+
+function CopyCheckedStateToCheckButtons(SummaryCheckButton) {
+ var Inputs = document.getElementsByTagName("input");
+ for ( var i = 0 ; i < Inputs.length; ++i ) {
+ if (Inputs[i].type == "checkbox") {
+ if(Inputs[i] != SummaryCheckButton) {
+ Inputs[i].checked = SummaryCheckButton.checked;
+ Inputs[i].onclick();
+ }
+ }
+ }
+}
+
+function returnObjById( id ) {
+ if (document.getElementById)
+ var returnVar = document.getElementById(id);
+ else if (document.all)
+ var returnVar = document.all[id];
+ else if (document.layers)
+ var returnVar = document.layers[id];
+ return returnVar;
+}
+
+var NumUnchecked = 0;
+
+function ToggleDisplay(CheckButton, ClassName) {
+ if (CheckButton.checked) {
+ SetDisplay(ClassName, "");
+ if (--NumUnchecked == 0) {
+ returnObjById("AllBugsCheck").checked = true;
+ }
+ }
+ else {
+ SetDisplay(ClassName, "none");
+ NumUnchecked++;
+ returnObjById("AllBugsCheck").checked = false;
+ }
+}
+</script>
+<!-- SUMMARYENDHEAD -->
+</head>
+<body>
+<h1>rootdir - scan-build results</h1>
+
+<table>
+<tr><th>User:</th><td>root@562acb81c9e0</td></tr>
+<tr><th>Working Directory:</th><td>/rootdir</td></tr>
+<tr><th>Command Line:</th><td>make -j 3</td></tr>
+<tr><th>Clang Version:</th><td>clang version 17.0.6 (Fedora 17.0.6-2.fc39)
+</td></tr>
+<tr><th>Date:</th><td>Wed Mar 27 01:20:41 2024</td></tr>
+</table>
+<h2>Bug Summary</h2><table>
+<thead><tr><td>Bug Type</td><td>Quantity</td><td class="sorttable_nosort">Display?</td></tr></thead>
+<tr style="font-weight:bold"><td class="SUMM_DESC">All Bugs</td><td class="Q">11</td><td><center><input type="checkbox" id="AllBugsCheck" onClick="CopyCheckedStateToCheckButtons(this);" checked/></center></td></tr>
+<tr><th>API</th><th colspan=2></th></tr>
+<tr><td class="SUMM_DESC">Argument with 'nonnull' attribute passed null</td><td class="Q">2</td><td><center><input type="checkbox" onClick="ToggleDisplay(this,'bt_api_argument_with_nonnull_attribute_passed_null');" checked/></center></td></tr>
+<tr><th>Logic error</th><th colspan=2></th></tr>
+<tr><td class="SUMM_DESC">Cast from non-struct type to struct type</td><td class="Q">2</td><td><center><input type="checkbox" onClick="ToggleDisplay(this,'bt_logic_error_cast_from_non-struct_type_to_struct_type');" checked/></center></td></tr>
+<tr><td class="SUMM_DESC">Dereference of null pointer</td><td class="Q">2</td><td><center><input type="checkbox" onClick="ToggleDisplay(this,'bt_logic_error_dereference_of_null_pointer');" checked/></center></td></tr>
+<tr><td class="SUMM_DESC">Out-of-bound access</td><td class="Q">2</td><td><center><input type="checkbox" onClick="ToggleDisplay(this,'bt_logic_error_out-of-bound_access');" checked/></center></td></tr>
+<tr><td class="SUMM_DESC">Result of operation is garbage or undefined</td><td class="Q">1</td><td><center><input type="checkbox" onClick="ToggleDisplay(this,'bt_logic_error_result_of_operation_is_garbage_or_undefined');" checked/></center></td></tr>
+<tr><th>Unused code</th><th colspan=2></th></tr>
+<tr><td class="SUMM_DESC">Dead assignment</td><td class="Q">1</td><td><center><input type="checkbox" onClick="ToggleDisplay(this,'bt_unused_code_dead_assignment');" checked/></center></td></tr>
+<tr><td class="SUMM_DESC">Dead nested assignment</td><td class="Q">1</td><td><center><input type="checkbox" onClick="ToggleDisplay(this,'bt_unused_code_dead_nested_assignment');" checked/></center></td></tr>
+</table>
+<h2>Reports</h2>
+
+<table class="sortable" style="table-layout:automatic">
+<thead><tr>
+ <td>Bug Group</td>
+ <td class="sorttable_sorted">Bug Type<span id="sorttable_sortfwdind">&nbsp;&#x25BE;</span></td>
+ <td>File</td>
+ <td>Function/Method</td>
+ <td class="Q">Line</td>
+ <td class="Q">Path Length</td>
+ <td class="sorttable_nosort"></td>
+ <!-- REPORTBUGCOL -->
+</tr></thead>
+<tbody>
+<tr class="bt_api_argument_with_nonnull_attribute_passed_null"><td class="DESC">API</td><td class="DESC">Argument with 'nonnull' attribute passed null</td><td>src/fr-window.c</td><td class="DESC">rename_selection</td><td class="Q">7378</td><td class="Q">26</td><td><a href="report-22051c.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-22051c.html" -->
+</tr>
+<tr class="bt_api_argument_with_nonnull_attribute_passed_null"><td class="DESC">API</td><td class="DESC">Argument with 'nonnull' attribute passed null</td><td>src/fr-window.c</td><td class="DESC">rename_selection</td><td class="Q">7378</td><td class="Q">26</td><td><a href="report-4a22f4.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-4a22f4.html" -->
+</tr>
+<tr class="bt_logic_error_cast_from_non-struct_type_to_struct_type"><td class="DESC">Logic error</td><td class="DESC">Cast from non-struct type to struct type</td><td>mate-submodules/libegg/eggsmclient-xsmp.c</td><td class="DESC">array_prop</td><td class="Q">1199</td><td class="Q">1</td><td><a href="report-b8f564.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-b8f564.html" -->
+</tr>
+<tr class="bt_logic_error_cast_from_non-struct_type_to_struct_type"><td class="DESC">Logic error</td><td class="DESC">Cast from non-struct type to struct type</td><td>mate-submodules/libegg/eggsmclient-xsmp.c</td><td class="DESC">ptrarray_prop</td><td class="Q">1232</td><td class="Q">1</td><td><a href="report-cf3974.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-cf3974.html" -->
+</tr>
+<tr class="bt_unused_code_dead_assignment"><td class="DESC">Unused code</td><td class="DESC">Dead assignment</td><td>src/fr-process.c</td><td class="DESC">fr_close_suspend_process</td><td class="Q">1006</td><td class="Q">1</td><td><a href="report-281643.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-281643.html" -->
+</tr>
+<tr class="bt_unused_code_dead_nested_assignment"><td class="DESC">Unused code</td><td class="DESC">Dead nested assignment</td><td>src/java-utils.c</td><td class="DESC">get_package_name_from_class_file</td><td class="Q">254</td><td class="Q">1</td><td><a href="report-8954c3.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-8954c3.html" -->
+</tr>
+<tr class="bt_logic_error_dereference_of_null_pointer"><td class="DESC">Logic error</td><td class="DESC">Dereference of null pointer</td><td>src/file-utils.c</td><td class="DESC">ensure_dir_exists</td><td class="Q">483</td><td class="Q">19</td><td><a href="report-198a90.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-198a90.html" -->
+</tr>
+<tr class="bt_logic_error_dereference_of_null_pointer"><td class="DESC">Logic error</td><td class="DESC">Dereference of null pointer</td><td>src/dlg-update.c</td><td class="DESC">update_file_list</td><td class="Q">149</td><td class="Q">8</td><td><a href="report-41f5bf.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-41f5bf.html" -->
+</tr>
+<tr class="bt_logic_error_out-of-bound_access"><td class="DESC">Logic error</td><td class="DESC">Out-of-bound access</td><td>src/glib-utils.c</td><td class="DESC">search_util_get_regexps</td><td class="Q">351</td><td class="Q">5</td><td><a href="report-4de11e.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-4de11e.html" -->
+</tr>
+<tr class="bt_logic_error_out-of-bound_access"><td class="DESC">Logic error</td><td class="DESC">Out-of-bound access</td><td>src/glib-utils.c</td><td class="DESC">g_utf8_strsplit</td><td class="Q">221</td><td class="Q">21</td><td><a href="report-cafb08.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-cafb08.html" -->
+</tr>
+<tr class="bt_logic_error_result_of_operation_is_garbage_or_undefined"><td class="DESC">Logic error</td><td class="DESC">Result of operation is garbage or undefined</td><td>src/glib-utils.c</td><td class="DESC">search_util_get_patterns</td><td class="Q">324</td><td class="Q">23</td><td><a href="report-5b979e.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-5b979e.html" -->
+</tr>
+</tbody>
+</table>
+
+</body></html>
diff --git a/2024-03-27-012041-5213-1@78903120e74d_master/report-198a90.html b/2024-03-27-012041-5213-1@78903120e74d_master/report-198a90.html
new file mode 100644
index 0000000..db4f79a
--- /dev/null
+++ b/2024-03-27-012041-5213-1@78903120e74d_master/report-198a90.html
@@ -0,0 +1,1870 @@
+<!doctype html>
+<html>
+<head>
+<title>file-utils.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC Access to field 'message' results in a dereference of a null pointer -->
+
+<!-- BUGTYPE Dereference of null pointer -->
+
+<!-- BUGCATEGORY Logic error -->
+
+<!-- BUGFILE /rootdir/src/file-utils.c -->
+
+<!-- FILENAME file-utils.c -->
+
+<!-- FUNCTIONNAME ensure_dir_exists -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT 198a90a04fc1584bff290178632ad288 -->
+
+<!-- BUGLINE 483 -->
+
+<!-- BUGCOLUMN 52 -->
+
+<!-- BUGPATHLENGTH 19 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>src/file-utils.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 483, column 52</a><br />Access to field 'message' results in a dereference of a null pointer</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name file-utils.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/src -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I .. -I ../mate-submodules/libegg/ -I .. -I .. -D ENGRAMPA_RESOURCE_UI_PATH="/org/mate/Engrampa/ui" -D FR_PREFIX="/usr/local" -D FR_SYSCONFDIR="/usr/local/etc" -D FR_DATADIR="/usr/local/share" -D PRIVDATADIR="/usr/local/share/engrampa/" -D FR_LIBDIR="/usr/local/lib" -D PKG_DATA_DIR="/usr/local/share/engrampa" -D PIXMAPSDIR="/usr/local/share/pixmaps" -D GLADEDIR="" -D LOCALEDIR="/usr/local/share/locale" -D SHDIR="/usr/local/libexec/engrampa/" -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/cairo -I /usr/include/gio-unix-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/libmount -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/fribidi -I /usr/include/sysprof-6 -I /usr/include/libpng16 -I /usr/include/json-glib-1.0 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/libmount -I /usr/include/blkid -I /usr/include/sysprof-6 -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-unused-parameter -fdebug-compilation-dir=/rootdir/src -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2024-03-27-012041-5213-1 -x c file-utils.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"431": 1, "432": 1, "433": 1, "434": 1, "435": 1, "436": 1, "437": 1, "439": 1, "442": 1, "443": 1, "450": 1, "451": 1, "456": 1, "464": 1, "467": 1, "468": 1, "469": 1, "470": 1, "471": 1, "472": 1, "473": 1, "475": 1, "478": 1, "481": 1, "482": 1, "483": 1, "492": 1, "493": 1, "494": 1, "495": 1, "496": 1, "497": 1, "498": 1, "500": 1, "501": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+ <path class="arrow" id="arrow0"/>
+ <path class="arrow" id="arrow1"/>
+ <path class="arrow" id="arrow2"/>
+ <path class="arrow" id="arrow3"/>
+ <path class="arrow" id="arrow4"/>
+ <path class="arrow" id="arrow5"/>
+ <path class="arrow" id="arrow6"/>
+ <path class="arrow" id="arrow7"/>
+ <path class="arrow" id="arrow8"/>
+ <path class="arrow" id="arrow9"/>
+ <path class="arrow" id="arrow10"/>
+ <path class="arrow" id="arrow11"/>
+ <path class="arrow" id="arrow12"/>
+ <path class="arrow" id="arrow13"/>
+ <path class="arrow" id="arrow14"/>
+ <path class="arrow" id="arrow15"/>
+ <path class="arrow" id="arrow16"/>
+ <path class="arrow" id="arrow17"/>
+ <path class="arrow" id="arrow18"/>
+ <path class="arrow" id="arrow19"/>
+ <path class="arrow" id="arrow20"/>
+ <path class="arrow" id="arrow21"/>
+ <path class="arrow" id="arrow22"/>
+ <path class="arrow" id="arrow23"/>
+ <path class="arrow" id="arrow24"/>
+ <path class="arrow" id="arrow25"/>
+ <path class="arrow" id="arrow26"/>
+ <path class="arrow" id="arrow27"/>
+ <path class="arrow" id="arrow28"/>
+ <path class="arrow" id="arrow29"/>
+ <path class="arrow" id="arrow30"/>
+ <path class="arrow" id="arrow31"/>
+ <path class="arrow" id="arrow32"/>
+ <path class="arrow" id="arrow33"/>
+ <path class="arrow" id="arrow34"/>
+ <path class="arrow" id="arrow35"/>
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 36,34,31,29,29,27,24,21,20,18,15,13,12,8,6,4,3,1,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"><span class='comment'>/*</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>* Engrampa</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>* Copyright (C) 2001, 2003 Free Software Foundation, Inc.</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>* This program is free software; you can redistribute it and/or modify</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>* it under the terms of the GNU General Public License as published by</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>* the Free Software Foundation; either version 2 of the License, or</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>* (at your option) any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>* This program is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>* GNU General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>* You should have received a copy of the GNU General Public License</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>* along with this program; if not, write to the Free Software</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> <span class='comment'>* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"><span class='directive'>#define <span class='macro'>_XOPEN_SOURCE<span class='macro_popup'>700</span></span> 700</span></td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"><span class='directive'>#include &lt;config.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#include &lt;pwd.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"><span class='directive'>#include &lt;stdio.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"><span class='directive'>#include &lt;stdlib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#include &lt;string.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"><span class='directive'>#include &lt;strings.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"><span class='directive'>#include &lt;ctype.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"><span class='directive'>#include &lt;time.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"><span class='directive'>#include &lt;unistd.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"><span class='directive'>#include &lt;strings.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"><span class='directive'>#include &lt;sys/param.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"><span class='directive'>#include &lt;sys/stat.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line"><span class='directive'>#include &lt;sys/time.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line"><span class='directive'>#include &lt;sys/types.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"><span class='directive'>#include &lt;dirent.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line"><span class='directive'>#include &lt;glib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"><span class='directive'>#include &lt;gio/gio.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"><span class='directive'>#include "file-utils.h"</span></td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"><span class='directive'>#include "glib-utils.h"</span></td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line"><span class='directive'>#include "fr-init.h"</span></td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"><span class='directive'>#define <span class='macro'>SPECIAL_DIR(x)<span class='macro_popup'>((strcmp ((x), "..") == 0) || (strcmp ((x), ".") == 0))</span></span> ((strcmp ((x), "..") == 0) || (strcmp ((x), ".") == 0))</span></td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line">uri_exists (<span class='keyword'>const</span> <span class='keyword'>char</span> *uri)</td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line"> gboolean exists;</td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"> <span class='keyword'>if</span> (uri == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line"> file = g_file_new_for_uri (uri);</td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line"> exists = g_file_query_exists (file, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line"> <span class='keyword'>return</span> exists;</td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line">uri_is_filetype (<span class='keyword'>const</span> <span class='keyword'>char</span> *uri,</td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"> GFileType file_type)</td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line"> gboolean result = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line"> GFileInfo *info;</td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line"> file = g_file_new_for_uri (uri);</td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line"> <span class='keyword'>if</span> (! g_file_query_exists (file, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line"> info = g_file_query_info (file, <span class='macro'>G_FILE_ATTRIBUTE_STANDARD_TYPE<span class='macro_popup'>"standard::type"</span></span>, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, &amp;error);</td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"> <span class='keyword'>if</span> (error == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"> result = (g_file_info_get_file_type (info) == file_type);</td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line"> g_warning (<span class='string_literal'>"Failed to get file type for uri %s: %s"</span>, uri, error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line"> g_error_free (error);</td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line"> g_object_unref (info);</td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line">uri_is_file (<span class='keyword'>const</span> <span class='keyword'>char</span> *uri)</td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line"> <span class='keyword'>return</span> uri_is_filetype (uri, G_FILE_TYPE_REGULAR);</td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line">uri_is_dir (<span class='keyword'>const</span> <span class='keyword'>char</span> *uri)</td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"> <span class='keyword'>return</span> uri_is_filetype (uri, G_FILE_TYPE_DIRECTORY);</td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line">path_is_dir (<span class='keyword'>const</span> <span class='keyword'>char</span> *path)</td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line"> <span class='keyword'>char</span> *uri;</td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line"> gboolean result;</td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> uri = g_filename_to_uri (path, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line"> result = uri_is_dir (uri);</td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line"> g_free (uri);</td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line">uri_is_local (<span class='keyword'>const</span> <span class='keyword'>char</span> *uri)</td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"> <span class='keyword'>return</span> strncmp (uri, <span class='string_literal'>"file://"</span>, 7) == 0;</td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"><span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line">get_dir_content_if_unique (<span class='keyword'>const</span> <span class='keyword'>char</span> *uri)</td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"> GFileEnumerator *file_enum;</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"> GFileInfo *info;</td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"> GError *err = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> <span class='keyword'>char</span> *content_uri = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> file = g_file_new_for_uri (uri);</td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line"> <span class='keyword'>if</span> (! g_file_query_exists (file, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"> file_enum = g_file_enumerate_children (file, <span class='macro'>G_FILE_ATTRIBUTE_STANDARD_NAME<span class='macro_popup'>"standard::name"</span></span>, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, &amp;err);</td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line"> <span class='keyword'>if</span> (err != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line"> g_warning (<span class='string_literal'>"Failed to enumerate children of %s: %s"</span>, uri, err-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line"> g_error_free (err);</td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line"> <span class='keyword'>while</span> ((info = g_file_enumerator_next_file (file_enum, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, &amp;err)) != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *name;</td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line"> <span class='keyword'>char</span> *new_name;</td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line"> <span class='keyword'>if</span> (err != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line"> g_warning (<span class='string_literal'>"Failed to get info while enumerating children: %s"</span>, err-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"> g_clear_error (&amp;err);</td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line"> g_object_unref (info);</td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> name = g_file_info_get_name (info);</td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"> <span class='keyword'>if</span> ((strcmp (name, <span class='string_literal'>"."</span>) == 0) || (strcmp (name, <span class='string_literal'>".."</span>) == 0)) {</td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> g_object_unref (info);</td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> <span class='keyword'>if</span> (content_uri != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line"> g_free (content_uri);</td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line"> g_object_unref (info);</td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"> content_uri = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"> new_name = g_uri_escape_string (name, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"> content_uri = build_uri (uri, new_name, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line"> g_object_unref (info);</td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> g_free (new_name);</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"> <span class='keyword'>if</span> (err != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"> g_warning (<span class='string_literal'>"Failed to get info after enumerating children: %s"</span>, err-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"> g_clear_error (&amp;err);</td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="185"><td class="num" id="LN185">185</td><td class="line"> g_object_unref (file_enum);</td></tr>
+<tr class="codeline" data-linenumber="186"><td class="num" id="LN186">186</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="187"><td class="num" id="LN187">187</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="188"><td class="num" id="LN188">188</td><td class="line"> <span class='keyword'>return</span> content_uri;</td></tr>
+<tr class="codeline" data-linenumber="189"><td class="num" id="LN189">189</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="190"><td class="num" id="LN190">190</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="191"><td class="num" id="LN191">191</td><td class="line"><span class='comment'>/* Check whether the dirname is contained in filename */</span></td></tr>
+<tr class="codeline" data-linenumber="192"><td class="num" id="LN192">192</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="193"><td class="num" id="LN193">193</td><td class="line">path_in_path (<span class='keyword'>const</span> <span class='keyword'>char</span> *dirname,</td></tr>
+<tr class="codeline" data-linenumber="194"><td class="num" id="LN194">194</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *filename)</td></tr>
+<tr class="codeline" data-linenumber="195"><td class="num" id="LN195">195</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="196"><td class="num" id="LN196">196</td><td class="line"> <span class='keyword'>int</span> dirname_l, filename_l, separator_position;</td></tr>
+<tr class="codeline" data-linenumber="197"><td class="num" id="LN197">197</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="198"><td class="num" id="LN198">198</td><td class="line"> <span class='keyword'>if</span> ((dirname == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) || (filename == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="199"><td class="num" id="LN199">199</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="200"><td class="num" id="LN200">200</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="201"><td class="num" id="LN201">201</td><td class="line"> dirname_l = strlen (dirname);</td></tr>
+<tr class="codeline" data-linenumber="202"><td class="num" id="LN202">202</td><td class="line"> filename_l = strlen (filename);</td></tr>
+<tr class="codeline" data-linenumber="203"><td class="num" id="LN203">203</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="204"><td class="num" id="LN204">204</td><td class="line"> <span class='keyword'>if</span> ((dirname_l == filename_l + 1)</td></tr>
+<tr class="codeline" data-linenumber="205"><td class="num" id="LN205">205</td><td class="line"> &amp;&amp; (dirname[dirname_l - 1] == '/'))</td></tr>
+<tr class="codeline" data-linenumber="206"><td class="num" id="LN206">206</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="207"><td class="num" id="LN207">207</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="208"><td class="num" id="LN208">208</td><td class="line"> <span class='keyword'>if</span> ((filename_l == dirname_l + 1)</td></tr>
+<tr class="codeline" data-linenumber="209"><td class="num" id="LN209">209</td><td class="line"> &amp;&amp; (filename[filename_l - 1] == '/'))</td></tr>
+<tr class="codeline" data-linenumber="210"><td class="num" id="LN210">210</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="211"><td class="num" id="LN211">211</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="212"><td class="num" id="LN212">212</td><td class="line"> <span class='keyword'>if</span> (dirname[dirname_l - 1] == '/')</td></tr>
+<tr class="codeline" data-linenumber="213"><td class="num" id="LN213">213</td><td class="line"> separator_position = dirname_l - 1;</td></tr>
+<tr class="codeline" data-linenumber="214"><td class="num" id="LN214">214</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="215"><td class="num" id="LN215">215</td><td class="line"> separator_position = dirname_l;</td></tr>
+<tr class="codeline" data-linenumber="216"><td class="num" id="LN216">216</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="217"><td class="num" id="LN217">217</td><td class="line"> <span class='keyword'>return</span> ((filename_l &gt; dirname_l)</td></tr>
+<tr class="codeline" data-linenumber="218"><td class="num" id="LN218">218</td><td class="line"> &amp;&amp; (strncmp (dirname, filename, dirname_l) == 0)</td></tr>
+<tr class="codeline" data-linenumber="219"><td class="num" id="LN219">219</td><td class="line"> &amp;&amp; (filename[separator_position] == '/'));</td></tr>
+<tr class="codeline" data-linenumber="220"><td class="num" id="LN220">220</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="221"><td class="num" id="LN221">221</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="222"><td class="num" id="LN222">222</td><td class="line">goffset</td></tr>
+<tr class="codeline" data-linenumber="223"><td class="num" id="LN223">223</td><td class="line">get_file_size (<span class='keyword'>const</span> <span class='keyword'>char</span> *uri)</td></tr>
+<tr class="codeline" data-linenumber="224"><td class="num" id="LN224">224</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="225"><td class="num" id="LN225">225</td><td class="line"> goffset size = 0;</td></tr>
+<tr class="codeline" data-linenumber="226"><td class="num" id="LN226">226</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="227"><td class="num" id="LN227">227</td><td class="line"> GFileInfo *info;</td></tr>
+<tr class="codeline" data-linenumber="228"><td class="num" id="LN228">228</td><td class="line"> GError *err = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="229"><td class="num" id="LN229">229</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="230"><td class="num" id="LN230">230</td><td class="line"> <span class='keyword'>if</span> ((uri == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) || (*uri == '\0'))</td></tr>
+<tr class="codeline" data-linenumber="231"><td class="num" id="LN231">231</td><td class="line"> <span class='keyword'>return</span> 0;</td></tr>
+<tr class="codeline" data-linenumber="232"><td class="num" id="LN232">232</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="233"><td class="num" id="LN233">233</td><td class="line"> file = g_file_new_for_uri (uri);</td></tr>
+<tr class="codeline" data-linenumber="234"><td class="num" id="LN234">234</td><td class="line"> info = g_file_query_info (file, <span class='macro'>G_FILE_ATTRIBUTE_STANDARD_SIZE<span class='macro_popup'>"standard::size"</span></span>, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, &amp;err);</td></tr>
+<tr class="codeline" data-linenumber="235"><td class="num" id="LN235">235</td><td class="line"> <span class='keyword'>if</span> (err == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="236"><td class="num" id="LN236">236</td><td class="line"> size = g_file_info_get_size (info);</td></tr>
+<tr class="codeline" data-linenumber="237"><td class="num" id="LN237">237</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="238"><td class="num" id="LN238">238</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="239"><td class="num" id="LN239">239</td><td class="line"> g_warning (<span class='string_literal'>"Failed to get file size for %s: %s"</span>, uri, err-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="240"><td class="num" id="LN240">240</td><td class="line"> g_error_free (err);</td></tr>
+<tr class="codeline" data-linenumber="241"><td class="num" id="LN241">241</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="242"><td class="num" id="LN242">242</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="243"><td class="num" id="LN243">243</td><td class="line"> g_object_unref (info);</td></tr>
+<tr class="codeline" data-linenumber="244"><td class="num" id="LN244">244</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="245"><td class="num" id="LN245">245</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="246"><td class="num" id="LN246">246</td><td class="line"> <span class='keyword'>return</span> size;</td></tr>
+<tr class="codeline" data-linenumber="247"><td class="num" id="LN247">247</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="248"><td class="num" id="LN248">248</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="249"><td class="num" id="LN249">249</td><td class="line">goffset</td></tr>
+<tr class="codeline" data-linenumber="250"><td class="num" id="LN250">250</td><td class="line">get_file_size_for_path (<span class='keyword'>const</span> <span class='keyword'>char</span> *path)</td></tr>
+<tr class="codeline" data-linenumber="251"><td class="num" id="LN251">251</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="252"><td class="num" id="LN252">252</td><td class="line"> <span class='keyword'>char</span> *uri;</td></tr>
+<tr class="codeline" data-linenumber="253"><td class="num" id="LN253">253</td><td class="line"> goffset result;</td></tr>
+<tr class="codeline" data-linenumber="254"><td class="num" id="LN254">254</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="255"><td class="num" id="LN255">255</td><td class="line"> uri = g_filename_to_uri (path, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="256"><td class="num" id="LN256">256</td><td class="line"> result = get_file_size (uri);</td></tr>
+<tr class="codeline" data-linenumber="257"><td class="num" id="LN257">257</td><td class="line"> g_free (uri);</td></tr>
+<tr class="codeline" data-linenumber="258"><td class="num" id="LN258">258</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="259"><td class="num" id="LN259">259</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="260"><td class="num" id="LN260">260</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="261"><td class="num" id="LN261">261</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="262"><td class="num" id="LN262">262</td><td class="line"><span class='keyword'>static</span> time_t</td></tr>
+<tr class="codeline" data-linenumber="263"><td class="num" id="LN263">263</td><td class="line">get_file_time_type (<span class='keyword'>const</span> <span class='keyword'>char</span> *uri,</td></tr>
+<tr class="codeline" data-linenumber="264"><td class="num" id="LN264">264</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *type)</td></tr>
+<tr class="codeline" data-linenumber="265"><td class="num" id="LN265">265</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="266"><td class="num" id="LN266">266</td><td class="line"> time_t result = 0;</td></tr>
+<tr class="codeline" data-linenumber="267"><td class="num" id="LN267">267</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="268"><td class="num" id="LN268">268</td><td class="line"> GFileInfo *info;</td></tr>
+<tr class="codeline" data-linenumber="269"><td class="num" id="LN269">269</td><td class="line"> GError *err = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="270"><td class="num" id="LN270">270</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="271"><td class="num" id="LN271">271</td><td class="line"> <span class='keyword'>if</span> ((uri == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) || (*uri == '\0'))</td></tr>
+<tr class="codeline" data-linenumber="272"><td class="num" id="LN272">272</td><td class="line"> <span class='keyword'>return</span> 0;</td></tr>
+<tr class="codeline" data-linenumber="273"><td class="num" id="LN273">273</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="274"><td class="num" id="LN274">274</td><td class="line"> file = g_file_new_for_uri (uri);</td></tr>
+<tr class="codeline" data-linenumber="275"><td class="num" id="LN275">275</td><td class="line"> info = g_file_query_info (file, type, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, &amp;err);</td></tr>
+<tr class="codeline" data-linenumber="276"><td class="num" id="LN276">276</td><td class="line"> <span class='keyword'>if</span> (err == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="277"><td class="num" id="LN277">277</td><td class="line"> result = (time_t) g_file_info_get_attribute_uint64 (info, type);</td></tr>
+<tr class="codeline" data-linenumber="278"><td class="num" id="LN278">278</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="279"><td class="num" id="LN279">279</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="280"><td class="num" id="LN280">280</td><td class="line"> g_warning (<span class='string_literal'>"Failed to get %s: %s"</span>, type, err-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="281"><td class="num" id="LN281">281</td><td class="line"> g_error_free (err);</td></tr>
+<tr class="codeline" data-linenumber="282"><td class="num" id="LN282">282</td><td class="line"> result = 0;</td></tr>
+<tr class="codeline" data-linenumber="283"><td class="num" id="LN283">283</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="284"><td class="num" id="LN284">284</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="285"><td class="num" id="LN285">285</td><td class="line"> g_object_unref (info);</td></tr>
+<tr class="codeline" data-linenumber="286"><td class="num" id="LN286">286</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="287"><td class="num" id="LN287">287</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="288"><td class="num" id="LN288">288</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="289"><td class="num" id="LN289">289</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="290"><td class="num" id="LN290">290</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="291"><td class="num" id="LN291">291</td><td class="line">time_t</td></tr>
+<tr class="codeline" data-linenumber="292"><td class="num" id="LN292">292</td><td class="line">get_file_mtime (<span class='keyword'>const</span> <span class='keyword'>char</span> *uri)</td></tr>
+<tr class="codeline" data-linenumber="293"><td class="num" id="LN293">293</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="294"><td class="num" id="LN294">294</td><td class="line"> <span class='keyword'>return</span> get_file_time_type (uri, <span class='macro'>G_FILE_ATTRIBUTE_TIME_MODIFIED<span class='macro_popup'>"time::modified"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="295"><td class="num" id="LN295">295</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="296"><td class="num" id="LN296">296</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="297"><td class="num" id="LN297">297</td><td class="line">time_t</td></tr>
+<tr class="codeline" data-linenumber="298"><td class="num" id="LN298">298</td><td class="line">get_file_mtime_for_path (<span class='keyword'>const</span> <span class='keyword'>char</span> *path)</td></tr>
+<tr class="codeline" data-linenumber="299"><td class="num" id="LN299">299</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="300"><td class="num" id="LN300">300</td><td class="line"> <span class='keyword'>char</span> *uri;</td></tr>
+<tr class="codeline" data-linenumber="301"><td class="num" id="LN301">301</td><td class="line"> time_t result;</td></tr>
+<tr class="codeline" data-linenumber="302"><td class="num" id="LN302">302</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="303"><td class="num" id="LN303">303</td><td class="line"> uri = g_filename_to_uri (path, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="304"><td class="num" id="LN304">304</td><td class="line"> result = get_file_mtime (uri);</td></tr>
+<tr class="codeline" data-linenumber="305"><td class="num" id="LN305">305</td><td class="line"> g_free (uri);</td></tr>
+<tr class="codeline" data-linenumber="306"><td class="num" id="LN306">306</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="307"><td class="num" id="LN307">307</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="308"><td class="num" id="LN308">308</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="309"><td class="num" id="LN309">309</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="310"><td class="num" id="LN310">310</td><td class="line"><span class='comment'>/* like g_path_get_basename but does not warn about NULL and does not</span></td></tr>
+<tr class="codeline" data-linenumber="311"><td class="num" id="LN311">311</td><td class="line"> <span class='comment'>* alloc a new string. */</span></td></tr>
+<tr class="codeline" data-linenumber="312"><td class="num" id="LN312">312</td><td class="line"><span class='keyword'>const</span> gchar* file_name_from_path(<span class='keyword'>const</span> gchar *file_name)</td></tr>
+<tr class="codeline" data-linenumber="313"><td class="num" id="LN313">313</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="314"><td class="num" id="LN314">314</td><td class="line"> <span class='keyword'>register</span> <span class='keyword'>char</span> *base;</td></tr>
+<tr class="codeline" data-linenumber="315"><td class="num" id="LN315">315</td><td class="line"> <span class='keyword'>register</span> gssize last_char;</td></tr>
+<tr class="codeline" data-linenumber="316"><td class="num" id="LN316">316</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="317"><td class="num" id="LN317">317</td><td class="line"> <span class='keyword'>if</span> (file_name == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="318"><td class="num" id="LN318">318</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="319"><td class="num" id="LN319">319</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="320"><td class="num" id="LN320">320</td><td class="line"> <span class='keyword'>if</span> ((file_name[0] == '\0') || (strlen (file_name) == 0))</td></tr>
+<tr class="codeline" data-linenumber="321"><td class="num" id="LN321">321</td><td class="line"> <span class='keyword'>return</span> <span class='string_literal'>""</span>;</td></tr>
+<tr class="codeline" data-linenumber="322"><td class="num" id="LN322">322</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="323"><td class="num" id="LN323">323</td><td class="line"> last_char = strlen (file_name) - 1;</td></tr>
+<tr class="codeline" data-linenumber="324"><td class="num" id="LN324">324</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="325"><td class="num" id="LN325">325</td><td class="line"> <span class='keyword'>if</span> (file_name [last_char] == <span class='macro'>G_DIR_SEPARATOR<span class='macro_popup'>'/'</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="326"><td class="num" id="LN326">326</td><td class="line"> <span class='keyword'>return</span> <span class='string_literal'>""</span>;</td></tr>
+<tr class="codeline" data-linenumber="327"><td class="num" id="LN327">327</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="328"><td class="num" id="LN328">328</td><td class="line"> base = g_utf8_strrchr (file_name, -1, <span class='macro'>G_DIR_SEPARATOR<span class='macro_popup'>'/'</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="329"><td class="num" id="LN329">329</td><td class="line"> <span class='keyword'>if</span> (! base)</td></tr>
+<tr class="codeline" data-linenumber="330"><td class="num" id="LN330">330</td><td class="line"> <span class='keyword'>return</span> file_name;</td></tr>
+<tr class="codeline" data-linenumber="331"><td class="num" id="LN331">331</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="332"><td class="num" id="LN332">332</td><td class="line"> <span class='keyword'>return</span> base + 1;</td></tr>
+<tr class="codeline" data-linenumber="333"><td class="num" id="LN333">333</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="334"><td class="num" id="LN334">334</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="335"><td class="num" id="LN335">335</td><td class="line"><span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="336"><td class="num" id="LN336">336</td><td class="line">dir_name_from_path (<span class='keyword'>const</span> gchar *path)</td></tr>
+<tr class="codeline" data-linenumber="337"><td class="num" id="LN337">337</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="338"><td class="num" id="LN338">338</td><td class="line"> <span class='keyword'>register</span> gssize base;</td></tr>
+<tr class="codeline" data-linenumber="339"><td class="num" id="LN339">339</td><td class="line"> <span class='keyword'>register</span> gssize last_char;</td></tr>
+<tr class="codeline" data-linenumber="340"><td class="num" id="LN340">340</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="341"><td class="num" id="LN341">341</td><td class="line"> <span class='keyword'>if</span> (path == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="342"><td class="num" id="LN342">342</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="343"><td class="num" id="LN343">343</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="344"><td class="num" id="LN344">344</td><td class="line"> <span class='keyword'>if</span> (path[0] == '\0')</td></tr>
+<tr class="codeline" data-linenumber="345"><td class="num" id="LN345">345</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>g_strdup (<span class='string_literal'>""</span>)<span class='macro_popup'>g_strdup_inline ("")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="346"><td class="num" id="LN346">346</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="347"><td class="num" id="LN347">347</td><td class="line"> last_char = strlen (path) - 1;</td></tr>
+<tr class="codeline" data-linenumber="348"><td class="num" id="LN348">348</td><td class="line"> <span class='keyword'>if</span> (path[last_char] == <span class='macro'>G_DIR_SEPARATOR<span class='macro_popup'>'/'</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="349"><td class="num" id="LN349">349</td><td class="line"> last_char--;</td></tr>
+<tr class="codeline" data-linenumber="350"><td class="num" id="LN350">350</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="351"><td class="num" id="LN351">351</td><td class="line"> base = last_char;</td></tr>
+<tr class="codeline" data-linenumber="352"><td class="num" id="LN352">352</td><td class="line"> <span class='keyword'>while</span> ((base &gt;= 0) &amp;&amp; (path[base] != <span class='macro'>G_DIR_SEPARATOR<span class='macro_popup'>'/'</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="353"><td class="num" id="LN353">353</td><td class="line"> base--;</td></tr>
+<tr class="codeline" data-linenumber="354"><td class="num" id="LN354">354</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="355"><td class="num" id="LN355">355</td><td class="line"> <span class='keyword'>return</span> g_strndup (path + base + 1, last_char - base);</td></tr>
+<tr class="codeline" data-linenumber="356"><td class="num" id="LN356">356</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="357"><td class="num" id="LN357">357</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="358"><td class="num" id="LN358">358</td><td class="line">gchar *</td></tr>
+<tr class="codeline" data-linenumber="359"><td class="num" id="LN359">359</td><td class="line">remove_level_from_path (<span class='keyword'>const</span> gchar *path)</td></tr>
+<tr class="codeline" data-linenumber="360"><td class="num" id="LN360">360</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="361"><td class="num" id="LN361">361</td><td class="line"> <span class='keyword'>int</span> p;</td></tr>
+<tr class="codeline" data-linenumber="362"><td class="num" id="LN362">362</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *ptr = path;</td></tr>
+<tr class="codeline" data-linenumber="363"><td class="num" id="LN363">363</td><td class="line"> <span class='keyword'>char</span> *new_path;</td></tr>
+<tr class="codeline" data-linenumber="364"><td class="num" id="LN364">364</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="365"><td class="num" id="LN365">365</td><td class="line"> <span class='keyword'>if</span> (path == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="366"><td class="num" id="LN366">366</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="367"><td class="num" id="LN367">367</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="368"><td class="num" id="LN368">368</td><td class="line"> p = strlen (path) - 1;</td></tr>
+<tr class="codeline" data-linenumber="369"><td class="num" id="LN369">369</td><td class="line"> <span class='keyword'>if</span> (p &lt; 0)</td></tr>
+<tr class="codeline" data-linenumber="370"><td class="num" id="LN370">370</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="371"><td class="num" id="LN371">371</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="372"><td class="num" id="LN372">372</td><td class="line"> <span class='keyword'>while</span> ((p &gt; 0) &amp;&amp; (ptr[p] != '/'))</td></tr>
+<tr class="codeline" data-linenumber="373"><td class="num" id="LN373">373</td><td class="line"> p--;</td></tr>
+<tr class="codeline" data-linenumber="374"><td class="num" id="LN374">374</td><td class="line"> <span class='keyword'>if</span> ((p == 0) &amp;&amp; (ptr[p] == '/'))</td></tr>
+<tr class="codeline" data-linenumber="375"><td class="num" id="LN375">375</td><td class="line"> p++;</td></tr>
+<tr class="codeline" data-linenumber="376"><td class="num" id="LN376">376</td><td class="line"> new_path = g_strndup (path, (guint)p);</td></tr>
+<tr class="codeline" data-linenumber="377"><td class="num" id="LN377">377</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="378"><td class="num" id="LN378">378</td><td class="line"> <span class='keyword'>return</span> new_path;</td></tr>
+<tr class="codeline" data-linenumber="379"><td class="num" id="LN379">379</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="380"><td class="num" id="LN380">380</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="381"><td class="num" id="LN381">381</td><td class="line"><span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="382"><td class="num" id="LN382">382</td><td class="line">remove_ending_separator (<span class='keyword'>const</span> <span class='keyword'>char</span> *path)</td></tr>
+<tr class="codeline" data-linenumber="383"><td class="num" id="LN383">383</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="384"><td class="num" id="LN384">384</td><td class="line"> gint len, copy_len;</td></tr>
+<tr class="codeline" data-linenumber="385"><td class="num" id="LN385">385</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="386"><td class="num" id="LN386">386</td><td class="line"> <span class='keyword'>if</span> (path == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="387"><td class="num" id="LN387">387</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="388"><td class="num" id="LN388">388</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="389"><td class="num" id="LN389">389</td><td class="line"> copy_len = len = strlen (path);</td></tr>
+<tr class="codeline" data-linenumber="390"><td class="num" id="LN390">390</td><td class="line"> <span class='keyword'>if</span> ((len &gt; 1) &amp;&amp; (path[len - 1] == '/'))</td></tr>
+<tr class="codeline" data-linenumber="391"><td class="num" id="LN391">391</td><td class="line"> copy_len--;</td></tr>
+<tr class="codeline" data-linenumber="392"><td class="num" id="LN392">392</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="393"><td class="num" id="LN393">393</td><td class="line"> <span class='keyword'>return</span> g_strndup (path, copy_len);</td></tr>
+<tr class="codeline" data-linenumber="394"><td class="num" id="LN394">394</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="395"><td class="num" id="LN395">395</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="396"><td class="num" id="LN396">396</td><td class="line"><span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="397"><td class="num" id="LN397">397</td><td class="line">build_uri (<span class='keyword'>const</span> <span class='keyword'>char</span> *base, ...)</td></tr>
+<tr class="codeline" data-linenumber="398"><td class="num" id="LN398">398</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="399"><td class="num" id="LN399">399</td><td class="line"> va_list args;</td></tr>
+<tr class="codeline" data-linenumber="400"><td class="num" id="LN400">400</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *child;</td></tr>
+<tr class="codeline" data-linenumber="401"><td class="num" id="LN401">401</td><td class="line"> GString *uri;</td></tr>
+<tr class="codeline" data-linenumber="402"><td class="num" id="LN402">402</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="403"><td class="num" id="LN403">403</td><td class="line"> uri = g_string_new (base);</td></tr>
+<tr class="codeline" data-linenumber="404"><td class="num" id="LN404">404</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="405"><td class="num" id="LN405">405</td><td class="line"> <span class='macro'>va_start (args, base)<span class='macro_popup'>__builtin_va_start(args, base)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="406"><td class="num" id="LN406">406</td><td class="line"> <span class='keyword'>while</span> ((child = <span class='macro'>va_arg (args, <span class='keyword'>const</span> <span class='keyword'>char</span> *)<span class='macro_popup'>__builtin_va_arg(args, const char *)</span></span>) != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="407"><td class="num" id="LN407">407</td><td class="line"> <span class='keyword'>if</span> (! <span class='macro'>g_str_has_suffix (uri-&gt;str, <span class='string_literal'>"/"</span>)<span class='macro_popup'>(__builtin_constant_p ("/")? __extension__ ({ const char * const<br> __str = (uri-&gt;str); const char * const __suffix = ("/"); gboolean<br> __result = (0); if (__str == ((void*)0) || __suffix == ((void<br>*)0)) __result = (g_str_has_suffix) (__str, __suffix); else {<br> const size_t __str_len = strlen (((__str) + !(__str))); const<br> size_t __suffix_len = strlen (((__suffix) + !(__suffix))); if<br> (__str_len &gt;= __suffix_len) __result = memcmp (__str + __str_len<br> - __suffix_len, ((__suffix) + !(__suffix)), __suffix_len) ==<br> 0; } __result; }) : (g_str_has_suffix) (uri-&gt;str, "/") )</span></span> &amp;&amp; ! <span class='macro'>g_str_has_prefix (child, <span class='string_literal'>"/"</span>)<span class='macro_popup'>(__builtin_constant_p ("/")? __extension__ ({ const char * const<br> __str = (child); const char * const __prefix = ("/"); gboolean<br> __result = (0); if (__str == ((void*)0) || __prefix == ((void<br>*)0)) __result = (g_str_has_prefix) (__str, __prefix); else {<br> const size_t __str_len = strlen (((__str) + !(__str))); const<br> size_t __prefix_len = strlen (((__prefix) + !(__prefix))); if<br> (__str_len &gt;= __prefix_len) __result = memcmp (((__str) +<br> !(__str)), ((__prefix) + !(__prefix)), __prefix_len) == 0; }<br> __result; }) : (g_str_has_prefix) (child, "/") )</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="408"><td class="num" id="LN408">408</td><td class="line"> <span class='macro'>g_string_append (uri, <span class='string_literal'>"/"</span>)<span class='macro_popup'>(__builtin_constant_p ("/") ? __extension__ ({ const char * const<br> __val = ("/"); g_string_append_len_inline (uri, __val, (__val<br> != ((void*)0)) ? (gssize) strlen (((__val) + !(__val))) : (gssize<br>) -1); }) : g_string_append_len_inline (uri, "/", (gssize) -1<br>))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="409"><td class="num" id="LN409">409</td><td class="line"> <span class='macro'>g_string_append (uri, child)<span class='macro_popup'>(__builtin_constant_p (child) ? __extension__ ({ const char *<br> const __val = (child); g_string_append_len_inline (uri, __val<br>, (__val != ((void*)0)) ? (gssize) strlen (((__val) + !(__val<br>))) : (gssize) -1); }) : g_string_append_len_inline (uri, child<br>, (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="410"><td class="num" id="LN410">410</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="411"><td class="num" id="LN411">411</td><td class="line"> <span class='macro'>va_end (args)<span class='macro_popup'>__builtin_va_end(args)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="412"><td class="num" id="LN412">412</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="413"><td class="num" id="LN413">413</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>g_string_free (uri, FALSE)<span class='macro_popup'>(__builtin_constant_p ((0)) ? (((0)) ? (g_string_free) ((uri)<br>, ((0))) : g_string_free_and_steal (uri)) : (g_string_free) (<br>(uri), ((0))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="414"><td class="num" id="LN414">414</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="415"><td class="num" id="LN415">415</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="416"><td class="num" id="LN416">416</td><td class="line">gchar *</td></tr>
+<tr class="codeline" data-linenumber="417"><td class="num" id="LN417">417</td><td class="line">remove_extension_from_path (<span class='keyword'>const</span> gchar *path)</td></tr>
+<tr class="codeline" data-linenumber="418"><td class="num" id="LN418">418</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="419"><td class="num" id="LN419">419</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *ext;</td></tr>
+<tr class="codeline" data-linenumber="420"><td class="num" id="LN420">420</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="421"><td class="num" id="LN421">421</td><td class="line"> <span class='keyword'>if</span> (path == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="422"><td class="num" id="LN422">422</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="423"><td class="num" id="LN423">423</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="424"><td class="num" id="LN424">424</td><td class="line"> ext = get_archive_filename_extension (path);</td></tr>
+<tr class="codeline" data-linenumber="425"><td class="num" id="LN425">425</td><td class="line"> <span class='keyword'>if</span> (ext == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> || strlen (ext) == strlen (path))</td></tr>
+<tr class="codeline" data-linenumber="426"><td class="num" id="LN426">426</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>g_strdup (path)<span class='macro_popup'>g_strdup_inline (path)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="427"><td class="num" id="LN427">427</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="428"><td class="num" id="LN428">428</td><td class="line"> <span class='keyword'>return</span> g_strndup (path, strlen (path) - strlen (ext));</td></tr>
+<tr class="codeline" data-linenumber="429"><td class="num" id="LN429">429</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="430"><td class="num" id="LN430">430</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="431"><td class="num" id="LN431">431</td><td class="line"><span id="start23">gboolean</td></tr></span>
+<tr class="codeline" data-linenumber="432"><td class="num" id="LN432">432</td><td class="line">make_directory_tree (GFile *dir,</td></tr>
+<tr class="codeline" data-linenumber="433"><td class="num" id="LN433">433</td><td class="line"> mode_t mode,</td></tr>
+<tr class="codeline" data-linenumber="434"><td class="num" id="LN434">434</td><td class="line"> GError **error)</td></tr>
+<tr class="codeline" data-linenumber="435"><td class="num" id="LN435">435</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="436"><td class="num" id="LN436">436</td><td class="line"> <span id="start22"><span id="end23">gboolean</span></span> success = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="437"><td class="num" id="LN437">437</td><td class="line"> GFile *parent;</td></tr>
+<tr class="codeline" data-linenumber="438"><td class="num" id="LN438">438</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="439"><td class="num" id="LN439">439</td><td class="line"> <span id="start21"><span id="end22"><span class='keyword'>if</span></span></span> ((<span id="start20"><span class="mrange"><span id="end21">dir</span></span> == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span></span>) || <span id="start19"><span class="mrange"><span id="end20">g_file_query_exists</span></span> (dir, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</span>)</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path7" class="msg msgEvent" style="margin-left:14ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">7</div></td><td><div class="PathNav"><a href="#Path6" title="Previous event (6)">&#x2190;</a></div></td><td>Assuming 'dir' is not equal to NULL</td><td><div class="PathNav"><a href="#Path8" title="Next event (8)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path8" class="msg msgEvent" style="margin-left:30ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">8</div></td><td><div class="PathNav"><a href="#Path7" title="Previous event (7)">&#x2190;</a></div></td><td>Assuming the condition is false</td><td><div class="PathNav"><a href="#Path9" title="Next event (9)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path9" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">9</div></td><td><div class="PathNav"><a href="#Path8" title="Previous event (8)">&#x2190;</a></div></td><td>Taking false branch</td><td><div class="PathNav"><a href="#Path10" title="Next event (10)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="440"><td class="num" id="LN440">440</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="441"><td class="num" id="LN441">441</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="442"><td class="num" id="LN442">442</td><td class="line"> <span id="start16"><span id="end17"><span id="start18"><span id="end19">parent</span></span></span></span> = g_file_get_parent (<span id="start17"><span id="end18">dir</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="443"><td class="num" id="LN443">443</td><td class="line"> <span id="start15"><span id="end16"><span class='keyword'>if</span></span></span> (<span id="start14"><span class="mrange"><span id="end15">parent</span></span> != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span></span>) {</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path10" class="msg msgEvent" style="margin-left:13ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">10</div></td><td><div class="PathNav"><a href="#Path9" title="Previous event (9)">&#x2190;</a></div></td><td>Assuming 'parent' is equal to NULL</td><td><div class="PathNav"><a href="#Path11" title="Next event (11)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path11" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">11</div></td><td><div class="PathNav"><a href="#Path10" title="Previous event (10)">&#x2190;</a></div></td><td>Taking false branch</td><td><div class="PathNav"><a href="#Path12" title="Next event (12)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="444"><td class="num" id="LN444">444</td><td class="line"> success = make_directory_tree (parent, mode, error);</td></tr>
+<tr class="codeline" data-linenumber="445"><td class="num" id="LN445">445</td><td class="line"> g_object_unref (parent);</td></tr>
+<tr class="codeline" data-linenumber="446"><td class="num" id="LN446">446</td><td class="line"> <span class='keyword'>if</span> (! success)</td></tr>
+<tr class="codeline" data-linenumber="447"><td class="num" id="LN447">447</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="448"><td class="num" id="LN448">448</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="449"><td class="num" id="LN449">449</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="450"><td class="num" id="LN450">450</td><td class="line"> <span id="start10"><span id="end11"><span id="start13"><span id="end14">success</span></span></span></span> = <span id="start11"><span class="mrange"><span id="end12">g_file_make_directory</span></span> (<span id="start12"><span id="end13">dir</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, error)</span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path12" class="msg msgEvent" style="margin-left:19ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">12</div></td><td><div class="PathNav"><a href="#Path11" title="Previous event (11)">&#x2190;</a></div></td><td>Assigning value</td><td><div class="PathNav"><a href="#Path13" title="Next event (13)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="451"><td class="num" id="LN451">451</td><td class="line"> <span id="start9"><span id="end10"><span class='keyword'>if</span></span></span> (<span id="end9">(</span><span id="start8"><span class='variable'>error<table class='variable_popup'><tbody><tr><td valign='top'><div class='PathIndex PathIndexPopUp'>12.1</div></td><td>'error' is not equal to NULL</td></tr></tbody></table></span></span> != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (<span id="start7"><span class="mrange"><span id="end8">*</span></span>error != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span></span>) &amp;&amp; g_error_matches (*error, <span class='macro'>G_IO_ERROR<span class='macro_popup'>g_io_error_quark()</span></span>, G_IO_ERROR_EXISTS)) {</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path13" class="msg msgEvent" style="margin-left:33ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">13</div></td><td><div class="PathNav"><a href="#Path12" title="Previous event (12)">&#x2190;</a></div></td><td>Assuming pointer value is null</td><td><div class="PathNav"><a href="#Path14" title="Next event (14)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="452"><td class="num" id="LN452">452</td><td class="line"> g_clear_error (error);</td></tr>
+<tr class="codeline" data-linenumber="453"><td class="num" id="LN453">453</td><td class="line"> success = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="454"><td class="num" id="LN454">454</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="455"><td class="num" id="LN455">455</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="456"><td class="num" id="LN456">456</td><td class="line"> <span id="start6"><span id="end7"><span class='keyword'>if</span></span></span> (<span id="start5"><span class="mrange"><span id="end6">success</span></span></span>)</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path14" class="msg msgEvent" style="margin-left:13ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">14</div></td><td><div class="PathNav"><a href="#Path13" title="Previous event (13)">&#x2190;</a></div></td><td>Assuming 'success' is 0</td><td><div class="PathNav"><a href="#Path15" title="Next event (15)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path15" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">15</div></td><td><div class="PathNav"><a href="#Path14" title="Previous event (14)">&#x2190;</a></div></td><td>Taking false branch</td><td><div class="PathNav"><a href="#Path16" title="Next event (16)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="457"><td class="num" id="LN457">457</td><td class="line"> g_file_set_attribute_uint32 (dir,</td></tr>
+<tr class="codeline" data-linenumber="458"><td class="num" id="LN458">458</td><td class="line"> <span class='macro'>G_FILE_ATTRIBUTE_UNIX_MODE<span class='macro_popup'>"unix::mode"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="459"><td class="num" id="LN459">459</td><td class="line"> mode,</td></tr>
+<tr class="codeline" data-linenumber="460"><td class="num" id="LN460">460</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="461"><td class="num" id="LN461">461</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="462"><td class="num" id="LN462">462</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="463"><td class="num" id="LN463">463</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="464"><td class="num" id="LN464">464</td><td class="line"> <span id="end3"><span id="start4"><span id="end5"><span class='keyword'>return</span></span></span></span> <span id="start3"><span id="end4">success</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="465"><td class="num" id="LN465">465</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="466"><td class="num" id="LN466">466</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="467"><td class="num" id="LN467">467</td><td class="line"><span id="start33">gboolean</td></tr></span>
+<tr class="codeline" data-linenumber="468"><td class="num" id="LN468">468</td><td class="line">ensure_dir_exists (<span class='keyword'>const</span> <span class='keyword'>char</span> *uri,</td></tr>
+<tr class="codeline" data-linenumber="469"><td class="num" id="LN469">469</td><td class="line"> mode_t mode,</td></tr>
+<tr class="codeline" data-linenumber="470"><td class="num" id="LN470">470</td><td class="line"> GError **error)</td></tr>
+<tr class="codeline" data-linenumber="471"><td class="num" id="LN471">471</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="472"><td class="num" id="LN472">472</td><td class="line"> <span id="start32"><span id="end33">GFile</span></span> *dir;</td></tr>
+<tr class="codeline" data-linenumber="473"><td class="num" id="LN473">473</td><td class="line"> GError *priv_error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="474"><td class="num" id="LN474">474</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="475"><td class="num" id="LN475">475</td><td class="line"> <span id="start31"><span id="end32"><span class='keyword'>if</span></span></span> (<span id="start30"><span class="mrange"><span id="end31">uri</span></span> == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span></span>)</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path2" class="msg msgEvent" style="margin-left:13ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">2</div></td><td><div class="PathNav"><a href="#Path1" title="Previous event (1)">&#x2190;</a></div></td><td>Assuming 'uri' is not equal to NULL</td><td><div class="PathNav"><a href="#Path3" title="Next event (3)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path3" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">3</div></td><td><div class="PathNav"><a href="#Path2" title="Previous event (2)">&#x2190;</a></div></td><td>Taking false branch</td><td><div class="PathNav"><a href="#Path4" title="Next event (4)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="476"><td class="num" id="LN476">476</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="477"><td class="num" id="LN477">477</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="478"><td class="num" id="LN478">478</td><td class="line"> <span id="start29"><span id="end30"><span class='keyword'>if</span></span></span> (<span id="start28"><span class="mrange"><span id="end29">error</span></span> == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span></span>)</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path4" class="msg msgEvent" style="margin-left:13ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">4</div></td><td><div class="PathNav"><a href="#Path3" title="Previous event (3)">&#x2190;</a></div></td><td>Assuming 'error' is not equal to NULL</td><td><div class="PathNav"><a href="#Path5" title="Next event (5)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path5" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">5</div></td><td><div class="PathNav"><a href="#Path4" title="Previous event (4)">&#x2190;</a></div></td><td>Taking false branch</td><td><div class="PathNav"><a href="#Path6" title="Next event (6)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="479"><td class="num" id="LN479">479</td><td class="line"> error = &amp;priv_error;</td></tr>
+<tr class="codeline" data-linenumber="480"><td class="num" id="LN480">480</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="481"><td class="num" id="LN481">481</td><td class="line"> <span id="start25"><span id="end26"><span id="start27"><span id="end28">dir</span></span></span></span> = g_file_new_for_uri (<span id="start26"><span id="end27">uri</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="482"><td class="num" id="LN482">482</td><td class="line"> <span id="start24"><span id="end25"><span class='keyword'>if</span></span></span> (! <span id="start2"><span class="mrange"><span class="mrange"><span id="end24">make_directory_tree</span></span> (dir, mode, error)</span></span>) {</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path6" class="msg msgEvent" style="margin-left:15ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">6</div></td><td><div class="PathNav"><a href="#Path5" title="Previous event (5)">&#x2190;</a></div></td><td>Calling 'make_directory_tree'</td><td><div class="PathNav"><a href="#Path7" title="Next event (7)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path16" class="msg msgEvent" style="margin-left:15ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">16</div></td><td><div class="PathNav"><a href="#Path15" title="Previous event (15)">&#x2190;</a></div></td><td>Returning from 'make_directory_tree'</td><td><div class="PathNav"><a href="#Path17" title="Next event (17)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path17" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">17</div></td><td><div class="PathNav"><a href="#Path16" title="Previous event (16)">&#x2190;</a></div></td><td>Taking true branch</td><td><div class="PathNav"><a href="#EndPath" title="Next event (18)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="483"><td class="num" id="LN483">483</td><td class="line"> <span id="start1"><span id="end2">g_warning</span></span> (<span class='string_literal'>"could create directory %s: %s"</span>, <span id="start0"><span id="end1">uri</span></span>, <span class="mrange"><span id="end0">(</span>*error)-&gt;message</span>);</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:66ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">18</div></td><td><div class="PathNav"><a href="#Path17" title="Previous event (17)">&#x2190;</a></div></td><td>Access to field 'message' results in a dereference of a null pointer</td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="484"><td class="num" id="LN484">484</td><td class="line"> <span class='keyword'>if</span> (priv_error != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="485"><td class="num" id="LN485">485</td><td class="line"> g_clear_error (&amp;priv_error);</td></tr>
+<tr class="codeline" data-linenumber="486"><td class="num" id="LN486">486</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="487"><td class="num" id="LN487">487</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="488"><td class="num" id="LN488">488</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="489"><td class="num" id="LN489">489</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="490"><td class="num" id="LN490">490</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="491"><td class="num" id="LN491">491</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="492"><td class="num" id="LN492">492</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="493"><td class="num" id="LN493">493</td><td class="line">make_directory_tree_from_path (<span class='keyword'>const</span> <span class='keyword'>char</span> *path,</td></tr>
+<tr class="codeline" data-linenumber="494"><td class="num" id="LN494">494</td><td class="line"> mode_t mode,</td></tr>
+<tr class="codeline" data-linenumber="495"><td class="num" id="LN495">495</td><td class="line"> GError **error)</td></tr>
+<tr class="codeline" data-linenumber="496"><td class="num" id="LN496">496</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="497"><td class="num" id="LN497">497</td><td class="line"> <span id="start35"><span class='keyword'>char</span></span> *uri;</td></tr>
+<tr class="codeline" data-linenumber="498"><td class="num" id="LN498">498</td><td class="line"> gboolean result;</td></tr>
+<tr class="codeline" data-linenumber="499"><td class="num" id="LN499">499</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="500"><td class="num" id="LN500">500</td><td class="line"> uri = g_filename_to_uri (path, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="501"><td class="num" id="LN501">501</td><td class="line"> <span id="start34"><span id="end35">result</span></span> = <span class="mrange"><span id="end34">ensure_dir_exists</span> (uri, mode, error)</span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path1" class="msg msgEvent" style="margin-left:18ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">1</div></td><td>Calling 'ensure_dir_exists'</td><td><div class="PathNav"><a href="#Path2" title="Next event (2)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="502"><td class="num" id="LN502">502</td><td class="line"> g_free (uri);</td></tr>
+<tr class="codeline" data-linenumber="503"><td class="num" id="LN503">503</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="504"><td class="num" id="LN504">504</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="505"><td class="num" id="LN505">505</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="506"><td class="num" id="LN506">506</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="507"><td class="num" id="LN507">507</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="508"><td class="num" id="LN508">508</td><td class="line">get_file_extension (<span class='keyword'>const</span> <span class='keyword'>char</span> *filename)</td></tr>
+<tr class="codeline" data-linenumber="509"><td class="num" id="LN509">509</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="510"><td class="num" id="LN510">510</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *ptr = filename;</td></tr>
+<tr class="codeline" data-linenumber="511"><td class="num" id="LN511">511</td><td class="line"> <span class='keyword'>int</span> len;</td></tr>
+<tr class="codeline" data-linenumber="512"><td class="num" id="LN512">512</td><td class="line"> <span class='keyword'>int</span> p;</td></tr>
+<tr class="codeline" data-linenumber="513"><td class="num" id="LN513">513</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *ext;</td></tr>
+<tr class="codeline" data-linenumber="514"><td class="num" id="LN514">514</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *tar_exts[] = {<span class='string_literal'>".7z"</span>, <span class='string_literal'>".br"</span>, <span class='string_literal'>".bz"</span>, <span class='string_literal'>".bz2"</span>, <span class='string_literal'>".gz"</span>, <span class='string_literal'>".lrz"</span>, <span class='string_literal'>".lz"</span>, <span class='string_literal'>".lzma"</span>, <span class='string_literal'>".lzo"</span>, <span class='string_literal'>".xz"</span>, <span class='string_literal'>".Z"</span>, <span class='string_literal'>".xst"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>};</td></tr>
+<tr class="codeline" data-linenumber="515"><td class="num" id="LN515">515</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="516"><td class="num" id="LN516">516</td><td class="line"> <span class='keyword'>if</span> (filename == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="517"><td class="num" id="LN517">517</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="518"><td class="num" id="LN518">518</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="519"><td class="num" id="LN519">519</td><td class="line"> len = strlen (filename);</td></tr>
+<tr class="codeline" data-linenumber="520"><td class="num" id="LN520">520</td><td class="line"> <span class='keyword'>if</span> (len &lt;= 1)</td></tr>
+<tr class="codeline" data-linenumber="521"><td class="num" id="LN521">521</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="522"><td class="num" id="LN522">522</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="523"><td class="num" id="LN523">523</td><td class="line"> p = len - 1;</td></tr>
+<tr class="codeline" data-linenumber="524"><td class="num" id="LN524">524</td><td class="line"> <span class='keyword'>while</span> ((p &gt;= 0) &amp;&amp; (ptr[p] != '.'))</td></tr>
+<tr class="codeline" data-linenumber="525"><td class="num" id="LN525">525</td><td class="line"> p--;</td></tr>
+<tr class="codeline" data-linenumber="526"><td class="num" id="LN526">526</td><td class="line"> <span class='keyword'>if</span> (p &lt; 0)</td></tr>
+<tr class="codeline" data-linenumber="527"><td class="num" id="LN527">527</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="528"><td class="num" id="LN528">528</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="529"><td class="num" id="LN529">529</td><td class="line"> ext = filename + p;</td></tr>
+<tr class="codeline" data-linenumber="530"><td class="num" id="LN530">530</td><td class="line"> p = 0;</td></tr>
+<tr class="codeline" data-linenumber="531"><td class="num" id="LN531">531</td><td class="line"> <span class='keyword'>if</span> (ext - 4 &gt; filename) {</td></tr>
+<tr class="codeline" data-linenumber="532"><td class="num" id="LN532">532</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *test = ext - 4;</td></tr>
+<tr class="codeline" data-linenumber="533"><td class="num" id="LN533">533</td><td class="line"> <span class='keyword'>if</span> (strncmp (test, <span class='string_literal'>".tar"</span>, 4) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="534"><td class="num" id="LN534">534</td><td class="line"> <span class='keyword'>while</span> (tar_exts[p] != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="535"><td class="num" id="LN535">535</td><td class="line"> <span class='keyword'>if</span> (strcmp (ext, tar_exts[p]) == 0)</td></tr>
+<tr class="codeline" data-linenumber="536"><td class="num" id="LN536">536</td><td class="line"> ext = ext - 4;</td></tr>
+<tr class="codeline" data-linenumber="537"><td class="num" id="LN537">537</td><td class="line"> p++;</td></tr>
+<tr class="codeline" data-linenumber="538"><td class="num" id="LN538">538</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="539"><td class="num" id="LN539">539</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="540"><td class="num" id="LN540">540</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="541"><td class="num" id="LN541">541</td><td class="line"> <span class='keyword'>return</span> ext;</td></tr>
+<tr class="codeline" data-linenumber="542"><td class="num" id="LN542">542</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="543"><td class="num" id="LN543">543</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="544"><td class="num" id="LN544">544</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="545"><td class="num" id="LN545">545</td><td class="line">file_extension_is (<span class='keyword'>const</span> <span class='keyword'>char</span> *filename,</td></tr>
+<tr class="codeline" data-linenumber="546"><td class="num" id="LN546">546</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *ext)</td></tr>
+<tr class="codeline" data-linenumber="547"><td class="num" id="LN547">547</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="548"><td class="num" id="LN548">548</td><td class="line"> <span class='keyword'>int</span> filename_l, ext_l;</td></tr>
+<tr class="codeline" data-linenumber="549"><td class="num" id="LN549">549</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="550"><td class="num" id="LN550">550</td><td class="line"> filename_l = strlen (filename);</td></tr>
+<tr class="codeline" data-linenumber="551"><td class="num" id="LN551">551</td><td class="line"> ext_l = strlen (ext);</td></tr>
+<tr class="codeline" data-linenumber="552"><td class="num" id="LN552">552</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="553"><td class="num" id="LN553">553</td><td class="line"> <span class='keyword'>if</span> (filename_l &lt; ext_l)</td></tr>
+<tr class="codeline" data-linenumber="554"><td class="num" id="LN554">554</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="555"><td class="num" id="LN555">555</td><td class="line"> <span class='keyword'>return</span> strcasecmp (filename + filename_l - ext_l, ext) == 0;</td></tr>
+<tr class="codeline" data-linenumber="556"><td class="num" id="LN556">556</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="557"><td class="num" id="LN557">557</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="558"><td class="num" id="LN558">558</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="559"><td class="num" id="LN559">559</td><td class="line">is_mime_type (<span class='keyword'>const</span> <span class='keyword'>char</span> *mime_type,</td></tr>
+<tr class="codeline" data-linenumber="560"><td class="num" id="LN560">560</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *pattern)</td></tr>
+<tr class="codeline" data-linenumber="561"><td class="num" id="LN561">561</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="562"><td class="num" id="LN562">562</td><td class="line"> <span class='keyword'>return</span> g_content_type_equals (mime_type, pattern);</td></tr>
+<tr class="codeline" data-linenumber="563"><td class="num" id="LN563">563</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="564"><td class="num" id="LN564">564</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="565"><td class="num" id="LN565">565</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span>*</td></tr>
+<tr class="codeline" data-linenumber="566"><td class="num" id="LN566">566</td><td class="line">get_file_mime_type (<span class='keyword'>const</span> <span class='keyword'>char</span> *uri,</td></tr>
+<tr class="codeline" data-linenumber="567"><td class="num" id="LN567">567</td><td class="line"> gboolean fast_file_type)</td></tr>
+<tr class="codeline" data-linenumber="568"><td class="num" id="LN568">568</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="569"><td class="num" id="LN569">569</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="570"><td class="num" id="LN570">570</td><td class="line"> GFileInfo *info;</td></tr>
+<tr class="codeline" data-linenumber="571"><td class="num" id="LN571">571</td><td class="line"> GError *err = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="572"><td class="num" id="LN572">572</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *result = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="573"><td class="num" id="LN573">573</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="574"><td class="num" id="LN574">574</td><td class="line"> file = g_file_new_for_uri (uri);</td></tr>
+<tr class="codeline" data-linenumber="575"><td class="num" id="LN575">575</td><td class="line"> info = g_file_query_info (file,</td></tr>
+<tr class="codeline" data-linenumber="576"><td class="num" id="LN576">576</td><td class="line"> fast_file_type ?</td></tr>
+<tr class="codeline" data-linenumber="577"><td class="num" id="LN577">577</td><td class="line"> <span class='macro'>G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE<span class='macro_popup'>"standard::fast-content-type"</span></span> :</td></tr>
+<tr class="codeline" data-linenumber="578"><td class="num" id="LN578">578</td><td class="line"> <span class='macro'>G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE<span class='macro_popup'>"standard::content-type"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="579"><td class="num" id="LN579">579</td><td class="line"> 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, &amp;err);</td></tr>
+<tr class="codeline" data-linenumber="580"><td class="num" id="LN580">580</td><td class="line"> <span class='keyword'>if</span> (info == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="581"><td class="num" id="LN581">581</td><td class="line"> g_warning (<span class='string_literal'>"could not get content type for %s: %s"</span>, uri, err-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="582"><td class="num" id="LN582">582</td><td class="line"> g_clear_error (&amp;err);</td></tr>
+<tr class="codeline" data-linenumber="583"><td class="num" id="LN583">583</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="584"><td class="num" id="LN584">584</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="585"><td class="num" id="LN585">585</td><td class="line"> result = get_static_string (g_file_info_get_content_type (info));</td></tr>
+<tr class="codeline" data-linenumber="586"><td class="num" id="LN586">586</td><td class="line"> g_object_unref (info);</td></tr>
+<tr class="codeline" data-linenumber="587"><td class="num" id="LN587">587</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="588"><td class="num" id="LN588">588</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="589"><td class="num" id="LN589">589</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="590"><td class="num" id="LN590">590</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="591"><td class="num" id="LN591">591</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="592"><td class="num" id="LN592">592</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="593"><td class="num" id="LN593">593</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="594"><td class="num" id="LN594">594</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span>*</td></tr>
+<tr class="codeline" data-linenumber="595"><td class="num" id="LN595">595</td><td class="line">get_file_mime_type_for_path (<span class='keyword'>const</span> <span class='keyword'>char</span> *filename,</td></tr>
+<tr class="codeline" data-linenumber="596"><td class="num" id="LN596">596</td><td class="line"> gboolean fast_file_type)</td></tr>
+<tr class="codeline" data-linenumber="597"><td class="num" id="LN597">597</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="598"><td class="num" id="LN598">598</td><td class="line"> <span class='keyword'>char</span> *uri;</td></tr>
+<tr class="codeline" data-linenumber="599"><td class="num" id="LN599">599</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *mime_type;</td></tr>
+<tr class="codeline" data-linenumber="600"><td class="num" id="LN600">600</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="601"><td class="num" id="LN601">601</td><td class="line"> uri = g_filename_to_uri (filename, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="602"><td class="num" id="LN602">602</td><td class="line"> mime_type = get_file_mime_type (uri, fast_file_type);</td></tr>
+<tr class="codeline" data-linenumber="603"><td class="num" id="LN603">603</td><td class="line"> g_free (uri);</td></tr>
+<tr class="codeline" data-linenumber="604"><td class="num" id="LN604">604</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="605"><td class="num" id="LN605">605</td><td class="line"> <span class='keyword'>return</span> mime_type;</td></tr>
+<tr class="codeline" data-linenumber="606"><td class="num" id="LN606">606</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="607"><td class="num" id="LN607">607</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="608"><td class="num" id="LN608">608</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="609"><td class="num" id="LN609">609</td><td class="line">path_list_free (GList *path_list)</td></tr>
+<tr class="codeline" data-linenumber="610"><td class="num" id="LN610">610</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="611"><td class="num" id="LN611">611</td><td class="line"> <span class='keyword'>if</span> (path_list == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="612"><td class="num" id="LN612">612</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="613"><td class="num" id="LN613">613</td><td class="line"> g_list_free_full (path_list, g_free);</td></tr>
+<tr class="codeline" data-linenumber="614"><td class="num" id="LN614">614</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="615"><td class="num" id="LN615">615</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="616"><td class="num" id="LN616">616</td><td class="line">GList *</td></tr>
+<tr class="codeline" data-linenumber="617"><td class="num" id="LN617">617</td><td class="line">path_list_dup (GList *path_list)</td></tr>
+<tr class="codeline" data-linenumber="618"><td class="num" id="LN618">618</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="619"><td class="num" id="LN619">619</td><td class="line"> GList *new_list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="620"><td class="num" id="LN620">620</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="621"><td class="num" id="LN621">621</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="622"><td class="num" id="LN622">622</td><td class="line"> <span class='keyword'>for</span> (scan = path_list; scan; scan = scan-&gt;next)</td></tr>
+<tr class="codeline" data-linenumber="623"><td class="num" id="LN623">623</td><td class="line"> new_list = g_list_prepend (new_list, <span class='macro'>g_strdup (scan-&gt;data)<span class='macro_popup'>g_strdup_inline (scan-&gt;data)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="624"><td class="num" id="LN624">624</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="625"><td class="num" id="LN625">625</td><td class="line"> <span class='keyword'>return</span> g_list_reverse (new_list);</td></tr>
+<tr class="codeline" data-linenumber="626"><td class="num" id="LN626">626</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="627"><td class="num" id="LN627">627</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="628"><td class="num" id="LN628">628</td><td class="line">guint64</td></tr>
+<tr class="codeline" data-linenumber="629"><td class="num" id="LN629">629</td><td class="line">get_dest_free_space (<span class='keyword'>const</span> <span class='keyword'>char</span> *path)</td></tr>
+<tr class="codeline" data-linenumber="630"><td class="num" id="LN630">630</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="631"><td class="num" id="LN631">631</td><td class="line"> guint64 freespace = 0;</td></tr>
+<tr class="codeline" data-linenumber="632"><td class="num" id="LN632">632</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="633"><td class="num" id="LN633">633</td><td class="line"> GFileInfo *info;</td></tr>
+<tr class="codeline" data-linenumber="634"><td class="num" id="LN634">634</td><td class="line"> GError *err = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="635"><td class="num" id="LN635">635</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="636"><td class="num" id="LN636">636</td><td class="line"> file = g_file_new_for_path (path);</td></tr>
+<tr class="codeline" data-linenumber="637"><td class="num" id="LN637">637</td><td class="line"> info = g_file_query_filesystem_info (file, <span class='macro'>G_FILE_ATTRIBUTE_FILESYSTEM_FREE<span class='macro_popup'>"filesystem::free"</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, &amp;err);</td></tr>
+<tr class="codeline" data-linenumber="638"><td class="num" id="LN638">638</td><td class="line"> <span class='keyword'>if</span> (info != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="639"><td class="num" id="LN639">639</td><td class="line"> freespace = g_file_info_get_attribute_uint64 (info, <span class='macro'>G_FILE_ATTRIBUTE_FILESYSTEM_FREE<span class='macro_popup'>"filesystem::free"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="640"><td class="num" id="LN640">640</td><td class="line"> g_object_unref (info);</td></tr>
+<tr class="codeline" data-linenumber="641"><td class="num" id="LN641">641</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="642"><td class="num" id="LN642">642</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="643"><td class="num" id="LN643">643</td><td class="line"> g_warning (<span class='string_literal'>"Could not get filesystem free space on volume that contains %s: %s"</span>, path, err-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="644"><td class="num" id="LN644">644</td><td class="line"> g_error_free (err);</td></tr>
+<tr class="codeline" data-linenumber="645"><td class="num" id="LN645">645</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="646"><td class="num" id="LN646">646</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="647"><td class="num" id="LN647">647</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="648"><td class="num" id="LN648">648</td><td class="line"> <span class='keyword'>return</span> freespace;</td></tr>
+<tr class="codeline" data-linenumber="649"><td class="num" id="LN649">649</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="650"><td class="num" id="LN650">650</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="651"><td class="num" id="LN651">651</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="652"><td class="num" id="LN652">652</td><td class="line">delete_directory_recursive (GFile *dir,</td></tr>
+<tr class="codeline" data-linenumber="653"><td class="num" id="LN653">653</td><td class="line"> GError **error)</td></tr>
+<tr class="codeline" data-linenumber="654"><td class="num" id="LN654">654</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="655"><td class="num" id="LN655">655</td><td class="line"> <span class='keyword'>char</span> *uri;</td></tr>
+<tr class="codeline" data-linenumber="656"><td class="num" id="LN656">656</td><td class="line"> GFileEnumerator *file_enum;</td></tr>
+<tr class="codeline" data-linenumber="657"><td class="num" id="LN657">657</td><td class="line"> GFileInfo *info;</td></tr>
+<tr class="codeline" data-linenumber="658"><td class="num" id="LN658">658</td><td class="line"> gboolean error_occurred = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="659"><td class="num" id="LN659">659</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="660"><td class="num" id="LN660">660</td><td class="line"> <span class='keyword'>if</span> (error != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="661"><td class="num" id="LN661">661</td><td class="line"> *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="662"><td class="num" id="LN662">662</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="663"><td class="num" id="LN663">663</td><td class="line"> file_enum = g_file_enumerate_children (dir,</td></tr>
+<tr class="codeline" data-linenumber="664"><td class="num" id="LN664">664</td><td class="line"> <span class='macro'>G_FILE_ATTRIBUTE_STANDARD_NAME<span class='macro_popup'>"standard::name"</span></span> <span class='string_literal'>","</span></td></tr>
+<tr class="codeline" data-linenumber="665"><td class="num" id="LN665">665</td><td class="line"> <span class='macro'>G_FILE_ATTRIBUTE_STANDARD_TYPE<span class='macro_popup'>"standard::type"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="666"><td class="num" id="LN666">666</td><td class="line"> 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, error);</td></tr>
+<tr class="codeline" data-linenumber="667"><td class="num" id="LN667">667</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="668"><td class="num" id="LN668">668</td><td class="line"> uri = g_file_get_uri (dir);</td></tr>
+<tr class="codeline" data-linenumber="669"><td class="num" id="LN669">669</td><td class="line"> <span class='keyword'>while</span> (! error_occurred &amp;&amp; (info = g_file_enumerator_next_file (file_enum, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, error)) != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="670"><td class="num" id="LN670">670</td><td class="line"> <span class='keyword'>char</span> *child_uri;</td></tr>
+<tr class="codeline" data-linenumber="671"><td class="num" id="LN671">671</td><td class="line"> GFile *child;</td></tr>
+<tr class="codeline" data-linenumber="672"><td class="num" id="LN672">672</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="673"><td class="num" id="LN673">673</td><td class="line"> child_uri = build_uri (uri, g_file_info_get_name (info), <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="674"><td class="num" id="LN674">674</td><td class="line"> child = g_file_new_for_uri (child_uri);</td></tr>
+<tr class="codeline" data-linenumber="675"><td class="num" id="LN675">675</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="676"><td class="num" id="LN676">676</td><td class="line"> <span class='keyword'>switch</span> (g_file_info_get_file_type (info)) {</td></tr>
+<tr class="codeline" data-linenumber="677"><td class="num" id="LN677">677</td><td class="line"> <span class='keyword'>case</span> G_FILE_TYPE_DIRECTORY:</td></tr>
+<tr class="codeline" data-linenumber="678"><td class="num" id="LN678">678</td><td class="line"> <span class='keyword'>if</span> (! delete_directory_recursive (child, error))</td></tr>
+<tr class="codeline" data-linenumber="679"><td class="num" id="LN679">679</td><td class="line"> error_occurred = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="680"><td class="num" id="LN680">680</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="681"><td class="num" id="LN681">681</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="682"><td class="num" id="LN682">682</td><td class="line"> <span class='keyword'>if</span> (! g_file_delete (child, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, error))</td></tr>
+<tr class="codeline" data-linenumber="683"><td class="num" id="LN683">683</td><td class="line"> error_occurred = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="684"><td class="num" id="LN684">684</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="685"><td class="num" id="LN685">685</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="686"><td class="num" id="LN686">686</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="687"><td class="num" id="LN687">687</td><td class="line"> g_object_unref (child);</td></tr>
+<tr class="codeline" data-linenumber="688"><td class="num" id="LN688">688</td><td class="line"> g_free (child_uri);</td></tr>
+<tr class="codeline" data-linenumber="689"><td class="num" id="LN689">689</td><td class="line"> g_object_unref (info);</td></tr>
+<tr class="codeline" data-linenumber="690"><td class="num" id="LN690">690</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="691"><td class="num" id="LN691">691</td><td class="line"> g_free (uri);</td></tr>
+<tr class="codeline" data-linenumber="692"><td class="num" id="LN692">692</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="693"><td class="num" id="LN693">693</td><td class="line"> <span class='keyword'>if</span> (! error_occurred &amp;&amp; ! g_file_delete (dir, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, error))</td></tr>
+<tr class="codeline" data-linenumber="694"><td class="num" id="LN694">694</td><td class="line"> error_occurred = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="695"><td class="num" id="LN695">695</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="696"><td class="num" id="LN696">696</td><td class="line"> g_object_unref (file_enum);</td></tr>
+<tr class="codeline" data-linenumber="697"><td class="num" id="LN697">697</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="698"><td class="num" id="LN698">698</td><td class="line"> <span class='keyword'>return</span> ! error_occurred;</td></tr>
+<tr class="codeline" data-linenumber="699"><td class="num" id="LN699">699</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="700"><td class="num" id="LN700">700</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="701"><td class="num" id="LN701">701</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="702"><td class="num" id="LN702">702</td><td class="line">remove_directory (<span class='keyword'>const</span> <span class='keyword'>char</span> *uri)</td></tr>
+<tr class="codeline" data-linenumber="703"><td class="num" id="LN703">703</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="704"><td class="num" id="LN704">704</td><td class="line"> GFile *dir;</td></tr>
+<tr class="codeline" data-linenumber="705"><td class="num" id="LN705">705</td><td class="line"> gboolean result;</td></tr>
+<tr class="codeline" data-linenumber="706"><td class="num" id="LN706">706</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="707"><td class="num" id="LN707">707</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="708"><td class="num" id="LN708">708</td><td class="line"> dir = g_file_new_for_uri (uri);</td></tr>
+<tr class="codeline" data-linenumber="709"><td class="num" id="LN709">709</td><td class="line"> result = delete_directory_recursive (dir, &amp;error);</td></tr>
+<tr class="codeline" data-linenumber="710"><td class="num" id="LN710">710</td><td class="line"> <span class='keyword'>if</span> (! result) {</td></tr>
+<tr class="codeline" data-linenumber="711"><td class="num" id="LN711">711</td><td class="line"> g_warning (<span class='string_literal'>"Cannot delete %s: %s"</span>, uri, error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="712"><td class="num" id="LN712">712</td><td class="line"> g_clear_error (&amp;error);</td></tr>
+<tr class="codeline" data-linenumber="713"><td class="num" id="LN713">713</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="714"><td class="num" id="LN714">714</td><td class="line"> g_object_unref (dir);</td></tr>
+<tr class="codeline" data-linenumber="715"><td class="num" id="LN715">715</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="716"><td class="num" id="LN716">716</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="717"><td class="num" id="LN717">717</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="718"><td class="num" id="LN718">718</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="719"><td class="num" id="LN719">719</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="720"><td class="num" id="LN720">720</td><td class="line">remove_local_directory (<span class='keyword'>const</span> <span class='keyword'>char</span> *path)</td></tr>
+<tr class="codeline" data-linenumber="721"><td class="num" id="LN721">721</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="722"><td class="num" id="LN722">722</td><td class="line"> <span class='keyword'>char</span> *uri;</td></tr>
+<tr class="codeline" data-linenumber="723"><td class="num" id="LN723">723</td><td class="line"> gboolean result;</td></tr>
+<tr class="codeline" data-linenumber="724"><td class="num" id="LN724">724</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="725"><td class="num" id="LN725">725</td><td class="line"> <span class='keyword'>if</span> (path == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="726"><td class="num" id="LN726">726</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="727"><td class="num" id="LN727">727</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="728"><td class="num" id="LN728">728</td><td class="line"> uri = g_filename_to_uri (path, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="729"><td class="num" id="LN729">729</td><td class="line"> result = remove_directory (uri);</td></tr>
+<tr class="codeline" data-linenumber="730"><td class="num" id="LN730">730</td><td class="line"> g_free (uri);</td></tr>
+<tr class="codeline" data-linenumber="731"><td class="num" id="LN731">731</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="732"><td class="num" id="LN732">732</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="733"><td class="num" id="LN733">733</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="734"><td class="num" id="LN734">734</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="735"><td class="num" id="LN735">735</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>const</span> <span class='keyword'>char</span> *try_folder[] = { <span class='string_literal'>"cache"</span>, <span class='string_literal'>"~"</span>, <span class='string_literal'>"tmp"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> };</td></tr>
+<tr class="codeline" data-linenumber="736"><td class="num" id="LN736">736</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="737"><td class="num" id="LN737">737</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="738"><td class="num" id="LN738">738</td><td class="line">ith_temp_folder_to_try (<span class='keyword'>int</span> n)</td></tr>
+<tr class="codeline" data-linenumber="739"><td class="num" id="LN739">739</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="740"><td class="num" id="LN740">740</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *folder;</td></tr>
+<tr class="codeline" data-linenumber="741"><td class="num" id="LN741">741</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="742"><td class="num" id="LN742">742</td><td class="line"> folder = try_folder[n];</td></tr>
+<tr class="codeline" data-linenumber="743"><td class="num" id="LN743">743</td><td class="line"> <span class='keyword'>if</span> (strcmp (folder, <span class='string_literal'>"cache"</span>) == 0)</td></tr>
+<tr class="codeline" data-linenumber="744"><td class="num" id="LN744">744</td><td class="line"> folder = g_get_user_cache_dir ();</td></tr>
+<tr class="codeline" data-linenumber="745"><td class="num" id="LN745">745</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (strcmp (folder, <span class='string_literal'>"~"</span>) == 0)</td></tr>
+<tr class="codeline" data-linenumber="746"><td class="num" id="LN746">746</td><td class="line"> folder = g_get_home_dir ();</td></tr>
+<tr class="codeline" data-linenumber="747"><td class="num" id="LN747">747</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (strcmp (folder, <span class='string_literal'>"tmp"</span>) == 0)</td></tr>
+<tr class="codeline" data-linenumber="748"><td class="num" id="LN748">748</td><td class="line"> folder = g_get_tmp_dir ();</td></tr>
+<tr class="codeline" data-linenumber="749"><td class="num" id="LN749">749</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="750"><td class="num" id="LN750">750</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>g_strdup (folder)<span class='macro_popup'>g_strdup_inline (folder)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="751"><td class="num" id="LN751">751</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="752"><td class="num" id="LN752">752</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="753"><td class="num" id="LN753">753</td><td class="line"><span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="754"><td class="num" id="LN754">754</td><td class="line">get_temp_work_dir (<span class='keyword'>const</span> <span class='keyword'>char</span> *parent_folder)</td></tr>
+<tr class="codeline" data-linenumber="755"><td class="num" id="LN755">755</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="756"><td class="num" id="LN756">756</td><td class="line"> guint64 max_size = 0;</td></tr>
+<tr class="codeline" data-linenumber="757"><td class="num" id="LN757">757</td><td class="line"> <span class='keyword'>char</span> *best_folder = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="758"><td class="num" id="LN758">758</td><td class="line"> <span class='keyword'>char</span> *template;</td></tr>
+<tr class="codeline" data-linenumber="759"><td class="num" id="LN759">759</td><td class="line"> <span class='keyword'>char</span> *result = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="760"><td class="num" id="LN760">760</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="761"><td class="num" id="LN761">761</td><td class="line"> <span class='keyword'>if</span> (parent_folder == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="762"><td class="num" id="LN762">762</td><td class="line"> <span class='comment'>/* find the folder with more free space. */</span></td></tr>
+<tr class="codeline" data-linenumber="763"><td class="num" id="LN763">763</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="764"><td class="num" id="LN764">764</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="765"><td class="num" id="LN765">765</td><td class="line"> <span class='keyword'>for</span> (i = 0; try_folder[i] != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; i++) {</td></tr>
+<tr class="codeline" data-linenumber="766"><td class="num" id="LN766">766</td><td class="line"> <span class='keyword'>char</span> *folder;</td></tr>
+<tr class="codeline" data-linenumber="767"><td class="num" id="LN767">767</td><td class="line"> guint64 size;</td></tr>
+<tr class="codeline" data-linenumber="768"><td class="num" id="LN768">768</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="769"><td class="num" id="LN769">769</td><td class="line"> folder = ith_temp_folder_to_try (i);</td></tr>
+<tr class="codeline" data-linenumber="770"><td class="num" id="LN770">770</td><td class="line"> size = get_dest_free_space (folder);</td></tr>
+<tr class="codeline" data-linenumber="771"><td class="num" id="LN771">771</td><td class="line"> <span class='keyword'>if</span> (max_size &lt; size) {</td></tr>
+<tr class="codeline" data-linenumber="772"><td class="num" id="LN772">772</td><td class="line"> max_size = size;</td></tr>
+<tr class="codeline" data-linenumber="773"><td class="num" id="LN773">773</td><td class="line"> g_free (best_folder);</td></tr>
+<tr class="codeline" data-linenumber="774"><td class="num" id="LN774">774</td><td class="line"> best_folder = folder;</td></tr>
+<tr class="codeline" data-linenumber="775"><td class="num" id="LN775">775</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="776"><td class="num" id="LN776">776</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="777"><td class="num" id="LN777">777</td><td class="line"> g_free (folder);</td></tr>
+<tr class="codeline" data-linenumber="778"><td class="num" id="LN778">778</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="779"><td class="num" id="LN779">779</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="780"><td class="num" id="LN780">780</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="781"><td class="num" id="LN781">781</td><td class="line"> best_folder = <span class='macro'>g_strdup (parent_folder)<span class='macro_popup'>g_strdup_inline (parent_folder)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="782"><td class="num" id="LN782">782</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="783"><td class="num" id="LN783">783</td><td class="line"> <span class='keyword'>if</span> (best_folder == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="784"><td class="num" id="LN784">784</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="785"><td class="num" id="LN785">785</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="786"><td class="num" id="LN786">786</td><td class="line"> template = g_strconcat (best_folder, <span class='string_literal'>"/.fr-XXXXXX"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="787"><td class="num" id="LN787">787</td><td class="line"> result = mkdtemp (template);</td></tr>
+<tr class="codeline" data-linenumber="788"><td class="num" id="LN788">788</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="789"><td class="num" id="LN789">789</td><td class="line"> <span class='keyword'>if</span> ((result == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) || (*result == '\0')) {</td></tr>
+<tr class="codeline" data-linenumber="790"><td class="num" id="LN790">790</td><td class="line"> g_free (template);</td></tr>
+<tr class="codeline" data-linenumber="791"><td class="num" id="LN791">791</td><td class="line"> result = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="792"><td class="num" id="LN792">792</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="793"><td class="num" id="LN793">793</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="794"><td class="num" id="LN794">794</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="795"><td class="num" id="LN795">795</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="796"><td class="num" id="LN796">796</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="797"><td class="num" id="LN797">797</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="798"><td class="num" id="LN798">798</td><td class="line">is_temp_work_dir (<span class='keyword'>const</span> <span class='keyword'>char</span> *dir)</td></tr>
+<tr class="codeline" data-linenumber="799"><td class="num" id="LN799">799</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="800"><td class="num" id="LN800">800</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="801"><td class="num" id="LN801">801</td><td class="line"> <span class='keyword'>char</span> *folder = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="802"><td class="num" id="LN802">802</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="803"><td class="num" id="LN803">803</td><td class="line"> <span class='keyword'>if</span> (strncmp (dir, <span class='string_literal'>"file://"</span>, 7) == 0)</td></tr>
+<tr class="codeline" data-linenumber="804"><td class="num" id="LN804">804</td><td class="line"> dir = dir + 7;</td></tr>
+<tr class="codeline" data-linenumber="805"><td class="num" id="LN805">805</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (dir[0] != '/')</td></tr>
+<tr class="codeline" data-linenumber="806"><td class="num" id="LN806">806</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="807"><td class="num" id="LN807">807</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="808"><td class="num" id="LN808">808</td><td class="line"> <span class='keyword'>for</span> (i = 0; try_folder[i] != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; i++) {</td></tr>
+<tr class="codeline" data-linenumber="809"><td class="num" id="LN809">809</td><td class="line"> folder = ith_temp_folder_to_try (i);</td></tr>
+<tr class="codeline" data-linenumber="810"><td class="num" id="LN810">810</td><td class="line"> <span class='keyword'>if</span> (strncmp (dir, folder, strlen (folder)) == 0)</td></tr>
+<tr class="codeline" data-linenumber="811"><td class="num" id="LN811">811</td><td class="line"> <span class='keyword'>if</span> (strncmp (dir + strlen (folder), <span class='string_literal'>"/.fr-"</span>, 5) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="812"><td class="num" id="LN812">812</td><td class="line"> g_free (folder);</td></tr>
+<tr class="codeline" data-linenumber="813"><td class="num" id="LN813">813</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="814"><td class="num" id="LN814">814</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="815"><td class="num" id="LN815">815</td><td class="line"> g_free (folder);</td></tr>
+<tr class="codeline" data-linenumber="816"><td class="num" id="LN816">816</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="817"><td class="num" id="LN817">817</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="818"><td class="num" id="LN818">818</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="819"><td class="num" id="LN819">819</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="820"><td class="num" id="LN820">820</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="821"><td class="num" id="LN821">821</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="822"><td class="num" id="LN822">822</td><td class="line">is_temp_dir (<span class='keyword'>const</span> <span class='keyword'>char</span> *dir)</td></tr>
+<tr class="codeline" data-linenumber="823"><td class="num" id="LN823">823</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="824"><td class="num" id="LN824">824</td><td class="line"> <span class='keyword'>if</span> (strncmp (dir, <span class='string_literal'>"file://"</span>, 7) == 0)</td></tr>
+<tr class="codeline" data-linenumber="825"><td class="num" id="LN825">825</td><td class="line"> dir = dir + 7;</td></tr>
+<tr class="codeline" data-linenumber="826"><td class="num" id="LN826">826</td><td class="line"> <span class='keyword'>if</span> (strcmp (g_get_tmp_dir (), dir) == 0)</td></tr>
+<tr class="codeline" data-linenumber="827"><td class="num" id="LN827">827</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="828"><td class="num" id="LN828">828</td><td class="line"> <span class='keyword'>if</span> (path_in_path (g_get_tmp_dir (), dir))</td></tr>
+<tr class="codeline" data-linenumber="829"><td class="num" id="LN829">829</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="830"><td class="num" id="LN830">830</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="831"><td class="num" id="LN831">831</td><td class="line"> <span class='keyword'>return</span> is_temp_work_dir (dir);</td></tr>
+<tr class="codeline" data-linenumber="832"><td class="num" id="LN832">832</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="833"><td class="num" id="LN833">833</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="834"><td class="num" id="LN834">834</td><td class="line"><span class='comment'>/* file list utils */</span></td></tr>
+<tr class="codeline" data-linenumber="835"><td class="num" id="LN835">835</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="836"><td class="num" id="LN836">836</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="837"><td class="num" id="LN837">837</td><td class="line">file_list__match_pattern (<span class='keyword'>const</span> <span class='keyword'>char</span> *line,</td></tr>
+<tr class="codeline" data-linenumber="838"><td class="num" id="LN838">838</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *pattern)</td></tr>
+<tr class="codeline" data-linenumber="839"><td class="num" id="LN839">839</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="840"><td class="num" id="LN840">840</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *l = line, *p = pattern;</td></tr>
+<tr class="codeline" data-linenumber="841"><td class="num" id="LN841">841</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="842"><td class="num" id="LN842">842</td><td class="line"> <span class='keyword'>for</span> (; (*p != 0) &amp;&amp; (*l != 0); p++, l++) {</td></tr>
+<tr class="codeline" data-linenumber="843"><td class="num" id="LN843">843</td><td class="line"> <span class='keyword'>if</span> (*p != '%') {</td></tr>
+<tr class="codeline" data-linenumber="844"><td class="num" id="LN844">844</td><td class="line"> <span class='keyword'>if</span> (*p != *l)</td></tr>
+<tr class="codeline" data-linenumber="845"><td class="num" id="LN845">845</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="846"><td class="num" id="LN846">846</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="847"><td class="num" id="LN847">847</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="848"><td class="num" id="LN848">848</td><td class="line"> p++;</td></tr>
+<tr class="codeline" data-linenumber="849"><td class="num" id="LN849">849</td><td class="line"> <span class='keyword'>switch</span> (*p) {</td></tr>
+<tr class="codeline" data-linenumber="850"><td class="num" id="LN850">850</td><td class="line"> <span class='keyword'>case</span> 'a':</td></tr>
+<tr class="codeline" data-linenumber="851"><td class="num" id="LN851">851</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="852"><td class="num" id="LN852">852</td><td class="line"> <span class='keyword'>case</span> 'n':</td></tr>
+<tr class="codeline" data-linenumber="853"><td class="num" id="LN853">853</td><td class="line"> <span class='keyword'>if</span> (!<span class='macro'>isdigit (*l)<span class='macro_popup'>((*__ctype_b_loc ())[(int) ((*l))] &amp; (unsigned short int)<br> _ISdigit)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="854"><td class="num" id="LN854">854</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="855"><td class="num" id="LN855">855</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="856"><td class="num" id="LN856">856</td><td class="line"> <span class='keyword'>case</span> 'c':</td></tr>
+<tr class="codeline" data-linenumber="857"><td class="num" id="LN857">857</td><td class="line"> <span class='keyword'>if</span> (!<span class='macro'>isalpha (*l)<span class='macro_popup'>((*__ctype_b_loc ())[(int) ((*l))] &amp; (unsigned short int)<br> _ISalpha)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="858"><td class="num" id="LN858">858</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="859"><td class="num" id="LN859">859</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="860"><td class="num" id="LN860">860</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="861"><td class="num" id="LN861">861</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="862"><td class="num" id="LN862">862</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="863"><td class="num" id="LN863">863</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="864"><td class="num" id="LN864">864</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="865"><td class="num" id="LN865">865</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="866"><td class="num" id="LN866">866</td><td class="line"> <span class='keyword'>return</span> (*p == 0);</td></tr>
+<tr class="codeline" data-linenumber="867"><td class="num" id="LN867">867</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="868"><td class="num" id="LN868">868</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="869"><td class="num" id="LN869">869</td><td class="line"><span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="870"><td class="num" id="LN870">870</td><td class="line">file_list__get_index_from_pattern (<span class='keyword'>const</span> <span class='keyword'>char</span> *line,</td></tr>
+<tr class="codeline" data-linenumber="871"><td class="num" id="LN871">871</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *pattern)</td></tr>
+<tr class="codeline" data-linenumber="872"><td class="num" id="LN872">872</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="873"><td class="num" id="LN873">873</td><td class="line"> <span class='keyword'>int</span> line_l, pattern_l;</td></tr>
+<tr class="codeline" data-linenumber="874"><td class="num" id="LN874">874</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *l;</td></tr>
+<tr class="codeline" data-linenumber="875"><td class="num" id="LN875">875</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="876"><td class="num" id="LN876">876</td><td class="line"> line_l = strlen (line);</td></tr>
+<tr class="codeline" data-linenumber="877"><td class="num" id="LN877">877</td><td class="line"> pattern_l = strlen (pattern);</td></tr>
+<tr class="codeline" data-linenumber="878"><td class="num" id="LN878">878</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="879"><td class="num" id="LN879">879</td><td class="line"> <span class='keyword'>if</span> ((pattern_l == 0) || (line_l == 0))</td></tr>
+<tr class="codeline" data-linenumber="880"><td class="num" id="LN880">880</td><td class="line"> <span class='keyword'>return</span> -1;</td></tr>
+<tr class="codeline" data-linenumber="881"><td class="num" id="LN881">881</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="882"><td class="num" id="LN882">882</td><td class="line"> <span class='keyword'>for</span> (l = line; *l != 0; l++)</td></tr>
+<tr class="codeline" data-linenumber="883"><td class="num" id="LN883">883</td><td class="line"> <span class='keyword'>if</span> (file_list__match_pattern (l, pattern))</td></tr>
+<tr class="codeline" data-linenumber="884"><td class="num" id="LN884">884</td><td class="line"> <span class='keyword'>return</span> (l - line);</td></tr>
+<tr class="codeline" data-linenumber="885"><td class="num" id="LN885">885</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="886"><td class="num" id="LN886">886</td><td class="line"> <span class='keyword'>return</span> -1;</td></tr>
+<tr class="codeline" data-linenumber="887"><td class="num" id="LN887">887</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="888"><td class="num" id="LN888">888</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="889"><td class="num" id="LN889">889</td><td class="line"><span class='keyword'>char</span>*</td></tr>
+<tr class="codeline" data-linenumber="890"><td class="num" id="LN890">890</td><td class="line">file_list__get_prev_field (<span class='keyword'>const</span> <span class='keyword'>char</span> *line,</td></tr>
+<tr class="codeline" data-linenumber="891"><td class="num" id="LN891">891</td><td class="line"> <span class='keyword'>int</span> start_from,</td></tr>
+<tr class="codeline" data-linenumber="892"><td class="num" id="LN892">892</td><td class="line"> <span class='keyword'>int</span> field_n)</td></tr>
+<tr class="codeline" data-linenumber="893"><td class="num" id="LN893">893</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="894"><td class="num" id="LN894">894</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *f_start, *f_end;</td></tr>
+<tr class="codeline" data-linenumber="895"><td class="num" id="LN895">895</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="896"><td class="num" id="LN896">896</td><td class="line"> f_start = line + start_from - 1;</td></tr>
+<tr class="codeline" data-linenumber="897"><td class="num" id="LN897">897</td><td class="line"> <span class='keyword'>while</span> ((*f_start == ' ') &amp;&amp; (*f_start != *line))</td></tr>
+<tr class="codeline" data-linenumber="898"><td class="num" id="LN898">898</td><td class="line"> f_start--;</td></tr>
+<tr class="codeline" data-linenumber="899"><td class="num" id="LN899">899</td><td class="line"> f_end = f_start;</td></tr>
+<tr class="codeline" data-linenumber="900"><td class="num" id="LN900">900</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="901"><td class="num" id="LN901">901</td><td class="line"> <span class='keyword'>while</span> ((field_n &gt; 0) &amp;&amp; (*f_start != *line)) {</td></tr>
+<tr class="codeline" data-linenumber="902"><td class="num" id="LN902">902</td><td class="line"> <span class='keyword'>if</span> (*f_start == ' ') {</td></tr>
+<tr class="codeline" data-linenumber="903"><td class="num" id="LN903">903</td><td class="line"> field_n--;</td></tr>
+<tr class="codeline" data-linenumber="904"><td class="num" id="LN904">904</td><td class="line"> <span class='keyword'>if</span> (field_n != 0) {</td></tr>
+<tr class="codeline" data-linenumber="905"><td class="num" id="LN905">905</td><td class="line"> <span class='keyword'>while</span> ((*f_start == ' ') &amp;&amp; (*f_start != *line))</td></tr>
+<tr class="codeline" data-linenumber="906"><td class="num" id="LN906">906</td><td class="line"> f_start--;</td></tr>
+<tr class="codeline" data-linenumber="907"><td class="num" id="LN907">907</td><td class="line"> f_end = f_start;</td></tr>
+<tr class="codeline" data-linenumber="908"><td class="num" id="LN908">908</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="909"><td class="num" id="LN909">909</td><td class="line"> } <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="910"><td class="num" id="LN910">910</td><td class="line"> f_start--;</td></tr>
+<tr class="codeline" data-linenumber="911"><td class="num" id="LN911">911</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="912"><td class="num" id="LN912">912</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="913"><td class="num" id="LN913">913</td><td class="line"> <span class='keyword'>return</span> g_strndup (f_start + 1, f_end - f_start);</td></tr>
+<tr class="codeline" data-linenumber="914"><td class="num" id="LN914">914</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="915"><td class="num" id="LN915">915</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="916"><td class="num" id="LN916">916</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="917"><td class="num" id="LN917">917</td><td class="line">check_permissions (<span class='keyword'>const</span> <span class='keyword'>char</span> *uri,</td></tr>
+<tr class="codeline" data-linenumber="918"><td class="num" id="LN918">918</td><td class="line"> <span class='keyword'>int</span> mode)</td></tr>
+<tr class="codeline" data-linenumber="919"><td class="num" id="LN919">919</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="920"><td class="num" id="LN920">920</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="921"><td class="num" id="LN921">921</td><td class="line"> gboolean result;</td></tr>
+<tr class="codeline" data-linenumber="922"><td class="num" id="LN922">922</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="923"><td class="num" id="LN923">923</td><td class="line"> file = g_file_new_for_uri (uri);</td></tr>
+<tr class="codeline" data-linenumber="924"><td class="num" id="LN924">924</td><td class="line"> result = check_file_permissions (file, mode);</td></tr>
+<tr class="codeline" data-linenumber="925"><td class="num" id="LN925">925</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="926"><td class="num" id="LN926">926</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="927"><td class="num" id="LN927">927</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="928"><td class="num" id="LN928">928</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="929"><td class="num" id="LN929">929</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="930"><td class="num" id="LN930">930</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="931"><td class="num" id="LN931">931</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="932"><td class="num" id="LN932">932</td><td class="line">check_file_permissions (GFile *file,</td></tr>
+<tr class="codeline" data-linenumber="933"><td class="num" id="LN933">933</td><td class="line"> <span class='keyword'>int</span> mode)</td></tr>
+<tr class="codeline" data-linenumber="934"><td class="num" id="LN934">934</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="935"><td class="num" id="LN935">935</td><td class="line"> gboolean result = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="936"><td class="num" id="LN936">936</td><td class="line"> GFileInfo *info;</td></tr>
+<tr class="codeline" data-linenumber="937"><td class="num" id="LN937">937</td><td class="line"> GError *err = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="938"><td class="num" id="LN938">938</td><td class="line"> gboolean default_permission_when_unknown = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="939"><td class="num" id="LN939">939</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="940"><td class="num" id="LN940">940</td><td class="line"> info = g_file_query_info (file, <span class='string_literal'>"access::*"</span>, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, &amp;err);</td></tr>
+<tr class="codeline" data-linenumber="941"><td class="num" id="LN941">941</td><td class="line"> <span class='keyword'>if</span> (err != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="942"><td class="num" id="LN942">942</td><td class="line"> g_clear_error (&amp;err);</td></tr>
+<tr class="codeline" data-linenumber="943"><td class="num" id="LN943">943</td><td class="line"> result = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="944"><td class="num" id="LN944">944</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="945"><td class="num" id="LN945">945</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="946"><td class="num" id="LN946">946</td><td class="line"> <span class='keyword'>if</span> ((mode &amp; <span class='macro'>R_OK<span class='macro_popup'>4</span></span>) == <span class='macro'>R_OK<span class='macro_popup'>4</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="947"><td class="num" id="LN947">947</td><td class="line"> <span class='keyword'>if</span> (g_file_info_has_attribute (info, <span class='macro'>G_FILE_ATTRIBUTE_ACCESS_CAN_READ<span class='macro_popup'>"access::can-read"</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="948"><td class="num" id="LN948">948</td><td class="line"> result = (result &amp;&amp; g_file_info_get_attribute_boolean (info, <span class='macro'>G_FILE_ATTRIBUTE_ACCESS_CAN_READ<span class='macro_popup'>"access::can-read"</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="949"><td class="num" id="LN949">949</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="950"><td class="num" id="LN950">950</td><td class="line"> result = (result &amp;&amp; default_permission_when_unknown);</td></tr>
+<tr class="codeline" data-linenumber="951"><td class="num" id="LN951">951</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="952"><td class="num" id="LN952">952</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="953"><td class="num" id="LN953">953</td><td class="line"> <span class='keyword'>if</span> ((mode &amp; <span class='macro'>W_OK<span class='macro_popup'>2</span></span>) == <span class='macro'>W_OK<span class='macro_popup'>2</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="954"><td class="num" id="LN954">954</td><td class="line"> <span class='keyword'>if</span> (g_file_info_has_attribute (info, <span class='macro'>G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE<span class='macro_popup'>"access::can-write"</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="955"><td class="num" id="LN955">955</td><td class="line"> result = (result &amp;&amp; g_file_info_get_attribute_boolean (info, <span class='macro'>G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE<span class='macro_popup'>"access::can-write"</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="956"><td class="num" id="LN956">956</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="957"><td class="num" id="LN957">957</td><td class="line"> result = (result &amp;&amp; default_permission_when_unknown);</td></tr>
+<tr class="codeline" data-linenumber="958"><td class="num" id="LN958">958</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="959"><td class="num" id="LN959">959</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="960"><td class="num" id="LN960">960</td><td class="line"> <span class='keyword'>if</span> ((mode &amp; <span class='macro'>X_OK<span class='macro_popup'>1</span></span>) == <span class='macro'>X_OK<span class='macro_popup'>1</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="961"><td class="num" id="LN961">961</td><td class="line"> <span class='keyword'>if</span> (g_file_info_has_attribute (info, <span class='macro'>G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE<span class='macro_popup'>"access::can-execute"</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="962"><td class="num" id="LN962">962</td><td class="line"> result = (result &amp;&amp; g_file_info_get_attribute_boolean (info, <span class='macro'>G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE<span class='macro_popup'>"access::can-execute"</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="963"><td class="num" id="LN963">963</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="964"><td class="num" id="LN964">964</td><td class="line"> result = (result &amp;&amp; default_permission_when_unknown);</td></tr>
+<tr class="codeline" data-linenumber="965"><td class="num" id="LN965">965</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="966"><td class="num" id="LN966">966</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="967"><td class="num" id="LN967">967</td><td class="line"> g_object_unref (info);</td></tr>
+<tr class="codeline" data-linenumber="968"><td class="num" id="LN968">968</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="969"><td class="num" id="LN969">969</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="970"><td class="num" id="LN970">970</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="971"><td class="num" id="LN971">971</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="972"><td class="num" id="LN972">972</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="973"><td class="num" id="LN973">973</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="974"><td class="num" id="LN974">974</td><td class="line">is_program_in_path (<span class='keyword'>const</span> <span class='keyword'>char</span> *filename)</td></tr>
+<tr class="codeline" data-linenumber="975"><td class="num" id="LN975">975</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="976"><td class="num" id="LN976">976</td><td class="line"> <span class='keyword'>char</span> *str;</td></tr>
+<tr class="codeline" data-linenumber="977"><td class="num" id="LN977">977</td><td class="line"> <span class='keyword'>char</span> *value;</td></tr>
+<tr class="codeline" data-linenumber="978"><td class="num" id="LN978">978</td><td class="line"> <span class='keyword'>int</span> result = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="979"><td class="num" id="LN979">979</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="980"><td class="num" id="LN980">980</td><td class="line"> value = g_hash_table_lookup (ProgramsCache, filename);</td></tr>
+<tr class="codeline" data-linenumber="981"><td class="num" id="LN981">981</td><td class="line"> <span class='keyword'>if</span> (value != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="982"><td class="num" id="LN982">982</td><td class="line"> result = (strcmp (value, <span class='string_literal'>"1"</span>) == 0);</td></tr>
+<tr class="codeline" data-linenumber="983"><td class="num" id="LN983">983</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="984"><td class="num" id="LN984">984</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="985"><td class="num" id="LN985">985</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="986"><td class="num" id="LN986">986</td><td class="line"> str = g_find_program_in_path (filename);</td></tr>
+<tr class="codeline" data-linenumber="987"><td class="num" id="LN987">987</td><td class="line"> <span class='keyword'>if</span> (str != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="988"><td class="num" id="LN988">988</td><td class="line"> g_free (str);</td></tr>
+<tr class="codeline" data-linenumber="989"><td class="num" id="LN989">989</td><td class="line"> result = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="990"><td class="num" id="LN990">990</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="991"><td class="num" id="LN991">991</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="992"><td class="num" id="LN992">992</td><td class="line"> g_hash_table_insert (ProgramsCache,</td></tr>
+<tr class="codeline" data-linenumber="993"><td class="num" id="LN993">993</td><td class="line"> <span class='macro'>g_strdup (filename)<span class='macro_popup'>g_strdup_inline (filename)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="994"><td class="num" id="LN994">994</td><td class="line"> result ? <span class='string_literal'>"1"</span> : <span class='string_literal'>"0"</span>);</td></tr>
+<tr class="codeline" data-linenumber="995"><td class="num" id="LN995">995</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="996"><td class="num" id="LN996">996</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="997"><td class="num" id="LN997">997</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="998"><td class="num" id="LN998">998</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="999"><td class="num" id="LN999">999</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="1000"><td class="num" id="LN1000">1000</td><td class="line">is_program_available (<span class='keyword'>const</span> <span class='keyword'>char</span> *filename,</td></tr>
+<tr class="codeline" data-linenumber="1001"><td class="num" id="LN1001">1001</td><td class="line"> gboolean check)</td></tr>
+<tr class="codeline" data-linenumber="1002"><td class="num" id="LN1002">1002</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1003"><td class="num" id="LN1003">1003</td><td class="line"> <span class='keyword'>return</span> ! check || is_program_in_path (filename);</td></tr>
+<tr class="codeline" data-linenumber="1004"><td class="num" id="LN1004">1004</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1005"><td class="num" id="LN1005">1005</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1006"><td class="num" id="LN1006">1006</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="1007"><td class="num" id="LN1007">1007</td><td class="line">get_home_uri (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="1008"><td class="num" id="LN1008">1008</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1009"><td class="num" id="LN1009">1009</td><td class="line"> <span class='keyword'>static</span> <span class='keyword'>char</span> *home_uri = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1010"><td class="num" id="LN1010">1010</td><td class="line"> <span class='keyword'>if</span> (home_uri == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1011"><td class="num" id="LN1011">1011</td><td class="line"> home_uri = g_filename_to_uri (g_get_home_dir (), <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1012"><td class="num" id="LN1012">1012</td><td class="line"> <span class='keyword'>return</span> home_uri;</td></tr>
+<tr class="codeline" data-linenumber="1013"><td class="num" id="LN1013">1013</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1014"><td class="num" id="LN1014">1014</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1015"><td class="num" id="LN1015">1015</td><td class="line">GFile *</td></tr>
+<tr class="codeline" data-linenumber="1016"><td class="num" id="LN1016">1016</td><td class="line">get_user_config_subdirectory (<span class='keyword'>const</span> <span class='keyword'>char</span> *child_name,</td></tr>
+<tr class="codeline" data-linenumber="1017"><td class="num" id="LN1017">1017</td><td class="line"> gboolean create_child)</td></tr>
+<tr class="codeline" data-linenumber="1018"><td class="num" id="LN1018">1018</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1019"><td class="num" id="LN1019">1019</td><td class="line"> <span class='keyword'>char</span> *full_path;</td></tr>
+<tr class="codeline" data-linenumber="1020"><td class="num" id="LN1020">1020</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="1021"><td class="num" id="LN1021">1021</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1022"><td class="num" id="LN1022">1022</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1023"><td class="num" id="LN1023">1023</td><td class="line"> full_path = g_strconcat (g_get_user_config_dir (), <span class='string_literal'>"/"</span>, child_name, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1024"><td class="num" id="LN1024">1024</td><td class="line"> file = g_file_new_for_path (full_path);</td></tr>
+<tr class="codeline" data-linenumber="1025"><td class="num" id="LN1025">1025</td><td class="line"> g_free (full_path);</td></tr>
+<tr class="codeline" data-linenumber="1026"><td class="num" id="LN1026">1026</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1027"><td class="num" id="LN1027">1027</td><td class="line"> <span class='keyword'>if</span> (create_child &amp;&amp; ! make_directory_tree (file, 0700, &amp;error)) {</td></tr>
+<tr class="codeline" data-linenumber="1028"><td class="num" id="LN1028">1028</td><td class="line"> g_warning (<span class='string_literal'>"%s"</span>, error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="1029"><td class="num" id="LN1029">1029</td><td class="line"> g_error_free (error);</td></tr>
+<tr class="codeline" data-linenumber="1030"><td class="num" id="LN1030">1030</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="1031"><td class="num" id="LN1031">1031</td><td class="line"> file = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1032"><td class="num" id="LN1032">1032</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1033"><td class="num" id="LN1033">1033</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1034"><td class="num" id="LN1034">1034</td><td class="line"> <span class='keyword'>return</span> file;</td></tr>
+<tr class="codeline" data-linenumber="1035"><td class="num" id="LN1035">1035</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1036"><td class="num" id="LN1036">1036</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1037"><td class="num" id="LN1037">1037</td><td class="line"><span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="1038"><td class="num" id="LN1038">1038</td><td class="line">uricmp (<span class='keyword'>const</span> <span class='keyword'>char</span> *uri1,</td></tr>
+<tr class="codeline" data-linenumber="1039"><td class="num" id="LN1039">1039</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *uri2)</td></tr>
+<tr class="codeline" data-linenumber="1040"><td class="num" id="LN1040">1040</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1041"><td class="num" id="LN1041">1041</td><td class="line"> <span class='keyword'>return</span> g_strcmp0 (uri1, uri2);</td></tr>
+<tr class="codeline" data-linenumber="1042"><td class="num" id="LN1042">1042</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1043"><td class="num" id="LN1043">1043</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1044"><td class="num" id="LN1044">1044</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="1045"><td class="num" id="LN1045">1045</td><td class="line"> <span class='comment'>* get_alternative_uri:</span></td></tr>
+<tr class="codeline" data-linenumber="1046"><td class="num" id="LN1046">1046</td><td class="line"> <span class='comment'>* @folder_uri: The URI of the containing folder</span></td></tr>
+<tr class="codeline" data-linenumber="1047"><td class="num" id="LN1047">1047</td><td class="line"> <span class='comment'>* @escaped_name: The URI-escaped name of the member to find a name for</span></td></tr>
+<tr class="codeline" data-linenumber="1048"><td class="num" id="LN1048">1048</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="1049"><td class="num" id="LN1049">1049</td><td class="line"> <span class='comment'>* Tries to find an unused name for @escaped_name in @folder_uri.</span></td></tr>
+<tr class="codeline" data-linenumber="1050"><td class="num" id="LN1050">1050</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="1051"><td class="num" id="LN1051">1051</td><td class="line"> <span class='comment'>* Returns: The full URI for the free slot (including directory)</span></td></tr>
+<tr class="codeline" data-linenumber="1052"><td class="num" id="LN1052">1052</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1053"><td class="num" id="LN1053">1053</td><td class="line"><span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="1054"><td class="num" id="LN1054">1054</td><td class="line">get_alternative_uri (<span class='keyword'>const</span> <span class='keyword'>char</span> *folder_uri,</td></tr>
+<tr class="codeline" data-linenumber="1055"><td class="num" id="LN1055">1055</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *escaped_name)</td></tr>
+<tr class="codeline" data-linenumber="1056"><td class="num" id="LN1056">1056</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1057"><td class="num" id="LN1057">1057</td><td class="line"> <span class='keyword'>char</span> *new_uri = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1058"><td class="num" id="LN1058">1058</td><td class="line"> <span class='keyword'>int</span> n = 1;</td></tr>
+<tr class="codeline" data-linenumber="1059"><td class="num" id="LN1059">1059</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1060"><td class="num" id="LN1060">1060</td><td class="line"> <span class='keyword'>do</span> {</td></tr>
+<tr class="codeline" data-linenumber="1061"><td class="num" id="LN1061">1061</td><td class="line"> g_free (new_uri);</td></tr>
+<tr class="codeline" data-linenumber="1062"><td class="num" id="LN1062">1062</td><td class="line"> <span class='keyword'>if</span> (n == 1)</td></tr>
+<tr class="codeline" data-linenumber="1063"><td class="num" id="LN1063">1063</td><td class="line"> new_uri = g_strconcat (folder_uri, <span class='string_literal'>"/"</span>, escaped_name, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1064"><td class="num" id="LN1064">1064</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1065"><td class="num" id="LN1065">1065</td><td class="line"> new_uri = g_strdup_printf (<span class='string_literal'>"%s/%s%%20(%d)"</span>, folder_uri, escaped_name, n);</td></tr>
+<tr class="codeline" data-linenumber="1066"><td class="num" id="LN1066">1066</td><td class="line"> n++;</td></tr>
+<tr class="codeline" data-linenumber="1067"><td class="num" id="LN1067">1067</td><td class="line"> } <span class='keyword'>while</span> (uri_exists (new_uri));</td></tr>
+<tr class="codeline" data-linenumber="1068"><td class="num" id="LN1068">1068</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1069"><td class="num" id="LN1069">1069</td><td class="line"> <span class='keyword'>return</span> new_uri;</td></tr>
+<tr class="codeline" data-linenumber="1070"><td class="num" id="LN1070">1070</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1071"><td class="num" id="LN1071">1071</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1072"><td class="num" id="LN1072">1072</td><td class="line"><span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="1073"><td class="num" id="LN1073">1073</td><td class="line">get_alternative_uri_for_uri (<span class='keyword'>const</span> <span class='keyword'>char</span> *uri)</td></tr>
+<tr class="codeline" data-linenumber="1074"><td class="num" id="LN1074">1074</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1075"><td class="num" id="LN1075">1075</td><td class="line"> <span class='keyword'>char</span> *base_uri;</td></tr>
+<tr class="codeline" data-linenumber="1076"><td class="num" id="LN1076">1076</td><td class="line"> <span class='keyword'>char</span> *new_uri;</td></tr>
+<tr class="codeline" data-linenumber="1077"><td class="num" id="LN1077">1077</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1078"><td class="num" id="LN1078">1078</td><td class="line"> base_uri = remove_level_from_path (uri);</td></tr>
+<tr class="codeline" data-linenumber="1079"><td class="num" id="LN1079">1079</td><td class="line"> new_uri = get_alternative_uri (base_uri, file_name_from_path (uri));</td></tr>
+<tr class="codeline" data-linenumber="1080"><td class="num" id="LN1080">1080</td><td class="line"> g_free (base_uri);</td></tr>
+<tr class="codeline" data-linenumber="1081"><td class="num" id="LN1081">1081</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1082"><td class="num" id="LN1082">1082</td><td class="line"> <span class='keyword'>return</span> new_uri;</td></tr>
+<tr class="codeline" data-linenumber="1083"><td class="num" id="LN1083">1083</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1084"><td class="num" id="LN1084">1084</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1085"><td class="num" id="LN1085">1085</td><td class="line">GList *</td></tr>
+<tr class="codeline" data-linenumber="1086"><td class="num" id="LN1086">1086</td><td class="line">gio_file_list_dup (GList *l)</td></tr>
+<tr class="codeline" data-linenumber="1087"><td class="num" id="LN1087">1087</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1088"><td class="num" id="LN1088">1088</td><td class="line"> GList *r = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, *scan;</td></tr>
+<tr class="codeline" data-linenumber="1089"><td class="num" id="LN1089">1089</td><td class="line"> <span class='keyword'>for</span> (scan = l; scan; scan = scan-&gt;next)</td></tr>
+<tr class="codeline" data-linenumber="1090"><td class="num" id="LN1090">1090</td><td class="line"> r = g_list_prepend (r, g_file_dup ((GFile*)scan-&gt;data));</td></tr>
+<tr class="codeline" data-linenumber="1091"><td class="num" id="LN1091">1091</td><td class="line"> <span class='keyword'>return</span> g_list_reverse (r);</td></tr>
+<tr class="codeline" data-linenumber="1092"><td class="num" id="LN1092">1092</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1093"><td class="num" id="LN1093">1093</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1094"><td class="num" id="LN1094">1094</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1095"><td class="num" id="LN1095">1095</td><td class="line">gio_file_list_free (GList *l)</td></tr>
+<tr class="codeline" data-linenumber="1096"><td class="num" id="LN1096">1096</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1097"><td class="num" id="LN1097">1097</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="1098"><td class="num" id="LN1098">1098</td><td class="line"> <span class='keyword'>for</span> (scan = l; scan; scan = scan-&gt;next)</td></tr>
+<tr class="codeline" data-linenumber="1099"><td class="num" id="LN1099">1099</td><td class="line"> g_object_unref (scan-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="1100"><td class="num" id="LN1100">1100</td><td class="line"> g_list_free (l);</td></tr>
+<tr class="codeline" data-linenumber="1101"><td class="num" id="LN1101">1101</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1102"><td class="num" id="LN1102">1102</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1103"><td class="num" id="LN1103">1103</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1104"><td class="num" id="LN1104">1104</td><td class="line">g_key_file_save (GKeyFile *key_file,</td></tr>
+<tr class="codeline" data-linenumber="1105"><td class="num" id="LN1105">1105</td><td class="line"> GFile *file)</td></tr>
+<tr class="codeline" data-linenumber="1106"><td class="num" id="LN1106">1106</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1107"><td class="num" id="LN1107">1107</td><td class="line"> <span class='keyword'>char</span> *file_data;</td></tr>
+<tr class="codeline" data-linenumber="1108"><td class="num" id="LN1108">1108</td><td class="line"> gsize size;</td></tr>
+<tr class="codeline" data-linenumber="1109"><td class="num" id="LN1109">1109</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1110"><td class="num" id="LN1110">1110</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1111"><td class="num" id="LN1111">1111</td><td class="line"> file_data = g_key_file_to_data (key_file, &amp;size, &amp;error);</td></tr>
+<tr class="codeline" data-linenumber="1112"><td class="num" id="LN1112">1112</td><td class="line"> <span class='keyword'>if</span> (error != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1113"><td class="num" id="LN1113">1113</td><td class="line"> g_warning (<span class='string_literal'>"Could not save options: %s\n"</span>, error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="1114"><td class="num" id="LN1114">1114</td><td class="line"> g_clear_error (&amp;error);</td></tr>
+<tr class="codeline" data-linenumber="1115"><td class="num" id="LN1115">1115</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1116"><td class="num" id="LN1116">1116</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1117"><td class="num" id="LN1117">1117</td><td class="line"> GFileOutputStream *stream;</td></tr>
+<tr class="codeline" data-linenumber="1118"><td class="num" id="LN1118">1118</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1119"><td class="num" id="LN1119">1119</td><td class="line"> stream = g_file_replace (file, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, &amp;error);</td></tr>
+<tr class="codeline" data-linenumber="1120"><td class="num" id="LN1120">1120</td><td class="line"> <span class='keyword'>if</span> (stream == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1121"><td class="num" id="LN1121">1121</td><td class="line"> g_warning (<span class='string_literal'>"Could not save options: %s\n"</span>, error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="1122"><td class="num" id="LN1122">1122</td><td class="line"> g_clear_error (&amp;error);</td></tr>
+<tr class="codeline" data-linenumber="1123"><td class="num" id="LN1123">1123</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1124"><td class="num" id="LN1124">1124</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (! g_output_stream_write_all (<span class='macro'>G_OUTPUT_STREAM (stream)<span class='macro_popup'>((((GOutputStream*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((stream)), ((g_output_stream_get_type ()))))))</span></span>, file_data, size, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, &amp;error)) {</td></tr>
+<tr class="codeline" data-linenumber="1125"><td class="num" id="LN1125">1125</td><td class="line"> g_warning (<span class='string_literal'>"Could not save options: %s\n"</span>, error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="1126"><td class="num" id="LN1126">1126</td><td class="line"> g_clear_error (&amp;error);</td></tr>
+<tr class="codeline" data-linenumber="1127"><td class="num" id="LN1127">1127</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1128"><td class="num" id="LN1128">1128</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (! g_output_stream_close (<span class='macro'>G_OUTPUT_STREAM (stream)<span class='macro_popup'>((((GOutputStream*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((stream)), ((g_output_stream_get_type ()))))))</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, &amp;error)) {</td></tr>
+<tr class="codeline" data-linenumber="1129"><td class="num" id="LN1129">1129</td><td class="line"> g_warning (<span class='string_literal'>"Could not save options: %s\n"</span>, error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="1130"><td class="num" id="LN1130">1130</td><td class="line"> g_clear_error (&amp;error);</td></tr>
+<tr class="codeline" data-linenumber="1131"><td class="num" id="LN1131">1131</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1132"><td class="num" id="LN1132">1132</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1133"><td class="num" id="LN1133">1133</td><td class="line"> g_object_unref (stream);</td></tr>
+<tr class="codeline" data-linenumber="1134"><td class="num" id="LN1134">1134</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1135"><td class="num" id="LN1135">1135</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1136"><td class="num" id="LN1136">1136</td><td class="line"> g_free (file_data);</td></tr>
+<tr class="codeline" data-linenumber="1137"><td class="num" id="LN1137">1137</td><td class="line">}</td></tr>
+</table></body></html>
diff --git a/2024-03-27-012041-5213-1@78903120e74d_master/report-22051c.html b/2024-03-27-012041-5213-1@78903120e74d_master/report-22051c.html
new file mode 100644
index 0000000..1013916
--- /dev/null
+++ b/2024-03-27-012041-5213-1@78903120e74d_master/report-22051c.html
@@ -0,0 +1,9672 @@
+<!doctype html>
+<html>
+<head>
+<title>fr-window.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC Null pointer passed to 1st parameter expecting 'nonnull' -->
+
+<!-- BUGTYPE Argument with 'nonnull' attribute passed null -->
+
+<!-- BUGCATEGORY API -->
+
+<!-- BUGFILE /rootdir/src/fr-window.c -->
+
+<!-- FILENAME fr-window.c -->
+
+<!-- FUNCTIONNAME rename_selection -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT 22051cabf35619cd686d23d20ef137df -->
+
+<!-- BUGLINE 7378 -->
+
+<!-- BUGCOLUMN 28 -->
+
+<!-- BUGPATHLENGTH 26 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>src/fr-window.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 7378, column 28</a><br />Null pointer passed to 1st parameter expecting 'nonnull'</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name fr-window.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/src -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I .. -I ../mate-submodules/libegg/ -I .. -I .. -D ENGRAMPA_RESOURCE_UI_PATH="/org/mate/Engrampa/ui" -D FR_PREFIX="/usr/local" -D FR_SYSCONFDIR="/usr/local/etc" -D FR_DATADIR="/usr/local/share" -D PRIVDATADIR="/usr/local/share/engrampa/" -D FR_LIBDIR="/usr/local/lib" -D PKG_DATA_DIR="/usr/local/share/engrampa" -D PIXMAPSDIR="/usr/local/share/pixmaps" -D GLADEDIR="" -D LOCALEDIR="/usr/local/share/locale" -D SHDIR="/usr/local/libexec/engrampa/" -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/cairo -I /usr/include/gio-unix-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/libmount -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/fribidi -I /usr/include/sysprof-6 -I /usr/include/libpng16 -I /usr/include/json-glib-1.0 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/libmount -I /usr/include/blkid -I /usr/include/sysprof-6 -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-unused-parameter -fdebug-compilation-dir=/rootdir/src -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2024-03-27-012041-5213-1 -x c fr-window.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"7238": 1, "7239": 1, "7240": 1, "7241": 1, "7242": 1, "7243": 1, "7244": 1, "7245": 1, "7246": 1, "7247": 1, "7249": 1, "7250": 1, "7251": 1, "7253": 1, "7255": 1, "7257": 1, "7258": 1, "7259": 1, "7262": 1, "7278": 1, "7279": 1, "7280": 1, "7281": 1, "7282": 1, "7283": 1, "7284": 1, "7285": 1, "7286": 1, "7287": 1, "7288": 1, "7289": 1, "7290": 1, "7291": 1, "7292": 1, "7293": 1, "7294": 1, "7295": 1, "7297": 1, "7298": 1, "7299": 1, "7300": 1, "7301": 1, "7302": 1, "7303": 1, "7304": 1, "7306": 1, "7307": 1, "7309": 1, "7311": 1, "7313": 1, "7316": 1, "7318": 1, "7319": 1, "7320": 1, "7325": 1, "7329": 1, "7330": 1, "7335": 1, "7336": 1, "7339": 1, "7351": 1, "7352": 1, "7353": 1, "7370": 1, "7371": 1, "7372": 1, "7373": 1, "7374": 1, "7376": 1, "7378": 1, "8536": 1, "8537": 1, "8538": 1, "8539": 1, "8540": 1, "8541": 1, "8542": 1, "8543": 1, "8545": 1, "8620": 1, "8621": 1, "8623": 1, "8624": 1, "8625": 1, "8626": 1, "8627": 1, "8628": 1, "8629": 1, "8630": 1, "8631": 1, "8689": 1, "8690": 1, "8691": 1, "8692": 1, "8694": 1, "8696": 1, "8697": 1, "8698": 1, "8701": 1, "8702": 1, "8703": 1, "8704": 1, "8705": 1, "8706": 1, "8707": 1, "8709": 1, "8711": 1, "8712": 1, "8713": 1, "8714": 1, "8716": 1, "8717": 1, "8718": 1, "8719": 1}, "20390": {"308": 1, "309": 1, "310": 1, "311": 1, "314": 1, "321": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+ <path class="arrow" id="arrow0"/>
+ <path class="arrow" id="arrow1"/>
+ <path class="arrow" id="arrow2"/>
+ <path class="arrow" id="arrow3"/>
+ <path class="arrow" id="arrow4"/>
+ <path class="arrow" id="arrow5"/>
+ <path class="arrow" id="arrow6"/>
+ <path class="arrow" id="arrow7"/>
+ <path class="arrow" id="arrow8"/>
+ <path class="arrow" id="arrow9"/>
+ <path class="arrow" id="arrow10"/>
+ <path class="arrow" id="arrow11"/>
+ <path class="arrow" id="arrow12"/>
+ <path class="arrow" id="arrow13"/>
+ <path class="arrow" id="arrow14"/>
+ <path class="arrow" id="arrow15"/>
+ <path class="arrow" id="arrow16"/>
+ <path class="arrow" id="arrow17"/>
+ <path class="arrow" id="arrow18"/>
+ <path class="arrow" id="arrow19"/>
+ <path class="arrow" id="arrow20"/>
+ <path class="arrow" id="arrow21"/>
+ <path class="arrow" id="arrow22"/>
+ <path class="arrow" id="arrow23"/>
+ <path class="arrow" id="arrow24"/>
+ <path class="arrow" id="arrow25"/>
+ <path class="arrow" id="arrow26"/>
+ <path class="arrow" id="arrow27"/>
+ <path class="arrow" id="arrow28"/>
+ <path class="arrow" id="arrow29"/>
+ <path class="arrow" id="arrow30"/>
+ <path class="arrow" id="arrow31"/>
+ <path class="arrow" id="arrow32"/>
+ <path class="arrow" id="arrow33"/>
+ <path class="arrow" id="arrow34"/>
+ <path class="arrow" id="arrow35"/>
+ <path class="arrow" id="arrow36"/>
+ <path class="arrow" id="arrow37"/>
+ <path class="arrow" id="arrow38"/>
+ <path class="arrow" id="arrow39"/>
+ <path class="arrow" id="arrow40"/>
+ <path class="arrow" id="arrow41"/>
+ <path class="arrow" id="arrow42"/>
+ <path class="arrow" id="arrow43"/>
+ <path class="arrow" id="arrow44"/>
+ <path class="arrow" id="arrow45"/>
+ <path class="arrow" id="arrow46"/>
+ <path class="arrow" id="arrow47"/>
+ <path class="arrow" id="arrow48"/>
+ <path class="arrow" id="arrow49"/>
+ <path class="arrow" id="arrow50"/>
+ <path class="arrow" id="arrow51"/>
+ <path class="arrow" id="arrow52"/>
+ <path class="arrow" id="arrow53"/>
+ <path class="arrow" id="arrow54"/>
+ <path class="arrow" id="arrow55"/>
+ <path class="arrow" id="arrow56"/>
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 57,57,52,49,46,44,42,40,40,38,38,36,33,31,30,28,25,24,22,20,11,6,3,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"><span class='comment'>/*</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>* Engrampa</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>* Copyright (C) 2007 Free Software Foundation, Inc.</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>* This program is free software; you can redistribute it and/or modify</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>* it under the terms of the GNU General Public License as published by</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>* the Free Software Foundation; either version 2 of the License, or</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>* (at your option) any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>* This program is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>* GNU General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>* along with this program; if not, write to the Free Software</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"><span class='directive'>#include &lt;config.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"><span class='directive'>#include &lt;math.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"><span class='directive'>#include &lt;string.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#include &lt;glib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"><span class='directive'>#include &lt;glib/gi18n.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"><span class='directive'>#include &lt;gio/gio.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#include &lt;gdk/gdk.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"><span class='directive'>#include &lt;gdk/gdkkeysyms.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"><span class='directive'>#include &lt;gdk-pixbuf/gdk-pixbuf.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"><span class='directive'>#include "actions.h"</span></td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"><span class='directive'>#include "dlg-batch-add.h"</span></td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"><span class='directive'>#include "dlg-delete.h"</span></td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"><span class='directive'>#include "dlg-extract.h"</span></td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line"><span class='directive'>#include "dlg-open-with.h"</span></td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line"><span class='directive'>#include "dlg-ask-password.h"</span></td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"><span class='directive'>#include "dlg-package-installer.h"</span></td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line"><span class='directive'>#include "dlg-update.h"</span></td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line"><span class='directive'>#include "eggtreemultidnd.h"</span></td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"><span class='directive'>#include "fr-marshal.h"</span></td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"><span class='directive'>#include "fr-list-model.h"</span></td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"><span class='directive'>#include "fr-archive.h"</span></td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line"><span class='directive'>#include "fr-error.h"</span></td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line"><span class='directive'>#include "fr-window.h"</span></td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"><span class='directive'>#include "file-data.h"</span></td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line"><span class='directive'>#include "file-utils.h"</span></td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"><span class='directive'>#include "glib-utils.h"</span></td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line"><span class='directive'>#include "fr-init.h"</span></td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"><span class='directive'>#include "gtk-utils.h"</span></td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"><span class='directive'>#include "open-file.h"</span></td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line"><span class='directive'>#include "typedefs.h"</span></td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line"><span class='directive'>#include "ui.h"</span></td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line"><span class='directive'>#ifdef <span class='macro'>__GNUC__<span class='macro_popup'>4</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line"><span class='directive'>#define <span class='macro'>UNUSED_VARIABLE<span class='macro_popup'>__attribute__ ((unused))</span></span> __attribute__ ((unused))</span></td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line"><span class='directive'>#else</span></td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line"><span class='directive'>#define <span class='macro'>UNUSED_VARIABLE<span class='macro_popup'>__attribute__ ((unused))</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line"><span class='directive'>#define <span class='macro'>LAST_OUTPUT_DIALOG_NAME<span class='macro_popup'>"last-output"</span></span> "last-output"</span></td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line"><span class='directive'>#define <span class='macro'>ACTIVITY_DELAY<span class='macro_popup'>100</span></span> 100</span></td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"><span class='directive'>#define <span class='macro'>ACTIVITY_PULSE_STEP<span class='macro_popup'>(0.033)</span></span> (0.033)</span></td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line"><span class='directive'>#define <span class='macro'>PROGRESS_TIMEOUT_MSECS<span class='macro_popup'>5000</span></span> 5000</span></td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"><span class='directive'>#define <span class='macro'>PROGRESS_DIALOG_DEFAULT_WIDTH<span class='macro_popup'>500</span></span> 500</span></td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"><span class='directive'>#define <span class='macro'>PROGRESS_BAR_HEIGHT<span class='macro_popup'>10</span></span> 10</span></td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line"><span class='directive'>#undef LOG_PROGRESS</span></td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line"><span class='directive'>#define <span class='macro'>HIDE_PROGRESS_TIMEOUT_MSECS<span class='macro_popup'>500</span></span> 500</span></td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"><span class='directive'>#define <span class='macro'>DEFAULT_NAME_COLUMN_WIDTH<span class='macro_popup'>250</span></span> 250</span></td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"><span class='directive'>#define <span class='macro'>OTHER_COLUMNS_WIDTH<span class='macro_popup'>100</span></span> 100</span></td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line"><span class='directive'>#define <span class='macro'>FILE_LIST_ICON_SIZE<span class='macro_popup'>GTK_ICON_SIZE_LARGE_TOOLBAR</span></span> GTK_ICON_SIZE_LARGE_TOOLBAR</span></td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line"><span class='directive'>#define <span class='macro'>BAD_CHARS<span class='macro_popup'>"/\\*"</span></span> "/\\*"</span></td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"><span class='keyword'>static</span> GHashTable *tree_pixbuf_hash = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line"><span class='keyword'>static</span> GtkIconTheme *icon_theme = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span> file_list_icon_size = 0;</td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"><span class='directive'>#define <span class='macro'>XDS_FILENAME<span class='macro_popup'>"xds.txt"</span></span> "xds.txt"</span></td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"><span class='directive'>#define <span class='macro'>MAX_XDS_ATOM_VAL_LEN<span class='macro_popup'>4096</span></span> 4096</span></td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"><span class='directive'>#define <span class='macro'>XDS_ATOM<span class='macro_popup'>gdk_atom_intern ("XdndDirectSave0", (0))</span></span> gdk_atom_intern ("XdndDirectSave0", <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>)</span></td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line"><span class='directive'>#define <span class='macro'>TEXT_ATOM<span class='macro_popup'>gdk_atom_intern ("text/plain", (0))</span></span> gdk_atom_intern ("text/plain", <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>)</span></td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line"><span class='directive'>#define <span class='macro'>XFR_ATOM<span class='macro_popup'>gdk_atom_intern ("XdndEngrampa0", (0))</span></span> gdk_atom_intern ("XdndEngrampa0", <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>)</span></td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line"><span class='directive'>#define <span class='macro'>FR_CLIPBOARD<span class='macro_popup'>(gdk_atom_intern_static_string ("_RNGRAMPA_SPECIAL_CLIPBOARD"<br>))</span></span> (gdk_atom_intern_static_string ("_RNGRAMPA_SPECIAL_CLIPBOARD"))</span></td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line"><span class='directive'>#define <span class='macro'>FR_SPECIAL_URI_LIST<span class='macro_popup'>(gdk_atom_intern_static_string ("application/engrampa-uri-list"<br>))</span></span> (gdk_atom_intern_static_string ("application/engrampa-uri-list"))</span></td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line"><span class='keyword'>static</span> GtkTargetEntry clipboard_targets[] = {</td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line"> { <span class='string_literal'>"application/engrampa-uri-list"</span>, 0, 1 }</td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"><span class='keyword'>static</span> GtkTargetEntry target_table[] = {</td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"> { <span class='string_literal'>"XdndEngrampa0"</span>, 0, 0 },</td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"> { <span class='string_literal'>"text/uri-list"</span>, 0, 1 },</td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"><span class='keyword'>static</span> GtkTargetEntry folder_tree_targets[] = {</td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> { <span class='string_literal'>"XdndEngrampa0"</span>, 0, 0 },</td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"> { <span class='string_literal'>"XdndDirectSave0"</span>, 0, 2 }</td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span> {</td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> FrBatchActionType type;</td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line"> <span class='keyword'>void</span> * data;</td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line"> GFreeFunc free_func;</td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line">} FRBatchAction;</td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span> {</td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line"> guint converting : 1;</td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> <span class='keyword'>char</span> *temp_dir;</td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line"> FrArchive *new_archive;</td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line"> <span class='keyword'>char</span> *password;</td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"> gboolean encrypt_header;</td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line"> guint volume_size;</td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line"> <span class='keyword'>char</span> *new_file;</td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line">} FRConvertData;</td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>enum</span> {</td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"> FR_CLIPBOARD_OP_CUT,</td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"> FR_CLIPBOARD_OP_COPY</td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line">} FRClipboardOp;</td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span> {</td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line"> GList *file_list;</td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> <span class='keyword'>char</span> *extract_to_dir;</td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"> <span class='keyword'>char</span> *sub_dir;</td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"> <span class='keyword'>char</span> *base_dir;</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"> gboolean skip_older;</td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"> FrOverwrite overwrite;</td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> gboolean junk_paths;</td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"> <span class='keyword'>char</span> *password;</td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> gboolean extract_here;</td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line"> gboolean ask_to_open_destination;</td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line">} ExtractData;</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>enum</span> {</td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line"> FR_WINDOW_AREA_MENUBAR,</td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"> FR_WINDOW_AREA_TOOLBAR,</td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"> FR_WINDOW_AREA_LOCATIONBAR,</td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line"> FR_WINDOW_AREA_CONTENTS,</td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line"> FR_WINDOW_AREA_FILTERBAR,</td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line"> FR_WINDOW_AREA_STATUSBAR,</td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line">} FrWindowArea;</td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>enum</span> {</td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line"> DIALOG_RESPONSE_NONE = 1,</td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> DIALOG_RESPONSE_OPEN_ARCHIVE,</td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line"> DIALOG_RESPONSE_OPEN_DESTINATION_FOLDER,</td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"> DIALOG_RESPONSE_OPEN_DESTINATION_FOLDER_AND_QUIT,</td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line"> DIALOG_RESPONSE_QUIT</td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line">} DialogResponse;</td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line"><span class='comment'>/* -- FrClipboardData -- */</span></td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span> {</td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> <span class='keyword'>int</span> refs;</td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> <span class='keyword'>char</span> *archive_filename;</td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"> <span class='keyword'>char</span> *archive_password;</td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> FRClipboardOp op;</td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"> <span class='keyword'>char</span> *base_dir;</td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> GList *files;</td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> <span class='keyword'>char</span> *tmp_dir;</td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> <span class='keyword'>char</span> *current_dir;</td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line">} FrClipboardData;</td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"><span class='keyword'>static</span> FrClipboardData*</td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line">fr_clipboard_data_new (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line"> FrClipboardData *data;</td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"> data = <span class='macro'>g_new0 (FrClipboardData, 1)<span class='macro_popup'>((FrClipboardData *) g_malloc0_n ((1), sizeof (FrClipboardData<br>)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line"> data-&gt;refs = 1;</td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> <span class='keyword'>return</span> data;</td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"><span class='keyword'>static</span> FrClipboardData *</td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line">fr_clipboard_data_ref (FrClipboardData *clipboard_data)</td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line"> clipboard_data-&gt;refs++;</td></tr>
+<tr class="codeline" data-linenumber="185"><td class="num" id="LN185">185</td><td class="line"> <span class='keyword'>return</span> clipboard_data;</td></tr>
+<tr class="codeline" data-linenumber="186"><td class="num" id="LN186">186</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="187"><td class="num" id="LN187">187</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="188"><td class="num" id="LN188">188</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="189"><td class="num" id="LN189">189</td><td class="line">fr_clipboard_data_unref (FrClipboardData *clipboard_data)</td></tr>
+<tr class="codeline" data-linenumber="190"><td class="num" id="LN190">190</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="191"><td class="num" id="LN191">191</td><td class="line"> <span class='keyword'>if</span> (clipboard_data == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="192"><td class="num" id="LN192">192</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="193"><td class="num" id="LN193">193</td><td class="line"> <span class='keyword'>if</span> (--clipboard_data-&gt;refs &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="194"><td class="num" id="LN194">194</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="195"><td class="num" id="LN195">195</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="196"><td class="num" id="LN196">196</td><td class="line"> g_free (clipboard_data-&gt;archive_filename);</td></tr>
+<tr class="codeline" data-linenumber="197"><td class="num" id="LN197">197</td><td class="line"> g_free (clipboard_data-&gt;archive_password);</td></tr>
+<tr class="codeline" data-linenumber="198"><td class="num" id="LN198">198</td><td class="line"> g_free (clipboard_data-&gt;base_dir);</td></tr>
+<tr class="codeline" data-linenumber="199"><td class="num" id="LN199">199</td><td class="line"> g_free (clipboard_data-&gt;tmp_dir);</td></tr>
+<tr class="codeline" data-linenumber="200"><td class="num" id="LN200">200</td><td class="line"> g_free (clipboard_data-&gt;current_dir);</td></tr>
+<tr class="codeline" data-linenumber="201"><td class="num" id="LN201">201</td><td class="line"> g_list_free_full (clipboard_data-&gt;files, g_free);</td></tr>
+<tr class="codeline" data-linenumber="202"><td class="num" id="LN202">202</td><td class="line"> g_free (clipboard_data);</td></tr>
+<tr class="codeline" data-linenumber="203"><td class="num" id="LN203">203</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="204"><td class="num" id="LN204">204</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="205"><td class="num" id="LN205">205</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="206"><td class="num" id="LN206">206</td><td class="line">fr_clipboard_data_set_password (FrClipboardData *clipboard_data,</td></tr>
+<tr class="codeline" data-linenumber="207"><td class="num" id="LN207">207</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *password)</td></tr>
+<tr class="codeline" data-linenumber="208"><td class="num" id="LN208">208</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="209"><td class="num" id="LN209">209</td><td class="line"> <span class='keyword'>if</span> (clipboard_data-&gt;archive_password != password)</td></tr>
+<tr class="codeline" data-linenumber="210"><td class="num" id="LN210">210</td><td class="line"> g_free (clipboard_data-&gt;archive_password);</td></tr>
+<tr class="codeline" data-linenumber="211"><td class="num" id="LN211">211</td><td class="line"> <span class='keyword'>if</span> (password != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="212"><td class="num" id="LN212">212</td><td class="line"> clipboard_data-&gt;archive_password = <span class='macro'>g_strdup (password)<span class='macro_popup'>g_strdup_inline (password)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="213"><td class="num" id="LN213">213</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="214"><td class="num" id="LN214">214</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="215"><td class="num" id="LN215">215</td><td class="line"><span class='comment'>/**/</span></td></tr>
+<tr class="codeline" data-linenumber="216"><td class="num" id="LN216">216</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="217"><td class="num" id="LN217">217</td><td class="line"><span class='keyword'>enum</span> {</td></tr>
+<tr class="codeline" data-linenumber="218"><td class="num" id="LN218">218</td><td class="line"> ARCHIVE_LOADED,</td></tr>
+<tr class="codeline" data-linenumber="219"><td class="num" id="LN219">219</td><td class="line"> PROGRESS,</td></tr>
+<tr class="codeline" data-linenumber="220"><td class="num" id="LN220">220</td><td class="line"> READY,</td></tr>
+<tr class="codeline" data-linenumber="221"><td class="num" id="LN221">221</td><td class="line"> LAST_SIGNAL</td></tr>
+<tr class="codeline" data-linenumber="222"><td class="num" id="LN222">222</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="223"><td class="num" id="LN223">223</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="224"><td class="num" id="LN224">224</td><td class="line"><span class='keyword'>static</span> GtkApplicationWindowClass *parent_class = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="225"><td class="num" id="LN225">225</td><td class="line"><span class='keyword'>static</span> guint fr_window_signals[LAST_SIGNAL] = { 0 };</td></tr>
+<tr class="codeline" data-linenumber="226"><td class="num" id="LN226">226</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="227"><td class="num" id="LN227">227</td><td class="line"><span class='keyword'>struct</span> _FrWindowPrivateData {</td></tr>
+<tr class="codeline" data-linenumber="228"><td class="num" id="LN228">228</td><td class="line"> GtkWidget *layout;</td></tr>
+<tr class="codeline" data-linenumber="229"><td class="num" id="LN229">229</td><td class="line"> GtkWidget *contents;</td></tr>
+<tr class="codeline" data-linenumber="230"><td class="num" id="LN230">230</td><td class="line"> GtkWidget *list_view;</td></tr>
+<tr class="codeline" data-linenumber="231"><td class="num" id="LN231">231</td><td class="line"> GtkListStore *list_store;</td></tr>
+<tr class="codeline" data-linenumber="232"><td class="num" id="LN232">232</td><td class="line"> GtkWidget *tree_view;</td></tr>
+<tr class="codeline" data-linenumber="233"><td class="num" id="LN233">233</td><td class="line"> GtkTreeStore *tree_store;</td></tr>
+<tr class="codeline" data-linenumber="234"><td class="num" id="LN234">234</td><td class="line"> GtkWidget *toolbar;</td></tr>
+<tr class="codeline" data-linenumber="235"><td class="num" id="LN235">235</td><td class="line"> GtkWidget *statusbar;</td></tr>
+<tr class="codeline" data-linenumber="236"><td class="num" id="LN236">236</td><td class="line"> GtkWidget *progress_bar;</td></tr>
+<tr class="codeline" data-linenumber="237"><td class="num" id="LN237">237</td><td class="line"> GtkWidget *location_bar;</td></tr>
+<tr class="codeline" data-linenumber="238"><td class="num" id="LN238">238</td><td class="line"> GtkWidget *location_entry;</td></tr>
+<tr class="codeline" data-linenumber="239"><td class="num" id="LN239">239</td><td class="line"> GtkWidget *location_label;</td></tr>
+<tr class="codeline" data-linenumber="240"><td class="num" id="LN240">240</td><td class="line"> GtkWidget *filter_bar;</td></tr>
+<tr class="codeline" data-linenumber="241"><td class="num" id="LN241">241</td><td class="line"> GtkWidget *filter_entry;</td></tr>
+<tr class="codeline" data-linenumber="242"><td class="num" id="LN242">242</td><td class="line"> GtkWidget *paned;</td></tr>
+<tr class="codeline" data-linenumber="243"><td class="num" id="LN243">243</td><td class="line"> GtkWidget *sidepane;</td></tr>
+<tr class="codeline" data-linenumber="244"><td class="num" id="LN244">244</td><td class="line"> GtkTreePath *list_hover_path;</td></tr>
+<tr class="codeline" data-linenumber="245"><td class="num" id="LN245">245</td><td class="line"> GtkTreeViewColumn *filename_column;</td></tr>
+<tr class="codeline" data-linenumber="246"><td class="num" id="LN246">246</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="247"><td class="num" id="LN247">247</td><td class="line"> gboolean filter_mode;</td></tr>
+<tr class="codeline" data-linenumber="248"><td class="num" id="LN248">248</td><td class="line"> gint current_view_length;</td></tr>
+<tr class="codeline" data-linenumber="249"><td class="num" id="LN249">249</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="250"><td class="num" id="LN250">250</td><td class="line"> guint help_message_cid;</td></tr>
+<tr class="codeline" data-linenumber="251"><td class="num" id="LN251">251</td><td class="line"> guint list_info_cid;</td></tr>
+<tr class="codeline" data-linenumber="252"><td class="num" id="LN252">252</td><td class="line"> guint progress_cid;</td></tr>
+<tr class="codeline" data-linenumber="253"><td class="num" id="LN253">253</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="254"><td class="num" id="LN254">254</td><td class="line"> GtkWidget * up_arrows[5];</td></tr>
+<tr class="codeline" data-linenumber="255"><td class="num" id="LN255">255</td><td class="line"> GtkWidget * down_arrows[5];</td></tr>
+<tr class="codeline" data-linenumber="256"><td class="num" id="LN256">256</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="257"><td class="num" id="LN257">257</td><td class="line"> FrAction action;</td></tr>
+<tr class="codeline" data-linenumber="258"><td class="num" id="LN258">258</td><td class="line"> gboolean archive_present;</td></tr>
+<tr class="codeline" data-linenumber="259"><td class="num" id="LN259">259</td><td class="line"> gboolean archive_new; <span class='comment'>/* A new archive has been created</span></td></tr>
+<tr class="codeline" data-linenumber="260"><td class="num" id="LN260">260</td><td class="line"> <span class='comment'>* but it doesn't contain any</span></td></tr>
+<tr class="codeline" data-linenumber="261"><td class="num" id="LN261">261</td><td class="line"> <span class='comment'>* file yet. The real file will</span></td></tr>
+<tr class="codeline" data-linenumber="262"><td class="num" id="LN262">262</td><td class="line"> <span class='comment'>* be created only when the user</span></td></tr>
+<tr class="codeline" data-linenumber="263"><td class="num" id="LN263">263</td><td class="line"> <span class='comment'>* adds some file to the</span></td></tr>
+<tr class="codeline" data-linenumber="264"><td class="num" id="LN264">264</td><td class="line"> <span class='comment'>* archive.*/</span></td></tr>
+<tr class="codeline" data-linenumber="265"><td class="num" id="LN265">265</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="266"><td class="num" id="LN266">266</td><td class="line"> <span class='keyword'>char</span> * archive_uri;</td></tr>
+<tr class="codeline" data-linenumber="267"><td class="num" id="LN267">267</td><td class="line"> <span class='keyword'>char</span> * open_default_dir; <span class='comment'>/* default directory to be used</span></td></tr>
+<tr class="codeline" data-linenumber="268"><td class="num" id="LN268">268</td><td class="line"> <span class='comment'>* in the Open dialog. */</span></td></tr>
+<tr class="codeline" data-linenumber="269"><td class="num" id="LN269">269</td><td class="line"> <span class='keyword'>char</span> * add_default_dir; <span class='comment'>/* default directory to be used</span></td></tr>
+<tr class="codeline" data-linenumber="270"><td class="num" id="LN270">270</td><td class="line"> <span class='comment'>* in the Add dialog. */</span></td></tr>
+<tr class="codeline" data-linenumber="271"><td class="num" id="LN271">271</td><td class="line"> <span class='keyword'>char</span> * extract_default_dir; <span class='comment'>/* default directory to be used</span></td></tr>
+<tr class="codeline" data-linenumber="272"><td class="num" id="LN272">272</td><td class="line"> <span class='comment'>* in the Extract dialog. */</span></td></tr>
+<tr class="codeline" data-linenumber="273"><td class="num" id="LN273">273</td><td class="line"> gboolean freeze_default_dir;</td></tr>
+<tr class="codeline" data-linenumber="274"><td class="num" id="LN274">274</td><td class="line"> gboolean asked_for_password;</td></tr>
+<tr class="codeline" data-linenumber="275"><td class="num" id="LN275">275</td><td class="line"> gboolean ask_to_open_destination_after_extraction;</td></tr>
+<tr class="codeline" data-linenumber="276"><td class="num" id="LN276">276</td><td class="line"> gboolean destroy_with_error_dialog;</td></tr>
+<tr class="codeline" data-linenumber="277"><td class="num" id="LN277">277</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="278"><td class="num" id="LN278">278</td><td class="line"> FRBatchAction current_batch_action;</td></tr>
+<tr class="codeline" data-linenumber="279"><td class="num" id="LN279">279</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="280"><td class="num" id="LN280">280</td><td class="line"> gboolean give_focus_to_the_list;</td></tr>
+<tr class="codeline" data-linenumber="281"><td class="num" id="LN281">281</td><td class="line"> gboolean single_click;</td></tr>
+<tr class="codeline" data-linenumber="282"><td class="num" id="LN282">282</td><td class="line"> GtkTreePath *path_clicked;</td></tr>
+<tr class="codeline" data-linenumber="283"><td class="num" id="LN283">283</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="284"><td class="num" id="LN284">284</td><td class="line"> FrWindowSortMethod sort_method;</td></tr>
+<tr class="codeline" data-linenumber="285"><td class="num" id="LN285">285</td><td class="line"> GtkSortType sort_type;</td></tr>
+<tr class="codeline" data-linenumber="286"><td class="num" id="LN286">286</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="287"><td class="num" id="LN287">287</td><td class="line"> <span class='keyword'>char</span> * last_location;</td></tr>
+<tr class="codeline" data-linenumber="288"><td class="num" id="LN288">288</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="289"><td class="num" id="LN289">289</td><td class="line"> gboolean view_folders;</td></tr>
+<tr class="codeline" data-linenumber="290"><td class="num" id="LN290">290</td><td class="line"> FrWindowListMode list_mode;</td></tr>
+<tr class="codeline" data-linenumber="291"><td class="num" id="LN291">291</td><td class="line"> FrWindowListMode last_list_mode;</td></tr>
+<tr class="codeline" data-linenumber="292"><td class="num" id="LN292">292</td><td class="line"> GList * history;</td></tr>
+<tr class="codeline" data-linenumber="293"><td class="num" id="LN293">293</td><td class="line"> GList * history_current;</td></tr>
+<tr class="codeline" data-linenumber="294"><td class="num" id="LN294">294</td><td class="line"> <span class='keyword'>char</span> * password;</td></tr>
+<tr class="codeline" data-linenumber="295"><td class="num" id="LN295">295</td><td class="line"> <span class='keyword'>char</span> * password_for_paste;</td></tr>
+<tr class="codeline" data-linenumber="296"><td class="num" id="LN296">296</td><td class="line"> gboolean encrypt_header;</td></tr>
+<tr class="codeline" data-linenumber="297"><td class="num" id="LN297">297</td><td class="line"> FrCompression compression;</td></tr>
+<tr class="codeline" data-linenumber="298"><td class="num" id="LN298">298</td><td class="line"> guint volume_size;</td></tr>
+<tr class="codeline" data-linenumber="299"><td class="num" id="LN299">299</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="300"><td class="num" id="LN300">300</td><td class="line"> guint activity_timeout_handle; <span class='comment'>/* activity timeout</span></td></tr>
+<tr class="codeline" data-linenumber="301"><td class="num" id="LN301">301</td><td class="line"> <span class='comment'>* handle. */</span></td></tr>
+<tr class="codeline" data-linenumber="302"><td class="num" id="LN302">302</td><td class="line"> gint activity_ref; <span class='comment'>/* when &gt; 0 some activity</span></td></tr>
+<tr class="codeline" data-linenumber="303"><td class="num" id="LN303">303</td><td class="line"> <span class='comment'>* is present. */</span></td></tr>
+<tr class="codeline" data-linenumber="304"><td class="num" id="LN304">304</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="305"><td class="num" id="LN305">305</td><td class="line"> guint update_timeout_handle; <span class='comment'>/* update file list</span></td></tr>
+<tr class="codeline" data-linenumber="306"><td class="num" id="LN306">306</td><td class="line"> <span class='comment'>* timeout handle. */</span></td></tr>
+<tr class="codeline" data-linenumber="307"><td class="num" id="LN307">307</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="308"><td class="num" id="LN308">308</td><td class="line"> FRConvertData convert_data;</td></tr>
+<tr class="codeline" data-linenumber="309"><td class="num" id="LN309">309</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="310"><td class="num" id="LN310">310</td><td class="line"> gboolean stoppable;</td></tr>
+<tr class="codeline" data-linenumber="311"><td class="num" id="LN311">311</td><td class="line"> gboolean closing;</td></tr>
+<tr class="codeline" data-linenumber="312"><td class="num" id="LN312">312</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="313"><td class="num" id="LN313">313</td><td class="line"> FrClipboardData *clipboard_data;</td></tr>
+<tr class="codeline" data-linenumber="314"><td class="num" id="LN314">314</td><td class="line"> FrClipboardData *copy_data;</td></tr>
+<tr class="codeline" data-linenumber="315"><td class="num" id="LN315">315</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="316"><td class="num" id="LN316">316</td><td class="line"> FrArchive *copy_from_archive;</td></tr>
+<tr class="codeline" data-linenumber="317"><td class="num" id="LN317">317</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="318"><td class="num" id="LN318">318</td><td class="line"> GActionGroup *actions;</td></tr>
+<tr class="codeline" data-linenumber="319"><td class="num" id="LN319">319</td><td class="line"> GtkBuilder *ui_manager;</td></tr>
+<tr class="codeline" data-linenumber="320"><td class="num" id="LN320">320</td><td class="line"> GtkWidget *menubar_recentmenu;</td></tr>
+<tr class="codeline" data-linenumber="321"><td class="num" id="LN321">321</td><td class="line"> GtkWidget *toolbar_recentmenu;</td></tr>
+<tr class="codeline" data-linenumber="322"><td class="num" id="LN322">322</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="323"><td class="num" id="LN323">323</td><td class="line"> GtkWidget *file_popup_menu;</td></tr>
+<tr class="codeline" data-linenumber="324"><td class="num" id="LN324">324</td><td class="line"> GtkWidget *folder_popup_menu;</td></tr>
+<tr class="codeline" data-linenumber="325"><td class="num" id="LN325">325</td><td class="line"> GtkWidget *sidebar_folder_popup_menu;</td></tr>
+<tr class="codeline" data-linenumber="326"><td class="num" id="LN326">326</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="327"><td class="num" id="LN327">327</td><td class="line"> <span class='comment'>/* dragged files data */</span></td></tr>
+<tr class="codeline" data-linenumber="328"><td class="num" id="LN328">328</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="329"><td class="num" id="LN329">329</td><td class="line"> <span class='keyword'>char</span> *drag_destination_folder;</td></tr>
+<tr class="codeline" data-linenumber="330"><td class="num" id="LN330">330</td><td class="line"> <span class='keyword'>char</span> *drag_base_dir;</td></tr>
+<tr class="codeline" data-linenumber="331"><td class="num" id="LN331">331</td><td class="line"> GError *drag_error;</td></tr>
+<tr class="codeline" data-linenumber="332"><td class="num" id="LN332">332</td><td class="line"> GList *drag_file_list; <span class='comment'>/* the list of files we are</span></td></tr>
+<tr class="codeline" data-linenumber="333"><td class="num" id="LN333">333</td><td class="line"> <span class='comment'>* dragging*/</span></td></tr>
+<tr class="codeline" data-linenumber="334"><td class="num" id="LN334">334</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="335"><td class="num" id="LN335">335</td><td class="line"> <span class='comment'>/* progress dialog data */</span></td></tr>
+<tr class="codeline" data-linenumber="336"><td class="num" id="LN336">336</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="337"><td class="num" id="LN337">337</td><td class="line"> GtkWidget *progress_dialog;</td></tr>
+<tr class="codeline" data-linenumber="338"><td class="num" id="LN338">338</td><td class="line"> GtkWidget *pd_action;</td></tr>
+<tr class="codeline" data-linenumber="339"><td class="num" id="LN339">339</td><td class="line"> GtkWidget *pd_message;</td></tr>
+<tr class="codeline" data-linenumber="340"><td class="num" id="LN340">340</td><td class="line"> GtkWidget *pd_progress_bar;</td></tr>
+<tr class="codeline" data-linenumber="341"><td class="num" id="LN341">341</td><td class="line"> GtkWidget *pd_cancel_button;</td></tr>
+<tr class="codeline" data-linenumber="342"><td class="num" id="LN342">342</td><td class="line"> GtkWidget *pd_close_button;</td></tr>
+<tr class="codeline" data-linenumber="343"><td class="num" id="LN343">343</td><td class="line"> GtkWidget *pd_open_archive_button;</td></tr>
+<tr class="codeline" data-linenumber="344"><td class="num" id="LN344">344</td><td class="line"> GtkWidget *pd_open_destination_button;</td></tr>
+<tr class="codeline" data-linenumber="345"><td class="num" id="LN345">345</td><td class="line"> GtkWidget *pd_open_destination_and_quit_button;</td></tr>
+<tr class="codeline" data-linenumber="346"><td class="num" id="LN346">346</td><td class="line"> GtkWidget *pd_quit_button;</td></tr>
+<tr class="codeline" data-linenumber="347"><td class="num" id="LN347">347</td><td class="line"> GtkWidget *pd_state_button; <span class='comment'>//Switch state, pause state or start state</span></td></tr>
+<tr class="codeline" data-linenumber="348"><td class="num" id="LN348">348</td><td class="line"> GtkWidget *pd_icon;</td></tr>
+<tr class="codeline" data-linenumber="349"><td class="num" id="LN349">349</td><td class="line"> gboolean progress_pulse;</td></tr>
+<tr class="codeline" data-linenumber="350"><td class="num" id="LN350">350</td><td class="line"> guint progress_timeout; <span class='comment'>/* Timeout to display the progress dialog. */</span></td></tr>
+<tr class="codeline" data-linenumber="351"><td class="num" id="LN351">351</td><td class="line"> guint hide_progress_timeout; <span class='comment'>/* Timeout to hide the progress dialog. */</span></td></tr>
+<tr class="codeline" data-linenumber="352"><td class="num" id="LN352">352</td><td class="line"> <span class='keyword'>char</span> *pd_last_archive;</td></tr>
+<tr class="codeline" data-linenumber="353"><td class="num" id="LN353">353</td><td class="line"> <span class='keyword'>char</span> *working_archive;</td></tr>
+<tr class="codeline" data-linenumber="354"><td class="num" id="LN354">354</td><td class="line"> <span class='keyword'>double</span> pd_last_fraction;</td></tr>
+<tr class="codeline" data-linenumber="355"><td class="num" id="LN355">355</td><td class="line"> <span class='keyword'>char</span> *pd_last_message;</td></tr>
+<tr class="codeline" data-linenumber="356"><td class="num" id="LN356">356</td><td class="line"> gboolean use_progress_dialog;</td></tr>
+<tr class="codeline" data-linenumber="357"><td class="num" id="LN357">357</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="358"><td class="num" id="LN358">358</td><td class="line"> <span class='comment'>/* update dialog data */</span></td></tr>
+<tr class="codeline" data-linenumber="359"><td class="num" id="LN359">359</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="360"><td class="num" id="LN360">360</td><td class="line"> gpointer update_dialog;</td></tr>
+<tr class="codeline" data-linenumber="361"><td class="num" id="LN361">361</td><td class="line"> GList *open_files;</td></tr>
+<tr class="codeline" data-linenumber="362"><td class="num" id="LN362">362</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="363"><td class="num" id="LN363">363</td><td class="line"> <span class='comment'>/* batch mode data */</span></td></tr>
+<tr class="codeline" data-linenumber="364"><td class="num" id="LN364">364</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="365"><td class="num" id="LN365">365</td><td class="line"> gboolean batch_mode; <span class='comment'>/* whether we are in a non interactive</span></td></tr>
+<tr class="codeline" data-linenumber="366"><td class="num" id="LN366">366</td><td class="line"> <span class='comment'>* mode. */</span></td></tr>
+<tr class="codeline" data-linenumber="367"><td class="num" id="LN367">367</td><td class="line"> GList *batch_action_list; <span class='comment'>/* FRBatchAction * elements */</span></td></tr>
+<tr class="codeline" data-linenumber="368"><td class="num" id="LN368">368</td><td class="line"> GList *batch_action; <span class='comment'>/* current action. */</span></td></tr>
+<tr class="codeline" data-linenumber="369"><td class="num" id="LN369">369</td><td class="line"> <span class='keyword'>char</span> *batch_title;</td></tr>
+<tr class="codeline" data-linenumber="370"><td class="num" id="LN370">370</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="371"><td class="num" id="LN371">371</td><td class="line"> <span class='comment'>/* misc */</span></td></tr>
+<tr class="codeline" data-linenumber="372"><td class="num" id="LN372">372</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="373"><td class="num" id="LN373">373</td><td class="line"> GSettings *settings_listing;</td></tr>
+<tr class="codeline" data-linenumber="374"><td class="num" id="LN374">374</td><td class="line"> GSettings *settings_ui;</td></tr>
+<tr class="codeline" data-linenumber="375"><td class="num" id="LN375">375</td><td class="line"> GSettings *settings_general;</td></tr>
+<tr class="codeline" data-linenumber="376"><td class="num" id="LN376">376</td><td class="line"> GSettings *settings_dialogs;</td></tr>
+<tr class="codeline" data-linenumber="377"><td class="num" id="LN377">377</td><td class="line"> GSettings *settings_caja;</td></tr>
+<tr class="codeline" data-linenumber="378"><td class="num" id="LN378">378</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="379"><td class="num" id="LN379">379</td><td class="line"> gulong theme_changed_handler_id;</td></tr>
+<tr class="codeline" data-linenumber="380"><td class="num" id="LN380">380</td><td class="line"> gboolean non_interactive;</td></tr>
+<tr class="codeline" data-linenumber="381"><td class="num" id="LN381">381</td><td class="line"> <span class='keyword'>char</span> *extract_here_dir;</td></tr>
+<tr class="codeline" data-linenumber="382"><td class="num" id="LN382">382</td><td class="line"> gboolean extract_interact_use_default_dir;</td></tr>
+<tr class="codeline" data-linenumber="383"><td class="num" id="LN383">383</td><td class="line"> gboolean update_dropped_files;</td></tr>
+<tr class="codeline" data-linenumber="384"><td class="num" id="LN384">384</td><td class="line"> gboolean batch_adding_one_file;</td></tr>
+<tr class="codeline" data-linenumber="385"><td class="num" id="LN385">385</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="386"><td class="num" id="LN386">386</td><td class="line"> GtkWindow *load_error_parent_window;</td></tr>
+<tr class="codeline" data-linenumber="387"><td class="num" id="LN387">387</td><td class="line"> gboolean showing_error_dialog;</td></tr>
+<tr class="codeline" data-linenumber="388"><td class="num" id="LN388">388</td><td class="line"> GtkWindow *error_dialog_parent;</td></tr>
+<tr class="codeline" data-linenumber="389"><td class="num" id="LN389">389</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="390"><td class="num" id="LN390">390</td><td class="line"> gboolean close_dialog;</td></tr>
+<tr class="codeline" data-linenumber="391"><td class="num" id="LN391">391</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="392"><td class="num" id="LN392">392</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="393"><td class="num" id="LN393">393</td><td class="line"><span class='comment'>/* -- fr_window_free_private_data -- */</span></td></tr>
+<tr class="codeline" data-linenumber="394"><td class="num" id="LN394">394</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="395"><td class="num" id="LN395">395</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="396"><td class="num" id="LN396">396</td><td class="line">fr_window_free_batch_data (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="397"><td class="num" id="LN397">397</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="398"><td class="num" id="LN398">398</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="399"><td class="num" id="LN399">399</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="400"><td class="num" id="LN400">400</td><td class="line"> <span class='keyword'>for</span> (scan = window-&gt;priv-&gt;batch_action_list; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="401"><td class="num" id="LN401">401</td><td class="line"> FRBatchAction *adata = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="402"><td class="num" id="LN402">402</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="403"><td class="num" id="LN403">403</td><td class="line"> <span class='keyword'>if</span> ((adata-&gt;data != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (adata-&gt;free_func != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="404"><td class="num" id="LN404">404</td><td class="line"> (*adata-&gt;free_func) (adata-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="405"><td class="num" id="LN405">405</td><td class="line"> g_free (adata);</td></tr>
+<tr class="codeline" data-linenumber="406"><td class="num" id="LN406">406</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="407"><td class="num" id="LN407">407</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="408"><td class="num" id="LN408">408</td><td class="line"> g_list_free (window-&gt;priv-&gt;batch_action_list);</td></tr>
+<tr class="codeline" data-linenumber="409"><td class="num" id="LN409">409</td><td class="line"> window-&gt;priv-&gt;batch_action_list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="410"><td class="num" id="LN410">410</td><td class="line"> window-&gt;priv-&gt;batch_action = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="411"><td class="num" id="LN411">411</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="412"><td class="num" id="LN412">412</td><td class="line"> g_free (window-&gt;priv-&gt;batch_title);</td></tr>
+<tr class="codeline" data-linenumber="413"><td class="num" id="LN413">413</td><td class="line"> window-&gt;priv-&gt;batch_title = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="414"><td class="num" id="LN414">414</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="415"><td class="num" id="LN415">415</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="416"><td class="num" id="LN416">416</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="417"><td class="num" id="LN417">417</td><td class="line">gh_unref_pixbuf (gpointer key,</td></tr>
+<tr class="codeline" data-linenumber="418"><td class="num" id="LN418">418</td><td class="line"> gpointer value,</td></tr>
+<tr class="codeline" data-linenumber="419"><td class="num" id="LN419">419</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="420"><td class="num" id="LN420">420</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="421"><td class="num" id="LN421">421</td><td class="line"> g_object_unref (value);</td></tr>
+<tr class="codeline" data-linenumber="422"><td class="num" id="LN422">422</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="423"><td class="num" id="LN423">423</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="424"><td class="num" id="LN424">424</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="425"><td class="num" id="LN425">425</td><td class="line">fr_window_clipboard_remove_file_list (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="426"><td class="num" id="LN426">426</td><td class="line"> GList *file_list)</td></tr>
+<tr class="codeline" data-linenumber="427"><td class="num" id="LN427">427</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="428"><td class="num" id="LN428">428</td><td class="line"> GList *scan1;</td></tr>
+<tr class="codeline" data-linenumber="429"><td class="num" id="LN429">429</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="430"><td class="num" id="LN430">430</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;copy_data == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="431"><td class="num" id="LN431">431</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="432"><td class="num" id="LN432">432</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="433"><td class="num" id="LN433">433</td><td class="line"> <span class='keyword'>if</span> (file_list == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="434"><td class="num" id="LN434">434</td><td class="line"> fr_clipboard_data_unref (window-&gt;priv-&gt;copy_data);</td></tr>
+<tr class="codeline" data-linenumber="435"><td class="num" id="LN435">435</td><td class="line"> window-&gt;priv-&gt;copy_data = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="436"><td class="num" id="LN436">436</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="437"><td class="num" id="LN437">437</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="438"><td class="num" id="LN438">438</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="439"><td class="num" id="LN439">439</td><td class="line"> <span class='keyword'>for</span> (scan1 = file_list; scan1; scan1 = scan1-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="440"><td class="num" id="LN440">440</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *name1 = scan1-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="441"><td class="num" id="LN441">441</td><td class="line"> GList *scan2;</td></tr>
+<tr class="codeline" data-linenumber="442"><td class="num" id="LN442">442</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="443"><td class="num" id="LN443">443</td><td class="line"> <span class='keyword'>for</span> (scan2 = window-&gt;priv-&gt;copy_data-&gt;files; scan2;) {</td></tr>
+<tr class="codeline" data-linenumber="444"><td class="num" id="LN444">444</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *name2 = scan2-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="445"><td class="num" id="LN445">445</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="446"><td class="num" id="LN446">446</td><td class="line"> <span class='keyword'>if</span> (strcmp (name1, name2) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="447"><td class="num" id="LN447">447</td><td class="line"> GList *tmp = scan2-&gt;next;</td></tr>
+<tr class="codeline" data-linenumber="448"><td class="num" id="LN448">448</td><td class="line"> window-&gt;priv-&gt;copy_data-&gt;files = g_list_remove_link (window-&gt;priv-&gt;copy_data-&gt;files, scan2);</td></tr>
+<tr class="codeline" data-linenumber="449"><td class="num" id="LN449">449</td><td class="line"> g_free (scan2-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="450"><td class="num" id="LN450">450</td><td class="line"> g_list_free (scan2);</td></tr>
+<tr class="codeline" data-linenumber="451"><td class="num" id="LN451">451</td><td class="line"> scan2 = tmp;</td></tr>
+<tr class="codeline" data-linenumber="452"><td class="num" id="LN452">452</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="453"><td class="num" id="LN453">453</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="454"><td class="num" id="LN454">454</td><td class="line"> scan2 = scan2-&gt;next;</td></tr>
+<tr class="codeline" data-linenumber="455"><td class="num" id="LN455">455</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="456"><td class="num" id="LN456">456</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="457"><td class="num" id="LN457">457</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="458"><td class="num" id="LN458">458</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;copy_data-&gt;files == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="459"><td class="num" id="LN459">459</td><td class="line"> fr_clipboard_data_unref (window-&gt;priv-&gt;copy_data);</td></tr>
+<tr class="codeline" data-linenumber="460"><td class="num" id="LN460">460</td><td class="line"> window-&gt;priv-&gt;copy_data = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="461"><td class="num" id="LN461">461</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="462"><td class="num" id="LN462">462</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="463"><td class="num" id="LN463">463</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="464"><td class="num" id="LN464">464</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="465"><td class="num" id="LN465">465</td><td class="line">fr_window_history_clear (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="466"><td class="num" id="LN466">466</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="467"><td class="num" id="LN467">467</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;history != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="468"><td class="num" id="LN468">468</td><td class="line"> path_list_free (window-&gt;priv-&gt;history);</td></tr>
+<tr class="codeline" data-linenumber="469"><td class="num" id="LN469">469</td><td class="line"> window-&gt;priv-&gt;history = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="470"><td class="num" id="LN470">470</td><td class="line"> window-&gt;priv-&gt;history_current = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="471"><td class="num" id="LN471">471</td><td class="line"> g_free (window-&gt;priv-&gt;last_location);</td></tr>
+<tr class="codeline" data-linenumber="472"><td class="num" id="LN472">472</td><td class="line"> window-&gt;priv-&gt;last_location = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="473"><td class="num" id="LN473">473</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="474"><td class="num" id="LN474">474</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="475"><td class="num" id="LN475">475</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="476"><td class="num" id="LN476">476</td><td class="line">fr_window_free_open_files (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="477"><td class="num" id="LN477">477</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="478"><td class="num" id="LN478">478</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="479"><td class="num" id="LN479">479</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="480"><td class="num" id="LN480">480</td><td class="line"> <span class='keyword'>for</span> (scan = window-&gt;priv-&gt;open_files; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="481"><td class="num" id="LN481">481</td><td class="line"> OpenFile *file = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="482"><td class="num" id="LN482">482</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="483"><td class="num" id="LN483">483</td><td class="line"> <span class='keyword'>if</span> (file-&gt;monitor != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="484"><td class="num" id="LN484">484</td><td class="line"> g_file_monitor_cancel (file-&gt;monitor);</td></tr>
+<tr class="codeline" data-linenumber="485"><td class="num" id="LN485">485</td><td class="line"> open_file_free (file);</td></tr>
+<tr class="codeline" data-linenumber="486"><td class="num" id="LN486">486</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="487"><td class="num" id="LN487">487</td><td class="line"> g_list_free (window-&gt;priv-&gt;open_files);</td></tr>
+<tr class="codeline" data-linenumber="488"><td class="num" id="LN488">488</td><td class="line"> window-&gt;priv-&gt;open_files = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="489"><td class="num" id="LN489">489</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="490"><td class="num" id="LN490">490</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="491"><td class="num" id="LN491">491</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="492"><td class="num" id="LN492">492</td><td class="line">fr_window_convert_data_free (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="493"><td class="num" id="LN493">493</td><td class="line"> gboolean all)</td></tr>
+<tr class="codeline" data-linenumber="494"><td class="num" id="LN494">494</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="495"><td class="num" id="LN495">495</td><td class="line"> <span class='keyword'>if</span> (all) {</td></tr>
+<tr class="codeline" data-linenumber="496"><td class="num" id="LN496">496</td><td class="line"> g_free (window-&gt;priv-&gt;convert_data.new_file);</td></tr>
+<tr class="codeline" data-linenumber="497"><td class="num" id="LN497">497</td><td class="line"> window-&gt;priv-&gt;convert_data.new_file = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="498"><td class="num" id="LN498">498</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="499"><td class="num" id="LN499">499</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="500"><td class="num" id="LN500">500</td><td class="line"> window-&gt;priv-&gt;convert_data.converting = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="501"><td class="num" id="LN501">501</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="502"><td class="num" id="LN502">502</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;convert_data.temp_dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="503"><td class="num" id="LN503">503</td><td class="line"> g_free (window-&gt;priv-&gt;convert_data.temp_dir);</td></tr>
+<tr class="codeline" data-linenumber="504"><td class="num" id="LN504">504</td><td class="line"> window-&gt;priv-&gt;convert_data.temp_dir = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="505"><td class="num" id="LN505">505</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="506"><td class="num" id="LN506">506</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="507"><td class="num" id="LN507">507</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;convert_data.new_archive != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="508"><td class="num" id="LN508">508</td><td class="line"> g_object_unref (window-&gt;priv-&gt;convert_data.new_archive);</td></tr>
+<tr class="codeline" data-linenumber="509"><td class="num" id="LN509">509</td><td class="line"> window-&gt;priv-&gt;convert_data.new_archive = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="510"><td class="num" id="LN510">510</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="511"><td class="num" id="LN511">511</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="512"><td class="num" id="LN512">512</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;convert_data.password != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="513"><td class="num" id="LN513">513</td><td class="line"> g_free (window-&gt;priv-&gt;convert_data.password);</td></tr>
+<tr class="codeline" data-linenumber="514"><td class="num" id="LN514">514</td><td class="line"> window-&gt;priv-&gt;convert_data.password = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="515"><td class="num" id="LN515">515</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="516"><td class="num" id="LN516">516</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="517"><td class="num" id="LN517">517</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="518"><td class="num" id="LN518">518</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="519"><td class="num" id="LN519">519</td><td class="line">fr_window_free_private_data (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="520"><td class="num" id="LN520">520</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="521"><td class="num" id="LN521">521</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;update_timeout_handle != 0) {</td></tr>
+<tr class="codeline" data-linenumber="522"><td class="num" id="LN522">522</td><td class="line"> g_source_remove (window-&gt;priv-&gt;update_timeout_handle);</td></tr>
+<tr class="codeline" data-linenumber="523"><td class="num" id="LN523">523</td><td class="line"> window-&gt;priv-&gt;update_timeout_handle = 0;</td></tr>
+<tr class="codeline" data-linenumber="524"><td class="num" id="LN524">524</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="525"><td class="num" id="LN525">525</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="526"><td class="num" id="LN526">526</td><td class="line"> <span class='keyword'>while</span> (window-&gt;priv-&gt;activity_ref &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="527"><td class="num" id="LN527">527</td><td class="line"> fr_window_stop_activity_mode (window);</td></tr>
+<tr class="codeline" data-linenumber="528"><td class="num" id="LN528">528</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="529"><td class="num" id="LN529">529</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_timeout != 0) {</td></tr>
+<tr class="codeline" data-linenumber="530"><td class="num" id="LN530">530</td><td class="line"> g_source_remove (window-&gt;priv-&gt;progress_timeout);</td></tr>
+<tr class="codeline" data-linenumber="531"><td class="num" id="LN531">531</td><td class="line"> window-&gt;priv-&gt;progress_timeout = 0;</td></tr>
+<tr class="codeline" data-linenumber="532"><td class="num" id="LN532">532</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="533"><td class="num" id="LN533">533</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="534"><td class="num" id="LN534">534</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;hide_progress_timeout != 0) {</td></tr>
+<tr class="codeline" data-linenumber="535"><td class="num" id="LN535">535</td><td class="line"> g_source_remove (window-&gt;priv-&gt;hide_progress_timeout);</td></tr>
+<tr class="codeline" data-linenumber="536"><td class="num" id="LN536">536</td><td class="line"> window-&gt;priv-&gt;hide_progress_timeout = 0;</td></tr>
+<tr class="codeline" data-linenumber="537"><td class="num" id="LN537">537</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="538"><td class="num" id="LN538">538</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="539"><td class="num" id="LN539">539</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;theme_changed_handler_id != 0)</td></tr>
+<tr class="codeline" data-linenumber="540"><td class="num" id="LN540">540</td><td class="line"> g_signal_handler_disconnect (icon_theme, window-&gt;priv-&gt;theme_changed_handler_id);</td></tr>
+<tr class="codeline" data-linenumber="541"><td class="num" id="LN541">541</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="542"><td class="num" id="LN542">542</td><td class="line"> fr_window_history_clear (window);</td></tr>
+<tr class="codeline" data-linenumber="543"><td class="num" id="LN543">543</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="544"><td class="num" id="LN544">544</td><td class="line"> g_free (window-&gt;priv-&gt;open_default_dir);</td></tr>
+<tr class="codeline" data-linenumber="545"><td class="num" id="LN545">545</td><td class="line"> g_free (window-&gt;priv-&gt;add_default_dir);</td></tr>
+<tr class="codeline" data-linenumber="546"><td class="num" id="LN546">546</td><td class="line"> g_free (window-&gt;priv-&gt;extract_default_dir);</td></tr>
+<tr class="codeline" data-linenumber="547"><td class="num" id="LN547">547</td><td class="line"> g_free (window-&gt;priv-&gt;archive_uri);</td></tr>
+<tr class="codeline" data-linenumber="548"><td class="num" id="LN548">548</td><td class="line"> g_free (window-&gt;priv-&gt;working_archive);</td></tr>
+<tr class="codeline" data-linenumber="549"><td class="num" id="LN549">549</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="550"><td class="num" id="LN550">550</td><td class="line"> g_free (window-&gt;priv-&gt;password);</td></tr>
+<tr class="codeline" data-linenumber="551"><td class="num" id="LN551">551</td><td class="line"> g_free (window-&gt;priv-&gt;password_for_paste);</td></tr>
+<tr class="codeline" data-linenumber="552"><td class="num" id="LN552">552</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="553"><td class="num" id="LN553">553</td><td class="line"> g_object_unref (window-&gt;priv-&gt;list_store);</td></tr>
+<tr class="codeline" data-linenumber="554"><td class="num" id="LN554">554</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="555"><td class="num" id="LN555">555</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;clipboard_data != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="556"><td class="num" id="LN556">556</td><td class="line"> fr_clipboard_data_unref (window-&gt;priv-&gt;clipboard_data);</td></tr>
+<tr class="codeline" data-linenumber="557"><td class="num" id="LN557">557</td><td class="line"> window-&gt;priv-&gt;clipboard_data = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="558"><td class="num" id="LN558">558</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="559"><td class="num" id="LN559">559</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;copy_data != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="560"><td class="num" id="LN560">560</td><td class="line"> fr_clipboard_data_unref (window-&gt;priv-&gt;copy_data);</td></tr>
+<tr class="codeline" data-linenumber="561"><td class="num" id="LN561">561</td><td class="line"> window-&gt;priv-&gt;copy_data = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="562"><td class="num" id="LN562">562</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="563"><td class="num" id="LN563">563</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;copy_from_archive != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="564"><td class="num" id="LN564">564</td><td class="line"> g_object_unref (window-&gt;priv-&gt;copy_from_archive);</td></tr>
+<tr class="codeline" data-linenumber="565"><td class="num" id="LN565">565</td><td class="line"> window-&gt;priv-&gt;copy_from_archive = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="566"><td class="num" id="LN566">566</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="567"><td class="num" id="LN567">567</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="568"><td class="num" id="LN568">568</td><td class="line"> fr_window_free_open_files (window);</td></tr>
+<tr class="codeline" data-linenumber="569"><td class="num" id="LN569">569</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="570"><td class="num" id="LN570">570</td><td class="line"> fr_window_convert_data_free (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="571"><td class="num" id="LN571">571</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="572"><td class="num" id="LN572">572</td><td class="line"> g_clear_error (&amp;window-&gt;priv-&gt;drag_error);</td></tr>
+<tr class="codeline" data-linenumber="573"><td class="num" id="LN573">573</td><td class="line"> path_list_free (window-&gt;priv-&gt;drag_file_list);</td></tr>
+<tr class="codeline" data-linenumber="574"><td class="num" id="LN574">574</td><td class="line"> window-&gt;priv-&gt;drag_file_list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="575"><td class="num" id="LN575">575</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="576"><td class="num" id="LN576">576</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;file_popup_menu != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="577"><td class="num" id="LN577">577</td><td class="line"> gtk_widget_destroy (window-&gt;priv-&gt;file_popup_menu);</td></tr>
+<tr class="codeline" data-linenumber="578"><td class="num" id="LN578">578</td><td class="line"> window-&gt;priv-&gt;file_popup_menu = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="579"><td class="num" id="LN579">579</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="580"><td class="num" id="LN580">580</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="581"><td class="num" id="LN581">581</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;folder_popup_menu != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="582"><td class="num" id="LN582">582</td><td class="line"> gtk_widget_destroy (window-&gt;priv-&gt;folder_popup_menu);</td></tr>
+<tr class="codeline" data-linenumber="583"><td class="num" id="LN583">583</td><td class="line"> window-&gt;priv-&gt;folder_popup_menu = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="584"><td class="num" id="LN584">584</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="585"><td class="num" id="LN585">585</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="586"><td class="num" id="LN586">586</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;sidebar_folder_popup_menu != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="587"><td class="num" id="LN587">587</td><td class="line"> gtk_widget_destroy (window-&gt;priv-&gt;sidebar_folder_popup_menu);</td></tr>
+<tr class="codeline" data-linenumber="588"><td class="num" id="LN588">588</td><td class="line"> window-&gt;priv-&gt;sidebar_folder_popup_menu = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="589"><td class="num" id="LN589">589</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="590"><td class="num" id="LN590">590</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="591"><td class="num" id="LN591">591</td><td class="line"> g_free (window-&gt;priv-&gt;last_location);</td></tr>
+<tr class="codeline" data-linenumber="592"><td class="num" id="LN592">592</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="593"><td class="num" id="LN593">593</td><td class="line"> fr_window_free_batch_data (window);</td></tr>
+<tr class="codeline" data-linenumber="594"><td class="num" id="LN594">594</td><td class="line"> fr_window_reset_current_batch_action (window);</td></tr>
+<tr class="codeline" data-linenumber="595"><td class="num" id="LN595">595</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="596"><td class="num" id="LN596">596</td><td class="line"> g_free (window-&gt;priv-&gt;pd_last_archive);</td></tr>
+<tr class="codeline" data-linenumber="597"><td class="num" id="LN597">597</td><td class="line"> g_free (window-&gt;priv-&gt;pd_last_message);</td></tr>
+<tr class="codeline" data-linenumber="598"><td class="num" id="LN598">598</td><td class="line"> g_free (window-&gt;priv-&gt;extract_here_dir);</td></tr>
+<tr class="codeline" data-linenumber="599"><td class="num" id="LN599">599</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="600"><td class="num" id="LN600">600</td><td class="line"> g_settings_set_enum (window-&gt;priv-&gt;settings_listing, <span class='macro'>PREF_LISTING_SORT_METHOD<span class='macro_popup'>"sort-method"</span></span>, window-&gt;priv-&gt;sort_method);</td></tr>
+<tr class="codeline" data-linenumber="601"><td class="num" id="LN601">601</td><td class="line"> g_settings_set_enum (window-&gt;priv-&gt;settings_listing, <span class='macro'>PREF_LISTING_SORT_TYPE<span class='macro_popup'>"sort-type"</span></span>, window-&gt;priv-&gt;sort_type);</td></tr>
+<tr class="codeline" data-linenumber="602"><td class="num" id="LN602">602</td><td class="line"> g_settings_set_enum (window-&gt;priv-&gt;settings_listing, <span class='macro'>PREF_LISTING_LIST_MODE<span class='macro_popup'>"list-mode"</span></span>, window-&gt;priv-&gt;last_list_mode);</td></tr>
+<tr class="codeline" data-linenumber="603"><td class="num" id="LN603">603</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="604"><td class="num" id="LN604">604</td><td class="line"> _g_object_unref (window-&gt;priv-&gt;settings_listing);</td></tr>
+<tr class="codeline" data-linenumber="605"><td class="num" id="LN605">605</td><td class="line"> _g_object_unref (window-&gt;priv-&gt;settings_ui);</td></tr>
+<tr class="codeline" data-linenumber="606"><td class="num" id="LN606">606</td><td class="line"> _g_object_unref (window-&gt;priv-&gt;settings_general);</td></tr>
+<tr class="codeline" data-linenumber="607"><td class="num" id="LN607">607</td><td class="line"> _g_object_unref (window-&gt;priv-&gt;settings_dialogs);</td></tr>
+<tr class="codeline" data-linenumber="608"><td class="num" id="LN608">608</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="609"><td class="num" id="LN609">609</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;settings_caja)</td></tr>
+<tr class="codeline" data-linenumber="610"><td class="num" id="LN610">610</td><td class="line"> _g_object_unref (window-&gt;priv-&gt;settings_caja);</td></tr>
+<tr class="codeline" data-linenumber="611"><td class="num" id="LN611">611</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="612"><td class="num" id="LN612">612</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;ui_manager)</td></tr>
+<tr class="codeline" data-linenumber="613"><td class="num" id="LN613">613</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="614"><td class="num" id="LN614">614</td><td class="line"> g_object_unref (window-&gt;priv-&gt;ui_manager);</td></tr>
+<tr class="codeline" data-linenumber="615"><td class="num" id="LN615">615</td><td class="line"> window-&gt;priv-&gt;ui_manager = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="616"><td class="num" id="LN616">616</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="617"><td class="num" id="LN617">617</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="618"><td class="num" id="LN618">618</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="619"><td class="num" id="LN619">619</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="620"><td class="num" id="LN620">620</td><td class="line">fr_window_finalize (GObject *object)</td></tr>
+<tr class="codeline" data-linenumber="621"><td class="num" id="LN621">621</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="622"><td class="num" id="LN622">622</td><td class="line"> FrWindow *window = <span class='macro'>FR_WINDOW (object)<span class='macro_popup'>((((FrWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((object)), ((fr_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="623"><td class="num" id="LN623">623</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="624"><td class="num" id="LN624">624</td><td class="line"> fr_window_free_open_files (window);</td></tr>
+<tr class="codeline" data-linenumber="625"><td class="num" id="LN625">625</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="626"><td class="num" id="LN626">626</td><td class="line"> <span class='keyword'>if</span> (window-&gt;archive != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="627"><td class="num" id="LN627">627</td><td class="line"> g_object_unref (window-&gt;archive);</td></tr>
+<tr class="codeline" data-linenumber="628"><td class="num" id="LN628">628</td><td class="line"> window-&gt;archive = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="629"><td class="num" id="LN629">629</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="630"><td class="num" id="LN630">630</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="631"><td class="num" id="LN631">631</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="632"><td class="num" id="LN632">632</td><td class="line"> fr_window_free_private_data (window);</td></tr>
+<tr class="codeline" data-linenumber="633"><td class="num" id="LN633">633</td><td class="line"> g_free (window-&gt;priv);</td></tr>
+<tr class="codeline" data-linenumber="634"><td class="num" id="LN634">634</td><td class="line"> window-&gt;priv = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="635"><td class="num" id="LN635">635</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="636"><td class="num" id="LN636">636</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="637"><td class="num" id="LN637">637</td><td class="line"> <span class='keyword'>if</span> (gtk_application_get_windows (<span class='macro'>GTK_APPLICATION (g_application_get_default ())<span class='macro_popup'>((((GtkApplication*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_application_get_default ())), ((gtk_application_get_type<br> ()))))))</span></span>) == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="638"><td class="num" id="LN638">638</td><td class="line"> <span class='keyword'>if</span> (tree_pixbuf_hash != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="639"><td class="num" id="LN639">639</td><td class="line"> g_hash_table_foreach (tree_pixbuf_hash,</td></tr>
+<tr class="codeline" data-linenumber="640"><td class="num" id="LN640">640</td><td class="line"> gh_unref_pixbuf,</td></tr>
+<tr class="codeline" data-linenumber="641"><td class="num" id="LN641">641</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="642"><td class="num" id="LN642">642</td><td class="line"> g_hash_table_destroy (tree_pixbuf_hash);</td></tr>
+<tr class="codeline" data-linenumber="643"><td class="num" id="LN643">643</td><td class="line"> tree_pixbuf_hash = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="644"><td class="num" id="LN644">644</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="645"><td class="num" id="LN645">645</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="646"><td class="num" id="LN646">646</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="647"><td class="num" id="LN647">647</td><td class="line"> <span class='macro'>G_OBJECT_CLASS (parent_class)<span class='macro_popup'>((((GObjectClass*) (void *) g_type_check_class_cast ((GTypeClass<br>*) ((parent_class)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>-&gt;finalize (object);</td></tr>
+<tr class="codeline" data-linenumber="648"><td class="num" id="LN648">648</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="649"><td class="num" id="LN649">649</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="650"><td class="num" id="LN650">650</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="651"><td class="num" id="LN651">651</td><td class="line">close__step2 (gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="652"><td class="num" id="LN652">652</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="653"><td class="num" id="LN653">653</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (data)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="654"><td class="num" id="LN654">654</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="655"><td class="num" id="LN655">655</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="656"><td class="num" id="LN656">656</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="657"><td class="num" id="LN657">657</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="658"><td class="num" id="LN658">658</td><td class="line">fr_window_close (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="659"><td class="num" id="LN659">659</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="660"><td class="num" id="LN660">660</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;activity_ref &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="661"><td class="num" id="LN661">661</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="662"><td class="num" id="LN662">662</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="663"><td class="num" id="LN663">663</td><td class="line"> window-&gt;priv-&gt;closing = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="664"><td class="num" id="LN664">664</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="665"><td class="num" id="LN665">665</td><td class="line"> <span class='keyword'>if</span> (gtk_widget_get_realized (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="666"><td class="num" id="LN666">666</td><td class="line"> <span class='keyword'>int</span> width, height;</td></tr>
+<tr class="codeline" data-linenumber="667"><td class="num" id="LN667">667</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="668"><td class="num" id="LN668">668</td><td class="line"> width = gtk_widget_get_allocated_width (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="669"><td class="num" id="LN669">669</td><td class="line"> height = gtk_widget_get_allocated_height (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="670"><td class="num" id="LN670">670</td><td class="line"> g_settings_set_int (window-&gt;priv-&gt;settings_ui, <span class='macro'>PREF_UI_WINDOW_WIDTH<span class='macro_popup'>"window-width"</span></span>, width);</td></tr>
+<tr class="codeline" data-linenumber="671"><td class="num" id="LN671">671</td><td class="line"> g_settings_set_int (window-&gt;priv-&gt;settings_ui, <span class='macro'>PREF_UI_WINDOW_HEIGHT<span class='macro_popup'>"window-height"</span></span>, height);</td></tr>
+<tr class="codeline" data-linenumber="672"><td class="num" id="LN672">672</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="673"><td class="num" id="LN673">673</td><td class="line"> width = gtk_paned_get_position (<span class='macro'>GTK_PANED (window-&gt;priv-&gt;paned)<span class='macro_popup'>((((GtkPaned*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;paned)), ((gtk_paned_get_type ()))))<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="674"><td class="num" id="LN674">674</td><td class="line"> <span class='keyword'>if</span> (width &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="675"><td class="num" id="LN675">675</td><td class="line"> g_settings_set_int (window-&gt;priv-&gt;settings_ui, <span class='macro'>PREF_UI_SIDEBAR_WIDTH<span class='macro_popup'>"sidebar-width"</span></span>, width);</td></tr>
+<tr class="codeline" data-linenumber="676"><td class="num" id="LN676">676</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="677"><td class="num" id="LN677">677</td><td class="line"> width = gtk_tree_view_column_get_width (window-&gt;priv-&gt;filename_column);</td></tr>
+<tr class="codeline" data-linenumber="678"><td class="num" id="LN678">678</td><td class="line"> <span class='keyword'>if</span> (width &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="679"><td class="num" id="LN679">679</td><td class="line"> g_settings_set_int (window-&gt;priv-&gt;settings_listing, <span class='macro'>PREF_LISTING_NAME_COLUMN_WIDTH<span class='macro_popup'>"name-column-width"</span></span>, width);</td></tr>
+<tr class="codeline" data-linenumber="680"><td class="num" id="LN680">680</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="681"><td class="num" id="LN681">681</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="682"><td class="num" id="LN682">682</td><td class="line"> g_idle_add (close__step2, window);</td></tr>
+<tr class="codeline" data-linenumber="683"><td class="num" id="LN683">683</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="684"><td class="num" id="LN684">684</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="685"><td class="num" id="LN685">685</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="686"><td class="num" id="LN686">686</td><td class="line">fr_window_class_init (FrWindowClass *class)</td></tr>
+<tr class="codeline" data-linenumber="687"><td class="num" id="LN687">687</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="688"><td class="num" id="LN688">688</td><td class="line"> GObjectClass *gobject_class;</td></tr>
+<tr class="codeline" data-linenumber="689"><td class="num" id="LN689">689</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="690"><td class="num" id="LN690">690</td><td class="line"> parent_class = g_type_class_peek_parent (class);</td></tr>
+<tr class="codeline" data-linenumber="691"><td class="num" id="LN691">691</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="692"><td class="num" id="LN692">692</td><td class="line"> fr_window_signals[ARCHIVE_LOADED] =</td></tr>
+<tr class="codeline" data-linenumber="693"><td class="num" id="LN693">693</td><td class="line"> g_signal_new (<span class='string_literal'>"archive-loaded"</span>,</td></tr>
+<tr class="codeline" data-linenumber="694"><td class="num" id="LN694">694</td><td class="line"> <span class='macro'>G_TYPE_FROM_CLASS (class)<span class='macro_popup'>(((GTypeClass*) (class))-&gt;g_type)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="695"><td class="num" id="LN695">695</td><td class="line"> G_SIGNAL_RUN_LAST,</td></tr>
+<tr class="codeline" data-linenumber="696"><td class="num" id="LN696">696</td><td class="line"> <span class='macro'>G_STRUCT_OFFSET (FrWindowClass, archive_loaded)<span class='macro_popup'>((glong) __builtin_offsetof(FrWindowClass, archive_loaded))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="697"><td class="num" id="LN697">697</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="698"><td class="num" id="LN698">698</td><td class="line"> <span class='macro'>fr_marshal_VOID__BOOLEAN<span class='macro_popup'>g_cclosure_marshal_VOID__BOOLEAN</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="699"><td class="num" id="LN699">699</td><td class="line"> <span class='macro'>G_TYPE_NONE<span class='macro_popup'>((GType) ((1) &lt;&lt; (2)))</span></span>, 1,</td></tr>
+<tr class="codeline" data-linenumber="700"><td class="num" id="LN700">700</td><td class="line"> <span class='macro'>G_TYPE_BOOLEAN<span class='macro_popup'>((GType) ((5) &lt;&lt; (2)))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="701"><td class="num" id="LN701">701</td><td class="line"> fr_window_signals[PROGRESS] =</td></tr>
+<tr class="codeline" data-linenumber="702"><td class="num" id="LN702">702</td><td class="line"> g_signal_new (<span class='string_literal'>"progress"</span>,</td></tr>
+<tr class="codeline" data-linenumber="703"><td class="num" id="LN703">703</td><td class="line"> <span class='macro'>G_TYPE_FROM_CLASS (class)<span class='macro_popup'>(((GTypeClass*) (class))-&gt;g_type)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="704"><td class="num" id="LN704">704</td><td class="line"> G_SIGNAL_RUN_LAST,</td></tr>
+<tr class="codeline" data-linenumber="705"><td class="num" id="LN705">705</td><td class="line"> <span class='macro'>G_STRUCT_OFFSET (FrWindowClass, progress)<span class='macro_popup'>((glong) __builtin_offsetof(FrWindowClass, progress))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="706"><td class="num" id="LN706">706</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="707"><td class="num" id="LN707">707</td><td class="line"> fr_marshal_VOID__DOUBLE_STRING,</td></tr>
+<tr class="codeline" data-linenumber="708"><td class="num" id="LN708">708</td><td class="line"> <span class='macro'>G_TYPE_NONE<span class='macro_popup'>((GType) ((1) &lt;&lt; (2)))</span></span>, 2,</td></tr>
+<tr class="codeline" data-linenumber="709"><td class="num" id="LN709">709</td><td class="line"> <span class='macro'>G_TYPE_DOUBLE<span class='macro_popup'>((GType) ((15) &lt;&lt; (2)))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="710"><td class="num" id="LN710">710</td><td class="line"> <span class='macro'>G_TYPE_STRING<span class='macro_popup'>((GType) ((16) &lt;&lt; (2)))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="711"><td class="num" id="LN711">711</td><td class="line"> fr_window_signals[READY] =</td></tr>
+<tr class="codeline" data-linenumber="712"><td class="num" id="LN712">712</td><td class="line"> g_signal_new (<span class='string_literal'>"ready"</span>,</td></tr>
+<tr class="codeline" data-linenumber="713"><td class="num" id="LN713">713</td><td class="line"> <span class='macro'>G_TYPE_FROM_CLASS (class)<span class='macro_popup'>(((GTypeClass*) (class))-&gt;g_type)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="714"><td class="num" id="LN714">714</td><td class="line"> G_SIGNAL_RUN_LAST,</td></tr>
+<tr class="codeline" data-linenumber="715"><td class="num" id="LN715">715</td><td class="line"> <span class='macro'>G_STRUCT_OFFSET (FrWindowClass, ready)<span class='macro_popup'>((glong) __builtin_offsetof(FrWindowClass, ready))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="716"><td class="num" id="LN716">716</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="717"><td class="num" id="LN717">717</td><td class="line"> <span class='macro'>fr_marshal_VOID__POINTER<span class='macro_popup'>g_cclosure_marshal_VOID__POINTER</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="718"><td class="num" id="LN718">718</td><td class="line"> <span class='macro'>G_TYPE_NONE<span class='macro_popup'>((GType) ((1) &lt;&lt; (2)))</span></span>, 1,</td></tr>
+<tr class="codeline" data-linenumber="719"><td class="num" id="LN719">719</td><td class="line"> <span class='macro'>G_TYPE_POINTER<span class='macro_popup'>((GType) ((17) &lt;&lt; (2)))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="720"><td class="num" id="LN720">720</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="721"><td class="num" id="LN721">721</td><td class="line"> gobject_class = (GObjectClass*) class;</td></tr>
+<tr class="codeline" data-linenumber="722"><td class="num" id="LN722">722</td><td class="line"> gobject_class-&gt;finalize = fr_window_finalize;</td></tr>
+<tr class="codeline" data-linenumber="723"><td class="num" id="LN723">723</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="724"><td class="num" id="LN724">724</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="725"><td class="num" id="LN725">725</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> fr_window_update_paste_command_sensitivity (FrWindow *, GtkClipboard *);</td></tr>
+<tr class="codeline" data-linenumber="726"><td class="num" id="LN726">726</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="727"><td class="num" id="LN727">727</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="728"><td class="num" id="LN728">728</td><td class="line">clipboard_owner_change_cb (GtkClipboard *clipboard,</td></tr>
+<tr class="codeline" data-linenumber="729"><td class="num" id="LN729">729</td><td class="line"> GdkEvent *event,</td></tr>
+<tr class="codeline" data-linenumber="730"><td class="num" id="LN730">730</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="731"><td class="num" id="LN731">731</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="732"><td class="num" id="LN732">732</td><td class="line"> fr_window_update_paste_command_sensitivity ((FrWindow *) user_data, clipboard);</td></tr>
+<tr class="codeline" data-linenumber="733"><td class="num" id="LN733">733</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="734"><td class="num" id="LN734">734</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="735"><td class="num" id="LN735">735</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="736"><td class="num" id="LN736">736</td><td class="line">fr_window_realized (GtkWidget *window,</td></tr>
+<tr class="codeline" data-linenumber="737"><td class="num" id="LN737">737</td><td class="line"> gpointer *data)</td></tr>
+<tr class="codeline" data-linenumber="738"><td class="num" id="LN738">738</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="739"><td class="num" id="LN739">739</td><td class="line"> GtkClipboard *clipboard;</td></tr>
+<tr class="codeline" data-linenumber="740"><td class="num" id="LN740">740</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="741"><td class="num" id="LN741">741</td><td class="line"> clipboard = gtk_widget_get_clipboard (window, <span class='macro'>FR_CLIPBOARD<span class='macro_popup'>(gdk_atom_intern_static_string ("_RNGRAMPA_SPECIAL_CLIPBOARD"<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="742"><td class="num" id="LN742">742</td><td class="line"> <span class='macro'>g_signal_connect (clipboard,<span class='macro_popup'>g_signal_connect_data ((clipboard), ("owner_change"), (((GCallback<br>) (clipboard_owner_change_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="743"><td class="num" id="LN743">743</td><td class="line"> <span class='string_literal'><span class='macro'>"owner_change"</span>,<span class='macro_popup'>g_signal_connect_data ((clipboard), ("owner_change"), (((GCallback<br>) (clipboard_owner_change_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="744"><td class="num" id="LN744">744</td><td class="line"> <span class='macro'>G_CALLBACK (clipboard_owner_change_cb),<span class='macro_popup'>g_signal_connect_data ((clipboard), ("owner_change"), (((GCallback<br>) (clipboard_owner_change_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="745"><td class="num" id="LN745">745</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((clipboard), ("owner_change"), (((GCallback<br>) (clipboard_owner_change_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="746"><td class="num" id="LN746">746</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="747"><td class="num" id="LN747">747</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="748"><td class="num" id="LN748">748</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="749"><td class="num" id="LN749">749</td><td class="line">fr_window_unrealized (GtkWidget *window,</td></tr>
+<tr class="codeline" data-linenumber="750"><td class="num" id="LN750">750</td><td class="line"> gpointer *data)</td></tr>
+<tr class="codeline" data-linenumber="751"><td class="num" id="LN751">751</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="752"><td class="num" id="LN752">752</td><td class="line"> GtkClipboard *clipboard;</td></tr>
+<tr class="codeline" data-linenumber="753"><td class="num" id="LN753">753</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="754"><td class="num" id="LN754">754</td><td class="line"> clipboard = gtk_widget_get_clipboard (window, <span class='macro'>FR_CLIPBOARD<span class='macro_popup'>(gdk_atom_intern_static_string ("_RNGRAMPA_SPECIAL_CLIPBOARD"<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="755"><td class="num" id="LN755">755</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (clipboard,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((clipboard), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (((GCallback) (clipboard_owner_change_cb))), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="756"><td class="num" id="LN756">756</td><td class="line"> <span class='macro'>G_CALLBACK (clipboard_owner_change_cb),<span class='macro_popup'>g_signal_handlers_disconnect_matched ((clipboard), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (((GCallback) (clipboard_owner_change_cb))), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="757"><td class="num" id="LN757">757</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((clipboard), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (((GCallback) (clipboard_owner_change_cb))), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="758"><td class="num" id="LN758">758</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="759"><td class="num" id="LN759">759</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="760"><td class="num" id="LN760">760</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="761"><td class="num" id="LN761">761</td><td class="line">fr_window_init (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="762"><td class="num" id="LN762">762</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="763"><td class="num" id="LN763">763</td><td class="line"> GtkStyleContext *context;</td></tr>
+<tr class="codeline" data-linenumber="764"><td class="num" id="LN764">764</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="765"><td class="num" id="LN765">765</td><td class="line"> window-&gt;priv = <span class='macro'>g_new0 (FrWindowPrivateData, 1)<span class='macro_popup'>((FrWindowPrivateData *) g_malloc0_n ((1), sizeof (FrWindowPrivateData<br>)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="766"><td class="num" id="LN766">766</td><td class="line"> window-&gt;priv-&gt;update_dropped_files = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="767"><td class="num" id="LN767">767</td><td class="line"> window-&gt;priv-&gt;filter_mode = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="768"><td class="num" id="LN768">768</td><td class="line"> window-&gt;priv-&gt;batch_title = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="769"><td class="num" id="LN769">769</td><td class="line"> window-&gt;priv-&gt;use_progress_dialog = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="770"><td class="num" id="LN770">770</td><td class="line"> window-&gt;priv-&gt;batch_title = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="771"><td class="num" id="LN771">771</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="772"><td class="num" id="LN772">772</td><td class="line"> context = gtk_widget_get_style_context (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="773"><td class="num" id="LN773">773</td><td class="line"> gtk_style_context_add_class (context, <span class='string_literal'>"engrampa-window"</span>);</td></tr>
+<tr class="codeline" data-linenumber="774"><td class="num" id="LN774">774</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="775"><td class="num" id="LN775">775</td><td class="line"> <span class='macro'>g_signal_connect (window,<span class='macro_popup'>g_signal_connect_data ((window), ("realize"), (((GCallback) (<br>fr_window_realized))), (((void*)0)), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="776"><td class="num" id="LN776">776</td><td class="line"> <span class='string_literal'><span class='macro'>"realize"</span>,<span class='macro_popup'>g_signal_connect_data ((window), ("realize"), (((GCallback) (<br>fr_window_realized))), (((void*)0)), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="777"><td class="num" id="LN777">777</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_realized),<span class='macro_popup'>g_signal_connect_data ((window), ("realize"), (((GCallback) (<br>fr_window_realized))), (((void*)0)), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="778"><td class="num" id="LN778">778</td><td class="line"> <span class='macro'>NULL)<span class='macro_popup'>g_signal_connect_data ((window), ("realize"), (((GCallback) (<br>fr_window_realized))), (((void*)0)), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="779"><td class="num" id="LN779">779</td><td class="line"> <span class='macro'>g_signal_connect (window,<span class='macro_popup'>g_signal_connect_data ((window), ("unrealize"), (((GCallback)<br> (fr_window_unrealized))), (((void*)0)), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="780"><td class="num" id="LN780">780</td><td class="line"> <span class='string_literal'><span class='macro'>"unrealize"</span>,<span class='macro_popup'>g_signal_connect_data ((window), ("unrealize"), (((GCallback)<br> (fr_window_unrealized))), (((void*)0)), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="781"><td class="num" id="LN781">781</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_unrealized),<span class='macro_popup'>g_signal_connect_data ((window), ("unrealize"), (((GCallback)<br> (fr_window_unrealized))), (((void*)0)), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="782"><td class="num" id="LN782">782</td><td class="line"> <span class='macro'>NULL)<span class='macro_popup'>g_signal_connect_data ((window), ("unrealize"), (((GCallback)<br> (fr_window_unrealized))), (((void*)0)), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="783"><td class="num" id="LN783">783</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="784"><td class="num" id="LN784">784</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="785"><td class="num" id="LN785">785</td><td class="line">GType</td></tr>
+<tr class="codeline" data-linenumber="786"><td class="num" id="LN786">786</td><td class="line">fr_window_get_type (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="787"><td class="num" id="LN787">787</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="788"><td class="num" id="LN788">788</td><td class="line"> <span class='keyword'>static</span> GType type = 0;</td></tr>
+<tr class="codeline" data-linenumber="789"><td class="num" id="LN789">789</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="790"><td class="num" id="LN790">790</td><td class="line"> <span class='keyword'>if</span> (! type) {</td></tr>
+<tr class="codeline" data-linenumber="791"><td class="num" id="LN791">791</td><td class="line"> GTypeInfo type_info = {</td></tr>
+<tr class="codeline" data-linenumber="792"><td class="num" id="LN792">792</td><td class="line"> <span class='keyword'>sizeof</span> (FrWindowClass),</td></tr>
+<tr class="codeline" data-linenumber="793"><td class="num" id="LN793">793</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="794"><td class="num" id="LN794">794</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="795"><td class="num" id="LN795">795</td><td class="line"> (GClassInitFunc) fr_window_class_init,</td></tr>
+<tr class="codeline" data-linenumber="796"><td class="num" id="LN796">796</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="797"><td class="num" id="LN797">797</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="798"><td class="num" id="LN798">798</td><td class="line"> <span class='keyword'>sizeof</span> (FrWindow),</td></tr>
+<tr class="codeline" data-linenumber="799"><td class="num" id="LN799">799</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="800"><td class="num" id="LN800">800</td><td class="line"> (GInstanceInitFunc) fr_window_init,</td></tr>
+<tr class="codeline" data-linenumber="801"><td class="num" id="LN801">801</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="802"><td class="num" id="LN802">802</td><td class="line"> };</td></tr>
+<tr class="codeline" data-linenumber="803"><td class="num" id="LN803">803</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="804"><td class="num" id="LN804">804</td><td class="line"> type = g_type_register_static (<span class='macro'>GTK_TYPE_APPLICATION_WINDOW<span class='macro_popup'>(gtk_application_window_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="805"><td class="num" id="LN805">805</td><td class="line"> <span class='string_literal'>"FrWindow"</span>,</td></tr>
+<tr class="codeline" data-linenumber="806"><td class="num" id="LN806">806</td><td class="line"> &amp;type_info,</td></tr>
+<tr class="codeline" data-linenumber="807"><td class="num" id="LN807">807</td><td class="line"> 0);</td></tr>
+<tr class="codeline" data-linenumber="808"><td class="num" id="LN808">808</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="809"><td class="num" id="LN809">809</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="810"><td class="num" id="LN810">810</td><td class="line"> <span class='keyword'>return</span> type;</td></tr>
+<tr class="codeline" data-linenumber="811"><td class="num" id="LN811">811</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="812"><td class="num" id="LN812">812</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="813"><td class="num" id="LN813">813</td><td class="line"><span class='comment'>/* -- window history -- */</span></td></tr>
+<tr class="codeline" data-linenumber="814"><td class="num" id="LN814">814</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="815"><td class="num" id="LN815">815</td><td class="line"><span class='directive'>#if 0</span></td></tr>
+<tr class="codeline" data-linenumber="816"><td class="num" id="LN816">816</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="817"><td class="num" id="LN817">817</td><td class="line">fr_window_history_print (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="818"><td class="num" id="LN818">818</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="819"><td class="num" id="LN819">819</td><td class="line"> GList *list;</td></tr>
+<tr class="codeline" data-linenumber="820"><td class="num" id="LN820">820</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="821"><td class="num" id="LN821">821</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 821, __FUNCTION__</span></span>, <span class='string_literal'>"history:\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="822"><td class="num" id="LN822">822</td><td class="line"> <span class='keyword'>for</span> (list = window-&gt;priv-&gt;history; list; list = list-&gt;next)</td></tr>
+<tr class="codeline" data-linenumber="823"><td class="num" id="LN823">823</td><td class="line"> g_print (<span class='string_literal'>"\t%s %s\n"</span>,</td></tr>
+<tr class="codeline" data-linenumber="824"><td class="num" id="LN824">824</td><td class="line"> (<span class='keyword'>char</span>*) list-&gt;data,</td></tr>
+<tr class="codeline" data-linenumber="825"><td class="num" id="LN825">825</td><td class="line"> (list == window-&gt;priv-&gt;history_current)? <span class='string_literal'>"&lt;-"</span>: <span class='string_literal'>""</span>);</td></tr>
+<tr class="codeline" data-linenumber="826"><td class="num" id="LN826">826</td><td class="line"> g_print (<span class='string_literal'>"\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="827"><td class="num" id="LN827">827</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="828"><td class="num" id="LN828">828</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="829"><td class="num" id="LN829">829</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="830"><td class="num" id="LN830">830</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="831"><td class="num" id="LN831">831</td><td class="line">fr_window_history_add (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="832"><td class="num" id="LN832">832</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *path)</td></tr>
+<tr class="codeline" data-linenumber="833"><td class="num" id="LN833">833</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="834"><td class="num" id="LN834">834</td><td class="line"> <span class='keyword'>if</span> ((window-&gt;priv-&gt;history_current == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) || (g_strcmp0 (path, window-&gt;priv-&gt;history_current-&gt;data) != 0)) {</td></tr>
+<tr class="codeline" data-linenumber="835"><td class="num" id="LN835">835</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="836"><td class="num" id="LN836">836</td><td class="line"> GList *new_current = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="837"><td class="num" id="LN837">837</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="838"><td class="num" id="LN838">838</td><td class="line"> <span class='comment'>/* search the path in the history */</span></td></tr>
+<tr class="codeline" data-linenumber="839"><td class="num" id="LN839">839</td><td class="line"> <span class='keyword'>for</span> (scan = window-&gt;priv-&gt;history_current; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="840"><td class="num" id="LN840">840</td><td class="line"> <span class='keyword'>char</span> *path_in_history = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="841"><td class="num" id="LN841">841</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="842"><td class="num" id="LN842">842</td><td class="line"> <span class='keyword'>if</span> (g_strcmp0 (path, path_in_history) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="843"><td class="num" id="LN843">843</td><td class="line"> new_current = scan;</td></tr>
+<tr class="codeline" data-linenumber="844"><td class="num" id="LN844">844</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="845"><td class="num" id="LN845">845</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="846"><td class="num" id="LN846">846</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="847"><td class="num" id="LN847">847</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="848"><td class="num" id="LN848">848</td><td class="line"> <span class='keyword'>if</span> (new_current != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="849"><td class="num" id="LN849">849</td><td class="line"> window-&gt;priv-&gt;history_current = new_current;</td></tr>
+<tr class="codeline" data-linenumber="850"><td class="num" id="LN850">850</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="851"><td class="num" id="LN851">851</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="852"><td class="num" id="LN852">852</td><td class="line"> <span class='comment'>/* remove all the paths after the current position */</span></td></tr>
+<tr class="codeline" data-linenumber="853"><td class="num" id="LN853">853</td><td class="line"> <span class='keyword'>for</span> (scan = window-&gt;priv-&gt;history; scan &amp;&amp; (scan != window-&gt;priv-&gt;history_current); <span class='comment'>/* void */</span>) {</td></tr>
+<tr class="codeline" data-linenumber="854"><td class="num" id="LN854">854</td><td class="line"> GList *next = scan-&gt;next;</td></tr>
+<tr class="codeline" data-linenumber="855"><td class="num" id="LN855">855</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="856"><td class="num" id="LN856">856</td><td class="line"> window-&gt;priv-&gt;history = g_list_remove_link (window-&gt;priv-&gt;history, scan);</td></tr>
+<tr class="codeline" data-linenumber="857"><td class="num" id="LN857">857</td><td class="line"> path_list_free (scan);</td></tr>
+<tr class="codeline" data-linenumber="858"><td class="num" id="LN858">858</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="859"><td class="num" id="LN859">859</td><td class="line"> scan = next;</td></tr>
+<tr class="codeline" data-linenumber="860"><td class="num" id="LN860">860</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="861"><td class="num" id="LN861">861</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="862"><td class="num" id="LN862">862</td><td class="line"> window-&gt;priv-&gt;history = g_list_prepend (window-&gt;priv-&gt;history, <span class='macro'>g_strdup (path)<span class='macro_popup'>g_strdup_inline (path)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="863"><td class="num" id="LN863">863</td><td class="line"> window-&gt;priv-&gt;history_current = window-&gt;priv-&gt;history;</td></tr>
+<tr class="codeline" data-linenumber="864"><td class="num" id="LN864">864</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="865"><td class="num" id="LN865">865</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="866"><td class="num" id="LN866">866</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="867"><td class="num" id="LN867">867</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="868"><td class="num" id="LN868">868</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="869"><td class="num" id="LN869">869</td><td class="line">fr_window_history_pop (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="870"><td class="num" id="LN870">870</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="871"><td class="num" id="LN871">871</td><td class="line"> GList *first;</td></tr>
+<tr class="codeline" data-linenumber="872"><td class="num" id="LN872">872</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="873"><td class="num" id="LN873">873</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;history == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="874"><td class="num" id="LN874">874</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="875"><td class="num" id="LN875">875</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="876"><td class="num" id="LN876">876</td><td class="line"> first = window-&gt;priv-&gt;history;</td></tr>
+<tr class="codeline" data-linenumber="877"><td class="num" id="LN877">877</td><td class="line"> window-&gt;priv-&gt;history = g_list_remove_link (window-&gt;priv-&gt;history, first);</td></tr>
+<tr class="codeline" data-linenumber="878"><td class="num" id="LN878">878</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;history_current == first)</td></tr>
+<tr class="codeline" data-linenumber="879"><td class="num" id="LN879">879</td><td class="line"> window-&gt;priv-&gt;history_current = window-&gt;priv-&gt;history;</td></tr>
+<tr class="codeline" data-linenumber="880"><td class="num" id="LN880">880</td><td class="line"> g_free (first-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="881"><td class="num" id="LN881">881</td><td class="line"> g_list_free (first);</td></tr>
+<tr class="codeline" data-linenumber="882"><td class="num" id="LN882">882</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="883"><td class="num" id="LN883">883</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="884"><td class="num" id="LN884">884</td><td class="line"><span class='comment'>/* -- window_update_file_list -- */</span></td></tr>
+<tr class="codeline" data-linenumber="885"><td class="num" id="LN885">885</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="886"><td class="num" id="LN886">886</td><td class="line"><span class='keyword'>static</span> GPtrArray *</td></tr>
+<tr class="codeline" data-linenumber="887"><td class="num" id="LN887">887</td><td class="line">fr_window_get_current_dir_list (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="888"><td class="num" id="LN888">888</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="889"><td class="num" id="LN889">889</td><td class="line"> GPtrArray *files;</td></tr>
+<tr class="codeline" data-linenumber="890"><td class="num" id="LN890">890</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="891"><td class="num" id="LN891">891</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="892"><td class="num" id="LN892">892</td><td class="line"> files = g_ptr_array_sized_new (128);</td></tr>
+<tr class="codeline" data-linenumber="893"><td class="num" id="LN893">893</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="894"><td class="num" id="LN894">894</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; window-&gt;archive-&gt;command-&gt;files-&gt;len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="895"><td class="num" id="LN895">895</td><td class="line"> FileData *fdata = <span class='macro'>g_ptr_array_index (window-&gt;archive-&gt;command-&gt;files, i)<span class='macro_popup'>((window-&gt;archive-&gt;command-&gt;files)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="896"><td class="num" id="LN896">896</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="897"><td class="num" id="LN897">897</td><td class="line"> <span class='keyword'>if</span> (fdata-&gt;list_name == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="898"><td class="num" id="LN898">898</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="899"><td class="num" id="LN899">899</td><td class="line"> g_ptr_array_add (files, fdata);</td></tr>
+<tr class="codeline" data-linenumber="900"><td class="num" id="LN900">900</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="901"><td class="num" id="LN901">901</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="902"><td class="num" id="LN902">902</td><td class="line"> <span class='keyword'>return</span> files;</td></tr>
+<tr class="codeline" data-linenumber="903"><td class="num" id="LN903">903</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="904"><td class="num" id="LN904">904</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="905"><td class="num" id="LN905">905</td><td class="line"><span class='keyword'>static</span> gint</td></tr>
+<tr class="codeline" data-linenumber="906"><td class="num" id="LN906">906</td><td class="line">sort_by_name (gconstpointer ptr1,</td></tr>
+<tr class="codeline" data-linenumber="907"><td class="num" id="LN907">907</td><td class="line"> gconstpointer ptr2)</td></tr>
+<tr class="codeline" data-linenumber="908"><td class="num" id="LN908">908</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="909"><td class="num" id="LN909">909</td><td class="line"> FileData *fdata1 = *((FileData **) ptr1);</td></tr>
+<tr class="codeline" data-linenumber="910"><td class="num" id="LN910">910</td><td class="line"> FileData *fdata2 = *((FileData **) ptr2);</td></tr>
+<tr class="codeline" data-linenumber="911"><td class="num" id="LN911">911</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="912"><td class="num" id="LN912">912</td><td class="line"> <span class='keyword'>if</span> (file_data_is_dir (fdata1) != file_data_is_dir (fdata2)) {</td></tr>
+<tr class="codeline" data-linenumber="913"><td class="num" id="LN913">913</td><td class="line"> <span class='keyword'>if</span> (file_data_is_dir (fdata1))</td></tr>
+<tr class="codeline" data-linenumber="914"><td class="num" id="LN914">914</td><td class="line"> <span class='keyword'>return</span> -1;</td></tr>
+<tr class="codeline" data-linenumber="915"><td class="num" id="LN915">915</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="916"><td class="num" id="LN916">916</td><td class="line"> <span class='keyword'>return</span> 1;</td></tr>
+<tr class="codeline" data-linenumber="917"><td class="num" id="LN917">917</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="918"><td class="num" id="LN918">918</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="919"><td class="num" id="LN919">919</td><td class="line"> <span class='keyword'>return</span> strcmp (fdata1-&gt;sort_key, fdata2-&gt;sort_key);</td></tr>
+<tr class="codeline" data-linenumber="920"><td class="num" id="LN920">920</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="921"><td class="num" id="LN921">921</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="922"><td class="num" id="LN922">922</td><td class="line"><span class='keyword'>static</span> gint</td></tr>
+<tr class="codeline" data-linenumber="923"><td class="num" id="LN923">923</td><td class="line">sort_by_size (gconstpointer ptr1,</td></tr>
+<tr class="codeline" data-linenumber="924"><td class="num" id="LN924">924</td><td class="line"> gconstpointer ptr2)</td></tr>
+<tr class="codeline" data-linenumber="925"><td class="num" id="LN925">925</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="926"><td class="num" id="LN926">926</td><td class="line"> FileData *fdata1 = *((FileData **) ptr1);</td></tr>
+<tr class="codeline" data-linenumber="927"><td class="num" id="LN927">927</td><td class="line"> FileData *fdata2 = *((FileData **) ptr2);</td></tr>
+<tr class="codeline" data-linenumber="928"><td class="num" id="LN928">928</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="929"><td class="num" id="LN929">929</td><td class="line"> <span class='keyword'>if</span> (file_data_is_dir (fdata1) != file_data_is_dir (fdata2)) {</td></tr>
+<tr class="codeline" data-linenumber="930"><td class="num" id="LN930">930</td><td class="line"> <span class='keyword'>if</span> (file_data_is_dir (fdata1))</td></tr>
+<tr class="codeline" data-linenumber="931"><td class="num" id="LN931">931</td><td class="line"> <span class='keyword'>return</span> -1;</td></tr>
+<tr class="codeline" data-linenumber="932"><td class="num" id="LN932">932</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="933"><td class="num" id="LN933">933</td><td class="line"> <span class='keyword'>return</span> 1;</td></tr>
+<tr class="codeline" data-linenumber="934"><td class="num" id="LN934">934</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="935"><td class="num" id="LN935">935</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (file_data_is_dir (fdata1) &amp;&amp; file_data_is_dir (fdata2)) {</td></tr>
+<tr class="codeline" data-linenumber="936"><td class="num" id="LN936">936</td><td class="line"> <span class='keyword'>if</span> (fdata1-&gt;dir_size &gt; fdata2-&gt;dir_size)</td></tr>
+<tr class="codeline" data-linenumber="937"><td class="num" id="LN937">937</td><td class="line"> <span class='keyword'>return</span> 1;</td></tr>
+<tr class="codeline" data-linenumber="938"><td class="num" id="LN938">938</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="939"><td class="num" id="LN939">939</td><td class="line"> <span class='keyword'>return</span> -1;</td></tr>
+<tr class="codeline" data-linenumber="940"><td class="num" id="LN940">940</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="941"><td class="num" id="LN941">941</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="942"><td class="num" id="LN942">942</td><td class="line"> <span class='keyword'>if</span> (fdata1-&gt;size == fdata2-&gt;size)</td></tr>
+<tr class="codeline" data-linenumber="943"><td class="num" id="LN943">943</td><td class="line"> <span class='keyword'>return</span> sort_by_name (ptr1, ptr2);</td></tr>
+<tr class="codeline" data-linenumber="944"><td class="num" id="LN944">944</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (fdata1-&gt;size &gt; fdata2-&gt;size)</td></tr>
+<tr class="codeline" data-linenumber="945"><td class="num" id="LN945">945</td><td class="line"> <span class='keyword'>return</span> 1;</td></tr>
+<tr class="codeline" data-linenumber="946"><td class="num" id="LN946">946</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="947"><td class="num" id="LN947">947</td><td class="line"> <span class='keyword'>return</span> -1;</td></tr>
+<tr class="codeline" data-linenumber="948"><td class="num" id="LN948">948</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="949"><td class="num" id="LN949">949</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="950"><td class="num" id="LN950">950</td><td class="line"><span class='keyword'>static</span> gint</td></tr>
+<tr class="codeline" data-linenumber="951"><td class="num" id="LN951">951</td><td class="line">sort_by_type (gconstpointer ptr1,</td></tr>
+<tr class="codeline" data-linenumber="952"><td class="num" id="LN952">952</td><td class="line"> gconstpointer ptr2)</td></tr>
+<tr class="codeline" data-linenumber="953"><td class="num" id="LN953">953</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="954"><td class="num" id="LN954">954</td><td class="line"> FileData *fdata1 = *((FileData **) ptr1);</td></tr>
+<tr class="codeline" data-linenumber="955"><td class="num" id="LN955">955</td><td class="line"> FileData *fdata2 = *((FileData **) ptr2);</td></tr>
+<tr class="codeline" data-linenumber="956"><td class="num" id="LN956">956</td><td class="line"> <span class='keyword'>int</span> result;</td></tr>
+<tr class="codeline" data-linenumber="957"><td class="num" id="LN957">957</td><td class="line"> <span class='keyword'>char</span> *desc1, *desc2;</td></tr>
+<tr class="codeline" data-linenumber="958"><td class="num" id="LN958">958</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="959"><td class="num" id="LN959">959</td><td class="line"> <span class='keyword'>if</span> (file_data_is_dir (fdata1) != file_data_is_dir (fdata2)) {</td></tr>
+<tr class="codeline" data-linenumber="960"><td class="num" id="LN960">960</td><td class="line"> <span class='keyword'>if</span> (file_data_is_dir (fdata1))</td></tr>
+<tr class="codeline" data-linenumber="961"><td class="num" id="LN961">961</td><td class="line"> <span class='keyword'>return</span> -1;</td></tr>
+<tr class="codeline" data-linenumber="962"><td class="num" id="LN962">962</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="963"><td class="num" id="LN963">963</td><td class="line"> <span class='keyword'>return</span> 1;</td></tr>
+<tr class="codeline" data-linenumber="964"><td class="num" id="LN964">964</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="965"><td class="num" id="LN965">965</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (file_data_is_dir (fdata1) &amp;&amp; file_data_is_dir (fdata2))</td></tr>
+<tr class="codeline" data-linenumber="966"><td class="num" id="LN966">966</td><td class="line"> <span class='keyword'>return</span> sort_by_name (ptr1, ptr2);</td></tr>
+<tr class="codeline" data-linenumber="967"><td class="num" id="LN967">967</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="968"><td class="num" id="LN968">968</td><td class="line"> desc1 = g_content_type_get_description (fdata1-&gt;content_type);</td></tr>
+<tr class="codeline" data-linenumber="969"><td class="num" id="LN969">969</td><td class="line"> desc2 = g_content_type_get_description (fdata2-&gt;content_type);</td></tr>
+<tr class="codeline" data-linenumber="970"><td class="num" id="LN970">970</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="971"><td class="num" id="LN971">971</td><td class="line"> result = strcasecmp (desc1, desc2);</td></tr>
+<tr class="codeline" data-linenumber="972"><td class="num" id="LN972">972</td><td class="line"> g_free (desc1);</td></tr>
+<tr class="codeline" data-linenumber="973"><td class="num" id="LN973">973</td><td class="line"> g_free (desc2);</td></tr>
+<tr class="codeline" data-linenumber="974"><td class="num" id="LN974">974</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="975"><td class="num" id="LN975">975</td><td class="line"> <span class='keyword'>if</span> (result == 0)</td></tr>
+<tr class="codeline" data-linenumber="976"><td class="num" id="LN976">976</td><td class="line"> <span class='keyword'>return</span> sort_by_name (ptr1, ptr2);</td></tr>
+<tr class="codeline" data-linenumber="977"><td class="num" id="LN977">977</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="978"><td class="num" id="LN978">978</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="979"><td class="num" id="LN979">979</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="980"><td class="num" id="LN980">980</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="981"><td class="num" id="LN981">981</td><td class="line"><span class='keyword'>static</span> gint</td></tr>
+<tr class="codeline" data-linenumber="982"><td class="num" id="LN982">982</td><td class="line">sort_by_time (gconstpointer ptr1,</td></tr>
+<tr class="codeline" data-linenumber="983"><td class="num" id="LN983">983</td><td class="line"> gconstpointer ptr2)</td></tr>
+<tr class="codeline" data-linenumber="984"><td class="num" id="LN984">984</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="985"><td class="num" id="LN985">985</td><td class="line"> FileData *fdata1 = *((FileData **) ptr1);</td></tr>
+<tr class="codeline" data-linenumber="986"><td class="num" id="LN986">986</td><td class="line"> FileData *fdata2 = *((FileData **) ptr2);</td></tr>
+<tr class="codeline" data-linenumber="987"><td class="num" id="LN987">987</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="988"><td class="num" id="LN988">988</td><td class="line"> <span class='keyword'>if</span> (file_data_is_dir (fdata1) != file_data_is_dir (fdata2)) {</td></tr>
+<tr class="codeline" data-linenumber="989"><td class="num" id="LN989">989</td><td class="line"> <span class='keyword'>if</span> (file_data_is_dir (fdata1))</td></tr>
+<tr class="codeline" data-linenumber="990"><td class="num" id="LN990">990</td><td class="line"> <span class='keyword'>return</span> -1;</td></tr>
+<tr class="codeline" data-linenumber="991"><td class="num" id="LN991">991</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="992"><td class="num" id="LN992">992</td><td class="line"> <span class='keyword'>return</span> 1;</td></tr>
+<tr class="codeline" data-linenumber="993"><td class="num" id="LN993">993</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="994"><td class="num" id="LN994">994</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (file_data_is_dir (fdata1) &amp;&amp; file_data_is_dir (fdata2))</td></tr>
+<tr class="codeline" data-linenumber="995"><td class="num" id="LN995">995</td><td class="line"> <span class='keyword'>return</span> sort_by_name (ptr1, ptr2);</td></tr>
+<tr class="codeline" data-linenumber="996"><td class="num" id="LN996">996</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="997"><td class="num" id="LN997">997</td><td class="line"> <span class='keyword'>if</span> (fdata1-&gt;modified == fdata2-&gt;modified)</td></tr>
+<tr class="codeline" data-linenumber="998"><td class="num" id="LN998">998</td><td class="line"> <span class='keyword'>return</span> sort_by_name (ptr1, ptr2);</td></tr>
+<tr class="codeline" data-linenumber="999"><td class="num" id="LN999">999</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (fdata1-&gt;modified &gt; fdata2-&gt;modified)</td></tr>
+<tr class="codeline" data-linenumber="1000"><td class="num" id="LN1000">1000</td><td class="line"> <span class='keyword'>return</span> 1;</td></tr>
+<tr class="codeline" data-linenumber="1001"><td class="num" id="LN1001">1001</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1002"><td class="num" id="LN1002">1002</td><td class="line"> <span class='keyword'>return</span> -1;</td></tr>
+<tr class="codeline" data-linenumber="1003"><td class="num" id="LN1003">1003</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1004"><td class="num" id="LN1004">1004</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1005"><td class="num" id="LN1005">1005</td><td class="line"><span class='keyword'>static</span> gint</td></tr>
+<tr class="codeline" data-linenumber="1006"><td class="num" id="LN1006">1006</td><td class="line">sort_by_path (gconstpointer ptr1,</td></tr>
+<tr class="codeline" data-linenumber="1007"><td class="num" id="LN1007">1007</td><td class="line"> gconstpointer ptr2)</td></tr>
+<tr class="codeline" data-linenumber="1008"><td class="num" id="LN1008">1008</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1009"><td class="num" id="LN1009">1009</td><td class="line"> FileData *fdata1 = *((FileData **) ptr1);</td></tr>
+<tr class="codeline" data-linenumber="1010"><td class="num" id="LN1010">1010</td><td class="line"> FileData *fdata2 = *((FileData **) ptr2);</td></tr>
+<tr class="codeline" data-linenumber="1011"><td class="num" id="LN1011">1011</td><td class="line"> <span class='keyword'>int</span> result;</td></tr>
+<tr class="codeline" data-linenumber="1012"><td class="num" id="LN1012">1012</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1013"><td class="num" id="LN1013">1013</td><td class="line"> <span class='keyword'>if</span> (file_data_is_dir (fdata1) != file_data_is_dir (fdata2)) {</td></tr>
+<tr class="codeline" data-linenumber="1014"><td class="num" id="LN1014">1014</td><td class="line"> <span class='keyword'>if</span> (file_data_is_dir (fdata1))</td></tr>
+<tr class="codeline" data-linenumber="1015"><td class="num" id="LN1015">1015</td><td class="line"> <span class='keyword'>return</span> -1;</td></tr>
+<tr class="codeline" data-linenumber="1016"><td class="num" id="LN1016">1016</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1017"><td class="num" id="LN1017">1017</td><td class="line"> <span class='keyword'>return</span> 1;</td></tr>
+<tr class="codeline" data-linenumber="1018"><td class="num" id="LN1018">1018</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1019"><td class="num" id="LN1019">1019</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (file_data_is_dir (fdata1) &amp;&amp; file_data_is_dir (fdata2))</td></tr>
+<tr class="codeline" data-linenumber="1020"><td class="num" id="LN1020">1020</td><td class="line"> <span class='keyword'>return</span> sort_by_name (ptr1, ptr2);</td></tr>
+<tr class="codeline" data-linenumber="1021"><td class="num" id="LN1021">1021</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1022"><td class="num" id="LN1022">1022</td><td class="line"> <span class='comment'>/* 2 files */</span></td></tr>
+<tr class="codeline" data-linenumber="1023"><td class="num" id="LN1023">1023</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1024"><td class="num" id="LN1024">1024</td><td class="line"> result = strcasecmp (fdata1-&gt;path, fdata2-&gt;path);</td></tr>
+<tr class="codeline" data-linenumber="1025"><td class="num" id="LN1025">1025</td><td class="line"> <span class='keyword'>if</span> (result == 0)</td></tr>
+<tr class="codeline" data-linenumber="1026"><td class="num" id="LN1026">1026</td><td class="line"> <span class='keyword'>return</span> sort_by_name (ptr1, ptr2);</td></tr>
+<tr class="codeline" data-linenumber="1027"><td class="num" id="LN1027">1027</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1028"><td class="num" id="LN1028">1028</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="1029"><td class="num" id="LN1029">1029</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1030"><td class="num" id="LN1030">1030</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1031"><td class="num" id="LN1031">1031</td><td class="line"><span class='keyword'>static</span> guint64</td></tr>
+<tr class="codeline" data-linenumber="1032"><td class="num" id="LN1032">1032</td><td class="line">get_dir_size (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="1033"><td class="num" id="LN1033">1033</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *current_dir,</td></tr>
+<tr class="codeline" data-linenumber="1034"><td class="num" id="LN1034">1034</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *name)</td></tr>
+<tr class="codeline" data-linenumber="1035"><td class="num" id="LN1035">1035</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1036"><td class="num" id="LN1036">1036</td><td class="line"> guint64 size;</td></tr>
+<tr class="codeline" data-linenumber="1037"><td class="num" id="LN1037">1037</td><td class="line"> <span class='keyword'>char</span> *dirname;</td></tr>
+<tr class="codeline" data-linenumber="1038"><td class="num" id="LN1038">1038</td><td class="line"> <span class='keyword'>int</span> dirname_l;</td></tr>
+<tr class="codeline" data-linenumber="1039"><td class="num" id="LN1039">1039</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="1040"><td class="num" id="LN1040">1040</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1041"><td class="num" id="LN1041">1041</td><td class="line"> dirname = g_strconcat (current_dir, name, <span class='string_literal'>"/"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1042"><td class="num" id="LN1042">1042</td><td class="line"> dirname_l = strlen (dirname);</td></tr>
+<tr class="codeline" data-linenumber="1043"><td class="num" id="LN1043">1043</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1044"><td class="num" id="LN1044">1044</td><td class="line"> size = 0;</td></tr>
+<tr class="codeline" data-linenumber="1045"><td class="num" id="LN1045">1045</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; window-&gt;archive-&gt;command-&gt;files-&gt;len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="1046"><td class="num" id="LN1046">1046</td><td class="line"> FileData *fd = <span class='macro'>g_ptr_array_index (window-&gt;archive-&gt;command-&gt;files, i)<span class='macro_popup'>((window-&gt;archive-&gt;command-&gt;files)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1047"><td class="num" id="LN1047">1047</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1048"><td class="num" id="LN1048">1048</td><td class="line"> <span class='keyword'>if</span> (strncmp (dirname, fd-&gt;full_path, dirname_l) == 0)</td></tr>
+<tr class="codeline" data-linenumber="1049"><td class="num" id="LN1049">1049</td><td class="line"> size += fd-&gt;size;</td></tr>
+<tr class="codeline" data-linenumber="1050"><td class="num" id="LN1050">1050</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1051"><td class="num" id="LN1051">1051</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1052"><td class="num" id="LN1052">1052</td><td class="line"> g_free (dirname);</td></tr>
+<tr class="codeline" data-linenumber="1053"><td class="num" id="LN1053">1053</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1054"><td class="num" id="LN1054">1054</td><td class="line"> <span class='keyword'>return</span> size;</td></tr>
+<tr class="codeline" data-linenumber="1055"><td class="num" id="LN1055">1055</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1056"><td class="num" id="LN1056">1056</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1057"><td class="num" id="LN1057">1057</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1058"><td class="num" id="LN1058">1058</td><td class="line">file_data_respects_filter (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="1059"><td class="num" id="LN1059">1059</td><td class="line"> FileData *fdata)</td></tr>
+<tr class="codeline" data-linenumber="1060"><td class="num" id="LN1060">1060</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1061"><td class="num" id="LN1061">1061</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *filter;</td></tr>
+<tr class="codeline" data-linenumber="1062"><td class="num" id="LN1062">1062</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1063"><td class="num" id="LN1063">1063</td><td class="line"> filter = gtk_entry_get_text (<span class='macro'>GTK_ENTRY (window-&gt;priv-&gt;filter_entry)<span class='macro_popup'>((((GtkEntry*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;filter_entry)), ((gtk_entry_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1064"><td class="num" id="LN1064">1064</td><td class="line"> <span class='keyword'>if</span> ((fdata == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) || (filter == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) || (*filter == '\0'))</td></tr>
+<tr class="codeline" data-linenumber="1065"><td class="num" id="LN1065">1065</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1066"><td class="num" id="LN1066">1066</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1067"><td class="num" id="LN1067">1067</td><td class="line"> <span class='keyword'>if</span> (fdata-&gt;dir || (fdata-&gt;name == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="1068"><td class="num" id="LN1068">1068</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1069"><td class="num" id="LN1069">1069</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1070"><td class="num" id="LN1070">1070</td><td class="line"> <span class='keyword'>return</span> strncasecmp (fdata-&gt;name, filter, strlen (filter)) == 0;</td></tr>
+<tr class="codeline" data-linenumber="1071"><td class="num" id="LN1071">1071</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1072"><td class="num" id="LN1072">1072</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1073"><td class="num" id="LN1073">1073</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1074"><td class="num" id="LN1074">1074</td><td class="line">compute_file_list_name (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="1075"><td class="num" id="LN1075">1075</td><td class="line"> FileData *fdata,</td></tr>
+<tr class="codeline" data-linenumber="1076"><td class="num" id="LN1076">1076</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *current_dir,</td></tr>
+<tr class="codeline" data-linenumber="1077"><td class="num" id="LN1077">1077</td><td class="line"> size_t current_dir_len,</td></tr>
+<tr class="codeline" data-linenumber="1078"><td class="num" id="LN1078">1078</td><td class="line"> GHashTable *names_hash,</td></tr>
+<tr class="codeline" data-linenumber="1079"><td class="num" id="LN1079">1079</td><td class="line"> gboolean *different_name)</td></tr>
+<tr class="codeline" data-linenumber="1080"><td class="num" id="LN1080">1080</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1081"><td class="num" id="LN1081">1081</td><td class="line"> <span class='keyword'>register</span> <span class='keyword'>char</span> *scan, *end;</td></tr>
+<tr class="codeline" data-linenumber="1082"><td class="num" id="LN1082">1082</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1083"><td class="num" id="LN1083">1083</td><td class="line"> *different_name = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1084"><td class="num" id="LN1084">1084</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1085"><td class="num" id="LN1085">1085</td><td class="line"> <span class='keyword'>if</span> (! file_data_respects_filter (window, fdata))</td></tr>
+<tr class="codeline" data-linenumber="1086"><td class="num" id="LN1086">1086</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1087"><td class="num" id="LN1087">1087</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1088"><td class="num" id="LN1088">1088</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;list_mode == FR_WINDOW_LIST_MODE_FLAT) {</td></tr>
+<tr class="codeline" data-linenumber="1089"><td class="num" id="LN1089">1089</td><td class="line"> <span class='keyword'>if</span> (!(fdata-&gt;dir))</td></tr>
+<tr class="codeline" data-linenumber="1090"><td class="num" id="LN1090">1090</td><td class="line"> file_data_set_list_name (fdata, fdata-&gt;name);</td></tr>
+<tr class="codeline" data-linenumber="1091"><td class="num" id="LN1091">1091</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1092"><td class="num" id="LN1092">1092</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1093"><td class="num" id="LN1093">1093</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1094"><td class="num" id="LN1094">1094</td><td class="line"> <span class='keyword'>if</span> (strncmp (fdata-&gt;full_path, current_dir, current_dir_len) != 0) {</td></tr>
+<tr class="codeline" data-linenumber="1095"><td class="num" id="LN1095">1095</td><td class="line"> *different_name = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1096"><td class="num" id="LN1096">1096</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1097"><td class="num" id="LN1097">1097</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1098"><td class="num" id="LN1098">1098</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1099"><td class="num" id="LN1099">1099</td><td class="line"> <span class='keyword'>if</span> (strlen (fdata-&gt;full_path) == current_dir_len)</td></tr>
+<tr class="codeline" data-linenumber="1100"><td class="num" id="LN1100">1100</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1101"><td class="num" id="LN1101">1101</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1102"><td class="num" id="LN1102">1102</td><td class="line"> scan = fdata-&gt;full_path + current_dir_len;</td></tr>
+<tr class="codeline" data-linenumber="1103"><td class="num" id="LN1103">1103</td><td class="line"> end = strchr (scan, '/');</td></tr>
+<tr class="codeline" data-linenumber="1104"><td class="num" id="LN1104">1104</td><td class="line"> <span class='keyword'>if</span> ((end == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; ! fdata-&gt;dir) { <span class='comment'>/* file */</span></td></tr>
+<tr class="codeline" data-linenumber="1105"><td class="num" id="LN1105">1105</td><td class="line"> file_data_set_list_name (fdata, scan);</td></tr>
+<tr class="codeline" data-linenumber="1106"><td class="num" id="LN1106">1106</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1107"><td class="num" id="LN1107">1107</td><td class="line"> <span class='keyword'>else</span> { <span class='comment'>/* folder */</span></td></tr>
+<tr class="codeline" data-linenumber="1108"><td class="num" id="LN1108">1108</td><td class="line"> <span class='keyword'>char</span> *dir_name;</td></tr>
+<tr class="codeline" data-linenumber="1109"><td class="num" id="LN1109">1109</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1110"><td class="num" id="LN1110">1110</td><td class="line"> <span class='keyword'>if</span> (end != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1111"><td class="num" id="LN1111">1111</td><td class="line"> dir_name = g_strndup (scan, end - scan);</td></tr>
+<tr class="codeline" data-linenumber="1112"><td class="num" id="LN1112">1112</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1113"><td class="num" id="LN1113">1113</td><td class="line"> dir_name = <span class='macro'>g_strdup (scan)<span class='macro_popup'>g_strdup_inline (scan)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1114"><td class="num" id="LN1114">1114</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1115"><td class="num" id="LN1115">1115</td><td class="line"> <span class='comment'>/* avoid to insert duplicated folders */</span></td></tr>
+<tr class="codeline" data-linenumber="1116"><td class="num" id="LN1116">1116</td><td class="line"> <span class='keyword'>if</span> (g_hash_table_lookup (names_hash, dir_name) != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1117"><td class="num" id="LN1117">1117</td><td class="line"> g_free (dir_name);</td></tr>
+<tr class="codeline" data-linenumber="1118"><td class="num" id="LN1118">1118</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1119"><td class="num" id="LN1119">1119</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1120"><td class="num" id="LN1120">1120</td><td class="line"> g_hash_table_insert (names_hash, dir_name, <span class='macro'>GINT_TO_POINTER (1)<span class='macro_popup'>((gpointer) (glong) (1))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1121"><td class="num" id="LN1121">1121</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1122"><td class="num" id="LN1122">1122</td><td class="line"> <span class='keyword'>if</span> ((end != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (*(end + 1) != '\0'))</td></tr>
+<tr class="codeline" data-linenumber="1123"><td class="num" id="LN1123">1123</td><td class="line"> fdata-&gt;list_dir = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1124"><td class="num" id="LN1124">1124</td><td class="line"> file_data_set_list_name (fdata, dir_name);</td></tr>
+<tr class="codeline" data-linenumber="1125"><td class="num" id="LN1125">1125</td><td class="line"> fdata-&gt;dir_size = get_dir_size (window, current_dir, dir_name);</td></tr>
+<tr class="codeline" data-linenumber="1126"><td class="num" id="LN1126">1126</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1127"><td class="num" id="LN1127">1127</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1128"><td class="num" id="LN1128">1128</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1129"><td class="num" id="LN1129">1129</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1130"><td class="num" id="LN1130">1130</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1131"><td class="num" id="LN1131">1131</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1132"><td class="num" id="LN1132">1132</td><td class="line">fr_window_compute_list_names (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="1133"><td class="num" id="LN1133">1133</td><td class="line"> GPtrArray *files)</td></tr>
+<tr class="codeline" data-linenumber="1134"><td class="num" id="LN1134">1134</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1135"><td class="num" id="LN1135">1135</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *current_dir;</td></tr>
+<tr class="codeline" data-linenumber="1136"><td class="num" id="LN1136">1136</td><td class="line"> size_t current_dir_len;</td></tr>
+<tr class="codeline" data-linenumber="1137"><td class="num" id="LN1137">1137</td><td class="line"> GHashTable *names_hash;</td></tr>
+<tr class="codeline" data-linenumber="1138"><td class="num" id="LN1138">1138</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="1139"><td class="num" id="LN1139">1139</td><td class="line"> gboolean visible_list_started = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1140"><td class="num" id="LN1140">1140</td><td class="line"> gboolean visible_list_completed = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1141"><td class="num" id="LN1141">1141</td><td class="line"> gboolean different_name;</td></tr>
+<tr class="codeline" data-linenumber="1142"><td class="num" id="LN1142">1142</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1143"><td class="num" id="LN1143">1143</td><td class="line"> current_dir = fr_window_get_current_location (window);</td></tr>
+<tr class="codeline" data-linenumber="1144"><td class="num" id="LN1144">1144</td><td class="line"> current_dir_len = strlen (current_dir);</td></tr>
+<tr class="codeline" data-linenumber="1145"><td class="num" id="LN1145">1145</td><td class="line"> names_hash = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1146"><td class="num" id="LN1146">1146</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1147"><td class="num" id="LN1147">1147</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; files-&gt;len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="1148"><td class="num" id="LN1148">1148</td><td class="line"> FileData *fdata = <span class='macro'>g_ptr_array_index (files, i)<span class='macro_popup'>((files)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1149"><td class="num" id="LN1149">1149</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1150"><td class="num" id="LN1150">1150</td><td class="line"> file_data_set_list_name (fdata, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1151"><td class="num" id="LN1151">1151</td><td class="line"> fdata-&gt;list_dir = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1152"><td class="num" id="LN1152">1152</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1153"><td class="num" id="LN1153">1153</td><td class="line"> <span class='comment'>/* the files array is sorted by path, when the visible list</span></td></tr>
+<tr class="codeline" data-linenumber="1154"><td class="num" id="LN1154">1154</td><td class="line"> <span class='comment'>* is started and we find a path that doesn't match the</span></td></tr>
+<tr class="codeline" data-linenumber="1155"><td class="num" id="LN1155">1155</td><td class="line"> <span class='comment'>* current_dir path, the following files can't match</span></td></tr>
+<tr class="codeline" data-linenumber="1156"><td class="num" id="LN1156">1156</td><td class="line"> <span class='comment'>* the current_dir path. */</span></td></tr>
+<tr class="codeline" data-linenumber="1157"><td class="num" id="LN1157">1157</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1158"><td class="num" id="LN1158">1158</td><td class="line"> <span class='keyword'>if</span> (visible_list_completed)</td></tr>
+<tr class="codeline" data-linenumber="1159"><td class="num" id="LN1159">1159</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="1160"><td class="num" id="LN1160">1160</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1161"><td class="num" id="LN1161">1161</td><td class="line"> <span class='keyword'>if</span> (compute_file_list_name (window, fdata, current_dir, current_dir_len, names_hash, &amp;different_name)) {</td></tr>
+<tr class="codeline" data-linenumber="1162"><td class="num" id="LN1162">1162</td><td class="line"> visible_list_started = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1163"><td class="num" id="LN1163">1163</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1164"><td class="num" id="LN1164">1164</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (visible_list_started &amp;&amp; different_name)</td></tr>
+<tr class="codeline" data-linenumber="1165"><td class="num" id="LN1165">1165</td><td class="line"> visible_list_completed = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1166"><td class="num" id="LN1166">1166</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1167"><td class="num" id="LN1167">1167</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1168"><td class="num" id="LN1168">1168</td><td class="line"> g_hash_table_destroy (names_hash);</td></tr>
+<tr class="codeline" data-linenumber="1169"><td class="num" id="LN1169">1169</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1170"><td class="num" id="LN1170">1170</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1171"><td class="num" id="LN1171">1171</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1172"><td class="num" id="LN1172">1172</td><td class="line">fr_window_dir_exists_in_archive (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="1173"><td class="num" id="LN1173">1173</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *dir_name)</td></tr>
+<tr class="codeline" data-linenumber="1174"><td class="num" id="LN1174">1174</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1175"><td class="num" id="LN1175">1175</td><td class="line"> <span class='keyword'>int</span> dir_name_len;</td></tr>
+<tr class="codeline" data-linenumber="1176"><td class="num" id="LN1176">1176</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="1177"><td class="num" id="LN1177">1177</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1178"><td class="num" id="LN1178">1178</td><td class="line"> <span class='keyword'>if</span> (dir_name == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1179"><td class="num" id="LN1179">1179</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1180"><td class="num" id="LN1180">1180</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1181"><td class="num" id="LN1181">1181</td><td class="line"> dir_name_len = strlen (dir_name);</td></tr>
+<tr class="codeline" data-linenumber="1182"><td class="num" id="LN1182">1182</td><td class="line"> <span class='keyword'>if</span> (dir_name_len == 0)</td></tr>
+<tr class="codeline" data-linenumber="1183"><td class="num" id="LN1183">1183</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1184"><td class="num" id="LN1184">1184</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1185"><td class="num" id="LN1185">1185</td><td class="line"> <span class='keyword'>if</span> (strcmp (dir_name, <span class='string_literal'>"/"</span>) == 0)</td></tr>
+<tr class="codeline" data-linenumber="1186"><td class="num" id="LN1186">1186</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1187"><td class="num" id="LN1187">1187</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1188"><td class="num" id="LN1188">1188</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; window-&gt;archive-&gt;command-&gt;files-&gt;len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="1189"><td class="num" id="LN1189">1189</td><td class="line"> FileData *fdata = <span class='macro'>g_ptr_array_index (window-&gt;archive-&gt;command-&gt;files, i)<span class='macro_popup'>((window-&gt;archive-&gt;command-&gt;files)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1190"><td class="num" id="LN1190">1190</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1191"><td class="num" id="LN1191">1191</td><td class="line"> <span class='keyword'>if</span> (strncmp (dir_name, fdata-&gt;full_path, dir_name_len) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="1192"><td class="num" id="LN1192">1192</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1193"><td class="num" id="LN1193">1193</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1194"><td class="num" id="LN1194">1194</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (fdata-&gt;dir</td></tr>
+<tr class="codeline" data-linenumber="1195"><td class="num" id="LN1195">1195</td><td class="line"> &amp;&amp; (fdata-&gt;full_path[strlen (fdata-&gt;full_path) -1] != '/')</td></tr>
+<tr class="codeline" data-linenumber="1196"><td class="num" id="LN1196">1196</td><td class="line"> &amp;&amp; (strncmp (dir_name, fdata-&gt;full_path, dir_name_len - 1) == 0))</td></tr>
+<tr class="codeline" data-linenumber="1197"><td class="num" id="LN1197">1197</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1198"><td class="num" id="LN1198">1198</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1199"><td class="num" id="LN1199">1199</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1200"><td class="num" id="LN1200">1200</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1201"><td class="num" id="LN1201">1201</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1202"><td class="num" id="LN1202">1202</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1203"><td class="num" id="LN1203">1203</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1204"><td class="num" id="LN1204">1204</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1205"><td class="num" id="LN1205">1205</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="1206"><td class="num" id="LN1206">1206</td><td class="line">get_parent_dir (<span class='keyword'>const</span> <span class='keyword'>char</span> *current_dir)</td></tr>
+<tr class="codeline" data-linenumber="1207"><td class="num" id="LN1207">1207</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1208"><td class="num" id="LN1208">1208</td><td class="line"> <span class='keyword'>char</span> *dir;</td></tr>
+<tr class="codeline" data-linenumber="1209"><td class="num" id="LN1209">1209</td><td class="line"> <span class='keyword'>char</span> *new_dir;</td></tr>
+<tr class="codeline" data-linenumber="1210"><td class="num" id="LN1210">1210</td><td class="line"> <span class='keyword'>char</span> *retval;</td></tr>
+<tr class="codeline" data-linenumber="1211"><td class="num" id="LN1211">1211</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1212"><td class="num" id="LN1212">1212</td><td class="line"> <span class='keyword'>if</span> (current_dir == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1213"><td class="num" id="LN1213">1213</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1214"><td class="num" id="LN1214">1214</td><td class="line"> <span class='keyword'>if</span> (strcmp (current_dir, <span class='string_literal'>"/"</span>) == 0)</td></tr>
+<tr class="codeline" data-linenumber="1215"><td class="num" id="LN1215">1215</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>g_strdup (<span class='string_literal'>"/"</span>)<span class='macro_popup'>g_strdup_inline ("/")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1216"><td class="num" id="LN1216">1216</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1217"><td class="num" id="LN1217">1217</td><td class="line"> dir = <span class='macro'>g_strdup (current_dir)<span class='macro_popup'>g_strdup_inline (current_dir)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1218"><td class="num" id="LN1218">1218</td><td class="line"> dir[strlen (dir) - 1] = 0;</td></tr>
+<tr class="codeline" data-linenumber="1219"><td class="num" id="LN1219">1219</td><td class="line"> new_dir = remove_level_from_path (dir);</td></tr>
+<tr class="codeline" data-linenumber="1220"><td class="num" id="LN1220">1220</td><td class="line"> g_free (dir);</td></tr>
+<tr class="codeline" data-linenumber="1221"><td class="num" id="LN1221">1221</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1222"><td class="num" id="LN1222">1222</td><td class="line"> <span class='keyword'>if</span> (new_dir[strlen (new_dir) - 1] == '/')</td></tr>
+<tr class="codeline" data-linenumber="1223"><td class="num" id="LN1223">1223</td><td class="line"> retval = new_dir;</td></tr>
+<tr class="codeline" data-linenumber="1224"><td class="num" id="LN1224">1224</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1225"><td class="num" id="LN1225">1225</td><td class="line"> retval = g_strconcat (new_dir, <span class='string_literal'>"/"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1226"><td class="num" id="LN1226">1226</td><td class="line"> g_free (new_dir);</td></tr>
+<tr class="codeline" data-linenumber="1227"><td class="num" id="LN1227">1227</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1228"><td class="num" id="LN1228">1228</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1229"><td class="num" id="LN1229">1229</td><td class="line"> <span class='keyword'>return</span> retval;</td></tr>
+<tr class="codeline" data-linenumber="1230"><td class="num" id="LN1230">1230</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1231"><td class="num" id="LN1231">1231</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1232"><td class="num" id="LN1232">1232</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> fr_window_update_statusbar_list_info (FrWindow *window);</td></tr>
+<tr class="codeline" data-linenumber="1233"><td class="num" id="LN1233">1233</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1234"><td class="num" id="LN1234">1234</td><td class="line"><span class='keyword'>static</span> GdkPixbuf *</td></tr>
+<tr class="codeline" data-linenumber="1235"><td class="num" id="LN1235">1235</td><td class="line">get_mime_type_icon (<span class='keyword'>const</span> <span class='keyword'>char</span> *mime_type)</td></tr>
+<tr class="codeline" data-linenumber="1236"><td class="num" id="LN1236">1236</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1237"><td class="num" id="LN1237">1237</td><td class="line"> GdkPixbuf *pixbuf = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1238"><td class="num" id="LN1238">1238</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1239"><td class="num" id="LN1239">1239</td><td class="line"> pixbuf = g_hash_table_lookup (tree_pixbuf_hash, mime_type);</td></tr>
+<tr class="codeline" data-linenumber="1240"><td class="num" id="LN1240">1240</td><td class="line"> <span class='keyword'>if</span> (pixbuf != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1241"><td class="num" id="LN1241">1241</td><td class="line"> <span class='macro'>g_object_ref (G_OBJECT (pixbuf))<span class='macro_popup'>((__typeof__ (((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((pixbuf)), (((GType) ((20) &lt;&lt; (2)))<br>))))))) (g_object_ref) (((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((pixbuf)), (((GType) ((20) &lt;&lt; (2)))<br>)))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1242"><td class="num" id="LN1242">1242</td><td class="line"> <span class='keyword'>return</span> pixbuf;</td></tr>
+<tr class="codeline" data-linenumber="1243"><td class="num" id="LN1243">1243</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1244"><td class="num" id="LN1244">1244</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1245"><td class="num" id="LN1245">1245</td><td class="line"> pixbuf = get_mime_type_pixbuf (mime_type, file_list_icon_size, icon_theme);</td></tr>
+<tr class="codeline" data-linenumber="1246"><td class="num" id="LN1246">1246</td><td class="line"> <span class='keyword'>if</span> (pixbuf == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1247"><td class="num" id="LN1247">1247</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1248"><td class="num" id="LN1248">1248</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1249"><td class="num" id="LN1249">1249</td><td class="line"> pixbuf = gdk_pixbuf_copy (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="1250"><td class="num" id="LN1250">1250</td><td class="line"> g_hash_table_insert (tree_pixbuf_hash, (gpointer) mime_type, pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="1251"><td class="num" id="LN1251">1251</td><td class="line"> <span class='macro'>g_object_ref (G_OBJECT (pixbuf))<span class='macro_popup'>((__typeof__ (((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((pixbuf)), (((GType) ((20) &lt;&lt; (2)))<br>))))))) (g_object_ref) (((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((pixbuf)), (((GType) ((20) &lt;&lt; (2)))<br>)))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1252"><td class="num" id="LN1252">1252</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1253"><td class="num" id="LN1253">1253</td><td class="line"> <span class='keyword'>return</span> pixbuf;</td></tr>
+<tr class="codeline" data-linenumber="1254"><td class="num" id="LN1254">1254</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1255"><td class="num" id="LN1255">1255</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1256"><td class="num" id="LN1256">1256</td><td class="line"><span class='keyword'>static</span> GdkPixbuf *</td></tr>
+<tr class="codeline" data-linenumber="1257"><td class="num" id="LN1257">1257</td><td class="line">get_icon (FileData *fdata)</td></tr>
+<tr class="codeline" data-linenumber="1258"><td class="num" id="LN1258">1258</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1259"><td class="num" id="LN1259">1259</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *content_type;</td></tr>
+<tr class="codeline" data-linenumber="1260"><td class="num" id="LN1260">1260</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1261"><td class="num" id="LN1261">1261</td><td class="line"> <span class='keyword'>if</span> (file_data_is_dir (fdata))</td></tr>
+<tr class="codeline" data-linenumber="1262"><td class="num" id="LN1262">1262</td><td class="line"> content_type = <span class='macro'>MIME_TYPE_DIRECTORY<span class='macro_popup'>"folder"</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1263"><td class="num" id="LN1263">1263</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1264"><td class="num" id="LN1264">1264</td><td class="line"> content_type = fdata-&gt;content_type;</td></tr>
+<tr class="codeline" data-linenumber="1265"><td class="num" id="LN1265">1265</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1266"><td class="num" id="LN1266">1266</td><td class="line"> <span class='keyword'>return</span> get_mime_type_icon (content_type);</td></tr>
+<tr class="codeline" data-linenumber="1267"><td class="num" id="LN1267">1267</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1268"><td class="num" id="LN1268">1268</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1269"><td class="num" id="LN1269">1269</td><td class="line"><span class='keyword'>static</span> GdkPixbuf *</td></tr>
+<tr class="codeline" data-linenumber="1270"><td class="num" id="LN1270">1270</td><td class="line">get_emblem (FileData *fdata)</td></tr>
+<tr class="codeline" data-linenumber="1271"><td class="num" id="LN1271">1271</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1272"><td class="num" id="LN1272">1272</td><td class="line"> <span class='keyword'>if</span> (! fdata-&gt;encrypted)</td></tr>
+<tr class="codeline" data-linenumber="1273"><td class="num" id="LN1273">1273</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1274"><td class="num" id="LN1274">1274</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1275"><td class="num" id="LN1275">1275</td><td class="line"> <span class='keyword'>return</span> get_mime_type_icon (<span class='string_literal'>"emblem-nowrite"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1276"><td class="num" id="LN1276">1276</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1277"><td class="num" id="LN1277">1277</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1278"><td class="num" id="LN1278">1278</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="1279"><td class="num" id="LN1279">1279</td><td class="line">get_column_from_sort_method (FrWindowSortMethod sort_method)</td></tr>
+<tr class="codeline" data-linenumber="1280"><td class="num" id="LN1280">1280</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1281"><td class="num" id="LN1281">1281</td><td class="line"> <span class='keyword'>switch</span> (sort_method) {</td></tr>
+<tr class="codeline" data-linenumber="1282"><td class="num" id="LN1282">1282</td><td class="line"> <span class='keyword'>case</span> FR_WINDOW_SORT_BY_NAME: <span class='keyword'>return</span> COLUMN_NAME;</td></tr>
+<tr class="codeline" data-linenumber="1283"><td class="num" id="LN1283">1283</td><td class="line"> <span class='keyword'>case</span> FR_WINDOW_SORT_BY_SIZE: <span class='keyword'>return</span> COLUMN_SIZE;</td></tr>
+<tr class="codeline" data-linenumber="1284"><td class="num" id="LN1284">1284</td><td class="line"> <span class='keyword'>case</span> FR_WINDOW_SORT_BY_TYPE: <span class='keyword'>return</span> COLUMN_TYPE;</td></tr>
+<tr class="codeline" data-linenumber="1285"><td class="num" id="LN1285">1285</td><td class="line"> <span class='keyword'>case</span> FR_WINDOW_SORT_BY_TIME: <span class='keyword'>return</span> COLUMN_TIME;</td></tr>
+<tr class="codeline" data-linenumber="1286"><td class="num" id="LN1286">1286</td><td class="line"> <span class='keyword'>case</span> FR_WINDOW_SORT_BY_PATH: <span class='keyword'>return</span> COLUMN_PATH;</td></tr>
+<tr class="codeline" data-linenumber="1287"><td class="num" id="LN1287">1287</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="1288"><td class="num" id="LN1288">1288</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1289"><td class="num" id="LN1289">1289</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1290"><td class="num" id="LN1290">1290</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1291"><td class="num" id="LN1291">1291</td><td class="line"> <span class='keyword'>return</span> COLUMN_NAME;</td></tr>
+<tr class="codeline" data-linenumber="1292"><td class="num" id="LN1292">1292</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1293"><td class="num" id="LN1293">1293</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1294"><td class="num" id="LN1294">1294</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="1295"><td class="num" id="LN1295">1295</td><td class="line">get_sort_method_from_column (<span class='keyword'>int</span> column_id)</td></tr>
+<tr class="codeline" data-linenumber="1296"><td class="num" id="LN1296">1296</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1297"><td class="num" id="LN1297">1297</td><td class="line"> <span class='keyword'>switch</span> (column_id) {</td></tr>
+<tr class="codeline" data-linenumber="1298"><td class="num" id="LN1298">1298</td><td class="line"> <span class='keyword'>case</span> COLUMN_NAME: <span class='keyword'>return</span> FR_WINDOW_SORT_BY_NAME;</td></tr>
+<tr class="codeline" data-linenumber="1299"><td class="num" id="LN1299">1299</td><td class="line"> <span class='keyword'>case</span> COLUMN_SIZE: <span class='keyword'>return</span> FR_WINDOW_SORT_BY_SIZE;</td></tr>
+<tr class="codeline" data-linenumber="1300"><td class="num" id="LN1300">1300</td><td class="line"> <span class='keyword'>case</span> COLUMN_TYPE: <span class='keyword'>return</span> FR_WINDOW_SORT_BY_TYPE;</td></tr>
+<tr class="codeline" data-linenumber="1301"><td class="num" id="LN1301">1301</td><td class="line"> <span class='keyword'>case</span> COLUMN_TIME: <span class='keyword'>return</span> FR_WINDOW_SORT_BY_TIME;</td></tr>
+<tr class="codeline" data-linenumber="1302"><td class="num" id="LN1302">1302</td><td class="line"> <span class='keyword'>case</span> COLUMN_PATH: <span class='keyword'>return</span> FR_WINDOW_SORT_BY_PATH;</td></tr>
+<tr class="codeline" data-linenumber="1303"><td class="num" id="LN1303">1303</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="1304"><td class="num" id="LN1304">1304</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1305"><td class="num" id="LN1305">1305</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1306"><td class="num" id="LN1306">1306</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1307"><td class="num" id="LN1307">1307</td><td class="line"> <span class='keyword'>return</span> FR_WINDOW_SORT_BY_NAME;</td></tr>
+<tr class="codeline" data-linenumber="1308"><td class="num" id="LN1308">1308</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1309"><td class="num" id="LN1309">1309</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1310"><td class="num" id="LN1310">1310</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1311"><td class="num" id="LN1311">1311</td><td class="line">add_selected_from_list_view (GtkTreeModel *model,</td></tr>
+<tr class="codeline" data-linenumber="1312"><td class="num" id="LN1312">1312</td><td class="line"> GtkTreePath *path,</td></tr>
+<tr class="codeline" data-linenumber="1313"><td class="num" id="LN1313">1313</td><td class="line"> GtkTreeIter *iter,</td></tr>
+<tr class="codeline" data-linenumber="1314"><td class="num" id="LN1314">1314</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1315"><td class="num" id="LN1315">1315</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1316"><td class="num" id="LN1316">1316</td><td class="line"> GList **list = data;</td></tr>
+<tr class="codeline" data-linenumber="1317"><td class="num" id="LN1317">1317</td><td class="line"> FileData *fdata;</td></tr>
+<tr class="codeline" data-linenumber="1318"><td class="num" id="LN1318">1318</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1319"><td class="num" id="LN1319">1319</td><td class="line"> gtk_tree_model_get (model, iter,</td></tr>
+<tr class="codeline" data-linenumber="1320"><td class="num" id="LN1320">1320</td><td class="line"> COLUMN_FILE_DATA, &amp;fdata,</td></tr>
+<tr class="codeline" data-linenumber="1321"><td class="num" id="LN1321">1321</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="1322"><td class="num" id="LN1322">1322</td><td class="line"> *list = g_list_prepend (*list, fdata);</td></tr>
+<tr class="codeline" data-linenumber="1323"><td class="num" id="LN1323">1323</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1324"><td class="num" id="LN1324">1324</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1325"><td class="num" id="LN1325">1325</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1326"><td class="num" id="LN1326">1326</td><td class="line">add_selected_from_tree_view (GtkTreeModel *model,</td></tr>
+<tr class="codeline" data-linenumber="1327"><td class="num" id="LN1327">1327</td><td class="line"> GtkTreePath *path,</td></tr>
+<tr class="codeline" data-linenumber="1328"><td class="num" id="LN1328">1328</td><td class="line"> GtkTreeIter *iter,</td></tr>
+<tr class="codeline" data-linenumber="1329"><td class="num" id="LN1329">1329</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1330"><td class="num" id="LN1330">1330</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1331"><td class="num" id="LN1331">1331</td><td class="line"> GList **list = data;</td></tr>
+<tr class="codeline" data-linenumber="1332"><td class="num" id="LN1332">1332</td><td class="line"> <span class='keyword'>char</span> *dir_path;</td></tr>
+<tr class="codeline" data-linenumber="1333"><td class="num" id="LN1333">1333</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1334"><td class="num" id="LN1334">1334</td><td class="line"> gtk_tree_model_get (model, iter,</td></tr>
+<tr class="codeline" data-linenumber="1335"><td class="num" id="LN1335">1335</td><td class="line"> TREE_COLUMN_PATH, &amp;dir_path,</td></tr>
+<tr class="codeline" data-linenumber="1336"><td class="num" id="LN1336">1336</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="1337"><td class="num" id="LN1337">1337</td><td class="line"> *list = g_list_prepend (*list, dir_path);</td></tr>
+<tr class="codeline" data-linenumber="1338"><td class="num" id="LN1338">1338</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1339"><td class="num" id="LN1339">1339</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1340"><td class="num" id="LN1340">1340</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1341"><td class="num" id="LN1341">1341</td><td class="line">add_selected_fd (GtkTreeModel *model,</td></tr>
+<tr class="codeline" data-linenumber="1342"><td class="num" id="LN1342">1342</td><td class="line"> GtkTreePath *path,</td></tr>
+<tr class="codeline" data-linenumber="1343"><td class="num" id="LN1343">1343</td><td class="line"> GtkTreeIter *iter,</td></tr>
+<tr class="codeline" data-linenumber="1344"><td class="num" id="LN1344">1344</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1345"><td class="num" id="LN1345">1345</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1346"><td class="num" id="LN1346">1346</td><td class="line"> GList **list = data;</td></tr>
+<tr class="codeline" data-linenumber="1347"><td class="num" id="LN1347">1347</td><td class="line"> FileData *fdata;</td></tr>
+<tr class="codeline" data-linenumber="1348"><td class="num" id="LN1348">1348</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1349"><td class="num" id="LN1349">1349</td><td class="line"> gtk_tree_model_get (model, iter,</td></tr>
+<tr class="codeline" data-linenumber="1350"><td class="num" id="LN1350">1350</td><td class="line"> COLUMN_FILE_DATA, &amp;fdata,</td></tr>
+<tr class="codeline" data-linenumber="1351"><td class="num" id="LN1351">1351</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="1352"><td class="num" id="LN1352">1352</td><td class="line"> <span class='keyword'>if</span> (! fdata-&gt;list_dir)</td></tr>
+<tr class="codeline" data-linenumber="1353"><td class="num" id="LN1353">1353</td><td class="line"> *list = g_list_prepend (*list, fdata);</td></tr>
+<tr class="codeline" data-linenumber="1354"><td class="num" id="LN1354">1354</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1355"><td class="num" id="LN1355">1355</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1356"><td class="num" id="LN1356">1356</td><td class="line"><span class='keyword'>static</span> GList *</td></tr>
+<tr class="codeline" data-linenumber="1357"><td class="num" id="LN1357">1357</td><td class="line">get_selection_as_fd (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1358"><td class="num" id="LN1358">1358</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1359"><td class="num" id="LN1359">1359</td><td class="line"> GtkTreeSelection *selection;</td></tr>
+<tr class="codeline" data-linenumber="1360"><td class="num" id="LN1360">1360</td><td class="line"> GList *list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1361"><td class="num" id="LN1361">1361</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1362"><td class="num" id="LN1362">1362</td><td class="line"> <span class='keyword'>if</span> (! gtk_widget_get_realized (window-&gt;priv-&gt;list_view))</td></tr>
+<tr class="codeline" data-linenumber="1363"><td class="num" id="LN1363">1363</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1364"><td class="num" id="LN1364">1364</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1365"><td class="num" id="LN1365">1365</td><td class="line"> selection = gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1366"><td class="num" id="LN1366">1366</td><td class="line"> <span class='keyword'>if</span> (selection == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1367"><td class="num" id="LN1367">1367</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1368"><td class="num" id="LN1368">1368</td><td class="line"> gtk_tree_selection_selected_foreach (selection, add_selected_fd, &amp;list);</td></tr>
+<tr class="codeline" data-linenumber="1369"><td class="num" id="LN1369">1369</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1370"><td class="num" id="LN1370">1370</td><td class="line"> <span class='keyword'>return</span> list;</td></tr>
+<tr class="codeline" data-linenumber="1371"><td class="num" id="LN1371">1371</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1372"><td class="num" id="LN1372">1372</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1373"><td class="num" id="LN1373">1373</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1374"><td class="num" id="LN1374">1374</td><td class="line">fr_window_update_statusbar_list_info (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1375"><td class="num" id="LN1375">1375</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1376"><td class="num" id="LN1376">1376</td><td class="line"> <span class='keyword'>char</span> *info, *archive_info, *selected_info;</td></tr>
+<tr class="codeline" data-linenumber="1377"><td class="num" id="LN1377">1377</td><td class="line"> <span class='keyword'>char</span> *size_txt, *sel_size_txt;</td></tr>
+<tr class="codeline" data-linenumber="1378"><td class="num" id="LN1378">1378</td><td class="line"> gulong tot_n = 0;</td></tr>
+<tr class="codeline" data-linenumber="1379"><td class="num" id="LN1379">1379</td><td class="line"> gulong sel_n = 0;</td></tr>
+<tr class="codeline" data-linenumber="1380"><td class="num" id="LN1380">1380</td><td class="line"> goffset tot_size = 0;</td></tr>
+<tr class="codeline" data-linenumber="1381"><td class="num" id="LN1381">1381</td><td class="line"> goffset sel_size = 0;</td></tr>
+<tr class="codeline" data-linenumber="1382"><td class="num" id="LN1382">1382</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="1383"><td class="num" id="LN1383">1383</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1384"><td class="num" id="LN1384">1384</td><td class="line"> <span class='keyword'>if</span> (window == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1385"><td class="num" id="LN1385">1385</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1386"><td class="num" id="LN1386">1386</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1387"><td class="num" id="LN1387">1387</td><td class="line"> <span class='keyword'>if</span> ((window-&gt;archive == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) || (window-&gt;archive-&gt;command == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="1388"><td class="num" id="LN1388">1388</td><td class="line"> gtk_statusbar_pop (<span class='macro'>GTK_STATUSBAR (window-&gt;priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;statusbar)), ((gtk_statusbar_get_type<br> ()))))))</span></span>, window-&gt;priv-&gt;list_info_cid);</td></tr>
+<tr class="codeline" data-linenumber="1389"><td class="num" id="LN1389">1389</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1390"><td class="num" id="LN1390">1390</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1391"><td class="num" id="LN1391">1391</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1392"><td class="num" id="LN1392">1392</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;archive_present) {</td></tr>
+<tr class="codeline" data-linenumber="1393"><td class="num" id="LN1393">1393</td><td class="line"> GPtrArray *files = fr_window_get_current_dir_list (window);</td></tr>
+<tr class="codeline" data-linenumber="1394"><td class="num" id="LN1394">1394</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="1395"><td class="num" id="LN1395">1395</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1396"><td class="num" id="LN1396">1396</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; files-&gt;len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="1397"><td class="num" id="LN1397">1397</td><td class="line"> FileData *fd = <span class='macro'>g_ptr_array_index (files, i)<span class='macro_popup'>((files)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1398"><td class="num" id="LN1398">1398</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1399"><td class="num" id="LN1399">1399</td><td class="line"> tot_n++;</td></tr>
+<tr class="codeline" data-linenumber="1400"><td class="num" id="LN1400">1400</td><td class="line"> <span class='keyword'>if</span> (! file_data_is_dir (fd))</td></tr>
+<tr class="codeline" data-linenumber="1401"><td class="num" id="LN1401">1401</td><td class="line"> tot_size += fd-&gt;size;</td></tr>
+<tr class="codeline" data-linenumber="1402"><td class="num" id="LN1402">1402</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1403"><td class="num" id="LN1403">1403</td><td class="line"> tot_size += fd-&gt;dir_size;</td></tr>
+<tr class="codeline" data-linenumber="1404"><td class="num" id="LN1404">1404</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1405"><td class="num" id="LN1405">1405</td><td class="line"> g_ptr_array_free (files, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1406"><td class="num" id="LN1406">1406</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1407"><td class="num" id="LN1407">1407</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1408"><td class="num" id="LN1408">1408</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;archive_present) {</td></tr>
+<tr class="codeline" data-linenumber="1409"><td class="num" id="LN1409">1409</td><td class="line"> GList *selection = get_selection_as_fd (window);</td></tr>
+<tr class="codeline" data-linenumber="1410"><td class="num" id="LN1410">1410</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1411"><td class="num" id="LN1411">1411</td><td class="line"> <span class='keyword'>for</span> (scan = selection; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="1412"><td class="num" id="LN1412">1412</td><td class="line"> FileData *fd = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="1413"><td class="num" id="LN1413">1413</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1414"><td class="num" id="LN1414">1414</td><td class="line"> sel_n++;</td></tr>
+<tr class="codeline" data-linenumber="1415"><td class="num" id="LN1415">1415</td><td class="line"> <span class='keyword'>if</span> (! file_data_is_dir (fd))</td></tr>
+<tr class="codeline" data-linenumber="1416"><td class="num" id="LN1416">1416</td><td class="line"> sel_size += fd-&gt;size;</td></tr>
+<tr class="codeline" data-linenumber="1417"><td class="num" id="LN1417">1417</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1418"><td class="num" id="LN1418">1418</td><td class="line"> g_list_free (selection);</td></tr>
+<tr class="codeline" data-linenumber="1419"><td class="num" id="LN1419">1419</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1420"><td class="num" id="LN1420">1420</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1421"><td class="num" id="LN1421">1421</td><td class="line"> size_txt = g_format_size (tot_size);</td></tr>
+<tr class="codeline" data-linenumber="1422"><td class="num" id="LN1422">1422</td><td class="line"> sel_size_txt = g_format_size (sel_size);</td></tr>
+<tr class="codeline" data-linenumber="1423"><td class="num" id="LN1423">1423</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1424"><td class="num" id="LN1424">1424</td><td class="line"> <span class='keyword'>if</span> (tot_n == 0)</td></tr>
+<tr class="codeline" data-linenumber="1425"><td class="num" id="LN1425">1425</td><td class="line"> archive_info = <span class='macro'>g_strdup (<span class='string_literal'>""</span>)<span class='macro_popup'>g_strdup_inline ("")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1426"><td class="num" id="LN1426">1426</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1427"><td class="num" id="LN1427">1427</td><td class="line"> archive_info = g_strdup_printf (g_dngettext (<span class='macro'>GETTEXT_PACKAGE<span class='macro_popup'>"engrampa"</span></span>, <span class='string_literal'>"%lu object (%s)"</span>, <span class='string_literal'>"%lu objects (%s)"</span>, tot_n), tot_n, size_txt);</td></tr>
+<tr class="codeline" data-linenumber="1428"><td class="num" id="LN1428">1428</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1429"><td class="num" id="LN1429">1429</td><td class="line"> <span class='keyword'>if</span> (sel_n == 0)</td></tr>
+<tr class="codeline" data-linenumber="1430"><td class="num" id="LN1430">1430</td><td class="line"> selected_info = <span class='macro'>g_strdup (<span class='string_literal'>""</span>)<span class='macro_popup'>g_strdup_inline ("")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1431"><td class="num" id="LN1431">1431</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1432"><td class="num" id="LN1432">1432</td><td class="line"> selected_info = g_strdup_printf (g_dngettext (<span class='macro'>GETTEXT_PACKAGE<span class='macro_popup'>"engrampa"</span></span>, <span class='string_literal'>"%lu object selected (%s)"</span>, <span class='string_literal'>"%lu objects selected (%s)"</span>, sel_n), sel_n, sel_size_txt);</td></tr>
+<tr class="codeline" data-linenumber="1433"><td class="num" id="LN1433">1433</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1434"><td class="num" id="LN1434">1434</td><td class="line"> info = g_strconcat (archive_info,</td></tr>
+<tr class="codeline" data-linenumber="1435"><td class="num" id="LN1435">1435</td><td class="line"> ((sel_n == 0) ? <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> : <span class='string_literal'>", "</span>),</td></tr>
+<tr class="codeline" data-linenumber="1436"><td class="num" id="LN1436">1436</td><td class="line"> selected_info,</td></tr>
+<tr class="codeline" data-linenumber="1437"><td class="num" id="LN1437">1437</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1438"><td class="num" id="LN1438">1438</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1439"><td class="num" id="LN1439">1439</td><td class="line"> gtk_statusbar_push (<span class='macro'>GTK_STATUSBAR (window-&gt;priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;statusbar)), ((gtk_statusbar_get_type<br> ()))))))</span></span>, window-&gt;priv-&gt;list_info_cid, info);</td></tr>
+<tr class="codeline" data-linenumber="1440"><td class="num" id="LN1440">1440</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1441"><td class="num" id="LN1441">1441</td><td class="line"> g_free (size_txt);</td></tr>
+<tr class="codeline" data-linenumber="1442"><td class="num" id="LN1442">1442</td><td class="line"> g_free (sel_size_txt);</td></tr>
+<tr class="codeline" data-linenumber="1443"><td class="num" id="LN1443">1443</td><td class="line"> g_free (archive_info);</td></tr>
+<tr class="codeline" data-linenumber="1444"><td class="num" id="LN1444">1444</td><td class="line"> g_free (selected_info);</td></tr>
+<tr class="codeline" data-linenumber="1445"><td class="num" id="LN1445">1445</td><td class="line"> g_free (info);</td></tr>
+<tr class="codeline" data-linenumber="1446"><td class="num" id="LN1446">1446</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1447"><td class="num" id="LN1447">1447</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1448"><td class="num" id="LN1448">1448</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1449"><td class="num" id="LN1449">1449</td><td class="line">fr_window_populate_file_list (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="1450"><td class="num" id="LN1450">1450</td><td class="line"> GPtrArray *files)</td></tr>
+<tr class="codeline" data-linenumber="1451"><td class="num" id="LN1451">1451</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1452"><td class="num" id="LN1452">1452</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="1453"><td class="num" id="LN1453">1453</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1454"><td class="num" id="LN1454">1454</td><td class="line"> gtk_list_store_clear (window-&gt;priv-&gt;list_store);</td></tr>
+<tr class="codeline" data-linenumber="1455"><td class="num" id="LN1455">1455</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1456"><td class="num" id="LN1456">1456</td><td class="line"> gtk_tree_sortable_set_sort_column_id (<span class='macro'>GTK_TREE_SORTABLE (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeSortable*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_sortable_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1457"><td class="num" id="LN1457">1457</td><td class="line"> <span class='macro'>GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID<span class='macro_popup'>(-1)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1458"><td class="num" id="LN1458">1458</td><td class="line"> GTK_SORT_ASCENDING);</td></tr>
+<tr class="codeline" data-linenumber="1459"><td class="num" id="LN1459">1459</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1460"><td class="num" id="LN1460">1460</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; files-&gt;len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="1461"><td class="num" id="LN1461">1461</td><td class="line"> FileData *fdata = <span class='macro'>g_ptr_array_index (files, i)<span class='macro_popup'>((files)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1462"><td class="num" id="LN1462">1462</td><td class="line"> GtkTreeIter iter;</td></tr>
+<tr class="codeline" data-linenumber="1463"><td class="num" id="LN1463">1463</td><td class="line"> GdkPixbuf *icon, *emblem;</td></tr>
+<tr class="codeline" data-linenumber="1464"><td class="num" id="LN1464">1464</td><td class="line"> <span class='keyword'>char</span> *utf8_name;</td></tr>
+<tr class="codeline" data-linenumber="1465"><td class="num" id="LN1465">1465</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1466"><td class="num" id="LN1466">1466</td><td class="line"> <span class='keyword'>if</span> (fdata-&gt;list_name == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1467"><td class="num" id="LN1467">1467</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="1468"><td class="num" id="LN1468">1468</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1469"><td class="num" id="LN1469">1469</td><td class="line"> gtk_list_store_append (window-&gt;priv-&gt;list_store, &amp;iter);</td></tr>
+<tr class="codeline" data-linenumber="1470"><td class="num" id="LN1470">1470</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1471"><td class="num" id="LN1471">1471</td><td class="line"> icon = get_icon (fdata);</td></tr>
+<tr class="codeline" data-linenumber="1472"><td class="num" id="LN1472">1472</td><td class="line"> utf8_name = g_filename_display_name (fdata-&gt;list_name);</td></tr>
+<tr class="codeline" data-linenumber="1473"><td class="num" id="LN1473">1473</td><td class="line"> emblem = get_emblem (fdata);</td></tr>
+<tr class="codeline" data-linenumber="1474"><td class="num" id="LN1474">1474</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1475"><td class="num" id="LN1475">1475</td><td class="line"> <span class='keyword'>if</span> (file_data_is_dir (fdata)) {</td></tr>
+<tr class="codeline" data-linenumber="1476"><td class="num" id="LN1476">1476</td><td class="line"> <span class='keyword'>char</span> *utf8_path;</td></tr>
+<tr class="codeline" data-linenumber="1477"><td class="num" id="LN1477">1477</td><td class="line"> <span class='keyword'>char</span> *tmp;</td></tr>
+<tr class="codeline" data-linenumber="1478"><td class="num" id="LN1478">1478</td><td class="line"> <span class='keyword'>char</span> *s_size;</td></tr>
+<tr class="codeline" data-linenumber="1479"><td class="num" id="LN1479">1479</td><td class="line"> <span class='keyword'>char</span> *s_time;</td></tr>
+<tr class="codeline" data-linenumber="1480"><td class="num" id="LN1480">1480</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1481"><td class="num" id="LN1481">1481</td><td class="line"> <span class='keyword'>if</span> (fdata-&gt;list_dir)</td></tr>
+<tr class="codeline" data-linenumber="1482"><td class="num" id="LN1482">1482</td><td class="line"> tmp = remove_ending_separator (fr_window_get_current_location (window));</td></tr>
+<tr class="codeline" data-linenumber="1483"><td class="num" id="LN1483">1483</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1484"><td class="num" id="LN1484">1484</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1485"><td class="num" id="LN1485">1485</td><td class="line"> tmp = remove_level_from_path (fdata-&gt;path);</td></tr>
+<tr class="codeline" data-linenumber="1486"><td class="num" id="LN1486">1486</td><td class="line"> utf8_path = g_filename_display_name (tmp);</td></tr>
+<tr class="codeline" data-linenumber="1487"><td class="num" id="LN1487">1487</td><td class="line"> g_free (tmp);</td></tr>
+<tr class="codeline" data-linenumber="1488"><td class="num" id="LN1488">1488</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1489"><td class="num" id="LN1489">1489</td><td class="line"> s_size = g_format_size (fdata-&gt;dir_size);</td></tr>
+<tr class="codeline" data-linenumber="1490"><td class="num" id="LN1490">1490</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1491"><td class="num" id="LN1491">1491</td><td class="line"> <span class='keyword'>if</span> (fdata-&gt;list_dir) {</td></tr>
+<tr class="codeline" data-linenumber="1492"><td class="num" id="LN1492">1492</td><td class="line"> s_time = <span class='macro'>g_strdup (<span class='string_literal'>""</span>)<span class='macro_popup'>g_strdup_inline ("")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1493"><td class="num" id="LN1493">1493</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1494"><td class="num" id="LN1494">1494</td><td class="line"> GDateTime *date_time;</td></tr>
+<tr class="codeline" data-linenumber="1495"><td class="num" id="LN1495">1495</td><td class="line"> date_time = g_date_time_new_from_unix_local (fdata-&gt;modified);</td></tr>
+<tr class="codeline" data-linenumber="1496"><td class="num" id="LN1496">1496</td><td class="line"> s_time = g_date_time_format (date_time, <span class='macro'>_(<span class='string_literal'>"%d %B %Y, %H:%M"</span>)<span class='macro_popup'>gettext ("%d %B %Y, %H:%M")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1497"><td class="num" id="LN1497">1497</td><td class="line"> g_date_time_unref (date_time);</td></tr>
+<tr class="codeline" data-linenumber="1498"><td class="num" id="LN1498">1498</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1499"><td class="num" id="LN1499">1499</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1500"><td class="num" id="LN1500">1500</td><td class="line"> gtk_list_store_set (window-&gt;priv-&gt;list_store, &amp;iter,</td></tr>
+<tr class="codeline" data-linenumber="1501"><td class="num" id="LN1501">1501</td><td class="line"> COLUMN_FILE_DATA, fdata,</td></tr>
+<tr class="codeline" data-linenumber="1502"><td class="num" id="LN1502">1502</td><td class="line"> COLUMN_ICON, icon,</td></tr>
+<tr class="codeline" data-linenumber="1503"><td class="num" id="LN1503">1503</td><td class="line"> COLUMN_NAME, utf8_name,</td></tr>
+<tr class="codeline" data-linenumber="1504"><td class="num" id="LN1504">1504</td><td class="line"> COLUMN_EMBLEM, emblem,</td></tr>
+<tr class="codeline" data-linenumber="1505"><td class="num" id="LN1505">1505</td><td class="line"> COLUMN_TYPE, <span class='macro'>_(<span class='string_literal'>"Folder"</span>)<span class='macro_popup'>gettext ("Folder")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1506"><td class="num" id="LN1506">1506</td><td class="line"> COLUMN_SIZE, s_size,</td></tr>
+<tr class="codeline" data-linenumber="1507"><td class="num" id="LN1507">1507</td><td class="line"> COLUMN_TIME, s_time,</td></tr>
+<tr class="codeline" data-linenumber="1508"><td class="num" id="LN1508">1508</td><td class="line"> COLUMN_PATH, utf8_path,</td></tr>
+<tr class="codeline" data-linenumber="1509"><td class="num" id="LN1509">1509</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="1510"><td class="num" id="LN1510">1510</td><td class="line"> g_free (utf8_path);</td></tr>
+<tr class="codeline" data-linenumber="1511"><td class="num" id="LN1511">1511</td><td class="line"> g_free (s_size);</td></tr>
+<tr class="codeline" data-linenumber="1512"><td class="num" id="LN1512">1512</td><td class="line"> g_free (s_time);</td></tr>
+<tr class="codeline" data-linenumber="1513"><td class="num" id="LN1513">1513</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1514"><td class="num" id="LN1514">1514</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1515"><td class="num" id="LN1515">1515</td><td class="line"> GDateTime *date_time;</td></tr>
+<tr class="codeline" data-linenumber="1516"><td class="num" id="LN1516">1516</td><td class="line"> <span class='keyword'>char</span> *utf8_path;</td></tr>
+<tr class="codeline" data-linenumber="1517"><td class="num" id="LN1517">1517</td><td class="line"> <span class='keyword'>char</span> *s_size;</td></tr>
+<tr class="codeline" data-linenumber="1518"><td class="num" id="LN1518">1518</td><td class="line"> <span class='keyword'>char</span> *s_time;</td></tr>
+<tr class="codeline" data-linenumber="1519"><td class="num" id="LN1519">1519</td><td class="line"> <span class='keyword'>char</span> *desc;</td></tr>
+<tr class="codeline" data-linenumber="1520"><td class="num" id="LN1520">1520</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1521"><td class="num" id="LN1521">1521</td><td class="line"> utf8_path = g_filename_display_name (fdata-&gt;path);</td></tr>
+<tr class="codeline" data-linenumber="1522"><td class="num" id="LN1522">1522</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1523"><td class="num" id="LN1523">1523</td><td class="line"> s_size = g_format_size (fdata-&gt;size);</td></tr>
+<tr class="codeline" data-linenumber="1524"><td class="num" id="LN1524">1524</td><td class="line"> date_time = g_date_time_new_from_unix_local (fdata-&gt;modified);</td></tr>
+<tr class="codeline" data-linenumber="1525"><td class="num" id="LN1525">1525</td><td class="line"> s_time = g_date_time_format (date_time, <span class='macro'>_(<span class='string_literal'>"%d %B %Y, %H:%M"</span>)<span class='macro_popup'>gettext ("%d %B %Y, %H:%M")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1526"><td class="num" id="LN1526">1526</td><td class="line"> g_date_time_unref (date_time);</td></tr>
+<tr class="codeline" data-linenumber="1527"><td class="num" id="LN1527">1527</td><td class="line"> desc = g_content_type_get_description (fdata-&gt;content_type);</td></tr>
+<tr class="codeline" data-linenumber="1528"><td class="num" id="LN1528">1528</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1529"><td class="num" id="LN1529">1529</td><td class="line"> gtk_list_store_set (window-&gt;priv-&gt;list_store, &amp;iter,</td></tr>
+<tr class="codeline" data-linenumber="1530"><td class="num" id="LN1530">1530</td><td class="line"> COLUMN_FILE_DATA, fdata,</td></tr>
+<tr class="codeline" data-linenumber="1531"><td class="num" id="LN1531">1531</td><td class="line"> COLUMN_ICON, icon,</td></tr>
+<tr class="codeline" data-linenumber="1532"><td class="num" id="LN1532">1532</td><td class="line"> COLUMN_NAME, utf8_name,</td></tr>
+<tr class="codeline" data-linenumber="1533"><td class="num" id="LN1533">1533</td><td class="line"> COLUMN_EMBLEM, emblem,</td></tr>
+<tr class="codeline" data-linenumber="1534"><td class="num" id="LN1534">1534</td><td class="line"> COLUMN_TYPE, desc,</td></tr>
+<tr class="codeline" data-linenumber="1535"><td class="num" id="LN1535">1535</td><td class="line"> COLUMN_SIZE, s_size,</td></tr>
+<tr class="codeline" data-linenumber="1536"><td class="num" id="LN1536">1536</td><td class="line"> COLUMN_TIME, s_time,</td></tr>
+<tr class="codeline" data-linenumber="1537"><td class="num" id="LN1537">1537</td><td class="line"> COLUMN_PATH, utf8_path,</td></tr>
+<tr class="codeline" data-linenumber="1538"><td class="num" id="LN1538">1538</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="1539"><td class="num" id="LN1539">1539</td><td class="line"> g_free (utf8_path);</td></tr>
+<tr class="codeline" data-linenumber="1540"><td class="num" id="LN1540">1540</td><td class="line"> g_free (s_size);</td></tr>
+<tr class="codeline" data-linenumber="1541"><td class="num" id="LN1541">1541</td><td class="line"> g_free (s_time);</td></tr>
+<tr class="codeline" data-linenumber="1542"><td class="num" id="LN1542">1542</td><td class="line"> g_free (desc);</td></tr>
+<tr class="codeline" data-linenumber="1543"><td class="num" id="LN1543">1543</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1544"><td class="num" id="LN1544">1544</td><td class="line"> g_free (utf8_name);</td></tr>
+<tr class="codeline" data-linenumber="1545"><td class="num" id="LN1545">1545</td><td class="line"> <span class='keyword'>if</span> (icon != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1546"><td class="num" id="LN1546">1546</td><td class="line"> g_object_unref (icon);</td></tr>
+<tr class="codeline" data-linenumber="1547"><td class="num" id="LN1547">1547</td><td class="line"> <span class='keyword'>if</span> (emblem != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1548"><td class="num" id="LN1548">1548</td><td class="line"> g_object_unref (emblem);</td></tr>
+<tr class="codeline" data-linenumber="1549"><td class="num" id="LN1549">1549</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1550"><td class="num" id="LN1550">1550</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1551"><td class="num" id="LN1551">1551</td><td class="line"> gtk_tree_sortable_set_sort_column_id (<span class='macro'>GTK_TREE_SORTABLE (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeSortable*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_sortable_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1552"><td class="num" id="LN1552">1552</td><td class="line"> get_column_from_sort_method (window-&gt;priv-&gt;sort_method),</td></tr>
+<tr class="codeline" data-linenumber="1553"><td class="num" id="LN1553">1553</td><td class="line"> window-&gt;priv-&gt;sort_type);</td></tr>
+<tr class="codeline" data-linenumber="1554"><td class="num" id="LN1554">1554</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1555"><td class="num" id="LN1555">1555</td><td class="line"> fr_window_update_statusbar_list_info (window);</td></tr>
+<tr class="codeline" data-linenumber="1556"><td class="num" id="LN1556">1556</td><td class="line"> fr_window_stop_activity_mode (window);</td></tr>
+<tr class="codeline" data-linenumber="1557"><td class="num" id="LN1557">1557</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1558"><td class="num" id="LN1558">1558</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1559"><td class="num" id="LN1559">1559</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="1560"><td class="num" id="LN1560">1560</td><td class="line">path_compare (gconstpointer a,</td></tr>
+<tr class="codeline" data-linenumber="1561"><td class="num" id="LN1561">1561</td><td class="line"> gconstpointer b)</td></tr>
+<tr class="codeline" data-linenumber="1562"><td class="num" id="LN1562">1562</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1563"><td class="num" id="LN1563">1563</td><td class="line"> <span class='keyword'>char</span> *path_a = *((<span class='keyword'>char</span>**) a);</td></tr>
+<tr class="codeline" data-linenumber="1564"><td class="num" id="LN1564">1564</td><td class="line"> <span class='keyword'>char</span> *path_b = *((<span class='keyword'>char</span>**) b);</td></tr>
+<tr class="codeline" data-linenumber="1565"><td class="num" id="LN1565">1565</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1566"><td class="num" id="LN1566">1566</td><td class="line"> <span class='keyword'>return</span> strcmp (path_a, path_b);</td></tr>
+<tr class="codeline" data-linenumber="1567"><td class="num" id="LN1567">1567</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1568"><td class="num" id="LN1568">1568</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1569"><td class="num" id="LN1569">1569</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1570"><td class="num" id="LN1570">1570</td><td class="line">get_tree_iter_from_path (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="1571"><td class="num" id="LN1571">1571</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *path,</td></tr>
+<tr class="codeline" data-linenumber="1572"><td class="num" id="LN1572">1572</td><td class="line"> GtkTreeIter *parent,</td></tr>
+<tr class="codeline" data-linenumber="1573"><td class="num" id="LN1573">1573</td><td class="line"> GtkTreeIter *iter)</td></tr>
+<tr class="codeline" data-linenumber="1574"><td class="num" id="LN1574">1574</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1575"><td class="num" id="LN1575">1575</td><td class="line"> gboolean result = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1576"><td class="num" id="LN1576">1576</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1577"><td class="num" id="LN1577">1577</td><td class="line"> <span class='keyword'>if</span> (! gtk_tree_model_iter_children (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;tree_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>, iter, parent))</td></tr>
+<tr class="codeline" data-linenumber="1578"><td class="num" id="LN1578">1578</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1579"><td class="num" id="LN1579">1579</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1580"><td class="num" id="LN1580">1580</td><td class="line"> <span class='keyword'>do</span> {</td></tr>
+<tr class="codeline" data-linenumber="1581"><td class="num" id="LN1581">1581</td><td class="line"> GtkTreeIter tmp;</td></tr>
+<tr class="codeline" data-linenumber="1582"><td class="num" id="LN1582">1582</td><td class="line"> <span class='keyword'>char</span> *iter_path;</td></tr>
+<tr class="codeline" data-linenumber="1583"><td class="num" id="LN1583">1583</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1584"><td class="num" id="LN1584">1584</td><td class="line"> <span class='keyword'>if</span> (get_tree_iter_from_path (window, path, iter, &amp;tmp)) {</td></tr>
+<tr class="codeline" data-linenumber="1585"><td class="num" id="LN1585">1585</td><td class="line"> *iter = tmp;</td></tr>
+<tr class="codeline" data-linenumber="1586"><td class="num" id="LN1586">1586</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1587"><td class="num" id="LN1587">1587</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1588"><td class="num" id="LN1588">1588</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1589"><td class="num" id="LN1589">1589</td><td class="line"> gtk_tree_model_get (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;tree_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1590"><td class="num" id="LN1590">1590</td><td class="line"> iter,</td></tr>
+<tr class="codeline" data-linenumber="1591"><td class="num" id="LN1591">1591</td><td class="line"> TREE_COLUMN_PATH, &amp;iter_path,</td></tr>
+<tr class="codeline" data-linenumber="1592"><td class="num" id="LN1592">1592</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="1593"><td class="num" id="LN1593">1593</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1594"><td class="num" id="LN1594">1594</td><td class="line"> <span class='keyword'>if</span> ((iter_path != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (strcmp (path, iter_path) == 0)) {</td></tr>
+<tr class="codeline" data-linenumber="1595"><td class="num" id="LN1595">1595</td><td class="line"> result = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1596"><td class="num" id="LN1596">1596</td><td class="line"> g_free (iter_path);</td></tr>
+<tr class="codeline" data-linenumber="1597"><td class="num" id="LN1597">1597</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1598"><td class="num" id="LN1598">1598</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1599"><td class="num" id="LN1599">1599</td><td class="line"> g_free (iter_path);</td></tr>
+<tr class="codeline" data-linenumber="1600"><td class="num" id="LN1600">1600</td><td class="line"> } <span class='keyword'>while</span> (gtk_tree_model_iter_next (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;tree_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>, iter));</td></tr>
+<tr class="codeline" data-linenumber="1601"><td class="num" id="LN1601">1601</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1602"><td class="num" id="LN1602">1602</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="1603"><td class="num" id="LN1603">1603</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1604"><td class="num" id="LN1604">1604</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1605"><td class="num" id="LN1605">1605</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1606"><td class="num" id="LN1606">1606</td><td class="line">set_sensitive (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="1607"><td class="num" id="LN1607">1607</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *id,</td></tr>
+<tr class="codeline" data-linenumber="1608"><td class="num" id="LN1608">1608</td><td class="line"> gboolean sensitive)</td></tr>
+<tr class="codeline" data-linenumber="1609"><td class="num" id="LN1609">1609</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1610"><td class="num" id="LN1610">1610</td><td class="line"> GtkWidget *widget;</td></tr>
+<tr class="codeline" data-linenumber="1611"><td class="num" id="LN1611">1611</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1612"><td class="num" id="LN1612">1612</td><td class="line"> widget = (GtkWidget *)gtk_builder_get_object (window-&gt;priv-&gt;ui_manager, id);</td></tr>
+<tr class="codeline" data-linenumber="1613"><td class="num" id="LN1613">1613</td><td class="line"> g_object_set (widget, <span class='string_literal'>"sensitive"</span>, sensitive, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1614"><td class="num" id="LN1614">1614</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1615"><td class="num" id="LN1615">1615</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1616"><td class="num" id="LN1616">1616</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1617"><td class="num" id="LN1617">1617</td><td class="line">fr_window_update_current_location (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1618"><td class="num" id="LN1618">1618</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1619"><td class="num" id="LN1619">1619</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *current_dir = fr_window_get_current_location (window);</td></tr>
+<tr class="codeline" data-linenumber="1620"><td class="num" id="LN1620">1620</td><td class="line"> <span class='keyword'>char</span> *path;</td></tr>
+<tr class="codeline" data-linenumber="1621"><td class="num" id="LN1621">1621</td><td class="line"> GtkTreeIter iter;</td></tr>
+<tr class="codeline" data-linenumber="1622"><td class="num" id="LN1622">1622</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1623"><td class="num" id="LN1623">1623</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;list_mode == FR_WINDOW_LIST_MODE_FLAT) {</td></tr>
+<tr class="codeline" data-linenumber="1624"><td class="num" id="LN1624">1624</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;location_bar);</td></tr>
+<tr class="codeline" data-linenumber="1625"><td class="num" id="LN1625">1625</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1626"><td class="num" id="LN1626">1626</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1627"><td class="num" id="LN1627">1627</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1628"><td class="num" id="LN1628">1628</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;location_bar);</td></tr>
+<tr class="codeline" data-linenumber="1629"><td class="num" id="LN1629">1629</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1630"><td class="num" id="LN1630">1630</td><td class="line"> gtk_entry_set_text (<span class='macro'>GTK_ENTRY (window-&gt;priv-&gt;location_entry)<span class='macro_popup'>((((GtkEntry*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;location_entry)), ((gtk_entry_get_type<br> ()))))))</span></span>, window-&gt;priv-&gt;archive_present? current_dir: <span class='string_literal'>""</span>);</td></tr>
+<tr class="codeline" data-linenumber="1631"><td class="num" id="LN1631">1631</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1632"><td class="num" id="LN1632">1632</td><td class="line"> set_sensitive (window, <span class='string_literal'>"tool_goback_item"</span>, window-&gt;priv-&gt;archive_present &amp;&amp; (current_dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (window-&gt;priv-&gt;history_current != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (window-&gt;priv-&gt;history_current-&gt;next != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="1633"><td class="num" id="LN1633">1633</td><td class="line"> set_sensitive (window, <span class='string_literal'>"tool_gonext_item"</span>, window-&gt;priv-&gt;archive_present &amp;&amp; (current_dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (window-&gt;priv-&gt;history_current != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (window-&gt;priv-&gt;history_current-&gt;prev != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="1634"><td class="num" id="LN1634">1634</td><td class="line"> set_sensitive (window, <span class='string_literal'>"tool_goup_item"</span>, window-&gt;priv-&gt;archive_present &amp;&amp; (current_dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (strcmp (current_dir, <span class='string_literal'>"/"</span>) != 0));</td></tr>
+<tr class="codeline" data-linenumber="1635"><td class="num" id="LN1635">1635</td><td class="line"> set_sensitive (window, <span class='string_literal'>"tool_gohome_item"</span>, window-&gt;priv-&gt;archive_present);</td></tr>
+<tr class="codeline" data-linenumber="1636"><td class="num" id="LN1636">1636</td><td class="line"> gtk_widget_set_sensitive (window-&gt;priv-&gt;location_entry, window-&gt;priv-&gt;archive_present);</td></tr>
+<tr class="codeline" data-linenumber="1637"><td class="num" id="LN1637">1637</td><td class="line"> gtk_widget_set_sensitive (window-&gt;priv-&gt;location_label, window-&gt;priv-&gt;archive_present);</td></tr>
+<tr class="codeline" data-linenumber="1638"><td class="num" id="LN1638">1638</td><td class="line"> gtk_widget_set_sensitive (window-&gt;priv-&gt;filter_entry, window-&gt;priv-&gt;archive_present);</td></tr>
+<tr class="codeline" data-linenumber="1639"><td class="num" id="LN1639">1639</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1640"><td class="num" id="LN1640">1640</td><td class="line"><span class='directive'>#if 0</span></td></tr>
+<tr class="codeline" data-linenumber="1641"><td class="num" id="LN1641">1641</td><td class="line"> fr_window_history_print (window);</td></tr>
+<tr class="codeline" data-linenumber="1642"><td class="num" id="LN1642">1642</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="1643"><td class="num" id="LN1643">1643</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1644"><td class="num" id="LN1644">1644</td><td class="line"> path = remove_ending_separator (current_dir);</td></tr>
+<tr class="codeline" data-linenumber="1645"><td class="num" id="LN1645">1645</td><td class="line"> <span class='keyword'>if</span> (get_tree_iter_from_path (window, path, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, &amp;iter)) {</td></tr>
+<tr class="codeline" data-linenumber="1646"><td class="num" id="LN1646">1646</td><td class="line"> GtkTreeSelection *selection;</td></tr>
+<tr class="codeline" data-linenumber="1647"><td class="num" id="LN1647">1647</td><td class="line"> GtkTreePath *t_path;</td></tr>
+<tr class="codeline" data-linenumber="1648"><td class="num" id="LN1648">1648</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1649"><td class="num" id="LN1649">1649</td><td class="line"> t_path = gtk_tree_model_get_path (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;tree_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>, &amp;iter);</td></tr>
+<tr class="codeline" data-linenumber="1650"><td class="num" id="LN1650">1650</td><td class="line"> gtk_tree_view_expand_to_path (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;tree_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>, t_path);</td></tr>
+<tr class="codeline" data-linenumber="1651"><td class="num" id="LN1651">1651</td><td class="line"> gtk_tree_path_free (t_path);</td></tr>
+<tr class="codeline" data-linenumber="1652"><td class="num" id="LN1652">1652</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1653"><td class="num" id="LN1653">1653</td><td class="line"> selection = gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;tree_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1654"><td class="num" id="LN1654">1654</td><td class="line"> gtk_tree_selection_select_iter (selection, &amp;iter);</td></tr>
+<tr class="codeline" data-linenumber="1655"><td class="num" id="LN1655">1655</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1656"><td class="num" id="LN1656">1656</td><td class="line"> g_free (path);</td></tr>
+<tr class="codeline" data-linenumber="1657"><td class="num" id="LN1657">1657</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1658"><td class="num" id="LN1658">1658</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1659"><td class="num" id="LN1659">1659</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1660"><td class="num" id="LN1660">1660</td><td class="line">fr_window_update_dir_tree (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1661"><td class="num" id="LN1661">1661</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1662"><td class="num" id="LN1662">1662</td><td class="line"> GPtrArray *dirs;</td></tr>
+<tr class="codeline" data-linenumber="1663"><td class="num" id="LN1663">1663</td><td class="line"> GHashTable *dir_cache;</td></tr>
+<tr class="codeline" data-linenumber="1664"><td class="num" id="LN1664">1664</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="1665"><td class="num" id="LN1665">1665</td><td class="line"> GdkPixbuf *icon;</td></tr>
+<tr class="codeline" data-linenumber="1666"><td class="num" id="LN1666">1666</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1667"><td class="num" id="LN1667">1667</td><td class="line"> gtk_tree_store_clear (window-&gt;priv-&gt;tree_store);</td></tr>
+<tr class="codeline" data-linenumber="1668"><td class="num" id="LN1668">1668</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1669"><td class="num" id="LN1669">1669</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;view_folders</td></tr>
+<tr class="codeline" data-linenumber="1670"><td class="num" id="LN1670">1670</td><td class="line"> || ! window-&gt;priv-&gt;archive_present</td></tr>
+<tr class="codeline" data-linenumber="1671"><td class="num" id="LN1671">1671</td><td class="line"> || (window-&gt;priv-&gt;list_mode == FR_WINDOW_LIST_MODE_FLAT))</td></tr>
+<tr class="codeline" data-linenumber="1672"><td class="num" id="LN1672">1672</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1673"><td class="num" id="LN1673">1673</td><td class="line"> gtk_widget_set_sensitive (window-&gt;priv-&gt;tree_view, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1674"><td class="num" id="LN1674">1674</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;sidepane);</td></tr>
+<tr class="codeline" data-linenumber="1675"><td class="num" id="LN1675">1675</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1676"><td class="num" id="LN1676">1676</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1677"><td class="num" id="LN1677">1677</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1678"><td class="num" id="LN1678">1678</td><td class="line"> gtk_widget_set_sensitive (window-&gt;priv-&gt;tree_view, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1679"><td class="num" id="LN1679">1679</td><td class="line"> <span class='keyword'>if</span> (! gtk_widget_get_visible (window-&gt;priv-&gt;sidepane))</td></tr>
+<tr class="codeline" data-linenumber="1680"><td class="num" id="LN1680">1680</td><td class="line"> gtk_widget_show_all (window-&gt;priv-&gt;sidepane);</td></tr>
+<tr class="codeline" data-linenumber="1681"><td class="num" id="LN1681">1681</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1682"><td class="num" id="LN1682">1682</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1683"><td class="num" id="LN1683">1683</td><td class="line"> <span class='keyword'>if</span> (gtk_widget_get_realized (window-&gt;priv-&gt;tree_view))</td></tr>
+<tr class="codeline" data-linenumber="1684"><td class="num" id="LN1684">1684</td><td class="line"> gtk_tree_view_scroll_to_point (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;tree_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>, 0, 0);</td></tr>
+<tr class="codeline" data-linenumber="1685"><td class="num" id="LN1685">1685</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1686"><td class="num" id="LN1686">1686</td><td class="line"> <span class='comment'>/**/</span></td></tr>
+<tr class="codeline" data-linenumber="1687"><td class="num" id="LN1687">1687</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1688"><td class="num" id="LN1688">1688</td><td class="line"> dirs = g_ptr_array_sized_new (128);</td></tr>
+<tr class="codeline" data-linenumber="1689"><td class="num" id="LN1689">1689</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1690"><td class="num" id="LN1690">1690</td><td class="line"> dir_cache = g_hash_table_new_full (g_str_hash, g_str_equal, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1691"><td class="num" id="LN1691">1691</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; window-&gt;archive-&gt;command-&gt;files-&gt;len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="1692"><td class="num" id="LN1692">1692</td><td class="line"> FileData *fdata = <span class='macro'>g_ptr_array_index (window-&gt;archive-&gt;command-&gt;files, i)<span class='macro_popup'>((window-&gt;archive-&gt;command-&gt;files)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1693"><td class="num" id="LN1693">1693</td><td class="line"> <span class='keyword'>char</span> *dir;</td></tr>
+<tr class="codeline" data-linenumber="1694"><td class="num" id="LN1694">1694</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1695"><td class="num" id="LN1695">1695</td><td class="line"> <span class='keyword'>if</span> (gtk_entry_get_text (<span class='macro'>GTK_ENTRY (window-&gt;priv-&gt;filter_entry)<span class='macro_popup'>((((GtkEntry*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;filter_entry)), ((gtk_entry_get_type<br> ()))))))</span></span>) != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1696"><td class="num" id="LN1696">1696</td><td class="line"> <span class='keyword'>if</span> (! file_data_respects_filter (window, fdata))</td></tr>
+<tr class="codeline" data-linenumber="1697"><td class="num" id="LN1697">1697</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="1698"><td class="num" id="LN1698">1698</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1699"><td class="num" id="LN1699">1699</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1700"><td class="num" id="LN1700">1700</td><td class="line"> <span class='keyword'>if</span> (fdata-&gt;dir)</td></tr>
+<tr class="codeline" data-linenumber="1701"><td class="num" id="LN1701">1701</td><td class="line"> dir = remove_ending_separator (fdata-&gt;full_path);</td></tr>
+<tr class="codeline" data-linenumber="1702"><td class="num" id="LN1702">1702</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1703"><td class="num" id="LN1703">1703</td><td class="line"> dir = remove_level_from_path (fdata-&gt;full_path);</td></tr>
+<tr class="codeline" data-linenumber="1704"><td class="num" id="LN1704">1704</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1705"><td class="num" id="LN1705">1705</td><td class="line"> <span class='keyword'>while</span> ((dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (strcmp (dir, <span class='string_literal'>"/"</span>) != 0)) {</td></tr>
+<tr class="codeline" data-linenumber="1706"><td class="num" id="LN1706">1706</td><td class="line"> <span class='keyword'>char</span> *new_dir;</td></tr>
+<tr class="codeline" data-linenumber="1707"><td class="num" id="LN1707">1707</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1708"><td class="num" id="LN1708">1708</td><td class="line"> <span class='keyword'>if</span> (g_hash_table_lookup (dir_cache, dir) != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1709"><td class="num" id="LN1709">1709</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1710"><td class="num" id="LN1710">1710</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1711"><td class="num" id="LN1711">1711</td><td class="line"> new_dir = dir;</td></tr>
+<tr class="codeline" data-linenumber="1712"><td class="num" id="LN1712">1712</td><td class="line"> g_ptr_array_add (dirs, new_dir);</td></tr>
+<tr class="codeline" data-linenumber="1713"><td class="num" id="LN1713">1713</td><td class="line"> g_hash_table_replace (dir_cache, new_dir, <span class='string_literal'>"1"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1714"><td class="num" id="LN1714">1714</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1715"><td class="num" id="LN1715">1715</td><td class="line"> dir = remove_level_from_path (new_dir);</td></tr>
+<tr class="codeline" data-linenumber="1716"><td class="num" id="LN1716">1716</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1717"><td class="num" id="LN1717">1717</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1718"><td class="num" id="LN1718">1718</td><td class="line"> g_free (dir);</td></tr>
+<tr class="codeline" data-linenumber="1719"><td class="num" id="LN1719">1719</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1720"><td class="num" id="LN1720">1720</td><td class="line"> g_hash_table_destroy (dir_cache);</td></tr>
+<tr class="codeline" data-linenumber="1721"><td class="num" id="LN1721">1721</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1722"><td class="num" id="LN1722">1722</td><td class="line"> g_ptr_array_sort (dirs, path_compare);</td></tr>
+<tr class="codeline" data-linenumber="1723"><td class="num" id="LN1723">1723</td><td class="line"> dir_cache = g_hash_table_new_full (g_str_hash, g_str_equal, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, (GDestroyNotify) gtk_tree_path_free);</td></tr>
+<tr class="codeline" data-linenumber="1724"><td class="num" id="LN1724">1724</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1725"><td class="num" id="LN1725">1725</td><td class="line"> <span class='comment'>/**/</span></td></tr>
+<tr class="codeline" data-linenumber="1726"><td class="num" id="LN1726">1726</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1727"><td class="num" id="LN1727">1727</td><td class="line"> icon = get_mime_type_icon (<span class='macro'>MIME_TYPE_ARCHIVE<span class='macro_popup'>"application/x-archive"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1728"><td class="num" id="LN1728">1728</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1729"><td class="num" id="LN1729">1729</td><td class="line"> GtkTreeIter node;</td></tr>
+<tr class="codeline" data-linenumber="1730"><td class="num" id="LN1730">1730</td><td class="line"> <span class='keyword'>char</span> *uri;</td></tr>
+<tr class="codeline" data-linenumber="1731"><td class="num" id="LN1731">1731</td><td class="line"> <span class='keyword'>char</span> *name;</td></tr>
+<tr class="codeline" data-linenumber="1732"><td class="num" id="LN1732">1732</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1733"><td class="num" id="LN1733">1733</td><td class="line"> uri = g_file_get_uri (window-&gt;archive-&gt;file);</td></tr>
+<tr class="codeline" data-linenumber="1734"><td class="num" id="LN1734">1734</td><td class="line"> name = g_uri_display_basename (uri);</td></tr>
+<tr class="codeline" data-linenumber="1735"><td class="num" id="LN1735">1735</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1736"><td class="num" id="LN1736">1736</td><td class="line"> gtk_tree_store_append (window-&gt;priv-&gt;tree_store, &amp;node, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1737"><td class="num" id="LN1737">1737</td><td class="line"> gtk_tree_store_set (window-&gt;priv-&gt;tree_store, &amp;node,</td></tr>
+<tr class="codeline" data-linenumber="1738"><td class="num" id="LN1738">1738</td><td class="line"> TREE_COLUMN_ICON, icon,</td></tr>
+<tr class="codeline" data-linenumber="1739"><td class="num" id="LN1739">1739</td><td class="line"> TREE_COLUMN_NAME, name,</td></tr>
+<tr class="codeline" data-linenumber="1740"><td class="num" id="LN1740">1740</td><td class="line"> TREE_COLUMN_PATH, <span class='string_literal'>"/"</span>,</td></tr>
+<tr class="codeline" data-linenumber="1741"><td class="num" id="LN1741">1741</td><td class="line"> TREE_COLUMN_WEIGHT, PANGO_WEIGHT_BOLD,</td></tr>
+<tr class="codeline" data-linenumber="1742"><td class="num" id="LN1742">1742</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="1743"><td class="num" id="LN1743">1743</td><td class="line"> g_hash_table_replace (dir_cache, <span class='string_literal'>"/"</span>, gtk_tree_model_get_path (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;tree_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>, &amp;node));</td></tr>
+<tr class="codeline" data-linenumber="1744"><td class="num" id="LN1744">1744</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1745"><td class="num" id="LN1745">1745</td><td class="line"> g_free (name);</td></tr>
+<tr class="codeline" data-linenumber="1746"><td class="num" id="LN1746">1746</td><td class="line"> g_free (uri);</td></tr>
+<tr class="codeline" data-linenumber="1747"><td class="num" id="LN1747">1747</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1748"><td class="num" id="LN1748">1748</td><td class="line"> g_object_unref (icon);</td></tr>
+<tr class="codeline" data-linenumber="1749"><td class="num" id="LN1749">1749</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1750"><td class="num" id="LN1750">1750</td><td class="line"> <span class='comment'>/**/</span></td></tr>
+<tr class="codeline" data-linenumber="1751"><td class="num" id="LN1751">1751</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1752"><td class="num" id="LN1752">1752</td><td class="line"> icon = get_mime_type_icon (<span class='macro'>MIME_TYPE_DIRECTORY<span class='macro_popup'>"folder"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1753"><td class="num" id="LN1753">1753</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; dirs-&gt;len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="1754"><td class="num" id="LN1754">1754</td><td class="line"> <span class='keyword'>char</span> *dir = <span class='macro'>g_ptr_array_index (dirs, i)<span class='macro_popup'>((dirs)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1755"><td class="num" id="LN1755">1755</td><td class="line"> <span class='keyword'>char</span> *parent_dir;</td></tr>
+<tr class="codeline" data-linenumber="1756"><td class="num" id="LN1756">1756</td><td class="line"> GtkTreePath *parent_path;</td></tr>
+<tr class="codeline" data-linenumber="1757"><td class="num" id="LN1757">1757</td><td class="line"> GtkTreeIter parent;</td></tr>
+<tr class="codeline" data-linenumber="1758"><td class="num" id="LN1758">1758</td><td class="line"> GtkTreeIter node;</td></tr>
+<tr class="codeline" data-linenumber="1759"><td class="num" id="LN1759">1759</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1760"><td class="num" id="LN1760">1760</td><td class="line"> parent_dir = remove_level_from_path (dir);</td></tr>
+<tr class="codeline" data-linenumber="1761"><td class="num" id="LN1761">1761</td><td class="line"> <span class='keyword'>if</span> (parent_dir == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1762"><td class="num" id="LN1762">1762</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="1763"><td class="num" id="LN1763">1763</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1764"><td class="num" id="LN1764">1764</td><td class="line"> parent_path = g_hash_table_lookup (dir_cache, parent_dir);</td></tr>
+<tr class="codeline" data-linenumber="1765"><td class="num" id="LN1765">1765</td><td class="line"> gtk_tree_model_get_iter (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;tree_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1766"><td class="num" id="LN1766">1766</td><td class="line"> &amp;parent,</td></tr>
+<tr class="codeline" data-linenumber="1767"><td class="num" id="LN1767">1767</td><td class="line"> parent_path);</td></tr>
+<tr class="codeline" data-linenumber="1768"><td class="num" id="LN1768">1768</td><td class="line"> gtk_tree_store_append (window-&gt;priv-&gt;tree_store, &amp;node, &amp;parent);</td></tr>
+<tr class="codeline" data-linenumber="1769"><td class="num" id="LN1769">1769</td><td class="line"> gtk_tree_store_set (window-&gt;priv-&gt;tree_store, &amp;node,</td></tr>
+<tr class="codeline" data-linenumber="1770"><td class="num" id="LN1770">1770</td><td class="line"> TREE_COLUMN_ICON, icon,</td></tr>
+<tr class="codeline" data-linenumber="1771"><td class="num" id="LN1771">1771</td><td class="line"> TREE_COLUMN_NAME, file_name_from_path (dir),</td></tr>
+<tr class="codeline" data-linenumber="1772"><td class="num" id="LN1772">1772</td><td class="line"> TREE_COLUMN_PATH, dir,</td></tr>
+<tr class="codeline" data-linenumber="1773"><td class="num" id="LN1773">1773</td><td class="line"> TREE_COLUMN_WEIGHT, PANGO_WEIGHT_NORMAL,</td></tr>
+<tr class="codeline" data-linenumber="1774"><td class="num" id="LN1774">1774</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="1775"><td class="num" id="LN1775">1775</td><td class="line"> g_hash_table_replace (dir_cache, dir, gtk_tree_model_get_path (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;tree_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>, &amp;node));</td></tr>
+<tr class="codeline" data-linenumber="1776"><td class="num" id="LN1776">1776</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1777"><td class="num" id="LN1777">1777</td><td class="line"> g_free (parent_dir);</td></tr>
+<tr class="codeline" data-linenumber="1778"><td class="num" id="LN1778">1778</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1779"><td class="num" id="LN1779">1779</td><td class="line"> g_hash_table_destroy (dir_cache);</td></tr>
+<tr class="codeline" data-linenumber="1780"><td class="num" id="LN1780">1780</td><td class="line"> <span class='keyword'>if</span> (icon != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1781"><td class="num" id="LN1781">1781</td><td class="line"> g_object_unref (icon);</td></tr>
+<tr class="codeline" data-linenumber="1782"><td class="num" id="LN1782">1782</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1783"><td class="num" id="LN1783">1783</td><td class="line"> g_ptr_array_free (dirs, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1784"><td class="num" id="LN1784">1784</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1785"><td class="num" id="LN1785">1785</td><td class="line"> fr_window_update_current_location (window);</td></tr>
+<tr class="codeline" data-linenumber="1786"><td class="num" id="LN1786">1786</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1787"><td class="num" id="LN1787">1787</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1788"><td class="num" id="LN1788">1788</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1789"><td class="num" id="LN1789">1789</td><td class="line">fr_window_update_filter_bar_visibility (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1790"><td class="num" id="LN1790">1790</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1791"><td class="num" id="LN1791">1791</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *filter;</td></tr>
+<tr class="codeline" data-linenumber="1792"><td class="num" id="LN1792">1792</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1793"><td class="num" id="LN1793">1793</td><td class="line"> filter = gtk_entry_get_text (<span class='macro'>GTK_ENTRY (window-&gt;priv-&gt;filter_entry)<span class='macro_popup'>((((GtkEntry*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;filter_entry)), ((gtk_entry_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1794"><td class="num" id="LN1794">1794</td><td class="line"> <span class='keyword'>if</span> ((filter == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) || (*filter == '\0'))</td></tr>
+<tr class="codeline" data-linenumber="1795"><td class="num" id="LN1795">1795</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;filter_bar);</td></tr>
+<tr class="codeline" data-linenumber="1796"><td class="num" id="LN1796">1796</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1797"><td class="num" id="LN1797">1797</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;filter_bar);</td></tr>
+<tr class="codeline" data-linenumber="1798"><td class="num" id="LN1798">1798</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1799"><td class="num" id="LN1799">1799</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1800"><td class="num" id="LN1800">1800</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1801"><td class="num" id="LN1801">1801</td><td class="line">fr_window_update_file_list (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="1802"><td class="num" id="LN1802">1802</td><td class="line"> gboolean update_view)</td></tr>
+<tr class="codeline" data-linenumber="1803"><td class="num" id="LN1803">1803</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1804"><td class="num" id="LN1804">1804</td><td class="line"> GPtrArray *files;</td></tr>
+<tr class="codeline" data-linenumber="1805"><td class="num" id="LN1805">1805</td><td class="line"> gboolean free_files = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1806"><td class="num" id="LN1806">1806</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1807"><td class="num" id="LN1807">1807</td><td class="line"> <span class='keyword'>if</span> (gtk_widget_get_realized (window-&gt;priv-&gt;list_view))</td></tr>
+<tr class="codeline" data-linenumber="1808"><td class="num" id="LN1808">1808</td><td class="line"> gtk_tree_view_scroll_to_point (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>, 0, 0);</td></tr>
+<tr class="codeline" data-linenumber="1809"><td class="num" id="LN1809">1809</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1810"><td class="num" id="LN1810">1810</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;archive_present || window-&gt;priv-&gt;archive_new) {</td></tr>
+<tr class="codeline" data-linenumber="1811"><td class="num" id="LN1811">1811</td><td class="line"> <span class='keyword'>if</span> (update_view)</td></tr>
+<tr class="codeline" data-linenumber="1812"><td class="num" id="LN1812">1812</td><td class="line"> gtk_list_store_clear (window-&gt;priv-&gt;list_store);</td></tr>
+<tr class="codeline" data-linenumber="1813"><td class="num" id="LN1813">1813</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1814"><td class="num" id="LN1814">1814</td><td class="line"> window-&gt;priv-&gt;current_view_length = 0;</td></tr>
+<tr class="codeline" data-linenumber="1815"><td class="num" id="LN1815">1815</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1816"><td class="num" id="LN1816">1816</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;archive_new) {</td></tr>
+<tr class="codeline" data-linenumber="1817"><td class="num" id="LN1817">1817</td><td class="line"> gtk_widget_set_sensitive (window-&gt;priv-&gt;list_view, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1818"><td class="num" id="LN1818">1818</td><td class="line"> gtk_widget_show_all (gtk_widget_get_parent (window-&gt;priv-&gt;list_view));</td></tr>
+<tr class="codeline" data-linenumber="1819"><td class="num" id="LN1819">1819</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1820"><td class="num" id="LN1820">1820</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1821"><td class="num" id="LN1821">1821</td><td class="line"> gtk_widget_set_sensitive (window-&gt;priv-&gt;list_view, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1822"><td class="num" id="LN1822">1822</td><td class="line"> gtk_widget_hide (gtk_widget_get_parent (window-&gt;priv-&gt;list_view));</td></tr>
+<tr class="codeline" data-linenumber="1823"><td class="num" id="LN1823">1823</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1824"><td class="num" id="LN1824">1824</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1825"><td class="num" id="LN1825">1825</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1826"><td class="num" id="LN1826">1826</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1827"><td class="num" id="LN1827">1827</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1828"><td class="num" id="LN1828">1828</td><td class="line"> gtk_widget_set_sensitive (window-&gt;priv-&gt;list_view, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1829"><td class="num" id="LN1829">1829</td><td class="line"> gtk_widget_show_all (gtk_widget_get_parent (window-&gt;priv-&gt;list_view));</td></tr>
+<tr class="codeline" data-linenumber="1830"><td class="num" id="LN1830">1830</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1831"><td class="num" id="LN1831">1831</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1832"><td class="num" id="LN1832">1832</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;give_focus_to_the_list) {</td></tr>
+<tr class="codeline" data-linenumber="1833"><td class="num" id="LN1833">1833</td><td class="line"> gtk_widget_grab_focus (window-&gt;priv-&gt;list_view);</td></tr>
+<tr class="codeline" data-linenumber="1834"><td class="num" id="LN1834">1834</td><td class="line"> window-&gt;priv-&gt;give_focus_to_the_list = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1835"><td class="num" id="LN1835">1835</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1836"><td class="num" id="LN1836">1836</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1837"><td class="num" id="LN1837">1837</td><td class="line"> <span class='comment'>/**/</span></td></tr>
+<tr class="codeline" data-linenumber="1838"><td class="num" id="LN1838">1838</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1839"><td class="num" id="LN1839">1839</td><td class="line"> fr_window_start_activity_mode (window);</td></tr>
+<tr class="codeline" data-linenumber="1840"><td class="num" id="LN1840">1840</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1841"><td class="num" id="LN1841">1841</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;list_mode == FR_WINDOW_LIST_MODE_FLAT) {</td></tr>
+<tr class="codeline" data-linenumber="1842"><td class="num" id="LN1842">1842</td><td class="line"> fr_window_compute_list_names (window, window-&gt;archive-&gt;command-&gt;files);</td></tr>
+<tr class="codeline" data-linenumber="1843"><td class="num" id="LN1843">1843</td><td class="line"> files = window-&gt;archive-&gt;command-&gt;files;</td></tr>
+<tr class="codeline" data-linenumber="1844"><td class="num" id="LN1844">1844</td><td class="line"> free_files = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1845"><td class="num" id="LN1845">1845</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1846"><td class="num" id="LN1846">1846</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1847"><td class="num" id="LN1847">1847</td><td class="line"> <span class='keyword'>char</span> *current_dir = <span class='macro'>g_strdup (fr_window_get_current_location (window))<span class='macro_popup'>g_strdup_inline (fr_window_get_current_location (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1848"><td class="num" id="LN1848">1848</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1849"><td class="num" id="LN1849">1849</td><td class="line"> <span class='keyword'>while</span> (! fr_window_dir_exists_in_archive (window, current_dir)) {</td></tr>
+<tr class="codeline" data-linenumber="1850"><td class="num" id="LN1850">1850</td><td class="line"> <span class='keyword'>char</span> *tmp;</td></tr>
+<tr class="codeline" data-linenumber="1851"><td class="num" id="LN1851">1851</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1852"><td class="num" id="LN1852">1852</td><td class="line"> fr_window_history_pop (window);</td></tr>
+<tr class="codeline" data-linenumber="1853"><td class="num" id="LN1853">1853</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1854"><td class="num" id="LN1854">1854</td><td class="line"> tmp = get_parent_dir (current_dir);</td></tr>
+<tr class="codeline" data-linenumber="1855"><td class="num" id="LN1855">1855</td><td class="line"> g_free (current_dir);</td></tr>
+<tr class="codeline" data-linenumber="1856"><td class="num" id="LN1856">1856</td><td class="line"> current_dir = tmp;</td></tr>
+<tr class="codeline" data-linenumber="1857"><td class="num" id="LN1857">1857</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1858"><td class="num" id="LN1858">1858</td><td class="line"> fr_window_history_add (window, current_dir);</td></tr>
+<tr class="codeline" data-linenumber="1859"><td class="num" id="LN1859">1859</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1860"><td class="num" id="LN1860">1860</td><td class="line"> g_free (current_dir);</td></tr>
+<tr class="codeline" data-linenumber="1861"><td class="num" id="LN1861">1861</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1862"><td class="num" id="LN1862">1862</td><td class="line"> fr_window_compute_list_names (window, window-&gt;archive-&gt;command-&gt;files);</td></tr>
+<tr class="codeline" data-linenumber="1863"><td class="num" id="LN1863">1863</td><td class="line"> files = fr_window_get_current_dir_list (window);</td></tr>
+<tr class="codeline" data-linenumber="1864"><td class="num" id="LN1864">1864</td><td class="line"> free_files = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1865"><td class="num" id="LN1865">1865</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1866"><td class="num" id="LN1866">1866</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1867"><td class="num" id="LN1867">1867</td><td class="line"> <span class='keyword'>if</span> (files != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1868"><td class="num" id="LN1868">1868</td><td class="line"> window-&gt;priv-&gt;current_view_length = files-&gt;len;</td></tr>
+<tr class="codeline" data-linenumber="1869"><td class="num" id="LN1869">1869</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1870"><td class="num" id="LN1870">1870</td><td class="line"> window-&gt;priv-&gt;current_view_length = 0;</td></tr>
+<tr class="codeline" data-linenumber="1871"><td class="num" id="LN1871">1871</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1872"><td class="num" id="LN1872">1872</td><td class="line"> <span class='keyword'>if</span> (update_view)</td></tr>
+<tr class="codeline" data-linenumber="1873"><td class="num" id="LN1873">1873</td><td class="line"> fr_window_populate_file_list (window, files);</td></tr>
+<tr class="codeline" data-linenumber="1874"><td class="num" id="LN1874">1874</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1875"><td class="num" id="LN1875">1875</td><td class="line"> <span class='keyword'>if</span> (free_files)</td></tr>
+<tr class="codeline" data-linenumber="1876"><td class="num" id="LN1876">1876</td><td class="line"> g_ptr_array_free (files, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1877"><td class="num" id="LN1877">1877</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1878"><td class="num" id="LN1878">1878</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1879"><td class="num" id="LN1879">1879</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1880"><td class="num" id="LN1880">1880</td><td class="line">fr_window_update_list_order (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1881"><td class="num" id="LN1881">1881</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1882"><td class="num" id="LN1882">1882</td><td class="line"> gtk_tree_sortable_set_sort_column_id (<span class='macro'>GTK_TREE_SORTABLE (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeSortable*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_sortable_get_type<br> ()))))))</span></span>, get_column_from_sort_method (window-&gt;priv-&gt;sort_method), window-&gt;priv-&gt;sort_type);</td></tr>
+<tr class="codeline" data-linenumber="1883"><td class="num" id="LN1883">1883</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1884"><td class="num" id="LN1884">1884</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1885"><td class="num" id="LN1885">1885</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1886"><td class="num" id="LN1886">1886</td><td class="line">fr_window_update_title (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1887"><td class="num" id="LN1887">1887</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1888"><td class="num" id="LN1888">1888</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;archive_present)</td></tr>
+<tr class="codeline" data-linenumber="1889"><td class="num" id="LN1889">1889</td><td class="line"> gtk_window_set_title (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>, <span class='macro'>_(<span class='string_literal'>"Archive Manager"</span>)<span class='macro_popup'>gettext ("Archive Manager")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1890"><td class="num" id="LN1890">1890</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1891"><td class="num" id="LN1891">1891</td><td class="line"> <span class='keyword'>char</span> *title;</td></tr>
+<tr class="codeline" data-linenumber="1892"><td class="num" id="LN1892">1892</td><td class="line"> <span class='keyword'>char</span> *name;</td></tr>
+<tr class="codeline" data-linenumber="1893"><td class="num" id="LN1893">1893</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1894"><td class="num" id="LN1894">1894</td><td class="line"> name = g_uri_display_basename (fr_window_get_archive_uri (window));</td></tr>
+<tr class="codeline" data-linenumber="1895"><td class="num" id="LN1895">1895</td><td class="line"> title = g_strdup_printf (<span class='string_literal'>"%s %s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="1896"><td class="num" id="LN1896">1896</td><td class="line"> name,</td></tr>
+<tr class="codeline" data-linenumber="1897"><td class="num" id="LN1897">1897</td><td class="line"> window-&gt;archive-&gt;read_only ? <span class='macro'>_(<span class='string_literal'>"[read only]"</span>)<span class='macro_popup'>gettext ("[read only]")</span></span> : <span class='string_literal'>""</span>);</td></tr>
+<tr class="codeline" data-linenumber="1898"><td class="num" id="LN1898">1898</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1899"><td class="num" id="LN1899">1899</td><td class="line"> gtk_window_set_title (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>, title);</td></tr>
+<tr class="codeline" data-linenumber="1900"><td class="num" id="LN1900">1900</td><td class="line"> g_free (title);</td></tr>
+<tr class="codeline" data-linenumber="1901"><td class="num" id="LN1901">1901</td><td class="line"> g_free (name);</td></tr>
+<tr class="codeline" data-linenumber="1902"><td class="num" id="LN1902">1902</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1903"><td class="num" id="LN1903">1903</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1904"><td class="num" id="LN1904">1904</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1905"><td class="num" id="LN1905">1905</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1906"><td class="num" id="LN1906">1906</td><td class="line">check_whether_has_a_dir (GtkTreeModel *model,</td></tr>
+<tr class="codeline" data-linenumber="1907"><td class="num" id="LN1907">1907</td><td class="line"> GtkTreePath *path,</td></tr>
+<tr class="codeline" data-linenumber="1908"><td class="num" id="LN1908">1908</td><td class="line"> GtkTreeIter *iter,</td></tr>
+<tr class="codeline" data-linenumber="1909"><td class="num" id="LN1909">1909</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1910"><td class="num" id="LN1910">1910</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1911"><td class="num" id="LN1911">1911</td><td class="line"> gboolean *has_a_dir = data;</td></tr>
+<tr class="codeline" data-linenumber="1912"><td class="num" id="LN1912">1912</td><td class="line"> FileData *fdata;</td></tr>
+<tr class="codeline" data-linenumber="1913"><td class="num" id="LN1913">1913</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1914"><td class="num" id="LN1914">1914</td><td class="line"> gtk_tree_model_get (model, iter,</td></tr>
+<tr class="codeline" data-linenumber="1915"><td class="num" id="LN1915">1915</td><td class="line"> COLUMN_FILE_DATA, &amp;fdata,</td></tr>
+<tr class="codeline" data-linenumber="1916"><td class="num" id="LN1916">1916</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="1917"><td class="num" id="LN1917">1917</td><td class="line"> <span class='keyword'>if</span> (file_data_is_dir (fdata))</td></tr>
+<tr class="codeline" data-linenumber="1918"><td class="num" id="LN1918">1918</td><td class="line"> *has_a_dir = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1919"><td class="num" id="LN1919">1919</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1920"><td class="num" id="LN1920">1920</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1921"><td class="num" id="LN1921">1921</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1922"><td class="num" id="LN1922">1922</td><td class="line">selection_has_a_dir (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1923"><td class="num" id="LN1923">1923</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1924"><td class="num" id="LN1924">1924</td><td class="line"> GtkTreeSelection *selection;</td></tr>
+<tr class="codeline" data-linenumber="1925"><td class="num" id="LN1925">1925</td><td class="line"> gboolean has_a_dir = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1926"><td class="num" id="LN1926">1926</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1927"><td class="num" id="LN1927">1927</td><td class="line"> <span class='keyword'>if</span> (! gtk_widget_get_realized (window-&gt;priv-&gt;list_view))</td></tr>
+<tr class="codeline" data-linenumber="1928"><td class="num" id="LN1928">1928</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1929"><td class="num" id="LN1929">1929</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1930"><td class="num" id="LN1930">1930</td><td class="line"> selection = gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1931"><td class="num" id="LN1931">1931</td><td class="line"> <span class='keyword'>if</span> (selection == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1932"><td class="num" id="LN1932">1932</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1933"><td class="num" id="LN1933">1933</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1934"><td class="num" id="LN1934">1934</td><td class="line"> gtk_tree_selection_selected_foreach (selection,</td></tr>
+<tr class="codeline" data-linenumber="1935"><td class="num" id="LN1935">1935</td><td class="line"> check_whether_has_a_dir,</td></tr>
+<tr class="codeline" data-linenumber="1936"><td class="num" id="LN1936">1936</td><td class="line"> &amp;has_a_dir);</td></tr>
+<tr class="codeline" data-linenumber="1937"><td class="num" id="LN1937">1937</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1938"><td class="num" id="LN1938">1938</td><td class="line"> <span class='keyword'>return</span> has_a_dir;</td></tr>
+<tr class="codeline" data-linenumber="1939"><td class="num" id="LN1939">1939</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1940"><td class="num" id="LN1940">1940</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1941"><td class="num" id="LN1941">1941</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1942"><td class="num" id="LN1942">1942</td><td class="line">set_active (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="1943"><td class="num" id="LN1943">1943</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *action_name,</td></tr>
+<tr class="codeline" data-linenumber="1944"><td class="num" id="LN1944">1944</td><td class="line"> gboolean is_active)</td></tr>
+<tr class="codeline" data-linenumber="1945"><td class="num" id="LN1945">1945</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1946"><td class="num" id="LN1946">1946</td><td class="line"> GAction *action;</td></tr>
+<tr class="codeline" data-linenumber="1947"><td class="num" id="LN1947">1947</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1948"><td class="num" id="LN1948">1948</td><td class="line"> action = g_action_map_lookup_action (<span class='macro'>G_ACTION_MAP (window-&gt;priv-&gt;actions)<span class='macro_popup'>((((GActionMap*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;actions)), ((g_action_map_get_type (<br>)))))))</span></span>, action_name);</td></tr>
+<tr class="codeline" data-linenumber="1949"><td class="num" id="LN1949">1949</td><td class="line"> g_simple_action_set_state (<span class='macro'>G_SIMPLE_ACTION (action)<span class='macro_popup'>((((GSimpleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((g_simple_action_get_type ()))))))</span></span>, g_variant_new_boolean (is_active));</td></tr>
+<tr class="codeline" data-linenumber="1950"><td class="num" id="LN1950">1950</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1951"><td class="num" id="LN1951">1951</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1952"><td class="num" id="LN1952">1952</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1953"><td class="num" id="LN1953">1953</td><td class="line">fr_window_update_paste_command_sensitivity (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="1954"><td class="num" id="LN1954">1954</td><td class="line"> GtkClipboard *clipboard)</td></tr>
+<tr class="codeline" data-linenumber="1955"><td class="num" id="LN1955">1955</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1956"><td class="num" id="LN1956">1956</td><td class="line"> gboolean running;</td></tr>
+<tr class="codeline" data-linenumber="1957"><td class="num" id="LN1957">1957</td><td class="line"> gboolean no_archive;</td></tr>
+<tr class="codeline" data-linenumber="1958"><td class="num" id="LN1958">1958</td><td class="line"> gboolean ro;</td></tr>
+<tr class="codeline" data-linenumber="1959"><td class="num" id="LN1959">1959</td><td class="line"> gboolean compr_file;</td></tr>
+<tr class="codeline" data-linenumber="1960"><td class="num" id="LN1960">1960</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1961"><td class="num" id="LN1961">1961</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;closing)</td></tr>
+<tr class="codeline" data-linenumber="1962"><td class="num" id="LN1962">1962</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1963"><td class="num" id="LN1963">1963</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1964"><td class="num" id="LN1964">1964</td><td class="line"> <span class='keyword'>if</span> (clipboard == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1965"><td class="num" id="LN1965">1965</td><td class="line"> clipboard = gtk_widget_get_clipboard (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>, <span class='macro'>FR_CLIPBOARD<span class='macro_popup'>(gdk_atom_intern_static_string ("_RNGRAMPA_SPECIAL_CLIPBOARD"<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1966"><td class="num" id="LN1966">1966</td><td class="line"> running = window-&gt;priv-&gt;activity_ref &gt; 0;</td></tr>
+<tr class="codeline" data-linenumber="1967"><td class="num" id="LN1967">1967</td><td class="line"> no_archive = (window-&gt;archive == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) || ! window-&gt;priv-&gt;archive_present;</td></tr>
+<tr class="codeline" data-linenumber="1968"><td class="num" id="LN1968">1968</td><td class="line"> ro = ! no_archive &amp;&amp; window-&gt;archive-&gt;read_only;</td></tr>
+<tr class="codeline" data-linenumber="1969"><td class="num" id="LN1969">1969</td><td class="line"> compr_file = ! no_archive &amp;&amp; window-&gt;archive-&gt;is_compressed_file;</td></tr>
+<tr class="codeline" data-linenumber="1970"><td class="num" id="LN1970">1970</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1971"><td class="num" id="LN1971">1971</td><td class="line"> set_sensitive (window, <span class='string_literal'>"paste_item"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file &amp;&amp; (window-&gt;priv-&gt;list_mode != FR_WINDOW_LIST_MODE_FLAT) &amp;&amp; gtk_clipboard_wait_is_target_available (clipboard, <span class='macro'>FR_SPECIAL_URI_LIST<span class='macro_popup'>(gdk_atom_intern_static_string ("application/engrampa-uri-list"<br>))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="1972"><td class="num" id="LN1972">1972</td><td class="line"> set_sensitive (window, <span class='string_literal'>"popup_paste_item"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file &amp;&amp; (window-&gt;priv-&gt;list_mode != FR_WINDOW_LIST_MODE_FLAT) &amp;&amp; gtk_clipboard_wait_is_target_available (clipboard, <span class='macro'>FR_SPECIAL_URI_LIST<span class='macro_popup'>(gdk_atom_intern_static_string ("application/engrampa-uri-list"<br>))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="1973"><td class="num" id="LN1973">1973</td><td class="line"> set_sensitive (window, <span class='string_literal'>"popup_paste_item1"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file &amp;&amp; (window-&gt;priv-&gt;list_mode != FR_WINDOW_LIST_MODE_FLAT) &amp;&amp; gtk_clipboard_wait_is_target_available (clipboard, <span class='macro'>FR_SPECIAL_URI_LIST<span class='macro_popup'>(gdk_atom_intern_static_string ("application/engrampa-uri-list"<br>))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="1974"><td class="num" id="LN1974">1974</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1975"><td class="num" id="LN1975">1975</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1976"><td class="num" id="LN1976">1976</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1977"><td class="num" id="LN1977">1977</td><td class="line">fr_window_update_sensitivity (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1978"><td class="num" id="LN1978">1978</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1979"><td class="num" id="LN1979">1979</td><td class="line"> gboolean no_archive;</td></tr>
+<tr class="codeline" data-linenumber="1980"><td class="num" id="LN1980">1980</td><td class="line"> gboolean ro;</td></tr>
+<tr class="codeline" data-linenumber="1981"><td class="num" id="LN1981">1981</td><td class="line"> gboolean file_op;</td></tr>
+<tr class="codeline" data-linenumber="1982"><td class="num" id="LN1982">1982</td><td class="line"> gboolean running;</td></tr>
+<tr class="codeline" data-linenumber="1983"><td class="num" id="LN1983">1983</td><td class="line"> gboolean compr_file;</td></tr>
+<tr class="codeline" data-linenumber="1984"><td class="num" id="LN1984">1984</td><td class="line"> gboolean sel_not_null;</td></tr>
+<tr class="codeline" data-linenumber="1985"><td class="num" id="LN1985">1985</td><td class="line"> gboolean one_file_selected;</td></tr>
+<tr class="codeline" data-linenumber="1986"><td class="num" id="LN1986">1986</td><td class="line"> gboolean dir_selected;</td></tr>
+<tr class="codeline" data-linenumber="1987"><td class="num" id="LN1987">1987</td><td class="line"> <span class='keyword'>int</span> n_selected;</td></tr>
+<tr class="codeline" data-linenumber="1988"><td class="num" id="LN1988">1988</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1989"><td class="num" id="LN1989">1989</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;batch_mode)</td></tr>
+<tr class="codeline" data-linenumber="1990"><td class="num" id="LN1990">1990</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1991"><td class="num" id="LN1991">1991</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1992"><td class="num" id="LN1992">1992</td><td class="line"> running = window-&gt;priv-&gt;activity_ref &gt; 0;</td></tr>
+<tr class="codeline" data-linenumber="1993"><td class="num" id="LN1993">1993</td><td class="line"> no_archive = (window-&gt;archive == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) || ! window-&gt;priv-&gt;archive_present;</td></tr>
+<tr class="codeline" data-linenumber="1994"><td class="num" id="LN1994">1994</td><td class="line"> ro = ! no_archive &amp;&amp; window-&gt;archive-&gt;read_only;</td></tr>
+<tr class="codeline" data-linenumber="1995"><td class="num" id="LN1995">1995</td><td class="line"> file_op = ! no_archive &amp;&amp; ! window-&gt;priv-&gt;archive_new &amp;&amp; ! running;</td></tr>
+<tr class="codeline" data-linenumber="1996"><td class="num" id="LN1996">1996</td><td class="line"> compr_file = ! no_archive &amp;&amp; window-&gt;archive-&gt;is_compressed_file;</td></tr>
+<tr class="codeline" data-linenumber="1997"><td class="num" id="LN1997">1997</td><td class="line"> n_selected = fr_window_get_n_selected_files (window);</td></tr>
+<tr class="codeline" data-linenumber="1998"><td class="num" id="LN1998">1998</td><td class="line"> sel_not_null = n_selected &gt; 0;</td></tr>
+<tr class="codeline" data-linenumber="1999"><td class="num" id="LN1999">1999</td><td class="line"> one_file_selected = n_selected == 1;</td></tr>
+<tr class="codeline" data-linenumber="2000"><td class="num" id="LN2000">2000</td><td class="line"> dir_selected = selection_has_a_dir (window);</td></tr>
+<tr class="codeline" data-linenumber="2001"><td class="num" id="LN2001">2001</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2002"><td class="num" id="LN2002">2002</td><td class="line"> set_sensitive (window, <span class='string_literal'>"add_files_item"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file);</td></tr>
+<tr class="codeline" data-linenumber="2003"><td class="num" id="LN2003">2003</td><td class="line"> set_sensitive (window, <span class='string_literal'>"tool_add_files_item"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file);</td></tr>
+<tr class="codeline" data-linenumber="2004"><td class="num" id="LN2004">2004</td><td class="line"> set_sensitive (window, <span class='string_literal'>"add_folder_item"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file);</td></tr>
+<tr class="codeline" data-linenumber="2005"><td class="num" id="LN2005">2005</td><td class="line"> set_sensitive (window, <span class='string_literal'>"tool_add_folder_item"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file);</td></tr>
+<tr class="codeline" data-linenumber="2006"><td class="num" id="LN2006">2006</td><td class="line"> set_sensitive (window, <span class='string_literal'>"copy_item"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file &amp;&amp; sel_not_null &amp;&amp; (window-&gt;priv-&gt;list_mode != FR_WINDOW_LIST_MODE_FLAT));</td></tr>
+<tr class="codeline" data-linenumber="2007"><td class="num" id="LN2007">2007</td><td class="line"> set_sensitive (window, <span class='string_literal'>"popup_copy_item"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file &amp;&amp; sel_not_null &amp;&amp; (window-&gt;priv-&gt;list_mode != FR_WINDOW_LIST_MODE_FLAT));</td></tr>
+<tr class="codeline" data-linenumber="2008"><td class="num" id="LN2008">2008</td><td class="line"> set_sensitive (window, <span class='string_literal'>"popup_copy_item1"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file &amp;&amp; sel_not_null &amp;&amp; (window-&gt;priv-&gt;list_mode != FR_WINDOW_LIST_MODE_FLAT));</td></tr>
+<tr class="codeline" data-linenumber="2009"><td class="num" id="LN2009">2009</td><td class="line"> set_sensitive (window, <span class='string_literal'>"cut_item"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file &amp;&amp; sel_not_null &amp;&amp; (window-&gt;priv-&gt;list_mode != FR_WINDOW_LIST_MODE_FLAT));</td></tr>
+<tr class="codeline" data-linenumber="2010"><td class="num" id="LN2010">2010</td><td class="line"> set_sensitive (window, <span class='string_literal'>"popup_cut_item"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file &amp;&amp; sel_not_null &amp;&amp; (window-&gt;priv-&gt;list_mode != FR_WINDOW_LIST_MODE_FLAT));</td></tr>
+<tr class="codeline" data-linenumber="2011"><td class="num" id="LN2011">2011</td><td class="line"> set_sensitive (window, <span class='string_literal'>"popup_cut_item1"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file &amp;&amp; sel_not_null &amp;&amp; (window-&gt;priv-&gt;list_mode != FR_WINDOW_LIST_MODE_FLAT));</td></tr>
+<tr class="codeline" data-linenumber="2012"><td class="num" id="LN2012">2012</td><td class="line"> set_sensitive (window, <span class='string_literal'>"delete_item"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! window-&gt;priv-&gt;archive_new &amp;&amp; ! running &amp;&amp; ! compr_file);</td></tr>
+<tr class="codeline" data-linenumber="2013"><td class="num" id="LN2013">2013</td><td class="line"> set_sensitive (window, <span class='string_literal'>"popup_delete_item"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! window-&gt;priv-&gt;archive_new &amp;&amp; ! running &amp;&amp; ! compr_file);</td></tr>
+<tr class="codeline" data-linenumber="2014"><td class="num" id="LN2014">2014</td><td class="line"> set_sensitive (window, <span class='string_literal'>"popup_delete_item1"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! window-&gt;priv-&gt;archive_new &amp;&amp; ! running &amp;&amp; ! compr_file);</td></tr>
+<tr class="codeline" data-linenumber="2015"><td class="num" id="LN2015">2015</td><td class="line"> set_sensitive (window, <span class='string_literal'>"deselect_all_item"</span>, ! no_archive &amp;&amp; sel_not_null);</td></tr>
+<tr class="codeline" data-linenumber="2016"><td class="num" id="LN2016">2016</td><td class="line"> set_sensitive (window, <span class='string_literal'>"extract_item"</span>, file_op);</td></tr>
+<tr class="codeline" data-linenumber="2017"><td class="num" id="LN2017">2017</td><td class="line"> set_sensitive (window, <span class='string_literal'>"tool_extract_item"</span>, file_op);</td></tr>
+<tr class="codeline" data-linenumber="2018"><td class="num" id="LN2018">2018</td><td class="line"> set_sensitive (window, <span class='string_literal'>"find_item"</span>, ! no_archive);</td></tr>
+<tr class="codeline" data-linenumber="2019"><td class="num" id="LN2019">2019</td><td class="line"> set_sensitive (window, <span class='string_literal'>"last_output_item"</span>, ((window-&gt;archive != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2020"><td class="num" id="LN2020">2020</td><td class="line"> &amp;&amp; (window-&gt;archive-&gt;process != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2021"><td class="num" id="LN2021">2021</td><td class="line"> &amp;&amp; (window-&gt;archive-&gt;process-&gt;out.raw != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)));</td></tr>
+<tr class="codeline" data-linenumber="2022"><td class="num" id="LN2022">2022</td><td class="line"> set_sensitive (window, <span class='string_literal'>"new_item"</span>, ! running);</td></tr>
+<tr class="codeline" data-linenumber="2023"><td class="num" id="LN2023">2023</td><td class="line"> set_sensitive (window, <span class='string_literal'>"tool_new_item"</span>, ! running);</td></tr>
+<tr class="codeline" data-linenumber="2024"><td class="num" id="LN2024">2024</td><td class="line"> set_sensitive (window, <span class='string_literal'>"open_item"</span>, ! running);</td></tr>
+<tr class="codeline" data-linenumber="2025"><td class="num" id="LN2025">2025</td><td class="line"> set_sensitive (window, <span class='string_literal'>"popup_open_select_item"</span>, file_op &amp;&amp; sel_not_null &amp;&amp; ! dir_selected);</td></tr>
+<tr class="codeline" data-linenumber="2026"><td class="num" id="LN2026">2026</td><td class="line"> set_sensitive (window, <span class='string_literal'>"popup_open_item1"</span>, file_op &amp;&amp; one_file_selected &amp;&amp; dir_selected);</td></tr>
+<tr class="codeline" data-linenumber="2027"><td class="num" id="LN2027">2027</td><td class="line"> set_sensitive (window, <span class='string_literal'>"password_item"</span>, ! running &amp;&amp; (window-&gt;priv-&gt;asked_for_password || (! no_archive &amp;&amp; window-&gt;archive-&gt;command-&gt;propPassword)));</td></tr>
+<tr class="codeline" data-linenumber="2028"><td class="num" id="LN2028">2028</td><td class="line"> set_sensitive (window, <span class='string_literal'>"properties_item"</span>, file_op);</td></tr>
+<tr class="codeline" data-linenumber="2029"><td class="num" id="LN2029">2029</td><td class="line"> set_sensitive (window, <span class='string_literal'>"close_item"</span>, !running || window-&gt;priv-&gt;stoppable);</td></tr>
+<tr class="codeline" data-linenumber="2030"><td class="num" id="LN2030">2030</td><td class="line"> set_sensitive (window, <span class='string_literal'>"reload_item"</span>, ! (no_archive || running));</td></tr>
+<tr class="codeline" data-linenumber="2031"><td class="num" id="LN2031">2031</td><td class="line"> set_sensitive (window, <span class='string_literal'>"rename_item"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file &amp;&amp; one_file_selected);</td></tr>
+<tr class="codeline" data-linenumber="2032"><td class="num" id="LN2032">2032</td><td class="line"> set_sensitive (window, <span class='string_literal'>"popup_rename_item"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file &amp;&amp; one_file_selected);</td></tr>
+<tr class="codeline" data-linenumber="2033"><td class="num" id="LN2033">2033</td><td class="line"> set_sensitive (window, <span class='string_literal'>"popup_rename_item1"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file &amp;&amp; one_file_selected);</td></tr>
+<tr class="codeline" data-linenumber="2034"><td class="num" id="LN2034">2034</td><td class="line"> set_sensitive (window, <span class='string_literal'>"open_saveas_item"</span>, ! no_archive &amp;&amp; ! compr_file &amp;&amp; ! running);</td></tr>
+<tr class="codeline" data-linenumber="2035"><td class="num" id="LN2035">2035</td><td class="line"> set_sensitive (window, <span class='string_literal'>"select_all_item"</span>, ! no_archive);</td></tr>
+<tr class="codeline" data-linenumber="2036"><td class="num" id="LN2036">2036</td><td class="line"> set_sensitive (window, <span class='string_literal'>"stop_item"</span>, running &amp;&amp; window-&gt;priv-&gt;stoppable);</td></tr>
+<tr class="codeline" data-linenumber="2037"><td class="num" id="LN2037">2037</td><td class="line"> set_sensitive (window, <span class='string_literal'>"tool_stop_item"</span>, running &amp;&amp; window-&gt;priv-&gt;stoppable);</td></tr>
+<tr class="codeline" data-linenumber="2038"><td class="num" id="LN2038">2038</td><td class="line"> set_sensitive (window, <span class='string_literal'>"test_integrity_item"</span>, ! no_archive &amp;&amp; ! running &amp;&amp; window-&gt;archive-&gt;command-&gt;propTest);</td></tr>
+<tr class="codeline" data-linenumber="2039"><td class="num" id="LN2039">2039</td><td class="line"> set_sensitive (window, <span class='string_literal'>"popup_open_item"</span>, file_op &amp;&amp; one_file_selected &amp;&amp; ! dir_selected);</td></tr>
+<tr class="codeline" data-linenumber="2040"><td class="num" id="LN2040">2040</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2041"><td class="num" id="LN2041">2041</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_dialog != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2042"><td class="num" id="LN2042">2042</td><td class="line"> gtk_dialog_set_response_sensitive (<span class='macro'>GTK_DIALOG (window-&gt;priv-&gt;progress_dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_dialog)), ((gtk_dialog_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2043"><td class="num" id="LN2043">2043</td><td class="line"> GTK_RESPONSE_OK,</td></tr>
+<tr class="codeline" data-linenumber="2044"><td class="num" id="LN2044">2044</td><td class="line"> running &amp;&amp; window-&gt;priv-&gt;stoppable);</td></tr>
+<tr class="codeline" data-linenumber="2045"><td class="num" id="LN2045">2045</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2046"><td class="num" id="LN2046">2046</td><td class="line"> fr_window_update_paste_command_sensitivity (window, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2047"><td class="num" id="LN2047">2047</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2048"><td class="num" id="LN2048">2048</td><td class="line"> set_sensitive (window, <span class='string_literal'>"select_all_item"</span>, (window-&gt;priv-&gt;current_view_length &gt; 0) &amp;&amp; (window-&gt;priv-&gt;current_view_length != n_selected));</td></tr>
+<tr class="codeline" data-linenumber="2049"><td class="num" id="LN2049">2049</td><td class="line"> set_sensitive (window, <span class='string_literal'>"deselect_all_item"</span>, n_selected &gt; 0);</td></tr>
+<tr class="codeline" data-linenumber="2050"><td class="num" id="LN2050">2050</td><td class="line"> set_sensitive (window, <span class='string_literal'>"open_recent_item"</span>, ! running);</td></tr>
+<tr class="codeline" data-linenumber="2051"><td class="num" id="LN2051">2051</td><td class="line"> set_sensitive (window, <span class='string_literal'>"tool_open_recent_item"</span>, ! running);</td></tr>
+<tr class="codeline" data-linenumber="2052"><td class="num" id="LN2052">2052</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2053"><td class="num" id="LN2053">2053</td><td class="line"> set_sensitive (window, <span class='string_literal'>"view_folder_item"</span>, (window-&gt;priv-&gt;list_mode == FR_WINDOW_LIST_MODE_AS_DIR));</td></tr>
+<tr class="codeline" data-linenumber="2054"><td class="num" id="LN2054">2054</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2055"><td class="num" id="LN2055">2055</td><td class="line"> set_sensitive (window, <span class='string_literal'>"view_all_files_item"</span>, ! window-&gt;priv-&gt;filter_mode);</td></tr>
+<tr class="codeline" data-linenumber="2056"><td class="num" id="LN2056">2056</td><td class="line"> set_sensitive (window, <span class='string_literal'>"view_as_folder_item"</span>, ! window-&gt;priv-&gt;filter_mode);</td></tr>
+<tr class="codeline" data-linenumber="2057"><td class="num" id="LN2057">2057</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2058"><td class="num" id="LN2058">2058</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2059"><td class="num" id="LN2059">2059</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="2060"><td class="num" id="LN2060">2060</td><td class="line">location_entry_key_press_event_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="2061"><td class="num" id="LN2061">2061</td><td class="line"> GdkEventKey *event,</td></tr>
+<tr class="codeline" data-linenumber="2062"><td class="num" id="LN2062">2062</td><td class="line"> FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2063"><td class="num" id="LN2063">2063</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2064"><td class="num" id="LN2064">2064</td><td class="line"> <span class='keyword'>if</span> ((event-&gt;keyval == <span class='macro'>GDK_KEY_Return<span class='macro_popup'>0xff0d</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2065"><td class="num" id="LN2065">2065</td><td class="line"> || (event-&gt;keyval == <span class='macro'>GDK_KEY_KP_Enter<span class='macro_popup'>0xff8d</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2066"><td class="num" id="LN2066">2066</td><td class="line"> || (event-&gt;keyval == <span class='macro'>GDK_KEY_ISO_Enter<span class='macro_popup'>0xfe34</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="2067"><td class="num" id="LN2067">2067</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="2068"><td class="num" id="LN2068">2068</td><td class="line"> fr_window_go_to_location (window, gtk_entry_get_text (<span class='macro'>GTK_ENTRY (window-&gt;priv-&gt;location_entry)<span class='macro_popup'>((((GtkEntry*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;location_entry)), ((gtk_entry_get_type<br> ()))))))</span></span>), <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2069"><td class="num" id="LN2069">2069</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2070"><td class="num" id="LN2070">2070</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2071"><td class="num" id="LN2071">2071</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2072"><td class="num" id="LN2072">2072</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2073"><td class="num" id="LN2073">2073</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2074"><td class="num" id="LN2074">2074</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="2075"><td class="num" id="LN2075">2075</td><td class="line">real_close_progress_dialog (gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="2076"><td class="num" id="LN2076">2076</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2077"><td class="num" id="LN2077">2077</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="2078"><td class="num" id="LN2078">2078</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2079"><td class="num" id="LN2079">2079</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;hide_progress_timeout != 0) {</td></tr>
+<tr class="codeline" data-linenumber="2080"><td class="num" id="LN2080">2080</td><td class="line"> g_source_remove (window-&gt;priv-&gt;hide_progress_timeout);</td></tr>
+<tr class="codeline" data-linenumber="2081"><td class="num" id="LN2081">2081</td><td class="line"> window-&gt;priv-&gt;hide_progress_timeout = 0;</td></tr>
+<tr class="codeline" data-linenumber="2082"><td class="num" id="LN2082">2082</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2083"><td class="num" id="LN2083">2083</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2084"><td class="num" id="LN2084">2084</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_dialog != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2085"><td class="num" id="LN2085">2085</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;progress_dialog);</td></tr>
+<tr class="codeline" data-linenumber="2086"><td class="num" id="LN2086">2086</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2087"><td class="num" id="LN2087">2087</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2088"><td class="num" id="LN2088">2088</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2089"><td class="num" id="LN2089">2089</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2090"><td class="num" id="LN2090">2090</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> close_suspend_process(FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2091"><td class="num" id="LN2091">2091</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2092"><td class="num" id="LN2092">2092</td><td class="line"> <span class='keyword'>if</span> (window-&gt;archive-&gt;process != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2093"><td class="num" id="LN2093">2093</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="2094"><td class="num" id="LN2094">2094</td><td class="line"> start_close_suspend_process(window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="2095"><td class="num" id="LN2095">2095</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2096"><td class="num" id="LN2096">2096</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2097"><td class="num" id="LN2097">2097</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2098"><td class="num" id="LN2098">2098</td><td class="line">close_progress_dialog (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="2099"><td class="num" id="LN2099">2099</td><td class="line"> gboolean close_now)</td></tr>
+<tr class="codeline" data-linenumber="2100"><td class="num" id="LN2100">2100</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2101"><td class="num" id="LN2101">2101</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_timeout != 0) {</td></tr>
+<tr class="codeline" data-linenumber="2102"><td class="num" id="LN2102">2102</td><td class="line"> g_source_remove (window-&gt;priv-&gt;progress_timeout);</td></tr>
+<tr class="codeline" data-linenumber="2103"><td class="num" id="LN2103">2103</td><td class="line"> window-&gt;priv-&gt;progress_timeout = 0;</td></tr>
+<tr class="codeline" data-linenumber="2104"><td class="num" id="LN2104">2104</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2105"><td class="num" id="LN2105">2105</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2106"><td class="num" id="LN2106">2106</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;batch_mode &amp;&amp; gtk_widget_get_mapped (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="2107"><td class="num" id="LN2107">2107</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;progress_bar);</td></tr>
+<tr class="codeline" data-linenumber="2108"><td class="num" id="LN2108">2108</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2109"><td class="num" id="LN2109">2109</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_dialog == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2110"><td class="num" id="LN2110">2110</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2111"><td class="num" id="LN2111">2111</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2112"><td class="num" id="LN2112">2112</td><td class="line"> <span class='keyword'>if</span> (close_now) {</td></tr>
+<tr class="codeline" data-linenumber="2113"><td class="num" id="LN2113">2113</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;hide_progress_timeout != 0) {</td></tr>
+<tr class="codeline" data-linenumber="2114"><td class="num" id="LN2114">2114</td><td class="line"> g_source_remove (window-&gt;priv-&gt;hide_progress_timeout);</td></tr>
+<tr class="codeline" data-linenumber="2115"><td class="num" id="LN2115">2115</td><td class="line"> window-&gt;priv-&gt;hide_progress_timeout = 0;</td></tr>
+<tr class="codeline" data-linenumber="2116"><td class="num" id="LN2116">2116</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2117"><td class="num" id="LN2117">2117</td><td class="line"> real_close_progress_dialog (window);</td></tr>
+<tr class="codeline" data-linenumber="2118"><td class="num" id="LN2118">2118</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2119"><td class="num" id="LN2119">2119</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="2120"><td class="num" id="LN2120">2120</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;hide_progress_timeout != 0)</td></tr>
+<tr class="codeline" data-linenumber="2121"><td class="num" id="LN2121">2121</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2122"><td class="num" id="LN2122">2122</td><td class="line"> window-&gt;priv-&gt;hide_progress_timeout = g_timeout_add (<span class='macro'>HIDE_PROGRESS_TIMEOUT_MSECS<span class='macro_popup'>500</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2123"><td class="num" id="LN2123">2123</td><td class="line"> real_close_progress_dialog,</td></tr>
+<tr class="codeline" data-linenumber="2124"><td class="num" id="LN2124">2124</td><td class="line"> window);</td></tr>
+<tr class="codeline" data-linenumber="2125"><td class="num" id="LN2125">2125</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2126"><td class="num" id="LN2126">2126</td><td class="line"> close_suspend_process(window);</td></tr>
+<tr class="codeline" data-linenumber="2127"><td class="num" id="LN2127">2127</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2128"><td class="num" id="LN2128">2128</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2129"><td class="num" id="LN2129">2129</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="2130"><td class="num" id="LN2130">2130</td><td class="line">progress_dialog_delete_event (GtkWidget *caller,</td></tr>
+<tr class="codeline" data-linenumber="2131"><td class="num" id="LN2131">2131</td><td class="line"> GdkEvent *event,</td></tr>
+<tr class="codeline" data-linenumber="2132"><td class="num" id="LN2132">2132</td><td class="line"> FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2133"><td class="num" id="LN2133">2133</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2134"><td class="num" id="LN2134">2134</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;stoppable) {</td></tr>
+<tr class="codeline" data-linenumber="2135"><td class="num" id="LN2135">2135</td><td class="line"> activate_action_stop (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, window);</td></tr>
+<tr class="codeline" data-linenumber="2136"><td class="num" id="LN2136">2136</td><td class="line"> close_progress_dialog (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2137"><td class="num" id="LN2137">2137</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2138"><td class="num" id="LN2138">2138</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2139"><td class="num" id="LN2139">2139</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2140"><td class="num" id="LN2140">2140</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2141"><td class="num" id="LN2141">2141</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2142"><td class="num" id="LN2142">2142</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2143"><td class="num" id="LN2143">2143</td><td class="line">open_folder (GtkWindow *parent,</td></tr>
+<tr class="codeline" data-linenumber="2144"><td class="num" id="LN2144">2144</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *folder)</td></tr>
+<tr class="codeline" data-linenumber="2145"><td class="num" id="LN2145">2145</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2146"><td class="num" id="LN2146">2146</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2147"><td class="num" id="LN2147">2147</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2148"><td class="num" id="LN2148">2148</td><td class="line"> <span class='keyword'>if</span> (folder == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2149"><td class="num" id="LN2149">2149</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2150"><td class="num" id="LN2150">2150</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2151"><td class="num" id="LN2151">2151</td><td class="line"> <span class='keyword'>if</span> (! gtk_show_uri_on_window (parent, folder, <span class='macro'>GDK_CURRENT_TIME<span class='macro_popup'>0L</span></span>, &amp;error)) {</td></tr>
+<tr class="codeline" data-linenumber="2152"><td class="num" id="LN2152">2152</td><td class="line"> GtkWidget *d;</td></tr>
+<tr class="codeline" data-linenumber="2153"><td class="num" id="LN2153">2153</td><td class="line"> <span class='keyword'>char</span> *utf8_name;</td></tr>
+<tr class="codeline" data-linenumber="2154"><td class="num" id="LN2154">2154</td><td class="line"> <span class='keyword'>char</span> *message;</td></tr>
+<tr class="codeline" data-linenumber="2155"><td class="num" id="LN2155">2155</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2156"><td class="num" id="LN2156">2156</td><td class="line"> utf8_name = g_filename_display_name (folder);</td></tr>
+<tr class="codeline" data-linenumber="2157"><td class="num" id="LN2157">2157</td><td class="line"> message = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Could not display the folder \"%s\""</span>)<span class='macro_popup'>gettext ("Could not display the folder \"%s\"")</span></span>, utf8_name);</td></tr>
+<tr class="codeline" data-linenumber="2158"><td class="num" id="LN2158">2158</td><td class="line"> g_free (utf8_name);</td></tr>
+<tr class="codeline" data-linenumber="2159"><td class="num" id="LN2159">2159</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2160"><td class="num" id="LN2160">2160</td><td class="line"> d = _gtk_error_dialog_new (parent,</td></tr>
+<tr class="codeline" data-linenumber="2161"><td class="num" id="LN2161">2161</td><td class="line"> GTK_DIALOG_MODAL,</td></tr>
+<tr class="codeline" data-linenumber="2162"><td class="num" id="LN2162">2162</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2163"><td class="num" id="LN2163">2163</td><td class="line"> message,</td></tr>
+<tr class="codeline" data-linenumber="2164"><td class="num" id="LN2164">2164</td><td class="line"> <span class='string_literal'>"%s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="2165"><td class="num" id="LN2165">2165</td><td class="line"> error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="2166"><td class="num" id="LN2166">2166</td><td class="line"> gtk_dialog_run (<span class='macro'>GTK_DIALOG (d)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_dialog_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2167"><td class="num" id="LN2167">2167</td><td class="line"> gtk_widget_destroy (d);</td></tr>
+<tr class="codeline" data-linenumber="2168"><td class="num" id="LN2168">2168</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2169"><td class="num" id="LN2169">2169</td><td class="line"> g_free (message);</td></tr>
+<tr class="codeline" data-linenumber="2170"><td class="num" id="LN2170">2170</td><td class="line"> g_clear_error (&amp;error);</td></tr>
+<tr class="codeline" data-linenumber="2171"><td class="num" id="LN2171">2171</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2172"><td class="num" id="LN2172">2172</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2173"><td class="num" id="LN2173">2173</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2174"><td class="num" id="LN2174">2174</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2175"><td class="num" id="LN2175">2175</td><td class="line">fr_window_view_extraction_destination_folder (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2176"><td class="num" id="LN2176">2176</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2177"><td class="num" id="LN2177">2177</td><td class="line"> open_folder (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>, fr_archive_get_last_extraction_destination (window-&gt;archive));</td></tr>
+<tr class="codeline" data-linenumber="2178"><td class="num" id="LN2178">2178</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2179"><td class="num" id="LN2179">2179</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2180"><td class="num" id="LN2180">2180</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> change_button_label (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="2181"><td class="num" id="LN2181">2181</td><td class="line"> GtkWidget *button)</td></tr>
+<tr class="codeline" data-linenumber="2182"><td class="num" id="LN2182">2182</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2183"><td class="num" id="LN2183">2183</td><td class="line"> <span class='keyword'>const</span> gchar *state;</td></tr>
+<tr class="codeline" data-linenumber="2184"><td class="num" id="LN2184">2184</td><td class="line"> state = gtk_button_get_label (<span class='macro'>GTK_BUTTON (button)<span class='macro_popup'>((((GtkButton*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((button)), ((gtk_button_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2185"><td class="num" id="LN2185">2185</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2186"><td class="num" id="LN2186">2186</td><td class="line"> <span class='keyword'>if</span> (g_strrstr (<span class='macro'>_(<span class='string_literal'>"_Pause"</span>)<span class='macro_popup'>gettext ("_Pause")</span></span>, state) != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2187"><td class="num" id="LN2187">2187</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="2188"><td class="num" id="LN2188">2188</td><td class="line"> gtk_widget_set_visible (window-&gt;priv-&gt;pd_progress_bar, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2189"><td class="num" id="LN2189">2189</td><td class="line"> fr_command_message (window-&gt;archive-&gt;command, <span class='macro'>_(<span class='string_literal'>"Process paused"</span>)<span class='macro_popup'>gettext ("Process paused")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2190"><td class="num" id="LN2190">2190</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2191"><td class="num" id="LN2191">2191</td><td class="line"> gtk_button_set_label (<span class='macro'>GTK_BUTTON (button)<span class='macro_popup'>((((GtkButton*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((button)), ((gtk_button_get_type ()))))))</span></span>, <span class='macro'>_(<span class='string_literal'>"_Resume"</span>)<span class='macro_popup'>gettext ("_Resume")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2192"><td class="num" id="LN2192">2192</td><td class="line"> gtk_button_set_image (<span class='macro'>GTK_BUTTON (button)<span class='macro_popup'>((((GtkButton*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((button)), ((gtk_button_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2193"><td class="num" id="LN2193">2193</td><td class="line"> gtk_image_new_from_icon_name (<span class='string_literal'>"media-playback-start"</span>,</td></tr>
+<tr class="codeline" data-linenumber="2194"><td class="num" id="LN2194">2194</td><td class="line"> GTK_ICON_SIZE_BUTTON));</td></tr>
+<tr class="codeline" data-linenumber="2195"><td class="num" id="LN2195">2195</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2196"><td class="num" id="LN2196">2196</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="2197"><td class="num" id="LN2197">2197</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="2198"><td class="num" id="LN2198">2198</td><td class="line"> gtk_widget_set_visible (window-&gt;priv-&gt;pd_progress_bar, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2199"><td class="num" id="LN2199">2199</td><td class="line"> fr_command_message (window-&gt;archive-&gt;command, <span class='macro'>_(<span class='string_literal'>"Please wait…"</span>)<span class='macro_popup'>gettext ("Please wait…")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2200"><td class="num" id="LN2200">2200</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2201"><td class="num" id="LN2201">2201</td><td class="line"> gtk_button_set_label (<span class='macro'>GTK_BUTTON(button)<span class='macro_popup'>((((GtkButton*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((button)), ((gtk_button_get_type ()))))))</span></span>, <span class='macro'>_(<span class='string_literal'>"_Pause"</span>)<span class='macro_popup'>gettext ("_Pause")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2202"><td class="num" id="LN2202">2202</td><td class="line"> gtk_button_set_image (<span class='macro'>GTK_BUTTON (button)<span class='macro_popup'>((((GtkButton*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((button)), ((gtk_button_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2203"><td class="num" id="LN2203">2203</td><td class="line"> gtk_image_new_from_icon_name (<span class='string_literal'>"media-playback-pause"</span>,</td></tr>
+<tr class="codeline" data-linenumber="2204"><td class="num" id="LN2204">2204</td><td class="line"> GTK_ICON_SIZE_BUTTON));</td></tr>
+<tr class="codeline" data-linenumber="2205"><td class="num" id="LN2205">2205</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2206"><td class="num" id="LN2206">2206</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2207"><td class="num" id="LN2207">2207</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2208"><td class="num" id="LN2208">2208</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2209"><td class="num" id="LN2209">2209</td><td class="line">fr_state_switch (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2210"><td class="num" id="LN2210">2210</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2211"><td class="num" id="LN2211">2211</td><td class="line"> <span class='keyword'>if</span> ((window-&gt;archive-&gt;process != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="2212"><td class="num" id="LN2212">2212</td><td class="line"> ((start_switch_state (window-&gt;archive-&gt;process) == 0))) {</td></tr>
+<tr class="codeline" data-linenumber="2213"><td class="num" id="LN2213">2213</td><td class="line"> change_button_label (window, window-&gt;priv-&gt;pd_state_button);</td></tr>
+<tr class="codeline" data-linenumber="2214"><td class="num" id="LN2214">2214</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2215"><td class="num" id="LN2215">2215</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2216"><td class="num" id="LN2216">2216</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2217"><td class="num" id="LN2217">2217</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2218"><td class="num" id="LN2218">2218</td><td class="line">progress_dialog_response (GtkDialog *dialog,</td></tr>
+<tr class="codeline" data-linenumber="2219"><td class="num" id="LN2219">2219</td><td class="line"> <span class='keyword'>int</span> response_id,</td></tr>
+<tr class="codeline" data-linenumber="2220"><td class="num" id="LN2220">2220</td><td class="line"> FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2221"><td class="num" id="LN2221">2221</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2222"><td class="num" id="LN2222">2222</td><td class="line"> GtkWidget *new_window;</td></tr>
+<tr class="codeline" data-linenumber="2223"><td class="num" id="LN2223">2223</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2224"><td class="num" id="LN2224">2224</td><td class="line"> <span class='keyword'>switch</span> (response_id) {</td></tr>
+<tr class="codeline" data-linenumber="2225"><td class="num" id="LN2225">2225</td><td class="line"> <span class='keyword'>case</span> GTK_RESPONSE_CANCEL:</td></tr>
+<tr class="codeline" data-linenumber="2226"><td class="num" id="LN2226">2226</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;stoppable) {</td></tr>
+<tr class="codeline" data-linenumber="2227"><td class="num" id="LN2227">2227</td><td class="line"> activate_action_stop (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, window);</td></tr>
+<tr class="codeline" data-linenumber="2228"><td class="num" id="LN2228">2228</td><td class="line"> close_progress_dialog (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2229"><td class="num" id="LN2229">2229</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2230"><td class="num" id="LN2230">2230</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2231"><td class="num" id="LN2231">2231</td><td class="line"> <span class='keyword'>case</span> GTK_RESPONSE_CLOSE:</td></tr>
+<tr class="codeline" data-linenumber="2232"><td class="num" id="LN2232">2232</td><td class="line"> close_progress_dialog (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2233"><td class="num" id="LN2233">2233</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2234"><td class="num" id="LN2234">2234</td><td class="line"> <span class='keyword'>case</span> DIALOG_RESPONSE_OPEN_ARCHIVE:</td></tr>
+<tr class="codeline" data-linenumber="2235"><td class="num" id="LN2235">2235</td><td class="line"> new_window = fr_window_new ();</td></tr>
+<tr class="codeline" data-linenumber="2236"><td class="num" id="LN2236">2236</td><td class="line"> gtk_widget_show (new_window);</td></tr>
+<tr class="codeline" data-linenumber="2237"><td class="num" id="LN2237">2237</td><td class="line"> fr_window_archive_open (<span class='macro'>FR_WINDOW (new_window)<span class='macro_popup'>((((FrWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((new_window)), ((fr_window_get_type ()))))))</span></span>, window-&gt;priv-&gt;convert_data.new_file, <span class='macro'>GTK_WINDOW (new_window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((new_window)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2238"><td class="num" id="LN2238">2238</td><td class="line"> close_progress_dialog (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2239"><td class="num" id="LN2239">2239</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2240"><td class="num" id="LN2240">2240</td><td class="line"> <span class='keyword'>case</span> DIALOG_RESPONSE_OPEN_DESTINATION_FOLDER:</td></tr>
+<tr class="codeline" data-linenumber="2241"><td class="num" id="LN2241">2241</td><td class="line"> fr_window_view_extraction_destination_folder (window);</td></tr>
+<tr class="codeline" data-linenumber="2242"><td class="num" id="LN2242">2242</td><td class="line"> close_progress_dialog (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2243"><td class="num" id="LN2243">2243</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2244"><td class="num" id="LN2244">2244</td><td class="line"> <span class='keyword'>case</span> DIALOG_RESPONSE_OPEN_DESTINATION_FOLDER_AND_QUIT:</td></tr>
+<tr class="codeline" data-linenumber="2245"><td class="num" id="LN2245">2245</td><td class="line"> fr_window_view_extraction_destination_folder (window);</td></tr>
+<tr class="codeline" data-linenumber="2246"><td class="num" id="LN2246">2246</td><td class="line"> close_progress_dialog (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2247"><td class="num" id="LN2247">2247</td><td class="line"> fr_window_close (window);</td></tr>
+<tr class="codeline" data-linenumber="2248"><td class="num" id="LN2248">2248</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2249"><td class="num" id="LN2249">2249</td><td class="line"> <span class='keyword'>case</span> DIALOG_RESPONSE_QUIT:</td></tr>
+<tr class="codeline" data-linenumber="2250"><td class="num" id="LN2250">2250</td><td class="line"> fr_window_close (window);</td></tr>
+<tr class="codeline" data-linenumber="2251"><td class="num" id="LN2251">2251</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2252"><td class="num" id="LN2252">2252</td><td class="line"> <span class='keyword'>case</span> GTK_RESPONSE_ACCEPT:</td></tr>
+<tr class="codeline" data-linenumber="2253"><td class="num" id="LN2253">2253</td><td class="line"> fr_state_switch (window);</td></tr>
+<tr class="codeline" data-linenumber="2254"><td class="num" id="LN2254">2254</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2255"><td class="num" id="LN2255">2255</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="2256"><td class="num" id="LN2256">2256</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2257"><td class="num" id="LN2257">2257</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2258"><td class="num" id="LN2258">2258</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2259"><td class="num" id="LN2259">2259</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2260"><td class="num" id="LN2260">2260</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>char</span>*</td></tr>
+<tr class="codeline" data-linenumber="2261"><td class="num" id="LN2261">2261</td><td class="line">get_action_description (FrAction action,</td></tr>
+<tr class="codeline" data-linenumber="2262"><td class="num" id="LN2262">2262</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *uri)</td></tr>
+<tr class="codeline" data-linenumber="2263"><td class="num" id="LN2263">2263</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2264"><td class="num" id="LN2264">2264</td><td class="line"> <span class='keyword'>char</span> *basename;</td></tr>
+<tr class="codeline" data-linenumber="2265"><td class="num" id="LN2265">2265</td><td class="line"> <span class='keyword'>char</span> *message;</td></tr>
+<tr class="codeline" data-linenumber="2266"><td class="num" id="LN2266">2266</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2267"><td class="num" id="LN2267">2267</td><td class="line"> basename = (uri != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) ? g_uri_display_basename (uri) : <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2268"><td class="num" id="LN2268">2268</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2269"><td class="num" id="LN2269">2269</td><td class="line"> message = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2270"><td class="num" id="LN2270">2270</td><td class="line"> <span class='keyword'>switch</span> (action) {</td></tr>
+<tr class="codeline" data-linenumber="2271"><td class="num" id="LN2271">2271</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_CREATING_NEW_ARCHIVE:</td></tr>
+<tr class="codeline" data-linenumber="2272"><td class="num" id="LN2272">2272</td><td class="line"> <span class='comment'>/* Translators: %s is a filename */</span></td></tr>
+<tr class="codeline" data-linenumber="2273"><td class="num" id="LN2273">2273</td><td class="line"> message = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Creating \"%s\""</span>)<span class='macro_popup'>gettext ("Creating \"%s\"")</span></span>, basename);</td></tr>
+<tr class="codeline" data-linenumber="2274"><td class="num" id="LN2274">2274</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2275"><td class="num" id="LN2275">2275</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_LOADING_ARCHIVE:</td></tr>
+<tr class="codeline" data-linenumber="2276"><td class="num" id="LN2276">2276</td><td class="line"> <span class='comment'>/* Translators: %s is a filename */</span></td></tr>
+<tr class="codeline" data-linenumber="2277"><td class="num" id="LN2277">2277</td><td class="line"> message = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Loading \"%s\""</span>)<span class='macro_popup'>gettext ("Loading \"%s\"")</span></span>, basename);</td></tr>
+<tr class="codeline" data-linenumber="2278"><td class="num" id="LN2278">2278</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2279"><td class="num" id="LN2279">2279</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_LISTING_CONTENT:</td></tr>
+<tr class="codeline" data-linenumber="2280"><td class="num" id="LN2280">2280</td><td class="line"> <span class='comment'>/* Translators: %s is a filename */</span></td></tr>
+<tr class="codeline" data-linenumber="2281"><td class="num" id="LN2281">2281</td><td class="line"> message = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Reading \"%s\""</span>)<span class='macro_popup'>gettext ("Reading \"%s\"")</span></span>, basename);</td></tr>
+<tr class="codeline" data-linenumber="2282"><td class="num" id="LN2282">2282</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2283"><td class="num" id="LN2283">2283</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_DELETING_FILES:</td></tr>
+<tr class="codeline" data-linenumber="2284"><td class="num" id="LN2284">2284</td><td class="line"> <span class='comment'>/* Translators: %s is a filename */</span></td></tr>
+<tr class="codeline" data-linenumber="2285"><td class="num" id="LN2285">2285</td><td class="line"> message = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Deleting files from \"%s\""</span>)<span class='macro_popup'>gettext ("Deleting files from \"%s\"")</span></span>, basename);</td></tr>
+<tr class="codeline" data-linenumber="2286"><td class="num" id="LN2286">2286</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2287"><td class="num" id="LN2287">2287</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_TESTING_ARCHIVE:</td></tr>
+<tr class="codeline" data-linenumber="2288"><td class="num" id="LN2288">2288</td><td class="line"> <span class='comment'>/* Translators: %s is a filename */</span></td></tr>
+<tr class="codeline" data-linenumber="2289"><td class="num" id="LN2289">2289</td><td class="line"> message = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Testing \"%s\""</span>)<span class='macro_popup'>gettext ("Testing \"%s\"")</span></span>, basename);</td></tr>
+<tr class="codeline" data-linenumber="2290"><td class="num" id="LN2290">2290</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2291"><td class="num" id="LN2291">2291</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_GETTING_FILE_LIST:</td></tr>
+<tr class="codeline" data-linenumber="2292"><td class="num" id="LN2292">2292</td><td class="line"> message = <span class='macro'>g_strdup (_(<span class='string_literal'>"Getting the file list"</span>))<span class='macro_popup'>g_strdup_inline (gettext ("Getting the file list"))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2293"><td class="num" id="LN2293">2293</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2294"><td class="num" id="LN2294">2294</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_COPYING_FILES_FROM_REMOTE:</td></tr>
+<tr class="codeline" data-linenumber="2295"><td class="num" id="LN2295">2295</td><td class="line"> <span class='comment'>/* Translators: %s is a filename */</span></td></tr>
+<tr class="codeline" data-linenumber="2296"><td class="num" id="LN2296">2296</td><td class="line"> message = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Copying the files to add to \"%s\""</span>)<span class='macro_popup'>gettext ("Copying the files to add to \"%s\"")</span></span>, basename);</td></tr>
+<tr class="codeline" data-linenumber="2297"><td class="num" id="LN2297">2297</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2298"><td class="num" id="LN2298">2298</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_ADDING_FILES:</td></tr>
+<tr class="codeline" data-linenumber="2299"><td class="num" id="LN2299">2299</td><td class="line"> <span class='comment'>/* Translators: %s is a filename */</span></td></tr>
+<tr class="codeline" data-linenumber="2300"><td class="num" id="LN2300">2300</td><td class="line"> message = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Adding files to \"%s\""</span>)<span class='macro_popup'>gettext ("Adding files to \"%s\"")</span></span>, basename);</td></tr>
+<tr class="codeline" data-linenumber="2301"><td class="num" id="LN2301">2301</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2302"><td class="num" id="LN2302">2302</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_EXTRACTING_FILES:</td></tr>
+<tr class="codeline" data-linenumber="2303"><td class="num" id="LN2303">2303</td><td class="line"> <span class='comment'>/* Translators: %s is a filename */</span></td></tr>
+<tr class="codeline" data-linenumber="2304"><td class="num" id="LN2304">2304</td><td class="line"> message = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Extracting files from \"%s\""</span>)<span class='macro_popup'>gettext ("Extracting files from \"%s\"")</span></span>, basename);</td></tr>
+<tr class="codeline" data-linenumber="2305"><td class="num" id="LN2305">2305</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2306"><td class="num" id="LN2306">2306</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_COPYING_FILES_TO_REMOTE:</td></tr>
+<tr class="codeline" data-linenumber="2307"><td class="num" id="LN2307">2307</td><td class="line"> message = <span class='macro'>g_strdup (_(<span class='string_literal'>"Copying the extracted files to the destination"</span>))<span class='macro_popup'>g_strdup_inline (gettext ("Copying the extracted files to the destination"<br>))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2308"><td class="num" id="LN2308">2308</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2309"><td class="num" id="LN2309">2309</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_CREATING_ARCHIVE:</td></tr>
+<tr class="codeline" data-linenumber="2310"><td class="num" id="LN2310">2310</td><td class="line"> <span class='comment'>/* Translators: %s is a filename */</span></td></tr>
+<tr class="codeline" data-linenumber="2311"><td class="num" id="LN2311">2311</td><td class="line"> message = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Creating \"%s\""</span>)<span class='macro_popup'>gettext ("Creating \"%s\"")</span></span>, basename);</td></tr>
+<tr class="codeline" data-linenumber="2312"><td class="num" id="LN2312">2312</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2313"><td class="num" id="LN2313">2313</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_SAVING_REMOTE_ARCHIVE:</td></tr>
+<tr class="codeline" data-linenumber="2314"><td class="num" id="LN2314">2314</td><td class="line"> <span class='comment'>/* Translators: %s is a filename */</span></td></tr>
+<tr class="codeline" data-linenumber="2315"><td class="num" id="LN2315">2315</td><td class="line"> message = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Saving \"%s\""</span>)<span class='macro_popup'>gettext ("Saving \"%s\"")</span></span>, basename);</td></tr>
+<tr class="codeline" data-linenumber="2316"><td class="num" id="LN2316">2316</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2317"><td class="num" id="LN2317">2317</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_NONE:</td></tr>
+<tr class="codeline" data-linenumber="2318"><td class="num" id="LN2318">2318</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2319"><td class="num" id="LN2319">2319</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2320"><td class="num" id="LN2320">2320</td><td class="line"> g_free (basename);</td></tr>
+<tr class="codeline" data-linenumber="2321"><td class="num" id="LN2321">2321</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2322"><td class="num" id="LN2322">2322</td><td class="line"> <span class='keyword'>return</span> message;</td></tr>
+<tr class="codeline" data-linenumber="2323"><td class="num" id="LN2323">2323</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2324"><td class="num" id="LN2324">2324</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2325"><td class="num" id="LN2325">2325</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2326"><td class="num" id="LN2326">2326</td><td class="line">progress_dialog_update_action_description (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2327"><td class="num" id="LN2327">2327</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2328"><td class="num" id="LN2328">2328</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *current_archive;</td></tr>
+<tr class="codeline" data-linenumber="2329"><td class="num" id="LN2329">2329</td><td class="line"> <span class='keyword'>char</span> *description;</td></tr>
+<tr class="codeline" data-linenumber="2330"><td class="num" id="LN2330">2330</td><td class="line"> <span class='keyword'>char</span> *description_markup;</td></tr>
+<tr class="codeline" data-linenumber="2331"><td class="num" id="LN2331">2331</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2332"><td class="num" id="LN2332">2332</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_dialog == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2333"><td class="num" id="LN2333">2333</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2334"><td class="num" id="LN2334">2334</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2335"><td class="num" id="LN2335">2335</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;convert_data.converting)</td></tr>
+<tr class="codeline" data-linenumber="2336"><td class="num" id="LN2336">2336</td><td class="line"> current_archive = window-&gt;priv-&gt;convert_data.new_file;</td></tr>
+<tr class="codeline" data-linenumber="2337"><td class="num" id="LN2337">2337</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (window-&gt;priv-&gt;working_archive != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2338"><td class="num" id="LN2338">2338</td><td class="line"> current_archive = window-&gt;priv-&gt;working_archive;</td></tr>
+<tr class="codeline" data-linenumber="2339"><td class="num" id="LN2339">2339</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="2340"><td class="num" id="LN2340">2340</td><td class="line"> current_archive = window-&gt;priv-&gt;archive_uri;</td></tr>
+<tr class="codeline" data-linenumber="2341"><td class="num" id="LN2341">2341</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2342"><td class="num" id="LN2342">2342</td><td class="line"> g_free (window-&gt;priv-&gt;pd_last_archive);</td></tr>
+<tr class="codeline" data-linenumber="2343"><td class="num" id="LN2343">2343</td><td class="line"> window-&gt;priv-&gt;pd_last_archive = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2344"><td class="num" id="LN2344">2344</td><td class="line"> <span class='keyword'>if</span> (current_archive != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2345"><td class="num" id="LN2345">2345</td><td class="line"> window-&gt;priv-&gt;pd_last_archive = <span class='macro'>g_strdup (current_archive)<span class='macro_popup'>g_strdup_inline (current_archive)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2346"><td class="num" id="LN2346">2346</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2347"><td class="num" id="LN2347">2347</td><td class="line"> description = get_action_description (window-&gt;priv-&gt;action, window-&gt;priv-&gt;pd_last_archive);</td></tr>
+<tr class="codeline" data-linenumber="2348"><td class="num" id="LN2348">2348</td><td class="line"> description_markup = g_markup_printf_escaped (<span class='string_literal'>"&lt;span weight=\"bold\" size=\"larger\"&gt;%s&lt;/span&gt;"</span>, description);</td></tr>
+<tr class="codeline" data-linenumber="2349"><td class="num" id="LN2349">2349</td><td class="line"> gtk_label_set_markup (<span class='macro'>GTK_LABEL (window-&gt;priv-&gt;pd_action)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;pd_action)), ((gtk_label_get_type ()<br>))))))</span></span>, description_markup);</td></tr>
+<tr class="codeline" data-linenumber="2350"><td class="num" id="LN2350">2350</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2351"><td class="num" id="LN2351">2351</td><td class="line"> g_free (description_markup);</td></tr>
+<tr class="codeline" data-linenumber="2352"><td class="num" id="LN2352">2352</td><td class="line"> g_free (description);</td></tr>
+<tr class="codeline" data-linenumber="2353"><td class="num" id="LN2353">2353</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2354"><td class="num" id="LN2354">2354</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2355"><td class="num" id="LN2355">2355</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="2356"><td class="num" id="LN2356">2356</td><td class="line">fr_window_working_archive_cb (FrCommand *command,</td></tr>
+<tr class="codeline" data-linenumber="2357"><td class="num" id="LN2357">2357</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *archive_filename,</td></tr>
+<tr class="codeline" data-linenumber="2358"><td class="num" id="LN2358">2358</td><td class="line"> FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2359"><td class="num" id="LN2359">2359</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2360"><td class="num" id="LN2360">2360</td><td class="line"> g_free (window-&gt;priv-&gt;working_archive);</td></tr>
+<tr class="codeline" data-linenumber="2361"><td class="num" id="LN2361">2361</td><td class="line"> <span class='keyword'>if</span> (archive_filename != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2362"><td class="num" id="LN2362">2362</td><td class="line"> window-&gt;priv-&gt;working_archive = <span class='macro'>g_strdup (archive_filename)<span class='macro_popup'>g_strdup_inline (archive_filename)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2363"><td class="num" id="LN2363">2363</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="2364"><td class="num" id="LN2364">2364</td><td class="line"> window-&gt;priv-&gt;working_archive = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2365"><td class="num" id="LN2365">2365</td><td class="line"> progress_dialog_update_action_description (window);</td></tr>
+<tr class="codeline" data-linenumber="2366"><td class="num" id="LN2366">2366</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2367"><td class="num" id="LN2367">2367</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2368"><td class="num" id="LN2368">2368</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2369"><td class="num" id="LN2369">2369</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2370"><td class="num" id="LN2370">2370</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="2371"><td class="num" id="LN2371">2371</td><td class="line">fr_window_message_cb (FrCommand *command,</td></tr>
+<tr class="codeline" data-linenumber="2372"><td class="num" id="LN2372">2372</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *msg,</td></tr>
+<tr class="codeline" data-linenumber="2373"><td class="num" id="LN2373">2373</td><td class="line"> FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2374"><td class="num" id="LN2374">2374</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2375"><td class="num" id="LN2375">2375</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;pd_last_message != msg) {</td></tr>
+<tr class="codeline" data-linenumber="2376"><td class="num" id="LN2376">2376</td><td class="line"> g_free (window-&gt;priv-&gt;pd_last_message);</td></tr>
+<tr class="codeline" data-linenumber="2377"><td class="num" id="LN2377">2377</td><td class="line"> window-&gt;priv-&gt;pd_last_message = <span class='macro'>g_strdup (msg)<span class='macro_popup'>g_strdup_inline (msg)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2378"><td class="num" id="LN2378">2378</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2379"><td class="num" id="LN2379">2379</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2380"><td class="num" id="LN2380">2380</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_dialog == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2381"><td class="num" id="LN2381">2381</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2382"><td class="num" id="LN2382">2382</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2383"><td class="num" id="LN2383">2383</td><td class="line"> <span class='keyword'>if</span> (msg != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="2384"><td class="num" id="LN2384">2384</td><td class="line"> <span class='keyword'>while</span> (*msg == ' ')</td></tr>
+<tr class="codeline" data-linenumber="2385"><td class="num" id="LN2385">2385</td><td class="line"> msg++;</td></tr>
+<tr class="codeline" data-linenumber="2386"><td class="num" id="LN2386">2386</td><td class="line"> <span class='keyword'>if</span> (*msg == 0)</td></tr>
+<tr class="codeline" data-linenumber="2387"><td class="num" id="LN2387">2387</td><td class="line"> msg = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2388"><td class="num" id="LN2388">2388</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2389"><td class="num" id="LN2389">2389</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2390"><td class="num" id="LN2390">2390</td><td class="line"> <span class='keyword'>if</span> (msg != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="2391"><td class="num" id="LN2391">2391</td><td class="line"> <span class='keyword'>char</span> *utf8_msg;</td></tr>
+<tr class="codeline" data-linenumber="2392"><td class="num" id="LN2392">2392</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2393"><td class="num" id="LN2393">2393</td><td class="line"> <span class='keyword'>if</span> (! g_utf8_validate (msg, -1, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="2394"><td class="num" id="LN2394">2394</td><td class="line"> utf8_msg = g_locale_to_utf8 (msg, -1 , 0, 0, 0);</td></tr>
+<tr class="codeline" data-linenumber="2395"><td class="num" id="LN2395">2395</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="2396"><td class="num" id="LN2396">2396</td><td class="line"> utf8_msg = <span class='macro'>g_strdup (msg)<span class='macro_popup'>g_strdup_inline (msg)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2397"><td class="num" id="LN2397">2397</td><td class="line"> <span class='keyword'>if</span> (utf8_msg == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2398"><td class="num" id="LN2398">2398</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2399"><td class="num" id="LN2399">2399</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2400"><td class="num" id="LN2400">2400</td><td class="line"> <span class='keyword'>if</span> (g_utf8_validate (utf8_msg, -1, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="2401"><td class="num" id="LN2401">2401</td><td class="line"> gtk_label_set_text (<span class='macro'>GTK_LABEL (window-&gt;priv-&gt;pd_message)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;pd_message)), ((gtk_label_get_type (<br>)))))))</span></span>, utf8_msg);</td></tr>
+<tr class="codeline" data-linenumber="2402"><td class="num" id="LN2402">2402</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2403"><td class="num" id="LN2403">2403</td><td class="line"> g_free (window-&gt;priv-&gt;pd_last_message);</td></tr>
+<tr class="codeline" data-linenumber="2404"><td class="num" id="LN2404">2404</td><td class="line"> window-&gt;priv-&gt;pd_last_message = <span class='macro'>g_strdup (utf8_msg)<span class='macro_popup'>g_strdup_inline (utf8_msg)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2405"><td class="num" id="LN2405">2405</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2406"><td class="num" id="LN2406">2406</td><td class="line"> g_signal_emit (<span class='macro'>G_OBJECT (window)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2407"><td class="num" id="LN2407">2407</td><td class="line"> fr_window_signals[PROGRESS],</td></tr>
+<tr class="codeline" data-linenumber="2408"><td class="num" id="LN2408">2408</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="2409"><td class="num" id="LN2409">2409</td><td class="line"> window-&gt;priv-&gt;pd_last_fraction,</td></tr>
+<tr class="codeline" data-linenumber="2410"><td class="num" id="LN2410">2410</td><td class="line"> window-&gt;priv-&gt;pd_last_message);</td></tr>
+<tr class="codeline" data-linenumber="2411"><td class="num" id="LN2411">2411</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2412"><td class="num" id="LN2412">2412</td><td class="line"><span class='directive'>#ifdef LOG_PROGRESS</span></td></tr>
+<tr class="codeline" data-linenumber="2413"><td class="num" id="LN2413">2413</td><td class="line"> g_print (<span class='string_literal'>"message &gt; %s\n"</span>, utf8_msg);</td></tr>
+<tr class="codeline" data-linenumber="2414"><td class="num" id="LN2414">2414</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="2415"><td class="num" id="LN2415">2415</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2416"><td class="num" id="LN2416">2416</td><td class="line"> g_free (utf8_msg);</td></tr>
+<tr class="codeline" data-linenumber="2417"><td class="num" id="LN2417">2417</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2418"><td class="num" id="LN2418">2418</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="2419"><td class="num" id="LN2419">2419</td><td class="line"> gtk_label_set_text (<span class='macro'>GTK_LABEL (window-&gt;priv-&gt;pd_message)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;pd_message)), ((gtk_label_get_type (<br>)))))))</span></span>, <span class='string_literal'>""</span>);</td></tr>
+<tr class="codeline" data-linenumber="2420"><td class="num" id="LN2420">2420</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2421"><td class="num" id="LN2421">2421</td><td class="line"> progress_dialog_update_action_description (window);</td></tr>
+<tr class="codeline" data-linenumber="2422"><td class="num" id="LN2422">2422</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2423"><td class="num" id="LN2423">2423</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2424"><td class="num" id="LN2424">2424</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2425"><td class="num" id="LN2425">2425</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2426"><td class="num" id="LN2426">2426</td><td class="line"><span class='keyword'>static</span> GtkWidget*</td></tr>
+<tr class="codeline" data-linenumber="2427"><td class="num" id="LN2427">2427</td><td class="line">dialog_add_button_with_icon_name (GtkDialog *dialog,</td></tr>
+<tr class="codeline" data-linenumber="2428"><td class="num" id="LN2428">2428</td><td class="line"> <span class='keyword'>const</span> gchar *button_text,</td></tr>
+<tr class="codeline" data-linenumber="2429"><td class="num" id="LN2429">2429</td><td class="line"> <span class='keyword'>const</span> gchar *icon_name,</td></tr>
+<tr class="codeline" data-linenumber="2430"><td class="num" id="LN2430">2430</td><td class="line"> gint response_id)</td></tr>
+<tr class="codeline" data-linenumber="2431"><td class="num" id="LN2431">2431</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2432"><td class="num" id="LN2432">2432</td><td class="line"> GtkWidget *button;</td></tr>
+<tr class="codeline" data-linenumber="2433"><td class="num" id="LN2433">2433</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2434"><td class="num" id="LN2434">2434</td><td class="line"> button = gtk_button_new_with_mnemonic (button_text);</td></tr>
+<tr class="codeline" data-linenumber="2435"><td class="num" id="LN2435">2435</td><td class="line"> gtk_button_set_image (<span class='macro'>GTK_BUTTON (button)<span class='macro_popup'>((((GtkButton*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((button)), ((gtk_button_get_type ()))))))</span></span>, gtk_image_new_from_icon_name (icon_name, GTK_ICON_SIZE_BUTTON));</td></tr>
+<tr class="codeline" data-linenumber="2436"><td class="num" id="LN2436">2436</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2437"><td class="num" id="LN2437">2437</td><td class="line"> gtk_button_set_use_underline (<span class='macro'>GTK_BUTTON (button)<span class='macro_popup'>((((GtkButton*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((button)), ((gtk_button_get_type ()))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2438"><td class="num" id="LN2438">2438</td><td class="line"> gtk_style_context_add_class (gtk_widget_get_style_context (button), <span class='string_literal'>"text-button"</span>);</td></tr>
+<tr class="codeline" data-linenumber="2439"><td class="num" id="LN2439">2439</td><td class="line"> gtk_widget_set_can_default (button, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2440"><td class="num" id="LN2440">2440</td><td class="line"> gtk_widget_show (button);</td></tr>
+<tr class="codeline" data-linenumber="2441"><td class="num" id="LN2441">2441</td><td class="line"> gtk_dialog_add_action_widget (<span class='macro'>GTK_DIALOG (dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_dialog_get_type ()))))))</span></span>, button, response_id);</td></tr>
+<tr class="codeline" data-linenumber="2442"><td class="num" id="LN2442">2442</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2443"><td class="num" id="LN2443">2443</td><td class="line"> <span class='keyword'>return</span> button;</td></tr>
+<tr class="codeline" data-linenumber="2444"><td class="num" id="LN2444">2444</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2445"><td class="num" id="LN2445">2445</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2446"><td class="num" id="LN2446">2446</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2447"><td class="num" id="LN2447">2447</td><td class="line">create_the_progress_dialog (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2448"><td class="num" id="LN2448">2448</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2449"><td class="num" id="LN2449">2449</td><td class="line"> GtkWindow *parent;</td></tr>
+<tr class="codeline" data-linenumber="2450"><td class="num" id="LN2450">2450</td><td class="line"> GtkDialogFlags flags;</td></tr>
+<tr class="codeline" data-linenumber="2451"><td class="num" id="LN2451">2451</td><td class="line"> GtkDialog *d;</td></tr>
+<tr class="codeline" data-linenumber="2452"><td class="num" id="LN2452">2452</td><td class="line"> GtkWidget *hbox;</td></tr>
+<tr class="codeline" data-linenumber="2453"><td class="num" id="LN2453">2453</td><td class="line"> GtkWidget *vbox;</td></tr>
+<tr class="codeline" data-linenumber="2454"><td class="num" id="LN2454">2454</td><td class="line"> GtkWidget *progress_vbox;</td></tr>
+<tr class="codeline" data-linenumber="2455"><td class="num" id="LN2455">2455</td><td class="line"> GtkWidget *lbl;</td></tr>
+<tr class="codeline" data-linenumber="2456"><td class="num" id="LN2456">2456</td><td class="line"> PangoAttrList *attr_list;</td></tr>
+<tr class="codeline" data-linenumber="2457"><td class="num" id="LN2457">2457</td><td class="line"> GdkPixbuf *icon;</td></tr>
+<tr class="codeline" data-linenumber="2458"><td class="num" id="LN2458">2458</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2459"><td class="num" id="LN2459">2459</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_dialog != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2460"><td class="num" id="LN2460">2460</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2461"><td class="num" id="LN2461">2461</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2462"><td class="num" id="LN2462">2462</td><td class="line"> flags = GTK_DIALOG_DESTROY_WITH_PARENT;</td></tr>
+<tr class="codeline" data-linenumber="2463"><td class="num" id="LN2463">2463</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;batch_mode) {</td></tr>
+<tr class="codeline" data-linenumber="2464"><td class="num" id="LN2464">2464</td><td class="line"> parent = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2465"><td class="num" id="LN2465">2465</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2466"><td class="num" id="LN2466">2466</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="2467"><td class="num" id="LN2467">2467</td><td class="line"> parent = <span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2468"><td class="num" id="LN2468">2468</td><td class="line"> flags |= GTK_DIALOG_MODAL;</td></tr>
+<tr class="codeline" data-linenumber="2469"><td class="num" id="LN2469">2469</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2470"><td class="num" id="LN2470">2470</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2471"><td class="num" id="LN2471">2471</td><td class="line"> window-&gt;priv-&gt;progress_dialog = gtk_dialog_new_with_buttons ((window-&gt;priv-&gt;batch_mode ? window-&gt;priv-&gt;batch_title : <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>),</td></tr>
+<tr class="codeline" data-linenumber="2472"><td class="num" id="LN2472">2472</td><td class="line"> parent,</td></tr>
+<tr class="codeline" data-linenumber="2473"><td class="num" id="LN2473">2473</td><td class="line"> flags,</td></tr>
+<tr class="codeline" data-linenumber="2474"><td class="num" id="LN2474">2474</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2475"><td class="num" id="LN2475">2475</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2476"><td class="num" id="LN2476">2476</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2477"><td class="num" id="LN2477">2477</td><td class="line"> window-&gt;priv-&gt;pd_quit_button = dialog_add_button_with_icon_name (<span class='macro'>GTK_DIALOG (window-&gt;priv-&gt;progress_dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_dialog)), ((gtk_dialog_get_type<br> ()))))))</span></span>, <span class='macro'>_(<span class='string_literal'>"_Quit"</span>)<span class='macro_popup'>gettext ("_Quit")</span></span>, <span class='string_literal'>"application-exit"</span>, DIALOG_RESPONSE_QUIT);</td></tr>
+<tr class="codeline" data-linenumber="2478"><td class="num" id="LN2478">2478</td><td class="line"> window-&gt;priv-&gt;pd_open_archive_button = gtk_dialog_add_button (<span class='macro'>GTK_DIALOG (window-&gt;priv-&gt;progress_dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_dialog)), ((gtk_dialog_get_type<br> ()))))))</span></span>, <span class='macro'>_(<span class='string_literal'>"_Open the Archive"</span>)<span class='macro_popup'>gettext ("_Open the Archive")</span></span>, DIALOG_RESPONSE_OPEN_ARCHIVE);</td></tr>
+<tr class="codeline" data-linenumber="2479"><td class="num" id="LN2479">2479</td><td class="line"> window-&gt;priv-&gt;pd_open_destination_button = gtk_dialog_add_button (<span class='macro'>GTK_DIALOG (window-&gt;priv-&gt;progress_dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_dialog)), ((gtk_dialog_get_type<br> ()))))))</span></span>, <span class='macro'>_(<span class='string_literal'>"_Show the Files"</span>)<span class='macro_popup'>gettext ("_Show the Files")</span></span>, DIALOG_RESPONSE_OPEN_DESTINATION_FOLDER);</td></tr>
+<tr class="codeline" data-linenumber="2480"><td class="num" id="LN2480">2480</td><td class="line"> window-&gt;priv-&gt;pd_open_destination_and_quit_button = gtk_dialog_add_button (<span class='macro'>GTK_DIALOG (window-&gt;priv-&gt;progress_dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_dialog)), ((gtk_dialog_get_type<br> ()))))))</span></span>, <span class='macro'>_(<span class='string_literal'>"Show the _Files and Quit"</span>)<span class='macro_popup'>gettext ("Show the _Files and Quit")</span></span>, DIALOG_RESPONSE_OPEN_DESTINATION_FOLDER_AND_QUIT);</td></tr>
+<tr class="codeline" data-linenumber="2481"><td class="num" id="LN2481">2481</td><td class="line"> window-&gt;priv-&gt;pd_close_button = dialog_add_button_with_icon_name (<span class='macro'>GTK_DIALOG (window-&gt;priv-&gt;progress_dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_dialog)), ((gtk_dialog_get_type<br> ()))))))</span></span>, <span class='macro'>_(<span class='string_literal'>"_Close"</span>)<span class='macro_popup'>gettext ("_Close")</span></span>, <span class='string_literal'>"window-close"</span>, GTK_RESPONSE_CLOSE);</td></tr>
+<tr class="codeline" data-linenumber="2482"><td class="num" id="LN2482">2482</td><td class="line"> window-&gt;priv-&gt;pd_cancel_button = dialog_add_button_with_icon_name (<span class='macro'>GTK_DIALOG (window-&gt;priv-&gt;progress_dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_dialog)), ((gtk_dialog_get_type<br> ()))))))</span></span>, <span class='macro'>_(<span class='string_literal'>"_Cancel"</span>)<span class='macro_popup'>gettext ("_Cancel")</span></span>, <span class='string_literal'>"process-stop"</span>, GTK_RESPONSE_CANCEL);</td></tr>
+<tr class="codeline" data-linenumber="2483"><td class="num" id="LN2483">2483</td><td class="line"> <span class='comment'>/*add start button default suspend*/</span></td></tr>
+<tr class="codeline" data-linenumber="2484"><td class="num" id="LN2484">2484</td><td class="line"> window-&gt;priv-&gt;pd_state_button = dialog_add_button_with_icon_name (<span class='macro'>GTK_DIALOG (window-&gt;priv-&gt;progress_dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_dialog)), ((gtk_dialog_get_type<br> ()))))))</span></span>, <span class='macro'>_(<span class='string_literal'>"_Pause"</span>)<span class='macro_popup'>gettext ("_Pause")</span></span>, <span class='string_literal'>"media-playback-pause"</span>, GTK_RESPONSE_ACCEPT);</td></tr>
+<tr class="codeline" data-linenumber="2485"><td class="num" id="LN2485">2485</td><td class="line"> d = <span class='macro'>GTK_DIALOG (window-&gt;priv-&gt;progress_dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_dialog)), ((gtk_dialog_get_type<br> ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2486"><td class="num" id="LN2486">2486</td><td class="line"> gtk_window_set_resizable (<span class='macro'>GTK_WINDOW (d)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_window_get_type ()))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2487"><td class="num" id="LN2487">2487</td><td class="line"> gtk_dialog_set_default_response (<span class='macro'>GTK_DIALOG (d)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_dialog_get_type ()))))))</span></span>, GTK_RESPONSE_OK);</td></tr>
+<tr class="codeline" data-linenumber="2488"><td class="num" id="LN2488">2488</td><td class="line"> gtk_window_set_default_size (<span class='macro'>GTK_WINDOW (d)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_window_get_type ()))))))</span></span>, <span class='macro'>PROGRESS_DIALOG_DEFAULT_WIDTH<span class='macro_popup'>500</span></span>, -1);</td></tr>
+<tr class="codeline" data-linenumber="2489"><td class="num" id="LN2489">2489</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2490"><td class="num" id="LN2490">2490</td><td class="line"> <span class='comment'>/* Main */</span></td></tr>
+<tr class="codeline" data-linenumber="2491"><td class="num" id="LN2491">2491</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2492"><td class="num" id="LN2492">2492</td><td class="line"> hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 24);</td></tr>
+<tr class="codeline" data-linenumber="2493"><td class="num" id="LN2493">2493</td><td class="line"> gtk_container_set_border_width (<span class='macro'>GTK_CONTAINER (hbox)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((hbox)), ((gtk_container_get_type ()))))))</span></span>, 6);</td></tr>
+<tr class="codeline" data-linenumber="2494"><td class="num" id="LN2494">2494</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (gtk_dialog_get_content_area (d))<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_dialog_get_content_area (d))), ((gtk_box_get_type ()<br>))))))</span></span>, hbox, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 10);</td></tr>
+<tr class="codeline" data-linenumber="2495"><td class="num" id="LN2495">2495</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2496"><td class="num" id="LN2496">2496</td><td class="line"> icon = get_mime_type_pixbuf (<span class='string_literal'>"package-x-generic"</span>, _gtk_widget_lookup_for_size (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>, GTK_ICON_SIZE_DIALOG), <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2497"><td class="num" id="LN2497">2497</td><td class="line"> window-&gt;priv-&gt;pd_icon = gtk_image_new_from_pixbuf (icon);</td></tr>
+<tr class="codeline" data-linenumber="2498"><td class="num" id="LN2498">2498</td><td class="line"> g_object_unref (icon);</td></tr>
+<tr class="codeline" data-linenumber="2499"><td class="num" id="LN2499">2499</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2500"><td class="num" id="LN2500">2500</td><td class="line"> gtk_widget_set_valign (window-&gt;priv-&gt;pd_icon, GTK_ALIGN_START);</td></tr>
+<tr class="codeline" data-linenumber="2501"><td class="num" id="LN2501">2501</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (hbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((hbox)), ((gtk_box_get_type ()))))))</span></span>, window-&gt;priv-&gt;pd_icon, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="2502"><td class="num" id="LN2502">2502</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2503"><td class="num" id="LN2503">2503</td><td class="line"> vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 5);</td></tr>
+<tr class="codeline" data-linenumber="2504"><td class="num" id="LN2504">2504</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (hbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((hbox)), ((gtk_box_get_type ()))))))</span></span>, vbox, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="2505"><td class="num" id="LN2505">2505</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2506"><td class="num" id="LN2506">2506</td><td class="line"> <span class='comment'>/* action description */</span></td></tr>
+<tr class="codeline" data-linenumber="2507"><td class="num" id="LN2507">2507</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2508"><td class="num" id="LN2508">2508</td><td class="line"> lbl = window-&gt;priv-&gt;pd_action = gtk_label_new (<span class='string_literal'>""</span>);</td></tr>
+<tr class="codeline" data-linenumber="2509"><td class="num" id="LN2509">2509</td><td class="line"> gtk_widget_set_halign (lbl, GTK_ALIGN_START);</td></tr>
+<tr class="codeline" data-linenumber="2510"><td class="num" id="LN2510">2510</td><td class="line"> gtk_widget_set_valign (lbl, GTK_ALIGN_START);</td></tr>
+<tr class="codeline" data-linenumber="2511"><td class="num" id="LN2511">2511</td><td class="line"> gtk_widget_set_hexpand (lbl, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2512"><td class="num" id="LN2512">2512</td><td class="line"> gtk_widget_set_vexpand (lbl, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2513"><td class="num" id="LN2513">2513</td><td class="line"> gtk_widget_set_margin_bottom (lbl, 12);</td></tr>
+<tr class="codeline" data-linenumber="2514"><td class="num" id="LN2514">2514</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2515"><td class="num" id="LN2515">2515</td><td class="line"> gtk_label_set_xalign (<span class='macro'>GTK_LABEL (lbl)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((lbl)), ((gtk_label_get_type ()))))))</span></span>, 0.0);</td></tr>
+<tr class="codeline" data-linenumber="2516"><td class="num" id="LN2516">2516</td><td class="line"> gtk_label_set_ellipsize (<span class='macro'>GTK_LABEL (lbl)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((lbl)), ((gtk_label_get_type ()))))))</span></span>, PANGO_ELLIPSIZE_END);</td></tr>
+<tr class="codeline" data-linenumber="2517"><td class="num" id="LN2517">2517</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (vbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((vbox)), ((gtk_box_get_type ()))))))</span></span>, lbl, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="2518"><td class="num" id="LN2518">2518</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2519"><td class="num" id="LN2519">2519</td><td class="line"> <span class='comment'>/* archive name */</span></td></tr>
+<tr class="codeline" data-linenumber="2520"><td class="num" id="LN2520">2520</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2521"><td class="num" id="LN2521">2521</td><td class="line"> g_free (window-&gt;priv-&gt;pd_last_archive);</td></tr>
+<tr class="codeline" data-linenumber="2522"><td class="num" id="LN2522">2522</td><td class="line"> window-&gt;priv-&gt;pd_last_archive = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2523"><td class="num" id="LN2523">2523</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2524"><td class="num" id="LN2524">2524</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;archive_uri != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2525"><td class="num" id="LN2525">2525</td><td class="line"> window-&gt;priv-&gt;pd_last_archive = <span class='macro'>g_strdup (window-&gt;priv-&gt;archive_uri)<span class='macro_popup'>g_strdup_inline (window-&gt;priv-&gt;archive_uri)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2526"><td class="num" id="LN2526">2526</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2527"><td class="num" id="LN2527">2527</td><td class="line"> <span class='comment'>/* progress and details */</span></td></tr>
+<tr class="codeline" data-linenumber="2528"><td class="num" id="LN2528">2528</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2529"><td class="num" id="LN2529">2529</td><td class="line"> progress_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);</td></tr>
+<tr class="codeline" data-linenumber="2530"><td class="num" id="LN2530">2530</td><td class="line"> gtk_widget_set_valign (progress_vbox, GTK_ALIGN_START);</td></tr>
+<tr class="codeline" data-linenumber="2531"><td class="num" id="LN2531">2531</td><td class="line"> gtk_widget_set_hexpand (progress_vbox, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2532"><td class="num" id="LN2532">2532</td><td class="line"> gtk_widget_set_vexpand (progress_vbox, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2533"><td class="num" id="LN2533">2533</td><td class="line"> gtk_widget_set_margin_bottom (progress_vbox, 6);</td></tr>
+<tr class="codeline" data-linenumber="2534"><td class="num" id="LN2534">2534</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (vbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((vbox)), ((gtk_box_get_type ()))))))</span></span>, progress_vbox, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="2535"><td class="num" id="LN2535">2535</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2536"><td class="num" id="LN2536">2536</td><td class="line"> <span class='comment'>/* progress bar */</span></td></tr>
+<tr class="codeline" data-linenumber="2537"><td class="num" id="LN2537">2537</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2538"><td class="num" id="LN2538">2538</td><td class="line"> window-&gt;priv-&gt;pd_progress_bar = gtk_progress_bar_new ();</td></tr>
+<tr class="codeline" data-linenumber="2539"><td class="num" id="LN2539">2539</td><td class="line"> gtk_progress_bar_set_pulse_step (<span class='macro'>GTK_PROGRESS_BAR (window-&gt;priv-&gt;pd_progress_bar)<span class='macro_popup'>((((GtkProgressBar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;pd_progress_bar)), ((gtk_progress_bar_get_type<br> ()))))))</span></span>, <span class='macro'>ACTIVITY_PULSE_STEP<span class='macro_popup'>(0.033)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2540"><td class="num" id="LN2540">2540</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (progress_vbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((progress_vbox)), ((gtk_box_get_type ()))))))</span></span>, window-&gt;priv-&gt;pd_progress_bar, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="2541"><td class="num" id="LN2541">2541</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2542"><td class="num" id="LN2542">2542</td><td class="line"> <span class='comment'>/* details label */</span></td></tr>
+<tr class="codeline" data-linenumber="2543"><td class="num" id="LN2543">2543</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2544"><td class="num" id="LN2544">2544</td><td class="line"> lbl = window-&gt;priv-&gt;pd_message = gtk_label_new (<span class='string_literal'>""</span>);</td></tr>
+<tr class="codeline" data-linenumber="2545"><td class="num" id="LN2545">2545</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2546"><td class="num" id="LN2546">2546</td><td class="line"> attr_list = pango_attr_list_new ();</td></tr>
+<tr class="codeline" data-linenumber="2547"><td class="num" id="LN2547">2547</td><td class="line"> pango_attr_list_insert (attr_list, pango_attr_size_new (9000));</td></tr>
+<tr class="codeline" data-linenumber="2548"><td class="num" id="LN2548">2548</td><td class="line"> gtk_label_set_attributes (<span class='macro'>GTK_LABEL (lbl)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((lbl)), ((gtk_label_get_type ()))))))</span></span>, attr_list);</td></tr>
+<tr class="codeline" data-linenumber="2549"><td class="num" id="LN2549">2549</td><td class="line"> pango_attr_list_unref (attr_list);</td></tr>
+<tr class="codeline" data-linenumber="2550"><td class="num" id="LN2550">2550</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2551"><td class="num" id="LN2551">2551</td><td class="line"> gtk_label_set_xalign (<span class='macro'>GTK_LABEL (lbl)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((lbl)), ((gtk_label_get_type ()))))))</span></span>, 0.0);</td></tr>
+<tr class="codeline" data-linenumber="2552"><td class="num" id="LN2552">2552</td><td class="line"> gtk_label_set_ellipsize (<span class='macro'>GTK_LABEL (lbl)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((lbl)), ((gtk_label_get_type ()))))))</span></span>, PANGO_ELLIPSIZE_END);</td></tr>
+<tr class="codeline" data-linenumber="2553"><td class="num" id="LN2553">2553</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (progress_vbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((progress_vbox)), ((gtk_box_get_type ()))))))</span></span>, lbl, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="2554"><td class="num" id="LN2554">2554</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2555"><td class="num" id="LN2555">2555</td><td class="line"> gtk_widget_show_all (hbox);</td></tr>
+<tr class="codeline" data-linenumber="2556"><td class="num" id="LN2556">2556</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2557"><td class="num" id="LN2557">2557</td><td class="line"> progress_dialog_update_action_description (window);</td></tr>
+<tr class="codeline" data-linenumber="2558"><td class="num" id="LN2558">2558</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2559"><td class="num" id="LN2559">2559</td><td class="line"> <span class='comment'>/* signals */</span></td></tr>
+<tr class="codeline" data-linenumber="2560"><td class="num" id="LN2560">2560</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2561"><td class="num" id="LN2561">2561</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;progress_dialog),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;progress_dialog)), (<br>((GType) ((20) &lt;&lt; (2))))))))), ("response"), (((GCallback<br>) (progress_dialog_response))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2562"><td class="num" id="LN2562">2562</td><td class="line"> <span class='string_literal'><span class='macro'>"response"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;progress_dialog)), (<br>((GType) ((20) &lt;&lt; (2))))))))), ("response"), (((GCallback<br>) (progress_dialog_response))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2563"><td class="num" id="LN2563">2563</td><td class="line"> <span class='macro'>G_CALLBACK (progress_dialog_response),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;progress_dialog)), (<br>((GType) ((20) &lt;&lt; (2))))))))), ("response"), (((GCallback<br>) (progress_dialog_response))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2564"><td class="num" id="LN2564">2564</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;progress_dialog)), (<br>((GType) ((20) &lt;&lt; (2))))))))), ("response"), (((GCallback<br>) (progress_dialog_response))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2565"><td class="num" id="LN2565">2565</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;progress_dialog),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;progress_dialog)), (<br>((GType) ((20) &lt;&lt; (2))))))))), ("delete_event"), (((GCallback<br>) (progress_dialog_delete_event))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2566"><td class="num" id="LN2566">2566</td><td class="line"> <span class='string_literal'><span class='macro'>"delete_event"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;progress_dialog)), (<br>((GType) ((20) &lt;&lt; (2))))))))), ("delete_event"), (((GCallback<br>) (progress_dialog_delete_event))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2567"><td class="num" id="LN2567">2567</td><td class="line"> <span class='macro'>G_CALLBACK (progress_dialog_delete_event),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;progress_dialog)), (<br>((GType) ((20) &lt;&lt; (2))))))))), ("delete_event"), (((GCallback<br>) (progress_dialog_delete_event))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2568"><td class="num" id="LN2568">2568</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;progress_dialog)), (<br>((GType) ((20) &lt;&lt; (2))))))))), ("delete_event"), (((GCallback<br>) (progress_dialog_delete_event))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2569"><td class="num" id="LN2569">2569</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2570"><td class="num" id="LN2570">2570</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2571"><td class="num" id="LN2571">2571</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="2572"><td class="num" id="LN2572">2572</td><td class="line">display_progress_dialog (gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="2573"><td class="num" id="LN2573">2573</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2574"><td class="num" id="LN2574">2574</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="2575"><td class="num" id="LN2575">2575</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2576"><td class="num" id="LN2576">2576</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_timeout != 0)</td></tr>
+<tr class="codeline" data-linenumber="2577"><td class="num" id="LN2577">2577</td><td class="line"> g_source_remove (window-&gt;priv-&gt;progress_timeout);</td></tr>
+<tr class="codeline" data-linenumber="2578"><td class="num" id="LN2578">2578</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2579"><td class="num" id="LN2579">2579</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;use_progress_dialog &amp;&amp; (window-&gt;priv-&gt;progress_dialog != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="2580"><td class="num" id="LN2580">2580</td><td class="line"> gtk_dialog_set_response_sensitive (<span class='macro'>GTK_DIALOG (window-&gt;priv-&gt;progress_dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_dialog)), ((gtk_dialog_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2581"><td class="num" id="LN2581">2581</td><td class="line"> GTK_RESPONSE_OK,</td></tr>
+<tr class="codeline" data-linenumber="2582"><td class="num" id="LN2582">2582</td><td class="line"> window-&gt;priv-&gt;stoppable);</td></tr>
+<tr class="codeline" data-linenumber="2583"><td class="num" id="LN2583">2583</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;non_interactive)</td></tr>
+<tr class="codeline" data-linenumber="2584"><td class="num" id="LN2584">2584</td><td class="line"> gtk_widget_show (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2585"><td class="num" id="LN2585">2585</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;progress_bar);</td></tr>
+<tr class="codeline" data-linenumber="2586"><td class="num" id="LN2586">2586</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;progress_dialog);</td></tr>
+<tr class="codeline" data-linenumber="2587"><td class="num" id="LN2587">2587</td><td class="line"> fr_window_message_cb (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, window-&gt;priv-&gt;pd_last_message, window);</td></tr>
+<tr class="codeline" data-linenumber="2588"><td class="num" id="LN2588">2588</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2589"><td class="num" id="LN2589">2589</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2590"><td class="num" id="LN2590">2590</td><td class="line"> window-&gt;priv-&gt;progress_timeout = 0;</td></tr>
+<tr class="codeline" data-linenumber="2591"><td class="num" id="LN2591">2591</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2592"><td class="num" id="LN2592">2592</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2593"><td class="num" id="LN2593">2593</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2594"><td class="num" id="LN2594">2594</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2595"><td class="num" id="LN2595">2595</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2596"><td class="num" id="LN2596">2596</td><td class="line">open_progress_dialog (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="2597"><td class="num" id="LN2597">2597</td><td class="line"> gboolean open_now)</td></tr>
+<tr class="codeline" data-linenumber="2598"><td class="num" id="LN2598">2598</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2599"><td class="num" id="LN2599">2599</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;hide_progress_timeout != 0) {</td></tr>
+<tr class="codeline" data-linenumber="2600"><td class="num" id="LN2600">2600</td><td class="line"> g_source_remove (window-&gt;priv-&gt;hide_progress_timeout);</td></tr>
+<tr class="codeline" data-linenumber="2601"><td class="num" id="LN2601">2601</td><td class="line"> window-&gt;priv-&gt;hide_progress_timeout = 0;</td></tr>
+<tr class="codeline" data-linenumber="2602"><td class="num" id="LN2602">2602</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2603"><td class="num" id="LN2603">2603</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2604"><td class="num" id="LN2604">2604</td><td class="line"> <span class='keyword'>if</span> (open_now) {</td></tr>
+<tr class="codeline" data-linenumber="2605"><td class="num" id="LN2605">2605</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_timeout != 0)</td></tr>
+<tr class="codeline" data-linenumber="2606"><td class="num" id="LN2606">2606</td><td class="line"> g_source_remove (window-&gt;priv-&gt;progress_timeout);</td></tr>
+<tr class="codeline" data-linenumber="2607"><td class="num" id="LN2607">2607</td><td class="line"> window-&gt;priv-&gt;progress_timeout = 0;</td></tr>
+<tr class="codeline" data-linenumber="2608"><td class="num" id="LN2608">2608</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2609"><td class="num" id="LN2609">2609</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2610"><td class="num" id="LN2610">2610</td><td class="line"> <span class='keyword'>if</span> ((window-&gt;priv-&gt;progress_timeout != 0)</td></tr>
+<tr class="codeline" data-linenumber="2611"><td class="num" id="LN2611">2611</td><td class="line"> || ((window-&gt;priv-&gt;progress_dialog != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; gtk_widget_get_visible (window-&gt;priv-&gt;progress_dialog)))</td></tr>
+<tr class="codeline" data-linenumber="2612"><td class="num" id="LN2612">2612</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2613"><td class="num" id="LN2613">2613</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2614"><td class="num" id="LN2614">2614</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;batch_mode &amp;&amp; ! open_now)</td></tr>
+<tr class="codeline" data-linenumber="2615"><td class="num" id="LN2615">2615</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;progress_bar);</td></tr>
+<tr class="codeline" data-linenumber="2616"><td class="num" id="LN2616">2616</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2617"><td class="num" id="LN2617">2617</td><td class="line"> create_the_progress_dialog (window);</td></tr>
+<tr class="codeline" data-linenumber="2618"><td class="num" id="LN2618">2618</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;pd_cancel_button);</td></tr>
+<tr class="codeline" data-linenumber="2619"><td class="num" id="LN2619">2619</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;pd_state_button);</td></tr>
+<tr class="codeline" data-linenumber="2620"><td class="num" id="LN2620">2620</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;pd_open_archive_button);</td></tr>
+<tr class="codeline" data-linenumber="2621"><td class="num" id="LN2621">2621</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;pd_open_destination_button);</td></tr>
+<tr class="codeline" data-linenumber="2622"><td class="num" id="LN2622">2622</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;pd_open_destination_and_quit_button);</td></tr>
+<tr class="codeline" data-linenumber="2623"><td class="num" id="LN2623">2623</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;pd_quit_button);</td></tr>
+<tr class="codeline" data-linenumber="2624"><td class="num" id="LN2624">2624</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;pd_close_button);</td></tr>
+<tr class="codeline" data-linenumber="2625"><td class="num" id="LN2625">2625</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2626"><td class="num" id="LN2626">2626</td><td class="line"> <span class='keyword'>if</span> (open_now)</td></tr>
+<tr class="codeline" data-linenumber="2627"><td class="num" id="LN2627">2627</td><td class="line"> display_progress_dialog (window);</td></tr>
+<tr class="codeline" data-linenumber="2628"><td class="num" id="LN2628">2628</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="2629"><td class="num" id="LN2629">2629</td><td class="line"> window-&gt;priv-&gt;progress_timeout = g_timeout_add (<span class='macro'>PROGRESS_TIMEOUT_MSECS<span class='macro_popup'>5000</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2630"><td class="num" id="LN2630">2630</td><td class="line"> display_progress_dialog,</td></tr>
+<tr class="codeline" data-linenumber="2631"><td class="num" id="LN2631">2631</td><td class="line"> window);</td></tr>
+<tr class="codeline" data-linenumber="2632"><td class="num" id="LN2632">2632</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2633"><td class="num" id="LN2633">2633</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2634"><td class="num" id="LN2634">2634</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="2635"><td class="num" id="LN2635">2635</td><td class="line">fr_window_progress_cb (FrArchive *archive,</td></tr>
+<tr class="codeline" data-linenumber="2636"><td class="num" id="LN2636">2636</td><td class="line"> <span class='keyword'>double</span> fraction,</td></tr>
+<tr class="codeline" data-linenumber="2637"><td class="num" id="LN2637">2637</td><td class="line"> FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2638"><td class="num" id="LN2638">2638</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2639"><td class="num" id="LN2639">2639</td><td class="line"> window-&gt;priv-&gt;progress_pulse = (fraction &lt; 0.0);</td></tr>
+<tr class="codeline" data-linenumber="2640"><td class="num" id="LN2640">2640</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;progress_pulse) {</td></tr>
+<tr class="codeline" data-linenumber="2641"><td class="num" id="LN2641">2641</td><td class="line"> fraction = <span class='macro'>CLAMP (fraction, 0.0, 1.0)<span class='macro_popup'>(((fraction) &gt; (1.0)) ? (1.0) : (((fraction) &lt; (0.0)) ?<br> (0.0) : (fraction)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2642"><td class="num" id="LN2642">2642</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_dialog != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2643"><td class="num" id="LN2643">2643</td><td class="line"> gtk_progress_bar_set_fraction (<span class='macro'>GTK_PROGRESS_BAR (window-&gt;priv-&gt;pd_progress_bar)<span class='macro_popup'>((((GtkProgressBar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;pd_progress_bar)), ((gtk_progress_bar_get_type<br> ()))))))</span></span>, fraction);</td></tr>
+<tr class="codeline" data-linenumber="2644"><td class="num" id="LN2644">2644</td><td class="line"> gtk_progress_bar_set_fraction (<span class='macro'>GTK_PROGRESS_BAR (window-&gt;priv-&gt;progress_bar)<span class='macro_popup'>((((GtkProgressBar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_bar)), ((gtk_progress_bar_get_type<br> ()))))))</span></span>, fraction);</td></tr>
+<tr class="codeline" data-linenumber="2645"><td class="num" id="LN2645">2645</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2646"><td class="num" id="LN2646">2646</td><td class="line"> <span class='keyword'>if</span> ((archive != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (archive-&gt;command != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (archive-&gt;command-&gt;n_files &gt; 0)) {</td></tr>
+<tr class="codeline" data-linenumber="2647"><td class="num" id="LN2647">2647</td><td class="line"> <span class='keyword'>char</span> *message = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2648"><td class="num" id="LN2648">2648</td><td class="line"> gulong remaining_files;</td></tr>
+<tr class="codeline" data-linenumber="2649"><td class="num" id="LN2649">2649</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2650"><td class="num" id="LN2650">2650</td><td class="line"> remaining_files = (gulong) (archive-&gt;command-&gt;n_files - archive-&gt;command-&gt;n_file + 1);</td></tr>
+<tr class="codeline" data-linenumber="2651"><td class="num" id="LN2651">2651</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2652"><td class="num" id="LN2652">2652</td><td class="line"> <span class='keyword'>switch</span> (window-&gt;priv-&gt;action) {</td></tr>
+<tr class="codeline" data-linenumber="2653"><td class="num" id="LN2653">2653</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_ADDING_FILES:</td></tr>
+<tr class="codeline" data-linenumber="2654"><td class="num" id="LN2654">2654</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_EXTRACTING_FILES:</td></tr>
+<tr class="codeline" data-linenumber="2655"><td class="num" id="LN2655">2655</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_DELETING_FILES:</td></tr>
+<tr class="codeline" data-linenumber="2656"><td class="num" id="LN2656">2656</td><td class="line"> message = g_strdup_printf (g_dngettext (<span class='macro'>GETTEXT_PACKAGE<span class='macro_popup'>"engrampa"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2657"><td class="num" id="LN2657">2657</td><td class="line"> <span class='string_literal'>"%lu file remaining"</span>,</td></tr>
+<tr class="codeline" data-linenumber="2658"><td class="num" id="LN2658">2658</td><td class="line"> <span class='string_literal'>"%lu files remaining"</span>,</td></tr>
+<tr class="codeline" data-linenumber="2659"><td class="num" id="LN2659">2659</td><td class="line"> remaining_files),</td></tr>
+<tr class="codeline" data-linenumber="2660"><td class="num" id="LN2660">2660</td><td class="line"> remaining_files);</td></tr>
+<tr class="codeline" data-linenumber="2661"><td class="num" id="LN2661">2661</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2662"><td class="num" id="LN2662">2662</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="2663"><td class="num" id="LN2663">2663</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2664"><td class="num" id="LN2664">2664</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2665"><td class="num" id="LN2665">2665</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2666"><td class="num" id="LN2666">2666</td><td class="line"> <span class='keyword'>if</span> (message != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2667"><td class="num" id="LN2667">2667</td><td class="line"> fr_command_message (archive-&gt;command, message);</td></tr>
+<tr class="codeline" data-linenumber="2668"><td class="num" id="LN2668">2668</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2669"><td class="num" id="LN2669">2669</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2670"><td class="num" id="LN2670">2670</td><td class="line"> window-&gt;priv-&gt;pd_last_fraction = fraction;</td></tr>
+<tr class="codeline" data-linenumber="2671"><td class="num" id="LN2671">2671</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2672"><td class="num" id="LN2672">2672</td><td class="line"> g_signal_emit (<span class='macro'>G_OBJECT (window)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2673"><td class="num" id="LN2673">2673</td><td class="line"> fr_window_signals[PROGRESS],</td></tr>
+<tr class="codeline" data-linenumber="2674"><td class="num" id="LN2674">2674</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="2675"><td class="num" id="LN2675">2675</td><td class="line"> window-&gt;priv-&gt;pd_last_fraction,</td></tr>
+<tr class="codeline" data-linenumber="2676"><td class="num" id="LN2676">2676</td><td class="line"> window-&gt;priv-&gt;pd_last_message);</td></tr>
+<tr class="codeline" data-linenumber="2677"><td class="num" id="LN2677">2677</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2678"><td class="num" id="LN2678">2678</td><td class="line"><span class='directive'>#ifdef LOG_PROGRESS</span></td></tr>
+<tr class="codeline" data-linenumber="2679"><td class="num" id="LN2679">2679</td><td class="line"> g_print (<span class='string_literal'>"progress &gt; %2.2f\n"</span>, fraction);</td></tr>
+<tr class="codeline" data-linenumber="2680"><td class="num" id="LN2680">2680</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="2681"><td class="num" id="LN2681">2681</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2682"><td class="num" id="LN2682">2682</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2683"><td class="num" id="LN2683">2683</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2684"><td class="num" id="LN2684">2684</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2685"><td class="num" id="LN2685">2685</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2686"><td class="num" id="LN2686">2686</td><td class="line">open_progress_dialog_with_open_destination (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2687"><td class="num" id="LN2687">2687</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2688"><td class="num" id="LN2688">2688</td><td class="line"> window-&gt;priv-&gt;ask_to_open_destination_after_extraction = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2689"><td class="num" id="LN2689">2689</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2690"><td class="num" id="LN2690">2690</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;hide_progress_timeout != 0) {</td></tr>
+<tr class="codeline" data-linenumber="2691"><td class="num" id="LN2691">2691</td><td class="line"> g_source_remove (window-&gt;priv-&gt;hide_progress_timeout);</td></tr>
+<tr class="codeline" data-linenumber="2692"><td class="num" id="LN2692">2692</td><td class="line"> window-&gt;priv-&gt;hide_progress_timeout = 0;</td></tr>
+<tr class="codeline" data-linenumber="2693"><td class="num" id="LN2693">2693</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2694"><td class="num" id="LN2694">2694</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_timeout != 0) {</td></tr>
+<tr class="codeline" data-linenumber="2695"><td class="num" id="LN2695">2695</td><td class="line"> g_source_remove (window-&gt;priv-&gt;progress_timeout);</td></tr>
+<tr class="codeline" data-linenumber="2696"><td class="num" id="LN2696">2696</td><td class="line"> window-&gt;priv-&gt;progress_timeout = 0;</td></tr>
+<tr class="codeline" data-linenumber="2697"><td class="num" id="LN2697">2697</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2698"><td class="num" id="LN2698">2698</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2699"><td class="num" id="LN2699">2699</td><td class="line"> create_the_progress_dialog (window);</td></tr>
+<tr class="codeline" data-linenumber="2700"><td class="num" id="LN2700">2700</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;pd_cancel_button);</td></tr>
+<tr class="codeline" data-linenumber="2701"><td class="num" id="LN2701">2701</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;pd_state_button);</td></tr>
+<tr class="codeline" data-linenumber="2702"><td class="num" id="LN2702">2702</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;pd_open_archive_button);</td></tr>
+<tr class="codeline" data-linenumber="2703"><td class="num" id="LN2703">2703</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;pd_open_destination_button);</td></tr>
+<tr class="codeline" data-linenumber="2704"><td class="num" id="LN2704">2704</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;pd_open_destination_and_quit_button);</td></tr>
+<tr class="codeline" data-linenumber="2705"><td class="num" id="LN2705">2705</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;pd_quit_button);</td></tr>
+<tr class="codeline" data-linenumber="2706"><td class="num" id="LN2706">2706</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;pd_close_button);</td></tr>
+<tr class="codeline" data-linenumber="2707"><td class="num" id="LN2707">2707</td><td class="line"> display_progress_dialog (window);</td></tr>
+<tr class="codeline" data-linenumber="2708"><td class="num" id="LN2708">2708</td><td class="line"> fr_window_progress_cb (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, 1.0, window);</td></tr>
+<tr class="codeline" data-linenumber="2709"><td class="num" id="LN2709">2709</td><td class="line"> fr_window_message_cb (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>_(<span class='string_literal'>"Extraction completed successfully"</span>)<span class='macro_popup'>gettext ("Extraction completed successfully")</span></span>, window);</td></tr>
+<tr class="codeline" data-linenumber="2710"><td class="num" id="LN2710">2710</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2711"><td class="num" id="LN2711">2711</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;close_dialog)</td></tr>
+<tr class="codeline" data-linenumber="2712"><td class="num" id="LN2712">2712</td><td class="line"> close_progress_dialog (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2713"><td class="num" id="LN2713">2713</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2714"><td class="num" id="LN2714">2714</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2715"><td class="num" id="LN2715">2715</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2716"><td class="num" id="LN2716">2716</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2717"><td class="num" id="LN2717">2717</td><td class="line">open_progress_dialog_with_open_archive (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2718"><td class="num" id="LN2718">2718</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2719"><td class="num" id="LN2719">2719</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;hide_progress_timeout != 0) {</td></tr>
+<tr class="codeline" data-linenumber="2720"><td class="num" id="LN2720">2720</td><td class="line"> g_source_remove (window-&gt;priv-&gt;hide_progress_timeout);</td></tr>
+<tr class="codeline" data-linenumber="2721"><td class="num" id="LN2721">2721</td><td class="line"> window-&gt;priv-&gt;hide_progress_timeout = 0;</td></tr>
+<tr class="codeline" data-linenumber="2722"><td class="num" id="LN2722">2722</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2723"><td class="num" id="LN2723">2723</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_timeout != 0) {</td></tr>
+<tr class="codeline" data-linenumber="2724"><td class="num" id="LN2724">2724</td><td class="line"> g_source_remove (window-&gt;priv-&gt;progress_timeout);</td></tr>
+<tr class="codeline" data-linenumber="2725"><td class="num" id="LN2725">2725</td><td class="line"> window-&gt;priv-&gt;progress_timeout = 0;</td></tr>
+<tr class="codeline" data-linenumber="2726"><td class="num" id="LN2726">2726</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2727"><td class="num" id="LN2727">2727</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2728"><td class="num" id="LN2728">2728</td><td class="line"> create_the_progress_dialog (window);</td></tr>
+<tr class="codeline" data-linenumber="2729"><td class="num" id="LN2729">2729</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;pd_cancel_button);</td></tr>
+<tr class="codeline" data-linenumber="2730"><td class="num" id="LN2730">2730</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;pd_state_button);</td></tr>
+<tr class="codeline" data-linenumber="2731"><td class="num" id="LN2731">2731</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;pd_open_destination_button);</td></tr>
+<tr class="codeline" data-linenumber="2732"><td class="num" id="LN2732">2732</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;pd_open_destination_and_quit_button);</td></tr>
+<tr class="codeline" data-linenumber="2733"><td class="num" id="LN2733">2733</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;pd_open_archive_button);</td></tr>
+<tr class="codeline" data-linenumber="2734"><td class="num" id="LN2734">2734</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;pd_close_button);</td></tr>
+<tr class="codeline" data-linenumber="2735"><td class="num" id="LN2735">2735</td><td class="line"> display_progress_dialog (window);</td></tr>
+<tr class="codeline" data-linenumber="2736"><td class="num" id="LN2736">2736</td><td class="line"> fr_window_progress_cb (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, 1.0, window);</td></tr>
+<tr class="codeline" data-linenumber="2737"><td class="num" id="LN2737">2737</td><td class="line"> fr_window_message_cb (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>_(<span class='string_literal'>"Archive created successfully"</span>)<span class='macro_popup'>gettext ("Archive created successfully")</span></span>, window);</td></tr>
+<tr class="codeline" data-linenumber="2738"><td class="num" id="LN2738">2738</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2739"><td class="num" id="LN2739">2739</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2740"><td class="num" id="LN2740">2740</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2741"><td class="num" id="LN2741">2741</td><td class="line">fr_window_push_message (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="2742"><td class="num" id="LN2742">2742</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *msg)</td></tr>
+<tr class="codeline" data-linenumber="2743"><td class="num" id="LN2743">2743</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2744"><td class="num" id="LN2744">2744</td><td class="line"> <span class='keyword'>if</span> (! gtk_widget_get_mapped (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="2745"><td class="num" id="LN2745">2745</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2746"><td class="num" id="LN2746">2746</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2747"><td class="num" id="LN2747">2747</td><td class="line"> gtk_statusbar_push (<span class='macro'>GTK_STATUSBAR (window-&gt;priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;statusbar)), ((gtk_statusbar_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2748"><td class="num" id="LN2748">2748</td><td class="line"> window-&gt;priv-&gt;progress_cid,</td></tr>
+<tr class="codeline" data-linenumber="2749"><td class="num" id="LN2749">2749</td><td class="line"> msg);</td></tr>
+<tr class="codeline" data-linenumber="2750"><td class="num" id="LN2750">2750</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2751"><td class="num" id="LN2751">2751</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2752"><td class="num" id="LN2752">2752</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2753"><td class="num" id="LN2753">2753</td><td class="line">fr_window_pop_message (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2754"><td class="num" id="LN2754">2754</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2755"><td class="num" id="LN2755">2755</td><td class="line"> <span class='keyword'>if</span> (! gtk_widget_get_mapped (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="2756"><td class="num" id="LN2756">2756</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2757"><td class="num" id="LN2757">2757</td><td class="line"> gtk_statusbar_pop (<span class='macro'>GTK_STATUSBAR (window-&gt;priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;statusbar)), ((gtk_statusbar_get_type<br> ()))))))</span></span>, window-&gt;priv-&gt;progress_cid);</td></tr>
+<tr class="codeline" data-linenumber="2758"><td class="num" id="LN2758">2758</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_dialog != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2759"><td class="num" id="LN2759">2759</td><td class="line"> gtk_label_set_text (<span class='macro'>GTK_LABEL (window-&gt;priv-&gt;pd_message)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;pd_message)), ((gtk_label_get_type (<br>)))))))</span></span>, <span class='string_literal'>""</span>);</td></tr>
+<tr class="codeline" data-linenumber="2760"><td class="num" id="LN2760">2760</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2761"><td class="num" id="LN2761">2761</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2762"><td class="num" id="LN2762">2762</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2763"><td class="num" id="LN2763">2763</td><td class="line">action_started (FrArchive *archive,</td></tr>
+<tr class="codeline" data-linenumber="2764"><td class="num" id="LN2764">2764</td><td class="line"> FrAction action,</td></tr>
+<tr class="codeline" data-linenumber="2765"><td class="num" id="LN2765">2765</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="2766"><td class="num" id="LN2766">2766</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2767"><td class="num" id="LN2767">2767</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="2768"><td class="num" id="LN2768">2768</td><td class="line"> <span class='keyword'>char</span> *message;</td></tr>
+<tr class="codeline" data-linenumber="2769"><td class="num" id="LN2769">2769</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2770"><td class="num" id="LN2770">2770</td><td class="line"> window-&gt;priv-&gt;action = action;</td></tr>
+<tr class="codeline" data-linenumber="2771"><td class="num" id="LN2771">2771</td><td class="line"> fr_window_start_activity_mode (window);</td></tr>
+<tr class="codeline" data-linenumber="2772"><td class="num" id="LN2772">2772</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2773"><td class="num" id="LN2773">2773</td><td class="line"><span class='directive'>#ifdef MATE_ENABLE_DEBUG</span></td></tr>
+<tr class="codeline" data-linenumber="2774"><td class="num" id="LN2774">2774</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 2774, __FUNCTION__</span></span>, <span class='string_literal'>"%s [START] (FR::Window)\n"</span>, get_action_name (action));</td></tr>
+<tr class="codeline" data-linenumber="2775"><td class="num" id="LN2775">2775</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="2776"><td class="num" id="LN2776">2776</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2777"><td class="num" id="LN2777">2777</td><td class="line"> message = get_action_description (action, window-&gt;priv-&gt;pd_last_archive);</td></tr>
+<tr class="codeline" data-linenumber="2778"><td class="num" id="LN2778">2778</td><td class="line"> fr_window_push_message (window, message);</td></tr>
+<tr class="codeline" data-linenumber="2779"><td class="num" id="LN2779">2779</td><td class="line"> g_free (message);</td></tr>
+<tr class="codeline" data-linenumber="2780"><td class="num" id="LN2780">2780</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2781"><td class="num" id="LN2781">2781</td><td class="line"> <span class='keyword'>switch</span> (action) {</td></tr>
+<tr class="codeline" data-linenumber="2782"><td class="num" id="LN2782">2782</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_EXTRACTING_FILES:</td></tr>
+<tr class="codeline" data-linenumber="2783"><td class="num" id="LN2783">2783</td><td class="line"> open_progress_dialog (window, window-&gt;priv-&gt;ask_to_open_destination_after_extraction || window-&gt;priv-&gt;convert_data.converting || window-&gt;priv-&gt;batch_mode);</td></tr>
+<tr class="codeline" data-linenumber="2784"><td class="num" id="LN2784">2784</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2785"><td class="num" id="LN2785">2785</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="2786"><td class="num" id="LN2786">2786</td><td class="line"> open_progress_dialog (window, window-&gt;priv-&gt;batch_mode);</td></tr>
+<tr class="codeline" data-linenumber="2787"><td class="num" id="LN2787">2787</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2788"><td class="num" id="LN2788">2788</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2789"><td class="num" id="LN2789">2789</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2790"><td class="num" id="LN2790">2790</td><td class="line"> <span class='keyword'>if</span> (archive-&gt;command != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="2791"><td class="num" id="LN2791">2791</td><td class="line"> fr_command_progress (archive-&gt;command, -1.0);</td></tr>
+<tr class="codeline" data-linenumber="2792"><td class="num" id="LN2792">2792</td><td class="line"> fr_command_message (archive-&gt;command, <span class='macro'>_(<span class='string_literal'>"Please wait…"</span>)<span class='macro_popup'>gettext ("Please wait…")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2793"><td class="num" id="LN2793">2793</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2794"><td class="num" id="LN2794">2794</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2795"><td class="num" id="LN2795">2795</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2796"><td class="num" id="LN2796">2796</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2797"><td class="num" id="LN2797">2797</td><td class="line">fr_window_add_to_recent_list (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="2798"><td class="num" id="LN2798">2798</td><td class="line"> <span class='keyword'>char</span> *uri)</td></tr>
+<tr class="codeline" data-linenumber="2799"><td class="num" id="LN2799">2799</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2800"><td class="num" id="LN2800">2800</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;batch_mode)</td></tr>
+<tr class="codeline" data-linenumber="2801"><td class="num" id="LN2801">2801</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2802"><td class="num" id="LN2802">2802</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2803"><td class="num" id="LN2803">2803</td><td class="line"> <span class='keyword'>if</span> (is_temp_dir (uri))</td></tr>
+<tr class="codeline" data-linenumber="2804"><td class="num" id="LN2804">2804</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2805"><td class="num" id="LN2805">2805</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2806"><td class="num" id="LN2806">2806</td><td class="line"> <span class='keyword'>if</span> (window-&gt;archive-&gt;content_type != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="2807"><td class="num" id="LN2807">2807</td><td class="line"> GtkRecentData *recent_data;</td></tr>
+<tr class="codeline" data-linenumber="2808"><td class="num" id="LN2808">2808</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2809"><td class="num" id="LN2809">2809</td><td class="line"> recent_data = <span class='macro'>g_new0 (GtkRecentData, 1)<span class='macro_popup'>((GtkRecentData *) g_malloc0_n ((1), sizeof (GtkRecentData)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2810"><td class="num" id="LN2810">2810</td><td class="line"> recent_data-&gt;mime_type = g_content_type_get_mime_type (window-&gt;archive-&gt;content_type);</td></tr>
+<tr class="codeline" data-linenumber="2811"><td class="num" id="LN2811">2811</td><td class="line"> recent_data-&gt;app_name = <span class='string_literal'>"Engrampa"</span>;</td></tr>
+<tr class="codeline" data-linenumber="2812"><td class="num" id="LN2812">2812</td><td class="line"> recent_data-&gt;app_exec = <span class='string_literal'>"engrampa"</span>;</td></tr>
+<tr class="codeline" data-linenumber="2813"><td class="num" id="LN2813">2813</td><td class="line"> gtk_recent_manager_add_full (gtk_recent_manager_get_default (), uri, recent_data);</td></tr>
+<tr class="codeline" data-linenumber="2814"><td class="num" id="LN2814">2814</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2815"><td class="num" id="LN2815">2815</td><td class="line"> g_free (recent_data-&gt;mime_type);</td></tr>
+<tr class="codeline" data-linenumber="2816"><td class="num" id="LN2816">2816</td><td class="line"> g_free (recent_data);</td></tr>
+<tr class="codeline" data-linenumber="2817"><td class="num" id="LN2817">2817</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2818"><td class="num" id="LN2818">2818</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="2819"><td class="num" id="LN2819">2819</td><td class="line"> gtk_recent_manager_add_item (gtk_recent_manager_get_default (), uri);</td></tr>
+<tr class="codeline" data-linenumber="2820"><td class="num" id="LN2820">2820</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2821"><td class="num" id="LN2821">2821</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2822"><td class="num" id="LN2822">2822</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2823"><td class="num" id="LN2823">2823</td><td class="line">fr_window_remove_from_recent_list (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="2824"><td class="num" id="LN2824">2824</td><td class="line"> <span class='keyword'>char</span> *filename)</td></tr>
+<tr class="codeline" data-linenumber="2825"><td class="num" id="LN2825">2825</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2826"><td class="num" id="LN2826">2826</td><td class="line"> <span class='keyword'>if</span> (filename != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2827"><td class="num" id="LN2827">2827</td><td class="line"> gtk_recent_manager_remove_item (gtk_recent_manager_get_default (), filename, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2828"><td class="num" id="LN2828">2828</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2829"><td class="num" id="LN2829">2829</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2830"><td class="num" id="LN2830">2830</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2831"><td class="num" id="LN2831">2831</td><td class="line">error_dialog_response_cb (GtkDialog *dialog,</td></tr>
+<tr class="codeline" data-linenumber="2832"><td class="num" id="LN2832">2832</td><td class="line"> gint arg1,</td></tr>
+<tr class="codeline" data-linenumber="2833"><td class="num" id="LN2833">2833</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="2834"><td class="num" id="LN2834">2834</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2835"><td class="num" id="LN2835">2835</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="2836"><td class="num" id="LN2836">2836</td><td class="line"> GtkWindow *dialog_parent = window-&gt;priv-&gt;error_dialog_parent;</td></tr>
+<tr class="codeline" data-linenumber="2837"><td class="num" id="LN2837">2837</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2838"><td class="num" id="LN2838">2838</td><td class="line"> window-&gt;priv-&gt;showing_error_dialog = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2839"><td class="num" id="LN2839">2839</td><td class="line"> window-&gt;priv-&gt;error_dialog_parent = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2840"><td class="num" id="LN2840">2840</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2841"><td class="num" id="LN2841">2841</td><td class="line"> <span class='keyword'>if</span> ((dialog_parent != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (gtk_widget_get_toplevel (<span class='macro'>GTK_WIDGET (dialog_parent)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog_parent)), ((gtk_widget_get_type ()))))))</span></span>) != (GtkWidget*) dialog_parent))</td></tr>
+<tr class="codeline" data-linenumber="2842"><td class="num" id="LN2842">2842</td><td class="line"> gtk_window_set_modal (dialog_parent, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2843"><td class="num" id="LN2843">2843</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (dialog)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2844"><td class="num" id="LN2844">2844</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2845"><td class="num" id="LN2845">2845</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;destroy_with_error_dialog)</td></tr>
+<tr class="codeline" data-linenumber="2846"><td class="num" id="LN2846">2846</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2847"><td class="num" id="LN2847">2847</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2848"><td class="num" id="LN2848">2848</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2849"><td class="num" id="LN2849">2849</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2850"><td class="num" id="LN2850">2850</td><td class="line">fr_window_show_error_dialog (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="2851"><td class="num" id="LN2851">2851</td><td class="line"> GtkWidget *dialog,</td></tr>
+<tr class="codeline" data-linenumber="2852"><td class="num" id="LN2852">2852</td><td class="line"> GtkWindow *dialog_parent,</td></tr>
+<tr class="codeline" data-linenumber="2853"><td class="num" id="LN2853">2853</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *details)</td></tr>
+<tr class="codeline" data-linenumber="2854"><td class="num" id="LN2854">2854</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2855"><td class="num" id="LN2855">2855</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;batch_mode &amp;&amp; ! window-&gt;priv-&gt;use_progress_dialog) {</td></tr>
+<tr class="codeline" data-linenumber="2856"><td class="num" id="LN2856">2856</td><td class="line"> GError *error;</td></tr>
+<tr class="codeline" data-linenumber="2857"><td class="num" id="LN2857">2857</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2858"><td class="num" id="LN2858">2858</td><td class="line"> error = g_error_new_literal (<span class='macro'>FR_ERROR<span class='macro_popup'>fr_error_quark ()</span></span>, FR_PROC_ERROR_GENERIC, details ? details : <span class='macro'>_(<span class='string_literal'>"Command exited abnormally."</span>)<span class='macro_popup'>gettext ("Command exited abnormally.")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2859"><td class="num" id="LN2859">2859</td><td class="line"> g_signal_emit (window,</td></tr>
+<tr class="codeline" data-linenumber="2860"><td class="num" id="LN2860">2860</td><td class="line"> fr_window_signals[READY],</td></tr>
+<tr class="codeline" data-linenumber="2861"><td class="num" id="LN2861">2861</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="2862"><td class="num" id="LN2862">2862</td><td class="line"> error);</td></tr>
+<tr class="codeline" data-linenumber="2863"><td class="num" id="LN2863">2863</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2864"><td class="num" id="LN2864">2864</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2865"><td class="num" id="LN2865">2865</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2866"><td class="num" id="LN2866">2866</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2867"><td class="num" id="LN2867">2867</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2868"><td class="num" id="LN2868">2868</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2869"><td class="num" id="LN2869">2869</td><td class="line"> close_progress_dialog (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2870"><td class="num" id="LN2870">2870</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2871"><td class="num" id="LN2871">2871</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;batch_mode)</td></tr>
+<tr class="codeline" data-linenumber="2872"><td class="num" id="LN2872">2872</td><td class="line"> fr_window_destroy_with_error_dialog (window);</td></tr>
+<tr class="codeline" data-linenumber="2873"><td class="num" id="LN2873">2873</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2874"><td class="num" id="LN2874">2874</td><td class="line"> <span class='keyword'>if</span> (dialog_parent != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2875"><td class="num" id="LN2875">2875</td><td class="line"> gtk_window_set_modal (dialog_parent, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2876"><td class="num" id="LN2876">2876</td><td class="line"> <span class='macro'>g_signal_connect (dialog,<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>error_dialog_response_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2877"><td class="num" id="LN2877">2877</td><td class="line"> <span class='string_literal'><span class='macro'>"response"</span>,<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>error_dialog_response_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2878"><td class="num" id="LN2878">2878</td><td class="line"> <span class='macro'>G_CALLBACK (error_dialog_response_cb),<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>error_dialog_response_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2879"><td class="num" id="LN2879">2879</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>error_dialog_response_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2880"><td class="num" id="LN2880">2880</td><td class="line"> gtk_window_set_modal (<span class='macro'>GTK_WINDOW (dialog)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_window_get_type ()))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2881"><td class="num" id="LN2881">2881</td><td class="line"> gtk_widget_show (dialog);</td></tr>
+<tr class="codeline" data-linenumber="2882"><td class="num" id="LN2882">2882</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2883"><td class="num" id="LN2883">2883</td><td class="line"> window-&gt;priv-&gt;showing_error_dialog = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2884"><td class="num" id="LN2884">2884</td><td class="line"> window-&gt;priv-&gt;error_dialog_parent = dialog_parent;</td></tr>
+<tr class="codeline" data-linenumber="2885"><td class="num" id="LN2885">2885</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2886"><td class="num" id="LN2886">2886</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2887"><td class="num" id="LN2887">2887</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2888"><td class="num" id="LN2888">2888</td><td class="line">fr_window_destroy_with_error_dialog (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2889"><td class="num" id="LN2889">2889</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2890"><td class="num" id="LN2890">2890</td><td class="line"> window-&gt;priv-&gt;destroy_with_error_dialog = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2891"><td class="num" id="LN2891">2891</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2892"><td class="num" id="LN2892">2892</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2893"><td class="num" id="LN2893">2893</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="2894"><td class="num" id="LN2894">2894</td><td class="line">handle_errors (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="2895"><td class="num" id="LN2895">2895</td><td class="line"> FrArchive *archive,</td></tr>
+<tr class="codeline" data-linenumber="2896"><td class="num" id="LN2896">2896</td><td class="line"> FrAction action,</td></tr>
+<tr class="codeline" data-linenumber="2897"><td class="num" id="LN2897">2897</td><td class="line"> FrProcError *error)</td></tr>
+<tr class="codeline" data-linenumber="2898"><td class="num" id="LN2898">2898</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2899"><td class="num" id="LN2899">2899</td><td class="line"> <span class='keyword'>if</span> (error-&gt;type == FR_PROC_ERROR_ASK_PASSWORD) {</td></tr>
+<tr class="codeline" data-linenumber="2900"><td class="num" id="LN2900">2900</td><td class="line"> close_progress_dialog (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2901"><td class="num" id="LN2901">2901</td><td class="line"> dlg_ask_password (window);</td></tr>
+<tr class="codeline" data-linenumber="2902"><td class="num" id="LN2902">2902</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2903"><td class="num" id="LN2903">2903</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2904"><td class="num" id="LN2904">2904</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (error-&gt;type == FR_PROC_ERROR_UNSUPPORTED_FORMAT) {</td></tr>
+<tr class="codeline" data-linenumber="2905"><td class="num" id="LN2905">2905</td><td class="line"> close_progress_dialog (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2906"><td class="num" id="LN2906">2906</td><td class="line"> dlg_package_installer (window, archive, action);</td></tr>
+<tr class="codeline" data-linenumber="2907"><td class="num" id="LN2907">2907</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2908"><td class="num" id="LN2908">2908</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2909"><td class="num" id="LN2909">2909</td><td class="line"><span class='directive'>#if 0</span></td></tr>
+<tr class="codeline" data-linenumber="2910"><td class="num" id="LN2910">2910</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (error-&gt;type == FR_PROC_ERROR_BAD_CHARSET) {</td></tr>
+<tr class="codeline" data-linenumber="2911"><td class="num" id="LN2911">2911</td><td class="line"> close_progress_dialog (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2912"><td class="num" id="LN2912">2912</td><td class="line"> <span class='comment'>/* dlg_ask_archive_charset (window); FIXME: implement after feature freeze */</span></td></tr>
+<tr class="codeline" data-linenumber="2913"><td class="num" id="LN2913">2913</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2914"><td class="num" id="LN2914">2914</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2915"><td class="num" id="LN2915">2915</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="2916"><td class="num" id="LN2916">2916</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (error-&gt;type == FR_PROC_ERROR_STOPPED) {</td></tr>
+<tr class="codeline" data-linenumber="2917"><td class="num" id="LN2917">2917</td><td class="line"> <span class='comment'>/* nothing */</span></td></tr>
+<tr class="codeline" data-linenumber="2918"><td class="num" id="LN2918">2918</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2919"><td class="num" id="LN2919">2919</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (error-&gt;type != FR_PROC_ERROR_NONE) {</td></tr>
+<tr class="codeline" data-linenumber="2920"><td class="num" id="LN2920">2920</td><td class="line"> <span class='keyword'>char</span> *msg = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2921"><td class="num" id="LN2921">2921</td><td class="line"> <span class='keyword'>char</span> *utf8_name;</td></tr>
+<tr class="codeline" data-linenumber="2922"><td class="num" id="LN2922">2922</td><td class="line"> <span class='keyword'>char</span> *details = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2923"><td class="num" id="LN2923">2923</td><td class="line"> GtkWindow *dialog_parent;</td></tr>
+<tr class="codeline" data-linenumber="2924"><td class="num" id="LN2924">2924</td><td class="line"> GtkWidget *dialog;</td></tr>
+<tr class="codeline" data-linenumber="2925"><td class="num" id="LN2925">2925</td><td class="line"> FrProcess *process = archive-&gt;process;</td></tr>
+<tr class="codeline" data-linenumber="2926"><td class="num" id="LN2926">2926</td><td class="line"> GList *output = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2927"><td class="num" id="LN2927">2927</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2928"><td class="num" id="LN2928">2928</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;batch_mode) {</td></tr>
+<tr class="codeline" data-linenumber="2929"><td class="num" id="LN2929">2929</td><td class="line"> dialog_parent = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2930"><td class="num" id="LN2930">2930</td><td class="line"> window-&gt;priv-&gt;load_error_parent_window = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2931"><td class="num" id="LN2931">2931</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2932"><td class="num" id="LN2932">2932</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="2933"><td class="num" id="LN2933">2933</td><td class="line"> dialog_parent = (GtkWindow *) window;</td></tr>
+<tr class="codeline" data-linenumber="2934"><td class="num" id="LN2934">2934</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;load_error_parent_window == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2935"><td class="num" id="LN2935">2935</td><td class="line"> window-&gt;priv-&gt;load_error_parent_window = (GtkWindow *) window;</td></tr>
+<tr class="codeline" data-linenumber="2936"><td class="num" id="LN2936">2936</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2937"><td class="num" id="LN2937">2937</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2938"><td class="num" id="LN2938">2938</td><td class="line"> <span class='keyword'>if</span> ((action == FR_ACTION_LISTING_CONTENT) || (action == FR_ACTION_LOADING_ARCHIVE))</td></tr>
+<tr class="codeline" data-linenumber="2939"><td class="num" id="LN2939">2939</td><td class="line"> fr_window_archive_close (window);</td></tr>
+<tr class="codeline" data-linenumber="2940"><td class="num" id="LN2940">2940</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2941"><td class="num" id="LN2941">2941</td><td class="line"> <span class='keyword'>switch</span> (action) {</td></tr>
+<tr class="codeline" data-linenumber="2942"><td class="num" id="LN2942">2942</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_CREATING_NEW_ARCHIVE:</td></tr>
+<tr class="codeline" data-linenumber="2943"><td class="num" id="LN2943">2943</td><td class="line"> dialog_parent = window-&gt;priv-&gt;load_error_parent_window;</td></tr>
+<tr class="codeline" data-linenumber="2944"><td class="num" id="LN2944">2944</td><td class="line"> msg = <span class='macro'>_(<span class='string_literal'>"Could not create the archive"</span>)<span class='macro_popup'>gettext ("Could not create the archive")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2945"><td class="num" id="LN2945">2945</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2946"><td class="num" id="LN2946">2946</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2947"><td class="num" id="LN2947">2947</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_EXTRACTING_FILES:</td></tr>
+<tr class="codeline" data-linenumber="2948"><td class="num" id="LN2948">2948</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_COPYING_FILES_TO_REMOTE:</td></tr>
+<tr class="codeline" data-linenumber="2949"><td class="num" id="LN2949">2949</td><td class="line"> msg = <span class='macro'>_(<span class='string_literal'>"An error occurred while extracting files."</span>)<span class='macro_popup'>gettext ("An error occurred while extracting files.")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2950"><td class="num" id="LN2950">2950</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2951"><td class="num" id="LN2951">2951</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2952"><td class="num" id="LN2952">2952</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_LOADING_ARCHIVE:</td></tr>
+<tr class="codeline" data-linenumber="2953"><td class="num" id="LN2953">2953</td><td class="line"> dialog_parent = window-&gt;priv-&gt;load_error_parent_window;</td></tr>
+<tr class="codeline" data-linenumber="2954"><td class="num" id="LN2954">2954</td><td class="line"> utf8_name = g_uri_display_basename (window-&gt;priv-&gt;archive_uri);</td></tr>
+<tr class="codeline" data-linenumber="2955"><td class="num" id="LN2955">2955</td><td class="line"> msg = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Could not open \"%s\""</span>)<span class='macro_popup'>gettext ("Could not open \"%s\"")</span></span>, utf8_name);</td></tr>
+<tr class="codeline" data-linenumber="2956"><td class="num" id="LN2956">2956</td><td class="line"> g_free (utf8_name);</td></tr>
+<tr class="codeline" data-linenumber="2957"><td class="num" id="LN2957">2957</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2958"><td class="num" id="LN2958">2958</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2959"><td class="num" id="LN2959">2959</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_LISTING_CONTENT:</td></tr>
+<tr class="codeline" data-linenumber="2960"><td class="num" id="LN2960">2960</td><td class="line"> msg = <span class='macro'>_(<span class='string_literal'>"An error occurred while loading the archive."</span>)<span class='macro_popup'>gettext ("An error occurred while loading the archive.")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2961"><td class="num" id="LN2961">2961</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2962"><td class="num" id="LN2962">2962</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2963"><td class="num" id="LN2963">2963</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_DELETING_FILES:</td></tr>
+<tr class="codeline" data-linenumber="2964"><td class="num" id="LN2964">2964</td><td class="line"> msg = <span class='macro'>_(<span class='string_literal'>"An error occurred while deleting files from the archive."</span>)<span class='macro_popup'>gettext ("An error occurred while deleting files from the archive."<br>)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2965"><td class="num" id="LN2965">2965</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2966"><td class="num" id="LN2966">2966</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2967"><td class="num" id="LN2967">2967</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_ADDING_FILES:</td></tr>
+<tr class="codeline" data-linenumber="2968"><td class="num" id="LN2968">2968</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_GETTING_FILE_LIST:</td></tr>
+<tr class="codeline" data-linenumber="2969"><td class="num" id="LN2969">2969</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_COPYING_FILES_FROM_REMOTE:</td></tr>
+<tr class="codeline" data-linenumber="2970"><td class="num" id="LN2970">2970</td><td class="line"> msg = <span class='macro'>_(<span class='string_literal'>"An error occurred while adding files to the archive."</span>)<span class='macro_popup'>gettext ("An error occurred while adding files to the archive."<br>)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2971"><td class="num" id="LN2971">2971</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2972"><td class="num" id="LN2972">2972</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2973"><td class="num" id="LN2973">2973</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_TESTING_ARCHIVE:</td></tr>
+<tr class="codeline" data-linenumber="2974"><td class="num" id="LN2974">2974</td><td class="line"> msg = <span class='macro'>_(<span class='string_literal'>"An error occurred while testing archive."</span>)<span class='macro_popup'>gettext ("An error occurred while testing archive.")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2975"><td class="num" id="LN2975">2975</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2976"><td class="num" id="LN2976">2976</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2977"><td class="num" id="LN2977">2977</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_SAVING_REMOTE_ARCHIVE:</td></tr>
+<tr class="codeline" data-linenumber="2978"><td class="num" id="LN2978">2978</td><td class="line"> msg = <span class='macro'>_(<span class='string_literal'>"An error occurred while saving the archive."</span>)<span class='macro_popup'>gettext ("An error occurred while saving the archive.")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2979"><td class="num" id="LN2979">2979</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2980"><td class="num" id="LN2980">2980</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2981"><td class="num" id="LN2981">2981</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="2982"><td class="num" id="LN2982">2982</td><td class="line"> msg = <span class='macro'>_(<span class='string_literal'>"An error occurred."</span>)<span class='macro_popup'>gettext ("An error occurred.")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2983"><td class="num" id="LN2983">2983</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2984"><td class="num" id="LN2984">2984</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2985"><td class="num" id="LN2985">2985</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2986"><td class="num" id="LN2986">2986</td><td class="line"> <span class='keyword'>switch</span> (error-&gt;type) {</td></tr>
+<tr class="codeline" data-linenumber="2987"><td class="num" id="LN2987">2987</td><td class="line"> <span class='keyword'>case</span> FR_PROC_ERROR_COMMAND_NOT_FOUND:</td></tr>
+<tr class="codeline" data-linenumber="2988"><td class="num" id="LN2988">2988</td><td class="line"> details = <span class='macro'>_(<span class='string_literal'>"Command not found."</span>)<span class='macro_popup'>gettext ("Command not found.")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2989"><td class="num" id="LN2989">2989</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2990"><td class="num" id="LN2990">2990</td><td class="line"> <span class='keyword'>case</span> FR_PROC_ERROR_EXITED_ABNORMALLY:</td></tr>
+<tr class="codeline" data-linenumber="2991"><td class="num" id="LN2991">2991</td><td class="line"> details = <span class='macro'>_(<span class='string_literal'>"Command exited abnormally."</span>)<span class='macro_popup'>gettext ("Command exited abnormally.")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2992"><td class="num" id="LN2992">2992</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2993"><td class="num" id="LN2993">2993</td><td class="line"> <span class='keyword'>case</span> FR_PROC_ERROR_SPAWN:</td></tr>
+<tr class="codeline" data-linenumber="2994"><td class="num" id="LN2994">2994</td><td class="line"> details = error-&gt;gerror-&gt;message;</td></tr>
+<tr class="codeline" data-linenumber="2995"><td class="num" id="LN2995">2995</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2996"><td class="num" id="LN2996">2996</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="2997"><td class="num" id="LN2997">2997</td><td class="line"> <span class='keyword'>if</span> (error-&gt;gerror != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2998"><td class="num" id="LN2998">2998</td><td class="line"> details = error-&gt;gerror-&gt;message;</td></tr>
+<tr class="codeline" data-linenumber="2999"><td class="num" id="LN2999">2999</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="3000"><td class="num" id="LN3000">3000</td><td class="line"> details = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3001"><td class="num" id="LN3001">3001</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="3002"><td class="num" id="LN3002">3002</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3003"><td class="num" id="LN3003">3003</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3004"><td class="num" id="LN3004">3004</td><td class="line"> <span class='keyword'>if</span> (error-&gt;type != FR_PROC_ERROR_GENERIC)</td></tr>
+<tr class="codeline" data-linenumber="3005"><td class="num" id="LN3005">3005</td><td class="line"> output = (process-&gt;err.raw != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) ? process-&gt;err.raw : process-&gt;out.raw;</td></tr>
+<tr class="codeline" data-linenumber="3006"><td class="num" id="LN3006">3006</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3007"><td class="num" id="LN3007">3007</td><td class="line"> dialog = _gtk_error_dialog_new (dialog_parent,</td></tr>
+<tr class="codeline" data-linenumber="3008"><td class="num" id="LN3008">3008</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="3009"><td class="num" id="LN3009">3009</td><td class="line"> output,</td></tr>
+<tr class="codeline" data-linenumber="3010"><td class="num" id="LN3010">3010</td><td class="line"> msg,</td></tr>
+<tr class="codeline" data-linenumber="3011"><td class="num" id="LN3011">3011</td><td class="line"> ((details != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) ? <span class='string_literal'>"%s"</span> : <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>),</td></tr>
+<tr class="codeline" data-linenumber="3012"><td class="num" id="LN3012">3012</td><td class="line"> details);</td></tr>
+<tr class="codeline" data-linenumber="3013"><td class="num" id="LN3013">3013</td><td class="line"> fr_window_show_error_dialog (window, dialog, dialog_parent, details);</td></tr>
+<tr class="codeline" data-linenumber="3014"><td class="num" id="LN3014">3014</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3015"><td class="num" id="LN3015">3015</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3016"><td class="num" id="LN3016">3016</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3017"><td class="num" id="LN3017">3017</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3018"><td class="num" id="LN3018">3018</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3019"><td class="num" id="LN3019">3019</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3020"><td class="num" id="LN3020">3020</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3021"><td class="num" id="LN3021">3021</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3022"><td class="num" id="LN3022">3022</td><td class="line">convert__action_performed (FrArchive *archive,</td></tr>
+<tr class="codeline" data-linenumber="3023"><td class="num" id="LN3023">3023</td><td class="line"> FrAction action,</td></tr>
+<tr class="codeline" data-linenumber="3024"><td class="num" id="LN3024">3024</td><td class="line"> FrProcError *error,</td></tr>
+<tr class="codeline" data-linenumber="3025"><td class="num" id="LN3025">3025</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="3026"><td class="num" id="LN3026">3026</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3027"><td class="num" id="LN3027">3027</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="3028"><td class="num" id="LN3028">3028</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3029"><td class="num" id="LN3029">3029</td><td class="line"><span class='directive'>#ifdef MATE_ENABLE_DEBUG</span></td></tr>
+<tr class="codeline" data-linenumber="3030"><td class="num" id="LN3030">3030</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 3030, __FUNCTION__</span></span>, <span class='string_literal'>"%s [CONVERT::DONE] (FR::Window)\n"</span>, get_action_name (action));</td></tr>
+<tr class="codeline" data-linenumber="3031"><td class="num" id="LN3031">3031</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="3032"><td class="num" id="LN3032">3032</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3033"><td class="num" id="LN3033">3033</td><td class="line"> <span class='keyword'>if</span> ((action == FR_ACTION_GETTING_FILE_LIST) || (action == FR_ACTION_ADDING_FILES)) {</td></tr>
+<tr class="codeline" data-linenumber="3034"><td class="num" id="LN3034">3034</td><td class="line"> fr_window_stop_activity_mode (window);</td></tr>
+<tr class="codeline" data-linenumber="3035"><td class="num" id="LN3035">3035</td><td class="line"> fr_window_pop_message (window);</td></tr>
+<tr class="codeline" data-linenumber="3036"><td class="num" id="LN3036">3036</td><td class="line"> close_progress_dialog (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3037"><td class="num" id="LN3037">3037</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3038"><td class="num" id="LN3038">3038</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3039"><td class="num" id="LN3039">3039</td><td class="line"> <span class='keyword'>if</span> (action != FR_ACTION_ADDING_FILES)</td></tr>
+<tr class="codeline" data-linenumber="3040"><td class="num" id="LN3040">3040</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3041"><td class="num" id="LN3041">3041</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3042"><td class="num" id="LN3042">3042</td><td class="line"> handle_errors (window, archive, action, error);</td></tr>
+<tr class="codeline" data-linenumber="3043"><td class="num" id="LN3043">3043</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3044"><td class="num" id="LN3044">3044</td><td class="line"> <span class='keyword'>if</span> (error-&gt;type == FR_PROC_ERROR_NONE)</td></tr>
+<tr class="codeline" data-linenumber="3045"><td class="num" id="LN3045">3045</td><td class="line"> open_progress_dialog_with_open_archive (window);</td></tr>
+<tr class="codeline" data-linenumber="3046"><td class="num" id="LN3046">3046</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3047"><td class="num" id="LN3047">3047</td><td class="line"> remove_local_directory (window-&gt;priv-&gt;convert_data.temp_dir);</td></tr>
+<tr class="codeline" data-linenumber="3048"><td class="num" id="LN3048">3048</td><td class="line"> fr_window_convert_data_free (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3049"><td class="num" id="LN3049">3049</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3050"><td class="num" id="LN3050">3050</td><td class="line"> fr_window_update_sensitivity (window);</td></tr>
+<tr class="codeline" data-linenumber="3051"><td class="num" id="LN3051">3051</td><td class="line"> fr_window_update_statusbar_list_info (window);</td></tr>
+<tr class="codeline" data-linenumber="3052"><td class="num" id="LN3052">3052</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3053"><td class="num" id="LN3053">3053</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3054"><td class="num" id="LN3054">3054</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> fr_window_exec_next_batch_action (FrWindow *window);</td></tr>
+<tr class="codeline" data-linenumber="3055"><td class="num" id="LN3055">3055</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3056"><td class="num" id="LN3056">3056</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3057"><td class="num" id="LN3057">3057</td><td class="line">action_performed (FrArchive *archive,</td></tr>
+<tr class="codeline" data-linenumber="3058"><td class="num" id="LN3058">3058</td><td class="line"> FrAction action,</td></tr>
+<tr class="codeline" data-linenumber="3059"><td class="num" id="LN3059">3059</td><td class="line"> FrProcError *error,</td></tr>
+<tr class="codeline" data-linenumber="3060"><td class="num" id="LN3060">3060</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="3061"><td class="num" id="LN3061">3061</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3062"><td class="num" id="LN3062">3062</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="3063"><td class="num" id="LN3063">3063</td><td class="line"> gboolean continue_batch = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3064"><td class="num" id="LN3064">3064</td><td class="line"> <span class='keyword'>char</span> *archive_dir;</td></tr>
+<tr class="codeline" data-linenumber="3065"><td class="num" id="LN3065">3065</td><td class="line"> gboolean temp_dir;</td></tr>
+<tr class="codeline" data-linenumber="3066"><td class="num" id="LN3066">3066</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3067"><td class="num" id="LN3067">3067</td><td class="line"><span class='directive'>#ifdef MATE_ENABLE_DEBUG</span></td></tr>
+<tr class="codeline" data-linenumber="3068"><td class="num" id="LN3068">3068</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 3068, __FUNCTION__</span></span>, <span class='string_literal'>"%s [DONE] (FR::Window)\n"</span>, get_action_name (action));</td></tr>
+<tr class="codeline" data-linenumber="3069"><td class="num" id="LN3069">3069</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="3070"><td class="num" id="LN3070">3070</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3071"><td class="num" id="LN3071">3071</td><td class="line"> fr_window_stop_activity_mode (window);</td></tr>
+<tr class="codeline" data-linenumber="3072"><td class="num" id="LN3072">3072</td><td class="line"> fr_window_pop_message (window);</td></tr>
+<tr class="codeline" data-linenumber="3073"><td class="num" id="LN3073">3073</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3074"><td class="num" id="LN3074">3074</td><td class="line"> continue_batch = handle_errors (window, archive, action, error);</td></tr>
+<tr class="codeline" data-linenumber="3075"><td class="num" id="LN3075">3075</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3076"><td class="num" id="LN3076">3076</td><td class="line"> <span class='keyword'>if</span> ((error-&gt;type == FR_PROC_ERROR_ASK_PASSWORD)</td></tr>
+<tr class="codeline" data-linenumber="3077"><td class="num" id="LN3077">3077</td><td class="line"> || (error-&gt;type == FR_PROC_ERROR_UNSUPPORTED_FORMAT)</td></tr>
+<tr class="codeline" data-linenumber="3078"><td class="num" id="LN3078">3078</td><td class="line"> <span class='comment'>/*|| (error-&gt;type == FR_PROC_ERROR_BAD_CHARSET)*/</span>)</td></tr>
+<tr class="codeline" data-linenumber="3079"><td class="num" id="LN3079">3079</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="3080"><td class="num" id="LN3080">3080</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3081"><td class="num" id="LN3081">3081</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3082"><td class="num" id="LN3082">3082</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3083"><td class="num" id="LN3083">3083</td><td class="line"> <span class='keyword'>switch</span> (action) {</td></tr>
+<tr class="codeline" data-linenumber="3084"><td class="num" id="LN3084">3084</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_CREATING_NEW_ARCHIVE:</td></tr>
+<tr class="codeline" data-linenumber="3085"><td class="num" id="LN3085">3085</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_CREATING_ARCHIVE:</td></tr>
+<tr class="codeline" data-linenumber="3086"><td class="num" id="LN3086">3086</td><td class="line"> close_progress_dialog (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3087"><td class="num" id="LN3087">3087</td><td class="line"> <span class='keyword'>if</span> (error-&gt;type != FR_PROC_ERROR_STOPPED) {</td></tr>
+<tr class="codeline" data-linenumber="3088"><td class="num" id="LN3088">3088</td><td class="line"> fr_window_history_clear (window);</td></tr>
+<tr class="codeline" data-linenumber="3089"><td class="num" id="LN3089">3089</td><td class="line"> fr_window_go_to_location (window, <span class='string_literal'>"/"</span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3090"><td class="num" id="LN3090">3090</td><td class="line"> fr_window_update_dir_tree (window);</td></tr>
+<tr class="codeline" data-linenumber="3091"><td class="num" id="LN3091">3091</td><td class="line"> fr_window_update_title (window);</td></tr>
+<tr class="codeline" data-linenumber="3092"><td class="num" id="LN3092">3092</td><td class="line"> fr_window_update_sensitivity (window);</td></tr>
+<tr class="codeline" data-linenumber="3093"><td class="num" id="LN3093">3093</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3094"><td class="num" id="LN3094">3094</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="3095"><td class="num" id="LN3095">3095</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3096"><td class="num" id="LN3096">3096</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_LOADING_ARCHIVE:</td></tr>
+<tr class="codeline" data-linenumber="3097"><td class="num" id="LN3097">3097</td><td class="line"> close_progress_dialog (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3098"><td class="num" id="LN3098">3098</td><td class="line"> <span class='keyword'>if</span> (error-&gt;type != FR_PROC_ERROR_NONE) {</td></tr>
+<tr class="codeline" data-linenumber="3099"><td class="num" id="LN3099">3099</td><td class="line"> fr_window_remove_from_recent_list (window, window-&gt;priv-&gt;archive_uri);</td></tr>
+<tr class="codeline" data-linenumber="3100"><td class="num" id="LN3100">3100</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;non_interactive) {</td></tr>
+<tr class="codeline" data-linenumber="3101"><td class="num" id="LN3101">3101</td><td class="line"> fr_window_archive_close (window);</td></tr>
+<tr class="codeline" data-linenumber="3102"><td class="num" id="LN3102">3102</td><td class="line"> fr_window_stop_batch (window);</td></tr>
+<tr class="codeline" data-linenumber="3103"><td class="num" id="LN3103">3103</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3104"><td class="num" id="LN3104">3104</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3105"><td class="num" id="LN3105">3105</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="3106"><td class="num" id="LN3106">3106</td><td class="line"> fr_window_add_to_recent_list (window, window-&gt;priv-&gt;archive_uri);</td></tr>
+<tr class="codeline" data-linenumber="3107"><td class="num" id="LN3107">3107</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;non_interactive)</td></tr>
+<tr class="codeline" data-linenumber="3108"><td class="num" id="LN3108">3108</td><td class="line"> gtk_window_present (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3109"><td class="num" id="LN3109">3109</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3110"><td class="num" id="LN3110">3110</td><td class="line"> continue_batch = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3111"><td class="num" id="LN3111">3111</td><td class="line"> g_signal_emit (window,</td></tr>
+<tr class="codeline" data-linenumber="3112"><td class="num" id="LN3112">3112</td><td class="line"> fr_window_signals[ARCHIVE_LOADED],</td></tr>
+<tr class="codeline" data-linenumber="3113"><td class="num" id="LN3113">3113</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="3114"><td class="num" id="LN3114">3114</td><td class="line"> error-&gt;type == FR_PROC_ERROR_NONE);</td></tr>
+<tr class="codeline" data-linenumber="3115"><td class="num" id="LN3115">3115</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="3116"><td class="num" id="LN3116">3116</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3117"><td class="num" id="LN3117">3117</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_LISTING_CONTENT:</td></tr>
+<tr class="codeline" data-linenumber="3118"><td class="num" id="LN3118">3118</td><td class="line"> <span class='comment'>/* update the uri because multi-volume archives can have</span></td></tr>
+<tr class="codeline" data-linenumber="3119"><td class="num" id="LN3119">3119</td><td class="line"> <span class='comment'>* a different name after loading. */</span></td></tr>
+<tr class="codeline" data-linenumber="3120"><td class="num" id="LN3120">3120</td><td class="line"> g_free (window-&gt;priv-&gt;archive_uri);</td></tr>
+<tr class="codeline" data-linenumber="3121"><td class="num" id="LN3121">3121</td><td class="line"> window-&gt;priv-&gt;archive_uri = g_file_get_uri (window-&gt;archive-&gt;file);</td></tr>
+<tr class="codeline" data-linenumber="3122"><td class="num" id="LN3122">3122</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3123"><td class="num" id="LN3123">3123</td><td class="line"> close_progress_dialog (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3124"><td class="num" id="LN3124">3124</td><td class="line"> <span class='keyword'>if</span> (error-&gt;type != FR_PROC_ERROR_NONE) {</td></tr>
+<tr class="codeline" data-linenumber="3125"><td class="num" id="LN3125">3125</td><td class="line"> fr_window_remove_from_recent_list (window, window-&gt;priv-&gt;archive_uri);</td></tr>
+<tr class="codeline" data-linenumber="3126"><td class="num" id="LN3126">3126</td><td class="line"> fr_window_archive_close (window);</td></tr>
+<tr class="codeline" data-linenumber="3127"><td class="num" id="LN3127">3127</td><td class="line"> fr_window_set_password (window, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3128"><td class="num" id="LN3128">3128</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="3129"><td class="num" id="LN3129">3129</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3130"><td class="num" id="LN3130">3130</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3131"><td class="num" id="LN3131">3131</td><td class="line"> archive_dir = remove_level_from_path (window-&gt;priv-&gt;archive_uri);</td></tr>
+<tr class="codeline" data-linenumber="3132"><td class="num" id="LN3132">3132</td><td class="line"> temp_dir = is_temp_dir (archive_dir);</td></tr>
+<tr class="codeline" data-linenumber="3133"><td class="num" id="LN3133">3133</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;archive_present) {</td></tr>
+<tr class="codeline" data-linenumber="3134"><td class="num" id="LN3134">3134</td><td class="line"> window-&gt;priv-&gt;archive_present = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3135"><td class="num" id="LN3135">3135</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3136"><td class="num" id="LN3136">3136</td><td class="line"> fr_window_history_clear (window);</td></tr>
+<tr class="codeline" data-linenumber="3137"><td class="num" id="LN3137">3137</td><td class="line"> fr_window_history_add (window, <span class='string_literal'>"/"</span>);</td></tr>
+<tr class="codeline" data-linenumber="3138"><td class="num" id="LN3138">3138</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3139"><td class="num" id="LN3139">3139</td><td class="line"> <span class='keyword'>if</span> (! temp_dir) {</td></tr>
+<tr class="codeline" data-linenumber="3140"><td class="num" id="LN3140">3140</td><td class="line"> fr_window_set_open_default_dir (window, archive_dir);</td></tr>
+<tr class="codeline" data-linenumber="3141"><td class="num" id="LN3141">3141</td><td class="line"> fr_window_set_add_default_dir (window, archive_dir);</td></tr>
+<tr class="codeline" data-linenumber="3142"><td class="num" id="LN3142">3142</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;freeze_default_dir)</td></tr>
+<tr class="codeline" data-linenumber="3143"><td class="num" id="LN3143">3143</td><td class="line"> fr_window_set_extract_default_dir (window, archive_dir, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3144"><td class="num" id="LN3144">3144</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3145"><td class="num" id="LN3145">3145</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3146"><td class="num" id="LN3146">3146</td><td class="line"> window-&gt;priv-&gt;archive_new = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3147"><td class="num" id="LN3147">3147</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3148"><td class="num" id="LN3148">3148</td><td class="line"> g_free (archive_dir);</td></tr>
+<tr class="codeline" data-linenumber="3149"><td class="num" id="LN3149">3149</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3150"><td class="num" id="LN3150">3150</td><td class="line"> <span class='keyword'>if</span> (! temp_dir)</td></tr>
+<tr class="codeline" data-linenumber="3151"><td class="num" id="LN3151">3151</td><td class="line"> fr_window_add_to_recent_list (window, window-&gt;priv-&gt;archive_uri);</td></tr>
+<tr class="codeline" data-linenumber="3152"><td class="num" id="LN3152">3152</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3153"><td class="num" id="LN3153">3153</td><td class="line"> fr_window_update_title (window);</td></tr>
+<tr class="codeline" data-linenumber="3154"><td class="num" id="LN3154">3154</td><td class="line"> fr_window_go_to_location (window, fr_window_get_current_location (window), <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3155"><td class="num" id="LN3155">3155</td><td class="line"> fr_window_update_dir_tree (window);</td></tr>
+<tr class="codeline" data-linenumber="3156"><td class="num" id="LN3156">3156</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;batch_mode &amp;&amp; window-&gt;priv-&gt;non_interactive)</td></tr>
+<tr class="codeline" data-linenumber="3157"><td class="num" id="LN3157">3157</td><td class="line"> gtk_window_present (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3158"><td class="num" id="LN3158">3158</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="3159"><td class="num" id="LN3159">3159</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3160"><td class="num" id="LN3160">3160</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_DELETING_FILES:</td></tr>
+<tr class="codeline" data-linenumber="3161"><td class="num" id="LN3161">3161</td><td class="line"> close_progress_dialog (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3162"><td class="num" id="LN3162">3162</td><td class="line"> <span class='keyword'>if</span> (error-&gt;type != FR_PROC_ERROR_STOPPED)</td></tr>
+<tr class="codeline" data-linenumber="3163"><td class="num" id="LN3163">3163</td><td class="line"> fr_window_archive_reload (window);</td></tr>
+<tr class="codeline" data-linenumber="3164"><td class="num" id="LN3164">3164</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3165"><td class="num" id="LN3165">3165</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3166"><td class="num" id="LN3166">3166</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_ADDING_FILES:</td></tr>
+<tr class="codeline" data-linenumber="3167"><td class="num" id="LN3167">3167</td><td class="line"> close_progress_dialog (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3168"><td class="num" id="LN3168">3168</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3169"><td class="num" id="LN3169">3169</td><td class="line"> <span class='comment'>/* update the uri because multi-volume archives can have</span></td></tr>
+<tr class="codeline" data-linenumber="3170"><td class="num" id="LN3170">3170</td><td class="line"> <span class='comment'>* a different name after creation. */</span></td></tr>
+<tr class="codeline" data-linenumber="3171"><td class="num" id="LN3171">3171</td><td class="line"> g_free (window-&gt;priv-&gt;archive_uri);</td></tr>
+<tr class="codeline" data-linenumber="3172"><td class="num" id="LN3172">3172</td><td class="line"> window-&gt;priv-&gt;archive_uri = g_file_get_uri (window-&gt;archive-&gt;file);</td></tr>
+<tr class="codeline" data-linenumber="3173"><td class="num" id="LN3173">3173</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3174"><td class="num" id="LN3174">3174</td><td class="line"> <span class='keyword'>if</span> (error-&gt;type == FR_PROC_ERROR_NONE) {</td></tr>
+<tr class="codeline" data-linenumber="3175"><td class="num" id="LN3175">3175</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;archive_new)</td></tr>
+<tr class="codeline" data-linenumber="3176"><td class="num" id="LN3176">3176</td><td class="line"> window-&gt;priv-&gt;archive_new = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3177"><td class="num" id="LN3177">3177</td><td class="line"> fr_window_add_to_recent_list (window, window-&gt;priv-&gt;archive_uri);</td></tr>
+<tr class="codeline" data-linenumber="3178"><td class="num" id="LN3178">3178</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3179"><td class="num" id="LN3179">3179</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;batch_mode &amp;&amp; (error-&gt;type != FR_PROC_ERROR_STOPPED)) {</td></tr>
+<tr class="codeline" data-linenumber="3180"><td class="num" id="LN3180">3180</td><td class="line"> fr_window_archive_reload (window);</td></tr>
+<tr class="codeline" data-linenumber="3181"><td class="num" id="LN3181">3181</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3182"><td class="num" id="LN3182">3182</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3183"><td class="num" id="LN3183">3183</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="3184"><td class="num" id="LN3184">3184</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3185"><td class="num" id="LN3185">3185</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_TESTING_ARCHIVE:</td></tr>
+<tr class="codeline" data-linenumber="3186"><td class="num" id="LN3186">3186</td><td class="line"> close_progress_dialog (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3187"><td class="num" id="LN3187">3187</td><td class="line"> <span class='keyword'>if</span> (error-&gt;type == FR_PROC_ERROR_NONE)</td></tr>
+<tr class="codeline" data-linenumber="3188"><td class="num" id="LN3188">3188</td><td class="line"> fr_window_view_last_output (window, <span class='macro'>_(<span class='string_literal'>"Test Result"</span>)<span class='macro_popup'>gettext ("Test Result")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3189"><td class="num" id="LN3189">3189</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3190"><td class="num" id="LN3190">3190</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3191"><td class="num" id="LN3191">3191</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_EXTRACTING_FILES:</td></tr>
+<tr class="codeline" data-linenumber="3192"><td class="num" id="LN3192">3192</td><td class="line"> <span class='keyword'>if</span> (error-&gt;type != FR_PROC_ERROR_NONE) {</td></tr>
+<tr class="codeline" data-linenumber="3193"><td class="num" id="LN3193">3193</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;convert_data.converting) {</td></tr>
+<tr class="codeline" data-linenumber="3194"><td class="num" id="LN3194">3194</td><td class="line"> remove_local_directory (window-&gt;priv-&gt;convert_data.temp_dir);</td></tr>
+<tr class="codeline" data-linenumber="3195"><td class="num" id="LN3195">3195</td><td class="line"> fr_window_convert_data_free (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3196"><td class="num" id="LN3196">3196</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3197"><td class="num" id="LN3197">3197</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="3198"><td class="num" id="LN3198">3198</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3199"><td class="num" id="LN3199">3199</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;convert_data.converting) {</td></tr>
+<tr class="codeline" data-linenumber="3200"><td class="num" id="LN3200">3200</td><td class="line"> <span class='keyword'>char</span> *source_dir;</td></tr>
+<tr class="codeline" data-linenumber="3201"><td class="num" id="LN3201">3201</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3202"><td class="num" id="LN3202">3202</td><td class="line"> source_dir = g_filename_to_uri (window-&gt;priv-&gt;convert_data.temp_dir, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3203"><td class="num" id="LN3203">3203</td><td class="line"> fr_archive_add_with_wildcard (</td></tr>
+<tr class="codeline" data-linenumber="3204"><td class="num" id="LN3204">3204</td><td class="line"> window-&gt;priv-&gt;convert_data.new_archive,</td></tr>
+<tr class="codeline" data-linenumber="3205"><td class="num" id="LN3205">3205</td><td class="line"> <span class='string_literal'>"*"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3206"><td class="num" id="LN3206">3206</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3207"><td class="num" id="LN3207">3207</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3208"><td class="num" id="LN3208">3208</td><td class="line"> source_dir,</td></tr>
+<tr class="codeline" data-linenumber="3209"><td class="num" id="LN3209">3209</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3210"><td class="num" id="LN3210">3210</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3211"><td class="num" id="LN3211">3211</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3212"><td class="num" id="LN3212">3212</td><td class="line"> window-&gt;priv-&gt;convert_data.password,</td></tr>
+<tr class="codeline" data-linenumber="3213"><td class="num" id="LN3213">3213</td><td class="line"> window-&gt;priv-&gt;convert_data.encrypt_header,</td></tr>
+<tr class="codeline" data-linenumber="3214"><td class="num" id="LN3214">3214</td><td class="line"> window-&gt;priv-&gt;compression,</td></tr>
+<tr class="codeline" data-linenumber="3215"><td class="num" id="LN3215">3215</td><td class="line"> window-&gt;priv-&gt;convert_data.volume_size);</td></tr>
+<tr class="codeline" data-linenumber="3216"><td class="num" id="LN3216">3216</td><td class="line"> g_free (source_dir);</td></tr>
+<tr class="codeline" data-linenumber="3217"><td class="num" id="LN3217">3217</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3218"><td class="num" id="LN3218">3218</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="3219"><td class="num" id="LN3219">3219</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;ask_to_open_destination_after_extraction)</td></tr>
+<tr class="codeline" data-linenumber="3220"><td class="num" id="LN3220">3220</td><td class="line"> open_progress_dialog_with_open_destination (window);</td></tr>
+<tr class="codeline" data-linenumber="3221"><td class="num" id="LN3221">3221</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="3222"><td class="num" id="LN3222">3222</td><td class="line"> close_progress_dialog (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3223"><td class="num" id="LN3223">3223</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3224"><td class="num" id="LN3224">3224</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="3225"><td class="num" id="LN3225">3225</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3226"><td class="num" id="LN3226">3226</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="3227"><td class="num" id="LN3227">3227</td><td class="line"> close_progress_dialog (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3228"><td class="num" id="LN3228">3228</td><td class="line"> continue_batch = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3229"><td class="num" id="LN3229">3229</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="3230"><td class="num" id="LN3230">3230</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3231"><td class="num" id="LN3231">3231</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3232"><td class="num" id="LN3232">3232</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;batch_action == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="3233"><td class="num" id="LN3233">3233</td><td class="line"> fr_window_update_sensitivity (window);</td></tr>
+<tr class="codeline" data-linenumber="3234"><td class="num" id="LN3234">3234</td><td class="line"> fr_window_update_statusbar_list_info (window);</td></tr>
+<tr class="codeline" data-linenumber="3235"><td class="num" id="LN3235">3235</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3236"><td class="num" id="LN3236">3236</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3237"><td class="num" id="LN3237">3237</td><td class="line"> <span class='keyword'>if</span> (continue_batch) {</td></tr>
+<tr class="codeline" data-linenumber="3238"><td class="num" id="LN3238">3238</td><td class="line"> <span class='keyword'>if</span> (error-&gt;type != FR_PROC_ERROR_NONE)</td></tr>
+<tr class="codeline" data-linenumber="3239"><td class="num" id="LN3239">3239</td><td class="line"> fr_window_stop_batch (window);</td></tr>
+<tr class="codeline" data-linenumber="3240"><td class="num" id="LN3240">3240</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="3241"><td class="num" id="LN3241">3241</td><td class="line"> fr_window_exec_next_batch_action (window);</td></tr>
+<tr class="codeline" data-linenumber="3242"><td class="num" id="LN3242">3242</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3243"><td class="num" id="LN3243">3243</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3244"><td class="num" id="LN3244">3244</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3245"><td class="num" id="LN3245">3245</td><td class="line"><span class='comment'>/* -- selections -- */</span></td></tr>
+<tr class="codeline" data-linenumber="3246"><td class="num" id="LN3246">3246</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3247"><td class="num" id="LN3247">3247</td><td class="line"><span class='directive'>#undef DEBUG_GET_DIR_LIST_FROM_PATH</span></td></tr>
+<tr class="codeline" data-linenumber="3248"><td class="num" id="LN3248">3248</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3249"><td class="num" id="LN3249">3249</td><td class="line"><span class='keyword'>static</span> GList *</td></tr>
+<tr class="codeline" data-linenumber="3250"><td class="num" id="LN3250">3250</td><td class="line">get_dir_list_from_path (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="3251"><td class="num" id="LN3251">3251</td><td class="line"> <span class='keyword'>char</span> *path)</td></tr>
+<tr class="codeline" data-linenumber="3252"><td class="num" id="LN3252">3252</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3253"><td class="num" id="LN3253">3253</td><td class="line"> <span class='keyword'>char</span> *dirname;</td></tr>
+<tr class="codeline" data-linenumber="3254"><td class="num" id="LN3254">3254</td><td class="line"> <span class='keyword'>int</span> dirname_l;</td></tr>
+<tr class="codeline" data-linenumber="3255"><td class="num" id="LN3255">3255</td><td class="line"> GList *list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3256"><td class="num" id="LN3256">3256</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="3257"><td class="num" id="LN3257">3257</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3258"><td class="num" id="LN3258">3258</td><td class="line"> <span class='keyword'>if</span> (path[strlen (path) - 1] != '/')</td></tr>
+<tr class="codeline" data-linenumber="3259"><td class="num" id="LN3259">3259</td><td class="line"> dirname = g_strconcat (path, <span class='string_literal'>"/"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3260"><td class="num" id="LN3260">3260</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="3261"><td class="num" id="LN3261">3261</td><td class="line"> dirname = <span class='macro'>g_strdup (path)<span class='macro_popup'>g_strdup_inline (path)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3262"><td class="num" id="LN3262">3262</td><td class="line"> dirname_l = strlen (dirname);</td></tr>
+<tr class="codeline" data-linenumber="3263"><td class="num" id="LN3263">3263</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; window-&gt;archive-&gt;command-&gt;files-&gt;len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="3264"><td class="num" id="LN3264">3264</td><td class="line"> FileData *fd = <span class='macro'>g_ptr_array_index (window-&gt;archive-&gt;command-&gt;files, i)<span class='macro_popup'>((window-&gt;archive-&gt;command-&gt;files)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3265"><td class="num" id="LN3265">3265</td><td class="line"> gboolean matches = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3266"><td class="num" id="LN3266">3266</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3267"><td class="num" id="LN3267">3267</td><td class="line"><span class='directive'>#ifdef DEBUG_GET_DIR_LIST_FROM_PATH</span></td></tr>
+<tr class="codeline" data-linenumber="3268"><td class="num" id="LN3268">3268</td><td class="line"> g_print (<span class='string_literal'>"%s &lt;=&gt; %s (%d)\n"</span>, dirname, fd-&gt;full_path, dirname_l);</td></tr>
+<tr class="codeline" data-linenumber="3269"><td class="num" id="LN3269">3269</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="3270"><td class="num" id="LN3270">3270</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3271"><td class="num" id="LN3271">3271</td><td class="line"> <span class='keyword'>if</span> (fd-&gt;dir) {</td></tr>
+<tr class="codeline" data-linenumber="3272"><td class="num" id="LN3272">3272</td><td class="line"> <span class='keyword'>int</span> full_path_l = strlen (fd-&gt;full_path);</td></tr>
+<tr class="codeline" data-linenumber="3273"><td class="num" id="LN3273">3273</td><td class="line"> <span class='keyword'>if</span> ((full_path_l == dirname_l - 1) &amp;&amp; (strncmp (dirname, fd-&gt;full_path, full_path_l) == 0))</td></tr>
+<tr class="codeline" data-linenumber="3274"><td class="num" id="LN3274">3274</td><td class="line"> <span class='comment'>/* example: dirname is '/path/to/dir/' and fd-&gt;full_path is '/path/to/dir' */</span></td></tr>
+<tr class="codeline" data-linenumber="3275"><td class="num" id="LN3275">3275</td><td class="line"> matches = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3276"><td class="num" id="LN3276">3276</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (strcmp (dirname, fd-&gt;full_path) == 0)</td></tr>
+<tr class="codeline" data-linenumber="3277"><td class="num" id="LN3277">3277</td><td class="line"> matches = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3278"><td class="num" id="LN3278">3278</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3279"><td class="num" id="LN3279">3279</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3280"><td class="num" id="LN3280">3280</td><td class="line"> <span class='keyword'>if</span> (! matches &amp;&amp; strncmp (dirname, fd-&gt;full_path, dirname_l) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="3281"><td class="num" id="LN3281">3281</td><td class="line"> matches = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3282"><td class="num" id="LN3282">3282</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3283"><td class="num" id="LN3283">3283</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3284"><td class="num" id="LN3284">3284</td><td class="line"> <span class='keyword'>if</span> (matches) {</td></tr>
+<tr class="codeline" data-linenumber="3285"><td class="num" id="LN3285">3285</td><td class="line"><span class='directive'>#ifdef DEBUG_GET_DIR_LIST_FROM_PATH</span></td></tr>
+<tr class="codeline" data-linenumber="3286"><td class="num" id="LN3286">3286</td><td class="line"> g_print (<span class='string_literal'>"`-&gt; OK\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="3287"><td class="num" id="LN3287">3287</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="3288"><td class="num" id="LN3288">3288</td><td class="line"> list = g_list_prepend (list, <span class='macro'>g_strdup (fd-&gt;original_path)<span class='macro_popup'>g_strdup_inline (fd-&gt;original_path)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3289"><td class="num" id="LN3289">3289</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3290"><td class="num" id="LN3290">3290</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3291"><td class="num" id="LN3291">3291</td><td class="line"> g_free (dirname);</td></tr>
+<tr class="codeline" data-linenumber="3292"><td class="num" id="LN3292">3292</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3293"><td class="num" id="LN3293">3293</td><td class="line"> <span class='keyword'>return</span> g_list_reverse (list);</td></tr>
+<tr class="codeline" data-linenumber="3294"><td class="num" id="LN3294">3294</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3295"><td class="num" id="LN3295">3295</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3296"><td class="num" id="LN3296">3296</td><td class="line"><span class='keyword'>static</span> GList *</td></tr>
+<tr class="codeline" data-linenumber="3297"><td class="num" id="LN3297">3297</td><td class="line">get_dir_list_from_file_data (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="3298"><td class="num" id="LN3298">3298</td><td class="line"> FileData *fdata)</td></tr>
+<tr class="codeline" data-linenumber="3299"><td class="num" id="LN3299">3299</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3300"><td class="num" id="LN3300">3300</td><td class="line"> <span class='keyword'>char</span> *dirname;</td></tr>
+<tr class="codeline" data-linenumber="3301"><td class="num" id="LN3301">3301</td><td class="line"> GList *list;</td></tr>
+<tr class="codeline" data-linenumber="3302"><td class="num" id="LN3302">3302</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3303"><td class="num" id="LN3303">3303</td><td class="line"> dirname = g_strconcat (fr_window_get_current_location (window),</td></tr>
+<tr class="codeline" data-linenumber="3304"><td class="num" id="LN3304">3304</td><td class="line"> fdata-&gt;list_name,</td></tr>
+<tr class="codeline" data-linenumber="3305"><td class="num" id="LN3305">3305</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3306"><td class="num" id="LN3306">3306</td><td class="line"> list = get_dir_list_from_path (window, dirname);</td></tr>
+<tr class="codeline" data-linenumber="3307"><td class="num" id="LN3307">3307</td><td class="line"> g_free (dirname);</td></tr>
+<tr class="codeline" data-linenumber="3308"><td class="num" id="LN3308">3308</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3309"><td class="num" id="LN3309">3309</td><td class="line"> <span class='keyword'>return</span> list;</td></tr>
+<tr class="codeline" data-linenumber="3310"><td class="num" id="LN3310">3310</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3311"><td class="num" id="LN3311">3311</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3312"><td class="num" id="LN3312">3312</td><td class="line">GList *</td></tr>
+<tr class="codeline" data-linenumber="3313"><td class="num" id="LN3313">3313</td><td class="line">fr_window_get_file_list_selection (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="3314"><td class="num" id="LN3314">3314</td><td class="line"> gboolean recursive,</td></tr>
+<tr class="codeline" data-linenumber="3315"><td class="num" id="LN3315">3315</td><td class="line"> gboolean *has_dirs)</td></tr>
+<tr class="codeline" data-linenumber="3316"><td class="num" id="LN3316">3316</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3317"><td class="num" id="LN3317">3317</td><td class="line"> GtkTreeSelection *selection;</td></tr>
+<tr class="codeline" data-linenumber="3318"><td class="num" id="LN3318">3318</td><td class="line"> GList *selections = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, *list, *scan;</td></tr>
+<tr class="codeline" data-linenumber="3319"><td class="num" id="LN3319">3319</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3320"><td class="num" id="LN3320">3320</td><td class="line"> <span class='macro'>g_return_val_if_fail (window != NULL, NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3321"><td class="num" id="LN3321">3321</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3322"><td class="num" id="LN3322">3322</td><td class="line"> <span class='keyword'>if</span> (has_dirs != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3323"><td class="num" id="LN3323">3323</td><td class="line"> *has_dirs = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3324"><td class="num" id="LN3324">3324</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3325"><td class="num" id="LN3325">3325</td><td class="line"> selection = gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3326"><td class="num" id="LN3326">3326</td><td class="line"> <span class='keyword'>if</span> (selection == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3327"><td class="num" id="LN3327">3327</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3328"><td class="num" id="LN3328">3328</td><td class="line"> gtk_tree_selection_selected_foreach (selection, add_selected_from_list_view, &amp;selections);</td></tr>
+<tr class="codeline" data-linenumber="3329"><td class="num" id="LN3329">3329</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3330"><td class="num" id="LN3330">3330</td><td class="line"> list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3331"><td class="num" id="LN3331">3331</td><td class="line"> <span class='keyword'>for</span> (scan = selections; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="3332"><td class="num" id="LN3332">3332</td><td class="line"> FileData *fd = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="3333"><td class="num" id="LN3333">3333</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3334"><td class="num" id="LN3334">3334</td><td class="line"> <span class='keyword'>if</span> (!fd)</td></tr>
+<tr class="codeline" data-linenumber="3335"><td class="num" id="LN3335">3335</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="3336"><td class="num" id="LN3336">3336</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3337"><td class="num" id="LN3337">3337</td><td class="line"> <span class='keyword'>if</span> (file_data_is_dir (fd)) {</td></tr>
+<tr class="codeline" data-linenumber="3338"><td class="num" id="LN3338">3338</td><td class="line"> <span class='keyword'>if</span> (has_dirs != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3339"><td class="num" id="LN3339">3339</td><td class="line"> *has_dirs = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3340"><td class="num" id="LN3340">3340</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3341"><td class="num" id="LN3341">3341</td><td class="line"> <span class='keyword'>if</span> (recursive)</td></tr>
+<tr class="codeline" data-linenumber="3342"><td class="num" id="LN3342">3342</td><td class="line"> list = g_list_concat (list, get_dir_list_from_file_data (window, fd));</td></tr>
+<tr class="codeline" data-linenumber="3343"><td class="num" id="LN3343">3343</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3344"><td class="num" id="LN3344">3344</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="3345"><td class="num" id="LN3345">3345</td><td class="line"> list = g_list_prepend (list, <span class='macro'>g_strdup (fd-&gt;original_path)<span class='macro_popup'>g_strdup_inline (fd-&gt;original_path)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3346"><td class="num" id="LN3346">3346</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3347"><td class="num" id="LN3347">3347</td><td class="line"> <span class='keyword'>if</span> (selections)</td></tr>
+<tr class="codeline" data-linenumber="3348"><td class="num" id="LN3348">3348</td><td class="line"> g_list_free (selections);</td></tr>
+<tr class="codeline" data-linenumber="3349"><td class="num" id="LN3349">3349</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3350"><td class="num" id="LN3350">3350</td><td class="line"> <span class='keyword'>return</span> g_list_reverse (list);</td></tr>
+<tr class="codeline" data-linenumber="3351"><td class="num" id="LN3351">3351</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3352"><td class="num" id="LN3352">3352</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3353"><td class="num" id="LN3353">3353</td><td class="line">GList *</td></tr>
+<tr class="codeline" data-linenumber="3354"><td class="num" id="LN3354">3354</td><td class="line">fr_window_get_folder_tree_selection (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="3355"><td class="num" id="LN3355">3355</td><td class="line"> gboolean recursive,</td></tr>
+<tr class="codeline" data-linenumber="3356"><td class="num" id="LN3356">3356</td><td class="line"> gboolean *has_dirs)</td></tr>
+<tr class="codeline" data-linenumber="3357"><td class="num" id="LN3357">3357</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3358"><td class="num" id="LN3358">3358</td><td class="line"> GtkTreeSelection *tree_selection;</td></tr>
+<tr class="codeline" data-linenumber="3359"><td class="num" id="LN3359">3359</td><td class="line"> GList *selections, *list, *scan;</td></tr>
+<tr class="codeline" data-linenumber="3360"><td class="num" id="LN3360">3360</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3361"><td class="num" id="LN3361">3361</td><td class="line"> <span class='macro'>g_return_val_if_fail (window != NULL, NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3362"><td class="num" id="LN3362">3362</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3363"><td class="num" id="LN3363">3363</td><td class="line"> <span class='keyword'>if</span> (has_dirs != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3364"><td class="num" id="LN3364">3364</td><td class="line"> *has_dirs = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3365"><td class="num" id="LN3365">3365</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3366"><td class="num" id="LN3366">3366</td><td class="line"> tree_selection = gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;tree_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3367"><td class="num" id="LN3367">3367</td><td class="line"> <span class='keyword'>if</span> (tree_selection == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3368"><td class="num" id="LN3368">3368</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3369"><td class="num" id="LN3369">3369</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3370"><td class="num" id="LN3370">3370</td><td class="line"> selections = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3371"><td class="num" id="LN3371">3371</td><td class="line"> gtk_tree_selection_selected_foreach (tree_selection, add_selected_from_tree_view, &amp;selections);</td></tr>
+<tr class="codeline" data-linenumber="3372"><td class="num" id="LN3372">3372</td><td class="line"> <span class='keyword'>if</span> (selections == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3373"><td class="num" id="LN3373">3373</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3374"><td class="num" id="LN3374">3374</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3375"><td class="num" id="LN3375">3375</td><td class="line"> <span class='keyword'>if</span> (has_dirs != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3376"><td class="num" id="LN3376">3376</td><td class="line"> *has_dirs = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3377"><td class="num" id="LN3377">3377</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3378"><td class="num" id="LN3378">3378</td><td class="line"> list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3379"><td class="num" id="LN3379">3379</td><td class="line"> <span class='keyword'>for</span> (scan = selections; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="3380"><td class="num" id="LN3380">3380</td><td class="line"> <span class='keyword'>char</span> *path = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="3381"><td class="num" id="LN3381">3381</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3382"><td class="num" id="LN3382">3382</td><td class="line"> <span class='keyword'>if</span> (recursive)</td></tr>
+<tr class="codeline" data-linenumber="3383"><td class="num" id="LN3383">3383</td><td class="line"> list = g_list_concat (list, get_dir_list_from_path (window, path));</td></tr>
+<tr class="codeline" data-linenumber="3384"><td class="num" id="LN3384">3384</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3385"><td class="num" id="LN3385">3385</td><td class="line"> path_list_free (selections);</td></tr>
+<tr class="codeline" data-linenumber="3386"><td class="num" id="LN3386">3386</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3387"><td class="num" id="LN3387">3387</td><td class="line"> <span class='keyword'>return</span> g_list_reverse (list);</td></tr>
+<tr class="codeline" data-linenumber="3388"><td class="num" id="LN3388">3388</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3389"><td class="num" id="LN3389">3389</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3390"><td class="num" id="LN3390">3390</td><td class="line">GList *</td></tr>
+<tr class="codeline" data-linenumber="3391"><td class="num" id="LN3391">3391</td><td class="line">fr_window_get_file_list_from_path_list (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="3392"><td class="num" id="LN3392">3392</td><td class="line"> GList *path_list,</td></tr>
+<tr class="codeline" data-linenumber="3393"><td class="num" id="LN3393">3393</td><td class="line"> gboolean *has_dirs)</td></tr>
+<tr class="codeline" data-linenumber="3394"><td class="num" id="LN3394">3394</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3395"><td class="num" id="LN3395">3395</td><td class="line"> GtkTreeModel *model;</td></tr>
+<tr class="codeline" data-linenumber="3396"><td class="num" id="LN3396">3396</td><td class="line"> GList *selections, *list, *scan;</td></tr>
+<tr class="codeline" data-linenumber="3397"><td class="num" id="LN3397">3397</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3398"><td class="num" id="LN3398">3398</td><td class="line"> <span class='macro'>g_return_val_if_fail (window != NULL, NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3399"><td class="num" id="LN3399">3399</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3400"><td class="num" id="LN3400">3400</td><td class="line"> model = <span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3401"><td class="num" id="LN3401">3401</td><td class="line"> selections = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3402"><td class="num" id="LN3402">3402</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3403"><td class="num" id="LN3403">3403</td><td class="line"> <span class='keyword'>if</span> (has_dirs != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3404"><td class="num" id="LN3404">3404</td><td class="line"> *has_dirs = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3405"><td class="num" id="LN3405">3405</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3406"><td class="num" id="LN3406">3406</td><td class="line"> <span class='keyword'>for</span> (scan = path_list; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="3407"><td class="num" id="LN3407">3407</td><td class="line"> GtkTreeRowReference *reference = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="3408"><td class="num" id="LN3408">3408</td><td class="line"> GtkTreePath *path;</td></tr>
+<tr class="codeline" data-linenumber="3409"><td class="num" id="LN3409">3409</td><td class="line"> GtkTreeIter iter;</td></tr>
+<tr class="codeline" data-linenumber="3410"><td class="num" id="LN3410">3410</td><td class="line"> FileData *fdata;</td></tr>
+<tr class="codeline" data-linenumber="3411"><td class="num" id="LN3411">3411</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3412"><td class="num" id="LN3412">3412</td><td class="line"> path = gtk_tree_row_reference_get_path (reference);</td></tr>
+<tr class="codeline" data-linenumber="3413"><td class="num" id="LN3413">3413</td><td class="line"> <span class='keyword'>if</span> (path == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3414"><td class="num" id="LN3414">3414</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="3415"><td class="num" id="LN3415">3415</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3416"><td class="num" id="LN3416">3416</td><td class="line"> <span class='keyword'>if</span> (! gtk_tree_model_get_iter (model, &amp;iter, path))</td></tr>
+<tr class="codeline" data-linenumber="3417"><td class="num" id="LN3417">3417</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="3418"><td class="num" id="LN3418">3418</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3419"><td class="num" id="LN3419">3419</td><td class="line"> gtk_tree_model_get (model, &amp;iter,</td></tr>
+<tr class="codeline" data-linenumber="3420"><td class="num" id="LN3420">3420</td><td class="line"> COLUMN_FILE_DATA, &amp;fdata,</td></tr>
+<tr class="codeline" data-linenumber="3421"><td class="num" id="LN3421">3421</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="3422"><td class="num" id="LN3422">3422</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3423"><td class="num" id="LN3423">3423</td><td class="line"> selections = g_list_prepend (selections, fdata);</td></tr>
+<tr class="codeline" data-linenumber="3424"><td class="num" id="LN3424">3424</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3425"><td class="num" id="LN3425">3425</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3426"><td class="num" id="LN3426">3426</td><td class="line"> list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3427"><td class="num" id="LN3427">3427</td><td class="line"> <span class='keyword'>for</span> (scan = selections; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="3428"><td class="num" id="LN3428">3428</td><td class="line"> FileData *fd = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="3429"><td class="num" id="LN3429">3429</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3430"><td class="num" id="LN3430">3430</td><td class="line"> <span class='keyword'>if</span> (!fd)</td></tr>
+<tr class="codeline" data-linenumber="3431"><td class="num" id="LN3431">3431</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="3432"><td class="num" id="LN3432">3432</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3433"><td class="num" id="LN3433">3433</td><td class="line"> <span class='keyword'>if</span> (file_data_is_dir (fd)) {</td></tr>
+<tr class="codeline" data-linenumber="3434"><td class="num" id="LN3434">3434</td><td class="line"> <span class='keyword'>if</span> (has_dirs != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3435"><td class="num" id="LN3435">3435</td><td class="line"> *has_dirs = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3436"><td class="num" id="LN3436">3436</td><td class="line"> list = g_list_concat (list, get_dir_list_from_file_data (window, fd));</td></tr>
+<tr class="codeline" data-linenumber="3437"><td class="num" id="LN3437">3437</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3438"><td class="num" id="LN3438">3438</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="3439"><td class="num" id="LN3439">3439</td><td class="line"> list = g_list_prepend (list, <span class='macro'>g_strdup (fd-&gt;original_path)<span class='macro_popup'>g_strdup_inline (fd-&gt;original_path)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3440"><td class="num" id="LN3440">3440</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3441"><td class="num" id="LN3441">3441</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3442"><td class="num" id="LN3442">3442</td><td class="line"> <span class='keyword'>if</span> (selections != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3443"><td class="num" id="LN3443">3443</td><td class="line"> g_list_free (selections);</td></tr>
+<tr class="codeline" data-linenumber="3444"><td class="num" id="LN3444">3444</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3445"><td class="num" id="LN3445">3445</td><td class="line"> <span class='keyword'>return</span> g_list_reverse (list);</td></tr>
+<tr class="codeline" data-linenumber="3446"><td class="num" id="LN3446">3446</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3447"><td class="num" id="LN3447">3447</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3448"><td class="num" id="LN3448">3448</td><td class="line">GList *</td></tr>
+<tr class="codeline" data-linenumber="3449"><td class="num" id="LN3449">3449</td><td class="line">fr_window_get_file_list_pattern (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="3450"><td class="num" id="LN3450">3450</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *pattern)</td></tr>
+<tr class="codeline" data-linenumber="3451"><td class="num" id="LN3451">3451</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3452"><td class="num" id="LN3452">3452</td><td class="line"> GRegex **regexps;</td></tr>
+<tr class="codeline" data-linenumber="3453"><td class="num" id="LN3453">3453</td><td class="line"> GList *list;</td></tr>
+<tr class="codeline" data-linenumber="3454"><td class="num" id="LN3454">3454</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="3455"><td class="num" id="LN3455">3455</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3456"><td class="num" id="LN3456">3456</td><td class="line"> <span class='macro'>g_return_val_if_fail (window != NULL, NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3457"><td class="num" id="LN3457">3457</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3458"><td class="num" id="LN3458">3458</td><td class="line"> regexps = search_util_get_regexps (pattern, G_REGEX_CASELESS);</td></tr>
+<tr class="codeline" data-linenumber="3459"><td class="num" id="LN3459">3459</td><td class="line"> list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3460"><td class="num" id="LN3460">3460</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; window-&gt;archive-&gt;command-&gt;files-&gt;len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="3461"><td class="num" id="LN3461">3461</td><td class="line"> FileData *fd = <span class='macro'>g_ptr_array_index (window-&gt;archive-&gt;command-&gt;files, i)<span class='macro_popup'>((window-&gt;archive-&gt;command-&gt;files)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3462"><td class="num" id="LN3462">3462</td><td class="line"> <span class='keyword'>char</span> *utf8_name;</td></tr>
+<tr class="codeline" data-linenumber="3463"><td class="num" id="LN3463">3463</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3464"><td class="num" id="LN3464">3464</td><td class="line"> <span class='comment'>/* FIXME: only files in the current location ? */</span></td></tr>
+<tr class="codeline" data-linenumber="3465"><td class="num" id="LN3465">3465</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3466"><td class="num" id="LN3466">3466</td><td class="line"> <span class='keyword'>if</span> (fd == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3467"><td class="num" id="LN3467">3467</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="3468"><td class="num" id="LN3468">3468</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3469"><td class="num" id="LN3469">3469</td><td class="line"> utf8_name = g_filename_to_utf8 (fd-&gt;name, -1, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3470"><td class="num" id="LN3470">3470</td><td class="line"> <span class='keyword'>if</span> (match_regexps (regexps, utf8_name, 0))</td></tr>
+<tr class="codeline" data-linenumber="3471"><td class="num" id="LN3471">3471</td><td class="line"> list = g_list_prepend (list, <span class='macro'>g_strdup (fd-&gt;original_path)<span class='macro_popup'>g_strdup_inline (fd-&gt;original_path)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3472"><td class="num" id="LN3472">3472</td><td class="line"> g_free (utf8_name);</td></tr>
+<tr class="codeline" data-linenumber="3473"><td class="num" id="LN3473">3473</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3474"><td class="num" id="LN3474">3474</td><td class="line"> free_regexps (regexps);</td></tr>
+<tr class="codeline" data-linenumber="3475"><td class="num" id="LN3475">3475</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3476"><td class="num" id="LN3476">3476</td><td class="line"> <span class='keyword'>return</span> g_list_reverse (list);</td></tr>
+<tr class="codeline" data-linenumber="3477"><td class="num" id="LN3477">3477</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3478"><td class="num" id="LN3478">3478</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3479"><td class="num" id="LN3479">3479</td><td class="line"><span class='keyword'>static</span> GList *</td></tr>
+<tr class="codeline" data-linenumber="3480"><td class="num" id="LN3480">3480</td><td class="line">fr_window_get_file_list (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="3481"><td class="num" id="LN3481">3481</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3482"><td class="num" id="LN3482">3482</td><td class="line"> GList *list;</td></tr>
+<tr class="codeline" data-linenumber="3483"><td class="num" id="LN3483">3483</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="3484"><td class="num" id="LN3484">3484</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3485"><td class="num" id="LN3485">3485</td><td class="line"> <span class='macro'>g_return_val_if_fail (window != NULL, NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3486"><td class="num" id="LN3486">3486</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3487"><td class="num" id="LN3487">3487</td><td class="line"> list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3488"><td class="num" id="LN3488">3488</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; window-&gt;archive-&gt;command-&gt;files-&gt;len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="3489"><td class="num" id="LN3489">3489</td><td class="line"> FileData *fd = <span class='macro'>g_ptr_array_index (window-&gt;archive-&gt;command-&gt;files, i)<span class='macro_popup'>((window-&gt;archive-&gt;command-&gt;files)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3490"><td class="num" id="LN3490">3490</td><td class="line"> list = g_list_prepend (list, <span class='macro'>g_strdup (fd-&gt;original_path)<span class='macro_popup'>g_strdup_inline (fd-&gt;original_path)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3491"><td class="num" id="LN3491">3491</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3492"><td class="num" id="LN3492">3492</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3493"><td class="num" id="LN3493">3493</td><td class="line"> <span class='keyword'>return</span> g_list_reverse (list);</td></tr>
+<tr class="codeline" data-linenumber="3494"><td class="num" id="LN3494">3494</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3495"><td class="num" id="LN3495">3495</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3496"><td class="num" id="LN3496">3496</td><td class="line"><span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="3497"><td class="num" id="LN3497">3497</td><td class="line">fr_window_get_n_selected_files (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="3498"><td class="num" id="LN3498">3498</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3499"><td class="num" id="LN3499">3499</td><td class="line"> <span class='keyword'>return</span> gtk_tree_selection_count_selected_rows (gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="3500"><td class="num" id="LN3500">3500</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3501"><td class="num" id="LN3501">3501</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3502"><td class="num" id="LN3502">3502</td><td class="line"><span class='comment'>/**/</span></td></tr>
+<tr class="codeline" data-linenumber="3503"><td class="num" id="LN3503">3503</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3504"><td class="num" id="LN3504">3504</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="3505"><td class="num" id="LN3505">3505</td><td class="line">dir_tree_button_press_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="3506"><td class="num" id="LN3506">3506</td><td class="line"> GdkEventButton *event,</td></tr>
+<tr class="codeline" data-linenumber="3507"><td class="num" id="LN3507">3507</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="3508"><td class="num" id="LN3508">3508</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3509"><td class="num" id="LN3509">3509</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="3510"><td class="num" id="LN3510">3510</td><td class="line"> GtkTreeSelection *selection;</td></tr>
+<tr class="codeline" data-linenumber="3511"><td class="num" id="LN3511">3511</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3512"><td class="num" id="LN3512">3512</td><td class="line"> <span class='keyword'>if</span> (event-&gt;window != gtk_tree_view_get_bin_window (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;tree_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="3513"><td class="num" id="LN3513">3513</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3514"><td class="num" id="LN3514">3514</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3515"><td class="num" id="LN3515">3515</td><td class="line"> selection = gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;tree_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3516"><td class="num" id="LN3516">3516</td><td class="line"> <span class='keyword'>if</span> (selection == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3517"><td class="num" id="LN3517">3517</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3518"><td class="num" id="LN3518">3518</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3519"><td class="num" id="LN3519">3519</td><td class="line"> <span class='keyword'>if</span> ((event-&gt;type == GDK_BUTTON_PRESS) &amp;&amp; (event-&gt;button == 3)) {</td></tr>
+<tr class="codeline" data-linenumber="3520"><td class="num" id="LN3520">3520</td><td class="line"> GtkTreePath *path;</td></tr>
+<tr class="codeline" data-linenumber="3521"><td class="num" id="LN3521">3521</td><td class="line"> GtkTreeIter iter;</td></tr>
+<tr class="codeline" data-linenumber="3522"><td class="num" id="LN3522">3522</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3523"><td class="num" id="LN3523">3523</td><td class="line"> <span class='keyword'>if</span> (gtk_tree_view_get_path_at_pos (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;tree_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3524"><td class="num" id="LN3524">3524</td><td class="line"> (<span class='keyword'>int</span>) event-&gt;x, (<span class='keyword'>int</span>) event-&gt;y,</td></tr>
+<tr class="codeline" data-linenumber="3525"><td class="num" id="LN3525">3525</td><td class="line"> &amp;path, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="3526"><td class="num" id="LN3526">3526</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3527"><td class="num" id="LN3527">3527</td><td class="line"> <span class='keyword'>if</span> (! gtk_tree_model_get_iter (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;tree_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>, &amp;iter, path)) {</td></tr>
+<tr class="codeline" data-linenumber="3528"><td class="num" id="LN3528">3528</td><td class="line"> gtk_tree_path_free (path);</td></tr>
+<tr class="codeline" data-linenumber="3529"><td class="num" id="LN3529">3529</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3530"><td class="num" id="LN3530">3530</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3531"><td class="num" id="LN3531">3531</td><td class="line"> gtk_tree_path_free (path);</td></tr>
+<tr class="codeline" data-linenumber="3532"><td class="num" id="LN3532">3532</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3533"><td class="num" id="LN3533">3533</td><td class="line"> <span class='keyword'>if</span> (! gtk_tree_selection_iter_is_selected (selection, &amp;iter)) {</td></tr>
+<tr class="codeline" data-linenumber="3534"><td class="num" id="LN3534">3534</td><td class="line"> gtk_tree_selection_unselect_all (selection);</td></tr>
+<tr class="codeline" data-linenumber="3535"><td class="num" id="LN3535">3535</td><td class="line"> gtk_tree_selection_select_iter (selection, &amp;iter);</td></tr>
+<tr class="codeline" data-linenumber="3536"><td class="num" id="LN3536">3536</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3537"><td class="num" id="LN3537">3537</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3538"><td class="num" id="LN3538">3538</td><td class="line"> gtk_menu_popup_at_pointer (<span class='macro'>GTK_MENU (window-&gt;priv-&gt;sidebar_folder_popup_menu)<span class='macro_popup'>((((GtkMenu*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;sidebar_folder_popup_menu)), ((gtk_menu_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3539"><td class="num" id="LN3539">3539</td><td class="line"> (<span class='keyword'>const</span> GdkEvent*) event);</td></tr>
+<tr class="codeline" data-linenumber="3540"><td class="num" id="LN3540">3540</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3541"><td class="num" id="LN3541">3541</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="3542"><td class="num" id="LN3542">3542</td><td class="line"> gtk_tree_selection_unselect_all (selection);</td></tr>
+<tr class="codeline" data-linenumber="3543"><td class="num" id="LN3543">3543</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3544"><td class="num" id="LN3544">3544</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3545"><td class="num" id="LN3545">3545</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3546"><td class="num" id="LN3546">3546</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> ((event-&gt;type == GDK_BUTTON_PRESS) &amp;&amp; (event-&gt;button == 8)) {</td></tr>
+<tr class="codeline" data-linenumber="3547"><td class="num" id="LN3547">3547</td><td class="line"> fr_window_go_back (window);</td></tr>
+<tr class="codeline" data-linenumber="3548"><td class="num" id="LN3548">3548</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3549"><td class="num" id="LN3549">3549</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3550"><td class="num" id="LN3550">3550</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> ((event-&gt;type == GDK_BUTTON_PRESS) &amp;&amp; (event-&gt;button == 9)) {</td></tr>
+<tr class="codeline" data-linenumber="3551"><td class="num" id="LN3551">3551</td><td class="line"> fr_window_go_forward (window);</td></tr>
+<tr class="codeline" data-linenumber="3552"><td class="num" id="LN3552">3552</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3553"><td class="num" id="LN3553">3553</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3554"><td class="num" id="LN3554">3554</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3555"><td class="num" id="LN3555">3555</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3556"><td class="num" id="LN3556">3556</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3557"><td class="num" id="LN3557">3557</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3558"><td class="num" id="LN3558">3558</td><td class="line"><span class='keyword'>static</span> FileData *</td></tr>
+<tr class="codeline" data-linenumber="3559"><td class="num" id="LN3559">3559</td><td class="line">fr_window_get_selected_item_from_file_list (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="3560"><td class="num" id="LN3560">3560</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3561"><td class="num" id="LN3561">3561</td><td class="line"> GtkTreeSelection *tree_selection;</td></tr>
+<tr class="codeline" data-linenumber="3562"><td class="num" id="LN3562">3562</td><td class="line"> GList *selection;</td></tr>
+<tr class="codeline" data-linenumber="3563"><td class="num" id="LN3563">3563</td><td class="line"> FileData *fdata = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3564"><td class="num" id="LN3564">3564</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3565"><td class="num" id="LN3565">3565</td><td class="line"> <span class='macro'>g_return_val_if_fail (window != NULL, NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3566"><td class="num" id="LN3566">3566</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3567"><td class="num" id="LN3567">3567</td><td class="line"> tree_selection = gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3568"><td class="num" id="LN3568">3568</td><td class="line"> <span class='keyword'>if</span> (tree_selection == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3569"><td class="num" id="LN3569">3569</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3570"><td class="num" id="LN3570">3570</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3571"><td class="num" id="LN3571">3571</td><td class="line"> selection = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3572"><td class="num" id="LN3572">3572</td><td class="line"> gtk_tree_selection_selected_foreach (tree_selection, add_selected_from_list_view, &amp;selection);</td></tr>
+<tr class="codeline" data-linenumber="3573"><td class="num" id="LN3573">3573</td><td class="line"> <span class='keyword'>if</span> ((selection == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) || (selection-&gt;next != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="3574"><td class="num" id="LN3574">3574</td><td class="line"> <span class='comment'>/* return NULL if the selection contains more than one entry. */</span></td></tr>
+<tr class="codeline" data-linenumber="3575"><td class="num" id="LN3575">3575</td><td class="line"> g_list_free (selection);</td></tr>
+<tr class="codeline" data-linenumber="3576"><td class="num" id="LN3576">3576</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3577"><td class="num" id="LN3577">3577</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3578"><td class="num" id="LN3578">3578</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3579"><td class="num" id="LN3579">3579</td><td class="line"> fdata = file_data_copy (selection-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="3580"><td class="num" id="LN3580">3580</td><td class="line"> g_list_free (selection);</td></tr>
+<tr class="codeline" data-linenumber="3581"><td class="num" id="LN3581">3581</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3582"><td class="num" id="LN3582">3582</td><td class="line"> <span class='keyword'>return</span> fdata;</td></tr>
+<tr class="codeline" data-linenumber="3583"><td class="num" id="LN3583">3583</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3584"><td class="num" id="LN3584">3584</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3585"><td class="num" id="LN3585">3585</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="3586"><td class="num" id="LN3586">3586</td><td class="line">fr_window_get_selected_folder_in_tree_view (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="3587"><td class="num" id="LN3587">3587</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3588"><td class="num" id="LN3588">3588</td><td class="line"> GtkTreeSelection *tree_selection;</td></tr>
+<tr class="codeline" data-linenumber="3589"><td class="num" id="LN3589">3589</td><td class="line"> GList *selections;</td></tr>
+<tr class="codeline" data-linenumber="3590"><td class="num" id="LN3590">3590</td><td class="line"> <span class='keyword'>char</span> *path = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3591"><td class="num" id="LN3591">3591</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3592"><td class="num" id="LN3592">3592</td><td class="line"> <span class='macro'>g_return_val_if_fail (window != NULL, NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3593"><td class="num" id="LN3593">3593</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3594"><td class="num" id="LN3594">3594</td><td class="line"> tree_selection = gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;tree_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3595"><td class="num" id="LN3595">3595</td><td class="line"> <span class='keyword'>if</span> (tree_selection == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3596"><td class="num" id="LN3596">3596</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3597"><td class="num" id="LN3597">3597</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3598"><td class="num" id="LN3598">3598</td><td class="line"> selections = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3599"><td class="num" id="LN3599">3599</td><td class="line"> gtk_tree_selection_selected_foreach (tree_selection, add_selected_from_tree_view, &amp;selections);</td></tr>
+<tr class="codeline" data-linenumber="3600"><td class="num" id="LN3600">3600</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3601"><td class="num" id="LN3601">3601</td><td class="line"> <span class='keyword'>if</span> (selections != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="3602"><td class="num" id="LN3602">3602</td><td class="line"> path = selections-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="3603"><td class="num" id="LN3603">3603</td><td class="line"> g_list_free (selections);</td></tr>
+<tr class="codeline" data-linenumber="3604"><td class="num" id="LN3604">3604</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3605"><td class="num" id="LN3605">3605</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3606"><td class="num" id="LN3606">3606</td><td class="line"> <span class='keyword'>return</span> path;</td></tr>
+<tr class="codeline" data-linenumber="3607"><td class="num" id="LN3607">3607</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3608"><td class="num" id="LN3608">3608</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3609"><td class="num" id="LN3609">3609</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3610"><td class="num" id="LN3610">3610</td><td class="line">fr_window_current_folder_activated (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="3611"><td class="num" id="LN3611">3611</td><td class="line"> gboolean from_sidebar)</td></tr>
+<tr class="codeline" data-linenumber="3612"><td class="num" id="LN3612">3612</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3613"><td class="num" id="LN3613">3613</td><td class="line"> <span class='keyword'>char</span> *dir_path;</td></tr>
+<tr class="codeline" data-linenumber="3614"><td class="num" id="LN3614">3614</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3615"><td class="num" id="LN3615">3615</td><td class="line"> <span class='keyword'>if</span> (! from_sidebar) {</td></tr>
+<tr class="codeline" data-linenumber="3616"><td class="num" id="LN3616">3616</td><td class="line"> FileData *fdata;</td></tr>
+<tr class="codeline" data-linenumber="3617"><td class="num" id="LN3617">3617</td><td class="line"> <span class='keyword'>char</span> *dir_name;</td></tr>
+<tr class="codeline" data-linenumber="3618"><td class="num" id="LN3618">3618</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3619"><td class="num" id="LN3619">3619</td><td class="line"> fdata = fr_window_get_selected_item_from_file_list (window);</td></tr>
+<tr class="codeline" data-linenumber="3620"><td class="num" id="LN3620">3620</td><td class="line"> <span class='keyword'>if</span> ((fdata == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) || ! file_data_is_dir (fdata)) {</td></tr>
+<tr class="codeline" data-linenumber="3621"><td class="num" id="LN3621">3621</td><td class="line"> file_data_free (fdata);</td></tr>
+<tr class="codeline" data-linenumber="3622"><td class="num" id="LN3622">3622</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3623"><td class="num" id="LN3623">3623</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3624"><td class="num" id="LN3624">3624</td><td class="line"> dir_name = <span class='macro'>g_strdup (fdata-&gt;list_name)<span class='macro_popup'>g_strdup_inline (fdata-&gt;list_name)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3625"><td class="num" id="LN3625">3625</td><td class="line"> dir_path = g_strconcat (fr_window_get_current_location (window),</td></tr>
+<tr class="codeline" data-linenumber="3626"><td class="num" id="LN3626">3626</td><td class="line"> dir_name,</td></tr>
+<tr class="codeline" data-linenumber="3627"><td class="num" id="LN3627">3627</td><td class="line"> <span class='string_literal'>"/"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3628"><td class="num" id="LN3628">3628</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3629"><td class="num" id="LN3629">3629</td><td class="line"> g_free (dir_name);</td></tr>
+<tr class="codeline" data-linenumber="3630"><td class="num" id="LN3630">3630</td><td class="line"> file_data_free (fdata);</td></tr>
+<tr class="codeline" data-linenumber="3631"><td class="num" id="LN3631">3631</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3632"><td class="num" id="LN3632">3632</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="3633"><td class="num" id="LN3633">3633</td><td class="line"> dir_path = fr_window_get_selected_folder_in_tree_view (window);</td></tr>
+<tr class="codeline" data-linenumber="3634"><td class="num" id="LN3634">3634</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3635"><td class="num" id="LN3635">3635</td><td class="line"> fr_window_go_to_location (window, dir_path, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3636"><td class="num" id="LN3636">3636</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3637"><td class="num" id="LN3637">3637</td><td class="line"> g_free (dir_path);</td></tr>
+<tr class="codeline" data-linenumber="3638"><td class="num" id="LN3638">3638</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3639"><td class="num" id="LN3639">3639</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3640"><td class="num" id="LN3640">3640</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="3641"><td class="num" id="LN3641">3641</td><td class="line">row_activated_cb (GtkTreeView *tree_view,</td></tr>
+<tr class="codeline" data-linenumber="3642"><td class="num" id="LN3642">3642</td><td class="line"> GtkTreePath *path,</td></tr>
+<tr class="codeline" data-linenumber="3643"><td class="num" id="LN3643">3643</td><td class="line"> GtkTreeViewColumn *column,</td></tr>
+<tr class="codeline" data-linenumber="3644"><td class="num" id="LN3644">3644</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="3645"><td class="num" id="LN3645">3645</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3646"><td class="num" id="LN3646">3646</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="3647"><td class="num" id="LN3647">3647</td><td class="line"> FileData *fdata;</td></tr>
+<tr class="codeline" data-linenumber="3648"><td class="num" id="LN3648">3648</td><td class="line"> GtkTreeIter iter;</td></tr>
+<tr class="codeline" data-linenumber="3649"><td class="num" id="LN3649">3649</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3650"><td class="num" id="LN3650">3650</td><td class="line"> <span class='keyword'>if</span> (! gtk_tree_model_get_iter (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3651"><td class="num" id="LN3651">3651</td><td class="line"> &amp;iter,</td></tr>
+<tr class="codeline" data-linenumber="3652"><td class="num" id="LN3652">3652</td><td class="line"> path))</td></tr>
+<tr class="codeline" data-linenumber="3653"><td class="num" id="LN3653">3653</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3654"><td class="num" id="LN3654">3654</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3655"><td class="num" id="LN3655">3655</td><td class="line"> gtk_tree_model_get (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>, &amp;iter,</td></tr>
+<tr class="codeline" data-linenumber="3656"><td class="num" id="LN3656">3656</td><td class="line"> COLUMN_FILE_DATA, &amp;fdata,</td></tr>
+<tr class="codeline" data-linenumber="3657"><td class="num" id="LN3657">3657</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="3658"><td class="num" id="LN3658">3658</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3659"><td class="num" id="LN3659">3659</td><td class="line"> <span class='keyword'>if</span> (! file_data_is_dir (fdata)) {</td></tr>
+<tr class="codeline" data-linenumber="3660"><td class="num" id="LN3660">3660</td><td class="line"> GList *list = g_list_prepend (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, fdata-&gt;original_path);</td></tr>
+<tr class="codeline" data-linenumber="3661"><td class="num" id="LN3661">3661</td><td class="line"> fr_window_open_files (window, list, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3662"><td class="num" id="LN3662">3662</td><td class="line"> g_list_free (list);</td></tr>
+<tr class="codeline" data-linenumber="3663"><td class="num" id="LN3663">3663</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3664"><td class="num" id="LN3664">3664</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (window-&gt;priv-&gt;list_mode == FR_WINDOW_LIST_MODE_AS_DIR) {</td></tr>
+<tr class="codeline" data-linenumber="3665"><td class="num" id="LN3665">3665</td><td class="line"> <span class='keyword'>char</span> *new_dir;</td></tr>
+<tr class="codeline" data-linenumber="3666"><td class="num" id="LN3666">3666</td><td class="line"> new_dir = g_strconcat (fr_window_get_current_location (window),</td></tr>
+<tr class="codeline" data-linenumber="3667"><td class="num" id="LN3667">3667</td><td class="line"> fdata-&gt;list_name,</td></tr>
+<tr class="codeline" data-linenumber="3668"><td class="num" id="LN3668">3668</td><td class="line"> <span class='string_literal'>"/"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3669"><td class="num" id="LN3669">3669</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3670"><td class="num" id="LN3670">3670</td><td class="line"> fr_window_go_to_location (window, new_dir, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3671"><td class="num" id="LN3671">3671</td><td class="line"> g_free (new_dir);</td></tr>
+<tr class="codeline" data-linenumber="3672"><td class="num" id="LN3672">3672</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3673"><td class="num" id="LN3673">3673</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3674"><td class="num" id="LN3674">3674</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3675"><td class="num" id="LN3675">3675</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3676"><td class="num" id="LN3676">3676</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3677"><td class="num" id="LN3677">3677</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="3678"><td class="num" id="LN3678">3678</td><td class="line">file_button_press_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="3679"><td class="num" id="LN3679">3679</td><td class="line"> GdkEventButton *event,</td></tr>
+<tr class="codeline" data-linenumber="3680"><td class="num" id="LN3680">3680</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="3681"><td class="num" id="LN3681">3681</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3682"><td class="num" id="LN3682">3682</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="3683"><td class="num" id="LN3683">3683</td><td class="line"> GtkTreeSelection *selection;</td></tr>
+<tr class="codeline" data-linenumber="3684"><td class="num" id="LN3684">3684</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3685"><td class="num" id="LN3685">3685</td><td class="line"> <span class='keyword'>if</span> (event-&gt;window != gtk_tree_view_get_bin_window (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="3686"><td class="num" id="LN3686">3686</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3687"><td class="num" id="LN3687">3687</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3688"><td class="num" id="LN3688">3688</td><td class="line"> selection = gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3689"><td class="num" id="LN3689">3689</td><td class="line"> <span class='keyword'>if</span> (selection == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3690"><td class="num" id="LN3690">3690</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3691"><td class="num" id="LN3691">3691</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3692"><td class="num" id="LN3692">3692</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;path_clicked != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="3693"><td class="num" id="LN3693">3693</td><td class="line"> gtk_tree_path_free (window-&gt;priv-&gt;path_clicked);</td></tr>
+<tr class="codeline" data-linenumber="3694"><td class="num" id="LN3694">3694</td><td class="line"> window-&gt;priv-&gt;path_clicked = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3695"><td class="num" id="LN3695">3695</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3696"><td class="num" id="LN3696">3696</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3697"><td class="num" id="LN3697">3697</td><td class="line"> <span class='keyword'>if</span> ((event-&gt;type == GDK_BUTTON_PRESS) &amp;&amp; (event-&gt;button == 3)) {</td></tr>
+<tr class="codeline" data-linenumber="3698"><td class="num" id="LN3698">3698</td><td class="line"> GtkTreePath *path;</td></tr>
+<tr class="codeline" data-linenumber="3699"><td class="num" id="LN3699">3699</td><td class="line"> GtkTreeIter iter;</td></tr>
+<tr class="codeline" data-linenumber="3700"><td class="num" id="LN3700">3700</td><td class="line"> <span class='keyword'>int</span> n_selected;</td></tr>
+<tr class="codeline" data-linenumber="3701"><td class="num" id="LN3701">3701</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3702"><td class="num" id="LN3702">3702</td><td class="line"> <span class='keyword'>if</span> (gtk_tree_view_get_path_at_pos (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3703"><td class="num" id="LN3703">3703</td><td class="line"> (<span class='keyword'>int</span>) event-&gt;x, (<span class='keyword'>int</span>) event-&gt;y,</td></tr>
+<tr class="codeline" data-linenumber="3704"><td class="num" id="LN3704">3704</td><td class="line"> &amp;path, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="3705"><td class="num" id="LN3705">3705</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3706"><td class="num" id="LN3706">3706</td><td class="line"> <span class='keyword'>if</span> (! gtk_tree_model_get_iter (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>, &amp;iter, path)) {</td></tr>
+<tr class="codeline" data-linenumber="3707"><td class="num" id="LN3707">3707</td><td class="line"> gtk_tree_path_free (path);</td></tr>
+<tr class="codeline" data-linenumber="3708"><td class="num" id="LN3708">3708</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3709"><td class="num" id="LN3709">3709</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3710"><td class="num" id="LN3710">3710</td><td class="line"> gtk_tree_path_free (path);</td></tr>
+<tr class="codeline" data-linenumber="3711"><td class="num" id="LN3711">3711</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3712"><td class="num" id="LN3712">3712</td><td class="line"> <span class='keyword'>if</span> (! gtk_tree_selection_iter_is_selected (selection, &amp;iter)) {</td></tr>
+<tr class="codeline" data-linenumber="3713"><td class="num" id="LN3713">3713</td><td class="line"> gtk_tree_selection_unselect_all (selection);</td></tr>
+<tr class="codeline" data-linenumber="3714"><td class="num" id="LN3714">3714</td><td class="line"> gtk_tree_selection_select_iter (selection, &amp;iter);</td></tr>
+<tr class="codeline" data-linenumber="3715"><td class="num" id="LN3715">3715</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3716"><td class="num" id="LN3716">3716</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3717"><td class="num" id="LN3717">3717</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="3718"><td class="num" id="LN3718">3718</td><td class="line"> gtk_tree_selection_unselect_all (selection);</td></tr>
+<tr class="codeline" data-linenumber="3719"><td class="num" id="LN3719">3719</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3720"><td class="num" id="LN3720">3720</td><td class="line"> n_selected = fr_window_get_n_selected_files (window);</td></tr>
+<tr class="codeline" data-linenumber="3721"><td class="num" id="LN3721">3721</td><td class="line"> <span class='keyword'>if</span> ((n_selected == 1) &amp;&amp; selection_has_a_dir (window))</td></tr>
+<tr class="codeline" data-linenumber="3722"><td class="num" id="LN3722">3722</td><td class="line"> gtk_menu_popup_at_pointer (<span class='macro'>GTK_MENU (window-&gt;priv-&gt;folder_popup_menu)<span class='macro_popup'>((((GtkMenu*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;folder_popup_menu)), ((gtk_menu_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3723"><td class="num" id="LN3723">3723</td><td class="line"> (<span class='keyword'>const</span> GdkEvent*) event);</td></tr>
+<tr class="codeline" data-linenumber="3724"><td class="num" id="LN3724">3724</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="3725"><td class="num" id="LN3725">3725</td><td class="line"> gtk_menu_popup_at_pointer (<span class='macro'>GTK_MENU (window-&gt;priv-&gt;file_popup_menu)<span class='macro_popup'>((((GtkMenu*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;file_popup_menu)), ((gtk_menu_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3726"><td class="num" id="LN3726">3726</td><td class="line"> (<span class='keyword'>const</span> GdkEvent*) event);</td></tr>
+<tr class="codeline" data-linenumber="3727"><td class="num" id="LN3727">3727</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3728"><td class="num" id="LN3728">3728</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3729"><td class="num" id="LN3729">3729</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> ((event-&gt;type == GDK_BUTTON_PRESS) &amp;&amp; (event-&gt;button == 1)) {</td></tr>
+<tr class="codeline" data-linenumber="3730"><td class="num" id="LN3730">3730</td><td class="line"> GtkTreePath *path = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3731"><td class="num" id="LN3731">3731</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3732"><td class="num" id="LN3732">3732</td><td class="line"> <span class='keyword'>if</span> (! gtk_tree_view_get_path_at_pos (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3733"><td class="num" id="LN3733">3733</td><td class="line"> (<span class='keyword'>int</span>) event-&gt;x, (<span class='keyword'>int</span>) event-&gt;y,</td></tr>
+<tr class="codeline" data-linenumber="3734"><td class="num" id="LN3734">3734</td><td class="line"> &amp;path, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="3735"><td class="num" id="LN3735">3735</td><td class="line"> gtk_tree_selection_unselect_all (selection);</td></tr>
+<tr class="codeline" data-linenumber="3736"><td class="num" id="LN3736">3736</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3737"><td class="num" id="LN3737">3737</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3738"><td class="num" id="LN3738">3738</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;path_clicked != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="3739"><td class="num" id="LN3739">3739</td><td class="line"> gtk_tree_path_free (window-&gt;priv-&gt;path_clicked);</td></tr>
+<tr class="codeline" data-linenumber="3740"><td class="num" id="LN3740">3740</td><td class="line"> window-&gt;priv-&gt;path_clicked = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3741"><td class="num" id="LN3741">3741</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3742"><td class="num" id="LN3742">3742</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3743"><td class="num" id="LN3743">3743</td><td class="line"> <span class='keyword'>if</span> (path != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="3744"><td class="num" id="LN3744">3744</td><td class="line"> window-&gt;priv-&gt;path_clicked = gtk_tree_path_copy (path);</td></tr>
+<tr class="codeline" data-linenumber="3745"><td class="num" id="LN3745">3745</td><td class="line"> gtk_tree_path_free (path);</td></tr>
+<tr class="codeline" data-linenumber="3746"><td class="num" id="LN3746">3746</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3747"><td class="num" id="LN3747">3747</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3748"><td class="num" id="LN3748">3748</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3749"><td class="num" id="LN3749">3749</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3750"><td class="num" id="LN3750">3750</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> ((event-&gt;type == GDK_BUTTON_PRESS) &amp;&amp; (event-&gt;button == 8)) {</td></tr>
+<tr class="codeline" data-linenumber="3751"><td class="num" id="LN3751">3751</td><td class="line"> <span class='comment'>// go back</span></td></tr>
+<tr class="codeline" data-linenumber="3752"><td class="num" id="LN3752">3752</td><td class="line"> fr_window_go_back (window);</td></tr>
+<tr class="codeline" data-linenumber="3753"><td class="num" id="LN3753">3753</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3754"><td class="num" id="LN3754">3754</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3755"><td class="num" id="LN3755">3755</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> ((event-&gt;type == GDK_BUTTON_PRESS) &amp;&amp; (event-&gt;button == 9)) {</td></tr>
+<tr class="codeline" data-linenumber="3756"><td class="num" id="LN3756">3756</td><td class="line"> <span class='comment'>// go forward</span></td></tr>
+<tr class="codeline" data-linenumber="3757"><td class="num" id="LN3757">3757</td><td class="line"> fr_window_go_forward (window);</td></tr>
+<tr class="codeline" data-linenumber="3758"><td class="num" id="LN3758">3758</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3759"><td class="num" id="LN3759">3759</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3760"><td class="num" id="LN3760">3760</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3761"><td class="num" id="LN3761">3761</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3762"><td class="num" id="LN3762">3762</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3763"><td class="num" id="LN3763">3763</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3764"><td class="num" id="LN3764">3764</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="3765"><td class="num" id="LN3765">3765</td><td class="line">file_button_release_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="3766"><td class="num" id="LN3766">3766</td><td class="line"> GdkEventButton *event,</td></tr>
+<tr class="codeline" data-linenumber="3767"><td class="num" id="LN3767">3767</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="3768"><td class="num" id="LN3768">3768</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3769"><td class="num" id="LN3769">3769</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="3770"><td class="num" id="LN3770">3770</td><td class="line"> GtkTreeSelection *selection;</td></tr>
+<tr class="codeline" data-linenumber="3771"><td class="num" id="LN3771">3771</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3772"><td class="num" id="LN3772">3772</td><td class="line"> <span class='keyword'>if</span> (event-&gt;window != gtk_tree_view_get_bin_window (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="3773"><td class="num" id="LN3773">3773</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3774"><td class="num" id="LN3774">3774</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3775"><td class="num" id="LN3775">3775</td><td class="line"> selection = gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3776"><td class="num" id="LN3776">3776</td><td class="line"> <span class='keyword'>if</span> (selection == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3777"><td class="num" id="LN3777">3777</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3778"><td class="num" id="LN3778">3778</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3779"><td class="num" id="LN3779">3779</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;path_clicked == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3780"><td class="num" id="LN3780">3780</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3781"><td class="num" id="LN3781">3781</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3782"><td class="num" id="LN3782">3782</td><td class="line"> <span class='keyword'>if</span> ((event-&gt;type == GDK_BUTTON_RELEASE)</td></tr>
+<tr class="codeline" data-linenumber="3783"><td class="num" id="LN3783">3783</td><td class="line"> &amp;&amp; (event-&gt;button == 1)</td></tr>
+<tr class="codeline" data-linenumber="3784"><td class="num" id="LN3784">3784</td><td class="line"> &amp;&amp; (window-&gt;priv-&gt;path_clicked != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="3785"><td class="num" id="LN3785">3785</td><td class="line"> GtkTreePath *path = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3786"><td class="num" id="LN3786">3786</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3787"><td class="num" id="LN3787">3787</td><td class="line"> <span class='keyword'>if</span> (gtk_tree_view_get_path_at_pos (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3788"><td class="num" id="LN3788">3788</td><td class="line"> (<span class='keyword'>int</span>) event-&gt;x, (<span class='keyword'>int</span>) event-&gt;y,</td></tr>
+<tr class="codeline" data-linenumber="3789"><td class="num" id="LN3789">3789</td><td class="line"> &amp;path, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="3790"><td class="num" id="LN3790">3790</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3791"><td class="num" id="LN3791">3791</td><td class="line"> <span class='keyword'>if</span> ((gtk_tree_path_compare (window-&gt;priv-&gt;path_clicked, path) == 0)</td></tr>
+<tr class="codeline" data-linenumber="3792"><td class="num" id="LN3792">3792</td><td class="line"> &amp;&amp; window-&gt;priv-&gt;single_click</td></tr>
+<tr class="codeline" data-linenumber="3793"><td class="num" id="LN3793">3793</td><td class="line"> &amp;&amp; ! ((event-&gt;state &amp; GDK_CONTROL_MASK) || (event-&gt;state &amp; GDK_SHIFT_MASK))) {</td></tr>
+<tr class="codeline" data-linenumber="3794"><td class="num" id="LN3794">3794</td><td class="line"> gtk_tree_view_set_cursor (<span class='macro'>GTK_TREE_VIEW (widget)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((gtk_tree_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3795"><td class="num" id="LN3795">3795</td><td class="line"> path,</td></tr>
+<tr class="codeline" data-linenumber="3796"><td class="num" id="LN3796">3796</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3797"><td class="num" id="LN3797">3797</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3798"><td class="num" id="LN3798">3798</td><td class="line"> gtk_tree_view_row_activated (<span class='macro'>GTK_TREE_VIEW (widget)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((gtk_tree_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3799"><td class="num" id="LN3799">3799</td><td class="line"> path,</td></tr>
+<tr class="codeline" data-linenumber="3800"><td class="num" id="LN3800">3800</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3801"><td class="num" id="LN3801">3801</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3802"><td class="num" id="LN3802">3802</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3803"><td class="num" id="LN3803">3803</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3804"><td class="num" id="LN3804">3804</td><td class="line"> <span class='keyword'>if</span> (path != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3805"><td class="num" id="LN3805">3805</td><td class="line"> gtk_tree_path_free (path);</td></tr>
+<tr class="codeline" data-linenumber="3806"><td class="num" id="LN3806">3806</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3807"><td class="num" id="LN3807">3807</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3808"><td class="num" id="LN3808">3808</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;path_clicked != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="3809"><td class="num" id="LN3809">3809</td><td class="line"> gtk_tree_path_free (window-&gt;priv-&gt;path_clicked);</td></tr>
+<tr class="codeline" data-linenumber="3810"><td class="num" id="LN3810">3810</td><td class="line"> window-&gt;priv-&gt;path_clicked = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3811"><td class="num" id="LN3811">3811</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3812"><td class="num" id="LN3812">3812</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3813"><td class="num" id="LN3813">3813</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3814"><td class="num" id="LN3814">3814</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3815"><td class="num" id="LN3815">3815</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3816"><td class="num" id="LN3816">3816</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="3817"><td class="num" id="LN3817">3817</td><td class="line">file_motion_notify_callback (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="3818"><td class="num" id="LN3818">3818</td><td class="line"> GdkEventMotion *event,</td></tr>
+<tr class="codeline" data-linenumber="3819"><td class="num" id="LN3819">3819</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3820"><td class="num" id="LN3820">3820</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3821"><td class="num" id="LN3821">3821</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="3822"><td class="num" id="LN3822">3822</td><td class="line"> GdkCursor *cursor;</td></tr>
+<tr class="codeline" data-linenumber="3823"><td class="num" id="LN3823">3823</td><td class="line"> GtkTreePath *last_hover_path;</td></tr>
+<tr class="codeline" data-linenumber="3824"><td class="num" id="LN3824">3824</td><td class="line"> GdkDisplay *display;</td></tr>
+<tr class="codeline" data-linenumber="3825"><td class="num" id="LN3825">3825</td><td class="line"> GtkTreeIter iter;</td></tr>
+<tr class="codeline" data-linenumber="3826"><td class="num" id="LN3826">3826</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3827"><td class="num" id="LN3827">3827</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;single_click)</td></tr>
+<tr class="codeline" data-linenumber="3828"><td class="num" id="LN3828">3828</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3829"><td class="num" id="LN3829">3829</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3830"><td class="num" id="LN3830">3830</td><td class="line"> <span class='keyword'>if</span> (event-&gt;window != gtk_tree_view_get_bin_window (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="3831"><td class="num" id="LN3831">3831</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3832"><td class="num" id="LN3832">3832</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3833"><td class="num" id="LN3833">3833</td><td class="line"> last_hover_path = window-&gt;priv-&gt;list_hover_path;</td></tr>
+<tr class="codeline" data-linenumber="3834"><td class="num" id="LN3834">3834</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3835"><td class="num" id="LN3835">3835</td><td class="line"> gtk_tree_view_get_path_at_pos (<span class='macro'>GTK_TREE_VIEW (widget)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((gtk_tree_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3836"><td class="num" id="LN3836">3836</td><td class="line"> (<span class='keyword'>int</span>) event-&gt;x, (<span class='keyword'>int</span>) event-&gt;y,</td></tr>
+<tr class="codeline" data-linenumber="3837"><td class="num" id="LN3837">3837</td><td class="line"> &amp;window-&gt;priv-&gt;list_hover_path,</td></tr>
+<tr class="codeline" data-linenumber="3838"><td class="num" id="LN3838">3838</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3839"><td class="num" id="LN3839">3839</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3840"><td class="num" id="LN3840">3840</td><td class="line"> display = gtk_widget_get_display (<span class='macro'>GTK_WIDGET (widget)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3841"><td class="num" id="LN3841">3841</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3842"><td class="num" id="LN3842">3842</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;list_hover_path != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3843"><td class="num" id="LN3843">3843</td><td class="line"> cursor = gdk_cursor_new_for_display (display, GDK_HAND2);</td></tr>
+<tr class="codeline" data-linenumber="3844"><td class="num" id="LN3844">3844</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="3845"><td class="num" id="LN3845">3845</td><td class="line"> cursor = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3846"><td class="num" id="LN3846">3846</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3847"><td class="num" id="LN3847">3847</td><td class="line"> gdk_window_set_cursor (event-&gt;window, cursor);</td></tr>
+<tr class="codeline" data-linenumber="3848"><td class="num" id="LN3848">3848</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3849"><td class="num" id="LN3849">3849</td><td class="line"> <span class='comment'>/* only redraw if the hover row has changed */</span></td></tr>
+<tr class="codeline" data-linenumber="3850"><td class="num" id="LN3850">3850</td><td class="line"> <span class='keyword'>if</span> (!(last_hover_path == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; window-&gt;priv-&gt;list_hover_path == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="3851"><td class="num" id="LN3851">3851</td><td class="line"> (!(last_hover_path != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; window-&gt;priv-&gt;list_hover_path != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) ||</td></tr>
+<tr class="codeline" data-linenumber="3852"><td class="num" id="LN3852">3852</td><td class="line"> gtk_tree_path_compare (last_hover_path, window-&gt;priv-&gt;list_hover_path)))</td></tr>
+<tr class="codeline" data-linenumber="3853"><td class="num" id="LN3853">3853</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="3854"><td class="num" id="LN3854">3854</td><td class="line"> <span class='keyword'>if</span> (last_hover_path) {</td></tr>
+<tr class="codeline" data-linenumber="3855"><td class="num" id="LN3855">3855</td><td class="line"> gtk_tree_model_get_iter (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3856"><td class="num" id="LN3856">3856</td><td class="line"> &amp;iter, last_hover_path);</td></tr>
+<tr class="codeline" data-linenumber="3857"><td class="num" id="LN3857">3857</td><td class="line"> gtk_tree_model_row_changed (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3858"><td class="num" id="LN3858">3858</td><td class="line"> last_hover_path, &amp;iter);</td></tr>
+<tr class="codeline" data-linenumber="3859"><td class="num" id="LN3859">3859</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3860"><td class="num" id="LN3860">3860</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3861"><td class="num" id="LN3861">3861</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;list_hover_path) {</td></tr>
+<tr class="codeline" data-linenumber="3862"><td class="num" id="LN3862">3862</td><td class="line"> gtk_tree_model_get_iter (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3863"><td class="num" id="LN3863">3863</td><td class="line"> &amp;iter, window-&gt;priv-&gt;list_hover_path);</td></tr>
+<tr class="codeline" data-linenumber="3864"><td class="num" id="LN3864">3864</td><td class="line"> gtk_tree_model_row_changed (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3865"><td class="num" id="LN3865">3865</td><td class="line"> window-&gt;priv-&gt;list_hover_path, &amp;iter);</td></tr>
+<tr class="codeline" data-linenumber="3866"><td class="num" id="LN3866">3866</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3867"><td class="num" id="LN3867">3867</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3868"><td class="num" id="LN3868">3868</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3869"><td class="num" id="LN3869">3869</td><td class="line"> gtk_tree_path_free (last_hover_path);</td></tr>
+<tr class="codeline" data-linenumber="3870"><td class="num" id="LN3870">3870</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3871"><td class="num" id="LN3871">3871</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3872"><td class="num" id="LN3872">3872</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3873"><td class="num" id="LN3873">3873</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3874"><td class="num" id="LN3874">3874</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="3875"><td class="num" id="LN3875">3875</td><td class="line">file_leave_notify_callback (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="3876"><td class="num" id="LN3876">3876</td><td class="line"> GdkEventCrossing *event,</td></tr>
+<tr class="codeline" data-linenumber="3877"><td class="num" id="LN3877">3877</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3878"><td class="num" id="LN3878">3878</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3879"><td class="num" id="LN3879">3879</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="3880"><td class="num" id="LN3880">3880</td><td class="line"> GtkTreeIter iter;</td></tr>
+<tr class="codeline" data-linenumber="3881"><td class="num" id="LN3881">3881</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3882"><td class="num" id="LN3882">3882</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;single_click &amp;&amp; (window-&gt;priv-&gt;list_hover_path != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="3883"><td class="num" id="LN3883">3883</td><td class="line"> gtk_tree_model_get_iter (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3884"><td class="num" id="LN3884">3884</td><td class="line"> &amp;iter,</td></tr>
+<tr class="codeline" data-linenumber="3885"><td class="num" id="LN3885">3885</td><td class="line"> window-&gt;priv-&gt;list_hover_path);</td></tr>
+<tr class="codeline" data-linenumber="3886"><td class="num" id="LN3886">3886</td><td class="line"> gtk_tree_model_row_changed (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3887"><td class="num" id="LN3887">3887</td><td class="line"> window-&gt;priv-&gt;list_hover_path,</td></tr>
+<tr class="codeline" data-linenumber="3888"><td class="num" id="LN3888">3888</td><td class="line"> &amp;iter);</td></tr>
+<tr class="codeline" data-linenumber="3889"><td class="num" id="LN3889">3889</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3890"><td class="num" id="LN3890">3890</td><td class="line"> gtk_tree_path_free (window-&gt;priv-&gt;list_hover_path);</td></tr>
+<tr class="codeline" data-linenumber="3891"><td class="num" id="LN3891">3891</td><td class="line"> window-&gt;priv-&gt;list_hover_path = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3892"><td class="num" id="LN3892">3892</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3893"><td class="num" id="LN3893">3893</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3894"><td class="num" id="LN3894">3894</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3895"><td class="num" id="LN3895">3895</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3896"><td class="num" id="LN3896">3896</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3897"><td class="num" id="LN3897">3897</td><td class="line"><span class='comment'>/* -- drag and drop -- */</span></td></tr>
+<tr class="codeline" data-linenumber="3898"><td class="num" id="LN3898">3898</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3899"><td class="num" id="LN3899">3899</td><td class="line"><span class='keyword'>static</span> GList *</td></tr>
+<tr class="codeline" data-linenumber="3900"><td class="num" id="LN3900">3900</td><td class="line">get_uri_list_from_selection_data (<span class='keyword'>char</span> *uri_list)</td></tr>
+<tr class="codeline" data-linenumber="3901"><td class="num" id="LN3901">3901</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3902"><td class="num" id="LN3902">3902</td><td class="line"> GList *list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3903"><td class="num" id="LN3903">3903</td><td class="line"> <span class='keyword'>char</span> **uris;</td></tr>
+<tr class="codeline" data-linenumber="3904"><td class="num" id="LN3904">3904</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="3905"><td class="num" id="LN3905">3905</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3906"><td class="num" id="LN3906">3906</td><td class="line"> <span class='keyword'>if</span> (uri_list == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3907"><td class="num" id="LN3907">3907</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3908"><td class="num" id="LN3908">3908</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3909"><td class="num" id="LN3909">3909</td><td class="line"> uris = g_uri_list_extract_uris (uri_list);</td></tr>
+<tr class="codeline" data-linenumber="3910"><td class="num" id="LN3910">3910</td><td class="line"> <span class='keyword'>for</span> (i = 0; uris[i] != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; i++)</td></tr>
+<tr class="codeline" data-linenumber="3911"><td class="num" id="LN3911">3911</td><td class="line"> list = g_list_prepend (list, <span class='macro'>g_strdup (uris[i])<span class='macro_popup'>g_strdup_inline (uris[i])</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3912"><td class="num" id="LN3912">3912</td><td class="line"> g_strfreev (uris);</td></tr>
+<tr class="codeline" data-linenumber="3913"><td class="num" id="LN3913">3913</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3914"><td class="num" id="LN3914">3914</td><td class="line"> <span class='keyword'>return</span> g_list_reverse (list);</td></tr>
+<tr class="codeline" data-linenumber="3915"><td class="num" id="LN3915">3915</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3916"><td class="num" id="LN3916">3916</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3917"><td class="num" id="LN3917">3917</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="3918"><td class="num" id="LN3918">3918</td><td class="line">fr_window_drag_motion (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="3919"><td class="num" id="LN3919">3919</td><td class="line"> GdkDragContext *context,</td></tr>
+<tr class="codeline" data-linenumber="3920"><td class="num" id="LN3920">3920</td><td class="line"> gint x,</td></tr>
+<tr class="codeline" data-linenumber="3921"><td class="num" id="LN3921">3921</td><td class="line"> gint y,</td></tr>
+<tr class="codeline" data-linenumber="3922"><td class="num" id="LN3922">3922</td><td class="line"> guint time,</td></tr>
+<tr class="codeline" data-linenumber="3923"><td class="num" id="LN3923">3923</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3924"><td class="num" id="LN3924">3924</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3925"><td class="num" id="LN3925">3925</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="3926"><td class="num" id="LN3926">3926</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3927"><td class="num" id="LN3927">3927</td><td class="line"> <span class='keyword'>if</span> ((gtk_drag_get_source_widget (context) == window-&gt;priv-&gt;list_view)</td></tr>
+<tr class="codeline" data-linenumber="3928"><td class="num" id="LN3928">3928</td><td class="line"> || (gtk_drag_get_source_widget (context) == window-&gt;priv-&gt;tree_view))</td></tr>
+<tr class="codeline" data-linenumber="3929"><td class="num" id="LN3929">3929</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="3930"><td class="num" id="LN3930">3930</td><td class="line"> gdk_drag_status (context, 0, time);</td></tr>
+<tr class="codeline" data-linenumber="3931"><td class="num" id="LN3931">3931</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3932"><td class="num" id="LN3932">3932</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3933"><td class="num" id="LN3933">3933</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3934"><td class="num" id="LN3934">3934</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3935"><td class="num" id="LN3935">3935</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3936"><td class="num" id="LN3936">3936</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3937"><td class="num" id="LN3937">3937</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> fr_window_paste_from_clipboard_data (FrWindow *window, FrClipboardData *data);</td></tr>
+<tr class="codeline" data-linenumber="3938"><td class="num" id="LN3938">3938</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3939"><td class="num" id="LN3939">3939</td><td class="line"><span class='keyword'>static</span> FrClipboardData*</td></tr>
+<tr class="codeline" data-linenumber="3940"><td class="num" id="LN3940">3940</td><td class="line">get_clipboard_data_from_selection_data (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="3941"><td class="num" id="LN3941">3941</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *data)</td></tr>
+<tr class="codeline" data-linenumber="3942"><td class="num" id="LN3942">3942</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3943"><td class="num" id="LN3943">3943</td><td class="line"> FrClipboardData *clipboard_data;</td></tr>
+<tr class="codeline" data-linenumber="3944"><td class="num" id="LN3944">3944</td><td class="line"> <span class='keyword'>char</span> **uris;</td></tr>
+<tr class="codeline" data-linenumber="3945"><td class="num" id="LN3945">3945</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="3946"><td class="num" id="LN3946">3946</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3947"><td class="num" id="LN3947">3947</td><td class="line"> clipboard_data = fr_clipboard_data_new ();</td></tr>
+<tr class="codeline" data-linenumber="3948"><td class="num" id="LN3948">3948</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3949"><td class="num" id="LN3949">3949</td><td class="line"> uris = g_strsplit (data, <span class='string_literal'>"\r\n"</span>, -1);</td></tr>
+<tr class="codeline" data-linenumber="3950"><td class="num" id="LN3950">3950</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3951"><td class="num" id="LN3951">3951</td><td class="line"> clipboard_data-&gt;archive_filename = <span class='macro'>g_strdup (uris[0])<span class='macro_popup'>g_strdup_inline (uris[0])</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3952"><td class="num" id="LN3952">3952</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;password_for_paste != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3953"><td class="num" id="LN3953">3953</td><td class="line"> clipboard_data-&gt;archive_password = <span class='macro'>g_strdup (window-&gt;priv-&gt;password_for_paste)<span class='macro_popup'>g_strdup_inline (window-&gt;priv-&gt;password_for_paste)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3954"><td class="num" id="LN3954">3954</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (strcmp (uris[1], <span class='string_literal'>""</span>) != 0)</td></tr>
+<tr class="codeline" data-linenumber="3955"><td class="num" id="LN3955">3955</td><td class="line"> clipboard_data-&gt;archive_password = <span class='macro'>g_strdup (uris[1])<span class='macro_popup'>g_strdup_inline (uris[1])</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3956"><td class="num" id="LN3956">3956</td><td class="line"> clipboard_data-&gt;op = (strcmp (uris[2], <span class='string_literal'>"copy"</span>) == 0) ? FR_CLIPBOARD_OP_COPY : FR_CLIPBOARD_OP_CUT;</td></tr>
+<tr class="codeline" data-linenumber="3957"><td class="num" id="LN3957">3957</td><td class="line"> clipboard_data-&gt;base_dir = <span class='macro'>g_strdup (uris[3])<span class='macro_popup'>g_strdup_inline (uris[3])</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3958"><td class="num" id="LN3958">3958</td><td class="line"> <span class='keyword'>for</span> (i = 4; uris[i] != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; i++)</td></tr>
+<tr class="codeline" data-linenumber="3959"><td class="num" id="LN3959">3959</td><td class="line"> <span class='keyword'>if</span> (uris[i][0] != '\0')</td></tr>
+<tr class="codeline" data-linenumber="3960"><td class="num" id="LN3960">3960</td><td class="line"> clipboard_data-&gt;files = g_list_prepend (clipboard_data-&gt;files, <span class='macro'>g_strdup (uris[i])<span class='macro_popup'>g_strdup_inline (uris[i])</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3961"><td class="num" id="LN3961">3961</td><td class="line"> clipboard_data-&gt;files = g_list_reverse (clipboard_data-&gt;files);</td></tr>
+<tr class="codeline" data-linenumber="3962"><td class="num" id="LN3962">3962</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3963"><td class="num" id="LN3963">3963</td><td class="line"> g_strfreev (uris);</td></tr>
+<tr class="codeline" data-linenumber="3964"><td class="num" id="LN3964">3964</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3965"><td class="num" id="LN3965">3965</td><td class="line"> <span class='keyword'>return</span> clipboard_data;</td></tr>
+<tr class="codeline" data-linenumber="3966"><td class="num" id="LN3966">3966</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3967"><td class="num" id="LN3967">3967</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3968"><td class="num" id="LN3968">3968</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3969"><td class="num" id="LN3969">3969</td><td class="line">fr_window_drag_data_received (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="3970"><td class="num" id="LN3970">3970</td><td class="line"> GdkDragContext *context,</td></tr>
+<tr class="codeline" data-linenumber="3971"><td class="num" id="LN3971">3971</td><td class="line"> gint x,</td></tr>
+<tr class="codeline" data-linenumber="3972"><td class="num" id="LN3972">3972</td><td class="line"> gint y,</td></tr>
+<tr class="codeline" data-linenumber="3973"><td class="num" id="LN3973">3973</td><td class="line"> GtkSelectionData *data,</td></tr>
+<tr class="codeline" data-linenumber="3974"><td class="num" id="LN3974">3974</td><td class="line"> guint info,</td></tr>
+<tr class="codeline" data-linenumber="3975"><td class="num" id="LN3975">3975</td><td class="line"> guint time,</td></tr>
+<tr class="codeline" data-linenumber="3976"><td class="num" id="LN3976">3976</td><td class="line"> gpointer extra_data)</td></tr>
+<tr class="codeline" data-linenumber="3977"><td class="num" id="LN3977">3977</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3978"><td class="num" id="LN3978">3978</td><td class="line"> FrWindow *window = extra_data;</td></tr>
+<tr class="codeline" data-linenumber="3979"><td class="num" id="LN3979">3979</td><td class="line"> GList *list;</td></tr>
+<tr class="codeline" data-linenumber="3980"><td class="num" id="LN3980">3980</td><td class="line"> gboolean one_file;</td></tr>
+<tr class="codeline" data-linenumber="3981"><td class="num" id="LN3981">3981</td><td class="line"> gboolean is_an_archive;</td></tr>
+<tr class="codeline" data-linenumber="3982"><td class="num" id="LN3982">3982</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3983"><td class="num" id="LN3983">3983</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 3983, __FUNCTION__</span></span>, <span class='string_literal'>"::DragDataReceived --&gt;\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="3984"><td class="num" id="LN3984">3984</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3985"><td class="num" id="LN3985">3985</td><td class="line"> <span class='keyword'>if</span> ((gtk_drag_get_source_widget (context) == window-&gt;priv-&gt;list_view)</td></tr>
+<tr class="codeline" data-linenumber="3986"><td class="num" id="LN3986">3986</td><td class="line"> || (gtk_drag_get_source_widget (context) == window-&gt;priv-&gt;tree_view))</td></tr>
+<tr class="codeline" data-linenumber="3987"><td class="num" id="LN3987">3987</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="3988"><td class="num" id="LN3988">3988</td><td class="line"> gtk_drag_finish (context, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, time);</td></tr>
+<tr class="codeline" data-linenumber="3989"><td class="num" id="LN3989">3989</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3990"><td class="num" id="LN3990">3990</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3991"><td class="num" id="LN3991">3991</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3992"><td class="num" id="LN3992">3992</td><td class="line"> <span class='keyword'>if</span> (! ((gtk_selection_data_get_length (data) &gt;= 0) &amp;&amp; (gtk_selection_data_get_format (data) == 8))) {</td></tr>
+<tr class="codeline" data-linenumber="3993"><td class="num" id="LN3993">3993</td><td class="line"> gtk_drag_finish (context, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, time);</td></tr>
+<tr class="codeline" data-linenumber="3994"><td class="num" id="LN3994">3994</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3995"><td class="num" id="LN3995">3995</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3996"><td class="num" id="LN3996">3996</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3997"><td class="num" id="LN3997">3997</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;activity_ref &gt; 0) {</td></tr>
+<tr class="codeline" data-linenumber="3998"><td class="num" id="LN3998">3998</td><td class="line"> gtk_drag_finish (context, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, time);</td></tr>
+<tr class="codeline" data-linenumber="3999"><td class="num" id="LN3999">3999</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="4000"><td class="num" id="LN4000">4000</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4001"><td class="num" id="LN4001">4001</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4002"><td class="num" id="LN4002">4002</td><td class="line"> gtk_drag_finish (context, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, time);</td></tr>
+<tr class="codeline" data-linenumber="4003"><td class="num" id="LN4003">4003</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4004"><td class="num" id="LN4004">4004</td><td class="line"> <span class='keyword'>if</span> (gtk_selection_data_get_target (data) == <span class='macro'>XFR_ATOM<span class='macro_popup'>gdk_atom_intern ("XdndEngrampa0", (0))</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4005"><td class="num" id="LN4005">4005</td><td class="line"> FrClipboardData *dnd_data;</td></tr>
+<tr class="codeline" data-linenumber="4006"><td class="num" id="LN4006">4006</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4007"><td class="num" id="LN4007">4007</td><td class="line"> dnd_data = get_clipboard_data_from_selection_data (window, (<span class='keyword'>char</span>*) gtk_selection_data_get_data (data));</td></tr>
+<tr class="codeline" data-linenumber="4008"><td class="num" id="LN4008">4008</td><td class="line"> dnd_data-&gt;current_dir = <span class='macro'>g_strdup (fr_window_get_current_location (window))<span class='macro_popup'>g_strdup_inline (fr_window_get_current_location (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4009"><td class="num" id="LN4009">4009</td><td class="line"> fr_window_paste_from_clipboard_data (window, dnd_data);</td></tr>
+<tr class="codeline" data-linenumber="4010"><td class="num" id="LN4010">4010</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4011"><td class="num" id="LN4011">4011</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="4012"><td class="num" id="LN4012">4012</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4013"><td class="num" id="LN4013">4013</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4014"><td class="num" id="LN4014">4014</td><td class="line"> list = get_uri_list_from_selection_data ((<span class='keyword'>char</span>*) gtk_selection_data_get_data (data));</td></tr>
+<tr class="codeline" data-linenumber="4015"><td class="num" id="LN4015">4015</td><td class="line"> <span class='keyword'>if</span> (list == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4016"><td class="num" id="LN4016">4016</td><td class="line"> GtkWidget *d;</td></tr>
+<tr class="codeline" data-linenumber="4017"><td class="num" id="LN4017">4017</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4018"><td class="num" id="LN4018">4018</td><td class="line"> d = _gtk_error_dialog_new (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4019"><td class="num" id="LN4019">4019</td><td class="line"> GTK_DIALOG_MODAL,</td></tr>
+<tr class="codeline" data-linenumber="4020"><td class="num" id="LN4020">4020</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4021"><td class="num" id="LN4021">4021</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Could not perform the operation"</span>)<span class='macro_popup'>gettext ("Could not perform the operation")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4022"><td class="num" id="LN4022">4022</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4023"><td class="num" id="LN4023">4023</td><td class="line"> gtk_dialog_run (<span class='macro'>GTK_DIALOG (d)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_dialog_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4024"><td class="num" id="LN4024">4024</td><td class="line"> gtk_widget_destroy(d);</td></tr>
+<tr class="codeline" data-linenumber="4025"><td class="num" id="LN4025">4025</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4026"><td class="num" id="LN4026">4026</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="4027"><td class="num" id="LN4027">4027</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4028"><td class="num" id="LN4028">4028</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4029"><td class="num" id="LN4029">4029</td><td class="line"> one_file = (list-&gt;next == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4030"><td class="num" id="LN4030">4030</td><td class="line"> <span class='keyword'>if</span> (one_file)</td></tr>
+<tr class="codeline" data-linenumber="4031"><td class="num" id="LN4031">4031</td><td class="line"> is_an_archive = uri_is_archive (list-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="4032"><td class="num" id="LN4032">4032</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="4033"><td class="num" id="LN4033">4033</td><td class="line"> is_an_archive = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4034"><td class="num" id="LN4034">4034</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4035"><td class="num" id="LN4035">4035</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;archive_present</td></tr>
+<tr class="codeline" data-linenumber="4036"><td class="num" id="LN4036">4036</td><td class="line"> &amp;&amp; (window-&gt;archive != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="4037"><td class="num" id="LN4037">4037</td><td class="line"> &amp;&amp; ! window-&gt;archive-&gt;read_only</td></tr>
+<tr class="codeline" data-linenumber="4038"><td class="num" id="LN4038">4038</td><td class="line"> &amp;&amp; ! window-&gt;archive-&gt;is_compressed_file)</td></tr>
+<tr class="codeline" data-linenumber="4039"><td class="num" id="LN4039">4039</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="4040"><td class="num" id="LN4040">4040</td><td class="line"> <span class='keyword'>if</span> (one_file &amp;&amp; is_an_archive) {</td></tr>
+<tr class="codeline" data-linenumber="4041"><td class="num" id="LN4041">4041</td><td class="line"> GtkWidget *d;</td></tr>
+<tr class="codeline" data-linenumber="4042"><td class="num" id="LN4042">4042</td><td class="line"> gint r;</td></tr>
+<tr class="codeline" data-linenumber="4043"><td class="num" id="LN4043">4043</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4044"><td class="num" id="LN4044">4044</td><td class="line"> d = _gtk_message_dialog_new (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4045"><td class="num" id="LN4045">4045</td><td class="line"> GTK_DIALOG_MODAL,</td></tr>
+<tr class="codeline" data-linenumber="4046"><td class="num" id="LN4046">4046</td><td class="line"> <span class='string_literal'>"dialog-question"</span>,</td></tr>
+<tr class="codeline" data-linenumber="4047"><td class="num" id="LN4047">4047</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Do you want to add this file to the current archive or open it as a new archive?"</span>)<span class='macro_popup'>gettext ("Do you want to add this file to the current archive or open it as a new archive?"<br>)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4048"><td class="num" id="LN4048">4048</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4049"><td class="num" id="LN4049">4049</td><td class="line"> <span class='string_literal'>"gtk-cancel"</span>, GTK_RESPONSE_CANCEL,</td></tr>
+<tr class="codeline" data-linenumber="4050"><td class="num" id="LN4050">4050</td><td class="line"> <span class='string_literal'>"gtk-add"</span>, 0,</td></tr>
+<tr class="codeline" data-linenumber="4051"><td class="num" id="LN4051">4051</td><td class="line"> <span class='string_literal'>"gtk-open"</span>, 1,</td></tr>
+<tr class="codeline" data-linenumber="4052"><td class="num" id="LN4052">4052</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4053"><td class="num" id="LN4053">4053</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4054"><td class="num" id="LN4054">4054</td><td class="line"> gtk_dialog_set_default_response (<span class='macro'>GTK_DIALOG (d)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_dialog_get_type ()))))))</span></span>, 2);</td></tr>
+<tr class="codeline" data-linenumber="4055"><td class="num" id="LN4055">4055</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4056"><td class="num" id="LN4056">4056</td><td class="line"> r = gtk_dialog_run (<span class='macro'>GTK_DIALOG (d)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_dialog_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4057"><td class="num" id="LN4057">4057</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (d)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4058"><td class="num" id="LN4058">4058</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4059"><td class="num" id="LN4059">4059</td><td class="line"> <span class='keyword'>if</span> (r == 0) <span class='comment'>/* Add */</span></td></tr>
+<tr class="codeline" data-linenumber="4060"><td class="num" id="LN4060">4060</td><td class="line"> fr_window_archive_add_dropped_items (window, list, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4061"><td class="num" id="LN4061">4061</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (r == 1) <span class='comment'>/* Open */</span></td></tr>
+<tr class="codeline" data-linenumber="4062"><td class="num" id="LN4062">4062</td><td class="line"> fr_window_archive_open (window, list-&gt;data, <span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4063"><td class="num" id="LN4063">4063</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4064"><td class="num" id="LN4064">4064</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="4065"><td class="num" id="LN4065">4065</td><td class="line"> fr_window_archive_add_dropped_items (window, list, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4066"><td class="num" id="LN4066">4066</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4067"><td class="num" id="LN4067">4067</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="4068"><td class="num" id="LN4068">4068</td><td class="line"> <span class='keyword'>if</span> (one_file &amp;&amp; is_an_archive)</td></tr>
+<tr class="codeline" data-linenumber="4069"><td class="num" id="LN4069">4069</td><td class="line"> fr_window_archive_open (window, list-&gt;data, <span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4070"><td class="num" id="LN4070">4070</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="4071"><td class="num" id="LN4071">4071</td><td class="line"> GtkWidget *d;</td></tr>
+<tr class="codeline" data-linenumber="4072"><td class="num" id="LN4072">4072</td><td class="line"> <span class='keyword'>int</span> r;</td></tr>
+<tr class="codeline" data-linenumber="4073"><td class="num" id="LN4073">4073</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4074"><td class="num" id="LN4074">4074</td><td class="line"> d = _gtk_message_dialog_new (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4075"><td class="num" id="LN4075">4075</td><td class="line"> GTK_DIALOG_MODAL,</td></tr>
+<tr class="codeline" data-linenumber="4076"><td class="num" id="LN4076">4076</td><td class="line"> <span class='string_literal'>"dialog-question"</span>,</td></tr>
+<tr class="codeline" data-linenumber="4077"><td class="num" id="LN4077">4077</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Do you want to create a new archive with these files?"</span>)<span class='macro_popup'>gettext ("Do you want to create a new archive with these files?"<br>)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4078"><td class="num" id="LN4078">4078</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4079"><td class="num" id="LN4079">4079</td><td class="line"> <span class='string_literal'>"gtk-cancel"</span>, GTK_RESPONSE_CANCEL,</td></tr>
+<tr class="codeline" data-linenumber="4080"><td class="num" id="LN4080">4080</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Create _Archive"</span>)<span class='macro_popup'>gettext ("Create _Archive")</span></span>, GTK_RESPONSE_YES,</td></tr>
+<tr class="codeline" data-linenumber="4081"><td class="num" id="LN4081">4081</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4082"><td class="num" id="LN4082">4082</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4083"><td class="num" id="LN4083">4083</td><td class="line"> gtk_dialog_set_default_response (<span class='macro'>GTK_DIALOG (d)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_dialog_get_type ()))))))</span></span>, GTK_RESPONSE_YES);</td></tr>
+<tr class="codeline" data-linenumber="4084"><td class="num" id="LN4084">4084</td><td class="line"> r = gtk_dialog_run (<span class='macro'>GTK_DIALOG (d)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_dialog_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4085"><td class="num" id="LN4085">4085</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (d)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4086"><td class="num" id="LN4086">4086</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4087"><td class="num" id="LN4087">4087</td><td class="line"> <span class='keyword'>if</span> (r == GTK_RESPONSE_YES) {</td></tr>
+<tr class="codeline" data-linenumber="4088"><td class="num" id="LN4088">4088</td><td class="line"> <span class='keyword'>char</span> *first_item;</td></tr>
+<tr class="codeline" data-linenumber="4089"><td class="num" id="LN4089">4089</td><td class="line"> <span class='keyword'>char</span> *folder;</td></tr>
+<tr class="codeline" data-linenumber="4090"><td class="num" id="LN4090">4090</td><td class="line"> <span class='keyword'>char</span> *local_path = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4091"><td class="num" id="LN4091">4091</td><td class="line"> <span class='keyword'>char</span> *utf8_path = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4092"><td class="num" id="LN4092">4092</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *archive_name;</td></tr>
+<tr class="codeline" data-linenumber="4093"><td class="num" id="LN4093">4093</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4094"><td class="num" id="LN4094">4094</td><td class="line"> fr_window_free_batch_data (window);</td></tr>
+<tr class="codeline" data-linenumber="4095"><td class="num" id="LN4095">4095</td><td class="line"> fr_window_append_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="4096"><td class="num" id="LN4096">4096</td><td class="line"> FR_BATCH_ACTION_ADD,</td></tr>
+<tr class="codeline" data-linenumber="4097"><td class="num" id="LN4097">4097</td><td class="line"> path_list_dup (list),</td></tr>
+<tr class="codeline" data-linenumber="4098"><td class="num" id="LN4098">4098</td><td class="line"> (GFreeFunc) path_list_free);</td></tr>
+<tr class="codeline" data-linenumber="4099"><td class="num" id="LN4099">4099</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4100"><td class="num" id="LN4100">4100</td><td class="line"> first_item = (<span class='keyword'>char</span>*) list-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="4101"><td class="num" id="LN4101">4101</td><td class="line"> folder = remove_level_from_path (first_item);</td></tr>
+<tr class="codeline" data-linenumber="4102"><td class="num" id="LN4102">4102</td><td class="line"> <span class='keyword'>if</span> (folder != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="4103"><td class="num" id="LN4103">4103</td><td class="line"> fr_window_set_open_default_dir (window, folder);</td></tr>
+<tr class="codeline" data-linenumber="4104"><td class="num" id="LN4104">4104</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4105"><td class="num" id="LN4105">4105</td><td class="line"> <span class='keyword'>if</span> ((list-&gt;next != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (folder != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="4106"><td class="num" id="LN4106">4106</td><td class="line"> archive_name = file_name_from_path (folder);</td></tr>
+<tr class="codeline" data-linenumber="4107"><td class="num" id="LN4107">4107</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4108"><td class="num" id="LN4108">4108</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="4109"><td class="num" id="LN4109">4109</td><td class="line"> <span class='keyword'>if</span> (uri_is_local (first_item)) {</td></tr>
+<tr class="codeline" data-linenumber="4110"><td class="num" id="LN4110">4110</td><td class="line"> local_path = g_filename_from_uri (first_item, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4111"><td class="num" id="LN4111">4111</td><td class="line"> <span class='keyword'>if</span> (local_path)</td></tr>
+<tr class="codeline" data-linenumber="4112"><td class="num" id="LN4112">4112</td><td class="line"> utf8_path = g_filename_to_utf8 (local_path, -1, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4113"><td class="num" id="LN4113">4113</td><td class="line"> <span class='keyword'>if</span> (!utf8_path)</td></tr>
+<tr class="codeline" data-linenumber="4114"><td class="num" id="LN4114">4114</td><td class="line"> utf8_path= <span class='macro'>g_strdup (first_item)<span class='macro_popup'>g_strdup_inline (first_item)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4115"><td class="num" id="LN4115">4115</td><td class="line"> g_free (local_path);</td></tr>
+<tr class="codeline" data-linenumber="4116"><td class="num" id="LN4116">4116</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4117"><td class="num" id="LN4117">4117</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="4118"><td class="num" id="LN4118">4118</td><td class="line"> utf8_path = <span class='macro'>g_strdup (first_item)<span class='macro_popup'>g_strdup_inline (first_item)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4119"><td class="num" id="LN4119">4119</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4120"><td class="num" id="LN4120">4120</td><td class="line"> archive_name = file_name_from_path (utf8_path);</td></tr>
+<tr class="codeline" data-linenumber="4121"><td class="num" id="LN4121">4121</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4122"><td class="num" id="LN4122">4122</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4123"><td class="num" id="LN4123">4123</td><td class="line"> show_new_archive_dialog (window, archive_name);</td></tr>
+<tr class="codeline" data-linenumber="4124"><td class="num" id="LN4124">4124</td><td class="line"> g_free (utf8_path);</td></tr>
+<tr class="codeline" data-linenumber="4125"><td class="num" id="LN4125">4125</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4126"><td class="num" id="LN4126">4126</td><td class="line"> g_free (folder);</td></tr>
+<tr class="codeline" data-linenumber="4127"><td class="num" id="LN4127">4127</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4128"><td class="num" id="LN4128">4128</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4129"><td class="num" id="LN4129">4129</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4130"><td class="num" id="LN4130">4130</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4131"><td class="num" id="LN4131">4131</td><td class="line"> path_list_free (list);</td></tr>
+<tr class="codeline" data-linenumber="4132"><td class="num" id="LN4132">4132</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4133"><td class="num" id="LN4133">4133</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 4133, __FUNCTION__</span></span>, <span class='string_literal'>"::DragDataReceived &lt;--\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4134"><td class="num" id="LN4134">4134</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4135"><td class="num" id="LN4135">4135</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4136"><td class="num" id="LN4136">4136</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="4137"><td class="num" id="LN4137">4137</td><td class="line">file_list_drag_begin (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="4138"><td class="num" id="LN4138">4138</td><td class="line"> GdkDragContext *context,</td></tr>
+<tr class="codeline" data-linenumber="4139"><td class="num" id="LN4139">4139</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="4140"><td class="num" id="LN4140">4140</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4141"><td class="num" id="LN4141">4141</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="4142"><td class="num" id="LN4142">4142</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4143"><td class="num" id="LN4143">4143</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 4143, __FUNCTION__</span></span>, <span class='string_literal'>"::DragBegin --&gt;\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4144"><td class="num" id="LN4144">4144</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4145"><td class="num" id="LN4145">4145</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;activity_ref &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="4146"><td class="num" id="LN4146">4146</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4147"><td class="num" id="LN4147">4147</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4148"><td class="num" id="LN4148">4148</td><td class="line"> g_free (window-&gt;priv-&gt;drag_destination_folder);</td></tr>
+<tr class="codeline" data-linenumber="4149"><td class="num" id="LN4149">4149</td><td class="line"> window-&gt;priv-&gt;drag_destination_folder = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4150"><td class="num" id="LN4150">4150</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4151"><td class="num" id="LN4151">4151</td><td class="line"> g_free (window-&gt;priv-&gt;drag_base_dir);</td></tr>
+<tr class="codeline" data-linenumber="4152"><td class="num" id="LN4152">4152</td><td class="line"> window-&gt;priv-&gt;drag_base_dir = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4153"><td class="num" id="LN4153">4153</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4154"><td class="num" id="LN4154">4154</td><td class="line"> gdk_property_change (gdk_drag_context_get_source_window (context),</td></tr>
+<tr class="codeline" data-linenumber="4155"><td class="num" id="LN4155">4155</td><td class="line"> <span class='macro'>XDS_ATOM<span class='macro_popup'>gdk_atom_intern ("XdndDirectSave0", (0))</span></span>, <span class='macro'>TEXT_ATOM<span class='macro_popup'>gdk_atom_intern ("text/plain", (0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4156"><td class="num" id="LN4156">4156</td><td class="line"> 8, GDK_PROP_MODE_REPLACE,</td></tr>
+<tr class="codeline" data-linenumber="4157"><td class="num" id="LN4157">4157</td><td class="line"> (guchar *) <span class='macro'>XDS_FILENAME<span class='macro_popup'>"xds.txt"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4158"><td class="num" id="LN4158">4158</td><td class="line"> strlen (<span class='macro'>XDS_FILENAME<span class='macro_popup'>"xds.txt"</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="4159"><td class="num" id="LN4159">4159</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4160"><td class="num" id="LN4160">4160</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4161"><td class="num" id="LN4161">4161</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4162"><td class="num" id="LN4162">4162</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4163"><td class="num" id="LN4163">4163</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4164"><td class="num" id="LN4164">4164</td><td class="line">file_list_drag_end (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="4165"><td class="num" id="LN4165">4165</td><td class="line"> GdkDragContext *context,</td></tr>
+<tr class="codeline" data-linenumber="4166"><td class="num" id="LN4166">4166</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="4167"><td class="num" id="LN4167">4167</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4168"><td class="num" id="LN4168">4168</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="4169"><td class="num" id="LN4169">4169</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4170"><td class="num" id="LN4170">4170</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 4170, __FUNCTION__</span></span>, <span class='string_literal'>"::DragEnd --&gt;\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4171"><td class="num" id="LN4171">4171</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4172"><td class="num" id="LN4172">4172</td><td class="line"> gdk_property_delete (gdk_drag_context_get_source_window (context), <span class='macro'>XDS_ATOM<span class='macro_popup'>gdk_atom_intern ("XdndDirectSave0", (0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4173"><td class="num" id="LN4173">4173</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4174"><td class="num" id="LN4174">4174</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;drag_error != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4175"><td class="num" id="LN4175">4175</td><td class="line"> _gtk_error_dialog_run (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4176"><td class="num" id="LN4176">4176</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Extraction not performed"</span>)<span class='macro_popup'>gettext ("Extraction not performed")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4177"><td class="num" id="LN4177">4177</td><td class="line"> <span class='string_literal'>"%s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="4178"><td class="num" id="LN4178">4178</td><td class="line"> window-&gt;priv-&gt;drag_error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="4179"><td class="num" id="LN4179">4179</td><td class="line"> g_clear_error (&amp;window-&gt;priv-&gt;drag_error);</td></tr>
+<tr class="codeline" data-linenumber="4180"><td class="num" id="LN4180">4180</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4181"><td class="num" id="LN4181">4181</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (window-&gt;priv-&gt;drag_destination_folder != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4182"><td class="num" id="LN4182">4182</td><td class="line"> fr_window_archive_extract (window,</td></tr>
+<tr class="codeline" data-linenumber="4183"><td class="num" id="LN4183">4183</td><td class="line"> window-&gt;priv-&gt;drag_file_list,</td></tr>
+<tr class="codeline" data-linenumber="4184"><td class="num" id="LN4184">4184</td><td class="line"> window-&gt;priv-&gt;drag_destination_folder,</td></tr>
+<tr class="codeline" data-linenumber="4185"><td class="num" id="LN4185">4185</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4186"><td class="num" id="LN4186">4186</td><td class="line"> window-&gt;priv-&gt;drag_base_dir,</td></tr>
+<tr class="codeline" data-linenumber="4187"><td class="num" id="LN4187">4187</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4188"><td class="num" id="LN4188">4188</td><td class="line"> FR_OVERWRITE_ASK,</td></tr>
+<tr class="codeline" data-linenumber="4189"><td class="num" id="LN4189">4189</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4190"><td class="num" id="LN4190">4190</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4191"><td class="num" id="LN4191">4191</td><td class="line"> path_list_free (window-&gt;priv-&gt;drag_file_list);</td></tr>
+<tr class="codeline" data-linenumber="4192"><td class="num" id="LN4192">4192</td><td class="line"> window-&gt;priv-&gt;drag_file_list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4193"><td class="num" id="LN4193">4193</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4194"><td class="num" id="LN4194">4194</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4195"><td class="num" id="LN4195">4195</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 4195, __FUNCTION__</span></span>, <span class='string_literal'>"::DragEnd &lt;--\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4196"><td class="num" id="LN4196">4196</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4197"><td class="num" id="LN4197">4197</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4198"><td class="num" id="LN4198">4198</td><td class="line"><span class='comment'>/* The following three functions taken from bugzilla</span></td></tr>
+<tr class="codeline" data-linenumber="4199"><td class="num" id="LN4199">4199</td><td class="line"> <span class='comment'>* (http://bugzilla.mate.org/attachment.cgi?id=49362&amp;action=view)</span></td></tr>
+<tr class="codeline" data-linenumber="4200"><td class="num" id="LN4200">4200</td><td class="line"> <span class='comment'>* Author: Christian Neumair</span></td></tr>
+<tr class="codeline" data-linenumber="4201"><td class="num" id="LN4201">4201</td><td class="line"> <span class='comment'>* Copyright: 2005 Free Software Foundation, Inc</span></td></tr>
+<tr class="codeline" data-linenumber="4202"><td class="num" id="LN4202">4202</td><td class="line"> <span class='comment'>* License: GPL */</span></td></tr>
+<tr class="codeline" data-linenumber="4203"><td class="num" id="LN4203">4203</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="4204"><td class="num" id="LN4204">4204</td><td class="line">get_xds_atom_value (GdkDragContext *context)</td></tr>
+<tr class="codeline" data-linenumber="4205"><td class="num" id="LN4205">4205</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4206"><td class="num" id="LN4206">4206</td><td class="line"> gint actual_length;</td></tr>
+<tr class="codeline" data-linenumber="4207"><td class="num" id="LN4207">4207</td><td class="line"> <span class='keyword'>char</span> *data;</td></tr>
+<tr class="codeline" data-linenumber="4208"><td class="num" id="LN4208">4208</td><td class="line"> <span class='keyword'>char</span> *ret = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4209"><td class="num" id="LN4209">4209</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4210"><td class="num" id="LN4210">4210</td><td class="line"> <span class='macro'>g_return_val_if_fail (context != NULL, NULL)<span class='macro_popup'>do { if ((context != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "context != NULL"<br>); return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4211"><td class="num" id="LN4211">4211</td><td class="line"> <span class='macro'>g_return_val_if_fail (gdk_drag_context_get_source_window (context) != NULL, NULL)<span class='macro_popup'>do { if ((gdk_drag_context_get_source_window (context) != ((void<br>*)0))) { } else { g_return_if_fail_warning (((gchar*) 0), ((const<br> char*) (__func__)), "gdk_drag_context_get_source_window (context) != NULL"<br>); return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4212"><td class="num" id="LN4212">4212</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4213"><td class="num" id="LN4213">4213</td><td class="line"> <span class='keyword'>if</span> (gdk_property_get (gdk_drag_context_get_source_window (context),</td></tr>
+<tr class="codeline" data-linenumber="4214"><td class="num" id="LN4214">4214</td><td class="line"> <span class='macro'>XDS_ATOM<span class='macro_popup'>gdk_atom_intern ("XdndDirectSave0", (0))</span></span>, <span class='macro'>TEXT_ATOM<span class='macro_popup'>gdk_atom_intern ("text/plain", (0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4215"><td class="num" id="LN4215">4215</td><td class="line"> 0, <span class='macro'>MAX_XDS_ATOM_VAL_LEN<span class='macro_popup'>4096</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4216"><td class="num" id="LN4216">4216</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, &amp;actual_length,</td></tr>
+<tr class="codeline" data-linenumber="4217"><td class="num" id="LN4217">4217</td><td class="line"> (<span class='keyword'>unsigned</span> <span class='keyword'>char</span> **) &amp;data)) {</td></tr>
+<tr class="codeline" data-linenumber="4218"><td class="num" id="LN4218">4218</td><td class="line"> <span class='comment'>/* add not included \0 to the end of the string */</span></td></tr>
+<tr class="codeline" data-linenumber="4219"><td class="num" id="LN4219">4219</td><td class="line"> ret = g_strndup ((gchar *) data, actual_length);</td></tr>
+<tr class="codeline" data-linenumber="4220"><td class="num" id="LN4220">4220</td><td class="line"> g_free (data);</td></tr>
+<tr class="codeline" data-linenumber="4221"><td class="num" id="LN4221">4221</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4222"><td class="num" id="LN4222">4222</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4223"><td class="num" id="LN4223">4223</td><td class="line"> <span class='keyword'>return</span> ret;</td></tr>
+<tr class="codeline" data-linenumber="4224"><td class="num" id="LN4224">4224</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4225"><td class="num" id="LN4225">4225</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4226"><td class="num" id="LN4226">4226</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="4227"><td class="num" id="LN4227">4227</td><td class="line">context_offers_target (GdkDragContext *context,</td></tr>
+<tr class="codeline" data-linenumber="4228"><td class="num" id="LN4228">4228</td><td class="line"> GdkAtom target)</td></tr>
+<tr class="codeline" data-linenumber="4229"><td class="num" id="LN4229">4229</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4230"><td class="num" id="LN4230">4230</td><td class="line"> <span class='keyword'>return</span> (g_list_find (gdk_drag_context_list_targets (context), target) != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4231"><td class="num" id="LN4231">4231</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4232"><td class="num" id="LN4232">4232</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4233"><td class="num" id="LN4233">4233</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="4234"><td class="num" id="LN4234">4234</td><td class="line">caja_xds_dnd_is_valid_xds_context (GdkDragContext *context)</td></tr>
+<tr class="codeline" data-linenumber="4235"><td class="num" id="LN4235">4235</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4236"><td class="num" id="LN4236">4236</td><td class="line"> <span class='keyword'>char</span> *tmp;</td></tr>
+<tr class="codeline" data-linenumber="4237"><td class="num" id="LN4237">4237</td><td class="line"> gboolean ret;</td></tr>
+<tr class="codeline" data-linenumber="4238"><td class="num" id="LN4238">4238</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4239"><td class="num" id="LN4239">4239</td><td class="line"> <span class='macro'>g_return_val_if_fail (context != NULL, FALSE)<span class='macro_popup'>do { if ((context != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "context != NULL"<br>); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4240"><td class="num" id="LN4240">4240</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4241"><td class="num" id="LN4241">4241</td><td class="line"> tmp = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4242"><td class="num" id="LN4242">4242</td><td class="line"> <span class='keyword'>if</span> (context_offers_target (context, <span class='macro'>XDS_ATOM<span class='macro_popup'>gdk_atom_intern ("XdndDirectSave0", (0))</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="4243"><td class="num" id="LN4243">4243</td><td class="line"> tmp = get_xds_atom_value (context);</td></tr>
+<tr class="codeline" data-linenumber="4244"><td class="num" id="LN4244">4244</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4245"><td class="num" id="LN4245">4245</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4246"><td class="num" id="LN4246">4246</td><td class="line"> ret = (tmp != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4247"><td class="num" id="LN4247">4247</td><td class="line"> g_free (tmp);</td></tr>
+<tr class="codeline" data-linenumber="4248"><td class="num" id="LN4248">4248</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4249"><td class="num" id="LN4249">4249</td><td class="line"> <span class='keyword'>return</span> ret;</td></tr>
+<tr class="codeline" data-linenumber="4250"><td class="num" id="LN4250">4250</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4251"><td class="num" id="LN4251">4251</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4252"><td class="num" id="LN4252">4252</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="4253"><td class="num" id="LN4253">4253</td><td class="line">get_selection_data_from_clipboard_data (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="4254"><td class="num" id="LN4254">4254</td><td class="line"> FrClipboardData *data)</td></tr>
+<tr class="codeline" data-linenumber="4255"><td class="num" id="LN4255">4255</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4256"><td class="num" id="LN4256">4256</td><td class="line"> GString *list;</td></tr>
+<tr class="codeline" data-linenumber="4257"><td class="num" id="LN4257">4257</td><td class="line"> <span class='keyword'>char</span> *local_filename;</td></tr>
+<tr class="codeline" data-linenumber="4258"><td class="num" id="LN4258">4258</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="4259"><td class="num" id="LN4259">4259</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4260"><td class="num" id="LN4260">4260</td><td class="line"> list = g_string_new (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4261"><td class="num" id="LN4261">4261</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4262"><td class="num" id="LN4262">4262</td><td class="line"> local_filename = g_file_get_uri (window-&gt;archive-&gt;local_copy);</td></tr>
+<tr class="codeline" data-linenumber="4263"><td class="num" id="LN4263">4263</td><td class="line"> <span class='macro'>g_string_append (list, local_filename)<span class='macro_popup'>(__builtin_constant_p (local_filename) ? __extension__ ({ const<br> char * const __val = (local_filename); g_string_append_len_inline<br> (list, __val, (__val != ((void*)0)) ? (gssize) strlen (((__val<br>) + !(__val))) : (gssize) -1); }) : g_string_append_len_inline<br> (list, local_filename, (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4264"><td class="num" id="LN4264">4264</td><td class="line"> g_free (local_filename);</td></tr>
+<tr class="codeline" data-linenumber="4265"><td class="num" id="LN4265">4265</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4266"><td class="num" id="LN4266">4266</td><td class="line"> <span class='macro'>g_string_append (list, <span class='string_literal'>"\r\n"</span>)<span class='macro_popup'>(__builtin_constant_p ("\r\n") ? __extension__ ({ const char *<br> const __val = ("\r\n"); g_string_append_len_inline (list, __val<br>, (__val != ((void*)0)) ? (gssize) strlen (((__val) + !(__val<br>))) : (gssize) -1); }) : g_string_append_len_inline (list, "\r\n"<br>, (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4267"><td class="num" id="LN4267">4267</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;password != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="4268"><td class="num" id="LN4268">4268</td><td class="line"> <span class='macro'>g_string_append (list, window-&gt;priv-&gt;password)<span class='macro_popup'>(__builtin_constant_p (window-&gt;priv-&gt;password) ? __extension__<br> ({ const char * const __val = (window-&gt;priv-&gt;password)<br>; g_string_append_len_inline (list, __val, (__val != ((void*)<br>0)) ? (gssize) strlen (((__val) + !(__val))) : (gssize) -1); }<br>) : g_string_append_len_inline (list, window-&gt;priv-&gt;password<br>, (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4269"><td class="num" id="LN4269">4269</td><td class="line"> <span class='macro'>g_string_append (list, <span class='string_literal'>"\r\n"</span>)<span class='macro_popup'>(__builtin_constant_p ("\r\n") ? __extension__ ({ const char *<br> const __val = ("\r\n"); g_string_append_len_inline (list, __val<br>, (__val != ((void*)0)) ? (gssize) strlen (((__val) + !(__val<br>))) : (gssize) -1); }) : g_string_append_len_inline (list, "\r\n"<br>, (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4270"><td class="num" id="LN4270">4270</td><td class="line"> <span class='macro'>g_string_append (list, (data-&gt;op == FR_CLIPBOARD_OP_COPY) ? <span class='string_literal'>"copy"</span> : <span class='string_literal'>"cut"</span>)<span class='macro_popup'>(__builtin_constant_p ((data-&gt;op == FR_CLIPBOARD_OP_COPY) ?<br> "copy" : "cut") ? __extension__ ({ const char * const __val =<br> ((data-&gt;op == FR_CLIPBOARD_OP_COPY) ? "copy" : "cut"); g_string_append_len_inline<br> (list, __val, (__val != ((void*)0)) ? (gssize) strlen (((__val<br>) + !(__val))) : (gssize) -1); }) : g_string_append_len_inline<br> (list, (data-&gt;op == FR_CLIPBOARD_OP_COPY) ? "copy" : "cut"<br>, (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4271"><td class="num" id="LN4271">4271</td><td class="line"> <span class='macro'>g_string_append (list, <span class='string_literal'>"\r\n"</span>)<span class='macro_popup'>(__builtin_constant_p ("\r\n") ? __extension__ ({ const char *<br> const __val = ("\r\n"); g_string_append_len_inline (list, __val<br>, (__val != ((void*)0)) ? (gssize) strlen (((__val) + !(__val<br>))) : (gssize) -1); }) : g_string_append_len_inline (list, "\r\n"<br>, (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4272"><td class="num" id="LN4272">4272</td><td class="line"> <span class='macro'>g_string_append (list, data-&gt;base_dir)<span class='macro_popup'>(__builtin_constant_p (data-&gt;base_dir) ? __extension__ ({ const<br> char * const __val = (data-&gt;base_dir); g_string_append_len_inline<br> (list, __val, (__val != ((void*)0)) ? (gssize) strlen (((__val<br>) + !(__val))) : (gssize) -1); }) : g_string_append_len_inline<br> (list, data-&gt;base_dir, (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4273"><td class="num" id="LN4273">4273</td><td class="line"> <span class='macro'>g_string_append (list, <span class='string_literal'>"\r\n"</span>)<span class='macro_popup'>(__builtin_constant_p ("\r\n") ? __extension__ ({ const char *<br> const __val = ("\r\n"); g_string_append_len_inline (list, __val<br>, (__val != ((void*)0)) ? (gssize) strlen (((__val) + !(__val<br>))) : (gssize) -1); }) : g_string_append_len_inline (list, "\r\n"<br>, (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4274"><td class="num" id="LN4274">4274</td><td class="line"> <span class='keyword'>for</span> (scan = data-&gt;files; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="4275"><td class="num" id="LN4275">4275</td><td class="line"> <span class='macro'>g_string_append (list, scan-&gt;data)<span class='macro_popup'>(__builtin_constant_p (scan-&gt;data) ? __extension__ ({ const<br> char * const __val = (scan-&gt;data); g_string_append_len_inline<br> (list, __val, (__val != ((void*)0)) ? (gssize) strlen (((__val<br>) + !(__val))) : (gssize) -1); }) : g_string_append_len_inline<br> (list, scan-&gt;data, (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4276"><td class="num" id="LN4276">4276</td><td class="line"> <span class='macro'>g_string_append (list, <span class='string_literal'>"\r\n"</span>)<span class='macro_popup'>(__builtin_constant_p ("\r\n") ? __extension__ ({ const char *<br> const __val = ("\r\n"); g_string_append_len_inline (list, __val<br>, (__val != ((void*)0)) ? (gssize) strlen (((__val) + !(__val<br>))) : (gssize) -1); }) : g_string_append_len_inline (list, "\r\n"<br>, (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4277"><td class="num" id="LN4277">4277</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4278"><td class="num" id="LN4278">4278</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4279"><td class="num" id="LN4279">4279</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>g_string_free (list, FALSE)<span class='macro_popup'>(__builtin_constant_p ((0)) ? (((0)) ? (g_string_free) ((list<br>), ((0))) : g_string_free_and_steal (list)) : (g_string_free)<br> ((list), ((0))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4280"><td class="num" id="LN4280">4280</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4281"><td class="num" id="LN4281">4281</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4282"><td class="num" id="LN4282">4282</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="4283"><td class="num" id="LN4283">4283</td><td class="line">fr_window_folder_tree_drag_data_get (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="4284"><td class="num" id="LN4284">4284</td><td class="line"> GdkDragContext *context,</td></tr>
+<tr class="codeline" data-linenumber="4285"><td class="num" id="LN4285">4285</td><td class="line"> GtkSelectionData *selection_data,</td></tr>
+<tr class="codeline" data-linenumber="4286"><td class="num" id="LN4286">4286</td><td class="line"> guint info,</td></tr>
+<tr class="codeline" data-linenumber="4287"><td class="num" id="LN4287">4287</td><td class="line"> guint time,</td></tr>
+<tr class="codeline" data-linenumber="4288"><td class="num" id="LN4288">4288</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4289"><td class="num" id="LN4289">4289</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4290"><td class="num" id="LN4290">4290</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="4291"><td class="num" id="LN4291">4291</td><td class="line"> GList *file_list;</td></tr>
+<tr class="codeline" data-linenumber="4292"><td class="num" id="LN4292">4292</td><td class="line"> <span class='keyword'>char</span> *destination;</td></tr>
+<tr class="codeline" data-linenumber="4293"><td class="num" id="LN4293">4293</td><td class="line"> <span class='keyword'>char</span> *destination_folder;</td></tr>
+<tr class="codeline" data-linenumber="4294"><td class="num" id="LN4294">4294</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4295"><td class="num" id="LN4295">4295</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 4295, __FUNCTION__</span></span>, <span class='string_literal'>"::DragDataGet --&gt;\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4296"><td class="num" id="LN4296">4296</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4297"><td class="num" id="LN4297">4297</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;activity_ref &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="4298"><td class="num" id="LN4298">4298</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4299"><td class="num" id="LN4299">4299</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4300"><td class="num" id="LN4300">4300</td><td class="line"> file_list = fr_window_get_folder_tree_selection (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4301"><td class="num" id="LN4301">4301</td><td class="line"> <span class='keyword'>if</span> (file_list == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="4302"><td class="num" id="LN4302">4302</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4303"><td class="num" id="LN4303">4303</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4304"><td class="num" id="LN4304">4304</td><td class="line"> <span class='keyword'>if</span> (gtk_selection_data_get_target (selection_data) == <span class='macro'>XFR_ATOM<span class='macro_popup'>gdk_atom_intern ("XdndEngrampa0", (0))</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4305"><td class="num" id="LN4305">4305</td><td class="line"> FrClipboardData *tmp;</td></tr>
+<tr class="codeline" data-linenumber="4306"><td class="num" id="LN4306">4306</td><td class="line"> <span class='keyword'>char</span> *data;</td></tr>
+<tr class="codeline" data-linenumber="4307"><td class="num" id="LN4307">4307</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4308"><td class="num" id="LN4308">4308</td><td class="line"> tmp = fr_clipboard_data_new ();</td></tr>
+<tr class="codeline" data-linenumber="4309"><td class="num" id="LN4309">4309</td><td class="line"> tmp-&gt;files = file_list;</td></tr>
+<tr class="codeline" data-linenumber="4310"><td class="num" id="LN4310">4310</td><td class="line"> tmp-&gt;op = FR_CLIPBOARD_OP_COPY;</td></tr>
+<tr class="codeline" data-linenumber="4311"><td class="num" id="LN4311">4311</td><td class="line"> tmp-&gt;base_dir = <span class='macro'>g_strdup (fr_window_get_current_location (window))<span class='macro_popup'>g_strdup_inline (fr_window_get_current_location (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4312"><td class="num" id="LN4312">4312</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4313"><td class="num" id="LN4313">4313</td><td class="line"> data = get_selection_data_from_clipboard_data (window, tmp);</td></tr>
+<tr class="codeline" data-linenumber="4314"><td class="num" id="LN4314">4314</td><td class="line"> gtk_selection_data_set (selection_data, <span class='macro'>XFR_ATOM<span class='macro_popup'>gdk_atom_intern ("XdndEngrampa0", (0))</span></span>, 8, (guchar *) data, strlen (data));</td></tr>
+<tr class="codeline" data-linenumber="4315"><td class="num" id="LN4315">4315</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4316"><td class="num" id="LN4316">4316</td><td class="line"> fr_clipboard_data_unref (tmp);</td></tr>
+<tr class="codeline" data-linenumber="4317"><td class="num" id="LN4317">4317</td><td class="line"> g_free (data);</td></tr>
+<tr class="codeline" data-linenumber="4318"><td class="num" id="LN4318">4318</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4319"><td class="num" id="LN4319">4319</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4320"><td class="num" id="LN4320">4320</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4321"><td class="num" id="LN4321">4321</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4322"><td class="num" id="LN4322">4322</td><td class="line"> <span class='keyword'>if</span> (! caja_xds_dnd_is_valid_xds_context (context))</td></tr>
+<tr class="codeline" data-linenumber="4323"><td class="num" id="LN4323">4323</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4324"><td class="num" id="LN4324">4324</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4325"><td class="num" id="LN4325">4325</td><td class="line"> destination = get_xds_atom_value (context);</td></tr>
+<tr class="codeline" data-linenumber="4326"><td class="num" id="LN4326">4326</td><td class="line"> <span class='macro'>g_return_val_if_fail (destination != NULL, FALSE)<span class='macro_popup'>do { if ((destination != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "destination != NULL"<br>); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4327"><td class="num" id="LN4327">4327</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4328"><td class="num" id="LN4328">4328</td><td class="line"> destination_folder = remove_level_from_path (destination);</td></tr>
+<tr class="codeline" data-linenumber="4329"><td class="num" id="LN4329">4329</td><td class="line"> g_free (destination);</td></tr>
+<tr class="codeline" data-linenumber="4330"><td class="num" id="LN4330">4330</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4331"><td class="num" id="LN4331">4331</td><td class="line"> <span class='comment'>/* check whether the extraction can be performed in the destination</span></td></tr>
+<tr class="codeline" data-linenumber="4332"><td class="num" id="LN4332">4332</td><td class="line"> <span class='comment'>* folder */</span></td></tr>
+<tr class="codeline" data-linenumber="4333"><td class="num" id="LN4333">4333</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4334"><td class="num" id="LN4334">4334</td><td class="line"> g_clear_error (&amp;window-&gt;priv-&gt;drag_error);</td></tr>
+<tr class="codeline" data-linenumber="4335"><td class="num" id="LN4335">4335</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4336"><td class="num" id="LN4336">4336</td><td class="line"> <span class='keyword'>if</span> (! check_permissions (destination_folder, <span class='macro'>R_OK<span class='macro_popup'>4</span></span> | <span class='macro'>W_OK<span class='macro_popup'>2</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="4337"><td class="num" id="LN4337">4337</td><td class="line"> <span class='keyword'>char</span> *destination_folder_display_name;</td></tr>
+<tr class="codeline" data-linenumber="4338"><td class="num" id="LN4338">4338</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4339"><td class="num" id="LN4339">4339</td><td class="line"> destination_folder_display_name = g_filename_display_name (destination_folder);</td></tr>
+<tr class="codeline" data-linenumber="4340"><td class="num" id="LN4340">4340</td><td class="line"> window-&gt;priv-&gt;drag_error = g_error_new (<span class='macro'>FR_ERROR<span class='macro_popup'>fr_error_quark ()</span></span>, 0, <span class='macro'>_(<span class='string_literal'>"You don't have the right permissions to extract archives in the folder \"%s\""</span>)<span class='macro_popup'>gettext ("You don't have the right permissions to extract archives in the folder \"%s\""<br>)</span></span>, destination_folder_display_name);</td></tr>
+<tr class="codeline" data-linenumber="4341"><td class="num" id="LN4341">4341</td><td class="line"> g_free (destination_folder_display_name);</td></tr>
+<tr class="codeline" data-linenumber="4342"><td class="num" id="LN4342">4342</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4343"><td class="num" id="LN4343">4343</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4344"><td class="num" id="LN4344">4344</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;drag_error == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4345"><td class="num" id="LN4345">4345</td><td class="line"> g_free (window-&gt;priv-&gt;drag_destination_folder);</td></tr>
+<tr class="codeline" data-linenumber="4346"><td class="num" id="LN4346">4346</td><td class="line"> g_free (window-&gt;priv-&gt;drag_base_dir);</td></tr>
+<tr class="codeline" data-linenumber="4347"><td class="num" id="LN4347">4347</td><td class="line"> path_list_free (window-&gt;priv-&gt;drag_file_list);</td></tr>
+<tr class="codeline" data-linenumber="4348"><td class="num" id="LN4348">4348</td><td class="line"> window-&gt;priv-&gt;drag_destination_folder = <span class='macro'>g_strdup (destination_folder)<span class='macro_popup'>g_strdup_inline (destination_folder)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4349"><td class="num" id="LN4349">4349</td><td class="line"> window-&gt;priv-&gt;drag_base_dir = fr_window_get_selected_folder_in_tree_view (window);</td></tr>
+<tr class="codeline" data-linenumber="4350"><td class="num" id="LN4350">4350</td><td class="line"> window-&gt;priv-&gt;drag_file_list = file_list;</td></tr>
+<tr class="codeline" data-linenumber="4351"><td class="num" id="LN4351">4351</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4352"><td class="num" id="LN4352">4352</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4353"><td class="num" id="LN4353">4353</td><td class="line"> g_free (destination_folder);</td></tr>
+<tr class="codeline" data-linenumber="4354"><td class="num" id="LN4354">4354</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4355"><td class="num" id="LN4355">4355</td><td class="line"> <span class='comment'>/* sends back the response */</span></td></tr>
+<tr class="codeline" data-linenumber="4356"><td class="num" id="LN4356">4356</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4357"><td class="num" id="LN4357">4357</td><td class="line"> gtk_selection_data_set (selection_data, gtk_selection_data_get_target (selection_data), 8, (guchar *) ((window-&gt;priv-&gt;drag_error == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) ? <span class='string_literal'>"S"</span> : <span class='string_literal'>"E"</span>), 1);</td></tr>
+<tr class="codeline" data-linenumber="4358"><td class="num" id="LN4358">4358</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4359"><td class="num" id="LN4359">4359</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 4359, __FUNCTION__</span></span>, <span class='string_literal'>"::DragDataGet &lt;--\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4360"><td class="num" id="LN4360">4360</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4361"><td class="num" id="LN4361">4361</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4362"><td class="num" id="LN4362">4362</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4363"><td class="num" id="LN4363">4363</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4364"><td class="num" id="LN4364">4364</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="4365"><td class="num" id="LN4365">4365</td><td class="line">fr_window_file_list_drag_data_get (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="4366"><td class="num" id="LN4366">4366</td><td class="line"> GdkDragContext *context,</td></tr>
+<tr class="codeline" data-linenumber="4367"><td class="num" id="LN4367">4367</td><td class="line"> GtkSelectionData *selection_data,</td></tr>
+<tr class="codeline" data-linenumber="4368"><td class="num" id="LN4368">4368</td><td class="line"> GList *path_list)</td></tr>
+<tr class="codeline" data-linenumber="4369"><td class="num" id="LN4369">4369</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4370"><td class="num" id="LN4370">4370</td><td class="line"> <span class='keyword'>char</span> *destination;</td></tr>
+<tr class="codeline" data-linenumber="4371"><td class="num" id="LN4371">4371</td><td class="line"> <span class='keyword'>char</span> *destination_folder;</td></tr>
+<tr class="codeline" data-linenumber="4372"><td class="num" id="LN4372">4372</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4373"><td class="num" id="LN4373">4373</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 4373, __FUNCTION__</span></span>, <span class='string_literal'>"::DragDataGet --&gt;\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4374"><td class="num" id="LN4374">4374</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4375"><td class="num" id="LN4375">4375</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;path_clicked != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4376"><td class="num" id="LN4376">4376</td><td class="line"> gtk_tree_path_free (window-&gt;priv-&gt;path_clicked);</td></tr>
+<tr class="codeline" data-linenumber="4377"><td class="num" id="LN4377">4377</td><td class="line"> window-&gt;priv-&gt;path_clicked = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4378"><td class="num" id="LN4378">4378</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4379"><td class="num" id="LN4379">4379</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4380"><td class="num" id="LN4380">4380</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;activity_ref &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="4381"><td class="num" id="LN4381">4381</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4382"><td class="num" id="LN4382">4382</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4383"><td class="num" id="LN4383">4383</td><td class="line"> <span class='keyword'>if</span> (gtk_selection_data_get_target (selection_data) == <span class='macro'>XFR_ATOM<span class='macro_popup'>gdk_atom_intern ("XdndEngrampa0", (0))</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4384"><td class="num" id="LN4384">4384</td><td class="line"> FrClipboardData *tmp;</td></tr>
+<tr class="codeline" data-linenumber="4385"><td class="num" id="LN4385">4385</td><td class="line"> <span class='keyword'>char</span> *data;</td></tr>
+<tr class="codeline" data-linenumber="4386"><td class="num" id="LN4386">4386</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4387"><td class="num" id="LN4387">4387</td><td class="line"> tmp = fr_clipboard_data_new ();</td></tr>
+<tr class="codeline" data-linenumber="4388"><td class="num" id="LN4388">4388</td><td class="line"> tmp-&gt;files = fr_window_get_file_list_selection (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4389"><td class="num" id="LN4389">4389</td><td class="line"> tmp-&gt;op = FR_CLIPBOARD_OP_COPY;</td></tr>
+<tr class="codeline" data-linenumber="4390"><td class="num" id="LN4390">4390</td><td class="line"> tmp-&gt;base_dir = <span class='macro'>g_strdup (fr_window_get_current_location (window))<span class='macro_popup'>g_strdup_inline (fr_window_get_current_location (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4391"><td class="num" id="LN4391">4391</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4392"><td class="num" id="LN4392">4392</td><td class="line"> data = get_selection_data_from_clipboard_data (window, tmp);</td></tr>
+<tr class="codeline" data-linenumber="4393"><td class="num" id="LN4393">4393</td><td class="line"> gtk_selection_data_set (selection_data, <span class='macro'>XFR_ATOM<span class='macro_popup'>gdk_atom_intern ("XdndEngrampa0", (0))</span></span>, 8, (guchar *) data, strlen (data));</td></tr>
+<tr class="codeline" data-linenumber="4394"><td class="num" id="LN4394">4394</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4395"><td class="num" id="LN4395">4395</td><td class="line"> fr_clipboard_data_unref (tmp);</td></tr>
+<tr class="codeline" data-linenumber="4396"><td class="num" id="LN4396">4396</td><td class="line"> g_free (data);</td></tr>
+<tr class="codeline" data-linenumber="4397"><td class="num" id="LN4397">4397</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4398"><td class="num" id="LN4398">4398</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4399"><td class="num" id="LN4399">4399</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4400"><td class="num" id="LN4400">4400</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4401"><td class="num" id="LN4401">4401</td><td class="line"> <span class='keyword'>if</span> (! caja_xds_dnd_is_valid_xds_context (context))</td></tr>
+<tr class="codeline" data-linenumber="4402"><td class="num" id="LN4402">4402</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4403"><td class="num" id="LN4403">4403</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4404"><td class="num" id="LN4404">4404</td><td class="line"> destination = get_xds_atom_value (context);</td></tr>
+<tr class="codeline" data-linenumber="4405"><td class="num" id="LN4405">4405</td><td class="line"> <span class='macro'>g_return_val_if_fail (destination != NULL, FALSE)<span class='macro_popup'>do { if ((destination != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "destination != NULL"<br>); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4406"><td class="num" id="LN4406">4406</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4407"><td class="num" id="LN4407">4407</td><td class="line"> destination_folder = remove_level_from_path (destination);</td></tr>
+<tr class="codeline" data-linenumber="4408"><td class="num" id="LN4408">4408</td><td class="line"> g_free (destination);</td></tr>
+<tr class="codeline" data-linenumber="4409"><td class="num" id="LN4409">4409</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4410"><td class="num" id="LN4410">4410</td><td class="line"> <span class='comment'>/* check whether the extraction can be performed in the destination</span></td></tr>
+<tr class="codeline" data-linenumber="4411"><td class="num" id="LN4411">4411</td><td class="line"> <span class='comment'>* folder */</span></td></tr>
+<tr class="codeline" data-linenumber="4412"><td class="num" id="LN4412">4412</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4413"><td class="num" id="LN4413">4413</td><td class="line"> g_clear_error (&amp;window-&gt;priv-&gt;drag_error);</td></tr>
+<tr class="codeline" data-linenumber="4414"><td class="num" id="LN4414">4414</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4415"><td class="num" id="LN4415">4415</td><td class="line"> <span class='keyword'>if</span> (! check_permissions (destination_folder, <span class='macro'>R_OK<span class='macro_popup'>4</span></span> | <span class='macro'>W_OK<span class='macro_popup'>2</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="4416"><td class="num" id="LN4416">4416</td><td class="line"> <span class='keyword'>char</span> *destination_folder_display_name;</td></tr>
+<tr class="codeline" data-linenumber="4417"><td class="num" id="LN4417">4417</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4418"><td class="num" id="LN4418">4418</td><td class="line"> destination_folder_display_name = g_filename_display_name (destination_folder);</td></tr>
+<tr class="codeline" data-linenumber="4419"><td class="num" id="LN4419">4419</td><td class="line"> window-&gt;priv-&gt;drag_error = g_error_new (<span class='macro'>FR_ERROR<span class='macro_popup'>fr_error_quark ()</span></span>, 0, <span class='macro'>_(<span class='string_literal'>"You don't have the right permissions to extract archives in the folder \"%s\""</span>)<span class='macro_popup'>gettext ("You don't have the right permissions to extract archives in the folder \"%s\""<br>)</span></span>, destination_folder_display_name);</td></tr>
+<tr class="codeline" data-linenumber="4420"><td class="num" id="LN4420">4420</td><td class="line"> g_free (destination_folder_display_name);</td></tr>
+<tr class="codeline" data-linenumber="4421"><td class="num" id="LN4421">4421</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4422"><td class="num" id="LN4422">4422</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4423"><td class="num" id="LN4423">4423</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;drag_error == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4424"><td class="num" id="LN4424">4424</td><td class="line"> g_free (window-&gt;priv-&gt;drag_destination_folder);</td></tr>
+<tr class="codeline" data-linenumber="4425"><td class="num" id="LN4425">4425</td><td class="line"> g_free (window-&gt;priv-&gt;drag_base_dir);</td></tr>
+<tr class="codeline" data-linenumber="4426"><td class="num" id="LN4426">4426</td><td class="line"> path_list_free (window-&gt;priv-&gt;drag_file_list);</td></tr>
+<tr class="codeline" data-linenumber="4427"><td class="num" id="LN4427">4427</td><td class="line"> window-&gt;priv-&gt;drag_destination_folder = <span class='macro'>g_strdup (destination_folder)<span class='macro_popup'>g_strdup_inline (destination_folder)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4428"><td class="num" id="LN4428">4428</td><td class="line"> window-&gt;priv-&gt;drag_base_dir = <span class='macro'>g_strdup (fr_window_get_current_location (window))<span class='macro_popup'>g_strdup_inline (fr_window_get_current_location (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4429"><td class="num" id="LN4429">4429</td><td class="line"> window-&gt;priv-&gt;drag_file_list = fr_window_get_file_list_from_path_list (window, path_list, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4430"><td class="num" id="LN4430">4430</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4431"><td class="num" id="LN4431">4431</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4432"><td class="num" id="LN4432">4432</td><td class="line"> g_free (destination_folder);</td></tr>
+<tr class="codeline" data-linenumber="4433"><td class="num" id="LN4433">4433</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4434"><td class="num" id="LN4434">4434</td><td class="line"> <span class='comment'>/* sends back the response */</span></td></tr>
+<tr class="codeline" data-linenumber="4435"><td class="num" id="LN4435">4435</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4436"><td class="num" id="LN4436">4436</td><td class="line"> gtk_selection_data_set (selection_data, gtk_selection_data_get_target (selection_data), 8, (guchar *) ((window-&gt;priv-&gt;drag_error == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) ? <span class='string_literal'>"S"</span> : <span class='string_literal'>"E"</span>), 1);</td></tr>
+<tr class="codeline" data-linenumber="4437"><td class="num" id="LN4437">4437</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4438"><td class="num" id="LN4438">4438</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 4438, __FUNCTION__</span></span>, <span class='string_literal'>"::DragDataGet &lt;--\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4439"><td class="num" id="LN4439">4439</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4440"><td class="num" id="LN4440">4440</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4441"><td class="num" id="LN4441">4441</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4442"><td class="num" id="LN4442">4442</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4443"><td class="num" id="LN4443">4443</td><td class="line"><span class='comment'>/* -- window_new -- */</span></td></tr>
+<tr class="codeline" data-linenumber="4444"><td class="num" id="LN4444">4444</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4445"><td class="num" id="LN4445">4445</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4446"><td class="num" id="LN4446">4446</td><td class="line">fr_window_deactivate_filter (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4447"><td class="num" id="LN4447">4447</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4448"><td class="num" id="LN4448">4448</td><td class="line"> window-&gt;priv-&gt;filter_mode = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4449"><td class="num" id="LN4449">4449</td><td class="line"> window-&gt;priv-&gt;list_mode = window-&gt;priv-&gt;last_list_mode;</td></tr>
+<tr class="codeline" data-linenumber="4450"><td class="num" id="LN4450">4450</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4451"><td class="num" id="LN4451">4451</td><td class="line"> gtk_entry_set_text (<span class='macro'>GTK_ENTRY (window-&gt;priv-&gt;filter_entry)<span class='macro_popup'>((((GtkEntry*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;filter_entry)), ((gtk_entry_get_type<br> ()))))))</span></span>, <span class='string_literal'>""</span>);</td></tr>
+<tr class="codeline" data-linenumber="4452"><td class="num" id="LN4452">4452</td><td class="line"> fr_window_update_filter_bar_visibility (window);</td></tr>
+<tr class="codeline" data-linenumber="4453"><td class="num" id="LN4453">4453</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4454"><td class="num" id="LN4454">4454</td><td class="line"> gtk_list_store_clear (window-&gt;priv-&gt;list_store);</td></tr>
+<tr class="codeline" data-linenumber="4455"><td class="num" id="LN4455">4455</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4456"><td class="num" id="LN4456">4456</td><td class="line"> fr_window_update_columns_visibility (window);</td></tr>
+<tr class="codeline" data-linenumber="4457"><td class="num" id="LN4457">4457</td><td class="line"> fr_window_update_file_list (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4458"><td class="num" id="LN4458">4458</td><td class="line"> fr_window_update_dir_tree (window);</td></tr>
+<tr class="codeline" data-linenumber="4459"><td class="num" id="LN4459">4459</td><td class="line"> fr_window_update_current_location (window);</td></tr>
+<tr class="codeline" data-linenumber="4460"><td class="num" id="LN4460">4460</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4461"><td class="num" id="LN4461">4461</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4462"><td class="num" id="LN4462">4462</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="4463"><td class="num" id="LN4463">4463</td><td class="line">key_press_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="4464"><td class="num" id="LN4464">4464</td><td class="line"> GdkEventKey *event,</td></tr>
+<tr class="codeline" data-linenumber="4465"><td class="num" id="LN4465">4465</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="4466"><td class="num" id="LN4466">4466</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4467"><td class="num" id="LN4467">4467</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="4468"><td class="num" id="LN4468">4468</td><td class="line"> gboolean retval = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4469"><td class="num" id="LN4469">4469</td><td class="line"> gboolean alt;</td></tr>
+<tr class="codeline" data-linenumber="4470"><td class="num" id="LN4470">4470</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4471"><td class="num" id="LN4471">4471</td><td class="line"> <span class='keyword'>if</span> (gtk_widget_has_focus (window-&gt;priv-&gt;location_entry))</td></tr>
+<tr class="codeline" data-linenumber="4472"><td class="num" id="LN4472">4472</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4473"><td class="num" id="LN4473">4473</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4474"><td class="num" id="LN4474">4474</td><td class="line"> <span class='keyword'>if</span> (gtk_widget_has_focus (window-&gt;priv-&gt;filter_entry)) {</td></tr>
+<tr class="codeline" data-linenumber="4475"><td class="num" id="LN4475">4475</td><td class="line"> <span class='keyword'>switch</span> (event-&gt;keyval) {</td></tr>
+<tr class="codeline" data-linenumber="4476"><td class="num" id="LN4476">4476</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Escape<span class='macro_popup'>0xff1b</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4477"><td class="num" id="LN4477">4477</td><td class="line"> fr_window_deactivate_filter (window);</td></tr>
+<tr class="codeline" data-linenumber="4478"><td class="num" id="LN4478">4478</td><td class="line"> retval = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4479"><td class="num" id="LN4479">4479</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4480"><td class="num" id="LN4480">4480</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="4481"><td class="num" id="LN4481">4481</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4482"><td class="num" id="LN4482">4482</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4483"><td class="num" id="LN4483">4483</td><td class="line"> <span class='keyword'>return</span> retval;</td></tr>
+<tr class="codeline" data-linenumber="4484"><td class="num" id="LN4484">4484</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4485"><td class="num" id="LN4485">4485</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4486"><td class="num" id="LN4486">4486</td><td class="line"> alt = (event-&gt;state &amp; GDK_MOD1_MASK) == GDK_MOD1_MASK;</td></tr>
+<tr class="codeline" data-linenumber="4487"><td class="num" id="LN4487">4487</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4488"><td class="num" id="LN4488">4488</td><td class="line"> <span class='keyword'>switch</span> (event-&gt;keyval) {</td></tr>
+<tr class="codeline" data-linenumber="4489"><td class="num" id="LN4489">4489</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Escape<span class='macro_popup'>0xff1b</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4490"><td class="num" id="LN4490">4490</td><td class="line"> activate_action_stop (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, window);</td></tr>
+<tr class="codeline" data-linenumber="4491"><td class="num" id="LN4491">4491</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;filter_mode)</td></tr>
+<tr class="codeline" data-linenumber="4492"><td class="num" id="LN4492">4492</td><td class="line"> fr_window_deactivate_filter (window);</td></tr>
+<tr class="codeline" data-linenumber="4493"><td class="num" id="LN4493">4493</td><td class="line"> retval = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4494"><td class="num" id="LN4494">4494</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4495"><td class="num" id="LN4495">4495</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4496"><td class="num" id="LN4496">4496</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_F10<span class='macro_popup'>0xffc7</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4497"><td class="num" id="LN4497">4497</td><td class="line"> <span class='keyword'>if</span> (event-&gt;state &amp; GDK_SHIFT_MASK) {</td></tr>
+<tr class="codeline" data-linenumber="4498"><td class="num" id="LN4498">4498</td><td class="line"> GtkTreeSelection *selection;</td></tr>
+<tr class="codeline" data-linenumber="4499"><td class="num" id="LN4499">4499</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4500"><td class="num" id="LN4500">4500</td><td class="line"> selection = gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4501"><td class="num" id="LN4501">4501</td><td class="line"> <span class='keyword'>if</span> (selection == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="4502"><td class="num" id="LN4502">4502</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4503"><td class="num" id="LN4503">4503</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4504"><td class="num" id="LN4504">4504</td><td class="line"> gtk_menu_popup_at_pointer (<span class='macro'>GTK_MENU (window-&gt;priv-&gt;file_popup_menu)<span class='macro_popup'>((((GtkMenu*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;file_popup_menu)), ((gtk_menu_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4505"><td class="num" id="LN4505">4505</td><td class="line"> (<span class='keyword'>const</span> GdkEvent*) event);</td></tr>
+<tr class="codeline" data-linenumber="4506"><td class="num" id="LN4506">4506</td><td class="line"> retval = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4507"><td class="num" id="LN4507">4507</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4508"><td class="num" id="LN4508">4508</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4509"><td class="num" id="LN4509">4509</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4510"><td class="num" id="LN4510">4510</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Up<span class='macro_popup'>0xff52</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4511"><td class="num" id="LN4511">4511</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_KP_Up<span class='macro_popup'>0xff97</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4512"><td class="num" id="LN4512">4512</td><td class="line"> <span class='keyword'>if</span> (alt) {</td></tr>
+<tr class="codeline" data-linenumber="4513"><td class="num" id="LN4513">4513</td><td class="line"> fr_window_go_up_one_level (window);</td></tr>
+<tr class="codeline" data-linenumber="4514"><td class="num" id="LN4514">4514</td><td class="line"> retval = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4515"><td class="num" id="LN4515">4515</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4516"><td class="num" id="LN4516">4516</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4517"><td class="num" id="LN4517">4517</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4518"><td class="num" id="LN4518">4518</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_BackSpace<span class='macro_popup'>0xff08</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4519"><td class="num" id="LN4519">4519</td><td class="line"> fr_window_go_up_one_level (window);</td></tr>
+<tr class="codeline" data-linenumber="4520"><td class="num" id="LN4520">4520</td><td class="line"> retval = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4521"><td class="num" id="LN4521">4521</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4522"><td class="num" id="LN4522">4522</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4523"><td class="num" id="LN4523">4523</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Right<span class='macro_popup'>0xff53</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4524"><td class="num" id="LN4524">4524</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_KP_Right<span class='macro_popup'>0xff98</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4525"><td class="num" id="LN4525">4525</td><td class="line"> <span class='keyword'>if</span> (alt) {</td></tr>
+<tr class="codeline" data-linenumber="4526"><td class="num" id="LN4526">4526</td><td class="line"> fr_window_go_forward (window);</td></tr>
+<tr class="codeline" data-linenumber="4527"><td class="num" id="LN4527">4527</td><td class="line"> retval = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4528"><td class="num" id="LN4528">4528</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4529"><td class="num" id="LN4529">4529</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4530"><td class="num" id="LN4530">4530</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4531"><td class="num" id="LN4531">4531</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Left<span class='macro_popup'>0xff51</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4532"><td class="num" id="LN4532">4532</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_KP_Left<span class='macro_popup'>0xff96</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4533"><td class="num" id="LN4533">4533</td><td class="line"> <span class='keyword'>if</span> (alt) {</td></tr>
+<tr class="codeline" data-linenumber="4534"><td class="num" id="LN4534">4534</td><td class="line"> fr_window_go_back (window);</td></tr>
+<tr class="codeline" data-linenumber="4535"><td class="num" id="LN4535">4535</td><td class="line"> retval = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4536"><td class="num" id="LN4536">4536</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4537"><td class="num" id="LN4537">4537</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4538"><td class="num" id="LN4538">4538</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4539"><td class="num" id="LN4539">4539</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Home<span class='macro_popup'>0xff50</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4540"><td class="num" id="LN4540">4540</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_KP_Home<span class='macro_popup'>0xff95</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4541"><td class="num" id="LN4541">4541</td><td class="line"> <span class='keyword'>if</span> (alt) {</td></tr>
+<tr class="codeline" data-linenumber="4542"><td class="num" id="LN4542">4542</td><td class="line"> fr_window_go_to_location (window, <span class='string_literal'>"/"</span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4543"><td class="num" id="LN4543">4543</td><td class="line"> retval = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4544"><td class="num" id="LN4544">4544</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4545"><td class="num" id="LN4545">4545</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4546"><td class="num" id="LN4546">4546</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4547"><td class="num" id="LN4547">4547</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="4548"><td class="num" id="LN4548">4548</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4549"><td class="num" id="LN4549">4549</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4550"><td class="num" id="LN4550">4550</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4551"><td class="num" id="LN4551">4551</td><td class="line"> <span class='keyword'>return</span> retval;</td></tr>
+<tr class="codeline" data-linenumber="4552"><td class="num" id="LN4552">4552</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4553"><td class="num" id="LN4553">4553</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4554"><td class="num" id="LN4554">4554</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="4555"><td class="num" id="LN4555">4555</td><td class="line">dir_tree_selection_changed_cb (GtkTreeSelection *selection,</td></tr>
+<tr class="codeline" data-linenumber="4556"><td class="num" id="LN4556">4556</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4557"><td class="num" id="LN4557">4557</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4558"><td class="num" id="LN4558">4558</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="4559"><td class="num" id="LN4559">4559</td><td class="line"> GtkTreeIter iter;</td></tr>
+<tr class="codeline" data-linenumber="4560"><td class="num" id="LN4560">4560</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4561"><td class="num" id="LN4561">4561</td><td class="line"> <span class='keyword'>if</span> (gtk_tree_selection_get_selected (selection, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, &amp;iter)) {</td></tr>
+<tr class="codeline" data-linenumber="4562"><td class="num" id="LN4562">4562</td><td class="line"> <span class='keyword'>char</span> *path;</td></tr>
+<tr class="codeline" data-linenumber="4563"><td class="num" id="LN4563">4563</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4564"><td class="num" id="LN4564">4564</td><td class="line"> gtk_tree_model_get (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;tree_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4565"><td class="num" id="LN4565">4565</td><td class="line"> &amp;iter,</td></tr>
+<tr class="codeline" data-linenumber="4566"><td class="num" id="LN4566">4566</td><td class="line"> TREE_COLUMN_PATH, &amp;path,</td></tr>
+<tr class="codeline" data-linenumber="4567"><td class="num" id="LN4567">4567</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="4568"><td class="num" id="LN4568">4568</td><td class="line"> fr_window_go_to_location (window, path, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4569"><td class="num" id="LN4569">4569</td><td class="line"> g_free (path);</td></tr>
+<tr class="codeline" data-linenumber="4570"><td class="num" id="LN4570">4570</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4571"><td class="num" id="LN4571">4571</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4572"><td class="num" id="LN4572">4572</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4573"><td class="num" id="LN4573">4573</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4574"><td class="num" id="LN4574">4574</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4575"><td class="num" id="LN4575">4575</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="4576"><td class="num" id="LN4576">4576</td><td class="line">selection_changed_cb (GtkTreeSelection *selection,</td></tr>
+<tr class="codeline" data-linenumber="4577"><td class="num" id="LN4577">4577</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4578"><td class="num" id="LN4578">4578</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4579"><td class="num" id="LN4579">4579</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="4580"><td class="num" id="LN4580">4580</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4581"><td class="num" id="LN4581">4581</td><td class="line"> fr_window_update_statusbar_list_info (window);</td></tr>
+<tr class="codeline" data-linenumber="4582"><td class="num" id="LN4582">4582</td><td class="line"> fr_window_update_sensitivity (window);</td></tr>
+<tr class="codeline" data-linenumber="4583"><td class="num" id="LN4583">4583</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4584"><td class="num" id="LN4584">4584</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4585"><td class="num" id="LN4585">4585</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4586"><td class="num" id="LN4586">4586</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4587"><td class="num" id="LN4587">4587</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4588"><td class="num" id="LN4588">4588</td><td class="line">fr_window_delete_event_cb (GtkWidget *caller,</td></tr>
+<tr class="codeline" data-linenumber="4589"><td class="num" id="LN4589">4589</td><td class="line"> GdkEvent *event,</td></tr>
+<tr class="codeline" data-linenumber="4590"><td class="num" id="LN4590">4590</td><td class="line"> FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4591"><td class="num" id="LN4591">4591</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4592"><td class="num" id="LN4592">4592</td><td class="line"> fr_window_close (window);</td></tr>
+<tr class="codeline" data-linenumber="4593"><td class="num" id="LN4593">4593</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4594"><td class="num" id="LN4594">4594</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4595"><td class="num" id="LN4595">4595</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="4596"><td class="num" id="LN4596">4596</td><td class="line">is_single_click_policy (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4597"><td class="num" id="LN4597">4597</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4598"><td class="num" id="LN4598">4598</td><td class="line"> gboolean result = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4599"><td class="num" id="LN4599">4599</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4600"><td class="num" id="LN4600">4600</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;settings_caja) {</td></tr>
+<tr class="codeline" data-linenumber="4601"><td class="num" id="LN4601">4601</td><td class="line"> <span class='keyword'>char</span> *value;</td></tr>
+<tr class="codeline" data-linenumber="4602"><td class="num" id="LN4602">4602</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4603"><td class="num" id="LN4603">4603</td><td class="line"> value = g_settings_get_string (window-&gt;priv-&gt;settings_caja, <span class='macro'>CAJA_CLICK_POLICY<span class='macro_popup'>"click-policy"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4604"><td class="num" id="LN4604">4604</td><td class="line"> result = (value != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (strncmp (value, <span class='string_literal'>"single"</span>, 6) == 0);</td></tr>
+<tr class="codeline" data-linenumber="4605"><td class="num" id="LN4605">4605</td><td class="line"> g_free (value);</td></tr>
+<tr class="codeline" data-linenumber="4606"><td class="num" id="LN4606">4606</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4607"><td class="num" id="LN4607">4607</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4608"><td class="num" id="LN4608">4608</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="4609"><td class="num" id="LN4609">4609</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4610"><td class="num" id="LN4610">4610</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4611"><td class="num" id="LN4611">4611</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4612"><td class="num" id="LN4612">4612</td><td class="line">filename_cell_data_func (GtkTreeViewColumn *column,</td></tr>
+<tr class="codeline" data-linenumber="4613"><td class="num" id="LN4613">4613</td><td class="line"> GtkCellRenderer *renderer,</td></tr>
+<tr class="codeline" data-linenumber="4614"><td class="num" id="LN4614">4614</td><td class="line"> GtkTreeModel *model,</td></tr>
+<tr class="codeline" data-linenumber="4615"><td class="num" id="LN4615">4615</td><td class="line"> GtkTreeIter *iter,</td></tr>
+<tr class="codeline" data-linenumber="4616"><td class="num" id="LN4616">4616</td><td class="line"> FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4617"><td class="num" id="LN4617">4617</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4618"><td class="num" id="LN4618">4618</td><td class="line"> <span class='keyword'>char</span> *text;</td></tr>
+<tr class="codeline" data-linenumber="4619"><td class="num" id="LN4619">4619</td><td class="line"> PangoUnderline underline;</td></tr>
+<tr class="codeline" data-linenumber="4620"><td class="num" id="LN4620">4620</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4621"><td class="num" id="LN4621">4621</td><td class="line"> gtk_tree_model_get (model, iter,</td></tr>
+<tr class="codeline" data-linenumber="4622"><td class="num" id="LN4622">4622</td><td class="line"> COLUMN_NAME, &amp;text,</td></tr>
+<tr class="codeline" data-linenumber="4623"><td class="num" id="LN4623">4623</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="4624"><td class="num" id="LN4624">4624</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4625"><td class="num" id="LN4625">4625</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;single_click) {</td></tr>
+<tr class="codeline" data-linenumber="4626"><td class="num" id="LN4626">4626</td><td class="line"> GtkTreePath *path;</td></tr>
+<tr class="codeline" data-linenumber="4627"><td class="num" id="LN4627">4627</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4628"><td class="num" id="LN4628">4628</td><td class="line"> path = gtk_tree_model_get_path (model, iter);</td></tr>
+<tr class="codeline" data-linenumber="4629"><td class="num" id="LN4629">4629</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4630"><td class="num" id="LN4630">4630</td><td class="line"> <span class='keyword'>if</span> ((window-&gt;priv-&gt;list_hover_path == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="4631"><td class="num" id="LN4631">4631</td><td class="line"> || gtk_tree_path_compare (path, window-&gt;priv-&gt;list_hover_path))</td></tr>
+<tr class="codeline" data-linenumber="4632"><td class="num" id="LN4632">4632</td><td class="line"> underline = PANGO_UNDERLINE_NONE;</td></tr>
+<tr class="codeline" data-linenumber="4633"><td class="num" id="LN4633">4633</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="4634"><td class="num" id="LN4634">4634</td><td class="line"> underline = PANGO_UNDERLINE_SINGLE;</td></tr>
+<tr class="codeline" data-linenumber="4635"><td class="num" id="LN4635">4635</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4636"><td class="num" id="LN4636">4636</td><td class="line"> gtk_tree_path_free (path);</td></tr>
+<tr class="codeline" data-linenumber="4637"><td class="num" id="LN4637">4637</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4638"><td class="num" id="LN4638">4638</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="4639"><td class="num" id="LN4639">4639</td><td class="line"> underline = PANGO_UNDERLINE_NONE;</td></tr>
+<tr class="codeline" data-linenumber="4640"><td class="num" id="LN4640">4640</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4641"><td class="num" id="LN4641">4641</td><td class="line"> g_object_set (<span class='macro'>G_OBJECT (renderer)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((renderer)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4642"><td class="num" id="LN4642">4642</td><td class="line"> <span class='string_literal'>"text"</span>, text,</td></tr>
+<tr class="codeline" data-linenumber="4643"><td class="num" id="LN4643">4643</td><td class="line"> <span class='string_literal'>"underline"</span>, underline,</td></tr>
+<tr class="codeline" data-linenumber="4644"><td class="num" id="LN4644">4644</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4645"><td class="num" id="LN4645">4645</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4646"><td class="num" id="LN4646">4646</td><td class="line"> g_free (text);</td></tr>
+<tr class="codeline" data-linenumber="4647"><td class="num" id="LN4647">4647</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4648"><td class="num" id="LN4648">4648</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4649"><td class="num" id="LN4649">4649</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4650"><td class="num" id="LN4650">4650</td><td class="line">add_dir_tree_columns (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="4651"><td class="num" id="LN4651">4651</td><td class="line"> GtkTreeView *treeview)</td></tr>
+<tr class="codeline" data-linenumber="4652"><td class="num" id="LN4652">4652</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4653"><td class="num" id="LN4653">4653</td><td class="line"> GtkCellRenderer *renderer;</td></tr>
+<tr class="codeline" data-linenumber="4654"><td class="num" id="LN4654">4654</td><td class="line"> GtkTreeViewColumn *column;</td></tr>
+<tr class="codeline" data-linenumber="4655"><td class="num" id="LN4655">4655</td><td class="line"> GValue value = { 0, };</td></tr>
+<tr class="codeline" data-linenumber="4656"><td class="num" id="LN4656">4656</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4657"><td class="num" id="LN4657">4657</td><td class="line"> <span class='comment'>/* First column. */</span></td></tr>
+<tr class="codeline" data-linenumber="4658"><td class="num" id="LN4658">4658</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4659"><td class="num" id="LN4659">4659</td><td class="line"> column = gtk_tree_view_column_new ();</td></tr>
+<tr class="codeline" data-linenumber="4660"><td class="num" id="LN4660">4660</td><td class="line"> gtk_tree_view_column_set_title (column, <span class='macro'>_(<span class='string_literal'>"Folders"</span>)<span class='macro_popup'>gettext ("Folders")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4661"><td class="num" id="LN4661">4661</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4662"><td class="num" id="LN4662">4662</td><td class="line"> <span class='comment'>/* icon */</span></td></tr>
+<tr class="codeline" data-linenumber="4663"><td class="num" id="LN4663">4663</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4664"><td class="num" id="LN4664">4664</td><td class="line"> renderer = gtk_cell_renderer_pixbuf_new ();</td></tr>
+<tr class="codeline" data-linenumber="4665"><td class="num" id="LN4665">4665</td><td class="line"> gtk_tree_view_column_pack_start (column, renderer, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4666"><td class="num" id="LN4666">4666</td><td class="line"> gtk_tree_view_column_set_attributes (column, renderer,</td></tr>
+<tr class="codeline" data-linenumber="4667"><td class="num" id="LN4667">4667</td><td class="line"> <span class='string_literal'>"pixbuf"</span>, TREE_COLUMN_ICON,</td></tr>
+<tr class="codeline" data-linenumber="4668"><td class="num" id="LN4668">4668</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4669"><td class="num" id="LN4669">4669</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4670"><td class="num" id="LN4670">4670</td><td class="line"> <span class='comment'>/* name */</span></td></tr>
+<tr class="codeline" data-linenumber="4671"><td class="num" id="LN4671">4671</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4672"><td class="num" id="LN4672">4672</td><td class="line"> renderer = gtk_cell_renderer_text_new ();</td></tr>
+<tr class="codeline" data-linenumber="4673"><td class="num" id="LN4673">4673</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4674"><td class="num" id="LN4674">4674</td><td class="line"> g_value_init (&amp;value, <span class='macro'>PANGO_TYPE_ELLIPSIZE_MODE<span class='macro_popup'>(pango_ellipsize_mode_get_type ())</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4675"><td class="num" id="LN4675">4675</td><td class="line"> g_value_set_enum (&amp;value, PANGO_ELLIPSIZE_END);</td></tr>
+<tr class="codeline" data-linenumber="4676"><td class="num" id="LN4676">4676</td><td class="line"> g_object_set_property (<span class='macro'>G_OBJECT (renderer)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((renderer)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"ellipsize"</span>, &amp;value);</td></tr>
+<tr class="codeline" data-linenumber="4677"><td class="num" id="LN4677">4677</td><td class="line"> g_value_unset (&amp;value);</td></tr>
+<tr class="codeline" data-linenumber="4678"><td class="num" id="LN4678">4678</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4679"><td class="num" id="LN4679">4679</td><td class="line"> gtk_tree_view_column_pack_start (column,</td></tr>
+<tr class="codeline" data-linenumber="4680"><td class="num" id="LN4680">4680</td><td class="line"> renderer,</td></tr>
+<tr class="codeline" data-linenumber="4681"><td class="num" id="LN4681">4681</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4682"><td class="num" id="LN4682">4682</td><td class="line"> gtk_tree_view_column_set_attributes (column, renderer,</td></tr>
+<tr class="codeline" data-linenumber="4683"><td class="num" id="LN4683">4683</td><td class="line"> <span class='string_literal'>"text"</span>, TREE_COLUMN_NAME,</td></tr>
+<tr class="codeline" data-linenumber="4684"><td class="num" id="LN4684">4684</td><td class="line"> <span class='string_literal'>"weight"</span>, TREE_COLUMN_WEIGHT,</td></tr>
+<tr class="codeline" data-linenumber="4685"><td class="num" id="LN4685">4685</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4686"><td class="num" id="LN4686">4686</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4687"><td class="num" id="LN4687">4687</td><td class="line"> gtk_tree_view_column_set_sizing (column, GTK_TREE_VIEW_COLUMN_AUTOSIZE);</td></tr>
+<tr class="codeline" data-linenumber="4688"><td class="num" id="LN4688">4688</td><td class="line"> gtk_tree_view_column_set_sort_column_id (column, TREE_COLUMN_NAME);</td></tr>
+<tr class="codeline" data-linenumber="4689"><td class="num" id="LN4689">4689</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4690"><td class="num" id="LN4690">4690</td><td class="line"> gtk_tree_view_append_column (<span class='macro'>GTK_TREE_VIEW (treeview)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((treeview)), ((gtk_tree_view_get_type ()))))))</span></span>, column);</td></tr>
+<tr class="codeline" data-linenumber="4691"><td class="num" id="LN4691">4691</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4692"><td class="num" id="LN4692">4692</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4693"><td class="num" id="LN4693">4693</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4694"><td class="num" id="LN4694">4694</td><td class="line">add_file_list_columns (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="4695"><td class="num" id="LN4695">4695</td><td class="line"> GtkTreeView *treeview)</td></tr>
+<tr class="codeline" data-linenumber="4696"><td class="num" id="LN4696">4696</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4697"><td class="num" id="LN4697">4697</td><td class="line"> <span class='keyword'>static</span> <span class='keyword'>const</span> <span class='keyword'>char</span> *titles[] = {<span class='macro'>NC_(<span class='string_literal'>"File"</span>, <span class='string_literal'>"Size"</span>)<span class='macro_popup'>("Size")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4698"><td class="num" id="LN4698">4698</td><td class="line"> <span class='macro'>NC_(<span class='string_literal'>"File"</span>, <span class='string_literal'>"Type"</span>)<span class='macro_popup'>("Type")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4699"><td class="num" id="LN4699">4699</td><td class="line"> <span class='macro'>NC_(<span class='string_literal'>"File"</span>, <span class='string_literal'>"Date Modified"</span>)<span class='macro_popup'>("Date Modified")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4700"><td class="num" id="LN4700">4700</td><td class="line"> <span class='macro'>NC_(<span class='string_literal'>"File"</span>, <span class='string_literal'>"Location"</span>)<span class='macro_popup'>("Location")</span></span>};</td></tr>
+<tr class="codeline" data-linenumber="4701"><td class="num" id="LN4701">4701</td><td class="line"> GtkCellRenderer *renderer;</td></tr>
+<tr class="codeline" data-linenumber="4702"><td class="num" id="LN4702">4702</td><td class="line"> GtkTreeViewColumn *column;</td></tr>
+<tr class="codeline" data-linenumber="4703"><td class="num" id="LN4703">4703</td><td class="line"> GValue value = { 0, };</td></tr>
+<tr class="codeline" data-linenumber="4704"><td class="num" id="LN4704">4704</td><td class="line"> <span class='keyword'>int</span> i, j, w;</td></tr>
+<tr class="codeline" data-linenumber="4705"><td class="num" id="LN4705">4705</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4706"><td class="num" id="LN4706">4706</td><td class="line"> <span class='comment'>/* First column. */</span></td></tr>
+<tr class="codeline" data-linenumber="4707"><td class="num" id="LN4707">4707</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4708"><td class="num" id="LN4708">4708</td><td class="line"> window-&gt;priv-&gt;filename_column = column = gtk_tree_view_column_new ();</td></tr>
+<tr class="codeline" data-linenumber="4709"><td class="num" id="LN4709">4709</td><td class="line"> gtk_tree_view_column_set_title (column, <span class='macro'>C_(<span class='string_literal'>"File"</span>, <span class='string_literal'>"Name"</span>)<span class='macro_popup'>g_dpgettext (((void*)0), "File" "\004" "Name", strlen ("File"<br>) + 1)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4710"><td class="num" id="LN4710">4710</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4711"><td class="num" id="LN4711">4711</td><td class="line"> <span class='comment'>/* emblem */</span></td></tr>
+<tr class="codeline" data-linenumber="4712"><td class="num" id="LN4712">4712</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4713"><td class="num" id="LN4713">4713</td><td class="line"> renderer = gtk_cell_renderer_pixbuf_new ();</td></tr>
+<tr class="codeline" data-linenumber="4714"><td class="num" id="LN4714">4714</td><td class="line"> gtk_tree_view_column_pack_end (column, renderer, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4715"><td class="num" id="LN4715">4715</td><td class="line"> gtk_tree_view_column_set_attributes (column, renderer,</td></tr>
+<tr class="codeline" data-linenumber="4716"><td class="num" id="LN4716">4716</td><td class="line"> <span class='string_literal'>"pixbuf"</span>, COLUMN_EMBLEM,</td></tr>
+<tr class="codeline" data-linenumber="4717"><td class="num" id="LN4717">4717</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4718"><td class="num" id="LN4718">4718</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4719"><td class="num" id="LN4719">4719</td><td class="line"> <span class='comment'>/* icon */</span></td></tr>
+<tr class="codeline" data-linenumber="4720"><td class="num" id="LN4720">4720</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4721"><td class="num" id="LN4721">4721</td><td class="line"> renderer = gtk_cell_renderer_pixbuf_new ();</td></tr>
+<tr class="codeline" data-linenumber="4722"><td class="num" id="LN4722">4722</td><td class="line"> gtk_tree_view_column_pack_start (column, renderer, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4723"><td class="num" id="LN4723">4723</td><td class="line"> gtk_tree_view_column_set_attributes (column, renderer,</td></tr>
+<tr class="codeline" data-linenumber="4724"><td class="num" id="LN4724">4724</td><td class="line"> <span class='string_literal'>"pixbuf"</span>, COLUMN_ICON,</td></tr>
+<tr class="codeline" data-linenumber="4725"><td class="num" id="LN4725">4725</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4726"><td class="num" id="LN4726">4726</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4727"><td class="num" id="LN4727">4727</td><td class="line"> <span class='comment'>/* name */</span></td></tr>
+<tr class="codeline" data-linenumber="4728"><td class="num" id="LN4728">4728</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4729"><td class="num" id="LN4729">4729</td><td class="line"> window-&gt;priv-&gt;single_click = is_single_click_policy (window);</td></tr>
+<tr class="codeline" data-linenumber="4730"><td class="num" id="LN4730">4730</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4731"><td class="num" id="LN4731">4731</td><td class="line"> renderer = gtk_cell_renderer_text_new ();</td></tr>
+<tr class="codeline" data-linenumber="4732"><td class="num" id="LN4732">4732</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4733"><td class="num" id="LN4733">4733</td><td class="line"> g_value_init (&amp;value, <span class='macro'>PANGO_TYPE_ELLIPSIZE_MODE<span class='macro_popup'>(pango_ellipsize_mode_get_type ())</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4734"><td class="num" id="LN4734">4734</td><td class="line"> g_value_set_enum (&amp;value, PANGO_ELLIPSIZE_END);</td></tr>
+<tr class="codeline" data-linenumber="4735"><td class="num" id="LN4735">4735</td><td class="line"> g_object_set_property (<span class='macro'>G_OBJECT (renderer)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((renderer)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"ellipsize"</span>, &amp;value);</td></tr>
+<tr class="codeline" data-linenumber="4736"><td class="num" id="LN4736">4736</td><td class="line"> g_value_unset (&amp;value);</td></tr>
+<tr class="codeline" data-linenumber="4737"><td class="num" id="LN4737">4737</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4738"><td class="num" id="LN4738">4738</td><td class="line"> gtk_tree_view_column_pack_start (column,</td></tr>
+<tr class="codeline" data-linenumber="4739"><td class="num" id="LN4739">4739</td><td class="line"> renderer,</td></tr>
+<tr class="codeline" data-linenumber="4740"><td class="num" id="LN4740">4740</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4741"><td class="num" id="LN4741">4741</td><td class="line"> gtk_tree_view_column_set_attributes (column, renderer,</td></tr>
+<tr class="codeline" data-linenumber="4742"><td class="num" id="LN4742">4742</td><td class="line"> <span class='string_literal'>"text"</span>, COLUMN_NAME,</td></tr>
+<tr class="codeline" data-linenumber="4743"><td class="num" id="LN4743">4743</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4744"><td class="num" id="LN4744">4744</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4745"><td class="num" id="LN4745">4745</td><td class="line"> gtk_tree_view_column_set_sizing (column, GTK_TREE_VIEW_COLUMN_FIXED);</td></tr>
+<tr class="codeline" data-linenumber="4746"><td class="num" id="LN4746">4746</td><td class="line"> w = g_settings_get_int (window-&gt;priv-&gt;settings_listing, <span class='macro'>PREF_LISTING_NAME_COLUMN_WIDTH<span class='macro_popup'>"name-column-width"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4747"><td class="num" id="LN4747">4747</td><td class="line"> <span class='keyword'>if</span> (w &lt;= 0)</td></tr>
+<tr class="codeline" data-linenumber="4748"><td class="num" id="LN4748">4748</td><td class="line"> w = <span class='macro'>DEFAULT_NAME_COLUMN_WIDTH<span class='macro_popup'>250</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4749"><td class="num" id="LN4749">4749</td><td class="line"> gtk_tree_view_column_set_fixed_width (column, w);</td></tr>
+<tr class="codeline" data-linenumber="4750"><td class="num" id="LN4750">4750</td><td class="line"> gtk_tree_view_column_set_resizable (column, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4751"><td class="num" id="LN4751">4751</td><td class="line"> gtk_tree_view_column_set_sort_column_id (column, COLUMN_NAME);</td></tr>
+<tr class="codeline" data-linenumber="4752"><td class="num" id="LN4752">4752</td><td class="line"> gtk_tree_view_column_set_cell_data_func (column, renderer,</td></tr>
+<tr class="codeline" data-linenumber="4753"><td class="num" id="LN4753">4753</td><td class="line"> (GtkTreeCellDataFunc) filename_cell_data_func,</td></tr>
+<tr class="codeline" data-linenumber="4754"><td class="num" id="LN4754">4754</td><td class="line"> window, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4755"><td class="num" id="LN4755">4755</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4756"><td class="num" id="LN4756">4756</td><td class="line"> gtk_tree_view_append_column (<span class='macro'>GTK_TREE_VIEW (treeview)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((treeview)), ((gtk_tree_view_get_type ()))))))</span></span>, column);</td></tr>
+<tr class="codeline" data-linenumber="4757"><td class="num" id="LN4757">4757</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4758"><td class="num" id="LN4758">4758</td><td class="line"> <span class='comment'>/* Other columns */</span></td></tr>
+<tr class="codeline" data-linenumber="4759"><td class="num" id="LN4759">4759</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4760"><td class="num" id="LN4760">4760</td><td class="line"> <span class='keyword'>for</span> (j = 0, i = COLUMN_SIZE; i &lt; NUMBER_OF_COLUMNS; i++, j++) {</td></tr>
+<tr class="codeline" data-linenumber="4761"><td class="num" id="LN4761">4761</td><td class="line"> GValue value_oc = { 0, };</td></tr>
+<tr class="codeline" data-linenumber="4762"><td class="num" id="LN4762">4762</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4763"><td class="num" id="LN4763">4763</td><td class="line"> renderer = gtk_cell_renderer_text_new ();</td></tr>
+<tr class="codeline" data-linenumber="4764"><td class="num" id="LN4764">4764</td><td class="line"> column = gtk_tree_view_column_new_with_attributes (g_dpgettext2 (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='string_literal'>"File"</span>, titles[j]),</td></tr>
+<tr class="codeline" data-linenumber="4765"><td class="num" id="LN4765">4765</td><td class="line"> renderer,</td></tr>
+<tr class="codeline" data-linenumber="4766"><td class="num" id="LN4766">4766</td><td class="line"> <span class='string_literal'>"text"</span>, i,</td></tr>
+<tr class="codeline" data-linenumber="4767"><td class="num" id="LN4767">4767</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4768"><td class="num" id="LN4768">4768</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4769"><td class="num" id="LN4769">4769</td><td class="line"> gtk_tree_view_column_set_sizing (column, GTK_TREE_VIEW_COLUMN_FIXED);</td></tr>
+<tr class="codeline" data-linenumber="4770"><td class="num" id="LN4770">4770</td><td class="line"> gtk_tree_view_column_set_fixed_width (column, <span class='macro'>OTHER_COLUMNS_WIDTH<span class='macro_popup'>100</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4771"><td class="num" id="LN4771">4771</td><td class="line"> gtk_tree_view_column_set_resizable (column, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4772"><td class="num" id="LN4772">4772</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4773"><td class="num" id="LN4773">4773</td><td class="line"> gtk_tree_view_column_set_sort_column_id (column, i);</td></tr>
+<tr class="codeline" data-linenumber="4774"><td class="num" id="LN4774">4774</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4775"><td class="num" id="LN4775">4775</td><td class="line"> g_value_init (&amp;value_oc, <span class='macro'>PANGO_TYPE_ELLIPSIZE_MODE<span class='macro_popup'>(pango_ellipsize_mode_get_type ())</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4776"><td class="num" id="LN4776">4776</td><td class="line"> g_value_set_enum (&amp;value_oc, PANGO_ELLIPSIZE_END);</td></tr>
+<tr class="codeline" data-linenumber="4777"><td class="num" id="LN4777">4777</td><td class="line"> g_object_set_property (<span class='macro'>G_OBJECT (renderer)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((renderer)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"ellipsize"</span>, &amp;value_oc);</td></tr>
+<tr class="codeline" data-linenumber="4778"><td class="num" id="LN4778">4778</td><td class="line"> g_value_unset (&amp;value_oc);</td></tr>
+<tr class="codeline" data-linenumber="4779"><td class="num" id="LN4779">4779</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4780"><td class="num" id="LN4780">4780</td><td class="line"> gtk_tree_view_append_column (treeview, column);</td></tr>
+<tr class="codeline" data-linenumber="4781"><td class="num" id="LN4781">4781</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4782"><td class="num" id="LN4782">4782</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4783"><td class="num" id="LN4783">4783</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4784"><td class="num" id="LN4784">4784</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="4785"><td class="num" id="LN4785">4785</td><td class="line">name_column_sort_func (GtkTreeModel *model,</td></tr>
+<tr class="codeline" data-linenumber="4786"><td class="num" id="LN4786">4786</td><td class="line"> GtkTreeIter *a,</td></tr>
+<tr class="codeline" data-linenumber="4787"><td class="num" id="LN4787">4787</td><td class="line"> GtkTreeIter *b,</td></tr>
+<tr class="codeline" data-linenumber="4788"><td class="num" id="LN4788">4788</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4789"><td class="num" id="LN4789">4789</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4790"><td class="num" id="LN4790">4790</td><td class="line"> FileData *fdata1, *fdata2;</td></tr>
+<tr class="codeline" data-linenumber="4791"><td class="num" id="LN4791">4791</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4792"><td class="num" id="LN4792">4792</td><td class="line"> gtk_tree_model_get (model, a, COLUMN_FILE_DATA, &amp;fdata1, -1);</td></tr>
+<tr class="codeline" data-linenumber="4793"><td class="num" id="LN4793">4793</td><td class="line"> gtk_tree_model_get (model, b, COLUMN_FILE_DATA, &amp;fdata2, -1);</td></tr>
+<tr class="codeline" data-linenumber="4794"><td class="num" id="LN4794">4794</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4795"><td class="num" id="LN4795">4795</td><td class="line"> <span class='keyword'>return</span> sort_by_name (&amp;fdata1, &amp;fdata2);</td></tr>
+<tr class="codeline" data-linenumber="4796"><td class="num" id="LN4796">4796</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4797"><td class="num" id="LN4797">4797</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4798"><td class="num" id="LN4798">4798</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="4799"><td class="num" id="LN4799">4799</td><td class="line">size_column_sort_func (GtkTreeModel *model,</td></tr>
+<tr class="codeline" data-linenumber="4800"><td class="num" id="LN4800">4800</td><td class="line"> GtkTreeIter *a,</td></tr>
+<tr class="codeline" data-linenumber="4801"><td class="num" id="LN4801">4801</td><td class="line"> GtkTreeIter *b,</td></tr>
+<tr class="codeline" data-linenumber="4802"><td class="num" id="LN4802">4802</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4803"><td class="num" id="LN4803">4803</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4804"><td class="num" id="LN4804">4804</td><td class="line"> FileData *fdata1, *fdata2;</td></tr>
+<tr class="codeline" data-linenumber="4805"><td class="num" id="LN4805">4805</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4806"><td class="num" id="LN4806">4806</td><td class="line"> gtk_tree_model_get (model, a, COLUMN_FILE_DATA, &amp;fdata1, -1);</td></tr>
+<tr class="codeline" data-linenumber="4807"><td class="num" id="LN4807">4807</td><td class="line"> gtk_tree_model_get (model, b, COLUMN_FILE_DATA, &amp;fdata2, -1);</td></tr>
+<tr class="codeline" data-linenumber="4808"><td class="num" id="LN4808">4808</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4809"><td class="num" id="LN4809">4809</td><td class="line"> <span class='keyword'>return</span> sort_by_size (&amp;fdata1, &amp;fdata2);</td></tr>
+<tr class="codeline" data-linenumber="4810"><td class="num" id="LN4810">4810</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4811"><td class="num" id="LN4811">4811</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4812"><td class="num" id="LN4812">4812</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="4813"><td class="num" id="LN4813">4813</td><td class="line">type_column_sort_func (GtkTreeModel *model,</td></tr>
+<tr class="codeline" data-linenumber="4814"><td class="num" id="LN4814">4814</td><td class="line"> GtkTreeIter *a,</td></tr>
+<tr class="codeline" data-linenumber="4815"><td class="num" id="LN4815">4815</td><td class="line"> GtkTreeIter *b,</td></tr>
+<tr class="codeline" data-linenumber="4816"><td class="num" id="LN4816">4816</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4817"><td class="num" id="LN4817">4817</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4818"><td class="num" id="LN4818">4818</td><td class="line"> FileData *fdata1, *fdata2;</td></tr>
+<tr class="codeline" data-linenumber="4819"><td class="num" id="LN4819">4819</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4820"><td class="num" id="LN4820">4820</td><td class="line"> gtk_tree_model_get (model, a, COLUMN_FILE_DATA, &amp;fdata1, -1);</td></tr>
+<tr class="codeline" data-linenumber="4821"><td class="num" id="LN4821">4821</td><td class="line"> gtk_tree_model_get (model, b, COLUMN_FILE_DATA, &amp;fdata2, -1);</td></tr>
+<tr class="codeline" data-linenumber="4822"><td class="num" id="LN4822">4822</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4823"><td class="num" id="LN4823">4823</td><td class="line"> <span class='keyword'>return</span> sort_by_type (&amp;fdata1, &amp;fdata2);</td></tr>
+<tr class="codeline" data-linenumber="4824"><td class="num" id="LN4824">4824</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4825"><td class="num" id="LN4825">4825</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4826"><td class="num" id="LN4826">4826</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="4827"><td class="num" id="LN4827">4827</td><td class="line">time_column_sort_func (GtkTreeModel *model,</td></tr>
+<tr class="codeline" data-linenumber="4828"><td class="num" id="LN4828">4828</td><td class="line"> GtkTreeIter *a,</td></tr>
+<tr class="codeline" data-linenumber="4829"><td class="num" id="LN4829">4829</td><td class="line"> GtkTreeIter *b,</td></tr>
+<tr class="codeline" data-linenumber="4830"><td class="num" id="LN4830">4830</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4831"><td class="num" id="LN4831">4831</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4832"><td class="num" id="LN4832">4832</td><td class="line"> FileData *fdata1, *fdata2;</td></tr>
+<tr class="codeline" data-linenumber="4833"><td class="num" id="LN4833">4833</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4834"><td class="num" id="LN4834">4834</td><td class="line"> gtk_tree_model_get (model, a, COLUMN_FILE_DATA, &amp;fdata1, -1);</td></tr>
+<tr class="codeline" data-linenumber="4835"><td class="num" id="LN4835">4835</td><td class="line"> gtk_tree_model_get (model, b, COLUMN_FILE_DATA, &amp;fdata2, -1);</td></tr>
+<tr class="codeline" data-linenumber="4836"><td class="num" id="LN4836">4836</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4837"><td class="num" id="LN4837">4837</td><td class="line"> <span class='keyword'>return</span> sort_by_time (&amp;fdata1, &amp;fdata2);</td></tr>
+<tr class="codeline" data-linenumber="4838"><td class="num" id="LN4838">4838</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4839"><td class="num" id="LN4839">4839</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4840"><td class="num" id="LN4840">4840</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="4841"><td class="num" id="LN4841">4841</td><td class="line">path_column_sort_func (GtkTreeModel *model,</td></tr>
+<tr class="codeline" data-linenumber="4842"><td class="num" id="LN4842">4842</td><td class="line"> GtkTreeIter *a,</td></tr>
+<tr class="codeline" data-linenumber="4843"><td class="num" id="LN4843">4843</td><td class="line"> GtkTreeIter *b,</td></tr>
+<tr class="codeline" data-linenumber="4844"><td class="num" id="LN4844">4844</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4845"><td class="num" id="LN4845">4845</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4846"><td class="num" id="LN4846">4846</td><td class="line"> FileData *fdata1, *fdata2;</td></tr>
+<tr class="codeline" data-linenumber="4847"><td class="num" id="LN4847">4847</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4848"><td class="num" id="LN4848">4848</td><td class="line"> gtk_tree_model_get (model, a, COLUMN_FILE_DATA, &amp;fdata1, -1);</td></tr>
+<tr class="codeline" data-linenumber="4849"><td class="num" id="LN4849">4849</td><td class="line"> gtk_tree_model_get (model, b, COLUMN_FILE_DATA, &amp;fdata2, -1);</td></tr>
+<tr class="codeline" data-linenumber="4850"><td class="num" id="LN4850">4850</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4851"><td class="num" id="LN4851">4851</td><td class="line"> <span class='keyword'>return</span> sort_by_path (&amp;fdata1, &amp;fdata2);</td></tr>
+<tr class="codeline" data-linenumber="4852"><td class="num" id="LN4852">4852</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4853"><td class="num" id="LN4853">4853</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4854"><td class="num" id="LN4854">4854</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="4855"><td class="num" id="LN4855">4855</td><td class="line">no_sort_column_sort_func (GtkTreeModel *model,</td></tr>
+<tr class="codeline" data-linenumber="4856"><td class="num" id="LN4856">4856</td><td class="line"> GtkTreeIter *a,</td></tr>
+<tr class="codeline" data-linenumber="4857"><td class="num" id="LN4857">4857</td><td class="line"> GtkTreeIter *b,</td></tr>
+<tr class="codeline" data-linenumber="4858"><td class="num" id="LN4858">4858</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4859"><td class="num" id="LN4859">4859</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4860"><td class="num" id="LN4860">4860</td><td class="line"> <span class='keyword'>return</span> -1;</td></tr>
+<tr class="codeline" data-linenumber="4861"><td class="num" id="LN4861">4861</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4862"><td class="num" id="LN4862">4862</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4863"><td class="num" id="LN4863">4863</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4864"><td class="num" id="LN4864">4864</td><td class="line">sort_column_changed_cb (GtkTreeSortable *sortable,</td></tr>
+<tr class="codeline" data-linenumber="4865"><td class="num" id="LN4865">4865</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4866"><td class="num" id="LN4866">4866</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4867"><td class="num" id="LN4867">4867</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="4868"><td class="num" id="LN4868">4868</td><td class="line"> GtkSortType order;</td></tr>
+<tr class="codeline" data-linenumber="4869"><td class="num" id="LN4869">4869</td><td class="line"> <span class='keyword'>int</span> column_id;</td></tr>
+<tr class="codeline" data-linenumber="4870"><td class="num" id="LN4870">4870</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4871"><td class="num" id="LN4871">4871</td><td class="line"> <span class='keyword'>if</span> (! gtk_tree_sortable_get_sort_column_id (sortable,</td></tr>
+<tr class="codeline" data-linenumber="4872"><td class="num" id="LN4872">4872</td><td class="line"> &amp;column_id,</td></tr>
+<tr class="codeline" data-linenumber="4873"><td class="num" id="LN4873">4873</td><td class="line"> &amp;order))</td></tr>
+<tr class="codeline" data-linenumber="4874"><td class="num" id="LN4874">4874</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="4875"><td class="num" id="LN4875">4875</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4876"><td class="num" id="LN4876">4876</td><td class="line"> window-&gt;priv-&gt;sort_method = get_sort_method_from_column (column_id);</td></tr>
+<tr class="codeline" data-linenumber="4877"><td class="num" id="LN4877">4877</td><td class="line"> window-&gt;priv-&gt;sort_type = order;</td></tr>
+<tr class="codeline" data-linenumber="4878"><td class="num" id="LN4878">4878</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4879"><td class="num" id="LN4879">4879</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4880"><td class="num" id="LN4880">4880</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="4881"><td class="num" id="LN4881">4881</td><td class="line">fr_window_show_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="4882"><td class="num" id="LN4882">4882</td><td class="line"> FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4883"><td class="num" id="LN4883">4883</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4884"><td class="num" id="LN4884">4884</td><td class="line"> fr_window_update_current_location (window);</td></tr>
+<tr class="codeline" data-linenumber="4885"><td class="num" id="LN4885">4885</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4886"><td class="num" id="LN4886">4886</td><td class="line"> set_active (window, <span class='string_literal'>"ViewToolbar"</span>, g_settings_get_boolean (window-&gt;priv-&gt;settings_ui, <span class='macro'>PREF_UI_VIEW_TOOLBAR<span class='macro_popup'>"view-toolbar"</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="4887"><td class="num" id="LN4887">4887</td><td class="line"> set_active (window, <span class='string_literal'>"ViewStatusbar"</span>, g_settings_get_boolean (window-&gt;priv-&gt;settings_ui, <span class='macro'>PREF_UI_VIEW_STATUSBAR<span class='macro_popup'>"view-statusbar"</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="4888"><td class="num" id="LN4888">4888</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4889"><td class="num" id="LN4889">4889</td><td class="line"> window-&gt;priv-&gt;view_folders = g_settings_get_boolean (window-&gt;priv-&gt;settings_ui, <span class='macro'>PREF_UI_VIEW_FOLDERS<span class='macro_popup'>"view-folders"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4890"><td class="num" id="LN4890">4890</td><td class="line"> set_active (window, <span class='string_literal'>"ViewFolders"</span>, window-&gt;priv-&gt;view_folders);</td></tr>
+<tr class="codeline" data-linenumber="4891"><td class="num" id="LN4891">4891</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4892"><td class="num" id="LN4892">4892</td><td class="line"> fr_window_update_filter_bar_visibility (window);</td></tr>
+<tr class="codeline" data-linenumber="4893"><td class="num" id="LN4893">4893</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4894"><td class="num" id="LN4894">4894</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4895"><td class="num" id="LN4895">4895</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4896"><td class="num" id="LN4896">4896</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4897"><td class="num" id="LN4897">4897</td><td class="line"><span class='comment'>/* preferences changes notification callbacks */</span></td></tr>
+<tr class="codeline" data-linenumber="4898"><td class="num" id="LN4898">4898</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4899"><td class="num" id="LN4899">4899</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4900"><td class="num" id="LN4900">4900</td><td class="line">pref_history_len_changed (GSettings *settings,</td></tr>
+<tr class="codeline" data-linenumber="4901"><td class="num" id="LN4901">4901</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *key,</td></tr>
+<tr class="codeline" data-linenumber="4902"><td class="num" id="LN4902">4902</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4903"><td class="num" id="LN4903">4903</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4904"><td class="num" id="LN4904">4904</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="4905"><td class="num" id="LN4905">4905</td><td class="line"> <span class='keyword'>int</span> limit;</td></tr>
+<tr class="codeline" data-linenumber="4906"><td class="num" id="LN4906">4906</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4907"><td class="num" id="LN4907">4907</td><td class="line"> limit = g_settings_get_int (settings, <span class='macro'>PREF_UI_HISTORY_LEN<span class='macro_popup'>"history-len"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4908"><td class="num" id="LN4908">4908</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4909"><td class="num" id="LN4909">4909</td><td class="line"> gtk_recent_chooser_set_limit (<span class='macro'>GTK_RECENT_CHOOSER (window-&gt;priv-&gt;menubar_recentmenu)<span class='macro_popup'>((((GtkRecentChooser*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((window-&gt;priv-&gt;menubar_recentmenu)), (<br>(gtk_recent_chooser_get_type ()))))))</span></span>, limit);</td></tr>
+<tr class="codeline" data-linenumber="4910"><td class="num" id="LN4910">4910</td><td class="line"> gtk_recent_chooser_set_limit (<span class='macro'>GTK_RECENT_CHOOSER (window-&gt;priv-&gt;toolbar_recentmenu)<span class='macro_popup'>((((GtkRecentChooser*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((window-&gt;priv-&gt;toolbar_recentmenu)), (<br>(gtk_recent_chooser_get_type ()))))))</span></span>, limit);</td></tr>
+<tr class="codeline" data-linenumber="4911"><td class="num" id="LN4911">4911</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4912"><td class="num" id="LN4912">4912</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4913"><td class="num" id="LN4913">4913</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4914"><td class="num" id="LN4914">4914</td><td class="line">pref_view_toolbar_changed (GSettings *settings,</td></tr>
+<tr class="codeline" data-linenumber="4915"><td class="num" id="LN4915">4915</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *key,</td></tr>
+<tr class="codeline" data-linenumber="4916"><td class="num" id="LN4916">4916</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4917"><td class="num" id="LN4917">4917</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4918"><td class="num" id="LN4918">4918</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="4919"><td class="num" id="LN4919">4919</td><td class="line"> fr_window_set_toolbar_visibility (window, g_settings_get_boolean (settings, key));</td></tr>
+<tr class="codeline" data-linenumber="4920"><td class="num" id="LN4920">4920</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4921"><td class="num" id="LN4921">4921</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4922"><td class="num" id="LN4922">4922</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4923"><td class="num" id="LN4923">4923</td><td class="line">pref_view_statusbar_changed (GSettings *settings,</td></tr>
+<tr class="codeline" data-linenumber="4924"><td class="num" id="LN4924">4924</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *key,</td></tr>
+<tr class="codeline" data-linenumber="4925"><td class="num" id="LN4925">4925</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4926"><td class="num" id="LN4926">4926</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4927"><td class="num" id="LN4927">4927</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="4928"><td class="num" id="LN4928">4928</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4929"><td class="num" id="LN4929">4929</td><td class="line"> fr_window_set_statusbar_visibility (window, g_settings_get_boolean (settings, key));</td></tr>
+<tr class="codeline" data-linenumber="4930"><td class="num" id="LN4930">4930</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4931"><td class="num" id="LN4931">4931</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4932"><td class="num" id="LN4932">4932</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4933"><td class="num" id="LN4933">4933</td><td class="line">pref_view_folders_changed (GSettings *settings,</td></tr>
+<tr class="codeline" data-linenumber="4934"><td class="num" id="LN4934">4934</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *key,</td></tr>
+<tr class="codeline" data-linenumber="4935"><td class="num" id="LN4935">4935</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4936"><td class="num" id="LN4936">4936</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4937"><td class="num" id="LN4937">4937</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="4938"><td class="num" id="LN4938">4938</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4939"><td class="num" id="LN4939">4939</td><td class="line"> fr_window_set_folders_visibility (window, g_settings_get_boolean (settings, key));</td></tr>
+<tr class="codeline" data-linenumber="4940"><td class="num" id="LN4940">4940</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4941"><td class="num" id="LN4941">4941</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4942"><td class="num" id="LN4942">4942</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4943"><td class="num" id="LN4943">4943</td><td class="line">pref_show_field_changed (GSettings *settings,</td></tr>
+<tr class="codeline" data-linenumber="4944"><td class="num" id="LN4944">4944</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *key,</td></tr>
+<tr class="codeline" data-linenumber="4945"><td class="num" id="LN4945">4945</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4946"><td class="num" id="LN4946">4946</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4947"><td class="num" id="LN4947">4947</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="4948"><td class="num" id="LN4948">4948</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4949"><td class="num" id="LN4949">4949</td><td class="line"> fr_window_update_columns_visibility (window);</td></tr>
+<tr class="codeline" data-linenumber="4950"><td class="num" id="LN4950">4950</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4951"><td class="num" id="LN4951">4951</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4952"><td class="num" id="LN4952">4952</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4953"><td class="num" id="LN4953">4953</td><td class="line">pref_click_policy_changed (GSettings *settings,</td></tr>
+<tr class="codeline" data-linenumber="4954"><td class="num" id="LN4954">4954</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *key,</td></tr>
+<tr class="codeline" data-linenumber="4955"><td class="num" id="LN4955">4955</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4956"><td class="num" id="LN4956">4956</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4957"><td class="num" id="LN4957">4957</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="4958"><td class="num" id="LN4958">4958</td><td class="line"> GdkWindow *win = gtk_tree_view_get_bin_window (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4959"><td class="num" id="LN4959">4959</td><td class="line"> GdkDisplay *display;</td></tr>
+<tr class="codeline" data-linenumber="4960"><td class="num" id="LN4960">4960</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4961"><td class="num" id="LN4961">4961</td><td class="line"> window-&gt;priv-&gt;single_click = is_single_click_policy (window);</td></tr>
+<tr class="codeline" data-linenumber="4962"><td class="num" id="LN4962">4962</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4963"><td class="num" id="LN4963">4963</td><td class="line"> gdk_window_set_cursor (win, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4964"><td class="num" id="LN4964">4964</td><td class="line"> display = gtk_widget_get_display (<span class='macro'>GTK_WIDGET (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_widget_get_type (<br>)))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4965"><td class="num" id="LN4965">4965</td><td class="line"> <span class='keyword'>if</span> (display != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="4966"><td class="num" id="LN4966">4966</td><td class="line"> gdk_display_flush (display);</td></tr>
+<tr class="codeline" data-linenumber="4967"><td class="num" id="LN4967">4967</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4968"><td class="num" id="LN4968">4968</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4969"><td class="num" id="LN4969">4969</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4970"><td class="num" id="LN4970">4970</td><td class="line">pref_use_mime_icons_changed (GSettings *settings,</td></tr>
+<tr class="codeline" data-linenumber="4971"><td class="num" id="LN4971">4971</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *key,</td></tr>
+<tr class="codeline" data-linenumber="4972"><td class="num" id="LN4972">4972</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4973"><td class="num" id="LN4973">4973</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4974"><td class="num" id="LN4974">4974</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="4975"><td class="num" id="LN4975">4975</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4976"><td class="num" id="LN4976">4976</td><td class="line"> <span class='keyword'>if</span> (tree_pixbuf_hash != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4977"><td class="num" id="LN4977">4977</td><td class="line"> g_hash_table_foreach (tree_pixbuf_hash,</td></tr>
+<tr class="codeline" data-linenumber="4978"><td class="num" id="LN4978">4978</td><td class="line"> gh_unref_pixbuf,</td></tr>
+<tr class="codeline" data-linenumber="4979"><td class="num" id="LN4979">4979</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4980"><td class="num" id="LN4980">4980</td><td class="line"> g_hash_table_destroy (tree_pixbuf_hash);</td></tr>
+<tr class="codeline" data-linenumber="4981"><td class="num" id="LN4981">4981</td><td class="line"> tree_pixbuf_hash = g_hash_table_new (g_str_hash, g_str_equal);</td></tr>
+<tr class="codeline" data-linenumber="4982"><td class="num" id="LN4982">4982</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4983"><td class="num" id="LN4983">4983</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4984"><td class="num" id="LN4984">4984</td><td class="line"> fr_window_update_file_list (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4985"><td class="num" id="LN4985">4985</td><td class="line"> fr_window_update_dir_tree (window);</td></tr>
+<tr class="codeline" data-linenumber="4986"><td class="num" id="LN4986">4986</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4987"><td class="num" id="LN4987">4987</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4988"><td class="num" id="LN4988">4988</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4989"><td class="num" id="LN4989">4989</td><td class="line">theme_changed_cb (GtkIconTheme *theme, FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4990"><td class="num" id="LN4990">4990</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4991"><td class="num" id="LN4991">4991</td><td class="line"> file_list_icon_size = _gtk_widget_lookup_for_size (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>, <span class='macro'>FILE_LIST_ICON_SIZE<span class='macro_popup'>GTK_ICON_SIZE_LARGE_TOOLBAR</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4992"><td class="num" id="LN4992">4992</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4993"><td class="num" id="LN4993">4993</td><td class="line"> <span class='keyword'>if</span> (tree_pixbuf_hash != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4994"><td class="num" id="LN4994">4994</td><td class="line"> g_hash_table_foreach (tree_pixbuf_hash,</td></tr>
+<tr class="codeline" data-linenumber="4995"><td class="num" id="LN4995">4995</td><td class="line"> gh_unref_pixbuf,</td></tr>
+<tr class="codeline" data-linenumber="4996"><td class="num" id="LN4996">4996</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4997"><td class="num" id="LN4997">4997</td><td class="line"> g_hash_table_destroy (tree_pixbuf_hash);</td></tr>
+<tr class="codeline" data-linenumber="4998"><td class="num" id="LN4998">4998</td><td class="line"> tree_pixbuf_hash = g_hash_table_new (g_str_hash, g_str_equal);</td></tr>
+<tr class="codeline" data-linenumber="4999"><td class="num" id="LN4999">4999</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5000"><td class="num" id="LN5000">5000</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5001"><td class="num" id="LN5001">5001</td><td class="line"> fr_window_update_file_list (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5002"><td class="num" id="LN5002">5002</td><td class="line"> fr_window_update_dir_tree (window);</td></tr>
+<tr class="codeline" data-linenumber="5003"><td class="num" id="LN5003">5003</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5004"><td class="num" id="LN5004">5004</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5005"><td class="num" id="LN5005">5005</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="5006"><td class="num" id="LN5006">5006</td><td class="line">fr_window_stoppable_cb (FrCommand *command,</td></tr>
+<tr class="codeline" data-linenumber="5007"><td class="num" id="LN5007">5007</td><td class="line"> gboolean stoppable,</td></tr>
+<tr class="codeline" data-linenumber="5008"><td class="num" id="LN5008">5008</td><td class="line"> FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5009"><td class="num" id="LN5009">5009</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5010"><td class="num" id="LN5010">5010</td><td class="line"> window-&gt;priv-&gt;stoppable = stoppable;</td></tr>
+<tr class="codeline" data-linenumber="5011"><td class="num" id="LN5011">5011</td><td class="line"> set_sensitive (window, <span class='string_literal'>"stop_item"</span>, stoppable);</td></tr>
+<tr class="codeline" data-linenumber="5012"><td class="num" id="LN5012">5012</td><td class="line"> set_sensitive (window, <span class='string_literal'>"tool_stop_item"</span>, stoppable);</td></tr>
+<tr class="codeline" data-linenumber="5013"><td class="num" id="LN5013">5013</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_dialog != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="5014"><td class="num" id="LN5014">5014</td><td class="line"> gtk_dialog_set_response_sensitive (<span class='macro'>GTK_DIALOG (window-&gt;priv-&gt;progress_dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_dialog)), ((gtk_dialog_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5015"><td class="num" id="LN5015">5015</td><td class="line"> GTK_RESPONSE_OK,</td></tr>
+<tr class="codeline" data-linenumber="5016"><td class="num" id="LN5016">5016</td><td class="line"> stoppable);</td></tr>
+<tr class="codeline" data-linenumber="5017"><td class="num" id="LN5017">5017</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5018"><td class="num" id="LN5018">5018</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5019"><td class="num" id="LN5019">5019</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5020"><td class="num" id="LN5020">5020</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="5021"><td class="num" id="LN5021">5021</td><td class="line">fr_window_fake_load (FrArchive *archive,</td></tr>
+<tr class="codeline" data-linenumber="5022"><td class="num" id="LN5022">5022</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="5023"><td class="num" id="LN5023">5023</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5024"><td class="num" id="LN5024">5024</td><td class="line"> <span class='comment'>/* fake loads are disabled to allow exact progress dialogs (#153281) */</span></td></tr>
+<tr class="codeline" data-linenumber="5025"><td class="num" id="LN5025">5025</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5026"><td class="num" id="LN5026">5026</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5027"><td class="num" id="LN5027">5027</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5028"><td class="num" id="LN5028">5028</td><td class="line"><span class='directive'>#if 0</span></td></tr>
+<tr class="codeline" data-linenumber="5029"><td class="num" id="LN5029">5029</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="5030"><td class="num" id="LN5030">5030</td><td class="line"> gboolean add_after_opening = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5031"><td class="num" id="LN5031">5031</td><td class="line"> gboolean extract_after_opening = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5032"><td class="num" id="LN5032">5032</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="5033"><td class="num" id="LN5033">5033</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5034"><td class="num" id="LN5034">5034</td><td class="line"> <span class='comment'>/* fake loads are used only in batch mode to avoid unnecessary</span></td></tr>
+<tr class="codeline" data-linenumber="5035"><td class="num" id="LN5035">5035</td><td class="line"> <span class='comment'>* archive loadings. */</span></td></tr>
+<tr class="codeline" data-linenumber="5036"><td class="num" id="LN5036">5036</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5037"><td class="num" id="LN5037">5037</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;batch_mode)</td></tr>
+<tr class="codeline" data-linenumber="5038"><td class="num" id="LN5038">5038</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5039"><td class="num" id="LN5039">5039</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5040"><td class="num" id="LN5040">5040</td><td class="line"> <span class='comment'>/* Check whether there is an ADD or EXTRACT action in the batch list. */</span></td></tr>
+<tr class="codeline" data-linenumber="5041"><td class="num" id="LN5041">5041</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5042"><td class="num" id="LN5042">5042</td><td class="line"> <span class='keyword'>for</span> (scan = window-&gt;priv-&gt;batch_action; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="5043"><td class="num" id="LN5043">5043</td><td class="line"> FRBatchAction *action;</td></tr>
+<tr class="codeline" data-linenumber="5044"><td class="num" id="LN5044">5044</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5045"><td class="num" id="LN5045">5045</td><td class="line"> action = (FRBatchAction *) scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="5046"><td class="num" id="LN5046">5046</td><td class="line"> <span class='keyword'>if</span> (action-&gt;type == FR_BATCH_ACTION_ADD) {</td></tr>
+<tr class="codeline" data-linenumber="5047"><td class="num" id="LN5047">5047</td><td class="line"> add_after_opening = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5048"><td class="num" id="LN5048">5048</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5049"><td class="num" id="LN5049">5049</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5050"><td class="num" id="LN5050">5050</td><td class="line"> <span class='keyword'>if</span> ((action-&gt;type == FR_BATCH_ACTION_EXTRACT)</td></tr>
+<tr class="codeline" data-linenumber="5051"><td class="num" id="LN5051">5051</td><td class="line"> || (action-&gt;type == FR_BATCH_ACTION_EXTRACT_HERE)</td></tr>
+<tr class="codeline" data-linenumber="5052"><td class="num" id="LN5052">5052</td><td class="line"> || (action-&gt;type == FR_BATCH_ACTION_EXTRACT_INTERACT))</td></tr>
+<tr class="codeline" data-linenumber="5053"><td class="num" id="LN5053">5053</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="5054"><td class="num" id="LN5054">5054</td><td class="line"> extract_after_opening = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5055"><td class="num" id="LN5055">5055</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5056"><td class="num" id="LN5056">5056</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5057"><td class="num" id="LN5057">5057</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5058"><td class="num" id="LN5058">5058</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5059"><td class="num" id="LN5059">5059</td><td class="line"> <span class='comment'>/* use fake load when in batch mode and the archive type supports all</span></td></tr>
+<tr class="codeline" data-linenumber="5060"><td class="num" id="LN5060">5060</td><td class="line"> <span class='comment'>* of the required features */</span></td></tr>
+<tr class="codeline" data-linenumber="5061"><td class="num" id="LN5061">5061</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5062"><td class="num" id="LN5062">5062</td><td class="line"> <span class='keyword'>return</span> (window-&gt;priv-&gt;batch_mode</td></tr>
+<tr class="codeline" data-linenumber="5063"><td class="num" id="LN5063">5063</td><td class="line"> &amp;&amp; ! (add_after_opening &amp;&amp; window-&gt;priv-&gt;update_dropped_files &amp;&amp; ! archive-&gt;command-&gt;propAddCanUpdate)</td></tr>
+<tr class="codeline" data-linenumber="5064"><td class="num" id="LN5064">5064</td><td class="line"> &amp;&amp; ! (add_after_opening &amp;&amp; ! window-&gt;priv-&gt;update_dropped_files &amp;&amp; ! archive-&gt;command-&gt;propAddCanReplace)</td></tr>
+<tr class="codeline" data-linenumber="5065"><td class="num" id="LN5065">5065</td><td class="line"> &amp;&amp; ! (extract_after_opening &amp;&amp; !archive-&gt;command-&gt;propCanExtractAll));</td></tr>
+<tr class="codeline" data-linenumber="5066"><td class="num" id="LN5066">5066</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="5067"><td class="num" id="LN5067">5067</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5068"><td class="num" id="LN5068">5068</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5069"><td class="num" id="LN5069">5069</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5070"><td class="num" id="LN5070">5070</td><td class="line">menu_item_select_cb (GtkMenuItem *proxy,</td></tr>
+<tr class="codeline" data-linenumber="5071"><td class="num" id="LN5071">5071</td><td class="line"> FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5072"><td class="num" id="LN5072">5072</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5073"><td class="num" id="LN5073">5073</td><td class="line"> <span class='keyword'>char</span> *message;</td></tr>
+<tr class="codeline" data-linenumber="5074"><td class="num" id="LN5074">5074</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5075"><td class="num" id="LN5075">5075</td><td class="line"> message = gtk_widget_get_tooltip_text (<span class='macro'>GTK_WIDGET (proxy)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((proxy)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5076"><td class="num" id="LN5076">5076</td><td class="line"> <span class='keyword'>if</span> (message) {</td></tr>
+<tr class="codeline" data-linenumber="5077"><td class="num" id="LN5077">5077</td><td class="line"> gtk_statusbar_push (<span class='macro'>GTK_STATUSBAR (window-&gt;priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;statusbar)), ((gtk_statusbar_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5078"><td class="num" id="LN5078">5078</td><td class="line"> window-&gt;priv-&gt;help_message_cid, message);</td></tr>
+<tr class="codeline" data-linenumber="5079"><td class="num" id="LN5079">5079</td><td class="line"> g_free (message);</td></tr>
+<tr class="codeline" data-linenumber="5080"><td class="num" id="LN5080">5080</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5081"><td class="num" id="LN5081">5081</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5082"><td class="num" id="LN5082">5082</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5083"><td class="num" id="LN5083">5083</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5084"><td class="num" id="LN5084">5084</td><td class="line">menu_item_deselect_cb (GtkMenuItem *proxy,</td></tr>
+<tr class="codeline" data-linenumber="5085"><td class="num" id="LN5085">5085</td><td class="line"> FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5086"><td class="num" id="LN5086">5086</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5087"><td class="num" id="LN5087">5087</td><td class="line"> gtk_statusbar_pop (<span class='macro'>GTK_STATUSBAR (window-&gt;priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;statusbar)), ((gtk_statusbar_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5088"><td class="num" id="LN5088">5088</td><td class="line"> window-&gt;priv-&gt;help_message_cid);</td></tr>
+<tr class="codeline" data-linenumber="5089"><td class="num" id="LN5089">5089</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5090"><td class="num" id="LN5090">5090</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5091"><td class="num" id="LN5091">5091</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5092"><td class="num" id="LN5092">5092</td><td class="line">view_all_files_selected_toggled (GtkMenuItem *menuitem,</td></tr>
+<tr class="codeline" data-linenumber="5093"><td class="num" id="LN5093">5093</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="5094"><td class="num" id="LN5094">5094</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5095"><td class="num" id="LN5095">5095</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="5096"><td class="num" id="LN5096">5096</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5097"><td class="num" id="LN5097">5097</td><td class="line"> <span class='keyword'>if</span> (gtk_check_menu_item_get_active (<span class='macro'>GTK_CHECK_MENU_ITEM (menuitem)<span class='macro_popup'>((((GtkCheckMenuItem*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((menuitem)), ((gtk_check_menu_item_get_type (<br>)))))))</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="5098"><td class="num" id="LN5098">5098</td><td class="line"> fr_window_set_list_mode (window, FR_WINDOW_LIST_MODE_FLAT);</td></tr>
+<tr class="codeline" data-linenumber="5099"><td class="num" id="LN5099">5099</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="5100"><td class="num" id="LN5100">5100</td><td class="line"> fr_window_set_list_mode (window, FR_WINDOW_LIST_MODE_AS_DIR);</td></tr>
+<tr class="codeline" data-linenumber="5101"><td class="num" id="LN5101">5101</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5102"><td class="num" id="LN5102">5102</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5103"><td class="num" id="LN5103">5103</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5104"><td class="num" id="LN5104">5104</td><td class="line">recent_chooser_item_activated_cb (GtkRecentChooser *chooser,</td></tr>
+<tr class="codeline" data-linenumber="5105"><td class="num" id="LN5105">5105</td><td class="line"> FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5106"><td class="num" id="LN5106">5106</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5107"><td class="num" id="LN5107">5107</td><td class="line"> <span class='keyword'>char</span> *uri;</td></tr>
+<tr class="codeline" data-linenumber="5108"><td class="num" id="LN5108">5108</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5109"><td class="num" id="LN5109">5109</td><td class="line"> uri = gtk_recent_chooser_get_current_uri (chooser);</td></tr>
+<tr class="codeline" data-linenumber="5110"><td class="num" id="LN5110">5110</td><td class="line"> <span class='keyword'>if</span> (uri != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="5111"><td class="num" id="LN5111">5111</td><td class="line"> fr_window_archive_open (window, uri, <span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5112"><td class="num" id="LN5112">5112</td><td class="line"> g_free (uri);</td></tr>
+<tr class="codeline" data-linenumber="5113"><td class="num" id="LN5113">5113</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5114"><td class="num" id="LN5114">5114</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5115"><td class="num" id="LN5115">5115</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5116"><td class="num" id="LN5116">5116</td><td class="line"><span class='keyword'>static</span> GtkWidget *</td></tr>
+<tr class="codeline" data-linenumber="5117"><td class="num" id="LN5117">5117</td><td class="line">fr_window_create_recent_chooser (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5118"><td class="num" id="LN5118">5118</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5119"><td class="num" id="LN5119">5119</td><td class="line"> GtkRecentManager *manager;</td></tr>
+<tr class="codeline" data-linenumber="5120"><td class="num" id="LN5120">5120</td><td class="line"> GtkRecentFilter *filter;</td></tr>
+<tr class="codeline" data-linenumber="5121"><td class="num" id="LN5121">5121</td><td class="line"> GtkWidget *menu;</td></tr>
+<tr class="codeline" data-linenumber="5122"><td class="num" id="LN5122">5122</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="5123"><td class="num" id="LN5123">5123</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5124"><td class="num" id="LN5124">5124</td><td class="line"> manager = gtk_recent_manager_get_default ();</td></tr>
+<tr class="codeline" data-linenumber="5125"><td class="num" id="LN5125">5125</td><td class="line"> menu = gtk_recent_chooser_menu_new_for_manager (manager);</td></tr>
+<tr class="codeline" data-linenumber="5126"><td class="num" id="LN5126">5126</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5127"><td class="num" id="LN5127">5127</td><td class="line"> filter = gtk_recent_filter_new ();</td></tr>
+<tr class="codeline" data-linenumber="5128"><td class="num" id="LN5128">5128</td><td class="line"> gtk_recent_filter_set_name (filter, <span class='macro'>_(<span class='string_literal'>"All archives"</span>)<span class='macro_popup'>gettext ("All archives")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5129"><td class="num" id="LN5129">5129</td><td class="line"> <span class='keyword'>for</span> (i = 0; open_type[i] != -1; i++)</td></tr>
+<tr class="codeline" data-linenumber="5130"><td class="num" id="LN5130">5130</td><td class="line"> gtk_recent_filter_add_mime_type (filter, mime_type_desc[open_type[i]].mime_type);</td></tr>
+<tr class="codeline" data-linenumber="5131"><td class="num" id="LN5131">5131</td><td class="line"> gtk_recent_filter_add_application (filter, <span class='string_literal'>"Engrampa"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5132"><td class="num" id="LN5132">5132</td><td class="line"> gtk_recent_chooser_add_filter (<span class='macro'>GTK_RECENT_CHOOSER (menu)<span class='macro_popup'>((((GtkRecentChooser*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((menu)), ((gtk_recent_chooser_get_type ())))<br>)))</span></span>, filter);</td></tr>
+<tr class="codeline" data-linenumber="5133"><td class="num" id="LN5133">5133</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5134"><td class="num" id="LN5134">5134</td><td class="line"> gtk_recent_chooser_set_local_only (<span class='macro'>GTK_RECENT_CHOOSER (menu)<span class='macro_popup'>((((GtkRecentChooser*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((menu)), ((gtk_recent_chooser_get_type ())))<br>)))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5135"><td class="num" id="LN5135">5135</td><td class="line"> gtk_recent_chooser_set_limit (<span class='macro'>GTK_RECENT_CHOOSER (menu)<span class='macro_popup'>((((GtkRecentChooser*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((menu)), ((gtk_recent_chooser_get_type ())))<br>)))</span></span>, g_settings_get_int (window-&gt;priv-&gt;settings_ui, <span class='macro'>PREF_UI_HISTORY_LEN<span class='macro_popup'>"history-len"</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="5136"><td class="num" id="LN5136">5136</td><td class="line"> gtk_recent_chooser_set_show_not_found (<span class='macro'>GTK_RECENT_CHOOSER (menu)<span class='macro_popup'>((((GtkRecentChooser*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((menu)), ((gtk_recent_chooser_get_type ())))<br>)))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5137"><td class="num" id="LN5137">5137</td><td class="line"> gtk_recent_chooser_set_sort_type (<span class='macro'>GTK_RECENT_CHOOSER (menu)<span class='macro_popup'>((((GtkRecentChooser*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((menu)), ((gtk_recent_chooser_get_type ())))<br>)))</span></span>, GTK_RECENT_SORT_MRU);</td></tr>
+<tr class="codeline" data-linenumber="5138"><td class="num" id="LN5138">5138</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5139"><td class="num" id="LN5139">5139</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (menu),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((menu)), (((GType) ((20) &lt;&lt; (2)))))<br>)))), ("item_activated"), (((GCallback) (recent_chooser_item_activated_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5140"><td class="num" id="LN5140">5140</td><td class="line"> <span class='string_literal'><span class='macro'>"item_activated"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((menu)), (((GType) ((20) &lt;&lt; (2)))))<br>)))), ("item_activated"), (((GCallback) (recent_chooser_item_activated_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5141"><td class="num" id="LN5141">5141</td><td class="line"> <span class='macro'>G_CALLBACK (recent_chooser_item_activated_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((menu)), (((GType) ((20) &lt;&lt; (2)))))<br>)))), ("item_activated"), (((GCallback) (recent_chooser_item_activated_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5142"><td class="num" id="LN5142">5142</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((menu)), (((GType) ((20) &lt;&lt; (2)))))<br>)))), ("item_activated"), (((GCallback) (recent_chooser_item_activated_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5143"><td class="num" id="LN5143">5143</td><td class="line"> <span class='keyword'>return</span> menu;</td></tr>
+<tr class="codeline" data-linenumber="5144"><td class="num" id="LN5144">5144</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5145"><td class="num" id="LN5145">5145</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5146"><td class="num" id="LN5146">5146</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5147"><td class="num" id="LN5147">5147</td><td class="line">close_sidepane_button_clicked_cb (GtkButton *button,</td></tr>
+<tr class="codeline" data-linenumber="5148"><td class="num" id="LN5148">5148</td><td class="line"> FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5149"><td class="num" id="LN5149">5149</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5150"><td class="num" id="LN5150">5150</td><td class="line"> fr_window_set_folders_visibility (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5151"><td class="num" id="LN5151">5151</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5152"><td class="num" id="LN5152">5152</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5153"><td class="num" id="LN5153">5153</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5154"><td class="num" id="LN5154">5154</td><td class="line">fr_window_activate_filter (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5155"><td class="num" id="LN5155">5155</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5156"><td class="num" id="LN5156">5156</td><td class="line"> GtkTreeView *tree_view = <span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5157"><td class="num" id="LN5157">5157</td><td class="line"> GtkTreeViewColumn *column;</td></tr>
+<tr class="codeline" data-linenumber="5158"><td class="num" id="LN5158">5158</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5159"><td class="num" id="LN5159">5159</td><td class="line"> fr_window_update_filter_bar_visibility (window);</td></tr>
+<tr class="codeline" data-linenumber="5160"><td class="num" id="LN5160">5160</td><td class="line"> window-&gt;priv-&gt;list_mode = FR_WINDOW_LIST_MODE_FLAT;</td></tr>
+<tr class="codeline" data-linenumber="5161"><td class="num" id="LN5161">5161</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5162"><td class="num" id="LN5162">5162</td><td class="line"> gtk_list_store_clear (window-&gt;priv-&gt;list_store);</td></tr>
+<tr class="codeline" data-linenumber="5163"><td class="num" id="LN5163">5163</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5164"><td class="num" id="LN5164">5164</td><td class="line"> column = gtk_tree_view_get_column (tree_view, 4);</td></tr>
+<tr class="codeline" data-linenumber="5165"><td class="num" id="LN5165">5165</td><td class="line"> gtk_tree_view_column_set_visible (column, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5166"><td class="num" id="LN5166">5166</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5167"><td class="num" id="LN5167">5167</td><td class="line"> fr_window_update_file_list (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5168"><td class="num" id="LN5168">5168</td><td class="line"> fr_window_update_dir_tree (window);</td></tr>
+<tr class="codeline" data-linenumber="5169"><td class="num" id="LN5169">5169</td><td class="line"> fr_window_update_current_location (window);</td></tr>
+<tr class="codeline" data-linenumber="5170"><td class="num" id="LN5170">5170</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5171"><td class="num" id="LN5171">5171</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5172"><td class="num" id="LN5172">5172</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5173"><td class="num" id="LN5173">5173</td><td class="line">filter_entry_activate_cb (GtkEntry *entry,</td></tr>
+<tr class="codeline" data-linenumber="5174"><td class="num" id="LN5174">5174</td><td class="line"> FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5175"><td class="num" id="LN5175">5175</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5176"><td class="num" id="LN5176">5176</td><td class="line"> fr_window_activate_filter (window);</td></tr>
+<tr class="codeline" data-linenumber="5177"><td class="num" id="LN5177">5177</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5178"><td class="num" id="LN5178">5178</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5179"><td class="num" id="LN5179">5179</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5180"><td class="num" id="LN5180">5180</td><td class="line">filter_entry_icon_release_cb (GtkEntry *entry,</td></tr>
+<tr class="codeline" data-linenumber="5181"><td class="num" id="LN5181">5181</td><td class="line"> GtkEntryIconPosition icon_pos,</td></tr>
+<tr class="codeline" data-linenumber="5182"><td class="num" id="LN5182">5182</td><td class="line"> GdkEventButton *event,</td></tr>
+<tr class="codeline" data-linenumber="5183"><td class="num" id="LN5183">5183</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="5184"><td class="num" id="LN5184">5184</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5185"><td class="num" id="LN5185">5185</td><td class="line"> FrWindow *window = <span class='macro'>FR_WINDOW (user_data)<span class='macro_popup'>((((FrWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((fr_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5186"><td class="num" id="LN5186">5186</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5187"><td class="num" id="LN5187">5187</td><td class="line"> <span class='keyword'>if</span> ((event-&gt;button == 1) &amp;&amp; (icon_pos == GTK_ENTRY_ICON_SECONDARY))</td></tr>
+<tr class="codeline" data-linenumber="5188"><td class="num" id="LN5188">5188</td><td class="line"> fr_window_deactivate_filter (window);</td></tr>
+<tr class="codeline" data-linenumber="5189"><td class="num" id="LN5189">5189</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5190"><td class="num" id="LN5190">5190</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5191"><td class="num" id="LN5191">5191</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5192"><td class="num" id="LN5192">5192</td><td class="line">fr_window_attach (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="5193"><td class="num" id="LN5193">5193</td><td class="line"> GtkWidget *child,</td></tr>
+<tr class="codeline" data-linenumber="5194"><td class="num" id="LN5194">5194</td><td class="line"> FrWindowArea area)</td></tr>
+<tr class="codeline" data-linenumber="5195"><td class="num" id="LN5195">5195</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5196"><td class="num" id="LN5196">5196</td><td class="line"> <span class='keyword'>int</span> position;</td></tr>
+<tr class="codeline" data-linenumber="5197"><td class="num" id="LN5197">5197</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5198"><td class="num" id="LN5198">5198</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5199"><td class="num" id="LN5199">5199</td><td class="line"> <span class='macro'>g_return_if_fail (FR_IS_WINDOW (window))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((fr_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning (((gchar*) 0), ((const char*<br>) (__func__)), "FR_IS_WINDOW (window)"); return; } } while (0<br>)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5200"><td class="num" id="LN5200">5200</td><td class="line"> <span class='macro'>g_return_if_fail (child != NULL)<span class='macro_popup'>do { if ((child != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "child != NULL");<br> return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5201"><td class="num" id="LN5201">5201</td><td class="line"> <span class='macro'>g_return_if_fail (GTK_IS_WIDGET (child))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((child)); GType __t = ((gtk_widget_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning (((gchar*) 0), ((const char*<br>) (__func__)), "GTK_IS_WIDGET (child)"); return; } } while (0<br>)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5202"><td class="num" id="LN5202">5202</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5203"><td class="num" id="LN5203">5203</td><td class="line"> <span class='keyword'>switch</span> (area) {</td></tr>
+<tr class="codeline" data-linenumber="5204"><td class="num" id="LN5204">5204</td><td class="line"> <span class='keyword'>case</span> FR_WINDOW_AREA_MENUBAR:</td></tr>
+<tr class="codeline" data-linenumber="5205"><td class="num" id="LN5205">5205</td><td class="line"> position = 0;</td></tr>
+<tr class="codeline" data-linenumber="5206"><td class="num" id="LN5206">5206</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5207"><td class="num" id="LN5207">5207</td><td class="line"> <span class='keyword'>case</span> FR_WINDOW_AREA_TOOLBAR:</td></tr>
+<tr class="codeline" data-linenumber="5208"><td class="num" id="LN5208">5208</td><td class="line"> position = 1;</td></tr>
+<tr class="codeline" data-linenumber="5209"><td class="num" id="LN5209">5209</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5210"><td class="num" id="LN5210">5210</td><td class="line"> <span class='keyword'>case</span> FR_WINDOW_AREA_LOCATIONBAR:</td></tr>
+<tr class="codeline" data-linenumber="5211"><td class="num" id="LN5211">5211</td><td class="line"> position = 2;</td></tr>
+<tr class="codeline" data-linenumber="5212"><td class="num" id="LN5212">5212</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5213"><td class="num" id="LN5213">5213</td><td class="line"> <span class='keyword'>case</span> FR_WINDOW_AREA_CONTENTS:</td></tr>
+<tr class="codeline" data-linenumber="5214"><td class="num" id="LN5214">5214</td><td class="line"> position = 3;</td></tr>
+<tr class="codeline" data-linenumber="5215"><td class="num" id="LN5215">5215</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;contents != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="5216"><td class="num" id="LN5216">5216</td><td class="line"> gtk_widget_destroy (window-&gt;priv-&gt;contents);</td></tr>
+<tr class="codeline" data-linenumber="5217"><td class="num" id="LN5217">5217</td><td class="line"> window-&gt;priv-&gt;contents = child;</td></tr>
+<tr class="codeline" data-linenumber="5218"><td class="num" id="LN5218">5218</td><td class="line"> gtk_widget_set_vexpand (child, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5219"><td class="num" id="LN5219">5219</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5220"><td class="num" id="LN5220">5220</td><td class="line"> <span class='keyword'>case</span> FR_WINDOW_AREA_FILTERBAR:</td></tr>
+<tr class="codeline" data-linenumber="5221"><td class="num" id="LN5221">5221</td><td class="line"> position = 4;</td></tr>
+<tr class="codeline" data-linenumber="5222"><td class="num" id="LN5222">5222</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5223"><td class="num" id="LN5223">5223</td><td class="line"> <span class='keyword'>case</span> FR_WINDOW_AREA_STATUSBAR:</td></tr>
+<tr class="codeline" data-linenumber="5224"><td class="num" id="LN5224">5224</td><td class="line"> position = 5;</td></tr>
+<tr class="codeline" data-linenumber="5225"><td class="num" id="LN5225">5225</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5226"><td class="num" id="LN5226">5226</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="5227"><td class="num" id="LN5227">5227</td><td class="line"> g_critical (<span class='string_literal'>"%s: area not recognized!"</span>, <span class='macro'>G_STRFUNC<span class='macro_popup'>((const char*) (__func__))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5228"><td class="num" id="LN5228">5228</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="5229"><td class="num" id="LN5229">5229</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5230"><td class="num" id="LN5230">5230</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5231"><td class="num" id="LN5231">5231</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5232"><td class="num" id="LN5232">5232</td><td class="line"> gtk_widget_set_hexpand (child, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5233"><td class="num" id="LN5233">5233</td><td class="line"> gtk_grid_attach (<span class='macro'>GTK_GRID (window-&gt;priv-&gt;layout)<span class='macro_popup'>((((GtkGrid*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;layout)), ((gtk_grid_get_type ()))))<br>))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5234"><td class="num" id="LN5234">5234</td><td class="line"> child,</td></tr>
+<tr class="codeline" data-linenumber="5235"><td class="num" id="LN5235">5235</td><td class="line"> 0, position,</td></tr>
+<tr class="codeline" data-linenumber="5236"><td class="num" id="LN5236">5236</td><td class="line"> 1, 1);</td></tr>
+<tr class="codeline" data-linenumber="5237"><td class="num" id="LN5237">5237</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5238"><td class="num" id="LN5238">5238</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5239"><td class="num" id="LN5239">5239</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5240"><td class="num" id="LN5240">5240</td><td class="line">fr_window_construct (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5241"><td class="num" id="LN5241">5241</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5242"><td class="num" id="LN5242">5242</td><td class="line"> GtkWidget *menubar;</td></tr>
+<tr class="codeline" data-linenumber="5243"><td class="num" id="LN5243">5243</td><td class="line"> GtkWidget *toolbar;</td></tr>
+<tr class="codeline" data-linenumber="5244"><td class="num" id="LN5244">5244</td><td class="line"> GtkWidget *list_scrolled_window;</td></tr>
+<tr class="codeline" data-linenumber="5245"><td class="num" id="LN5245">5245</td><td class="line"> GtkWidget *location_box;</td></tr>
+<tr class="codeline" data-linenumber="5246"><td class="num" id="LN5246">5246</td><td class="line"> GtkStatusbar *statusbar;</td></tr>
+<tr class="codeline" data-linenumber="5247"><td class="num" id="LN5247">5247</td><td class="line"> GtkWidget *statusbar_box;</td></tr>
+<tr class="codeline" data-linenumber="5248"><td class="num" id="LN5248">5248</td><td class="line"> GtkWidget *filter_box;</td></tr>
+<tr class="codeline" data-linenumber="5249"><td class="num" id="LN5249">5249</td><td class="line"> GtkWidget *tree_scrolled_window;</td></tr>
+<tr class="codeline" data-linenumber="5250"><td class="num" id="LN5250">5250</td><td class="line"> GtkWidget *sidepane_title;</td></tr>
+<tr class="codeline" data-linenumber="5251"><td class="num" id="LN5251">5251</td><td class="line"> GtkWidget *sidepane_title_box;</td></tr>
+<tr class="codeline" data-linenumber="5252"><td class="num" id="LN5252">5252</td><td class="line"> GtkWidget *sidepane_title_label;</td></tr>
+<tr class="codeline" data-linenumber="5253"><td class="num" id="LN5253">5253</td><td class="line"> GtkWidget *close_sidepane_button;</td></tr>
+<tr class="codeline" data-linenumber="5254"><td class="num" id="LN5254">5254</td><td class="line"> GtkWidget *menu_radio_files;</td></tr>
+<tr class="codeline" data-linenumber="5255"><td class="num" id="LN5255">5255</td><td class="line"> GtkWidget *menuitem;</td></tr>
+<tr class="codeline" data-linenumber="5256"><td class="num" id="LN5256">5256</td><td class="line"> GtkTreeSelection *selection;</td></tr>
+<tr class="codeline" data-linenumber="5257"><td class="num" id="LN5257">5257</td><td class="line"> GActionGroup *actions;</td></tr>
+<tr class="codeline" data-linenumber="5258"><td class="num" id="LN5258">5258</td><td class="line"> GSimpleAction *action;</td></tr>
+<tr class="codeline" data-linenumber="5259"><td class="num" id="LN5259">5259</td><td class="line"> GtkAccelGroup *accel_group;</td></tr>
+<tr class="codeline" data-linenumber="5260"><td class="num" id="LN5260">5260</td><td class="line"> GtkBuilder *ui;</td></tr>
+<tr class="codeline" data-linenumber="5261"><td class="num" id="LN5261">5261</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5262"><td class="num" id="LN5262">5262</td><td class="line"> GSettingsSchemaSource *schema_source;</td></tr>
+<tr class="codeline" data-linenumber="5263"><td class="num" id="LN5263">5263</td><td class="line"> GSettingsSchema *caja_schema;</td></tr>
+<tr class="codeline" data-linenumber="5264"><td class="num" id="LN5264">5264</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5265"><td class="num" id="LN5265">5265</td><td class="line"> <span class='comment'>/* data common to all windows. */</span></td></tr>
+<tr class="codeline" data-linenumber="5266"><td class="num" id="LN5266">5266</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5267"><td class="num" id="LN5267">5267</td><td class="line"> <span class='keyword'>if</span> (tree_pixbuf_hash == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="5268"><td class="num" id="LN5268">5268</td><td class="line"> tree_pixbuf_hash = g_hash_table_new (g_str_hash, g_str_equal);</td></tr>
+<tr class="codeline" data-linenumber="5269"><td class="num" id="LN5269">5269</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5270"><td class="num" id="LN5270">5270</td><td class="line"> <span class='keyword'>if</span> (icon_theme == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="5271"><td class="num" id="LN5271">5271</td><td class="line"> icon_theme = gtk_icon_theme_get_default ();</td></tr>
+<tr class="codeline" data-linenumber="5272"><td class="num" id="LN5272">5272</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5273"><td class="num" id="LN5273">5273</td><td class="line"> <span class='comment'>/* Create the settings objects */</span></td></tr>
+<tr class="codeline" data-linenumber="5274"><td class="num" id="LN5274">5274</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5275"><td class="num" id="LN5275">5275</td><td class="line"> window-&gt;priv-&gt;settings_listing = g_settings_new (<span class='macro'>ENGRAMPA_SCHEMA_LISTING<span class='macro_popup'>"org.mate.engrampa" ".listing"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5276"><td class="num" id="LN5276">5276</td><td class="line"> window-&gt;priv-&gt;settings_ui = g_settings_new (<span class='macro'>ENGRAMPA_SCHEMA_UI<span class='macro_popup'>"org.mate.engrampa" ".ui"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5277"><td class="num" id="LN5277">5277</td><td class="line"> window-&gt;priv-&gt;settings_general = g_settings_new (<span class='macro'>ENGRAMPA_SCHEMA_GENERAL<span class='macro_popup'>"org.mate.engrampa" ".general"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5278"><td class="num" id="LN5278">5278</td><td class="line"> window-&gt;priv-&gt;settings_dialogs = g_settings_new (<span class='macro'>ENGRAMPA_SCHEMA_DIALOGS<span class='macro_popup'>"org.mate.engrampa" ".dialogs"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5279"><td class="num" id="LN5279">5279</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5280"><td class="num" id="LN5280">5280</td><td class="line"> schema_source = g_settings_schema_source_get_default ();</td></tr>
+<tr class="codeline" data-linenumber="5281"><td class="num" id="LN5281">5281</td><td class="line"> caja_schema = g_settings_schema_source_lookup (schema_source, <span class='macro'>CAJA_SCHEMA<span class='macro_popup'>"org.mate.caja.preferences"</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5282"><td class="num" id="LN5282">5282</td><td class="line"> <span class='keyword'>if</span> (caja_schema) {</td></tr>
+<tr class="codeline" data-linenumber="5283"><td class="num" id="LN5283">5283</td><td class="line"> window-&gt;priv-&gt;settings_caja = g_settings_new (<span class='macro'>CAJA_SCHEMA<span class='macro_popup'>"org.mate.caja.preferences"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5284"><td class="num" id="LN5284">5284</td><td class="line"> g_settings_schema_unref (caja_schema);</td></tr>
+<tr class="codeline" data-linenumber="5285"><td class="num" id="LN5285">5285</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5286"><td class="num" id="LN5286">5286</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5287"><td class="num" id="LN5287">5287</td><td class="line"> <span class='comment'>/* Create the application. */</span></td></tr>
+<tr class="codeline" data-linenumber="5288"><td class="num" id="LN5288">5288</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5289"><td class="num" id="LN5289">5289</td><td class="line"> window-&gt;priv-&gt;layout = gtk_grid_new ();</td></tr>
+<tr class="codeline" data-linenumber="5290"><td class="num" id="LN5290">5290</td><td class="line"> gtk_container_add (<span class='macro'>GTK_CONTAINER (window)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_container_get_type ()))))))</span></span>, window-&gt;priv-&gt;layout);</td></tr>
+<tr class="codeline" data-linenumber="5291"><td class="num" id="LN5291">5291</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;layout);</td></tr>
+<tr class="codeline" data-linenumber="5292"><td class="num" id="LN5292">5292</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5293"><td class="num" id="LN5293">5293</td><td class="line"> gtk_window_set_title (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>, <span class='macro'>_(<span class='string_literal'>"Archive Manager"</span>)<span class='macro_popup'>gettext ("Archive Manager")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5294"><td class="num" id="LN5294">5294</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5295"><td class="num" id="LN5295">5295</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("delete_event"), (((GCallback) (fr_window_delete_event_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5296"><td class="num" id="LN5296">5296</td><td class="line"> <span class='string_literal'><span class='macro'>"delete_event"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("delete_event"), (((GCallback) (fr_window_delete_event_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5297"><td class="num" id="LN5297">5297</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_delete_event_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("delete_event"), (((GCallback) (fr_window_delete_event_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5298"><td class="num" id="LN5298">5298</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("delete_event"), (((GCallback) (fr_window_delete_event_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5299"><td class="num" id="LN5299">5299</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5300"><td class="num" id="LN5300">5300</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("show"), (((GCallback) (fr_window_show_cb))), (window<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5301"><td class="num" id="LN5301">5301</td><td class="line"> <span class='string_literal'><span class='macro'>"show"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("show"), (((GCallback) (fr_window_show_cb))), (window<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5302"><td class="num" id="LN5302">5302</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_show_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("show"), (((GCallback) (fr_window_show_cb))), (window<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5303"><td class="num" id="LN5303">5303</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("show"), (((GCallback) (fr_window_show_cb))), (window<br>), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5304"><td class="num" id="LN5304">5304</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5305"><td class="num" id="LN5305">5305</td><td class="line"> window-&gt;priv-&gt;theme_changed_handler_id =</td></tr>
+<tr class="codeline" data-linenumber="5306"><td class="num" id="LN5306">5306</td><td class="line"> <span class='macro'>g_signal_connect (icon_theme,<span class='macro_popup'>g_signal_connect_data ((icon_theme), ("changed"), (((GCallback<br>) (theme_changed_cb))), (window), ((void*)0), (GConnectFlags)<br> 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5307"><td class="num" id="LN5307">5307</td><td class="line"> <span class='string_literal'><span class='macro'>"changed"</span>,<span class='macro_popup'>g_signal_connect_data ((icon_theme), ("changed"), (((GCallback<br>) (theme_changed_cb))), (window), ((void*)0), (GConnectFlags)<br> 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5308"><td class="num" id="LN5308">5308</td><td class="line"> <span class='macro'>G_CALLBACK (theme_changed_cb),<span class='macro_popup'>g_signal_connect_data ((icon_theme), ("changed"), (((GCallback<br>) (theme_changed_cb))), (window), ((void*)0), (GConnectFlags)<br> 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5309"><td class="num" id="LN5309">5309</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((icon_theme), ("changed"), (((GCallback<br>) (theme_changed_cb))), (window), ((void*)0), (GConnectFlags)<br> 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5310"><td class="num" id="LN5310">5310</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5311"><td class="num" id="LN5311">5311</td><td class="line"> file_list_icon_size = _gtk_widget_lookup_for_size (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>, <span class='macro'>FILE_LIST_ICON_SIZE<span class='macro_popup'>GTK_ICON_SIZE_LARGE_TOOLBAR</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5312"><td class="num" id="LN5312">5312</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5313"><td class="num" id="LN5313">5313</td><td class="line"> gtk_window_set_default_size (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5314"><td class="num" id="LN5314">5314</td><td class="line"> g_settings_get_int (window-&gt;priv-&gt;settings_ui, <span class='macro'>PREF_UI_WINDOW_WIDTH<span class='macro_popup'>"window-width"</span></span>),</td></tr>
+<tr class="codeline" data-linenumber="5315"><td class="num" id="LN5315">5315</td><td class="line"> g_settings_get_int (window-&gt;priv-&gt;settings_ui, <span class='macro'>PREF_UI_WINDOW_HEIGHT<span class='macro_popup'>"window-height"</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="5316"><td class="num" id="LN5316">5316</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5317"><td class="num" id="LN5317">5317</td><td class="line"> gtk_drag_dest_set (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5318"><td class="num" id="LN5318">5318</td><td class="line"> GTK_DEST_DEFAULT_ALL,</td></tr>
+<tr class="codeline" data-linenumber="5319"><td class="num" id="LN5319">5319</td><td class="line"> target_table, <span class='macro'>G_N_ELEMENTS (target_table)<span class='macro_popup'>(sizeof (target_table) / sizeof ((target_table)[0]))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5320"><td class="num" id="LN5320">5320</td><td class="line"> GDK_ACTION_COPY);</td></tr>
+<tr class="codeline" data-linenumber="5321"><td class="num" id="LN5321">5321</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5322"><td class="num" id="LN5322">5322</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("drag_data_received"), (((GCallback) (fr_window_drag_data_received<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5323"><td class="num" id="LN5323">5323</td><td class="line"> <span class='string_literal'><span class='macro'>"drag_data_received"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("drag_data_received"), (((GCallback) (fr_window_drag_data_received<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5324"><td class="num" id="LN5324">5324</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_drag_data_received),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("drag_data_received"), (((GCallback) (fr_window_drag_data_received<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5325"><td class="num" id="LN5325">5325</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("drag_data_received"), (((GCallback) (fr_window_drag_data_received<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5326"><td class="num" id="LN5326">5326</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("drag_motion"), (((GCallback) (fr_window_drag_motion<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5327"><td class="num" id="LN5327">5327</td><td class="line"> <span class='string_literal'><span class='macro'>"drag_motion"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("drag_motion"), (((GCallback) (fr_window_drag_motion<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5328"><td class="num" id="LN5328">5328</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_drag_motion),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("drag_motion"), (((GCallback) (fr_window_drag_motion<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5329"><td class="num" id="LN5329">5329</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("drag_motion"), (((GCallback) (fr_window_drag_motion<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5330"><td class="num" id="LN5330">5330</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5331"><td class="num" id="LN5331">5331</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("key_press_event"), (((GCallback) (key_press_cb))), (<br>window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5332"><td class="num" id="LN5332">5332</td><td class="line"> <span class='string_literal'><span class='macro'>"key_press_event"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("key_press_event"), (((GCallback) (key_press_cb))), (<br>window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5333"><td class="num" id="LN5333">5333</td><td class="line"> <span class='macro'>G_CALLBACK (key_press_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("key_press_event"), (((GCallback) (key_press_cb))), (<br>window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5334"><td class="num" id="LN5334">5334</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("key_press_event"), (((GCallback) (key_press_cb))), (<br>window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5335"><td class="num" id="LN5335">5335</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5336"><td class="num" id="LN5336">5336</td><td class="line"> <span class='comment'>/* Initialize Data. */</span></td></tr>
+<tr class="codeline" data-linenumber="5337"><td class="num" id="LN5337">5337</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5338"><td class="num" id="LN5338">5338</td><td class="line"> window-&gt;archive = fr_archive_new ();</td></tr>
+<tr class="codeline" data-linenumber="5339"><td class="num" id="LN5339">5339</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("start"), (((GCallback) (action_started))), (window<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5340"><td class="num" id="LN5340">5340</td><td class="line"> <span class='string_literal'><span class='macro'>"start"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("start"), (((GCallback) (action_started))), (window<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5341"><td class="num" id="LN5341">5341</td><td class="line"> <span class='macro'>G_CALLBACK (action_started),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("start"), (((GCallback) (action_started))), (window<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5342"><td class="num" id="LN5342">5342</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("start"), (((GCallback) (action_started))), (window<br>), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5343"><td class="num" id="LN5343">5343</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("done"), (((GCallback) (action_performed))), (<br>window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5344"><td class="num" id="LN5344">5344</td><td class="line"> <span class='string_literal'><span class='macro'>"done"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("done"), (((GCallback) (action_performed))), (<br>window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5345"><td class="num" id="LN5345">5345</td><td class="line"> <span class='macro'>G_CALLBACK (action_performed),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("done"), (((GCallback) (action_performed))), (<br>window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5346"><td class="num" id="LN5346">5346</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("done"), (((GCallback) (action_performed))), (<br>window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5347"><td class="num" id="LN5347">5347</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("progress"), (((GCallback) (fr_window_progress_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5348"><td class="num" id="LN5348">5348</td><td class="line"> <span class='string_literal'><span class='macro'>"progress"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("progress"), (((GCallback) (fr_window_progress_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5349"><td class="num" id="LN5349">5349</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_progress_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("progress"), (((GCallback) (fr_window_progress_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5350"><td class="num" id="LN5350">5350</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("progress"), (((GCallback) (fr_window_progress_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5351"><td class="num" id="LN5351">5351</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("message"), (((GCallback) (fr_window_message_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5352"><td class="num" id="LN5352">5352</td><td class="line"> <span class='string_literal'><span class='macro'>"message"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("message"), (((GCallback) (fr_window_message_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5353"><td class="num" id="LN5353">5353</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_message_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("message"), (((GCallback) (fr_window_message_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5354"><td class="num" id="LN5354">5354</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("message"), (((GCallback) (fr_window_message_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5355"><td class="num" id="LN5355">5355</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("stoppable"), (((GCallback) (fr_window_stoppable_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5356"><td class="num" id="LN5356">5356</td><td class="line"> <span class='string_literal'><span class='macro'>"stoppable"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("stoppable"), (((GCallback) (fr_window_stoppable_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5357"><td class="num" id="LN5357">5357</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_stoppable_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("stoppable"), (((GCallback) (fr_window_stoppable_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5358"><td class="num" id="LN5358">5358</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("stoppable"), (((GCallback) (fr_window_stoppable_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5359"><td class="num" id="LN5359">5359</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("working_archive"), (((GCallback) (fr_window_working_archive_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5360"><td class="num" id="LN5360">5360</td><td class="line"> <span class='string_literal'><span class='macro'>"working_archive"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("working_archive"), (((GCallback) (fr_window_working_archive_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5361"><td class="num" id="LN5361">5361</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_working_archive_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("working_archive"), (((GCallback) (fr_window_working_archive_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5362"><td class="num" id="LN5362">5362</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("working_archive"), (((GCallback) (fr_window_working_archive_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5363"><td class="num" id="LN5363">5363</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5364"><td class="num" id="LN5364">5364</td><td class="line"> fr_archive_set_fake_load_func (window-&gt;archive,</td></tr>
+<tr class="codeline" data-linenumber="5365"><td class="num" id="LN5365">5365</td><td class="line"> fr_window_fake_load,</td></tr>
+<tr class="codeline" data-linenumber="5366"><td class="num" id="LN5366">5366</td><td class="line"> window);</td></tr>
+<tr class="codeline" data-linenumber="5367"><td class="num" id="LN5367">5367</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5368"><td class="num" id="LN5368">5368</td><td class="line"> window-&gt;priv-&gt;sort_method = g_settings_get_enum (window-&gt;priv-&gt;settings_listing, <span class='macro'>PREF_LISTING_SORT_METHOD<span class='macro_popup'>"sort-method"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5369"><td class="num" id="LN5369">5369</td><td class="line"> window-&gt;priv-&gt;sort_type = g_settings_get_enum (window-&gt;priv-&gt;settings_listing, <span class='macro'>PREF_LISTING_SORT_TYPE<span class='macro_popup'>"sort-type"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5370"><td class="num" id="LN5370">5370</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5371"><td class="num" id="LN5371">5371</td><td class="line"> window-&gt;priv-&gt;list_mode = window-&gt;priv-&gt;last_list_mode = g_settings_get_enum (window-&gt;priv-&gt;settings_listing, <span class='macro'>PREF_LISTING_LIST_MODE<span class='macro_popup'>"list-mode"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5372"><td class="num" id="LN5372">5372</td><td class="line"> g_settings_set_boolean (window-&gt;priv-&gt;settings_listing, <span class='macro'>PREF_LISTING_SHOW_PATH<span class='macro_popup'>"show-path"</span></span>, (window-&gt;priv-&gt;list_mode == FR_WINDOW_LIST_MODE_FLAT));</td></tr>
+<tr class="codeline" data-linenumber="5373"><td class="num" id="LN5373">5373</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5374"><td class="num" id="LN5374">5374</td><td class="line"> window-&gt;priv-&gt;history = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5375"><td class="num" id="LN5375">5375</td><td class="line"> window-&gt;priv-&gt;history_current = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5376"><td class="num" id="LN5376">5376</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5377"><td class="num" id="LN5377">5377</td><td class="line"> window-&gt;priv-&gt;action = FR_ACTION_NONE;</td></tr>
+<tr class="codeline" data-linenumber="5378"><td class="num" id="LN5378">5378</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5379"><td class="num" id="LN5379">5379</td><td class="line"> window-&gt;priv-&gt;open_default_dir = <span class='macro'>g_strdup (get_home_uri ())<span class='macro_popup'>g_strdup_inline (get_home_uri ())</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5380"><td class="num" id="LN5380">5380</td><td class="line"> window-&gt;priv-&gt;add_default_dir = <span class='macro'>g_strdup (get_home_uri ())<span class='macro_popup'>g_strdup_inline (get_home_uri ())</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5381"><td class="num" id="LN5381">5381</td><td class="line"> window-&gt;priv-&gt;extract_default_dir = <span class='macro'>g_strdup (get_home_uri ())<span class='macro_popup'>g_strdup_inline (get_home_uri ())</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5382"><td class="num" id="LN5382">5382</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5383"><td class="num" id="LN5383">5383</td><td class="line"> window-&gt;priv-&gt;give_focus_to_the_list = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5384"><td class="num" id="LN5384">5384</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5385"><td class="num" id="LN5385">5385</td><td class="line"> window-&gt;priv-&gt;activity_ref = 0;</td></tr>
+<tr class="codeline" data-linenumber="5386"><td class="num" id="LN5386">5386</td><td class="line"> window-&gt;priv-&gt;activity_timeout_handle = 0;</td></tr>
+<tr class="codeline" data-linenumber="5387"><td class="num" id="LN5387">5387</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5388"><td class="num" id="LN5388">5388</td><td class="line"> window-&gt;priv-&gt;update_timeout_handle = 0;</td></tr>
+<tr class="codeline" data-linenumber="5389"><td class="num" id="LN5389">5389</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5390"><td class="num" id="LN5390">5390</td><td class="line"> window-&gt;priv-&gt;archive_present = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5391"><td class="num" id="LN5391">5391</td><td class="line"> window-&gt;priv-&gt;archive_new = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5392"><td class="num" id="LN5392">5392</td><td class="line"> window-&gt;priv-&gt;archive_uri = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5393"><td class="num" id="LN5393">5393</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5394"><td class="num" id="LN5394">5394</td><td class="line"> window-&gt;priv-&gt;drag_destination_folder = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5395"><td class="num" id="LN5395">5395</td><td class="line"> window-&gt;priv-&gt;drag_base_dir = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5396"><td class="num" id="LN5396">5396</td><td class="line"> window-&gt;priv-&gt;drag_error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5397"><td class="num" id="LN5397">5397</td><td class="line"> window-&gt;priv-&gt;drag_file_list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5398"><td class="num" id="LN5398">5398</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5399"><td class="num" id="LN5399">5399</td><td class="line"> window-&gt;priv-&gt;batch_mode = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5400"><td class="num" id="LN5400">5400</td><td class="line"> window-&gt;priv-&gt;batch_action_list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5401"><td class="num" id="LN5401">5401</td><td class="line"> window-&gt;priv-&gt;batch_action = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5402"><td class="num" id="LN5402">5402</td><td class="line"> window-&gt;priv-&gt;extract_interact_use_default_dir = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5403"><td class="num" id="LN5403">5403</td><td class="line"> window-&gt;priv-&gt;non_interactive = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5404"><td class="num" id="LN5404">5404</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5405"><td class="num" id="LN5405">5405</td><td class="line"> window-&gt;priv-&gt;password = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5406"><td class="num" id="LN5406">5406</td><td class="line"> window-&gt;priv-&gt;compression = g_settings_get_enum (window-&gt;priv-&gt;settings_general, <span class='macro'>PREF_GENERAL_COMPRESSION_LEVEL<span class='macro_popup'>"compression-level"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5407"><td class="num" id="LN5407">5407</td><td class="line"> window-&gt;priv-&gt;encrypt_header = g_settings_get_boolean (window-&gt;priv-&gt;settings_general, <span class='macro'>PREF_GENERAL_ENCRYPT_HEADER<span class='macro_popup'>"encrypt-header"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5408"><td class="num" id="LN5408">5408</td><td class="line"> window-&gt;priv-&gt;volume_size = 0;</td></tr>
+<tr class="codeline" data-linenumber="5409"><td class="num" id="LN5409">5409</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5410"><td class="num" id="LN5410">5410</td><td class="line"> window-&gt;priv-&gt;convert_data.converting = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5411"><td class="num" id="LN5411">5411</td><td class="line"> window-&gt;priv-&gt;convert_data.temp_dir = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5412"><td class="num" id="LN5412">5412</td><td class="line"> window-&gt;priv-&gt;convert_data.new_archive = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5413"><td class="num" id="LN5413">5413</td><td class="line"> window-&gt;priv-&gt;convert_data.password = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5414"><td class="num" id="LN5414">5414</td><td class="line"> window-&gt;priv-&gt;convert_data.encrypt_header = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5415"><td class="num" id="LN5415">5415</td><td class="line"> window-&gt;priv-&gt;convert_data.volume_size = 0;</td></tr>
+<tr class="codeline" data-linenumber="5416"><td class="num" id="LN5416">5416</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5417"><td class="num" id="LN5417">5417</td><td class="line"> window-&gt;priv-&gt;stoppable = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5418"><td class="num" id="LN5418">5418</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5419"><td class="num" id="LN5419">5419</td><td class="line"> window-&gt;priv-&gt;batch_adding_one_file = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5420"><td class="num" id="LN5420">5420</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5421"><td class="num" id="LN5421">5421</td><td class="line"> window-&gt;priv-&gt;path_clicked = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5422"><td class="num" id="LN5422">5422</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5423"><td class="num" id="LN5423">5423</td><td class="line"> window-&gt;priv-&gt;current_view_length = 0;</td></tr>
+<tr class="codeline" data-linenumber="5424"><td class="num" id="LN5424">5424</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5425"><td class="num" id="LN5425">5425</td><td class="line"> window-&gt;priv-&gt;current_batch_action.type = FR_BATCH_ACTION_NONE;</td></tr>
+<tr class="codeline" data-linenumber="5426"><td class="num" id="LN5426">5426</td><td class="line"> window-&gt;priv-&gt;current_batch_action.data = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5427"><td class="num" id="LN5427">5427</td><td class="line"> window-&gt;priv-&gt;current_batch_action.free_func = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5428"><td class="num" id="LN5428">5428</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5429"><td class="num" id="LN5429">5429</td><td class="line"> window-&gt;priv-&gt;pd_last_archive = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5430"><td class="num" id="LN5430">5430</td><td class="line"> window-&gt;priv-&gt;pd_last_message = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5431"><td class="num" id="LN5431">5431</td><td class="line"> window-&gt;priv-&gt;pd_last_fraction = 0.0;</td></tr>
+<tr class="codeline" data-linenumber="5432"><td class="num" id="LN5432">5432</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5433"><td class="num" id="LN5433">5433</td><td class="line"> <span class='comment'>/* Create the widgets. */</span></td></tr>
+<tr class="codeline" data-linenumber="5434"><td class="num" id="LN5434">5434</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5435"><td class="num" id="LN5435">5435</td><td class="line"> <span class='comment'>/* * File list. */</span></td></tr>
+<tr class="codeline" data-linenumber="5436"><td class="num" id="LN5436">5436</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5437"><td class="num" id="LN5437">5437</td><td class="line"> window-&gt;priv-&gt;list_store = fr_list_model_new (NUMBER_OF_COLUMNS,</td></tr>
+<tr class="codeline" data-linenumber="5438"><td class="num" id="LN5438">5438</td><td class="line"> <span class='macro'>G_TYPE_POINTER<span class='macro_popup'>((GType) ((17) &lt;&lt; (2)))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5439"><td class="num" id="LN5439">5439</td><td class="line"> <span class='macro'>GDK_TYPE_PIXBUF<span class='macro_popup'>(gdk_pixbuf_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5440"><td class="num" id="LN5440">5440</td><td class="line"> <span class='macro'>G_TYPE_STRING<span class='macro_popup'>((GType) ((16) &lt;&lt; (2)))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5441"><td class="num" id="LN5441">5441</td><td class="line"> <span class='macro'>GDK_TYPE_PIXBUF<span class='macro_popup'>(gdk_pixbuf_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5442"><td class="num" id="LN5442">5442</td><td class="line"> <span class='macro'>G_TYPE_STRING<span class='macro_popup'>((GType) ((16) &lt;&lt; (2)))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5443"><td class="num" id="LN5443">5443</td><td class="line"> <span class='macro'>G_TYPE_STRING<span class='macro_popup'>((GType) ((16) &lt;&lt; (2)))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5444"><td class="num" id="LN5444">5444</td><td class="line"> <span class='macro'>G_TYPE_STRING<span class='macro_popup'>((GType) ((16) &lt;&lt; (2)))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5445"><td class="num" id="LN5445">5445</td><td class="line"> <span class='macro'>G_TYPE_STRING<span class='macro_popup'>((GType) ((16) &lt;&lt; (2)))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5446"><td class="num" id="LN5446">5446</td><td class="line"> g_object_set_data (<span class='macro'>G_OBJECT (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), (((GType) ((20) &lt;&lt;<br> (2))))))))</span></span>, <span class='string_literal'>"FrWindow"</span>, window);</td></tr>
+<tr class="codeline" data-linenumber="5447"><td class="num" id="LN5447">5447</td><td class="line"> window-&gt;priv-&gt;list_view = gtk_tree_view_new_with_model (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5448"><td class="num" id="LN5448">5448</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5449"><td class="num" id="LN5449">5449</td><td class="line"> add_file_list_columns (window, <span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5450"><td class="num" id="LN5450">5450</td><td class="line"> gtk_tree_view_set_enable_search (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5451"><td class="num" id="LN5451">5451</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5452"><td class="num" id="LN5452">5452</td><td class="line"> gtk_tree_view_set_search_column (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5453"><td class="num" id="LN5453">5453</td><td class="line"> COLUMN_NAME);</td></tr>
+<tr class="codeline" data-linenumber="5454"><td class="num" id="LN5454">5454</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5455"><td class="num" id="LN5455">5455</td><td class="line"> gtk_tree_sortable_set_sort_func (<span class='macro'>GTK_TREE_SORTABLE (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeSortable*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_sortable_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5456"><td class="num" id="LN5456">5456</td><td class="line"> COLUMN_NAME, name_column_sort_func,</td></tr>
+<tr class="codeline" data-linenumber="5457"><td class="num" id="LN5457">5457</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5458"><td class="num" id="LN5458">5458</td><td class="line"> gtk_tree_sortable_set_sort_func (<span class='macro'>GTK_TREE_SORTABLE (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeSortable*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_sortable_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5459"><td class="num" id="LN5459">5459</td><td class="line"> COLUMN_SIZE, size_column_sort_func,</td></tr>
+<tr class="codeline" data-linenumber="5460"><td class="num" id="LN5460">5460</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5461"><td class="num" id="LN5461">5461</td><td class="line"> gtk_tree_sortable_set_sort_func (<span class='macro'>GTK_TREE_SORTABLE (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeSortable*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_sortable_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5462"><td class="num" id="LN5462">5462</td><td class="line"> COLUMN_TYPE, type_column_sort_func,</td></tr>
+<tr class="codeline" data-linenumber="5463"><td class="num" id="LN5463">5463</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5464"><td class="num" id="LN5464">5464</td><td class="line"> gtk_tree_sortable_set_sort_func (<span class='macro'>GTK_TREE_SORTABLE (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeSortable*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_sortable_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5465"><td class="num" id="LN5465">5465</td><td class="line"> COLUMN_TIME, time_column_sort_func,</td></tr>
+<tr class="codeline" data-linenumber="5466"><td class="num" id="LN5466">5466</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5467"><td class="num" id="LN5467">5467</td><td class="line"> gtk_tree_sortable_set_sort_func (<span class='macro'>GTK_TREE_SORTABLE (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeSortable*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_sortable_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5468"><td class="num" id="LN5468">5468</td><td class="line"> COLUMN_PATH, path_column_sort_func,</td></tr>
+<tr class="codeline" data-linenumber="5469"><td class="num" id="LN5469">5469</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5470"><td class="num" id="LN5470">5470</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5471"><td class="num" id="LN5471">5471</td><td class="line"> gtk_tree_sortable_set_default_sort_func (<span class='macro'>GTK_TREE_SORTABLE (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeSortable*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_sortable_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5472"><td class="num" id="LN5472">5472</td><td class="line"> no_sort_column_sort_func,</td></tr>
+<tr class="codeline" data-linenumber="5473"><td class="num" id="LN5473">5473</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5474"><td class="num" id="LN5474">5474</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5475"><td class="num" id="LN5475">5475</td><td class="line"> selection = gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5476"><td class="num" id="LN5476">5476</td><td class="line"> gtk_tree_selection_set_mode (selection, GTK_SELECTION_MULTIPLE);</td></tr>
+<tr class="codeline" data-linenumber="5477"><td class="num" id="LN5477">5477</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5478"><td class="num" id="LN5478">5478</td><td class="line"> <span class='macro'>g_signal_connect (selection,<span class='macro_popup'>g_signal_connect_data ((selection), ("changed"), (((GCallback<br>) (selection_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5479"><td class="num" id="LN5479">5479</td><td class="line"> <span class='string_literal'><span class='macro'>"changed"</span>,<span class='macro_popup'>g_signal_connect_data ((selection), ("changed"), (((GCallback<br>) (selection_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5480"><td class="num" id="LN5480">5480</td><td class="line"> <span class='macro'>G_CALLBACK (selection_changed_cb),<span class='macro_popup'>g_signal_connect_data ((selection), ("changed"), (((GCallback<br>) (selection_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5481"><td class="num" id="LN5481">5481</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((selection), ("changed"), (((GCallback<br>) (selection_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5482"><td class="num" id="LN5482">5482</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;list_view),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("row_activated"), (((GCallback<br>) (row_activated_cb))), (window), ((void*)0), (GConnectFlags)<br> 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5483"><td class="num" id="LN5483">5483</td><td class="line"> <span class='string_literal'><span class='macro'>"row_activated"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("row_activated"), (((GCallback<br>) (row_activated_cb))), (window), ((void*)0), (GConnectFlags)<br> 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5484"><td class="num" id="LN5484">5484</td><td class="line"> <span class='macro'>G_CALLBACK (row_activated_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("row_activated"), (((GCallback<br>) (row_activated_cb))), (window), ((void*)0), (GConnectFlags)<br> 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5485"><td class="num" id="LN5485">5485</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("row_activated"), (((GCallback<br>) (row_activated_cb))), (window), ((void*)0), (GConnectFlags)<br> 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5486"><td class="num" id="LN5486">5486</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5487"><td class="num" id="LN5487">5487</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;list_view),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("button_press_event"), (((GCallback<br>) (file_button_press_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5488"><td class="num" id="LN5488">5488</td><td class="line"> <span class='string_literal'><span class='macro'>"button_press_event"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("button_press_event"), (((GCallback<br>) (file_button_press_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5489"><td class="num" id="LN5489">5489</td><td class="line"> <span class='macro'>G_CALLBACK (file_button_press_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("button_press_event"), (((GCallback<br>) (file_button_press_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5490"><td class="num" id="LN5490">5490</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("button_press_event"), (((GCallback<br>) (file_button_press_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5491"><td class="num" id="LN5491">5491</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;list_view),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("button_release_event"), (((GCallback<br>) (file_button_release_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5492"><td class="num" id="LN5492">5492</td><td class="line"> <span class='string_literal'><span class='macro'>"button_release_event"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("button_release_event"), (((GCallback<br>) (file_button_release_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5493"><td class="num" id="LN5493">5493</td><td class="line"> <span class='macro'>G_CALLBACK (file_button_release_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("button_release_event"), (((GCallback<br>) (file_button_release_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5494"><td class="num" id="LN5494">5494</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("button_release_event"), (((GCallback<br>) (file_button_release_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5495"><td class="num" id="LN5495">5495</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;list_view),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("motion_notify_event"), (((GCallback<br>) (file_motion_notify_callback))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5496"><td class="num" id="LN5496">5496</td><td class="line"> <span class='string_literal'><span class='macro'>"motion_notify_event"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("motion_notify_event"), (((GCallback<br>) (file_motion_notify_callback))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5497"><td class="num" id="LN5497">5497</td><td class="line"> <span class='macro'>G_CALLBACK (file_motion_notify_callback),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("motion_notify_event"), (((GCallback<br>) (file_motion_notify_callback))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5498"><td class="num" id="LN5498">5498</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("motion_notify_event"), (((GCallback<br>) (file_motion_notify_callback))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5499"><td class="num" id="LN5499">5499</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;list_view),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("leave_notify_event"), (((GCallback<br>) (file_leave_notify_callback))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5500"><td class="num" id="LN5500">5500</td><td class="line"> <span class='string_literal'><span class='macro'>"leave_notify_event"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("leave_notify_event"), (((GCallback<br>) (file_leave_notify_callback))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5501"><td class="num" id="LN5501">5501</td><td class="line"> <span class='macro'>G_CALLBACK (file_leave_notify_callback),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("leave_notify_event"), (((GCallback<br>) (file_leave_notify_callback))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5502"><td class="num" id="LN5502">5502</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("leave_notify_event"), (((GCallback<br>) (file_leave_notify_callback))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5503"><td class="num" id="LN5503">5503</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5504"><td class="num" id="LN5504">5504</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;list_store),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_store)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("sort_column_changed"), (((GCallback<br>) (sort_column_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5505"><td class="num" id="LN5505">5505</td><td class="line"> <span class='string_literal'><span class='macro'>"sort_column_changed"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_store)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("sort_column_changed"), (((GCallback<br>) (sort_column_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5506"><td class="num" id="LN5506">5506</td><td class="line"> <span class='macro'>G_CALLBACK (sort_column_changed_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_store)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("sort_column_changed"), (((GCallback<br>) (sort_column_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5507"><td class="num" id="LN5507">5507</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_store)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("sort_column_changed"), (((GCallback<br>) (sort_column_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5508"><td class="num" id="LN5508">5508</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5509"><td class="num" id="LN5509">5509</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;list_view),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_begin"), (((GCallback) (<br>file_list_drag_begin))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5510"><td class="num" id="LN5510">5510</td><td class="line"> <span class='string_literal'><span class='macro'>"drag_begin"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_begin"), (((GCallback) (<br>file_list_drag_begin))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5511"><td class="num" id="LN5511">5511</td><td class="line"> <span class='macro'>G_CALLBACK (file_list_drag_begin),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_begin"), (((GCallback) (<br>file_list_drag_begin))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5512"><td class="num" id="LN5512">5512</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_begin"), (((GCallback) (<br>file_list_drag_begin))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5513"><td class="num" id="LN5513">5513</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;list_view),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_end"), (((GCallback) (file_list_drag_end<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5514"><td class="num" id="LN5514">5514</td><td class="line"> <span class='string_literal'><span class='macro'>"drag_end"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_end"), (((GCallback) (file_list_drag_end<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5515"><td class="num" id="LN5515">5515</td><td class="line"> <span class='macro'>G_CALLBACK (file_list_drag_end),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_end"), (((GCallback) (file_list_drag_end<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5516"><td class="num" id="LN5516">5516</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_end"), (((GCallback) (file_list_drag_end<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5517"><td class="num" id="LN5517">5517</td><td class="line"> egg_tree_multi_drag_add_drag_support (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5518"><td class="num" id="LN5518">5518</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5519"><td class="num" id="LN5519">5519</td><td class="line"> list_scrolled_window = gtk_scrolled_window_new (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5520"><td class="num" id="LN5520">5520</td><td class="line"> gtk_scrolled_window_set_policy (<span class='macro'>GTK_SCROLLED_WINDOW (list_scrolled_window)<span class='macro_popup'>((((GtkScrolledWindow*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((list_scrolled_window)), ((gtk_scrolled_window_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5521"><td class="num" id="LN5521">5521</td><td class="line"> GTK_POLICY_AUTOMATIC,</td></tr>
+<tr class="codeline" data-linenumber="5522"><td class="num" id="LN5522">5522</td><td class="line"> GTK_POLICY_AUTOMATIC);</td></tr>
+<tr class="codeline" data-linenumber="5523"><td class="num" id="LN5523">5523</td><td class="line"> gtk_scrolled_window_set_shadow_type (<span class='macro'>GTK_SCROLLED_WINDOW (list_scrolled_window)<span class='macro_popup'>((((GtkScrolledWindow*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((list_scrolled_window)), ((gtk_scrolled_window_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5524"><td class="num" id="LN5524">5524</td><td class="line"> GTK_SHADOW_IN);</td></tr>
+<tr class="codeline" data-linenumber="5525"><td class="num" id="LN5525">5525</td><td class="line"> gtk_container_add (<span class='macro'>GTK_CONTAINER (list_scrolled_window)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((list_scrolled_window)), ((gtk_container_get_type ())))))<br>)</span></span>, window-&gt;priv-&gt;list_view);</td></tr>
+<tr class="codeline" data-linenumber="5526"><td class="num" id="LN5526">5526</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5527"><td class="num" id="LN5527">5527</td><td class="line"> <span class='comment'>/* filter bar */</span></td></tr>
+<tr class="codeline" data-linenumber="5528"><td class="num" id="LN5528">5528</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5529"><td class="num" id="LN5529">5529</td><td class="line"> window-&gt;priv-&gt;filter_bar = filter_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);</td></tr>
+<tr class="codeline" data-linenumber="5530"><td class="num" id="LN5530">5530</td><td class="line"> gtk_container_set_border_width (<span class='macro'>GTK_CONTAINER (filter_box)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((filter_box)), ((gtk_container_get_type ()))))))</span></span>, 3);</td></tr>
+<tr class="codeline" data-linenumber="5531"><td class="num" id="LN5531">5531</td><td class="line"> fr_window_attach (<span class='macro'>FR_WINDOW (window)<span class='macro_popup'>((((FrWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((fr_window_get_type ()))))))</span></span>, window-&gt;priv-&gt;filter_bar, FR_WINDOW_AREA_FILTERBAR);</td></tr>
+<tr class="codeline" data-linenumber="5532"><td class="num" id="LN5532">5532</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5533"><td class="num" id="LN5533">5533</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (filter_box)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((filter_box)), ((gtk_box_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5534"><td class="num" id="LN5534">5534</td><td class="line"> gtk_label_new (<span class='macro'>_(<span class='string_literal'>"Find:"</span>)<span class='macro_popup'>gettext ("Find:")</span></span>), <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="5535"><td class="num" id="LN5535">5535</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5536"><td class="num" id="LN5536">5536</td><td class="line"> <span class='comment'>/* * filter entry */</span></td></tr>
+<tr class="codeline" data-linenumber="5537"><td class="num" id="LN5537">5537</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5538"><td class="num" id="LN5538">5538</td><td class="line"> window-&gt;priv-&gt;filter_entry = <span class='macro'>GTK_WIDGET (gtk_entry_new ())<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_entry_new ())), ((gtk_widget_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5539"><td class="num" id="LN5539">5539</td><td class="line"> gtk_entry_set_icon_from_icon_name (<span class='macro'>GTK_ENTRY (window-&gt;priv-&gt;filter_entry)<span class='macro_popup'>((((GtkEntry*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;filter_entry)), ((gtk_entry_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5540"><td class="num" id="LN5540">5540</td><td class="line"> GTK_ENTRY_ICON_SECONDARY,</td></tr>
+<tr class="codeline" data-linenumber="5541"><td class="num" id="LN5541">5541</td><td class="line"> <span class='string_literal'>"edit-clear"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5542"><td class="num" id="LN5542">5542</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5543"><td class="num" id="LN5543">5543</td><td class="line"> gtk_widget_set_size_request (window-&gt;priv-&gt;filter_entry, 300, -1);</td></tr>
+<tr class="codeline" data-linenumber="5544"><td class="num" id="LN5544">5544</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (filter_box)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((filter_box)), ((gtk_box_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5545"><td class="num" id="LN5545">5545</td><td class="line"> window-&gt;priv-&gt;filter_entry, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 6);</td></tr>
+<tr class="codeline" data-linenumber="5546"><td class="num" id="LN5546">5546</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5547"><td class="num" id="LN5547">5547</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;filter_entry),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;filter_entry)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("activate"), (((GCallback) (filter_entry_activate_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5548"><td class="num" id="LN5548">5548</td><td class="line"> <span class='string_literal'><span class='macro'>"activate"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;filter_entry)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("activate"), (((GCallback) (filter_entry_activate_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5549"><td class="num" id="LN5549">5549</td><td class="line"> <span class='macro'>G_CALLBACK (filter_entry_activate_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;filter_entry)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("activate"), (((GCallback) (filter_entry_activate_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5550"><td class="num" id="LN5550">5550</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;filter_entry)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("activate"), (((GCallback) (filter_entry_activate_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5551"><td class="num" id="LN5551">5551</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;filter_entry),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;filter_entry)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("icon-release"), (((GCallback)<br> (filter_entry_icon_release_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5552"><td class="num" id="LN5552">5552</td><td class="line"> <span class='string_literal'><span class='macro'>"icon-release"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;filter_entry)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("icon-release"), (((GCallback)<br> (filter_entry_icon_release_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5553"><td class="num" id="LN5553">5553</td><td class="line"> <span class='macro'>G_CALLBACK (filter_entry_icon_release_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;filter_entry)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("icon-release"), (((GCallback)<br> (filter_entry_icon_release_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5554"><td class="num" id="LN5554">5554</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;filter_entry)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("icon-release"), (((GCallback)<br> (filter_entry_icon_release_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5555"><td class="num" id="LN5555">5555</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5556"><td class="num" id="LN5556">5556</td><td class="line"> gtk_widget_show_all (filter_box);</td></tr>
+<tr class="codeline" data-linenumber="5557"><td class="num" id="LN5557">5557</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5558"><td class="num" id="LN5558">5558</td><td class="line"> <span class='comment'>/* tree view */</span></td></tr>
+<tr class="codeline" data-linenumber="5559"><td class="num" id="LN5559">5559</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5560"><td class="num" id="LN5560">5560</td><td class="line"> window-&gt;priv-&gt;tree_store = gtk_tree_store_new (TREE_NUMBER_OF_COLUMNS,</td></tr>
+<tr class="codeline" data-linenumber="5561"><td class="num" id="LN5561">5561</td><td class="line"> <span class='macro'>G_TYPE_STRING<span class='macro_popup'>((GType) ((16) &lt;&lt; (2)))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5562"><td class="num" id="LN5562">5562</td><td class="line"> <span class='macro'>GDK_TYPE_PIXBUF<span class='macro_popup'>(gdk_pixbuf_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5563"><td class="num" id="LN5563">5563</td><td class="line"> <span class='macro'>G_TYPE_STRING<span class='macro_popup'>((GType) ((16) &lt;&lt; (2)))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5564"><td class="num" id="LN5564">5564</td><td class="line"> <span class='macro'>PANGO_TYPE_WEIGHT<span class='macro_popup'>(pango_weight_get_type ())</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5565"><td class="num" id="LN5565">5565</td><td class="line"> window-&gt;priv-&gt;tree_view = gtk_tree_view_new_with_model (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;tree_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5566"><td class="num" id="LN5566">5566</td><td class="line"> gtk_tree_view_set_headers_visible (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;tree_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5567"><td class="num" id="LN5567">5567</td><td class="line"> add_dir_tree_columns (window, <span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;tree_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5568"><td class="num" id="LN5568">5568</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5569"><td class="num" id="LN5569">5569</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;tree_view),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("button_press_event"), (((GCallback<br>) (dir_tree_button_press_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5570"><td class="num" id="LN5570">5570</td><td class="line"> <span class='string_literal'><span class='macro'>"button_press_event"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("button_press_event"), (((GCallback<br>) (dir_tree_button_press_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5571"><td class="num" id="LN5571">5571</td><td class="line"> <span class='macro'>G_CALLBACK (dir_tree_button_press_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("button_press_event"), (((GCallback<br>) (dir_tree_button_press_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5572"><td class="num" id="LN5572">5572</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("button_press_event"), (((GCallback<br>) (dir_tree_button_press_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5573"><td class="num" id="LN5573">5573</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5574"><td class="num" id="LN5574">5574</td><td class="line"> selection = gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;tree_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5575"><td class="num" id="LN5575">5575</td><td class="line"> <span class='macro'>g_signal_connect (selection,<span class='macro_popup'>g_signal_connect_data ((selection), ("changed"), (((GCallback<br>) (dir_tree_selection_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5576"><td class="num" id="LN5576">5576</td><td class="line"> <span class='string_literal'><span class='macro'>"changed"</span>,<span class='macro_popup'>g_signal_connect_data ((selection), ("changed"), (((GCallback<br>) (dir_tree_selection_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5577"><td class="num" id="LN5577">5577</td><td class="line"> <span class='macro'>G_CALLBACK (dir_tree_selection_changed_cb),<span class='macro_popup'>g_signal_connect_data ((selection), ("changed"), (((GCallback<br>) (dir_tree_selection_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5578"><td class="num" id="LN5578">5578</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((selection), ("changed"), (((GCallback<br>) (dir_tree_selection_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5579"><td class="num" id="LN5579">5579</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5580"><td class="num" id="LN5580">5580</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;tree_view),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_begin"), (((GCallback) (<br>file_list_drag_begin))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5581"><td class="num" id="LN5581">5581</td><td class="line"> <span class='string_literal'><span class='macro'>"drag_begin"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_begin"), (((GCallback) (<br>file_list_drag_begin))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5582"><td class="num" id="LN5582">5582</td><td class="line"> <span class='macro'>G_CALLBACK (file_list_drag_begin),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_begin"), (((GCallback) (<br>file_list_drag_begin))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5583"><td class="num" id="LN5583">5583</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_begin"), (((GCallback) (<br>file_list_drag_begin))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5584"><td class="num" id="LN5584">5584</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;tree_view),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_end"), (((GCallback) (file_list_drag_end<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5585"><td class="num" id="LN5585">5585</td><td class="line"> <span class='string_literal'><span class='macro'>"drag_end"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_end"), (((GCallback) (file_list_drag_end<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5586"><td class="num" id="LN5586">5586</td><td class="line"> <span class='macro'>G_CALLBACK (file_list_drag_end),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_end"), (((GCallback) (file_list_drag_end<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5587"><td class="num" id="LN5587">5587</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_end"), (((GCallback) (file_list_drag_end<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5588"><td class="num" id="LN5588">5588</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;tree_view),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_data_get"), (((GCallback<br>) (fr_window_folder_tree_drag_data_get))), (window), ((void*)<br>0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5589"><td class="num" id="LN5589">5589</td><td class="line"> <span class='string_literal'><span class='macro'>"drag_data_get"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_data_get"), (((GCallback<br>) (fr_window_folder_tree_drag_data_get))), (window), ((void*)<br>0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5590"><td class="num" id="LN5590">5590</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_folder_tree_drag_data_get),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_data_get"), (((GCallback<br>) (fr_window_folder_tree_drag_data_get))), (window), ((void*)<br>0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5591"><td class="num" id="LN5591">5591</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_data_get"), (((GCallback<br>) (fr_window_folder_tree_drag_data_get))), (window), ((void*)<br>0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5592"><td class="num" id="LN5592">5592</td><td class="line"> gtk_drag_source_set (window-&gt;priv-&gt;tree_view,</td></tr>
+<tr class="codeline" data-linenumber="5593"><td class="num" id="LN5593">5593</td><td class="line"> GDK_BUTTON1_MASK,</td></tr>
+<tr class="codeline" data-linenumber="5594"><td class="num" id="LN5594">5594</td><td class="line"> folder_tree_targets, <span class='macro'>G_N_ELEMENTS (folder_tree_targets)<span class='macro_popup'>(sizeof (folder_tree_targets) / sizeof ((folder_tree_targets)<br>[0]))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5595"><td class="num" id="LN5595">5595</td><td class="line"> GDK_ACTION_COPY);</td></tr>
+<tr class="codeline" data-linenumber="5596"><td class="num" id="LN5596">5596</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5597"><td class="num" id="LN5597">5597</td><td class="line"> tree_scrolled_window = gtk_scrolled_window_new (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5598"><td class="num" id="LN5598">5598</td><td class="line"> gtk_scrolled_window_set_policy (<span class='macro'>GTK_SCROLLED_WINDOW (tree_scrolled_window)<span class='macro_popup'>((((GtkScrolledWindow*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((tree_scrolled_window)), ((gtk_scrolled_window_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5599"><td class="num" id="LN5599">5599</td><td class="line"> GTK_POLICY_AUTOMATIC,</td></tr>
+<tr class="codeline" data-linenumber="5600"><td class="num" id="LN5600">5600</td><td class="line"> GTK_POLICY_AUTOMATIC);</td></tr>
+<tr class="codeline" data-linenumber="5601"><td class="num" id="LN5601">5601</td><td class="line"> gtk_scrolled_window_set_shadow_type (<span class='macro'>GTK_SCROLLED_WINDOW (tree_scrolled_window)<span class='macro_popup'>((((GtkScrolledWindow*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((tree_scrolled_window)), ((gtk_scrolled_window_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5602"><td class="num" id="LN5602">5602</td><td class="line"> GTK_SHADOW_IN);</td></tr>
+<tr class="codeline" data-linenumber="5603"><td class="num" id="LN5603">5603</td><td class="line"> gtk_container_add (<span class='macro'>GTK_CONTAINER (tree_scrolled_window)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((tree_scrolled_window)), ((gtk_container_get_type ())))))<br>)</span></span>, window-&gt;priv-&gt;tree_view);</td></tr>
+<tr class="codeline" data-linenumber="5604"><td class="num" id="LN5604">5604</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5605"><td class="num" id="LN5605">5605</td><td class="line"> <span class='comment'>/* side pane */</span></td></tr>
+<tr class="codeline" data-linenumber="5606"><td class="num" id="LN5606">5606</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5607"><td class="num" id="LN5607">5607</td><td class="line"> window-&gt;priv-&gt;sidepane = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);</td></tr>
+<tr class="codeline" data-linenumber="5608"><td class="num" id="LN5608">5608</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5609"><td class="num" id="LN5609">5609</td><td class="line"> sidepane_title = gtk_frame_new (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5610"><td class="num" id="LN5610">5610</td><td class="line"> gtk_frame_set_shadow_type (<span class='macro'>GTK_FRAME (sidepane_title)<span class='macro_popup'>((((GtkFrame*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((sidepane_title)), ((gtk_frame_get_type ()))))))</span></span>, GTK_SHADOW_ETCHED_IN);</td></tr>
+<tr class="codeline" data-linenumber="5611"><td class="num" id="LN5611">5611</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5612"><td class="num" id="LN5612">5612</td><td class="line"> sidepane_title_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);</td></tr>
+<tr class="codeline" data-linenumber="5613"><td class="num" id="LN5613">5613</td><td class="line"> gtk_container_set_border_width (<span class='macro'>GTK_CONTAINER (sidepane_title_box)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((sidepane_title_box)), ((gtk_container_get_type ()))))))</span></span>, 2);</td></tr>
+<tr class="codeline" data-linenumber="5614"><td class="num" id="LN5614">5614</td><td class="line"> gtk_container_add (<span class='macro'>GTK_CONTAINER (sidepane_title)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((sidepane_title)), ((gtk_container_get_type ()))))))</span></span>, sidepane_title_box);</td></tr>
+<tr class="codeline" data-linenumber="5615"><td class="num" id="LN5615">5615</td><td class="line"> sidepane_title_label = gtk_label_new (<span class='macro'>_(<span class='string_literal'>"Folders"</span>)<span class='macro_popup'>gettext ("Folders")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5616"><td class="num" id="LN5616">5616</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5617"><td class="num" id="LN5617">5617</td><td class="line"> gtk_label_set_xalign (<span class='macro'>GTK_LABEL (sidepane_title_label)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((sidepane_title_label)), ((gtk_label_get_type ()))))))</span></span>, 0.0);</td></tr>
+<tr class="codeline" data-linenumber="5618"><td class="num" id="LN5618">5618</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (sidepane_title_box)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((sidepane_title_box)), ((gtk_box_get_type ()))))))</span></span>, sidepane_title_label, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="5619"><td class="num" id="LN5619">5619</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5620"><td class="num" id="LN5620">5620</td><td class="line"> close_sidepane_button = gtk_button_new ();</td></tr>
+<tr class="codeline" data-linenumber="5621"><td class="num" id="LN5621">5621</td><td class="line"> gtk_container_add (<span class='macro'>GTK_CONTAINER (close_sidepane_button)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((close_sidepane_button)), ((gtk_container_get_type ()))))<br>))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5622"><td class="num" id="LN5622">5622</td><td class="line"> gtk_image_new_from_icon_name (<span class='string_literal'>"window-close"</span>,</td></tr>
+<tr class="codeline" data-linenumber="5623"><td class="num" id="LN5623">5623</td><td class="line"> GTK_ICON_SIZE_MENU));</td></tr>
+<tr class="codeline" data-linenumber="5624"><td class="num" id="LN5624">5624</td><td class="line"> gtk_button_set_relief (<span class='macro'>GTK_BUTTON (close_sidepane_button)<span class='macro_popup'>((((GtkButton*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((close_sidepane_button)), ((gtk_button_get_type ()))))))</span></span>, GTK_RELIEF_NONE);</td></tr>
+<tr class="codeline" data-linenumber="5625"><td class="num" id="LN5625">5625</td><td class="line"> gtk_widget_set_tooltip_text (close_sidepane_button, <span class='macro'>_(<span class='string_literal'>"Close the folders pane"</span>)<span class='macro_popup'>gettext ("Close the folders pane")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5626"><td class="num" id="LN5626">5626</td><td class="line"> <span class='macro'>g_signal_connect (close_sidepane_button,<span class='macro_popup'>g_signal_connect_data ((close_sidepane_button), ("clicked"), (<br>((GCallback) (close_sidepane_button_clicked_cb))), (window), (<br>(void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5627"><td class="num" id="LN5627">5627</td><td class="line"> <span class='string_literal'><span class='macro'>"clicked"</span>,<span class='macro_popup'>g_signal_connect_data ((close_sidepane_button), ("clicked"), (<br>((GCallback) (close_sidepane_button_clicked_cb))), (window), (<br>(void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5628"><td class="num" id="LN5628">5628</td><td class="line"> <span class='macro'>G_CALLBACK (close_sidepane_button_clicked_cb),<span class='macro_popup'>g_signal_connect_data ((close_sidepane_button), ("clicked"), (<br>((GCallback) (close_sidepane_button_clicked_cb))), (window), (<br>(void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5629"><td class="num" id="LN5629">5629</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((close_sidepane_button), ("clicked"), (<br>((GCallback) (close_sidepane_button_clicked_cb))), (window), (<br>(void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5630"><td class="num" id="LN5630">5630</td><td class="line"> gtk_box_pack_end (<span class='macro'>GTK_BOX (sidepane_title_box)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((sidepane_title_box)), ((gtk_box_get_type ()))))))</span></span>, close_sidepane_button, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="5631"><td class="num" id="LN5631">5631</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5632"><td class="num" id="LN5632">5632</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (window-&gt;priv-&gt;sidepane)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;sidepane)), ((gtk_box_get_type ())))<br>)))</span></span>, sidepane_title, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="5633"><td class="num" id="LN5633">5633</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (window-&gt;priv-&gt;sidepane)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;sidepane)), ((gtk_box_get_type ())))<br>)))</span></span>, tree_scrolled_window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="5634"><td class="num" id="LN5634">5634</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5635"><td class="num" id="LN5635">5635</td><td class="line"> <span class='comment'>/* main content */</span></td></tr>
+<tr class="codeline" data-linenumber="5636"><td class="num" id="LN5636">5636</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5637"><td class="num" id="LN5637">5637</td><td class="line"> window-&gt;priv-&gt;paned = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL);</td></tr>
+<tr class="codeline" data-linenumber="5638"><td class="num" id="LN5638">5638</td><td class="line"> gtk_paned_pack1 (<span class='macro'>GTK_PANED (window-&gt;priv-&gt;paned)<span class='macro_popup'>((((GtkPaned*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;paned)), ((gtk_paned_get_type ()))))<br>))</span></span>, window-&gt;priv-&gt;sidepane, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5639"><td class="num" id="LN5639">5639</td><td class="line"> gtk_paned_pack2 (<span class='macro'>GTK_PANED (window-&gt;priv-&gt;paned)<span class='macro_popup'>((((GtkPaned*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;paned)), ((gtk_paned_get_type ()))))<br>))</span></span>, list_scrolled_window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5640"><td class="num" id="LN5640">5640</td><td class="line"> gtk_paned_set_position (<span class='macro'>GTK_PANED (window-&gt;priv-&gt;paned)<span class='macro_popup'>((((GtkPaned*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;paned)), ((gtk_paned_get_type ()))))<br>))</span></span>, g_settings_get_int (window-&gt;priv-&gt;settings_ui, <span class='macro'>PREF_UI_SIDEBAR_WIDTH<span class='macro_popup'>"sidebar-width"</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="5641"><td class="num" id="LN5641">5641</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5642"><td class="num" id="LN5642">5642</td><td class="line"> fr_window_attach (<span class='macro'>FR_WINDOW (window)<span class='macro_popup'>((((FrWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((fr_window_get_type ()))))))</span></span>, window-&gt;priv-&gt;paned, FR_WINDOW_AREA_CONTENTS);</td></tr>
+<tr class="codeline" data-linenumber="5643"><td class="num" id="LN5643">5643</td><td class="line"> gtk_widget_show_all (window-&gt;priv-&gt;paned);</td></tr>
+<tr class="codeline" data-linenumber="5644"><td class="num" id="LN5644">5644</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5645"><td class="num" id="LN5645">5645</td><td class="line"> <span class='comment'>/* Build the menu and the toolbar. */</span></td></tr>
+<tr class="codeline" data-linenumber="5646"><td class="num" id="LN5646">5646</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5647"><td class="num" id="LN5647">5647</td><td class="line"> window-&gt;priv-&gt;ui_manager = ui = gtk_builder_new ();</td></tr>
+<tr class="codeline" data-linenumber="5648"><td class="num" id="LN5648">5648</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5649"><td class="num" id="LN5649">5649</td><td class="line"> window-&gt;priv-&gt;actions = actions = (GActionGroup*)g_simple_action_group_new ();</td></tr>
+<tr class="codeline" data-linenumber="5650"><td class="num" id="LN5650">5650</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5651"><td class="num" id="LN5651">5651</td><td class="line"> <span class='comment'>/* other actions */</span></td></tr>
+<tr class="codeline" data-linenumber="5652"><td class="num" id="LN5652">5652</td><td class="line"> g_action_map_add_action_entries (<span class='macro'>G_ACTION_MAP (actions)<span class='macro_popup'>((((GActionMap*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((actions)), ((g_action_map_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5653"><td class="num" id="LN5653">5653</td><td class="line"> action_entries, <span class='macro'>G_N_ELEMENTS (action_entries)<span class='macro_popup'>(sizeof (action_entries) / sizeof ((action_entries)[0]))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5654"><td class="num" id="LN5654">5654</td><td class="line"> window);</td></tr>
+<tr class="codeline" data-linenumber="5655"><td class="num" id="LN5655">5655</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5656"><td class="num" id="LN5656">5656</td><td class="line"> accel_group = gtk_accel_group_new ();</td></tr>
+<tr class="codeline" data-linenumber="5657"><td class="num" id="LN5657">5657</td><td class="line"> gtk_widget_insert_action_group (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>, <span class='string_literal'>"win"</span>, actions);</td></tr>
+<tr class="codeline" data-linenumber="5658"><td class="num" id="LN5658">5658</td><td class="line"> gtk_window_add_accel_group (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>, accel_group);</td></tr>
+<tr class="codeline" data-linenumber="5659"><td class="num" id="LN5659">5659</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5660"><td class="num" id="LN5660">5660</td><td class="line"> <span class='comment'>/* Add a hidden short cut Ctrl-Q for power users */</span></td></tr>
+<tr class="codeline" data-linenumber="5661"><td class="num" id="LN5661">5661</td><td class="line"> gtk_accel_group_connect (accel_group,</td></tr>
+<tr class="codeline" data-linenumber="5662"><td class="num" id="LN5662">5662</td><td class="line"> <span class='macro'>GDK_KEY_q<span class='macro_popup'>0x071</span></span>, GDK_CONTROL_MASK, 0,</td></tr>
+<tr class="codeline" data-linenumber="5663"><td class="num" id="LN5663">5663</td><td class="line"> g_cclosure_new_swap (<span class='macro'>G_CALLBACK (fr_window_close)<span class='macro_popup'>((GCallback) (fr_window_close))</span></span>, window, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="5664"><td class="num" id="LN5664">5664</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5665"><td class="num" id="LN5665">5665</td><td class="line"> <span class='keyword'>if</span> (! gtk_builder_add_from_resource (ui, <span class='macro'>ENGRAMPA_RESOURCE_UI_PATH<span class='macro_popup'>"/org/mate/Engrampa/ui"</span></span> <span class='macro'>G_DIR_SEPARATOR_S<span class='macro_popup'>"/"</span></span> <span class='string_literal'>"menus-toolbars.ui"</span>, &amp;error)) {</td></tr>
+<tr class="codeline" data-linenumber="5666"><td class="num" id="LN5666">5666</td><td class="line"> g_message (<span class='string_literal'>"building menus failed: %s"</span>, error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="5667"><td class="num" id="LN5667">5667</td><td class="line"> g_error_free (error);</td></tr>
+<tr class="codeline" data-linenumber="5668"><td class="num" id="LN5668">5668</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5669"><td class="num" id="LN5669">5669</td><td class="line"> <span class='comment'>/*Add shortcut keys*/</span></td></tr>
+<tr class="codeline" data-linenumber="5670"><td class="num" id="LN5670">5670</td><td class="line"> <span class='keyword'>for</span> (gulong i = 0; i &lt; <span class='macro'>G_N_ELEMENTS (menu_keybindings)<span class='macro_popup'>(sizeof (menu_keybindings) / sizeof ((menu_keybindings)[0]))</span></span>; i++)</td></tr>
+<tr class="codeline" data-linenumber="5671"><td class="num" id="LN5671">5671</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="5672"><td class="num" id="LN5672">5672</td><td class="line"> menuitem = (GtkWidget*)gtk_builder_get_object (ui, menu_keybindings[i].widget_id);</td></tr>
+<tr class="codeline" data-linenumber="5673"><td class="num" id="LN5673">5673</td><td class="line"> gtk_widget_add_accelerator (menuitem, <span class='string_literal'>"activate"</span>, accel_group,</td></tr>
+<tr class="codeline" data-linenumber="5674"><td class="num" id="LN5674">5674</td><td class="line"> menu_keybindings[i].keyval,</td></tr>
+<tr class="codeline" data-linenumber="5675"><td class="num" id="LN5675">5675</td><td class="line"> menu_keybindings[i].modifier,</td></tr>
+<tr class="codeline" data-linenumber="5676"><td class="num" id="LN5676">5676</td><td class="line"> GTK_ACCEL_VISIBLE);</td></tr>
+<tr class="codeline" data-linenumber="5677"><td class="num" id="LN5677">5677</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5678"><td class="num" id="LN5678">5678</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5679"><td class="num" id="LN5679">5679</td><td class="line"> gtk_builder_add_callback_symbols (ui,</td></tr>
+<tr class="codeline" data-linenumber="5680"><td class="num" id="LN5680">5680</td><td class="line"> <span class='string_literal'>"menu_item_select_cb"</span>, <span class='macro'>G_CALLBACK (menu_item_select_cb)<span class='macro_popup'>((GCallback) (menu_item_select_cb))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5681"><td class="num" id="LN5681">5681</td><td class="line"> <span class='string_literal'>"menu_item_deselect_cb"</span>, <span class='macro'>G_CALLBACK (menu_item_deselect_cb)<span class='macro_popup'>((GCallback) (menu_item_deselect_cb))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5682"><td class="num" id="LN5682">5682</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5683"><td class="num" id="LN5683">5683</td><td class="line"> gtk_builder_connect_signals (ui, window);</td></tr>
+<tr class="codeline" data-linenumber="5684"><td class="num" id="LN5684">5684</td><td class="line"> <span class='comment'>/* open recent toolbar item action */</span></td></tr>
+<tr class="codeline" data-linenumber="5685"><td class="num" id="LN5685">5685</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5686"><td class="num" id="LN5686">5686</td><td class="line"> window-&gt;priv-&gt;menubar_recentmenu = fr_window_create_recent_chooser (window);</td></tr>
+<tr class="codeline" data-linenumber="5687"><td class="num" id="LN5687">5687</td><td class="line"> menuitem = (GtkWidget *)gtk_builder_get_object (ui, <span class='string_literal'>"open_recent_item"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5688"><td class="num" id="LN5688">5688</td><td class="line"> gtk_menu_item_set_submenu (<span class='macro'>GTK_MENU_ITEM (menuitem)<span class='macro_popup'>((((GtkMenuItem*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((menuitem)), ((gtk_menu_item_get_type ()))))))</span></span>, window-&gt;priv-&gt;menubar_recentmenu);</td></tr>
+<tr class="codeline" data-linenumber="5689"><td class="num" id="LN5689">5689</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5690"><td class="num" id="LN5690">5690</td><td class="line"> <span class='comment'>/* open recent toolbar item action */</span></td></tr>
+<tr class="codeline" data-linenumber="5691"><td class="num" id="LN5691">5691</td><td class="line"> menuitem = (GtkWidget *)gtk_builder_get_object (ui, <span class='string_literal'>"tool_open_recent_item"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5692"><td class="num" id="LN5692">5692</td><td class="line"> window-&gt;priv-&gt;toolbar_recentmenu = fr_window_create_recent_chooser (window);</td></tr>
+<tr class="codeline" data-linenumber="5693"><td class="num" id="LN5693">5693</td><td class="line"> gtk_menu_tool_button_set_menu (<span class='macro'>GTK_MENU_TOOL_BUTTON (menuitem)<span class='macro_popup'>((((GtkMenuToolButton*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((menuitem)), ((gtk_menu_tool_button_get_type<br> ()))))))</span></span>, window-&gt;priv-&gt;toolbar_recentmenu);</td></tr>
+<tr class="codeline" data-linenumber="5694"><td class="num" id="LN5694">5694</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5695"><td class="num" id="LN5695">5695</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;list_mode == FR_WINDOW_LIST_MODE_FLAT)</td></tr>
+<tr class="codeline" data-linenumber="5696"><td class="num" id="LN5696">5696</td><td class="line"> action = g_simple_action_new_stateful (<span class='string_literal'>"ViewAllFiles"</span>, <span class='macro'>G_VARIANT_TYPE (<span class='string_literal'>"s"</span>)<span class='macro_popup'>(g_variant_type_checked_ (("s")))</span></span>, g_variant_new_string (<span class='string_literal'>"files"</span>));</td></tr>
+<tr class="codeline" data-linenumber="5697"><td class="num" id="LN5697">5697</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="5698"><td class="num" id="LN5698">5698</td><td class="line"> action = g_simple_action_new_stateful (<span class='string_literal'>"ViewAllFiles"</span>, <span class='macro'>G_VARIANT_TYPE (<span class='string_literal'>"s"</span>)<span class='macro_popup'>(g_variant_type_checked_ (("s")))</span></span>, g_variant_new_string (<span class='string_literal'>"folder"</span>));</td></tr>
+<tr class="codeline" data-linenumber="5699"><td class="num" id="LN5699">5699</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5700"><td class="num" id="LN5700">5700</td><td class="line"> g_action_map_add_action (<span class='macro'>G_ACTION_MAP (actions)<span class='macro_popup'>((((GActionMap*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((actions)), ((g_action_map_get_type ()))))))</span></span>, <span class='macro'>G_ACTION (action)<span class='macro_popup'>((((GAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((g_action_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5701"><td class="num" id="LN5701">5701</td><td class="line"> g_object_unref (action);</td></tr>
+<tr class="codeline" data-linenumber="5702"><td class="num" id="LN5702">5702</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5703"><td class="num" id="LN5703">5703</td><td class="line"> menubar = (GtkWidget *)gtk_builder_get_object (ui, <span class='string_literal'>"engrampamenubar"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5704"><td class="num" id="LN5704">5704</td><td class="line"> fr_window_attach (<span class='macro'>FR_WINDOW (window)<span class='macro_popup'>((((FrWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((fr_window_get_type ()))))))</span></span>, menubar, FR_WINDOW_AREA_MENUBAR);</td></tr>
+<tr class="codeline" data-linenumber="5705"><td class="num" id="LN5705">5705</td><td class="line"> gtk_widget_show (menubar);</td></tr>
+<tr class="codeline" data-linenumber="5706"><td class="num" id="LN5706">5706</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5707"><td class="num" id="LN5707">5707</td><td class="line"> window-&gt;priv-&gt;toolbar = toolbar = (GtkWidget *)gtk_builder_get_object (ui, <span class='string_literal'>"engrampatoolbar"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5708"><td class="num" id="LN5708">5708</td><td class="line"> gtk_toolbar_set_show_arrow (<span class='macro'>GTK_TOOLBAR (toolbar)<span class='macro_popup'>((((GtkToolbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((toolbar)), ((gtk_toolbar_get_type ()))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5709"><td class="num" id="LN5709">5709</td><td class="line"> gtk_style_context_add_class (gtk_widget_get_style_context (toolbar), <span class='macro'>GTK_STYLE_CLASS_PRIMARY_TOOLBAR<span class='macro_popup'>"primary-toolbar"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5710"><td class="num" id="LN5710">5710</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5711"><td class="num" id="LN5711">5711</td><td class="line"> <span class='comment'>/* location bar */</span></td></tr>
+<tr class="codeline" data-linenumber="5712"><td class="num" id="LN5712">5712</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5713"><td class="num" id="LN5713">5713</td><td class="line"> window-&gt;priv-&gt;location_bar = (GtkWidget *)gtk_builder_get_object (ui, <span class='string_literal'>"locationbar"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5714"><td class="num" id="LN5714">5714</td><td class="line"> gtk_toolbar_set_show_arrow (<span class='macro'>GTK_TOOLBAR (window-&gt;priv-&gt;location_bar)<span class='macro_popup'>((((GtkToolbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;location_bar)), ((gtk_toolbar_get_type<br> ()))))))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5715"><td class="num" id="LN5715">5715</td><td class="line"> gtk_toolbar_set_style (<span class='macro'>GTK_TOOLBAR (window-&gt;priv-&gt;location_bar)<span class='macro_popup'>((((GtkToolbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;location_bar)), ((gtk_toolbar_get_type<br> ()))))))</span></span>, GTK_TOOLBAR_BOTH_HORIZ);</td></tr>
+<tr class="codeline" data-linenumber="5716"><td class="num" id="LN5716">5716</td><td class="line"> gtk_style_context_add_class (gtk_widget_get_style_context (window-&gt;priv-&gt;location_bar), <span class='macro'>GTK_STYLE_CLASS_TOOLBAR<span class='macro_popup'>"toolbar"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5717"><td class="num" id="LN5717">5717</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5718"><td class="num" id="LN5718">5718</td><td class="line"> init_engramp_menu_popup (window, ui);</td></tr>
+<tr class="codeline" data-linenumber="5719"><td class="num" id="LN5719">5719</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5720"><td class="num" id="LN5720">5720</td><td class="line"> <span class='comment'>/* file list mode */</span></td></tr>
+<tr class="codeline" data-linenumber="5721"><td class="num" id="LN5721">5721</td><td class="line"> menu_radio_files = (GtkWidget *)gtk_builder_get_object (ui, <span class='string_literal'>"view_all_files_item"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5722"><td class="num" id="LN5722">5722</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (menu_radio_files),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((menu_radio_files)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("toggled"), (((GCallback) (view_all_files_selected_toggled<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5723"><td class="num" id="LN5723">5723</td><td class="line"> <span class='string_literal'><span class='macro'>"toggled"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((menu_radio_files)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("toggled"), (((GCallback) (view_all_files_selected_toggled<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5724"><td class="num" id="LN5724">5724</td><td class="line"> <span class='macro'>G_CALLBACK (view_all_files_selected_toggled),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((menu_radio_files)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("toggled"), (((GCallback) (view_all_files_selected_toggled<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5725"><td class="num" id="LN5725">5725</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((menu_radio_files)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("toggled"), (((GCallback) (view_all_files_selected_toggled<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5726"><td class="num" id="LN5726">5726</td><td class="line"> <span class='comment'>/* current location */</span></td></tr>
+<tr class="codeline" data-linenumber="5727"><td class="num" id="LN5727">5727</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5728"><td class="num" id="LN5728">5728</td><td class="line"> location_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);</td></tr>
+<tr class="codeline" data-linenumber="5729"><td class="num" id="LN5729">5729</td><td class="line"> <span class='comment'>/* Translators: after the colon there is a folder name. */</span></td></tr>
+<tr class="codeline" data-linenumber="5730"><td class="num" id="LN5730">5730</td><td class="line"> window-&gt;priv-&gt;location_label = gtk_label_new_with_mnemonic (<span class='macro'>_(<span class='string_literal'>"_Location:"</span>)<span class='macro_popup'>gettext ("_Location:")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5731"><td class="num" id="LN5731">5731</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (location_box)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((location_box)), ((gtk_box_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5732"><td class="num" id="LN5732">5732</td><td class="line"> window-&gt;priv-&gt;location_label, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 5);</td></tr>
+<tr class="codeline" data-linenumber="5733"><td class="num" id="LN5733">5733</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5734"><td class="num" id="LN5734">5734</td><td class="line"> window-&gt;priv-&gt;location_entry = gtk_entry_new ();</td></tr>
+<tr class="codeline" data-linenumber="5735"><td class="num" id="LN5735">5735</td><td class="line"> gtk_entry_set_icon_from_icon_name (<span class='macro'>GTK_ENTRY (window-&gt;priv-&gt;location_entry)<span class='macro_popup'>((((GtkEntry*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;location_entry)), ((gtk_entry_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5736"><td class="num" id="LN5736">5736</td><td class="line"> GTK_ENTRY_ICON_PRIMARY,</td></tr>
+<tr class="codeline" data-linenumber="5737"><td class="num" id="LN5737">5737</td><td class="line"> <span class='string_literal'>"folder"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5738"><td class="num" id="LN5738">5738</td><td class="line"> gtk_label_set_mnemonic_widget (<span class='macro'>GTK_LABEL (window-&gt;priv-&gt;location_label)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;location_label)), ((gtk_label_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5739"><td class="num" id="LN5739">5739</td><td class="line"> window-&gt;priv-&gt;location_entry);</td></tr>
+<tr class="codeline" data-linenumber="5740"><td class="num" id="LN5740">5740</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5741"><td class="num" id="LN5741">5741</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (location_box)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((location_box)), ((gtk_box_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5742"><td class="num" id="LN5742">5742</td><td class="line"> window-&gt;priv-&gt;location_entry, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 5);</td></tr>
+<tr class="codeline" data-linenumber="5743"><td class="num" id="LN5743">5743</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5744"><td class="num" id="LN5744">5744</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;location_entry),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;location_entry)), ((<br>(GType) ((20) &lt;&lt; (2))))))))), ("key_press_event"), (((GCallback<br>) (location_entry_key_press_event_cb))), (window), ((void*)0)<br>, (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5745"><td class="num" id="LN5745">5745</td><td class="line"> <span class='string_literal'><span class='macro'>"key_press_event"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;location_entry)), ((<br>(GType) ((20) &lt;&lt; (2))))))))), ("key_press_event"), (((GCallback<br>) (location_entry_key_press_event_cb))), (window), ((void*)0)<br>, (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5746"><td class="num" id="LN5746">5746</td><td class="line"> <span class='macro'>G_CALLBACK (location_entry_key_press_event_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;location_entry)), ((<br>(GType) ((20) &lt;&lt; (2))))))))), ("key_press_event"), (((GCallback<br>) (location_entry_key_press_event_cb))), (window), ((void*)0)<br>, (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5747"><td class="num" id="LN5747">5747</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;location_entry)), ((<br>(GType) ((20) &lt;&lt; (2))))))))), ("key_press_event"), (((GCallback<br>) (location_entry_key_press_event_cb))), (window), ((void*)0)<br>, (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5748"><td class="num" id="LN5748">5748</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5749"><td class="num" id="LN5749">5749</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="5750"><td class="num" id="LN5750">5750</td><td class="line"> GtkToolItem *tool_item;</td></tr>
+<tr class="codeline" data-linenumber="5751"><td class="num" id="LN5751">5751</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5752"><td class="num" id="LN5752">5752</td><td class="line"> tool_item = gtk_separator_tool_item_new ();</td></tr>
+<tr class="codeline" data-linenumber="5753"><td class="num" id="LN5753">5753</td><td class="line"> gtk_widget_show_all (<span class='macro'>GTK_WIDGET (tool_item)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((tool_item)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5754"><td class="num" id="LN5754">5754</td><td class="line"> gtk_toolbar_insert (<span class='macro'>GTK_TOOLBAR (window-&gt;priv-&gt;location_bar)<span class='macro_popup'>((((GtkToolbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;location_bar)), ((gtk_toolbar_get_type<br> ()))))))</span></span>, tool_item, -1);</td></tr>
+<tr class="codeline" data-linenumber="5755"><td class="num" id="LN5755">5755</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5756"><td class="num" id="LN5756">5756</td><td class="line"> tool_item = gtk_tool_item_new ();</td></tr>
+<tr class="codeline" data-linenumber="5757"><td class="num" id="LN5757">5757</td><td class="line"> gtk_tool_item_set_expand (tool_item, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5758"><td class="num" id="LN5758">5758</td><td class="line"> gtk_container_add (<span class='macro'>GTK_CONTAINER (tool_item)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((tool_item)), ((gtk_container_get_type ()))))))</span></span>, location_box);</td></tr>
+<tr class="codeline" data-linenumber="5759"><td class="num" id="LN5759">5759</td><td class="line"> gtk_widget_show_all (<span class='macro'>GTK_WIDGET (tool_item)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((tool_item)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5760"><td class="num" id="LN5760">5760</td><td class="line"> gtk_toolbar_insert (<span class='macro'>GTK_TOOLBAR (window-&gt;priv-&gt;location_bar)<span class='macro_popup'>((((GtkToolbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;location_bar)), ((gtk_toolbar_get_type<br> ()))))))</span></span>, tool_item, -1);</td></tr>
+<tr class="codeline" data-linenumber="5761"><td class="num" id="LN5761">5761</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5762"><td class="num" id="LN5762">5762</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5763"><td class="num" id="LN5763">5763</td><td class="line"> fr_window_attach (<span class='macro'>FR_WINDOW (window)<span class='macro_popup'>((((FrWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((fr_window_get_type ()))))))</span></span>, window-&gt;priv-&gt;location_bar, FR_WINDOW_AREA_LOCATIONBAR);</td></tr>
+<tr class="codeline" data-linenumber="5764"><td class="num" id="LN5764">5764</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;list_mode == FR_WINDOW_LIST_MODE_FLAT)</td></tr>
+<tr class="codeline" data-linenumber="5765"><td class="num" id="LN5765">5765</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;location_bar);</td></tr>
+<tr class="codeline" data-linenumber="5766"><td class="num" id="LN5766">5766</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="5767"><td class="num" id="LN5767">5767</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;location_bar);</td></tr>
+<tr class="codeline" data-linenumber="5768"><td class="num" id="LN5768">5768</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5769"><td class="num" id="LN5769">5769</td><td class="line"> <span class='comment'>/**/</span></td></tr>
+<tr class="codeline" data-linenumber="5770"><td class="num" id="LN5770">5770</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5771"><td class="num" id="LN5771">5771</td><td class="line"> fr_window_attach (<span class='macro'>FR_WINDOW (window)<span class='macro_popup'>((((FrWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((fr_window_get_type ()))))))</span></span>, window-&gt;priv-&gt;toolbar, FR_WINDOW_AREA_TOOLBAR);</td></tr>
+<tr class="codeline" data-linenumber="5772"><td class="num" id="LN5772">5772</td><td class="line"> <span class='keyword'>if</span> (g_settings_get_boolean (window-&gt;priv-&gt;settings_ui, <span class='macro'>PREF_UI_VIEW_TOOLBAR<span class='macro_popup'>"view-toolbar"</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="5773"><td class="num" id="LN5773">5773</td><td class="line"> gtk_widget_show (toolbar);</td></tr>
+<tr class="codeline" data-linenumber="5774"><td class="num" id="LN5774">5774</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="5775"><td class="num" id="LN5775">5775</td><td class="line"> gtk_widget_hide (toolbar);</td></tr>
+<tr class="codeline" data-linenumber="5776"><td class="num" id="LN5776">5776</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5777"><td class="num" id="LN5777">5777</td><td class="line"> window-&gt;priv-&gt;file_popup_menu = (GtkWidget *)gtk_builder_get_object (ui, <span class='string_literal'>"FilePopupMenu"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5778"><td class="num" id="LN5778">5778</td><td class="line"> window-&gt;priv-&gt;folder_popup_menu = (GtkWidget *)gtk_builder_get_object (ui, <span class='string_literal'>"FolderPopupMenu"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5779"><td class="num" id="LN5779">5779</td><td class="line"> window-&gt;priv-&gt;sidebar_folder_popup_menu = (GtkWidget *)gtk_builder_get_object (ui, <span class='string_literal'>"SidebarFolderPopupMenu"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5780"><td class="num" id="LN5780">5780</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5781"><td class="num" id="LN5781">5781</td><td class="line"> <span class='comment'>/* Create the statusbar. */</span></td></tr>
+<tr class="codeline" data-linenumber="5782"><td class="num" id="LN5782">5782</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5783"><td class="num" id="LN5783">5783</td><td class="line"> window-&gt;priv-&gt;statusbar = gtk_statusbar_new ();</td></tr>
+<tr class="codeline" data-linenumber="5784"><td class="num" id="LN5784">5784</td><td class="line"> window-&gt;priv-&gt;help_message_cid = gtk_statusbar_get_context_id (<span class='macro'>GTK_STATUSBAR (window-&gt;priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;statusbar)), ((gtk_statusbar_get_type<br> ()))))))</span></span>, <span class='string_literal'>"help_message"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5785"><td class="num" id="LN5785">5785</td><td class="line"> window-&gt;priv-&gt;list_info_cid = gtk_statusbar_get_context_id (<span class='macro'>GTK_STATUSBAR (window-&gt;priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;statusbar)), ((gtk_statusbar_get_type<br> ()))))))</span></span>, <span class='string_literal'>"list_info"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5786"><td class="num" id="LN5786">5786</td><td class="line"> window-&gt;priv-&gt;progress_cid = gtk_statusbar_get_context_id (<span class='macro'>GTK_STATUSBAR (window-&gt;priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;statusbar)), ((gtk_statusbar_get_type<br> ()))))))</span></span>, <span class='string_literal'>"progress"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5787"><td class="num" id="LN5787">5787</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5788"><td class="num" id="LN5788">5788</td><td class="line"> statusbar = <span class='macro'>GTK_STATUSBAR (window-&gt;priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;statusbar)), ((gtk_statusbar_get_type<br> ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5789"><td class="num" id="LN5789">5789</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5790"><td class="num" id="LN5790">5790</td><td class="line"> <span class='comment'>/*reduce size of statusbar */</span></td></tr>
+<tr class="codeline" data-linenumber="5791"><td class="num" id="LN5791">5791</td><td class="line"> gtk_widget_set_margin_top (<span class='macro'>GTK_WIDGET (statusbar)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((statusbar)), ((gtk_widget_get_type ()))))))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="5792"><td class="num" id="LN5792">5792</td><td class="line"> gtk_widget_set_margin_bottom (<span class='macro'>GTK_WIDGET (statusbar)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((statusbar)), ((gtk_widget_get_type ()))))))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="5793"><td class="num" id="LN5793">5793</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5794"><td class="num" id="LN5794">5794</td><td class="line"> statusbar_box = gtk_statusbar_get_message_area (statusbar);</td></tr>
+<tr class="codeline" data-linenumber="5795"><td class="num" id="LN5795">5795</td><td class="line"> gtk_box_set_homogeneous (<span class='macro'>GTK_BOX (statusbar_box)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((statusbar_box)), ((gtk_box_get_type ()))))))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5796"><td class="num" id="LN5796">5796</td><td class="line"> gtk_box_set_spacing (<span class='macro'>GTK_BOX (statusbar_box)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((statusbar_box)), ((gtk_box_get_type ()))))))</span></span>, 4);</td></tr>
+<tr class="codeline" data-linenumber="5797"><td class="num" id="LN5797">5797</td><td class="line"> gtk_box_set_child_packing (<span class='macro'>GTK_BOX (statusbar_box)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((statusbar_box)), ((gtk_box_get_type ()))))))</span></span>, gtk_statusbar_get_message_area (statusbar), <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0, GTK_PACK_START );</td></tr>
+<tr class="codeline" data-linenumber="5798"><td class="num" id="LN5798">5798</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5799"><td class="num" id="LN5799">5799</td><td class="line"> window-&gt;priv-&gt;progress_bar = gtk_progress_bar_new ();</td></tr>
+<tr class="codeline" data-linenumber="5800"><td class="num" id="LN5800">5800</td><td class="line"> gtk_progress_bar_set_pulse_step (<span class='macro'>GTK_PROGRESS_BAR (window-&gt;priv-&gt;progress_bar)<span class='macro_popup'>((((GtkProgressBar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_bar)), ((gtk_progress_bar_get_type<br> ()))))))</span></span>, <span class='macro'>ACTIVITY_PULSE_STEP<span class='macro_popup'>(0.033)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5801"><td class="num" id="LN5801">5801</td><td class="line"> gtk_widget_set_size_request (window-&gt;priv-&gt;progress_bar, -1, <span class='macro'>PROGRESS_BAR_HEIGHT<span class='macro_popup'>10</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5802"><td class="num" id="LN5802">5802</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="5803"><td class="num" id="LN5803">5803</td><td class="line"> GtkWidget *vbox;</td></tr>
+<tr class="codeline" data-linenumber="5804"><td class="num" id="LN5804">5804</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5805"><td class="num" id="LN5805">5805</td><td class="line"> vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);</td></tr>
+<tr class="codeline" data-linenumber="5806"><td class="num" id="LN5806">5806</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (statusbar_box)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((statusbar_box)), ((gtk_box_get_type ()))))))</span></span>, vbox, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="5807"><td class="num" id="LN5807">5807</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (vbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((vbox)), ((gtk_box_get_type ()))))))</span></span>, window-&gt;priv-&gt;progress_bar, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 1);</td></tr>
+<tr class="codeline" data-linenumber="5808"><td class="num" id="LN5808">5808</td><td class="line"> gtk_widget_show (vbox);</td></tr>
+<tr class="codeline" data-linenumber="5809"><td class="num" id="LN5809">5809</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5810"><td class="num" id="LN5810">5810</td><td class="line"> gtk_widget_show (statusbar_box);</td></tr>
+<tr class="codeline" data-linenumber="5811"><td class="num" id="LN5811">5811</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5812"><td class="num" id="LN5812">5812</td><td class="line"> fr_window_attach (<span class='macro'>FR_WINDOW (window)<span class='macro_popup'>((((FrWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((fr_window_get_type ()))))))</span></span>, window-&gt;priv-&gt;statusbar, FR_WINDOW_AREA_STATUSBAR);</td></tr>
+<tr class="codeline" data-linenumber="5813"><td class="num" id="LN5813">5813</td><td class="line"> <span class='keyword'>if</span> (g_settings_get_boolean (window-&gt;priv-&gt;settings_ui, <span class='macro'>PREF_UI_VIEW_STATUSBAR<span class='macro_popup'>"view-statusbar"</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="5814"><td class="num" id="LN5814">5814</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;statusbar);</td></tr>
+<tr class="codeline" data-linenumber="5815"><td class="num" id="LN5815">5815</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="5816"><td class="num" id="LN5816">5816</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;statusbar);</td></tr>
+<tr class="codeline" data-linenumber="5817"><td class="num" id="LN5817">5817</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5818"><td class="num" id="LN5818">5818</td><td class="line"> <span class='comment'>/**/</span></td></tr>
+<tr class="codeline" data-linenumber="5819"><td class="num" id="LN5819">5819</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5820"><td class="num" id="LN5820">5820</td><td class="line"> fr_window_update_title (window);</td></tr>
+<tr class="codeline" data-linenumber="5821"><td class="num" id="LN5821">5821</td><td class="line"> fr_window_update_sensitivity (window);</td></tr>
+<tr class="codeline" data-linenumber="5822"><td class="num" id="LN5822">5822</td><td class="line"> fr_window_update_file_list (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5823"><td class="num" id="LN5823">5823</td><td class="line"> fr_window_update_dir_tree (window);</td></tr>
+<tr class="codeline" data-linenumber="5824"><td class="num" id="LN5824">5824</td><td class="line"> fr_window_update_current_location (window);</td></tr>
+<tr class="codeline" data-linenumber="5825"><td class="num" id="LN5825">5825</td><td class="line"> fr_window_update_columns_visibility (window);</td></tr>
+<tr class="codeline" data-linenumber="5826"><td class="num" id="LN5826">5826</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5827"><td class="num" id="LN5827">5827</td><td class="line"> <span class='comment'>/* Add notification callbacks. */</span></td></tr>
+<tr class="codeline" data-linenumber="5828"><td class="num" id="LN5828">5828</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5829"><td class="num" id="LN5829">5829</td><td class="line"> <span class='macro'>g_signal_connect (window-&gt;priv-&gt;settings_ui,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "history-len"), (((GCallback) (pref_history_len_changed))), (<br>window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5830"><td class="num" id="LN5830">5830</td><td class="line"> <span class='string_literal'><span class='macro'>"changed::"</span> PREF_UI_HISTORY_LEN,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "history-len"), (((GCallback) (pref_history_len_changed))), (<br>window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5831"><td class="num" id="LN5831">5831</td><td class="line"> <span class='macro'>G_CALLBACK (pref_history_len_changed),<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "history-len"), (((GCallback) (pref_history_len_changed))), (<br>window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5832"><td class="num" id="LN5832">5832</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "history-len"), (((GCallback) (pref_history_len_changed))), (<br>window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5833"><td class="num" id="LN5833">5833</td><td class="line"> <span class='macro'>g_signal_connect (window-&gt;priv-&gt;settings_ui,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "view-toolbar"), (((GCallback) (pref_view_toolbar_changed)))<br>, (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5834"><td class="num" id="LN5834">5834</td><td class="line"> <span class='string_literal'><span class='macro'>"changed::"</span> PREF_UI_VIEW_TOOLBAR,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "view-toolbar"), (((GCallback) (pref_view_toolbar_changed)))<br>, (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5835"><td class="num" id="LN5835">5835</td><td class="line"> <span class='macro'>G_CALLBACK (pref_view_toolbar_changed),<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "view-toolbar"), (((GCallback) (pref_view_toolbar_changed)))<br>, (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5836"><td class="num" id="LN5836">5836</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "view-toolbar"), (((GCallback) (pref_view_toolbar_changed)))<br>, (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5837"><td class="num" id="LN5837">5837</td><td class="line"> <span class='macro'>g_signal_connect (window-&gt;priv-&gt;settings_ui,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "view-statusbar"), (((GCallback) (pref_view_statusbar_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5838"><td class="num" id="LN5838">5838</td><td class="line"> <span class='string_literal'><span class='macro'>"changed::"</span> PREF_UI_VIEW_STATUSBAR,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "view-statusbar"), (((GCallback) (pref_view_statusbar_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5839"><td class="num" id="LN5839">5839</td><td class="line"> <span class='macro'>G_CALLBACK (pref_view_statusbar_changed),<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "view-statusbar"), (((GCallback) (pref_view_statusbar_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5840"><td class="num" id="LN5840">5840</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "view-statusbar"), (((GCallback) (pref_view_statusbar_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5841"><td class="num" id="LN5841">5841</td><td class="line"> <span class='macro'>g_signal_connect (window-&gt;priv-&gt;settings_ui,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "view-folders"), (((GCallback) (pref_view_folders_changed)))<br>, (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5842"><td class="num" id="LN5842">5842</td><td class="line"> <span class='string_literal'><span class='macro'>"changed::"</span> PREF_UI_VIEW_FOLDERS,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "view-folders"), (((GCallback) (pref_view_folders_changed)))<br>, (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5843"><td class="num" id="LN5843">5843</td><td class="line"> <span class='macro'>G_CALLBACK (pref_view_folders_changed),<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "view-folders"), (((GCallback) (pref_view_folders_changed)))<br>, (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5844"><td class="num" id="LN5844">5844</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "view-folders"), (((GCallback) (pref_view_folders_changed)))<br>, (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5845"><td class="num" id="LN5845">5845</td><td class="line"> <span class='macro'>g_signal_connect (window-&gt;priv-&gt;settings_listing,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-type"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5846"><td class="num" id="LN5846">5846</td><td class="line"> <span class='string_literal'><span class='macro'>"changed::"</span> PREF_LISTING_SHOW_TYPE,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-type"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5847"><td class="num" id="LN5847">5847</td><td class="line"> <span class='macro'>G_CALLBACK (pref_show_field_changed),<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-type"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5848"><td class="num" id="LN5848">5848</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-type"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5849"><td class="num" id="LN5849">5849</td><td class="line"> <span class='macro'>g_signal_connect (window-&gt;priv-&gt;settings_listing,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-size"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5850"><td class="num" id="LN5850">5850</td><td class="line"> <span class='string_literal'><span class='macro'>"changed::"</span> PREF_LISTING_SHOW_SIZE,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-size"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5851"><td class="num" id="LN5851">5851</td><td class="line"> <span class='macro'>G_CALLBACK (pref_show_field_changed),<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-size"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5852"><td class="num" id="LN5852">5852</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-size"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5853"><td class="num" id="LN5853">5853</td><td class="line"> <span class='macro'>g_signal_connect (window-&gt;priv-&gt;settings_listing,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-time"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5854"><td class="num" id="LN5854">5854</td><td class="line"> <span class='string_literal'><span class='macro'>"changed::"</span> PREF_LISTING_SHOW_TIME,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-time"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5855"><td class="num" id="LN5855">5855</td><td class="line"> <span class='macro'>G_CALLBACK (pref_show_field_changed),<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-time"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5856"><td class="num" id="LN5856">5856</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-time"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5857"><td class="num" id="LN5857">5857</td><td class="line"> <span class='macro'>g_signal_connect (window-&gt;priv-&gt;settings_listing,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-path"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5858"><td class="num" id="LN5858">5858</td><td class="line"> <span class='string_literal'><span class='macro'>"changed::"</span> PREF_LISTING_SHOW_PATH,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-path"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5859"><td class="num" id="LN5859">5859</td><td class="line"> <span class='macro'>G_CALLBACK (pref_show_field_changed),<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-path"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5860"><td class="num" id="LN5860">5860</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-path"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5861"><td class="num" id="LN5861">5861</td><td class="line"> <span class='macro'>g_signal_connect (window-&gt;priv-&gt;settings_listing,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "use-mime-icons"), (((GCallback) (pref_use_mime_icons_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5862"><td class="num" id="LN5862">5862</td><td class="line"> <span class='string_literal'><span class='macro'>"changed::"</span> PREF_LISTING_USE_MIME_ICONS,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "use-mime-icons"), (((GCallback) (pref_use_mime_icons_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5863"><td class="num" id="LN5863">5863</td><td class="line"> <span class='macro'>G_CALLBACK (pref_use_mime_icons_changed),<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "use-mime-icons"), (((GCallback) (pref_use_mime_icons_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5864"><td class="num" id="LN5864">5864</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "use-mime-icons"), (((GCallback) (pref_use_mime_icons_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5865"><td class="num" id="LN5865">5865</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5866"><td class="num" id="LN5866">5866</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;settings_caja)</td></tr>
+<tr class="codeline" data-linenumber="5867"><td class="num" id="LN5867">5867</td><td class="line"> <span class='macro'>g_signal_connect (window-&gt;priv-&gt;settings_caja,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_caja), (<br>"changed::" "click-policy"), (((GCallback) (pref_click_policy_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5868"><td class="num" id="LN5868">5868</td><td class="line"> <span class='string_literal'><span class='macro'>"changed::"</span> CAJA_CLICK_POLICY,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_caja), (<br>"changed::" "click-policy"), (((GCallback) (pref_click_policy_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5869"><td class="num" id="LN5869">5869</td><td class="line"> <span class='macro'>G_CALLBACK (pref_click_policy_changed),<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_caja), (<br>"changed::" "click-policy"), (((GCallback) (pref_click_policy_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5870"><td class="num" id="LN5870">5870</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_caja), (<br>"changed::" "click-policy"), (((GCallback) (pref_click_policy_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5871"><td class="num" id="LN5871">5871</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5872"><td class="num" id="LN5872">5872</td><td class="line"> <span class='comment'>/* Give focus to the list. */</span></td></tr>
+<tr class="codeline" data-linenumber="5873"><td class="num" id="LN5873">5873</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5874"><td class="num" id="LN5874">5874</td><td class="line"> gtk_widget_grab_focus (window-&gt;priv-&gt;list_view);</td></tr>
+<tr class="codeline" data-linenumber="5875"><td class="num" id="LN5875">5875</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5876"><td class="num" id="LN5876">5876</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5877"><td class="num" id="LN5877">5877</td><td class="line">GtkWidget *</td></tr>
+<tr class="codeline" data-linenumber="5878"><td class="num" id="LN5878">5878</td><td class="line">fr_window_new (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="5879"><td class="num" id="LN5879">5879</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5880"><td class="num" id="LN5880">5880</td><td class="line"> GtkWidget *window;</td></tr>
+<tr class="codeline" data-linenumber="5881"><td class="num" id="LN5881">5881</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5882"><td class="num" id="LN5882">5882</td><td class="line"> window = g_object_new (<span class='macro'>FR_TYPE_WINDOW<span class='macro_popup'>(fr_window_get_type ())</span></span>, <span class='string_literal'>"application"</span>, g_application_get_default (), <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5883"><td class="num" id="LN5883">5883</td><td class="line"> fr_window_construct ((FrWindow*) window);</td></tr>
+<tr class="codeline" data-linenumber="5884"><td class="num" id="LN5884">5884</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5885"><td class="num" id="LN5885">5885</td><td class="line"> <span class='keyword'>return</span> window;</td></tr>
+<tr class="codeline" data-linenumber="5886"><td class="num" id="LN5886">5886</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5887"><td class="num" id="LN5887">5887</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5888"><td class="num" id="LN5888">5888</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5889"><td class="num" id="LN5889">5889</td><td class="line">fr_window_set_archive_uri (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="5890"><td class="num" id="LN5890">5890</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *uri)</td></tr>
+<tr class="codeline" data-linenumber="5891"><td class="num" id="LN5891">5891</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5892"><td class="num" id="LN5892">5892</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;archive_uri != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="5893"><td class="num" id="LN5893">5893</td><td class="line"> g_free (window-&gt;priv-&gt;archive_uri);</td></tr>
+<tr class="codeline" data-linenumber="5894"><td class="num" id="LN5894">5894</td><td class="line"> window-&gt;priv-&gt;archive_uri = <span class='macro'>g_strdup (uri)<span class='macro_popup'>g_strdup_inline (uri)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5895"><td class="num" id="LN5895">5895</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5896"><td class="num" id="LN5896">5896</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5897"><td class="num" id="LN5897">5897</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="5898"><td class="num" id="LN5898">5898</td><td class="line">fr_window_archive_new (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="5899"><td class="num" id="LN5899">5899</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *uri)</td></tr>
+<tr class="codeline" data-linenumber="5900"><td class="num" id="LN5900">5900</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5901"><td class="num" id="LN5901">5901</td><td class="line"> <span class='macro'>g_return_val_if_fail (window != NULL, FALSE)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5902"><td class="num" id="LN5902">5902</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5903"><td class="num" id="LN5903">5903</td><td class="line"> <span class='keyword'>if</span> (! fr_archive_create (window-&gt;archive, uri)) {</td></tr>
+<tr class="codeline" data-linenumber="5904"><td class="num" id="LN5904">5904</td><td class="line"> GtkWindow *file_sel = g_object_get_data (<span class='macro'>G_OBJECT (window)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"fr_file_sel"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5905"><td class="num" id="LN5905">5905</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5906"><td class="num" id="LN5906">5906</td><td class="line"> window-&gt;priv-&gt;load_error_parent_window = file_sel;</td></tr>
+<tr class="codeline" data-linenumber="5907"><td class="num" id="LN5907">5907</td><td class="line"> fr_archive_action_completed (window-&gt;archive,</td></tr>
+<tr class="codeline" data-linenumber="5908"><td class="num" id="LN5908">5908</td><td class="line"> FR_ACTION_CREATING_NEW_ARCHIVE,</td></tr>
+<tr class="codeline" data-linenumber="5909"><td class="num" id="LN5909">5909</td><td class="line"> FR_PROC_ERROR_GENERIC,</td></tr>
+<tr class="codeline" data-linenumber="5910"><td class="num" id="LN5910">5910</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Archive type not supported."</span>)<span class='macro_popup'>gettext ("Archive type not supported.")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5911"><td class="num" id="LN5911">5911</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5912"><td class="num" id="LN5912">5912</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5913"><td class="num" id="LN5913">5913</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5914"><td class="num" id="LN5914">5914</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5915"><td class="num" id="LN5915">5915</td><td class="line"> fr_window_set_archive_uri (window, uri);</td></tr>
+<tr class="codeline" data-linenumber="5916"><td class="num" id="LN5916">5916</td><td class="line"> window-&gt;priv-&gt;archive_present = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5917"><td class="num" id="LN5917">5917</td><td class="line"> window-&gt;priv-&gt;archive_new = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5918"><td class="num" id="LN5918">5918</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5919"><td class="num" id="LN5919">5919</td><td class="line"> fr_archive_action_completed (window-&gt;archive,</td></tr>
+<tr class="codeline" data-linenumber="5920"><td class="num" id="LN5920">5920</td><td class="line"> FR_ACTION_CREATING_NEW_ARCHIVE,</td></tr>
+<tr class="codeline" data-linenumber="5921"><td class="num" id="LN5921">5921</td><td class="line"> FR_PROC_ERROR_NONE,</td></tr>
+<tr class="codeline" data-linenumber="5922"><td class="num" id="LN5922">5922</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5923"><td class="num" id="LN5923">5923</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5924"><td class="num" id="LN5924">5924</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5925"><td class="num" id="LN5925">5925</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5926"><td class="num" id="LN5926">5926</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5927"><td class="num" id="LN5927">5927</td><td class="line">FrWindow *</td></tr>
+<tr class="codeline" data-linenumber="5928"><td class="num" id="LN5928">5928</td><td class="line">fr_window_archive_open (FrWindow *current_window,</td></tr>
+<tr class="codeline" data-linenumber="5929"><td class="num" id="LN5929">5929</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *uri,</td></tr>
+<tr class="codeline" data-linenumber="5930"><td class="num" id="LN5930">5930</td><td class="line"> GtkWindow *parent)</td></tr>
+<tr class="codeline" data-linenumber="5931"><td class="num" id="LN5931">5931</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5932"><td class="num" id="LN5932">5932</td><td class="line"> FrWindow *window = current_window;</td></tr>
+<tr class="codeline" data-linenumber="5933"><td class="num" id="LN5933">5933</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5934"><td class="num" id="LN5934">5934</td><td class="line"> <span class='keyword'>if</span> (current_window-&gt;priv-&gt;archive_present)</td></tr>
+<tr class="codeline" data-linenumber="5935"><td class="num" id="LN5935">5935</td><td class="line"> window = (FrWindow *) fr_window_new ();</td></tr>
+<tr class="codeline" data-linenumber="5936"><td class="num" id="LN5936">5936</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5937"><td class="num" id="LN5937">5937</td><td class="line"> <span class='macro'>g_return_val_if_fail (window != NULL, FALSE)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5938"><td class="num" id="LN5938">5938</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5939"><td class="num" id="LN5939">5939</td><td class="line"> fr_window_archive_close (window);</td></tr>
+<tr class="codeline" data-linenumber="5940"><td class="num" id="LN5940">5940</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5941"><td class="num" id="LN5941">5941</td><td class="line"> fr_window_set_archive_uri (window, uri);</td></tr>
+<tr class="codeline" data-linenumber="5942"><td class="num" id="LN5942">5942</td><td class="line"> window-&gt;priv-&gt;archive_present = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5943"><td class="num" id="LN5943">5943</td><td class="line"> window-&gt;priv-&gt;give_focus_to_the_list = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5944"><td class="num" id="LN5944">5944</td><td class="line"> window-&gt;priv-&gt;load_error_parent_window = parent;</td></tr>
+<tr class="codeline" data-linenumber="5945"><td class="num" id="LN5945">5945</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5946"><td class="num" id="LN5946">5946</td><td class="line"> fr_window_set_current_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="5947"><td class="num" id="LN5947">5947</td><td class="line"> FR_BATCH_ACTION_LOAD,</td></tr>
+<tr class="codeline" data-linenumber="5948"><td class="num" id="LN5948">5948</td><td class="line"> <span class='macro'>g_strdup (window-&gt;priv-&gt;archive_uri)<span class='macro_popup'>g_strdup_inline (window-&gt;priv-&gt;archive_uri)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5949"><td class="num" id="LN5949">5949</td><td class="line"> (GFreeFunc) g_free);</td></tr>
+<tr class="codeline" data-linenumber="5950"><td class="num" id="LN5950">5950</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5951"><td class="num" id="LN5951">5951</td><td class="line"> fr_archive_load (window-&gt;archive, window-&gt;priv-&gt;archive_uri, window-&gt;priv-&gt;password);</td></tr>
+<tr class="codeline" data-linenumber="5952"><td class="num" id="LN5952">5952</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5953"><td class="num" id="LN5953">5953</td><td class="line"> <span class='keyword'>return</span> window;</td></tr>
+<tr class="codeline" data-linenumber="5954"><td class="num" id="LN5954">5954</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5955"><td class="num" id="LN5955">5955</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5956"><td class="num" id="LN5956">5956</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5957"><td class="num" id="LN5957">5957</td><td class="line">fr_window_archive_close (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5958"><td class="num" id="LN5958">5958</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5959"><td class="num" id="LN5959">5959</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5960"><td class="num" id="LN5960">5960</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5961"><td class="num" id="LN5961">5961</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;archive_new &amp;&amp; ! window-&gt;priv-&gt;archive_present)</td></tr>
+<tr class="codeline" data-linenumber="5962"><td class="num" id="LN5962">5962</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="5963"><td class="num" id="LN5963">5963</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5964"><td class="num" id="LN5964">5964</td><td class="line"> fr_window_free_open_files (window);</td></tr>
+<tr class="codeline" data-linenumber="5965"><td class="num" id="LN5965">5965</td><td class="line"> fr_clipboard_data_unref (window-&gt;priv-&gt;copy_data);</td></tr>
+<tr class="codeline" data-linenumber="5966"><td class="num" id="LN5966">5966</td><td class="line"> window-&gt;priv-&gt;copy_data = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5967"><td class="num" id="LN5967">5967</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5968"><td class="num" id="LN5968">5968</td><td class="line"> fr_window_set_password (window, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5969"><td class="num" id="LN5969">5969</td><td class="line"> fr_window_set_volume_size(window, 0);</td></tr>
+<tr class="codeline" data-linenumber="5970"><td class="num" id="LN5970">5970</td><td class="line"> fr_window_history_clear (window);</td></tr>
+<tr class="codeline" data-linenumber="5971"><td class="num" id="LN5971">5971</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5972"><td class="num" id="LN5972">5972</td><td class="line"> window-&gt;priv-&gt;archive_new = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5973"><td class="num" id="LN5973">5973</td><td class="line"> window-&gt;priv-&gt;archive_present = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5974"><td class="num" id="LN5974">5974</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5975"><td class="num" id="LN5975">5975</td><td class="line"> fr_window_update_title (window);</td></tr>
+<tr class="codeline" data-linenumber="5976"><td class="num" id="LN5976">5976</td><td class="line"> fr_window_update_sensitivity (window);</td></tr>
+<tr class="codeline" data-linenumber="5977"><td class="num" id="LN5977">5977</td><td class="line"> fr_window_update_file_list (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5978"><td class="num" id="LN5978">5978</td><td class="line"> fr_window_update_dir_tree (window);</td></tr>
+<tr class="codeline" data-linenumber="5979"><td class="num" id="LN5979">5979</td><td class="line"> fr_window_update_current_location (window);</td></tr>
+<tr class="codeline" data-linenumber="5980"><td class="num" id="LN5980">5980</td><td class="line"> fr_window_update_statusbar_list_info (window);</td></tr>
+<tr class="codeline" data-linenumber="5981"><td class="num" id="LN5981">5981</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5982"><td class="num" id="LN5982">5982</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5983"><td class="num" id="LN5983">5983</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="5984"><td class="num" id="LN5984">5984</td><td class="line">fr_window_get_archive_uri (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5985"><td class="num" id="LN5985">5985</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5986"><td class="num" id="LN5986">5986</td><td class="line"> <span class='macro'>g_return_val_if_fail (window != NULL, NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5987"><td class="num" id="LN5987">5987</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5988"><td class="num" id="LN5988">5988</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;archive_uri;</td></tr>
+<tr class="codeline" data-linenumber="5989"><td class="num" id="LN5989">5989</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5990"><td class="num" id="LN5990">5990</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5991"><td class="num" id="LN5991">5991</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="5992"><td class="num" id="LN5992">5992</td><td class="line">fr_window_get_paste_archive_uri (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5993"><td class="num" id="LN5993">5993</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5994"><td class="num" id="LN5994">5994</td><td class="line"> <span class='macro'>g_return_val_if_fail (window != NULL, NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5995"><td class="num" id="LN5995">5995</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5996"><td class="num" id="LN5996">5996</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;clipboard_data != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="5997"><td class="num" id="LN5997">5997</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;clipboard_data-&gt;archive_filename;</td></tr>
+<tr class="codeline" data-linenumber="5998"><td class="num" id="LN5998">5998</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="5999"><td class="num" id="LN5999">5999</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6000"><td class="num" id="LN6000">6000</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6001"><td class="num" id="LN6001">6001</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6002"><td class="num" id="LN6002">6002</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="6003"><td class="num" id="LN6003">6003</td><td class="line">fr_window_archive_is_present (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="6004"><td class="num" id="LN6004">6004</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6005"><td class="num" id="LN6005">6005</td><td class="line"> <span class='macro'>g_return_val_if_fail (window != NULL, FALSE)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6006"><td class="num" id="LN6006">6006</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6007"><td class="num" id="LN6007">6007</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;archive_present;</td></tr>
+<tr class="codeline" data-linenumber="6008"><td class="num" id="LN6008">6008</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6009"><td class="num" id="LN6009">6009</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6010"><td class="num" id="LN6010">6010</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span> {</td></tr>
+<tr class="codeline" data-linenumber="6011"><td class="num" id="LN6011">6011</td><td class="line"> <span class='keyword'>char</span> *uri;</td></tr>
+<tr class="codeline" data-linenumber="6012"><td class="num" id="LN6012">6012</td><td class="line"> <span class='keyword'>char</span> *password;</td></tr>
+<tr class="codeline" data-linenumber="6013"><td class="num" id="LN6013">6013</td><td class="line"> gboolean encrypt_header;</td></tr>
+<tr class="codeline" data-linenumber="6014"><td class="num" id="LN6014">6014</td><td class="line"> guint volume_size;</td></tr>
+<tr class="codeline" data-linenumber="6015"><td class="num" id="LN6015">6015</td><td class="line">} SaveAsData;</td></tr>
+<tr class="codeline" data-linenumber="6016"><td class="num" id="LN6016">6016</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6017"><td class="num" id="LN6017">6017</td><td class="line"><span class='keyword'>static</span> SaveAsData *</td></tr>
+<tr class="codeline" data-linenumber="6018"><td class="num" id="LN6018">6018</td><td class="line">save_as_data_new (<span class='keyword'>const</span> <span class='keyword'>char</span> *uri,</td></tr>
+<tr class="codeline" data-linenumber="6019"><td class="num" id="LN6019">6019</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *password,</td></tr>
+<tr class="codeline" data-linenumber="6020"><td class="num" id="LN6020">6020</td><td class="line"> gboolean encrypt_header,</td></tr>
+<tr class="codeline" data-linenumber="6021"><td class="num" id="LN6021">6021</td><td class="line"> guint volume_size)</td></tr>
+<tr class="codeline" data-linenumber="6022"><td class="num" id="LN6022">6022</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6023"><td class="num" id="LN6023">6023</td><td class="line"> SaveAsData *sdata;</td></tr>
+<tr class="codeline" data-linenumber="6024"><td class="num" id="LN6024">6024</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6025"><td class="num" id="LN6025">6025</td><td class="line"> sdata = <span class='macro'>g_new0 (SaveAsData, 1)<span class='macro_popup'>((SaveAsData *) g_malloc0_n ((1), sizeof (SaveAsData)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6026"><td class="num" id="LN6026">6026</td><td class="line"> <span class='keyword'>if</span> (uri != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="6027"><td class="num" id="LN6027">6027</td><td class="line"> sdata-&gt;uri = <span class='macro'>g_strdup (uri)<span class='macro_popup'>g_strdup_inline (uri)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6028"><td class="num" id="LN6028">6028</td><td class="line"> <span class='keyword'>if</span> (password != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="6029"><td class="num" id="LN6029">6029</td><td class="line"> sdata-&gt;password = <span class='macro'>g_strdup (password)<span class='macro_popup'>g_strdup_inline (password)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6030"><td class="num" id="LN6030">6030</td><td class="line"> sdata-&gt;encrypt_header = encrypt_header;</td></tr>
+<tr class="codeline" data-linenumber="6031"><td class="num" id="LN6031">6031</td><td class="line"> sdata-&gt;volume_size = volume_size;</td></tr>
+<tr class="codeline" data-linenumber="6032"><td class="num" id="LN6032">6032</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6033"><td class="num" id="LN6033">6033</td><td class="line"> <span class='keyword'>return</span> sdata;</td></tr>
+<tr class="codeline" data-linenumber="6034"><td class="num" id="LN6034">6034</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6035"><td class="num" id="LN6035">6035</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6036"><td class="num" id="LN6036">6036</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6037"><td class="num" id="LN6037">6037</td><td class="line">save_as_data_free (SaveAsData *sdata)</td></tr>
+<tr class="codeline" data-linenumber="6038"><td class="num" id="LN6038">6038</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6039"><td class="num" id="LN6039">6039</td><td class="line"> <span class='keyword'>if</span> (sdata == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="6040"><td class="num" id="LN6040">6040</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6041"><td class="num" id="LN6041">6041</td><td class="line"> g_free (sdata-&gt;uri);</td></tr>
+<tr class="codeline" data-linenumber="6042"><td class="num" id="LN6042">6042</td><td class="line"> g_free (sdata-&gt;password);</td></tr>
+<tr class="codeline" data-linenumber="6043"><td class="num" id="LN6043">6043</td><td class="line"> g_free (sdata);</td></tr>
+<tr class="codeline" data-linenumber="6044"><td class="num" id="LN6044">6044</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6045"><td class="num" id="LN6045">6045</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6046"><td class="num" id="LN6046">6046</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6047"><td class="num" id="LN6047">6047</td><td class="line">fr_window_archive_save_as (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6048"><td class="num" id="LN6048">6048</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *uri,</td></tr>
+<tr class="codeline" data-linenumber="6049"><td class="num" id="LN6049">6049</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *password,</td></tr>
+<tr class="codeline" data-linenumber="6050"><td class="num" id="LN6050">6050</td><td class="line"> gboolean encrypt_header,</td></tr>
+<tr class="codeline" data-linenumber="6051"><td class="num" id="LN6051">6051</td><td class="line"> guint volume_size)</td></tr>
+<tr class="codeline" data-linenumber="6052"><td class="num" id="LN6052">6052</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6053"><td class="num" id="LN6053">6053</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6054"><td class="num" id="LN6054">6054</td><td class="line"> <span class='macro'>g_return_if_fail (uri != NULL)<span class='macro_popup'>do { if ((uri != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "uri != NULL"); return<br>; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6055"><td class="num" id="LN6055">6055</td><td class="line"> <span class='macro'>g_return_if_fail (window-&gt;archive != NULL)<span class='macro_popup'>do { if ((window-&gt;archive != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window-&gt;archive != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6056"><td class="num" id="LN6056">6056</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6057"><td class="num" id="LN6057">6057</td><td class="line"> fr_window_convert_data_free (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6058"><td class="num" id="LN6058">6058</td><td class="line"> window-&gt;priv-&gt;convert_data.new_file = <span class='macro'>g_strdup (uri)<span class='macro_popup'>g_strdup_inline (uri)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6059"><td class="num" id="LN6059">6059</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6060"><td class="num" id="LN6060">6060</td><td class="line"> <span class='comment'>/* create the new archive */</span></td></tr>
+<tr class="codeline" data-linenumber="6061"><td class="num" id="LN6061">6061</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6062"><td class="num" id="LN6062">6062</td><td class="line"> window-&gt;priv-&gt;convert_data.new_archive = fr_archive_new ();</td></tr>
+<tr class="codeline" data-linenumber="6063"><td class="num" id="LN6063">6063</td><td class="line"> <span class='keyword'>if</span> (! fr_archive_create (window-&gt;priv-&gt;convert_data.new_archive, uri)) {</td></tr>
+<tr class="codeline" data-linenumber="6064"><td class="num" id="LN6064">6064</td><td class="line"> GtkWidget *d;</td></tr>
+<tr class="codeline" data-linenumber="6065"><td class="num" id="LN6065">6065</td><td class="line"> <span class='keyword'>char</span> *utf8_name;</td></tr>
+<tr class="codeline" data-linenumber="6066"><td class="num" id="LN6066">6066</td><td class="line"> <span class='keyword'>char</span> *message;</td></tr>
+<tr class="codeline" data-linenumber="6067"><td class="num" id="LN6067">6067</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6068"><td class="num" id="LN6068">6068</td><td class="line"> utf8_name = g_uri_display_basename (uri);</td></tr>
+<tr class="codeline" data-linenumber="6069"><td class="num" id="LN6069">6069</td><td class="line"> message = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Could not save the archive \"%s\""</span>)<span class='macro_popup'>gettext ("Could not save the archive \"%s\"")</span></span>, utf8_name);</td></tr>
+<tr class="codeline" data-linenumber="6070"><td class="num" id="LN6070">6070</td><td class="line"> g_free (utf8_name);</td></tr>
+<tr class="codeline" data-linenumber="6071"><td class="num" id="LN6071">6071</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6072"><td class="num" id="LN6072">6072</td><td class="line"> d = _gtk_error_dialog_new (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6073"><td class="num" id="LN6073">6073</td><td class="line"> GTK_DIALOG_DESTROY_WITH_PARENT,</td></tr>
+<tr class="codeline" data-linenumber="6074"><td class="num" id="LN6074">6074</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6075"><td class="num" id="LN6075">6075</td><td class="line"> message,</td></tr>
+<tr class="codeline" data-linenumber="6076"><td class="num" id="LN6076">6076</td><td class="line"> <span class='string_literal'>"%s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="6077"><td class="num" id="LN6077">6077</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Archive type not supported."</span>)<span class='macro_popup'>gettext ("Archive type not supported.")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6078"><td class="num" id="LN6078">6078</td><td class="line"> gtk_dialog_run (<span class='macro'>GTK_DIALOG (d)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_dialog_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6079"><td class="num" id="LN6079">6079</td><td class="line"> gtk_widget_destroy (d);</td></tr>
+<tr class="codeline" data-linenumber="6080"><td class="num" id="LN6080">6080</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6081"><td class="num" id="LN6081">6081</td><td class="line"> g_free (message);</td></tr>
+<tr class="codeline" data-linenumber="6082"><td class="num" id="LN6082">6082</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6083"><td class="num" id="LN6083">6083</td><td class="line"> g_object_unref (window-&gt;priv-&gt;convert_data.new_archive);</td></tr>
+<tr class="codeline" data-linenumber="6084"><td class="num" id="LN6084">6084</td><td class="line"> window-&gt;priv-&gt;convert_data.new_archive = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6085"><td class="num" id="LN6085">6085</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6086"><td class="num" id="LN6086">6086</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6087"><td class="num" id="LN6087">6087</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6088"><td class="num" id="LN6088">6088</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6089"><td class="num" id="LN6089">6089</td><td class="line"> <span class='macro'>g_return_if_fail (window-&gt;priv-&gt;convert_data.new_archive-&gt;command != NULL)<span class='macro_popup'>do { if ((window-&gt;priv-&gt;convert_data.new_archive-&gt;command<br> != ((void*)0))) { } else { g_return_if_fail_warning (((gchar<br>*) 0), ((const char*) (__func__)), "window-&gt;priv-&gt;convert_data.new_archive-&gt;command != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6090"><td class="num" id="LN6090">6090</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6091"><td class="num" id="LN6091">6091</td><td class="line"> <span class='keyword'>if</span> (password != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="6092"><td class="num" id="LN6092">6092</td><td class="line"> window-&gt;priv-&gt;convert_data.password = <span class='macro'>g_strdup (password)<span class='macro_popup'>g_strdup_inline (password)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6093"><td class="num" id="LN6093">6093</td><td class="line"> window-&gt;priv-&gt;convert_data.encrypt_header = encrypt_header;</td></tr>
+<tr class="codeline" data-linenumber="6094"><td class="num" id="LN6094">6094</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6095"><td class="num" id="LN6095">6095</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="6096"><td class="num" id="LN6096">6096</td><td class="line"> window-&gt;priv-&gt;convert_data.encrypt_header = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6097"><td class="num" id="LN6097">6097</td><td class="line"> window-&gt;priv-&gt;convert_data.volume_size = volume_size;</td></tr>
+<tr class="codeline" data-linenumber="6098"><td class="num" id="LN6098">6098</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6099"><td class="num" id="LN6099">6099</td><td class="line"> fr_window_set_current_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="6100"><td class="num" id="LN6100">6100</td><td class="line"> FR_BATCH_ACTION_SAVE_AS,</td></tr>
+<tr class="codeline" data-linenumber="6101"><td class="num" id="LN6101">6101</td><td class="line"> save_as_data_new (uri, password, encrypt_header, volume_size),</td></tr>
+<tr class="codeline" data-linenumber="6102"><td class="num" id="LN6102">6102</td><td class="line"> (GFreeFunc) save_as_data_free);</td></tr>
+<tr class="codeline" data-linenumber="6103"><td class="num" id="LN6103">6103</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6104"><td class="num" id="LN6104">6104</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;convert_data.new_archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("start"), (((GCallback<br>) (action_started))), (window), ((void*)0), (GConnectFlags) 0<br>)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6105"><td class="num" id="LN6105">6105</td><td class="line"> <span class='string_literal'><span class='macro'>"start"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("start"), (((GCallback<br>) (action_started))), (window), ((void*)0), (GConnectFlags) 0<br>)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6106"><td class="num" id="LN6106">6106</td><td class="line"> <span class='macro'>G_CALLBACK (action_started),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("start"), (((GCallback<br>) (action_started))), (window), ((void*)0), (GConnectFlags) 0<br>)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6107"><td class="num" id="LN6107">6107</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("start"), (((GCallback<br>) (action_started))), (window), ((void*)0), (GConnectFlags) 0<br>)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6108"><td class="num" id="LN6108">6108</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;convert_data.new_archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("done"), (((GCallback<br>) (convert__action_performed))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6109"><td class="num" id="LN6109">6109</td><td class="line"> <span class='string_literal'><span class='macro'>"done"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("done"), (((GCallback<br>) (convert__action_performed))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6110"><td class="num" id="LN6110">6110</td><td class="line"> <span class='macro'>G_CALLBACK (convert__action_performed),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("done"), (((GCallback<br>) (convert__action_performed))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6111"><td class="num" id="LN6111">6111</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("done"), (((GCallback<br>) (convert__action_performed))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6112"><td class="num" id="LN6112">6112</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;convert_data.new_archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("progress"), (((GCallback<br>) (fr_window_progress_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6113"><td class="num" id="LN6113">6113</td><td class="line"> <span class='string_literal'><span class='macro'>"progress"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("progress"), (((GCallback<br>) (fr_window_progress_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6114"><td class="num" id="LN6114">6114</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_progress_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("progress"), (((GCallback<br>) (fr_window_progress_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6115"><td class="num" id="LN6115">6115</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("progress"), (((GCallback<br>) (fr_window_progress_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6116"><td class="num" id="LN6116">6116</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;convert_data.new_archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("message"), (((GCallback<br>) (fr_window_message_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6117"><td class="num" id="LN6117">6117</td><td class="line"> <span class='string_literal'><span class='macro'>"message"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("message"), (((GCallback<br>) (fr_window_message_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6118"><td class="num" id="LN6118">6118</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_message_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("message"), (((GCallback<br>) (fr_window_message_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6119"><td class="num" id="LN6119">6119</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("message"), (((GCallback<br>) (fr_window_message_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6120"><td class="num" id="LN6120">6120</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;convert_data.new_archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("stoppable"), (((GCallback<br>) (fr_window_stoppable_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6121"><td class="num" id="LN6121">6121</td><td class="line"> <span class='string_literal'><span class='macro'>"stoppable"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("stoppable"), (((GCallback<br>) (fr_window_stoppable_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6122"><td class="num" id="LN6122">6122</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_stoppable_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("stoppable"), (((GCallback<br>) (fr_window_stoppable_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6123"><td class="num" id="LN6123">6123</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("stoppable"), (((GCallback<br>) (fr_window_stoppable_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6124"><td class="num" id="LN6124">6124</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6125"><td class="num" id="LN6125">6125</td><td class="line"> window-&gt;priv-&gt;convert_data.converting = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6126"><td class="num" id="LN6126">6126</td><td class="line"> window-&gt;priv-&gt;convert_data.temp_dir = get_temp_work_dir (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6127"><td class="num" id="LN6127">6127</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6128"><td class="num" id="LN6128">6128</td><td class="line"> fr_process_clear (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="6129"><td class="num" id="LN6129">6129</td><td class="line"> fr_archive_extract_to_local (window-&gt;archive,</td></tr>
+<tr class="codeline" data-linenumber="6130"><td class="num" id="LN6130">6130</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6131"><td class="num" id="LN6131">6131</td><td class="line"> window-&gt;priv-&gt;convert_data.temp_dir,</td></tr>
+<tr class="codeline" data-linenumber="6132"><td class="num" id="LN6132">6132</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6133"><td class="num" id="LN6133">6133</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6134"><td class="num" id="LN6134">6134</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6135"><td class="num" id="LN6135">6135</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6136"><td class="num" id="LN6136">6136</td><td class="line"> window-&gt;priv-&gt;password);</td></tr>
+<tr class="codeline" data-linenumber="6137"><td class="num" id="LN6137">6137</td><td class="line"> fr_process_start (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="6138"><td class="num" id="LN6138">6138</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6139"><td class="num" id="LN6139">6139</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6140"><td class="num" id="LN6140">6140</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6141"><td class="num" id="LN6141">6141</td><td class="line">fr_window_archive_reload (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="6142"><td class="num" id="LN6142">6142</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6143"><td class="num" id="LN6143">6143</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6144"><td class="num" id="LN6144">6144</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6145"><td class="num" id="LN6145">6145</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;activity_ref &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="6146"><td class="num" id="LN6146">6146</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6147"><td class="num" id="LN6147">6147</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;archive_new)</td></tr>
+<tr class="codeline" data-linenumber="6148"><td class="num" id="LN6148">6148</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6149"><td class="num" id="LN6149">6149</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6150"><td class="num" id="LN6150">6150</td><td class="line"> fr_archive_reload (window-&gt;archive, window-&gt;priv-&gt;password);</td></tr>
+<tr class="codeline" data-linenumber="6151"><td class="num" id="LN6151">6151</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6152"><td class="num" id="LN6152">6152</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6153"><td class="num" id="LN6153">6153</td><td class="line"><span class='comment'>/**/</span></td></tr>
+<tr class="codeline" data-linenumber="6154"><td class="num" id="LN6154">6154</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6155"><td class="num" id="LN6155">6155</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6156"><td class="num" id="LN6156">6156</td><td class="line">fr_window_archive_add_files (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6157"><td class="num" id="LN6157">6157</td><td class="line"> GList *file_list, <span class='comment'>/* GFile list */</span></td></tr>
+<tr class="codeline" data-linenumber="6158"><td class="num" id="LN6158">6158</td><td class="line"> gboolean update)</td></tr>
+<tr class="codeline" data-linenumber="6159"><td class="num" id="LN6159">6159</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6160"><td class="num" id="LN6160">6160</td><td class="line"> GFile *base;</td></tr>
+<tr class="codeline" data-linenumber="6161"><td class="num" id="LN6161">6161</td><td class="line"> <span class='keyword'>char</span> *base_dir;</td></tr>
+<tr class="codeline" data-linenumber="6162"><td class="num" id="LN6162">6162</td><td class="line"> <span class='keyword'>int</span> base_len;</td></tr>
+<tr class="codeline" data-linenumber="6163"><td class="num" id="LN6163">6163</td><td class="line"> GList *files = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6164"><td class="num" id="LN6164">6164</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="6165"><td class="num" id="LN6165">6165</td><td class="line"> <span class='keyword'>char</span> *base_uri;</td></tr>
+<tr class="codeline" data-linenumber="6166"><td class="num" id="LN6166">6166</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6167"><td class="num" id="LN6167">6167</td><td class="line"> base = g_file_get_parent ((GFile *) file_list-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="6168"><td class="num" id="LN6168">6168</td><td class="line"> base_dir = g_file_get_path (base);</td></tr>
+<tr class="codeline" data-linenumber="6169"><td class="num" id="LN6169">6169</td><td class="line"> base_len = 0;</td></tr>
+<tr class="codeline" data-linenumber="6170"><td class="num" id="LN6170">6170</td><td class="line"> <span class='keyword'>if</span> (strcmp (base_dir, <span class='string_literal'>"/"</span>) != 0)</td></tr>
+<tr class="codeline" data-linenumber="6171"><td class="num" id="LN6171">6171</td><td class="line"> base_len = strlen (base_dir);</td></tr>
+<tr class="codeline" data-linenumber="6172"><td class="num" id="LN6172">6172</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6173"><td class="num" id="LN6173">6173</td><td class="line"> <span class='keyword'>for</span> (scan = file_list; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="6174"><td class="num" id="LN6174">6174</td><td class="line"> GFile *file = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="6175"><td class="num" id="LN6175">6175</td><td class="line"> <span class='keyword'>char</span> *path;</td></tr>
+<tr class="codeline" data-linenumber="6176"><td class="num" id="LN6176">6176</td><td class="line"> <span class='keyword'>char</span> *rel_path;</td></tr>
+<tr class="codeline" data-linenumber="6177"><td class="num" id="LN6177">6177</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6178"><td class="num" id="LN6178">6178</td><td class="line"> path = g_file_get_path (file);</td></tr>
+<tr class="codeline" data-linenumber="6179"><td class="num" id="LN6179">6179</td><td class="line"> rel_path = <span class='macro'>g_strdup (path + base_len + 1)<span class='macro_popup'>g_strdup_inline (path + base_len + 1)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6180"><td class="num" id="LN6180">6180</td><td class="line"> files = g_list_prepend (files, rel_path);</td></tr>
+<tr class="codeline" data-linenumber="6181"><td class="num" id="LN6181">6181</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6182"><td class="num" id="LN6182">6182</td><td class="line"> g_free (path);</td></tr>
+<tr class="codeline" data-linenumber="6183"><td class="num" id="LN6183">6183</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6184"><td class="num" id="LN6184">6184</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6185"><td class="num" id="LN6185">6185</td><td class="line"> base_uri = g_file_get_uri (base);</td></tr>
+<tr class="codeline" data-linenumber="6186"><td class="num" id="LN6186">6186</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6187"><td class="num" id="LN6187">6187</td><td class="line"> fr_archive_add_files (window-&gt;archive,</td></tr>
+<tr class="codeline" data-linenumber="6188"><td class="num" id="LN6188">6188</td><td class="line"> files,</td></tr>
+<tr class="codeline" data-linenumber="6189"><td class="num" id="LN6189">6189</td><td class="line"> base_uri,</td></tr>
+<tr class="codeline" data-linenumber="6190"><td class="num" id="LN6190">6190</td><td class="line"> fr_window_get_current_location (window),</td></tr>
+<tr class="codeline" data-linenumber="6191"><td class="num" id="LN6191">6191</td><td class="line"> update,</td></tr>
+<tr class="codeline" data-linenumber="6192"><td class="num" id="LN6192">6192</td><td class="line"> window-&gt;priv-&gt;password,</td></tr>
+<tr class="codeline" data-linenumber="6193"><td class="num" id="LN6193">6193</td><td class="line"> window-&gt;priv-&gt;encrypt_header,</td></tr>
+<tr class="codeline" data-linenumber="6194"><td class="num" id="LN6194">6194</td><td class="line"> window-&gt;priv-&gt;compression,</td></tr>
+<tr class="codeline" data-linenumber="6195"><td class="num" id="LN6195">6195</td><td class="line"> window-&gt;priv-&gt;volume_size);</td></tr>
+<tr class="codeline" data-linenumber="6196"><td class="num" id="LN6196">6196</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6197"><td class="num" id="LN6197">6197</td><td class="line"> g_free (base_uri);</td></tr>
+<tr class="codeline" data-linenumber="6198"><td class="num" id="LN6198">6198</td><td class="line"> path_list_free (files);</td></tr>
+<tr class="codeline" data-linenumber="6199"><td class="num" id="LN6199">6199</td><td class="line"> g_free (base_dir);</td></tr>
+<tr class="codeline" data-linenumber="6200"><td class="num" id="LN6200">6200</td><td class="line"> g_object_unref (base);</td></tr>
+<tr class="codeline" data-linenumber="6201"><td class="num" id="LN6201">6201</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6202"><td class="num" id="LN6202">6202</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6203"><td class="num" id="LN6203">6203</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6204"><td class="num" id="LN6204">6204</td><td class="line">fr_window_archive_add_with_wildcard (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6205"><td class="num" id="LN6205">6205</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *include_files,</td></tr>
+<tr class="codeline" data-linenumber="6206"><td class="num" id="LN6206">6206</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *exclude_files,</td></tr>
+<tr class="codeline" data-linenumber="6207"><td class="num" id="LN6207">6207</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *exclude_folders,</td></tr>
+<tr class="codeline" data-linenumber="6208"><td class="num" id="LN6208">6208</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *base_dir,</td></tr>
+<tr class="codeline" data-linenumber="6209"><td class="num" id="LN6209">6209</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *dest_dir,</td></tr>
+<tr class="codeline" data-linenumber="6210"><td class="num" id="LN6210">6210</td><td class="line"> gboolean update,</td></tr>
+<tr class="codeline" data-linenumber="6211"><td class="num" id="LN6211">6211</td><td class="line"> gboolean follow_links)</td></tr>
+<tr class="codeline" data-linenumber="6212"><td class="num" id="LN6212">6212</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6213"><td class="num" id="LN6213">6213</td><td class="line"> fr_archive_add_with_wildcard (window-&gt;archive,</td></tr>
+<tr class="codeline" data-linenumber="6214"><td class="num" id="LN6214">6214</td><td class="line"> include_files,</td></tr>
+<tr class="codeline" data-linenumber="6215"><td class="num" id="LN6215">6215</td><td class="line"> exclude_files,</td></tr>
+<tr class="codeline" data-linenumber="6216"><td class="num" id="LN6216">6216</td><td class="line"> exclude_folders,</td></tr>
+<tr class="codeline" data-linenumber="6217"><td class="num" id="LN6217">6217</td><td class="line"> base_dir,</td></tr>
+<tr class="codeline" data-linenumber="6218"><td class="num" id="LN6218">6218</td><td class="line"> (dest_dir == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)? fr_window_get_current_location (window): dest_dir,</td></tr>
+<tr class="codeline" data-linenumber="6219"><td class="num" id="LN6219">6219</td><td class="line"> update,</td></tr>
+<tr class="codeline" data-linenumber="6220"><td class="num" id="LN6220">6220</td><td class="line"> follow_links,</td></tr>
+<tr class="codeline" data-linenumber="6221"><td class="num" id="LN6221">6221</td><td class="line"> window-&gt;priv-&gt;password,</td></tr>
+<tr class="codeline" data-linenumber="6222"><td class="num" id="LN6222">6222</td><td class="line"> window-&gt;priv-&gt;encrypt_header,</td></tr>
+<tr class="codeline" data-linenumber="6223"><td class="num" id="LN6223">6223</td><td class="line"> window-&gt;priv-&gt;compression,</td></tr>
+<tr class="codeline" data-linenumber="6224"><td class="num" id="LN6224">6224</td><td class="line"> window-&gt;priv-&gt;volume_size);</td></tr>
+<tr class="codeline" data-linenumber="6225"><td class="num" id="LN6225">6225</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6226"><td class="num" id="LN6226">6226</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6227"><td class="num" id="LN6227">6227</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6228"><td class="num" id="LN6228">6228</td><td class="line">fr_window_archive_add_directory (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6229"><td class="num" id="LN6229">6229</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *directory,</td></tr>
+<tr class="codeline" data-linenumber="6230"><td class="num" id="LN6230">6230</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *base_dir,</td></tr>
+<tr class="codeline" data-linenumber="6231"><td class="num" id="LN6231">6231</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *dest_dir,</td></tr>
+<tr class="codeline" data-linenumber="6232"><td class="num" id="LN6232">6232</td><td class="line"> gboolean update)</td></tr>
+<tr class="codeline" data-linenumber="6233"><td class="num" id="LN6233">6233</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6234"><td class="num" id="LN6234">6234</td><td class="line"> fr_archive_add_directory (window-&gt;archive,</td></tr>
+<tr class="codeline" data-linenumber="6235"><td class="num" id="LN6235">6235</td><td class="line"> directory,</td></tr>
+<tr class="codeline" data-linenumber="6236"><td class="num" id="LN6236">6236</td><td class="line"> base_dir,</td></tr>
+<tr class="codeline" data-linenumber="6237"><td class="num" id="LN6237">6237</td><td class="line"> (dest_dir == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)? fr_window_get_current_location (window): dest_dir,</td></tr>
+<tr class="codeline" data-linenumber="6238"><td class="num" id="LN6238">6238</td><td class="line"> update,</td></tr>
+<tr class="codeline" data-linenumber="6239"><td class="num" id="LN6239">6239</td><td class="line"> window-&gt;priv-&gt;password,</td></tr>
+<tr class="codeline" data-linenumber="6240"><td class="num" id="LN6240">6240</td><td class="line"> window-&gt;priv-&gt;encrypt_header,</td></tr>
+<tr class="codeline" data-linenumber="6241"><td class="num" id="LN6241">6241</td><td class="line"> window-&gt;priv-&gt;compression,</td></tr>
+<tr class="codeline" data-linenumber="6242"><td class="num" id="LN6242">6242</td><td class="line"> window-&gt;priv-&gt;volume_size);</td></tr>
+<tr class="codeline" data-linenumber="6243"><td class="num" id="LN6243">6243</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6244"><td class="num" id="LN6244">6244</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6245"><td class="num" id="LN6245">6245</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6246"><td class="num" id="LN6246">6246</td><td class="line">fr_window_archive_add_items (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6247"><td class="num" id="LN6247">6247</td><td class="line"> GList *item_list,</td></tr>
+<tr class="codeline" data-linenumber="6248"><td class="num" id="LN6248">6248</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *base_dir,</td></tr>
+<tr class="codeline" data-linenumber="6249"><td class="num" id="LN6249">6249</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *dest_dir,</td></tr>
+<tr class="codeline" data-linenumber="6250"><td class="num" id="LN6250">6250</td><td class="line"> gboolean update)</td></tr>
+<tr class="codeline" data-linenumber="6251"><td class="num" id="LN6251">6251</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6252"><td class="num" id="LN6252">6252</td><td class="line"> fr_archive_add_items (window-&gt;archive,</td></tr>
+<tr class="codeline" data-linenumber="6253"><td class="num" id="LN6253">6253</td><td class="line"> item_list,</td></tr>
+<tr class="codeline" data-linenumber="6254"><td class="num" id="LN6254">6254</td><td class="line"> base_dir,</td></tr>
+<tr class="codeline" data-linenumber="6255"><td class="num" id="LN6255">6255</td><td class="line"> (dest_dir == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)? fr_window_get_current_location (window): dest_dir,</td></tr>
+<tr class="codeline" data-linenumber="6256"><td class="num" id="LN6256">6256</td><td class="line"> update,</td></tr>
+<tr class="codeline" data-linenumber="6257"><td class="num" id="LN6257">6257</td><td class="line"> window-&gt;priv-&gt;password,</td></tr>
+<tr class="codeline" data-linenumber="6258"><td class="num" id="LN6258">6258</td><td class="line"> window-&gt;priv-&gt;encrypt_header,</td></tr>
+<tr class="codeline" data-linenumber="6259"><td class="num" id="LN6259">6259</td><td class="line"> window-&gt;priv-&gt;compression,</td></tr>
+<tr class="codeline" data-linenumber="6260"><td class="num" id="LN6260">6260</td><td class="line"> window-&gt;priv-&gt;volume_size);</td></tr>
+<tr class="codeline" data-linenumber="6261"><td class="num" id="LN6261">6261</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6262"><td class="num" id="LN6262">6262</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6263"><td class="num" id="LN6263">6263</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6264"><td class="num" id="LN6264">6264</td><td class="line">fr_window_archive_add_dropped_items (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6265"><td class="num" id="LN6265">6265</td><td class="line"> GList *item_list,</td></tr>
+<tr class="codeline" data-linenumber="6266"><td class="num" id="LN6266">6266</td><td class="line"> gboolean update)</td></tr>
+<tr class="codeline" data-linenumber="6267"><td class="num" id="LN6267">6267</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6268"><td class="num" id="LN6268">6268</td><td class="line"> fr_archive_add_dropped_items (window-&gt;archive,</td></tr>
+<tr class="codeline" data-linenumber="6269"><td class="num" id="LN6269">6269</td><td class="line"> item_list,</td></tr>
+<tr class="codeline" data-linenumber="6270"><td class="num" id="LN6270">6270</td><td class="line"> fr_window_get_current_location (window),</td></tr>
+<tr class="codeline" data-linenumber="6271"><td class="num" id="LN6271">6271</td><td class="line"> fr_window_get_current_location (window),</td></tr>
+<tr class="codeline" data-linenumber="6272"><td class="num" id="LN6272">6272</td><td class="line"> update,</td></tr>
+<tr class="codeline" data-linenumber="6273"><td class="num" id="LN6273">6273</td><td class="line"> window-&gt;priv-&gt;password,</td></tr>
+<tr class="codeline" data-linenumber="6274"><td class="num" id="LN6274">6274</td><td class="line"> window-&gt;priv-&gt;encrypt_header,</td></tr>
+<tr class="codeline" data-linenumber="6275"><td class="num" id="LN6275">6275</td><td class="line"> window-&gt;priv-&gt;compression,</td></tr>
+<tr class="codeline" data-linenumber="6276"><td class="num" id="LN6276">6276</td><td class="line"> window-&gt;priv-&gt;volume_size);</td></tr>
+<tr class="codeline" data-linenumber="6277"><td class="num" id="LN6277">6277</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6278"><td class="num" id="LN6278">6278</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6279"><td class="num" id="LN6279">6279</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6280"><td class="num" id="LN6280">6280</td><td class="line">remove_data_free (GList *rdata)</td></tr>
+<tr class="codeline" data-linenumber="6281"><td class="num" id="LN6281">6281</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6282"><td class="num" id="LN6282">6282</td><td class="line"> g_list_free_full(rdata, g_free);</td></tr>
+<tr class="codeline" data-linenumber="6283"><td class="num" id="LN6283">6283</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6284"><td class="num" id="LN6284">6284</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6285"><td class="num" id="LN6285">6285</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6286"><td class="num" id="LN6286">6286</td><td class="line">fr_window_archive_remove (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6287"><td class="num" id="LN6287">6287</td><td class="line"> GList *file_list)</td></tr>
+<tr class="codeline" data-linenumber="6288"><td class="num" id="LN6288">6288</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6289"><td class="num" id="LN6289">6289</td><td class="line"> <span class='keyword'>char</span> *password;</td></tr>
+<tr class="codeline" data-linenumber="6290"><td class="num" id="LN6290">6290</td><td class="line"> GList *remove_list;</td></tr>
+<tr class="codeline" data-linenumber="6291"><td class="num" id="LN6291">6291</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6292"><td class="num" id="LN6292">6292</td><td class="line"> fr_window_clipboard_remove_file_list (window, file_list);</td></tr>
+<tr class="codeline" data-linenumber="6293"><td class="num" id="LN6293">6293</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6294"><td class="num" id="LN6294">6294</td><td class="line"> fr_process_clear (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="6295"><td class="num" id="LN6295">6295</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6296"><td class="num" id="LN6296">6296</td><td class="line"> remove_list = g_list_copy_deep (file_list, (GCopyFunc) g_strdup, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6297"><td class="num" id="LN6297">6297</td><td class="line"> fr_window_set_current_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="6298"><td class="num" id="LN6298">6298</td><td class="line"> FR_BATCH_ACTION_DELETE,</td></tr>
+<tr class="codeline" data-linenumber="6299"><td class="num" id="LN6299">6299</td><td class="line"> remove_list,</td></tr>
+<tr class="codeline" data-linenumber="6300"><td class="num" id="LN6300">6300</td><td class="line"> (GFreeFunc) remove_data_free);</td></tr>
+<tr class="codeline" data-linenumber="6301"><td class="num" id="LN6301">6301</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6302"><td class="num" id="LN6302">6302</td><td class="line"> password = window-&gt;priv-&gt;password;</td></tr>
+<tr class="codeline" data-linenumber="6303"><td class="num" id="LN6303">6303</td><td class="line"> <span class='keyword'>if</span> (password != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; password[0] != '\0')</td></tr>
+<tr class="codeline" data-linenumber="6304"><td class="num" id="LN6304">6304</td><td class="line"> g_object_set (window-&gt;archive-&gt;command, <span class='string_literal'>"password"</span>, password, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6305"><td class="num" id="LN6305">6305</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6306"><td class="num" id="LN6306">6306</td><td class="line"> fr_archive_remove (window-&gt;archive, remove_list, window-&gt;priv-&gt;compression);</td></tr>
+<tr class="codeline" data-linenumber="6307"><td class="num" id="LN6307">6307</td><td class="line"> fr_process_start (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="6308"><td class="num" id="LN6308">6308</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6309"><td class="num" id="LN6309">6309</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6310"><td class="num" id="LN6310">6310</td><td class="line"><span class='comment'>/* -- window_archive_extract -- */</span></td></tr>
+<tr class="codeline" data-linenumber="6311"><td class="num" id="LN6311">6311</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6312"><td class="num" id="LN6312">6312</td><td class="line"><span class='keyword'>static</span> ExtractData*</td></tr>
+<tr class="codeline" data-linenumber="6313"><td class="num" id="LN6313">6313</td><td class="line">extract_data_new (GList *file_list,</td></tr>
+<tr class="codeline" data-linenumber="6314"><td class="num" id="LN6314">6314</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *extract_to_dir,</td></tr>
+<tr class="codeline" data-linenumber="6315"><td class="num" id="LN6315">6315</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *sub_dir,</td></tr>
+<tr class="codeline" data-linenumber="6316"><td class="num" id="LN6316">6316</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *base_dir,</td></tr>
+<tr class="codeline" data-linenumber="6317"><td class="num" id="LN6317">6317</td><td class="line"> gboolean skip_older,</td></tr>
+<tr class="codeline" data-linenumber="6318"><td class="num" id="LN6318">6318</td><td class="line"> FrOverwrite overwrite,</td></tr>
+<tr class="codeline" data-linenumber="6319"><td class="num" id="LN6319">6319</td><td class="line"> gboolean junk_paths,</td></tr>
+<tr class="codeline" data-linenumber="6320"><td class="num" id="LN6320">6320</td><td class="line"> gboolean extract_here,</td></tr>
+<tr class="codeline" data-linenumber="6321"><td class="num" id="LN6321">6321</td><td class="line"> gboolean ask_to_open_destination)</td></tr>
+<tr class="codeline" data-linenumber="6322"><td class="num" id="LN6322">6322</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6323"><td class="num" id="LN6323">6323</td><td class="line"> ExtractData *edata;</td></tr>
+<tr class="codeline" data-linenumber="6324"><td class="num" id="LN6324">6324</td><td class="line"> <span class='keyword'>int</span> i = 1;</td></tr>
+<tr class="codeline" data-linenumber="6325"><td class="num" id="LN6325">6325</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6326"><td class="num" id="LN6326">6326</td><td class="line"> edata = <span class='macro'>g_new0 (ExtractData, 1)<span class='macro_popup'>((ExtractData *) g_malloc0_n ((1), sizeof (ExtractData)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6327"><td class="num" id="LN6327">6327</td><td class="line"> edata-&gt;file_list = path_list_dup (file_list);</td></tr>
+<tr class="codeline" data-linenumber="6328"><td class="num" id="LN6328">6328</td><td class="line"> <span class='keyword'>if</span> (sub_dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="6329"><td class="num" id="LN6329">6329</td><td class="line"> edata-&gt;sub_dir = <span class='macro'>g_strdup (sub_dir)<span class='macro_popup'>g_strdup_inline (sub_dir)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6330"><td class="num" id="LN6330">6330</td><td class="line"> <span class='keyword'>if</span> (extract_to_dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; sub_dir == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="6331"><td class="num" id="LN6331">6331</td><td class="line"> edata-&gt;extract_to_dir = <span class='macro'>g_strdup (extract_to_dir)<span class='macro_popup'>g_strdup_inline (extract_to_dir)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6332"><td class="num" id="LN6332">6332</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> (extract_to_dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; sub_dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="6333"><td class="num" id="LN6333">6333</td><td class="line"> edata-&gt;extract_to_dir = g_build_filename (extract_to_dir, sub_dir, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6334"><td class="num" id="LN6334">6334</td><td class="line"> <span class='keyword'>while</span> (uri_exists (edata-&gt;extract_to_dir) &amp;&amp; uri_is_file (edata-&gt;extract_to_dir)) {</td></tr>
+<tr class="codeline" data-linenumber="6335"><td class="num" id="LN6335">6335</td><td class="line"> g_free (edata-&gt;extract_to_dir);</td></tr>
+<tr class="codeline" data-linenumber="6336"><td class="num" id="LN6336">6336</td><td class="line"> edata-&gt;extract_to_dir = g_strdup_printf (<span class='string_literal'>"%s/%s_%d"</span>, extract_to_dir, sub_dir, i++);</td></tr>
+<tr class="codeline" data-linenumber="6337"><td class="num" id="LN6337">6337</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6338"><td class="num" id="LN6338">6338</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6339"><td class="num" id="LN6339">6339</td><td class="line"> edata-&gt;skip_older = skip_older;</td></tr>
+<tr class="codeline" data-linenumber="6340"><td class="num" id="LN6340">6340</td><td class="line"> edata-&gt;overwrite = overwrite;</td></tr>
+<tr class="codeline" data-linenumber="6341"><td class="num" id="LN6341">6341</td><td class="line"> edata-&gt;junk_paths = junk_paths;</td></tr>
+<tr class="codeline" data-linenumber="6342"><td class="num" id="LN6342">6342</td><td class="line"> <span class='keyword'>if</span> (base_dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="6343"><td class="num" id="LN6343">6343</td><td class="line"> edata-&gt;base_dir = <span class='macro'>g_strdup (base_dir)<span class='macro_popup'>g_strdup_inline (base_dir)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6344"><td class="num" id="LN6344">6344</td><td class="line"> edata-&gt;extract_here = extract_here;</td></tr>
+<tr class="codeline" data-linenumber="6345"><td class="num" id="LN6345">6345</td><td class="line"> edata-&gt;ask_to_open_destination = ask_to_open_destination;</td></tr>
+<tr class="codeline" data-linenumber="6346"><td class="num" id="LN6346">6346</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6347"><td class="num" id="LN6347">6347</td><td class="line"> <span class='keyword'>return</span> edata;</td></tr>
+<tr class="codeline" data-linenumber="6348"><td class="num" id="LN6348">6348</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6349"><td class="num" id="LN6349">6349</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6350"><td class="num" id="LN6350">6350</td><td class="line"><span class='keyword'>static</span> ExtractData*</td></tr>
+<tr class="codeline" data-linenumber="6351"><td class="num" id="LN6351">6351</td><td class="line">extract_to_data_new (<span class='keyword'>const</span> <span class='keyword'>char</span> *extract_to_dir)</td></tr>
+<tr class="codeline" data-linenumber="6352"><td class="num" id="LN6352">6352</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6353"><td class="num" id="LN6353">6353</td><td class="line"> <span class='keyword'>return</span> extract_data_new (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6354"><td class="num" id="LN6354">6354</td><td class="line"> extract_to_dir,</td></tr>
+<tr class="codeline" data-linenumber="6355"><td class="num" id="LN6355">6355</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6356"><td class="num" id="LN6356">6356</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6357"><td class="num" id="LN6357">6357</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6358"><td class="num" id="LN6358">6358</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6359"><td class="num" id="LN6359">6359</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6360"><td class="num" id="LN6360">6360</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6361"><td class="num" id="LN6361">6361</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6362"><td class="num" id="LN6362">6362</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6363"><td class="num" id="LN6363">6363</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6364"><td class="num" id="LN6364">6364</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6365"><td class="num" id="LN6365">6365</td><td class="line">extract_data_free (ExtractData *edata)</td></tr>
+<tr class="codeline" data-linenumber="6366"><td class="num" id="LN6366">6366</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6367"><td class="num" id="LN6367">6367</td><td class="line"> <span class='macro'>g_return_if_fail (edata != NULL)<span class='macro_popup'>do { if ((edata != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "edata != NULL");<br> return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6368"><td class="num" id="LN6368">6368</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6369"><td class="num" id="LN6369">6369</td><td class="line"> path_list_free (edata-&gt;file_list);</td></tr>
+<tr class="codeline" data-linenumber="6370"><td class="num" id="LN6370">6370</td><td class="line"> g_free (edata-&gt;extract_to_dir);</td></tr>
+<tr class="codeline" data-linenumber="6371"><td class="num" id="LN6371">6371</td><td class="line"> g_free (edata-&gt;sub_dir);</td></tr>
+<tr class="codeline" data-linenumber="6372"><td class="num" id="LN6372">6372</td><td class="line"> g_free (edata-&gt;base_dir);</td></tr>
+<tr class="codeline" data-linenumber="6373"><td class="num" id="LN6373">6373</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6374"><td class="num" id="LN6374">6374</td><td class="line"> g_free (edata);</td></tr>
+<tr class="codeline" data-linenumber="6375"><td class="num" id="LN6375">6375</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6376"><td class="num" id="LN6376">6376</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6377"><td class="num" id="LN6377">6377</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="6378"><td class="num" id="LN6378">6378</td><td class="line">archive_is_encrypted (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6379"><td class="num" id="LN6379">6379</td><td class="line"> GList *file_list)</td></tr>
+<tr class="codeline" data-linenumber="6380"><td class="num" id="LN6380">6380</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6381"><td class="num" id="LN6381">6381</td><td class="line"> gboolean encrypted = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6382"><td class="num" id="LN6382">6382</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6383"><td class="num" id="LN6383">6383</td><td class="line"> <span class='keyword'>if</span> (file_list == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="6384"><td class="num" id="LN6384">6384</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="6385"><td class="num" id="LN6385">6385</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6386"><td class="num" id="LN6386">6386</td><td class="line"> <span class='keyword'>for</span> (i = 0; ! encrypted &amp;&amp; i &lt; window-&gt;archive-&gt;command-&gt;files-&gt;len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="6387"><td class="num" id="LN6387">6387</td><td class="line"> FileData *fdata = <span class='macro'>g_ptr_array_index (window-&gt;archive-&gt;command-&gt;files, i)<span class='macro_popup'>((window-&gt;archive-&gt;command-&gt;files)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6388"><td class="num" id="LN6388">6388</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6389"><td class="num" id="LN6389">6389</td><td class="line"> <span class='keyword'>if</span> (fdata-&gt;encrypted)</td></tr>
+<tr class="codeline" data-linenumber="6390"><td class="num" id="LN6390">6390</td><td class="line"> encrypted = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6391"><td class="num" id="LN6391">6391</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6392"><td class="num" id="LN6392">6392</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6393"><td class="num" id="LN6393">6393</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="6394"><td class="num" id="LN6394">6394</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6395"><td class="num" id="LN6395">6395</td><td class="line"> GHashTable *file_hash;</td></tr>
+<tr class="codeline" data-linenumber="6396"><td class="num" id="LN6396">6396</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="6397"><td class="num" id="LN6397">6397</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="6398"><td class="num" id="LN6398">6398</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6399"><td class="num" id="LN6399">6399</td><td class="line"> file_hash = g_hash_table_new (g_str_hash, g_str_equal);</td></tr>
+<tr class="codeline" data-linenumber="6400"><td class="num" id="LN6400">6400</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; window-&gt;archive-&gt;command-&gt;files-&gt;len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="6401"><td class="num" id="LN6401">6401</td><td class="line"> FileData *fdata = <span class='macro'>g_ptr_array_index (window-&gt;archive-&gt;command-&gt;files, i)<span class='macro_popup'>((window-&gt;archive-&gt;command-&gt;files)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6402"><td class="num" id="LN6402">6402</td><td class="line"> g_hash_table_insert (file_hash, fdata-&gt;original_path, fdata);</td></tr>
+<tr class="codeline" data-linenumber="6403"><td class="num" id="LN6403">6403</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6404"><td class="num" id="LN6404">6404</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6405"><td class="num" id="LN6405">6405</td><td class="line"> <span class='keyword'>for</span> (scan = file_list; ! encrypted &amp;&amp; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="6406"><td class="num" id="LN6406">6406</td><td class="line"> <span class='keyword'>char</span> *filename = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="6407"><td class="num" id="LN6407">6407</td><td class="line"> FileData *fdata;</td></tr>
+<tr class="codeline" data-linenumber="6408"><td class="num" id="LN6408">6408</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6409"><td class="num" id="LN6409">6409</td><td class="line"> fdata = g_hash_table_lookup (file_hash, filename);</td></tr>
+<tr class="codeline" data-linenumber="6410"><td class="num" id="LN6410">6410</td><td class="line"> <span class='macro'>g_return_val_if_fail (fdata != NULL, FALSE)<span class='macro_popup'>do { if ((fdata != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "fdata != NULL");<br> return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6411"><td class="num" id="LN6411">6411</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6412"><td class="num" id="LN6412">6412</td><td class="line"> <span class='keyword'>if</span> (fdata-&gt;encrypted)</td></tr>
+<tr class="codeline" data-linenumber="6413"><td class="num" id="LN6413">6413</td><td class="line"> encrypted = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6414"><td class="num" id="LN6414">6414</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6415"><td class="num" id="LN6415">6415</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6416"><td class="num" id="LN6416">6416</td><td class="line"> g_hash_table_destroy (file_hash);</td></tr>
+<tr class="codeline" data-linenumber="6417"><td class="num" id="LN6417">6417</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6418"><td class="num" id="LN6418">6418</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6419"><td class="num" id="LN6419">6419</td><td class="line"> <span class='keyword'>return</span> encrypted;</td></tr>
+<tr class="codeline" data-linenumber="6420"><td class="num" id="LN6420">6420</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6421"><td class="num" id="LN6421">6421</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6422"><td class="num" id="LN6422">6422</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="6423"><td class="num" id="LN6423">6423</td><td class="line">archive_extract_check_disk_space_full (GPtrArray *files,</td></tr>
+<tr class="codeline" data-linenumber="6424"><td class="num" id="LN6424">6424</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *extract_to_dir)</td></tr>
+<tr class="codeline" data-linenumber="6425"><td class="num" id="LN6425">6425</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6426"><td class="num" id="LN6426">6426</td><td class="line"> guint64 freespace;</td></tr>
+<tr class="codeline" data-linenumber="6427"><td class="num" id="LN6427">6427</td><td class="line"> guint64 archive_size = 0;</td></tr>
+<tr class="codeline" data-linenumber="6428"><td class="num" id="LN6428">6428</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="6429"><td class="num" id="LN6429">6429</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6430"><td class="num" id="LN6430">6430</td><td class="line"> freespace = get_dest_free_space (g_filename_from_uri (extract_to_dir, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="6431"><td class="num" id="LN6431">6431</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6432"><td class="num" id="LN6432">6432</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt;files-&gt;len; i++)</td></tr>
+<tr class="codeline" data-linenumber="6433"><td class="num" id="LN6433">6433</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="6434"><td class="num" id="LN6434">6434</td><td class="line"> FileData *fdata = <span class='macro'>g_ptr_array_index (files, i)<span class='macro_popup'>((files)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6435"><td class="num" id="LN6435">6435</td><td class="line"> archive_size += fdata-&gt;size;</td></tr>
+<tr class="codeline" data-linenumber="6436"><td class="num" id="LN6436">6436</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6437"><td class="num" id="LN6437">6437</td><td class="line"> <span class='comment'>/* When the decompressed target file is less than 100MB,</span></td></tr>
+<tr class="codeline" data-linenumber="6438"><td class="num" id="LN6438">6438</td><td class="line"> <span class='comment'>2 * (target file size) needs to disk space</span></td></tr>
+<tr class="codeline" data-linenumber="6439"><td class="num" id="LN6439">6439</td><td class="line"> <span class='comment'>and when it is greater than 100MB,</span></td></tr>
+<tr class="codeline" data-linenumber="6440"><td class="num" id="LN6440">6440</td><td class="line"> <span class='comment'>100MB + (target file size) needs to disk space */</span></td></tr>
+<tr class="codeline" data-linenumber="6441"><td class="num" id="LN6441">6441</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6442"><td class="num" id="LN6442">6442</td><td class="line"> <span class='keyword'>if</span> (archive_size &lt;= 1024 * 1024 * 100)</td></tr>
+<tr class="codeline" data-linenumber="6443"><td class="num" id="LN6443">6443</td><td class="line"> archive_size = archive_size * 2;</td></tr>
+<tr class="codeline" data-linenumber="6444"><td class="num" id="LN6444">6444</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="6445"><td class="num" id="LN6445">6445</td><td class="line"> archive_size += 1024 * 1024 * 100;</td></tr>
+<tr class="codeline" data-linenumber="6446"><td class="num" id="LN6446">6446</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6447"><td class="num" id="LN6447">6447</td><td class="line"> <span class='keyword'>return</span> freespace &lt; archive_size * 2;</td></tr>
+<tr class="codeline" data-linenumber="6448"><td class="num" id="LN6448">6448</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6449"><td class="num" id="LN6449">6449</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6450"><td class="num" id="LN6450">6450</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6451"><td class="num" id="LN6451">6451</td><td class="line">fr_window_archive_extract_here (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6452"><td class="num" id="LN6452">6452</td><td class="line"> gboolean skip_older,</td></tr>
+<tr class="codeline" data-linenumber="6453"><td class="num" id="LN6453">6453</td><td class="line"> FrOverwrite overwrite,</td></tr>
+<tr class="codeline" data-linenumber="6454"><td class="num" id="LN6454">6454</td><td class="line"> gboolean junk_paths)</td></tr>
+<tr class="codeline" data-linenumber="6455"><td class="num" id="LN6455">6455</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6456"><td class="num" id="LN6456">6456</td><td class="line"> ExtractData *edata;</td></tr>
+<tr class="codeline" data-linenumber="6457"><td class="num" id="LN6457">6457</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6458"><td class="num" id="LN6458">6458</td><td class="line"> edata = extract_data_new (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6459"><td class="num" id="LN6459">6459</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6460"><td class="num" id="LN6460">6460</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6461"><td class="num" id="LN6461">6461</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6462"><td class="num" id="LN6462">6462</td><td class="line"> skip_older,</td></tr>
+<tr class="codeline" data-linenumber="6463"><td class="num" id="LN6463">6463</td><td class="line"> overwrite,</td></tr>
+<tr class="codeline" data-linenumber="6464"><td class="num" id="LN6464">6464</td><td class="line"> junk_paths,</td></tr>
+<tr class="codeline" data-linenumber="6465"><td class="num" id="LN6465">6465</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6466"><td class="num" id="LN6466">6466</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6467"><td class="num" id="LN6467">6467</td><td class="line"> fr_window_set_current_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="6468"><td class="num" id="LN6468">6468</td><td class="line"> FR_BATCH_ACTION_EXTRACT,</td></tr>
+<tr class="codeline" data-linenumber="6469"><td class="num" id="LN6469">6469</td><td class="line"> edata,</td></tr>
+<tr class="codeline" data-linenumber="6470"><td class="num" id="LN6470">6470</td><td class="line"> (GFreeFunc) extract_data_free);</td></tr>
+<tr class="codeline" data-linenumber="6471"><td class="num" id="LN6471">6471</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6472"><td class="num" id="LN6472">6472</td><td class="line"> <span class='keyword'>if</span> (archive_is_encrypted (window, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (window-&gt;priv-&gt;password == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="6473"><td class="num" id="LN6473">6473</td><td class="line"> dlg_ask_password (window);</td></tr>
+<tr class="codeline" data-linenumber="6474"><td class="num" id="LN6474">6474</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6475"><td class="num" id="LN6475">6475</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6476"><td class="num" id="LN6476">6476</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6477"><td class="num" id="LN6477">6477</td><td class="line"> window-&gt;priv-&gt;ask_to_open_destination_after_extraction = edata-&gt;ask_to_open_destination;</td></tr>
+<tr class="codeline" data-linenumber="6478"><td class="num" id="LN6478">6478</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6479"><td class="num" id="LN6479">6479</td><td class="line"> fr_process_clear (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="6480"><td class="num" id="LN6480">6480</td><td class="line"> <span class='keyword'>if</span> (fr_archive_extract_here (window-&gt;archive,</td></tr>
+<tr class="codeline" data-linenumber="6481"><td class="num" id="LN6481">6481</td><td class="line"> edata-&gt;skip_older,</td></tr>
+<tr class="codeline" data-linenumber="6482"><td class="num" id="LN6482">6482</td><td class="line"> edata-&gt;overwrite,</td></tr>
+<tr class="codeline" data-linenumber="6483"><td class="num" id="LN6483">6483</td><td class="line"> edata-&gt;junk_paths,</td></tr>
+<tr class="codeline" data-linenumber="6484"><td class="num" id="LN6484">6484</td><td class="line"> window-&gt;priv-&gt;password))</td></tr>
+<tr class="codeline" data-linenumber="6485"><td class="num" id="LN6485">6485</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="6486"><td class="num" id="LN6486">6486</td><td class="line"> fr_process_start (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="6487"><td class="num" id="LN6487">6487</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6488"><td class="num" id="LN6488">6488</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6489"><td class="num" id="LN6489">6489</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6490"><td class="num" id="LN6490">6490</td><td class="line"><span class='comment'>/* -- fr_window_archive_extract -- */</span></td></tr>
+<tr class="codeline" data-linenumber="6491"><td class="num" id="LN6491">6491</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6492"><td class="num" id="LN6492">6492</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span> {</td></tr>
+<tr class="codeline" data-linenumber="6493"><td class="num" id="LN6493">6493</td><td class="line"> FrWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="6494"><td class="num" id="LN6494">6494</td><td class="line"> ExtractData *edata;</td></tr>
+<tr class="codeline" data-linenumber="6495"><td class="num" id="LN6495">6495</td><td class="line"> GList *current_file;</td></tr>
+<tr class="codeline" data-linenumber="6496"><td class="num" id="LN6496">6496</td><td class="line"> gboolean extract_all;</td></tr>
+<tr class="codeline" data-linenumber="6497"><td class="num" id="LN6497">6497</td><td class="line">} OverwriteData;</td></tr>
+<tr class="codeline" data-linenumber="6498"><td class="num" id="LN6498">6498</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6499"><td class="num" id="LN6499">6499</td><td class="line"><span class='directive'>#define <span class='macro'>_FR_RESPONSE_OVERWRITE_YES_ALL<span class='macro_popup'>100</span></span> 100</span></td></tr>
+<tr class="codeline" data-linenumber="6500"><td class="num" id="LN6500">6500</td><td class="line"><span class='directive'>#define <span class='macro'>_FR_RESPONSE_OVERWRITE_YES<span class='macro_popup'>101</span></span> 101</span></td></tr>
+<tr class="codeline" data-linenumber="6501"><td class="num" id="LN6501">6501</td><td class="line"><span class='directive'>#define <span class='macro'>_FR_RESPONSE_OVERWRITE_NO<span class='macro_popup'>102</span></span> 102</span></td></tr>
+<tr class="codeline" data-linenumber="6502"><td class="num" id="LN6502">6502</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6503"><td class="num" id="LN6503">6503</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6504"><td class="num" id="LN6504">6504</td><td class="line">_fr_window_archive_extract_from_edata (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6505"><td class="num" id="LN6505">6505</td><td class="line"> ExtractData *edata)</td></tr>
+<tr class="codeline" data-linenumber="6506"><td class="num" id="LN6506">6506</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6507"><td class="num" id="LN6507">6507</td><td class="line"> window-&gt;priv-&gt;ask_to_open_destination_after_extraction = edata-&gt;ask_to_open_destination;</td></tr>
+<tr class="codeline" data-linenumber="6508"><td class="num" id="LN6508">6508</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6509"><td class="num" id="LN6509">6509</td><td class="line"> fr_process_clear (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="6510"><td class="num" id="LN6510">6510</td><td class="line"> fr_archive_extract (window-&gt;archive,</td></tr>
+<tr class="codeline" data-linenumber="6511"><td class="num" id="LN6511">6511</td><td class="line"> edata-&gt;file_list,</td></tr>
+<tr class="codeline" data-linenumber="6512"><td class="num" id="LN6512">6512</td><td class="line"> edata-&gt;extract_to_dir,</td></tr>
+<tr class="codeline" data-linenumber="6513"><td class="num" id="LN6513">6513</td><td class="line"> edata-&gt;base_dir,</td></tr>
+<tr class="codeline" data-linenumber="6514"><td class="num" id="LN6514">6514</td><td class="line"> edata-&gt;skip_older,</td></tr>
+<tr class="codeline" data-linenumber="6515"><td class="num" id="LN6515">6515</td><td class="line"> edata-&gt;overwrite == FR_OVERWRITE_YES,</td></tr>
+<tr class="codeline" data-linenumber="6516"><td class="num" id="LN6516">6516</td><td class="line"> edata-&gt;junk_paths,</td></tr>
+<tr class="codeline" data-linenumber="6517"><td class="num" id="LN6517">6517</td><td class="line"> window-&gt;priv-&gt;password);</td></tr>
+<tr class="codeline" data-linenumber="6518"><td class="num" id="LN6518">6518</td><td class="line"> fr_process_start (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="6519"><td class="num" id="LN6519">6519</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6520"><td class="num" id="LN6520">6520</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6521"><td class="num" id="LN6521">6521</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> _fr_window_ask_overwrite_dialog (OverwriteData *odata);</td></tr>
+<tr class="codeline" data-linenumber="6522"><td class="num" id="LN6522">6522</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6523"><td class="num" id="LN6523">6523</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6524"><td class="num" id="LN6524">6524</td><td class="line">overwrite_dialog_response_cb (GtkDialog *dialog,</td></tr>
+<tr class="codeline" data-linenumber="6525"><td class="num" id="LN6525">6525</td><td class="line"> <span class='keyword'>int</span> response_id,</td></tr>
+<tr class="codeline" data-linenumber="6526"><td class="num" id="LN6526">6526</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="6527"><td class="num" id="LN6527">6527</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6528"><td class="num" id="LN6528">6528</td><td class="line"> OverwriteData *odata = user_data;</td></tr>
+<tr class="codeline" data-linenumber="6529"><td class="num" id="LN6529">6529</td><td class="line"> gboolean do_not_extract = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6530"><td class="num" id="LN6530">6530</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6531"><td class="num" id="LN6531">6531</td><td class="line"> <span class='keyword'>switch</span> (response_id) {</td></tr>
+<tr class="codeline" data-linenumber="6532"><td class="num" id="LN6532">6532</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>_FR_RESPONSE_OVERWRITE_YES_ALL<span class='macro_popup'>100</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="6533"><td class="num" id="LN6533">6533</td><td class="line"> odata-&gt;edata-&gt;overwrite = FR_OVERWRITE_YES;</td></tr>
+<tr class="codeline" data-linenumber="6534"><td class="num" id="LN6534">6534</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="6535"><td class="num" id="LN6535">6535</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6536"><td class="num" id="LN6536">6536</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>_FR_RESPONSE_OVERWRITE_YES<span class='macro_popup'>101</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="6537"><td class="num" id="LN6537">6537</td><td class="line"> odata-&gt;current_file = odata-&gt;current_file-&gt;next;</td></tr>
+<tr class="codeline" data-linenumber="6538"><td class="num" id="LN6538">6538</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="6539"><td class="num" id="LN6539">6539</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6540"><td class="num" id="LN6540">6540</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>_FR_RESPONSE_OVERWRITE_NO<span class='macro_popup'>102</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="6541"><td class="num" id="LN6541">6541</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="6542"><td class="num" id="LN6542">6542</td><td class="line"> <span class='comment'>/* remove the file from the list to extract */</span></td></tr>
+<tr class="codeline" data-linenumber="6543"><td class="num" id="LN6543">6543</td><td class="line"> GList *next = odata-&gt;current_file-&gt;next;</td></tr>
+<tr class="codeline" data-linenumber="6544"><td class="num" id="LN6544">6544</td><td class="line"> odata-&gt;edata-&gt;file_list = g_list_remove_link (odata-&gt;edata-&gt;file_list, odata-&gt;current_file);</td></tr>
+<tr class="codeline" data-linenumber="6545"><td class="num" id="LN6545">6545</td><td class="line"> path_list_free (odata-&gt;current_file);</td></tr>
+<tr class="codeline" data-linenumber="6546"><td class="num" id="LN6546">6546</td><td class="line"> odata-&gt;current_file = next;</td></tr>
+<tr class="codeline" data-linenumber="6547"><td class="num" id="LN6547">6547</td><td class="line"> odata-&gt;extract_all = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6548"><td class="num" id="LN6548">6548</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6549"><td class="num" id="LN6549">6549</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="6550"><td class="num" id="LN6550">6550</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6551"><td class="num" id="LN6551">6551</td><td class="line"> <span class='keyword'>case</span> GTK_RESPONSE_DELETE_EVENT:</td></tr>
+<tr class="codeline" data-linenumber="6552"><td class="num" id="LN6552">6552</td><td class="line"> <span class='keyword'>case</span> GTK_RESPONSE_CANCEL:</td></tr>
+<tr class="codeline" data-linenumber="6553"><td class="num" id="LN6553">6553</td><td class="line"> do_not_extract = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6554"><td class="num" id="LN6554">6554</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="6555"><td class="num" id="LN6555">6555</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6556"><td class="num" id="LN6556">6556</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="6557"><td class="num" id="LN6557">6557</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="6558"><td class="num" id="LN6558">6558</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6559"><td class="num" id="LN6559">6559</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6560"><td class="num" id="LN6560">6560</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (dialog)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6561"><td class="num" id="LN6561">6561</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6562"><td class="num" id="LN6562">6562</td><td class="line"> <span class='keyword'>if</span> (do_not_extract) {</td></tr>
+<tr class="codeline" data-linenumber="6563"><td class="num" id="LN6563">6563</td><td class="line"> fr_window_stop_batch (odata-&gt;window);</td></tr>
+<tr class="codeline" data-linenumber="6564"><td class="num" id="LN6564">6564</td><td class="line"> g_free (odata);</td></tr>
+<tr class="codeline" data-linenumber="6565"><td class="num" id="LN6565">6565</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6566"><td class="num" id="LN6566">6566</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6567"><td class="num" id="LN6567">6567</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6568"><td class="num" id="LN6568">6568</td><td class="line"> _fr_window_ask_overwrite_dialog (odata);</td></tr>
+<tr class="codeline" data-linenumber="6569"><td class="num" id="LN6569">6569</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6570"><td class="num" id="LN6570">6570</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6571"><td class="num" id="LN6571">6571</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6572"><td class="num" id="LN6572">6572</td><td class="line">_fr_window_ask_overwrite_dialog (OverwriteData *odata)</td></tr>
+<tr class="codeline" data-linenumber="6573"><td class="num" id="LN6573">6573</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6574"><td class="num" id="LN6574">6574</td><td class="line"> <span class='keyword'>while</span> ((odata-&gt;edata-&gt;overwrite == FR_OVERWRITE_ASK) &amp;&amp; (odata-&gt;current_file != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="6575"><td class="num" id="LN6575">6575</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *base_name;</td></tr>
+<tr class="codeline" data-linenumber="6576"><td class="num" id="LN6576">6576</td><td class="line"> <span class='keyword'>char</span> *e_base_name;</td></tr>
+<tr class="codeline" data-linenumber="6577"><td class="num" id="LN6577">6577</td><td class="line"> <span class='keyword'>char</span> *dest_uri;</td></tr>
+<tr class="codeline" data-linenumber="6578"><td class="num" id="LN6578">6578</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="6579"><td class="num" id="LN6579">6579</td><td class="line"> GFileInfo *info;</td></tr>
+<tr class="codeline" data-linenumber="6580"><td class="num" id="LN6580">6580</td><td class="line"> GFileType file_type;</td></tr>
+<tr class="codeline" data-linenumber="6581"><td class="num" id="LN6581">6581</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6582"><td class="num" id="LN6582">6582</td><td class="line"> base_name = _g_path_get_base_name ((<span class='keyword'>char</span> *) odata-&gt;current_file-&gt;data, odata-&gt;edata-&gt;base_dir, odata-&gt;edata-&gt;junk_paths);</td></tr>
+<tr class="codeline" data-linenumber="6583"><td class="num" id="LN6583">6583</td><td class="line"> e_base_name = g_uri_escape_string (base_name, <span class='macro'>G_URI_RESERVED_CHARS_ALLOWED_IN_PATH<span class='macro_popup'>"!$&amp;'()*+,;=" ":@" "/"</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6584"><td class="num" id="LN6584">6584</td><td class="line"> dest_uri = g_strdup_printf (<span class='string_literal'>"%s/%s"</span>, odata-&gt;edata-&gt;extract_to_dir, e_base_name);</td></tr>
+<tr class="codeline" data-linenumber="6585"><td class="num" id="LN6585">6585</td><td class="line"> file = g_file_new_for_uri (dest_uri);</td></tr>
+<tr class="codeline" data-linenumber="6586"><td class="num" id="LN6586">6586</td><td class="line"> info = g_file_query_info (file,</td></tr>
+<tr class="codeline" data-linenumber="6587"><td class="num" id="LN6587">6587</td><td class="line"> <span class='macro'>G_FILE_ATTRIBUTE_STANDARD_TYPE<span class='macro_popup'>"standard::type"</span></span> <span class='string_literal'>","</span> <span class='macro'>G_FILE_ATTRIBUTE_STANDARD_NAME<span class='macro_popup'>"standard::name"</span></span> <span class='string_literal'>","</span> <span class='macro'>G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME<span class='macro_popup'>"standard::display-name"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6588"><td class="num" id="LN6588">6588</td><td class="line"> G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,</td></tr>
+<tr class="codeline" data-linenumber="6589"><td class="num" id="LN6589">6589</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6590"><td class="num" id="LN6590">6590</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6591"><td class="num" id="LN6591">6591</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6592"><td class="num" id="LN6592">6592</td><td class="line"> g_free (dest_uri);</td></tr>
+<tr class="codeline" data-linenumber="6593"><td class="num" id="LN6593">6593</td><td class="line"> g_free (e_base_name);</td></tr>
+<tr class="codeline" data-linenumber="6594"><td class="num" id="LN6594">6594</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6595"><td class="num" id="LN6595">6595</td><td class="line"> <span class='keyword'>if</span> (info == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="6596"><td class="num" id="LN6596">6596</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="6597"><td class="num" id="LN6597">6597</td><td class="line"> odata-&gt;current_file = odata-&gt;current_file-&gt;next;</td></tr>
+<tr class="codeline" data-linenumber="6598"><td class="num" id="LN6598">6598</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="6599"><td class="num" id="LN6599">6599</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6600"><td class="num" id="LN6600">6600</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6601"><td class="num" id="LN6601">6601</td><td class="line"> file_type = g_file_info_get_file_type (info);</td></tr>
+<tr class="codeline" data-linenumber="6602"><td class="num" id="LN6602">6602</td><td class="line"> <span class='keyword'>if</span> ((file_type != G_FILE_TYPE_UNKNOWN) &amp;&amp; (file_type != G_FILE_TYPE_DIRECTORY)) {</td></tr>
+<tr class="codeline" data-linenumber="6603"><td class="num" id="LN6603">6603</td><td class="line"> <span class='keyword'>char</span> *msg;</td></tr>
+<tr class="codeline" data-linenumber="6604"><td class="num" id="LN6604">6604</td><td class="line"> GFile *parent;</td></tr>
+<tr class="codeline" data-linenumber="6605"><td class="num" id="LN6605">6605</td><td class="line"> <span class='keyword'>char</span> *parent_name;</td></tr>
+<tr class="codeline" data-linenumber="6606"><td class="num" id="LN6606">6606</td><td class="line"> <span class='keyword'>char</span> *details;</td></tr>
+<tr class="codeline" data-linenumber="6607"><td class="num" id="LN6607">6607</td><td class="line"> GtkWidget *d;</td></tr>
+<tr class="codeline" data-linenumber="6608"><td class="num" id="LN6608">6608</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6609"><td class="num" id="LN6609">6609</td><td class="line"> msg = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Replace file \"%s\"?"</span>)<span class='macro_popup'>gettext ("Replace file \"%s\"?")</span></span>, g_file_info_get_display_name (info));</td></tr>
+<tr class="codeline" data-linenumber="6610"><td class="num" id="LN6610">6610</td><td class="line"> parent = g_file_get_parent (file);</td></tr>
+<tr class="codeline" data-linenumber="6611"><td class="num" id="LN6611">6611</td><td class="line"> parent_name = g_file_get_parse_name (parent);</td></tr>
+<tr class="codeline" data-linenumber="6612"><td class="num" id="LN6612">6612</td><td class="line"> details = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Another file with the same name already exists in \"%s\"."</span>)<span class='macro_popup'>gettext ("Another file with the same name already exists in \"%s\"."<br>)</span></span>, parent_name);</td></tr>
+<tr class="codeline" data-linenumber="6613"><td class="num" id="LN6613">6613</td><td class="line"> d = _gtk_message_dialog_new (<span class='macro'>GTK_WINDOW (odata-&gt;window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((odata-&gt;window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6614"><td class="num" id="LN6614">6614</td><td class="line"> GTK_DIALOG_MODAL,</td></tr>
+<tr class="codeline" data-linenumber="6615"><td class="num" id="LN6615">6615</td><td class="line"> <span class='string_literal'>"dialog-question"</span>,</td></tr>
+<tr class="codeline" data-linenumber="6616"><td class="num" id="LN6616">6616</td><td class="line"> msg,</td></tr>
+<tr class="codeline" data-linenumber="6617"><td class="num" id="LN6617">6617</td><td class="line"> details,</td></tr>
+<tr class="codeline" data-linenumber="6618"><td class="num" id="LN6618">6618</td><td class="line"> <span class='string_literal'>"gtk-cancel"</span>, GTK_RESPONSE_CANCEL,</td></tr>
+<tr class="codeline" data-linenumber="6619"><td class="num" id="LN6619">6619</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Replace _All"</span>)<span class='macro_popup'>gettext ("Replace _All")</span></span>, <span class='macro'>_FR_RESPONSE_OVERWRITE_YES_ALL<span class='macro_popup'>100</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6620"><td class="num" id="LN6620">6620</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"_Skip"</span>)<span class='macro_popup'>gettext ("_Skip")</span></span>, <span class='macro'>_FR_RESPONSE_OVERWRITE_NO<span class='macro_popup'>102</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6621"><td class="num" id="LN6621">6621</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"_Replace"</span>)<span class='macro_popup'>gettext ("_Replace")</span></span>, <span class='macro'>_FR_RESPONSE_OVERWRITE_YES<span class='macro_popup'>101</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6622"><td class="num" id="LN6622">6622</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6623"><td class="num" id="LN6623">6623</td><td class="line"> gtk_dialog_set_default_response (<span class='macro'>GTK_DIALOG (d)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_dialog_get_type ()))))))</span></span>, <span class='macro'>_FR_RESPONSE_OVERWRITE_YES<span class='macro_popup'>101</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6624"><td class="num" id="LN6624">6624</td><td class="line"> <span class='macro'>g_signal_connect (d,<span class='macro_popup'>g_signal_connect_data ((d), ("response"), (((GCallback) (overwrite_dialog_response_cb<br>))), (odata), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6625"><td class="num" id="LN6625">6625</td><td class="line"> <span class='string_literal'><span class='macro'>"response"</span>,<span class='macro_popup'>g_signal_connect_data ((d), ("response"), (((GCallback) (overwrite_dialog_response_cb<br>))), (odata), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6626"><td class="num" id="LN6626">6626</td><td class="line"> <span class='macro'>G_CALLBACK (overwrite_dialog_response_cb),<span class='macro_popup'>g_signal_connect_data ((d), ("response"), (((GCallback) (overwrite_dialog_response_cb<br>))), (odata), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6627"><td class="num" id="LN6627">6627</td><td class="line"> <span class='macro'>odata)<span class='macro_popup'>g_signal_connect_data ((d), ("response"), (((GCallback) (overwrite_dialog_response_cb<br>))), (odata), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6628"><td class="num" id="LN6628">6628</td><td class="line"> gtk_widget_show (d);</td></tr>
+<tr class="codeline" data-linenumber="6629"><td class="num" id="LN6629">6629</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6630"><td class="num" id="LN6630">6630</td><td class="line"> g_free (parent_name);</td></tr>
+<tr class="codeline" data-linenumber="6631"><td class="num" id="LN6631">6631</td><td class="line"> g_object_unref (parent);</td></tr>
+<tr class="codeline" data-linenumber="6632"><td class="num" id="LN6632">6632</td><td class="line"> g_object_unref (info);</td></tr>
+<tr class="codeline" data-linenumber="6633"><td class="num" id="LN6633">6633</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="6634"><td class="num" id="LN6634">6634</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6635"><td class="num" id="LN6635">6635</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6636"><td class="num" id="LN6636">6636</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6637"><td class="num" id="LN6637">6637</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="6638"><td class="num" id="LN6638">6638</td><td class="line"> odata-&gt;current_file = odata-&gt;current_file-&gt;next;</td></tr>
+<tr class="codeline" data-linenumber="6639"><td class="num" id="LN6639">6639</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6640"><td class="num" id="LN6640">6640</td><td class="line"> g_object_unref (info);</td></tr>
+<tr class="codeline" data-linenumber="6641"><td class="num" id="LN6641">6641</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="6642"><td class="num" id="LN6642">6642</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6643"><td class="num" id="LN6643">6643</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6644"><td class="num" id="LN6644">6644</td><td class="line"> <span class='keyword'>if</span> (odata-&gt;edata-&gt;file_list != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="6645"><td class="num" id="LN6645">6645</td><td class="line"> <span class='comment'>/* speed optimization: passing NULL when extracting all the</span></td></tr>
+<tr class="codeline" data-linenumber="6646"><td class="num" id="LN6646">6646</td><td class="line"> <span class='comment'>* files is faster if the command supports the</span></td></tr>
+<tr class="codeline" data-linenumber="6647"><td class="num" id="LN6647">6647</td><td class="line"> <span class='comment'>* propCanExtractAll property. */</span></td></tr>
+<tr class="codeline" data-linenumber="6648"><td class="num" id="LN6648">6648</td><td class="line"> <span class='keyword'>if</span> (odata-&gt;extract_all) {</td></tr>
+<tr class="codeline" data-linenumber="6649"><td class="num" id="LN6649">6649</td><td class="line"> path_list_free (odata-&gt;edata-&gt;file_list);</td></tr>
+<tr class="codeline" data-linenumber="6650"><td class="num" id="LN6650">6650</td><td class="line"> odata-&gt;edata-&gt;file_list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6651"><td class="num" id="LN6651">6651</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6652"><td class="num" id="LN6652">6652</td><td class="line"> odata-&gt;edata-&gt;overwrite = FR_OVERWRITE_YES;</td></tr>
+<tr class="codeline" data-linenumber="6653"><td class="num" id="LN6653">6653</td><td class="line"> _fr_window_archive_extract_from_edata (odata-&gt;window, odata-&gt;edata);</td></tr>
+<tr class="codeline" data-linenumber="6654"><td class="num" id="LN6654">6654</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6655"><td class="num" id="LN6655">6655</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="6656"><td class="num" id="LN6656">6656</td><td class="line"> GtkWidget *d;</td></tr>
+<tr class="codeline" data-linenumber="6657"><td class="num" id="LN6657">6657</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6658"><td class="num" id="LN6658">6658</td><td class="line"> d = _gtk_message_dialog_new (<span class='macro'>GTK_WINDOW (odata-&gt;window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((odata-&gt;window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6659"><td class="num" id="LN6659">6659</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="6660"><td class="num" id="LN6660">6660</td><td class="line"> <span class='string_literal'>"dialog-warning"</span>,</td></tr>
+<tr class="codeline" data-linenumber="6661"><td class="num" id="LN6661">6661</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Extraction not performed"</span>)<span class='macro_popup'>gettext ("Extraction not performed")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6662"><td class="num" id="LN6662">6662</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6663"><td class="num" id="LN6663">6663</td><td class="line"> <span class='string_literal'>"gtk-ok"</span>, GTK_RESPONSE_OK,</td></tr>
+<tr class="codeline" data-linenumber="6664"><td class="num" id="LN6664">6664</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6665"><td class="num" id="LN6665">6665</td><td class="line"> gtk_dialog_set_default_response (<span class='macro'>GTK_DIALOG (d)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_dialog_get_type ()))))))</span></span>, GTK_RESPONSE_OK);</td></tr>
+<tr class="codeline" data-linenumber="6666"><td class="num" id="LN6666">6666</td><td class="line"> fr_window_show_error_dialog (odata-&gt;window, d, <span class='macro'>GTK_WINDOW (odata-&gt;window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((odata-&gt;window)), ((gtk_window_get_type ()))))))</span></span>, <span class='macro'>_(<span class='string_literal'>"Extraction not performed"</span>)<span class='macro_popup'>gettext ("Extraction not performed")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6667"><td class="num" id="LN6667">6667</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6668"><td class="num" id="LN6668">6668</td><td class="line"> fr_window_stop_batch (odata-&gt;window);</td></tr>
+<tr class="codeline" data-linenumber="6669"><td class="num" id="LN6669">6669</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6670"><td class="num" id="LN6670">6670</td><td class="line"> g_free (odata);</td></tr>
+<tr class="codeline" data-linenumber="6671"><td class="num" id="LN6671">6671</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6672"><td class="num" id="LN6672">6672</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6673"><td class="num" id="LN6673">6673</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6674"><td class="num" id="LN6674">6674</td><td class="line">fr_window_archive_extract (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6675"><td class="num" id="LN6675">6675</td><td class="line"> GList *file_list,</td></tr>
+<tr class="codeline" data-linenumber="6676"><td class="num" id="LN6676">6676</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *extract_to_dir,</td></tr>
+<tr class="codeline" data-linenumber="6677"><td class="num" id="LN6677">6677</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *sub_dir,</td></tr>
+<tr class="codeline" data-linenumber="6678"><td class="num" id="LN6678">6678</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *base_dir,</td></tr>
+<tr class="codeline" data-linenumber="6679"><td class="num" id="LN6679">6679</td><td class="line"> gboolean skip_older,</td></tr>
+<tr class="codeline" data-linenumber="6680"><td class="num" id="LN6680">6680</td><td class="line"> FrOverwrite overwrite,</td></tr>
+<tr class="codeline" data-linenumber="6681"><td class="num" id="LN6681">6681</td><td class="line"> gboolean junk_paths,</td></tr>
+<tr class="codeline" data-linenumber="6682"><td class="num" id="LN6682">6682</td><td class="line"> gboolean ask_to_open_destination)</td></tr>
+<tr class="codeline" data-linenumber="6683"><td class="num" id="LN6683">6683</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6684"><td class="num" id="LN6684">6684</td><td class="line"> ExtractData *edata;</td></tr>
+<tr class="codeline" data-linenumber="6685"><td class="num" id="LN6685">6685</td><td class="line"> gboolean do_not_extract = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6686"><td class="num" id="LN6686">6686</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6687"><td class="num" id="LN6687">6687</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6688"><td class="num" id="LN6688">6688</td><td class="line"> edata = extract_data_new (file_list,</td></tr>
+<tr class="codeline" data-linenumber="6689"><td class="num" id="LN6689">6689</td><td class="line"> extract_to_dir,</td></tr>
+<tr class="codeline" data-linenumber="6690"><td class="num" id="LN6690">6690</td><td class="line"> sub_dir,</td></tr>
+<tr class="codeline" data-linenumber="6691"><td class="num" id="LN6691">6691</td><td class="line"> base_dir,</td></tr>
+<tr class="codeline" data-linenumber="6692"><td class="num" id="LN6692">6692</td><td class="line"> skip_older,</td></tr>
+<tr class="codeline" data-linenumber="6693"><td class="num" id="LN6693">6693</td><td class="line"> overwrite,</td></tr>
+<tr class="codeline" data-linenumber="6694"><td class="num" id="LN6694">6694</td><td class="line"> junk_paths,</td></tr>
+<tr class="codeline" data-linenumber="6695"><td class="num" id="LN6695">6695</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6696"><td class="num" id="LN6696">6696</td><td class="line"> ask_to_open_destination);</td></tr>
+<tr class="codeline" data-linenumber="6697"><td class="num" id="LN6697">6697</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6698"><td class="num" id="LN6698">6698</td><td class="line"> fr_window_set_current_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="6699"><td class="num" id="LN6699">6699</td><td class="line"> FR_BATCH_ACTION_EXTRACT,</td></tr>
+<tr class="codeline" data-linenumber="6700"><td class="num" id="LN6700">6700</td><td class="line"> edata,</td></tr>
+<tr class="codeline" data-linenumber="6701"><td class="num" id="LN6701">6701</td><td class="line"> (GFreeFunc) extract_data_free);</td></tr>
+<tr class="codeline" data-linenumber="6702"><td class="num" id="LN6702">6702</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6703"><td class="num" id="LN6703">6703</td><td class="line"> <span class='keyword'>if</span> (archive_extract_check_disk_space_full (window-&gt;archive-&gt;command-&gt;files, extract_to_dir))</td></tr>
+<tr class="codeline" data-linenumber="6704"><td class="num" id="LN6704">6704</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="6705"><td class="num" id="LN6705">6705</td><td class="line"> GtkWidget *d;</td></tr>
+<tr class="codeline" data-linenumber="6706"><td class="num" id="LN6706">6706</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6707"><td class="num" id="LN6707">6707</td><td class="line"> d = _gtk_error_dialog_new (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6708"><td class="num" id="LN6708">6708</td><td class="line"> GTK_DIALOG_MODAL,</td></tr>
+<tr class="codeline" data-linenumber="6709"><td class="num" id="LN6709">6709</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6710"><td class="num" id="LN6710">6710</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Insufficient remaining disk space"</span>)<span class='macro_popup'>gettext ("Insufficient remaining disk space")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6711"><td class="num" id="LN6711">6711</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6712"><td class="num" id="LN6712">6712</td><td class="line"> gtk_dialog_run (<span class='macro'>GTK_DIALOG (d)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_dialog_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6713"><td class="num" id="LN6713">6713</td><td class="line"> gtk_widget_destroy(d);</td></tr>
+<tr class="codeline" data-linenumber="6714"><td class="num" id="LN6714">6714</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6715"><td class="num" id="LN6715">6715</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6716"><td class="num" id="LN6716">6716</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6717"><td class="num" id="LN6717">6717</td><td class="line"> <span class='keyword'>if</span> (archive_is_encrypted (window, edata-&gt;file_list) &amp;&amp; (window-&gt;priv-&gt;password == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="6718"><td class="num" id="LN6718">6718</td><td class="line"> dlg_ask_password (window);</td></tr>
+<tr class="codeline" data-linenumber="6719"><td class="num" id="LN6719">6719</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6720"><td class="num" id="LN6720">6720</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6721"><td class="num" id="LN6721">6721</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6722"><td class="num" id="LN6722">6722</td><td class="line"> <span class='keyword'>if</span> (! uri_is_dir (edata-&gt;extract_to_dir)) {</td></tr>
+<tr class="codeline" data-linenumber="6723"><td class="num" id="LN6723">6723</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6724"><td class="num" id="LN6724">6724</td><td class="line"> <span class='comment'>/* There is nothing to ask if the destination doesn't exist. */</span></td></tr>
+<tr class="codeline" data-linenumber="6725"><td class="num" id="LN6725">6725</td><td class="line"> <span class='keyword'>if</span> (edata-&gt;overwrite == FR_OVERWRITE_ASK)</td></tr>
+<tr class="codeline" data-linenumber="6726"><td class="num" id="LN6726">6726</td><td class="line"> edata-&gt;overwrite = FR_OVERWRITE_YES;</td></tr>
+<tr class="codeline" data-linenumber="6727"><td class="num" id="LN6727">6727</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6728"><td class="num" id="LN6728">6728</td><td class="line"> <span class='keyword'>if</span> (! ForceDirectoryCreation) {</td></tr>
+<tr class="codeline" data-linenumber="6729"><td class="num" id="LN6729">6729</td><td class="line"> GtkWidget *d;</td></tr>
+<tr class="codeline" data-linenumber="6730"><td class="num" id="LN6730">6730</td><td class="line"> <span class='keyword'>int</span> r;</td></tr>
+<tr class="codeline" data-linenumber="6731"><td class="num" id="LN6731">6731</td><td class="line"> <span class='keyword'>char</span> *folder_name;</td></tr>
+<tr class="codeline" data-linenumber="6732"><td class="num" id="LN6732">6732</td><td class="line"> <span class='keyword'>char</span> *msg;</td></tr>
+<tr class="codeline" data-linenumber="6733"><td class="num" id="LN6733">6733</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6734"><td class="num" id="LN6734">6734</td><td class="line"> folder_name = g_filename_display_name (edata-&gt;extract_to_dir);</td></tr>
+<tr class="codeline" data-linenumber="6735"><td class="num" id="LN6735">6735</td><td class="line"> msg = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Destination folder \"%s\" does not exist.\n\nDo you want to create it?"</span>)<span class='macro_popup'>gettext ("Destination folder \"%s\" does not exist.\n\nDo you want to create it?"<br>)</span></span>, folder_name);</td></tr>
+<tr class="codeline" data-linenumber="6736"><td class="num" id="LN6736">6736</td><td class="line"> g_free (folder_name);</td></tr>
+<tr class="codeline" data-linenumber="6737"><td class="num" id="LN6737">6737</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6738"><td class="num" id="LN6738">6738</td><td class="line"> d = _gtk_message_dialog_new (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6739"><td class="num" id="LN6739">6739</td><td class="line"> GTK_DIALOG_MODAL,</td></tr>
+<tr class="codeline" data-linenumber="6740"><td class="num" id="LN6740">6740</td><td class="line"> <span class='string_literal'>"dialog-question"</span>,</td></tr>
+<tr class="codeline" data-linenumber="6741"><td class="num" id="LN6741">6741</td><td class="line"> msg,</td></tr>
+<tr class="codeline" data-linenumber="6742"><td class="num" id="LN6742">6742</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6743"><td class="num" id="LN6743">6743</td><td class="line"> <span class='string_literal'>"gtk-cancel"</span>, GTK_RESPONSE_CANCEL,</td></tr>
+<tr class="codeline" data-linenumber="6744"><td class="num" id="LN6744">6744</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Create _Folder"</span>)<span class='macro_popup'>gettext ("Create _Folder")</span></span>, GTK_RESPONSE_YES,</td></tr>
+<tr class="codeline" data-linenumber="6745"><td class="num" id="LN6745">6745</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6746"><td class="num" id="LN6746">6746</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6747"><td class="num" id="LN6747">6747</td><td class="line"> gtk_dialog_set_default_response (<span class='macro'>GTK_DIALOG (d)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_dialog_get_type ()))))))</span></span>, GTK_RESPONSE_YES);</td></tr>
+<tr class="codeline" data-linenumber="6748"><td class="num" id="LN6748">6748</td><td class="line"> r = gtk_dialog_run (<span class='macro'>GTK_DIALOG (d)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_dialog_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6749"><td class="num" id="LN6749">6749</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (d)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6750"><td class="num" id="LN6750">6750</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6751"><td class="num" id="LN6751">6751</td><td class="line"> g_free (msg);</td></tr>
+<tr class="codeline" data-linenumber="6752"><td class="num" id="LN6752">6752</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6753"><td class="num" id="LN6753">6753</td><td class="line"> <span class='keyword'>if</span> (r != GTK_RESPONSE_YES)</td></tr>
+<tr class="codeline" data-linenumber="6754"><td class="num" id="LN6754">6754</td><td class="line"> do_not_extract = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6755"><td class="num" id="LN6755">6755</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6756"><td class="num" id="LN6756">6756</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6757"><td class="num" id="LN6757">6757</td><td class="line"> <span class='keyword'>if</span> (! do_not_extract &amp;&amp; ! ensure_dir_exists (edata-&gt;extract_to_dir, 0755, &amp;error)) {</td></tr>
+<tr class="codeline" data-linenumber="6758"><td class="num" id="LN6758">6758</td><td class="line"> GtkWidget *d;</td></tr>
+<tr class="codeline" data-linenumber="6759"><td class="num" id="LN6759">6759</td><td class="line"> <span class='keyword'>char</span> *details;</td></tr>
+<tr class="codeline" data-linenumber="6760"><td class="num" id="LN6760">6760</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6761"><td class="num" id="LN6761">6761</td><td class="line"> details = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Could not create the destination folder: %s."</span>)<span class='macro_popup'>gettext ("Could not create the destination folder: %s.")</span></span>, error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="6762"><td class="num" id="LN6762">6762</td><td class="line"> d = _gtk_error_dialog_new (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6763"><td class="num" id="LN6763">6763</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="6764"><td class="num" id="LN6764">6764</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6765"><td class="num" id="LN6765">6765</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Extraction not performed"</span>)<span class='macro_popup'>gettext ("Extraction not performed")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6766"><td class="num" id="LN6766">6766</td><td class="line"> <span class='string_literal'>"%s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="6767"><td class="num" id="LN6767">6767</td><td class="line"> details);</td></tr>
+<tr class="codeline" data-linenumber="6768"><td class="num" id="LN6768">6768</td><td class="line"> g_clear_error (&amp;error);</td></tr>
+<tr class="codeline" data-linenumber="6769"><td class="num" id="LN6769">6769</td><td class="line"> fr_window_show_error_dialog (window, d, <span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>, details);</td></tr>
+<tr class="codeline" data-linenumber="6770"><td class="num" id="LN6770">6770</td><td class="line"> fr_window_stop_batch (window);</td></tr>
+<tr class="codeline" data-linenumber="6771"><td class="num" id="LN6771">6771</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6772"><td class="num" id="LN6772">6772</td><td class="line"> g_free (details);</td></tr>
+<tr class="codeline" data-linenumber="6773"><td class="num" id="LN6773">6773</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6774"><td class="num" id="LN6774">6774</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6775"><td class="num" id="LN6775">6775</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6776"><td class="num" id="LN6776">6776</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6777"><td class="num" id="LN6777">6777</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6778"><td class="num" id="LN6778">6778</td><td class="line"> <span class='keyword'>if</span> (do_not_extract) {</td></tr>
+<tr class="codeline" data-linenumber="6779"><td class="num" id="LN6779">6779</td><td class="line"> GtkWidget *d;</td></tr>
+<tr class="codeline" data-linenumber="6780"><td class="num" id="LN6780">6780</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6781"><td class="num" id="LN6781">6781</td><td class="line"> d = _gtk_message_dialog_new (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6782"><td class="num" id="LN6782">6782</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="6783"><td class="num" id="LN6783">6783</td><td class="line"> <span class='string_literal'>"dialog-warning"</span>,</td></tr>
+<tr class="codeline" data-linenumber="6784"><td class="num" id="LN6784">6784</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Extraction not performed"</span>)<span class='macro_popup'>gettext ("Extraction not performed")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6785"><td class="num" id="LN6785">6785</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6786"><td class="num" id="LN6786">6786</td><td class="line"> <span class='string_literal'>"gtk-ok"</span>, GTK_RESPONSE_OK,</td></tr>
+<tr class="codeline" data-linenumber="6787"><td class="num" id="LN6787">6787</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6788"><td class="num" id="LN6788">6788</td><td class="line"> gtk_dialog_set_default_response (<span class='macro'>GTK_DIALOG (d)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_dialog_get_type ()))))))</span></span>, GTK_RESPONSE_OK);</td></tr>
+<tr class="codeline" data-linenumber="6789"><td class="num" id="LN6789">6789</td><td class="line"> fr_window_show_error_dialog (window, d, <span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>, <span class='macro'>_(<span class='string_literal'>"Extraction not performed"</span>)<span class='macro_popup'>gettext ("Extraction not performed")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6790"><td class="num" id="LN6790">6790</td><td class="line"> fr_window_stop_batch (window);</td></tr>
+<tr class="codeline" data-linenumber="6791"><td class="num" id="LN6791">6791</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6792"><td class="num" id="LN6792">6792</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6793"><td class="num" id="LN6793">6793</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6794"><td class="num" id="LN6794">6794</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6795"><td class="num" id="LN6795">6795</td><td class="line"> <span class='keyword'>if</span> (edata-&gt;overwrite == FR_OVERWRITE_ASK) {</td></tr>
+<tr class="codeline" data-linenumber="6796"><td class="num" id="LN6796">6796</td><td class="line"> OverwriteData *odata;</td></tr>
+<tr class="codeline" data-linenumber="6797"><td class="num" id="LN6797">6797</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6798"><td class="num" id="LN6798">6798</td><td class="line"> odata = <span class='macro'>g_new0 (OverwriteData, 1)<span class='macro_popup'>((OverwriteData *) g_malloc0_n ((1), sizeof (OverwriteData)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6799"><td class="num" id="LN6799">6799</td><td class="line"> odata-&gt;window = window;</td></tr>
+<tr class="codeline" data-linenumber="6800"><td class="num" id="LN6800">6800</td><td class="line"> odata-&gt;edata = edata;</td></tr>
+<tr class="codeline" data-linenumber="6801"><td class="num" id="LN6801">6801</td><td class="line"> odata-&gt;extract_all = (edata-&gt;file_list == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) || (g_list_length (edata-&gt;file_list) == window-&gt;archive-&gt;command-&gt;files-&gt;len);</td></tr>
+<tr class="codeline" data-linenumber="6802"><td class="num" id="LN6802">6802</td><td class="line"> <span class='keyword'>if</span> (edata-&gt;file_list == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="6803"><td class="num" id="LN6803">6803</td><td class="line"> edata-&gt;file_list = fr_window_get_file_list (window);</td></tr>
+<tr class="codeline" data-linenumber="6804"><td class="num" id="LN6804">6804</td><td class="line"> odata-&gt;current_file = odata-&gt;edata-&gt;file_list;</td></tr>
+<tr class="codeline" data-linenumber="6805"><td class="num" id="LN6805">6805</td><td class="line"> _fr_window_ask_overwrite_dialog (odata);</td></tr>
+<tr class="codeline" data-linenumber="6806"><td class="num" id="LN6806">6806</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6807"><td class="num" id="LN6807">6807</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="6808"><td class="num" id="LN6808">6808</td><td class="line"> _fr_window_archive_extract_from_edata (window, edata);</td></tr>
+<tr class="codeline" data-linenumber="6809"><td class="num" id="LN6809">6809</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6810"><td class="num" id="LN6810">6810</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6811"><td class="num" id="LN6811">6811</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6812"><td class="num" id="LN6812">6812</td><td class="line">fr_window_archive_test (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="6813"><td class="num" id="LN6813">6813</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6814"><td class="num" id="LN6814">6814</td><td class="line"> fr_window_set_current_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="6815"><td class="num" id="LN6815">6815</td><td class="line"> FR_BATCH_ACTION_TEST,</td></tr>
+<tr class="codeline" data-linenumber="6816"><td class="num" id="LN6816">6816</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6817"><td class="num" id="LN6817">6817</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6818"><td class="num" id="LN6818">6818</td><td class="line"> fr_archive_test (window-&gt;archive, window-&gt;priv-&gt;password);</td></tr>
+<tr class="codeline" data-linenumber="6819"><td class="num" id="LN6819">6819</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6820"><td class="num" id="LN6820">6820</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6821"><td class="num" id="LN6821">6821</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6822"><td class="num" id="LN6822">6822</td><td class="line">fr_window_set_password (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6823"><td class="num" id="LN6823">6823</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *password)</td></tr>
+<tr class="codeline" data-linenumber="6824"><td class="num" id="LN6824">6824</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6825"><td class="num" id="LN6825">6825</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6826"><td class="num" id="LN6826">6826</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6827"><td class="num" id="LN6827">6827</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;password != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="6828"><td class="num" id="LN6828">6828</td><td class="line"> g_free (window-&gt;priv-&gt;password);</td></tr>
+<tr class="codeline" data-linenumber="6829"><td class="num" id="LN6829">6829</td><td class="line"> window-&gt;priv-&gt;password = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6830"><td class="num" id="LN6830">6830</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6831"><td class="num" id="LN6831">6831</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6832"><td class="num" id="LN6832">6832</td><td class="line"> <span class='keyword'>if</span> ((password != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (password[0] != '\0'))</td></tr>
+<tr class="codeline" data-linenumber="6833"><td class="num" id="LN6833">6833</td><td class="line"> window-&gt;priv-&gt;password = <span class='macro'>g_strdup (password)<span class='macro_popup'>g_strdup_inline (password)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6834"><td class="num" id="LN6834">6834</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6835"><td class="num" id="LN6835">6835</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6836"><td class="num" id="LN6836">6836</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6837"><td class="num" id="LN6837">6837</td><td class="line">fr_window_set_password_for_paste (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6838"><td class="num" id="LN6838">6838</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *password)</td></tr>
+<tr class="codeline" data-linenumber="6839"><td class="num" id="LN6839">6839</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6840"><td class="num" id="LN6840">6840</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6841"><td class="num" id="LN6841">6841</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6842"><td class="num" id="LN6842">6842</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;password_for_paste != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="6843"><td class="num" id="LN6843">6843</td><td class="line"> g_free (window-&gt;priv-&gt;password_for_paste);</td></tr>
+<tr class="codeline" data-linenumber="6844"><td class="num" id="LN6844">6844</td><td class="line"> window-&gt;priv-&gt;password_for_paste = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6845"><td class="num" id="LN6845">6845</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6846"><td class="num" id="LN6846">6846</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6847"><td class="num" id="LN6847">6847</td><td class="line"> <span class='keyword'>if</span> ((password != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (password[0] != '\0'))</td></tr>
+<tr class="codeline" data-linenumber="6848"><td class="num" id="LN6848">6848</td><td class="line"> window-&gt;priv-&gt;password_for_paste = <span class='macro'>g_strdup (password)<span class='macro_popup'>g_strdup_inline (password)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6849"><td class="num" id="LN6849">6849</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6850"><td class="num" id="LN6850">6850</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6851"><td class="num" id="LN6851">6851</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="6852"><td class="num" id="LN6852">6852</td><td class="line">fr_window_get_password (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="6853"><td class="num" id="LN6853">6853</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6854"><td class="num" id="LN6854">6854</td><td class="line"> <span class='macro'>g_return_val_if_fail (window != NULL, NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6855"><td class="num" id="LN6855">6855</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6856"><td class="num" id="LN6856">6856</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;password;</td></tr>
+<tr class="codeline" data-linenumber="6857"><td class="num" id="LN6857">6857</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6858"><td class="num" id="LN6858">6858</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6859"><td class="num" id="LN6859">6859</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6860"><td class="num" id="LN6860">6860</td><td class="line">fr_window_set_encrypt_header (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6861"><td class="num" id="LN6861">6861</td><td class="line"> gboolean encrypt_header)</td></tr>
+<tr class="codeline" data-linenumber="6862"><td class="num" id="LN6862">6862</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6863"><td class="num" id="LN6863">6863</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6864"><td class="num" id="LN6864">6864</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6865"><td class="num" id="LN6865">6865</td><td class="line"> window-&gt;priv-&gt;encrypt_header = encrypt_header;</td></tr>
+<tr class="codeline" data-linenumber="6866"><td class="num" id="LN6866">6866</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6867"><td class="num" id="LN6867">6867</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6868"><td class="num" id="LN6868">6868</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="6869"><td class="num" id="LN6869">6869</td><td class="line">fr_window_get_encrypt_header (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="6870"><td class="num" id="LN6870">6870</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6871"><td class="num" id="LN6871">6871</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;encrypt_header;</td></tr>
+<tr class="codeline" data-linenumber="6872"><td class="num" id="LN6872">6872</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6873"><td class="num" id="LN6873">6873</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6874"><td class="num" id="LN6874">6874</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6875"><td class="num" id="LN6875">6875</td><td class="line">fr_window_set_compression (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6876"><td class="num" id="LN6876">6876</td><td class="line"> FrCompression compression)</td></tr>
+<tr class="codeline" data-linenumber="6877"><td class="num" id="LN6877">6877</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6878"><td class="num" id="LN6878">6878</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6879"><td class="num" id="LN6879">6879</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6880"><td class="num" id="LN6880">6880</td><td class="line"> window-&gt;priv-&gt;compression = compression;</td></tr>
+<tr class="codeline" data-linenumber="6881"><td class="num" id="LN6881">6881</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6882"><td class="num" id="LN6882">6882</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6883"><td class="num" id="LN6883">6883</td><td class="line">FrCompression</td></tr>
+<tr class="codeline" data-linenumber="6884"><td class="num" id="LN6884">6884</td><td class="line">fr_window_get_compression (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="6885"><td class="num" id="LN6885">6885</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6886"><td class="num" id="LN6886">6886</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;compression;</td></tr>
+<tr class="codeline" data-linenumber="6887"><td class="num" id="LN6887">6887</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6888"><td class="num" id="LN6888">6888</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6889"><td class="num" id="LN6889">6889</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6890"><td class="num" id="LN6890">6890</td><td class="line">fr_window_set_volume_size (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6891"><td class="num" id="LN6891">6891</td><td class="line"> guint volume_size)</td></tr>
+<tr class="codeline" data-linenumber="6892"><td class="num" id="LN6892">6892</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6893"><td class="num" id="LN6893">6893</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6894"><td class="num" id="LN6894">6894</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6895"><td class="num" id="LN6895">6895</td><td class="line"> window-&gt;priv-&gt;volume_size = volume_size;</td></tr>
+<tr class="codeline" data-linenumber="6896"><td class="num" id="LN6896">6896</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6897"><td class="num" id="LN6897">6897</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6898"><td class="num" id="LN6898">6898</td><td class="line">guint</td></tr>
+<tr class="codeline" data-linenumber="6899"><td class="num" id="LN6899">6899</td><td class="line">fr_window_get_volume_size (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="6900"><td class="num" id="LN6900">6900</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6901"><td class="num" id="LN6901">6901</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;volume_size;</td></tr>
+<tr class="codeline" data-linenumber="6902"><td class="num" id="LN6902">6902</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6903"><td class="num" id="LN6903">6903</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6904"><td class="num" id="LN6904">6904</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6905"><td class="num" id="LN6905">6905</td><td class="line">fr_window_go_to_location (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6906"><td class="num" id="LN6906">6906</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *path,</td></tr>
+<tr class="codeline" data-linenumber="6907"><td class="num" id="LN6907">6907</td><td class="line"> gboolean force_update)</td></tr>
+<tr class="codeline" data-linenumber="6908"><td class="num" id="LN6908">6908</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6909"><td class="num" id="LN6909">6909</td><td class="line"> <span class='keyword'>char</span> *dir;</td></tr>
+<tr class="codeline" data-linenumber="6910"><td class="num" id="LN6910">6910</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6911"><td class="num" id="LN6911">6911</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6912"><td class="num" id="LN6912">6912</td><td class="line"> <span class='macro'>g_return_if_fail (path != NULL)<span class='macro_popup'>do { if ((path != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "path != NULL"); return<br>; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6913"><td class="num" id="LN6913">6913</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6914"><td class="num" id="LN6914">6914</td><td class="line"> <span class='keyword'>if</span> (force_update) {</td></tr>
+<tr class="codeline" data-linenumber="6915"><td class="num" id="LN6915">6915</td><td class="line"> g_free (window-&gt;priv-&gt;last_location);</td></tr>
+<tr class="codeline" data-linenumber="6916"><td class="num" id="LN6916">6916</td><td class="line"> window-&gt;priv-&gt;last_location = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6917"><td class="num" id="LN6917">6917</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6918"><td class="num" id="LN6918">6918</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6919"><td class="num" id="LN6919">6919</td><td class="line"> <span class='keyword'>if</span> (path[strlen (path) - 1] != '/')</td></tr>
+<tr class="codeline" data-linenumber="6920"><td class="num" id="LN6920">6920</td><td class="line"> dir = g_strconcat (path, <span class='string_literal'>"/"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6921"><td class="num" id="LN6921">6921</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="6922"><td class="num" id="LN6922">6922</td><td class="line"> dir = <span class='macro'>g_strdup (path)<span class='macro_popup'>g_strdup_inline (path)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6923"><td class="num" id="LN6923">6923</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6924"><td class="num" id="LN6924">6924</td><td class="line"> <span class='keyword'>if</span> ((window-&gt;priv-&gt;last_location == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) || (strcmp (window-&gt;priv-&gt;last_location, dir) != 0)) {</td></tr>
+<tr class="codeline" data-linenumber="6925"><td class="num" id="LN6925">6925</td><td class="line"> g_free (window-&gt;priv-&gt;last_location);</td></tr>
+<tr class="codeline" data-linenumber="6926"><td class="num" id="LN6926">6926</td><td class="line"> window-&gt;priv-&gt;last_location = dir;</td></tr>
+<tr class="codeline" data-linenumber="6927"><td class="num" id="LN6927">6927</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6928"><td class="num" id="LN6928">6928</td><td class="line"> fr_window_history_add (window, dir);</td></tr>
+<tr class="codeline" data-linenumber="6929"><td class="num" id="LN6929">6929</td><td class="line"> fr_window_update_file_list (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6930"><td class="num" id="LN6930">6930</td><td class="line"> fr_window_update_current_location (window);</td></tr>
+<tr class="codeline" data-linenumber="6931"><td class="num" id="LN6931">6931</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6932"><td class="num" id="LN6932">6932</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="6933"><td class="num" id="LN6933">6933</td><td class="line"> g_free (dir);</td></tr>
+<tr class="codeline" data-linenumber="6934"><td class="num" id="LN6934">6934</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6935"><td class="num" id="LN6935">6935</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6936"><td class="num" id="LN6936">6936</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="6937"><td class="num" id="LN6937">6937</td><td class="line">fr_window_get_current_location (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="6938"><td class="num" id="LN6938">6938</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6939"><td class="num" id="LN6939">6939</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;history_current == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="6940"><td class="num" id="LN6940">6940</td><td class="line"> fr_window_history_add (window, <span class='string_literal'>"/"</span>);</td></tr>
+<tr class="codeline" data-linenumber="6941"><td class="num" id="LN6941">6941</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;history_current-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="6942"><td class="num" id="LN6942">6942</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6943"><td class="num" id="LN6943">6943</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="6944"><td class="num" id="LN6944">6944</td><td class="line"> <span class='keyword'>return</span> (<span class='keyword'>const</span> <span class='keyword'>char</span>*) window-&gt;priv-&gt;history_current-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="6945"><td class="num" id="LN6945">6945</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6946"><td class="num" id="LN6946">6946</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6947"><td class="num" id="LN6947">6947</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6948"><td class="num" id="LN6948">6948</td><td class="line">fr_window_go_up_one_level (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="6949"><td class="num" id="LN6949">6949</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6950"><td class="num" id="LN6950">6950</td><td class="line"> <span class='keyword'>char</span> *parent_dir;</td></tr>
+<tr class="codeline" data-linenumber="6951"><td class="num" id="LN6951">6951</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6952"><td class="num" id="LN6952">6952</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6953"><td class="num" id="LN6953">6953</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6954"><td class="num" id="LN6954">6954</td><td class="line"> parent_dir = get_parent_dir (fr_window_get_current_location (window));</td></tr>
+<tr class="codeline" data-linenumber="6955"><td class="num" id="LN6955">6955</td><td class="line"> fr_window_go_to_location (window, parent_dir, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6956"><td class="num" id="LN6956">6956</td><td class="line"> g_free (parent_dir);</td></tr>
+<tr class="codeline" data-linenumber="6957"><td class="num" id="LN6957">6957</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6958"><td class="num" id="LN6958">6958</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6959"><td class="num" id="LN6959">6959</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6960"><td class="num" id="LN6960">6960</td><td class="line">fr_window_go_back (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="6961"><td class="num" id="LN6961">6961</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6962"><td class="num" id="LN6962">6962</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6963"><td class="num" id="LN6963">6963</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6964"><td class="num" id="LN6964">6964</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;history == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="6965"><td class="num" id="LN6965">6965</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6966"><td class="num" id="LN6966">6966</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;history_current == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="6967"><td class="num" id="LN6967">6967</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6968"><td class="num" id="LN6968">6968</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;history_current-&gt;next == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="6969"><td class="num" id="LN6969">6969</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6970"><td class="num" id="LN6970">6970</td><td class="line"> window-&gt;priv-&gt;history_current = window-&gt;priv-&gt;history_current-&gt;next;</td></tr>
+<tr class="codeline" data-linenumber="6971"><td class="num" id="LN6971">6971</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6972"><td class="num" id="LN6972">6972</td><td class="line"> fr_window_go_to_location (window, window-&gt;priv-&gt;history_current-&gt;data, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6973"><td class="num" id="LN6973">6973</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6974"><td class="num" id="LN6974">6974</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6975"><td class="num" id="LN6975">6975</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6976"><td class="num" id="LN6976">6976</td><td class="line">fr_window_go_forward (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="6977"><td class="num" id="LN6977">6977</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6978"><td class="num" id="LN6978">6978</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6979"><td class="num" id="LN6979">6979</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6980"><td class="num" id="LN6980">6980</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;history == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="6981"><td class="num" id="LN6981">6981</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6982"><td class="num" id="LN6982">6982</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;history_current == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="6983"><td class="num" id="LN6983">6983</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6984"><td class="num" id="LN6984">6984</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;history_current-&gt;prev == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="6985"><td class="num" id="LN6985">6985</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6986"><td class="num" id="LN6986">6986</td><td class="line"> window-&gt;priv-&gt;history_current = window-&gt;priv-&gt;history_current-&gt;prev;</td></tr>
+<tr class="codeline" data-linenumber="6987"><td class="num" id="LN6987">6987</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6988"><td class="num" id="LN6988">6988</td><td class="line"> fr_window_go_to_location (window, window-&gt;priv-&gt;history_current-&gt;data, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6989"><td class="num" id="LN6989">6989</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6990"><td class="num" id="LN6990">6990</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6991"><td class="num" id="LN6991">6991</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6992"><td class="num" id="LN6992">6992</td><td class="line">fr_window_set_list_mode (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6993"><td class="num" id="LN6993">6993</td><td class="line"> FrWindowListMode list_mode)</td></tr>
+<tr class="codeline" data-linenumber="6994"><td class="num" id="LN6994">6994</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6995"><td class="num" id="LN6995">6995</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6996"><td class="num" id="LN6996">6996</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6997"><td class="num" id="LN6997">6997</td><td class="line"> window-&gt;priv-&gt;list_mode = window-&gt;priv-&gt;last_list_mode = list_mode;</td></tr>
+<tr class="codeline" data-linenumber="6998"><td class="num" id="LN6998">6998</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;list_mode == FR_WINDOW_LIST_MODE_FLAT) {</td></tr>
+<tr class="codeline" data-linenumber="6999"><td class="num" id="LN6999">6999</td><td class="line"> fr_window_history_clear (window);</td></tr>
+<tr class="codeline" data-linenumber="7000"><td class="num" id="LN7000">7000</td><td class="line"> fr_window_history_add (window, <span class='string_literal'>"/"</span>);</td></tr>
+<tr class="codeline" data-linenumber="7001"><td class="num" id="LN7001">7001</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7002"><td class="num" id="LN7002">7002</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7003"><td class="num" id="LN7003">7003</td><td class="line"> g_settings_set_enum (window-&gt;priv-&gt;settings_listing, <span class='macro'>PREF_LISTING_LIST_MODE<span class='macro_popup'>"list-mode"</span></span>, window-&gt;priv-&gt;last_list_mode);</td></tr>
+<tr class="codeline" data-linenumber="7004"><td class="num" id="LN7004">7004</td><td class="line"> g_settings_set_boolean (window-&gt;priv-&gt;settings_listing, <span class='macro'>PREF_LISTING_SHOW_PATH<span class='macro_popup'>"show-path"</span></span>, (window-&gt;priv-&gt;list_mode == FR_WINDOW_LIST_MODE_FLAT));</td></tr>
+<tr class="codeline" data-linenumber="7005"><td class="num" id="LN7005">7005</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7006"><td class="num" id="LN7006">7006</td><td class="line"> fr_window_update_file_list (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7007"><td class="num" id="LN7007">7007</td><td class="line"> fr_window_update_dir_tree (window);</td></tr>
+<tr class="codeline" data-linenumber="7008"><td class="num" id="LN7008">7008</td><td class="line"> fr_window_update_current_location (window);</td></tr>
+<tr class="codeline" data-linenumber="7009"><td class="num" id="LN7009">7009</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7010"><td class="num" id="LN7010">7010</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7011"><td class="num" id="LN7011">7011</td><td class="line">GtkTreeModel *</td></tr>
+<tr class="codeline" data-linenumber="7012"><td class="num" id="LN7012">7012</td><td class="line">fr_window_get_list_store (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="7013"><td class="num" id="LN7013">7013</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7014"><td class="num" id="LN7014">7014</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7015"><td class="num" id="LN7015">7015</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7016"><td class="num" id="LN7016">7016</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7017"><td class="num" id="LN7017">7017</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7018"><td class="num" id="LN7018">7018</td><td class="line">fr_window_find (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="7019"><td class="num" id="LN7019">7019</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7020"><td class="num" id="LN7020">7020</td><td class="line"> window-&gt;priv-&gt;filter_mode = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7021"><td class="num" id="LN7021">7021</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;filter_bar);</td></tr>
+<tr class="codeline" data-linenumber="7022"><td class="num" id="LN7022">7022</td><td class="line"> gtk_widget_grab_focus (window-&gt;priv-&gt;filter_entry);</td></tr>
+<tr class="codeline" data-linenumber="7023"><td class="num" id="LN7023">7023</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7024"><td class="num" id="LN7024">7024</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7025"><td class="num" id="LN7025">7025</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7026"><td class="num" id="LN7026">7026</td><td class="line">fr_window_select_all (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="7027"><td class="num" id="LN7027">7027</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7028"><td class="num" id="LN7028">7028</td><td class="line"> gtk_tree_selection_select_all (gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="7029"><td class="num" id="LN7029">7029</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7030"><td class="num" id="LN7030">7030</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7031"><td class="num" id="LN7031">7031</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7032"><td class="num" id="LN7032">7032</td><td class="line">fr_window_unselect_all (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="7033"><td class="num" id="LN7033">7033</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7034"><td class="num" id="LN7034">7034</td><td class="line"> gtk_tree_selection_unselect_all (gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="7035"><td class="num" id="LN7035">7035</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7036"><td class="num" id="LN7036">7036</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7037"><td class="num" id="LN7037">7037</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7038"><td class="num" id="LN7038">7038</td><td class="line">fr_window_stop (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="7039"><td class="num" id="LN7039">7039</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7040"><td class="num" id="LN7040">7040</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;stoppable)</td></tr>
+<tr class="codeline" data-linenumber="7041"><td class="num" id="LN7041">7041</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="7042"><td class="num" id="LN7042">7042</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7043"><td class="num" id="LN7043">7043</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;activity_ref &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="7044"><td class="num" id="LN7044">7044</td><td class="line"> fr_archive_stop (window-&gt;archive);</td></tr>
+<tr class="codeline" data-linenumber="7045"><td class="num" id="LN7045">7045</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7046"><td class="num" id="LN7046">7046</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;convert_data.converting)</td></tr>
+<tr class="codeline" data-linenumber="7047"><td class="num" id="LN7047">7047</td><td class="line"> fr_window_convert_data_free (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7048"><td class="num" id="LN7048">7048</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7049"><td class="num" id="LN7049">7049</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7050"><td class="num" id="LN7050">7050</td><td class="line"><span class='comment'>/* -- start/stop activity mode -- */</span></td></tr>
+<tr class="codeline" data-linenumber="7051"><td class="num" id="LN7051">7051</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7052"><td class="num" id="LN7052">7052</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="7053"><td class="num" id="LN7053">7053</td><td class="line">activity_cb (gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="7054"><td class="num" id="LN7054">7054</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7055"><td class="num" id="LN7055">7055</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="7056"><td class="num" id="LN7056">7056</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7057"><td class="num" id="LN7057">7057</td><td class="line"> <span class='keyword'>if</span> ((window-&gt;priv-&gt;pd_progress_bar != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; window-&gt;priv-&gt;progress_pulse)</td></tr>
+<tr class="codeline" data-linenumber="7058"><td class="num" id="LN7058">7058</td><td class="line"> gtk_progress_bar_pulse (<span class='macro'>GTK_PROGRESS_BAR (window-&gt;priv-&gt;pd_progress_bar)<span class='macro_popup'>((((GtkProgressBar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;pd_progress_bar)), ((gtk_progress_bar_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7059"><td class="num" id="LN7059">7059</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_pulse)</td></tr>
+<tr class="codeline" data-linenumber="7060"><td class="num" id="LN7060">7060</td><td class="line"> gtk_progress_bar_pulse (<span class='macro'>GTK_PROGRESS_BAR (window-&gt;priv-&gt;progress_bar)<span class='macro_popup'>((((GtkProgressBar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_bar)), ((gtk_progress_bar_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7061"><td class="num" id="LN7061">7061</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7062"><td class="num" id="LN7062">7062</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7063"><td class="num" id="LN7063">7063</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7064"><td class="num" id="LN7064">7064</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7065"><td class="num" id="LN7065">7065</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7066"><td class="num" id="LN7066">7066</td><td class="line">fr_window_start_activity_mode (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="7067"><td class="num" id="LN7067">7067</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7068"><td class="num" id="LN7068">7068</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7069"><td class="num" id="LN7069">7069</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7070"><td class="num" id="LN7070">7070</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;activity_ref++ &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="7071"><td class="num" id="LN7071">7071</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="7072"><td class="num" id="LN7072">7072</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7073"><td class="num" id="LN7073">7073</td><td class="line"> window-&gt;priv-&gt;activity_timeout_handle = g_timeout_add (<span class='macro'>ACTIVITY_DELAY<span class='macro_popup'>100</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7074"><td class="num" id="LN7074">7074</td><td class="line"> activity_cb,</td></tr>
+<tr class="codeline" data-linenumber="7075"><td class="num" id="LN7075">7075</td><td class="line"> window);</td></tr>
+<tr class="codeline" data-linenumber="7076"><td class="num" id="LN7076">7076</td><td class="line"> fr_window_update_sensitivity (window);</td></tr>
+<tr class="codeline" data-linenumber="7077"><td class="num" id="LN7077">7077</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7078"><td class="num" id="LN7078">7078</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7079"><td class="num" id="LN7079">7079</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7080"><td class="num" id="LN7080">7080</td><td class="line">fr_window_stop_activity_mode (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="7081"><td class="num" id="LN7081">7081</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7082"><td class="num" id="LN7082">7082</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7083"><td class="num" id="LN7083">7083</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7084"><td class="num" id="LN7084">7084</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;activity_ref == 0)</td></tr>
+<tr class="codeline" data-linenumber="7085"><td class="num" id="LN7085">7085</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="7086"><td class="num" id="LN7086">7086</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7087"><td class="num" id="LN7087">7087</td><td class="line"> window-&gt;priv-&gt;activity_ref--;</td></tr>
+<tr class="codeline" data-linenumber="7088"><td class="num" id="LN7088">7088</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7089"><td class="num" id="LN7089">7089</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;activity_ref &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="7090"><td class="num" id="LN7090">7090</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="7091"><td class="num" id="LN7091">7091</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7092"><td class="num" id="LN7092">7092</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;activity_timeout_handle == 0)</td></tr>
+<tr class="codeline" data-linenumber="7093"><td class="num" id="LN7093">7093</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="7094"><td class="num" id="LN7094">7094</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7095"><td class="num" id="LN7095">7095</td><td class="line"> g_source_remove (window-&gt;priv-&gt;activity_timeout_handle);</td></tr>
+<tr class="codeline" data-linenumber="7096"><td class="num" id="LN7096">7096</td><td class="line"> window-&gt;priv-&gt;activity_timeout_handle = 0;</td></tr>
+<tr class="codeline" data-linenumber="7097"><td class="num" id="LN7097">7097</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7098"><td class="num" id="LN7098">7098</td><td class="line"> <span class='keyword'>if</span> (! gtk_widget_get_realized (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="7099"><td class="num" id="LN7099">7099</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="7100"><td class="num" id="LN7100">7100</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7101"><td class="num" id="LN7101">7101</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_dialog != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="7102"><td class="num" id="LN7102">7102</td><td class="line"> gtk_progress_bar_set_fraction (<span class='macro'>GTK_PROGRESS_BAR (window-&gt;priv-&gt;pd_progress_bar)<span class='macro_popup'>((((GtkProgressBar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;pd_progress_bar)), ((gtk_progress_bar_get_type<br> ()))))))</span></span>, 0.0);</td></tr>
+<tr class="codeline" data-linenumber="7103"><td class="num" id="LN7103">7103</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7104"><td class="num" id="LN7104">7104</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;batch_mode) {</td></tr>
+<tr class="codeline" data-linenumber="7105"><td class="num" id="LN7105">7105</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_bar != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="7106"><td class="num" id="LN7106">7106</td><td class="line"> gtk_progress_bar_set_fraction (<span class='macro'>GTK_PROGRESS_BAR (window-&gt;priv-&gt;progress_bar)<span class='macro_popup'>((((GtkProgressBar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_bar)), ((gtk_progress_bar_get_type<br> ()))))))</span></span>, 0.0);</td></tr>
+<tr class="codeline" data-linenumber="7107"><td class="num" id="LN7107">7107</td><td class="line"> fr_window_update_sensitivity (window);</td></tr>
+<tr class="codeline" data-linenumber="7108"><td class="num" id="LN7108">7108</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7109"><td class="num" id="LN7109">7109</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7110"><td class="num" id="LN7110">7110</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7111"><td class="num" id="LN7111">7111</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="7112"><td class="num" id="LN7112">7112</td><td class="line">last_output_window__unrealize_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="7113"><td class="num" id="LN7113">7113</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="7114"><td class="num" id="LN7114">7114</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7115"><td class="num" id="LN7115">7115</td><td class="line"> pref_util_save_window_geometry (<span class='macro'>GTK_WINDOW (widget)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((gtk_window_get_type ()))))))</span></span>, <span class='macro'>LAST_OUTPUT_DIALOG_NAME<span class='macro_popup'>"last-output"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7116"><td class="num" id="LN7116">7116</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7117"><td class="num" id="LN7117">7117</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7118"><td class="num" id="LN7118">7118</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7119"><td class="num" id="LN7119">7119</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7120"><td class="num" id="LN7120">7120</td><td class="line">fr_window_view_last_output_print(GtkTextBuffer *text_buffer,</td></tr>
+<tr class="codeline" data-linenumber="7121"><td class="num" id="LN7121">7121</td><td class="line"> GtkTextIter *iter,</td></tr>
+<tr class="codeline" data-linenumber="7122"><td class="num" id="LN7122">7122</td><td class="line"> GList *scan)</td></tr>
+<tr class="codeline" data-linenumber="7123"><td class="num" id="LN7123">7123</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7124"><td class="num" id="LN7124">7124</td><td class="line"> <span class='keyword'>for</span> (; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="7125"><td class="num" id="LN7125">7125</td><td class="line"> <span class='keyword'>char</span> *line = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="7126"><td class="num" id="LN7126">7126</td><td class="line"> <span class='keyword'>char</span> *utf8_line;</td></tr>
+<tr class="codeline" data-linenumber="7127"><td class="num" id="LN7127">7127</td><td class="line"> gsize bytes_written;</td></tr>
+<tr class="codeline" data-linenumber="7128"><td class="num" id="LN7128">7128</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7129"><td class="num" id="LN7129">7129</td><td class="line"> utf8_line = g_locale_to_utf8 (line, -1, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, &amp;bytes_written, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7130"><td class="num" id="LN7130">7130</td><td class="line"> gtk_text_buffer_insert_with_tags_by_name (text_buffer,</td></tr>
+<tr class="codeline" data-linenumber="7131"><td class="num" id="LN7131">7131</td><td class="line"> iter,</td></tr>
+<tr class="codeline" data-linenumber="7132"><td class="num" id="LN7132">7132</td><td class="line"> utf8_line,</td></tr>
+<tr class="codeline" data-linenumber="7133"><td class="num" id="LN7133">7133</td><td class="line"> bytes_written,</td></tr>
+<tr class="codeline" data-linenumber="7134"><td class="num" id="LN7134">7134</td><td class="line"> <span class='string_literal'>"monospace"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7135"><td class="num" id="LN7135">7135</td><td class="line"> g_free (utf8_line);</td></tr>
+<tr class="codeline" data-linenumber="7136"><td class="num" id="LN7136">7136</td><td class="line"> gtk_text_buffer_insert (text_buffer, iter, <span class='string_literal'>"\n"</span>, 1);</td></tr>
+<tr class="codeline" data-linenumber="7137"><td class="num" id="LN7137">7137</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7138"><td class="num" id="LN7138">7138</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7139"><td class="num" id="LN7139">7139</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7140"><td class="num" id="LN7140">7140</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7141"><td class="num" id="LN7141">7141</td><td class="line">fr_window_view_last_output (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="7142"><td class="num" id="LN7142">7142</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *title)</td></tr>
+<tr class="codeline" data-linenumber="7143"><td class="num" id="LN7143">7143</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7144"><td class="num" id="LN7144">7144</td><td class="line"> GtkWidget *dialog;</td></tr>
+<tr class="codeline" data-linenumber="7145"><td class="num" id="LN7145">7145</td><td class="line"> GtkWidget *vbox;</td></tr>
+<tr class="codeline" data-linenumber="7146"><td class="num" id="LN7146">7146</td><td class="line"> GtkWidget *text_view;</td></tr>
+<tr class="codeline" data-linenumber="7147"><td class="num" id="LN7147">7147</td><td class="line"> GtkWidget *scrolled;</td></tr>
+<tr class="codeline" data-linenumber="7148"><td class="num" id="LN7148">7148</td><td class="line"> GtkTextBuffer *text_buffer;</td></tr>
+<tr class="codeline" data-linenumber="7149"><td class="num" id="LN7149">7149</td><td class="line"> GtkTextIter iter;</td></tr>
+<tr class="codeline" data-linenumber="7150"><td class="num" id="LN7150">7150</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7151"><td class="num" id="LN7151">7151</td><td class="line"> <span class='keyword'>if</span> (title == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="7152"><td class="num" id="LN7152">7152</td><td class="line"> title = <span class='macro'>_(<span class='string_literal'>"Last Output"</span>)<span class='macro_popup'>gettext ("Last Output")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7153"><td class="num" id="LN7153">7153</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7154"><td class="num" id="LN7154">7154</td><td class="line"> dialog = gtk_dialog_new_with_buttons (title,</td></tr>
+<tr class="codeline" data-linenumber="7155"><td class="num" id="LN7155">7155</td><td class="line"> <span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7156"><td class="num" id="LN7156">7156</td><td class="line"> <span class='comment'>/* Make this dialog modal, otherwise with most WMs</span></td></tr>
+<tr class="codeline" data-linenumber="7157"><td class="num" id="LN7157">7157</td><td class="line"> <span class='comment'>* the focus can’t be regained without the mouse. */</span></td></tr>
+<tr class="codeline" data-linenumber="7158"><td class="num" id="LN7158">7158</td><td class="line"> GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,</td></tr>
+<tr class="codeline" data-linenumber="7159"><td class="num" id="LN7159">7159</td><td class="line"> <span class='string_literal'>"gtk-close"</span>, GTK_RESPONSE_CLOSE,</td></tr>
+<tr class="codeline" data-linenumber="7160"><td class="num" id="LN7160">7160</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7161"><td class="num" id="LN7161">7161</td><td class="line"> gtk_dialog_set_default_response (<span class='macro'>GTK_DIALOG (dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_dialog_get_type ()))))))</span></span>, GTK_RESPONSE_CLOSE);</td></tr>
+<tr class="codeline" data-linenumber="7162"><td class="num" id="LN7162">7162</td><td class="line"> gtk_window_set_resizable (<span class='macro'>GTK_WINDOW (dialog)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_window_get_type ()))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7163"><td class="num" id="LN7163">7163</td><td class="line"> gtk_widget_set_size_request (dialog, 500, 300);</td></tr>
+<tr class="codeline" data-linenumber="7164"><td class="num" id="LN7164">7164</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7165"><td class="num" id="LN7165">7165</td><td class="line"> <span class='comment'>/* Add text */</span></td></tr>
+<tr class="codeline" data-linenumber="7166"><td class="num" id="LN7166">7166</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7167"><td class="num" id="LN7167">7167</td><td class="line"> scrolled = gtk_scrolled_window_new (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7168"><td class="num" id="LN7168">7168</td><td class="line"> gtk_scrolled_window_set_policy (<span class='macro'>GTK_SCROLLED_WINDOW (scrolled)<span class='macro_popup'>((((GtkScrolledWindow*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((scrolled)), ((gtk_scrolled_window_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7169"><td class="num" id="LN7169">7169</td><td class="line"> GTK_POLICY_AUTOMATIC,</td></tr>
+<tr class="codeline" data-linenumber="7170"><td class="num" id="LN7170">7170</td><td class="line"> GTK_POLICY_AUTOMATIC);</td></tr>
+<tr class="codeline" data-linenumber="7171"><td class="num" id="LN7171">7171</td><td class="line"> gtk_scrolled_window_set_shadow_type (<span class='macro'>GTK_SCROLLED_WINDOW (scrolled)<span class='macro_popup'>((((GtkScrolledWindow*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((scrolled)), ((gtk_scrolled_window_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7172"><td class="num" id="LN7172">7172</td><td class="line"> GTK_SHADOW_ETCHED_IN);</td></tr>
+<tr class="codeline" data-linenumber="7173"><td class="num" id="LN7173">7173</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7174"><td class="num" id="LN7174">7174</td><td class="line"> text_buffer = gtk_text_buffer_new (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7175"><td class="num" id="LN7175">7175</td><td class="line"> gtk_text_buffer_create_tag (text_buffer, <span class='string_literal'>"monospace"</span>,</td></tr>
+<tr class="codeline" data-linenumber="7176"><td class="num" id="LN7176">7176</td><td class="line"> <span class='string_literal'>"family"</span>, <span class='string_literal'>"monospace"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7177"><td class="num" id="LN7177">7177</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7178"><td class="num" id="LN7178">7178</td><td class="line"> text_view = gtk_text_view_new_with_buffer (text_buffer);</td></tr>
+<tr class="codeline" data-linenumber="7179"><td class="num" id="LN7179">7179</td><td class="line"> g_object_unref (text_buffer);</td></tr>
+<tr class="codeline" data-linenumber="7180"><td class="num" id="LN7180">7180</td><td class="line"> gtk_text_view_set_editable (<span class='macro'>GTK_TEXT_VIEW (text_view)<span class='macro_popup'>((((GtkTextView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((text_view)), ((gtk_text_view_get_type ()))))))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7181"><td class="num" id="LN7181">7181</td><td class="line"> <span class='comment'>/* Although this isn’t an editable text area, we do want the</span></td></tr>
+<tr class="codeline" data-linenumber="7182"><td class="num" id="LN7182">7182</td><td class="line"> <span class='comment'>* cursor for accessibility purposes. */</span></td></tr>
+<tr class="codeline" data-linenumber="7183"><td class="num" id="LN7183">7183</td><td class="line"> gtk_text_view_set_cursor_visible (<span class='macro'>GTK_TEXT_VIEW (text_view)<span class='macro_popup'>((((GtkTextView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((text_view)), ((gtk_text_view_get_type ()))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7184"><td class="num" id="LN7184">7184</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7185"><td class="num" id="LN7185">7185</td><td class="line"> <span class='comment'>/**/</span></td></tr>
+<tr class="codeline" data-linenumber="7186"><td class="num" id="LN7186">7186</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7187"><td class="num" id="LN7187">7187</td><td class="line"> vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);</td></tr>
+<tr class="codeline" data-linenumber="7188"><td class="num" id="LN7188">7188</td><td class="line"> gtk_container_set_border_width (<span class='macro'>GTK_CONTAINER (vbox)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((vbox)), ((gtk_container_get_type ()))))))</span></span>, 5);</td></tr>
+<tr class="codeline" data-linenumber="7189"><td class="num" id="LN7189">7189</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7190"><td class="num" id="LN7190">7190</td><td class="line"> gtk_container_add (<span class='macro'>GTK_CONTAINER (scrolled)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((scrolled)), ((gtk_container_get_type ()))))))</span></span>, text_view);</td></tr>
+<tr class="codeline" data-linenumber="7191"><td class="num" id="LN7191">7191</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (vbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((vbox)), ((gtk_box_get_type ()))))))</span></span>, scrolled,</td></tr>
+<tr class="codeline" data-linenumber="7192"><td class="num" id="LN7192">7192</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="7193"><td class="num" id="LN7193">7193</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7194"><td class="num" id="LN7194">7194</td><td class="line"> gtk_widget_show_all (vbox);</td></tr>
+<tr class="codeline" data-linenumber="7195"><td class="num" id="LN7195">7195</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog)))<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_dialog_get_content_area (((((GtkDialog*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((dialog)), ((gtk_dialog_get_type ()))))))<br>))), ((gtk_box_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7196"><td class="num" id="LN7196">7196</td><td class="line"> vbox,</td></tr>
+<tr class="codeline" data-linenumber="7197"><td class="num" id="LN7197">7197</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="7198"><td class="num" id="LN7198">7198</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7199"><td class="num" id="LN7199">7199</td><td class="line"> <span class='comment'>/* signals */</span></td></tr>
+<tr class="codeline" data-linenumber="7200"><td class="num" id="LN7200">7200</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7201"><td class="num" id="LN7201">7201</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (dialog),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((dialog)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("response"), (((GCallback) (gtk_widget_destroy))), (<br>((void*)0)), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7202"><td class="num" id="LN7202">7202</td><td class="line"> <span class='string_literal'><span class='macro'>"response"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((dialog)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("response"), (((GCallback) (gtk_widget_destroy))), (<br>((void*)0)), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7203"><td class="num" id="LN7203">7203</td><td class="line"> <span class='macro'>G_CALLBACK (gtk_widget_destroy),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((dialog)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("response"), (((GCallback) (gtk_widget_destroy))), (<br>((void*)0)), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7204"><td class="num" id="LN7204">7204</td><td class="line"> <span class='macro'>NULL)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((dialog)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("response"), (((GCallback) (gtk_widget_destroy))), (<br>((void*)0)), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7205"><td class="num" id="LN7205">7205</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7206"><td class="num" id="LN7206">7206</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (dialog),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((dialog)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("unrealize"), (((GCallback) (last_output_window__unrealize_cb<br>))), (((void*)0)), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7207"><td class="num" id="LN7207">7207</td><td class="line"> <span class='string_literal'><span class='macro'>"unrealize"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((dialog)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("unrealize"), (((GCallback) (last_output_window__unrealize_cb<br>))), (((void*)0)), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7208"><td class="num" id="LN7208">7208</td><td class="line"> <span class='macro'>G_CALLBACK (last_output_window__unrealize_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((dialog)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("unrealize"), (((GCallback) (last_output_window__unrealize_cb<br>))), (((void*)0)), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7209"><td class="num" id="LN7209">7209</td><td class="line"> <span class='macro'>NULL)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((dialog)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("unrealize"), (((GCallback) (last_output_window__unrealize_cb<br>))), (((void*)0)), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7210"><td class="num" id="LN7210">7210</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7211"><td class="num" id="LN7211">7211</td><td class="line"> gtk_text_buffer_get_iter_at_offset (text_buffer, &amp;iter, 0);</td></tr>
+<tr class="codeline" data-linenumber="7212"><td class="num" id="LN7212">7212</td><td class="line"> <span class='comment'>/* Show STDOUT of process */</span></td></tr>
+<tr class="codeline" data-linenumber="7213"><td class="num" id="LN7213">7213</td><td class="line"> fr_window_view_last_output_print(text_buffer, &amp;iter, window-&gt;archive-&gt;process-&gt;out.raw);</td></tr>
+<tr class="codeline" data-linenumber="7214"><td class="num" id="LN7214">7214</td><td class="line"> <span class='comment'>/* Show STDERR of process */</span></td></tr>
+<tr class="codeline" data-linenumber="7215"><td class="num" id="LN7215">7215</td><td class="line"> fr_window_view_last_output_print(text_buffer, &amp;iter, window-&gt;archive-&gt;process-&gt;err.raw);</td></tr>
+<tr class="codeline" data-linenumber="7216"><td class="num" id="LN7216">7216</td><td class="line"> <span class='comment'>/* place the cursor at the start */</span></td></tr>
+<tr class="codeline" data-linenumber="7217"><td class="num" id="LN7217">7217</td><td class="line"> gtk_text_buffer_get_iter_at_offset (text_buffer, &amp;iter, 0);</td></tr>
+<tr class="codeline" data-linenumber="7218"><td class="num" id="LN7218">7218</td><td class="line"> gtk_text_buffer_place_cursor(text_buffer, &amp;iter);</td></tr>
+<tr class="codeline" data-linenumber="7219"><td class="num" id="LN7219">7219</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7220"><td class="num" id="LN7220">7220</td><td class="line"> <span class='comment'>/**/</span></td></tr>
+<tr class="codeline" data-linenumber="7221"><td class="num" id="LN7221">7221</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7222"><td class="num" id="LN7222">7222</td><td class="line"> pref_util_restore_window_geometry (<span class='macro'>GTK_WINDOW (dialog)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_window_get_type ()))))))</span></span>, <span class='macro'>LAST_OUTPUT_DIALOG_NAME<span class='macro_popup'>"last-output"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7223"><td class="num" id="LN7223">7223</td><td class="line"> gtk_widget_grab_focus (text_view);</td></tr>
+<tr class="codeline" data-linenumber="7224"><td class="num" id="LN7224">7224</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7225"><td class="num" id="LN7225">7225</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7226"><td class="num" id="LN7226">7226</td><td class="line"><span class='comment'>/* -- fr_window_rename_selection -- */</span></td></tr>
+<tr class="codeline" data-linenumber="7227"><td class="num" id="LN7227">7227</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7228"><td class="num" id="LN7228">7228</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span> {</td></tr>
+<tr class="codeline" data-linenumber="7229"><td class="num" id="LN7229">7229</td><td class="line"> <span class='keyword'>char</span> *path_to_rename;</td></tr>
+<tr class="codeline" data-linenumber="7230"><td class="num" id="LN7230">7230</td><td class="line"> <span class='keyword'>char</span> *old_name;</td></tr>
+<tr class="codeline" data-linenumber="7231"><td class="num" id="LN7231">7231</td><td class="line"> <span class='keyword'>char</span> *new_name;</td></tr>
+<tr class="codeline" data-linenumber="7232"><td class="num" id="LN7232">7232</td><td class="line"> <span class='keyword'>char</span> *current_dir;</td></tr>
+<tr class="codeline" data-linenumber="7233"><td class="num" id="LN7233">7233</td><td class="line"> gboolean is_dir;</td></tr>
+<tr class="codeline" data-linenumber="7234"><td class="num" id="LN7234">7234</td><td class="line"> gboolean dir_in_archive;</td></tr>
+<tr class="codeline" data-linenumber="7235"><td class="num" id="LN7235">7235</td><td class="line"> <span class='keyword'>char</span> *original_path;</td></tr>
+<tr class="codeline" data-linenumber="7236"><td class="num" id="LN7236">7236</td><td class="line">} RenameData;</td></tr>
+<tr class="codeline" data-linenumber="7237"><td class="num" id="LN7237">7237</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7238"><td class="num" id="LN7238">7238</td><td class="line"><span id="start45"><span class='keyword'>static</span></span> RenameData*</td></tr>
+<tr class="codeline" data-linenumber="7239"><td class="num" id="LN7239">7239</td><td class="line">rename_data_new (<span class='keyword'>const</span> <span class='keyword'>char</span> *path_to_rename,</td></tr>
+<tr class="codeline" data-linenumber="7240"><td class="num" id="LN7240">7240</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *old_name,</td></tr>
+<tr class="codeline" data-linenumber="7241"><td class="num" id="LN7241">7241</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *new_name,</td></tr>
+<tr class="codeline" data-linenumber="7242"><td class="num" id="LN7242">7242</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *current_dir,</td></tr>
+<tr class="codeline" data-linenumber="7243"><td class="num" id="LN7243">7243</td><td class="line"> gboolean is_dir,</td></tr>
+<tr class="codeline" data-linenumber="7244"><td class="num" id="LN7244">7244</td><td class="line"> gboolean dir_in_archive,</td></tr>
+<tr class="codeline" data-linenumber="7245"><td class="num" id="LN7245">7245</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *original_path)</td></tr>
+<tr class="codeline" data-linenumber="7246"><td class="num" id="LN7246">7246</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7247"><td class="num" id="LN7247">7247</td><td class="line"> <span id="start44"><span id="end45">RenameData</span></span> *rdata;</td></tr>
+<tr class="codeline" data-linenumber="7248"><td class="num" id="LN7248">7248</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7249"><td class="num" id="LN7249">7249</td><td class="line"> <span id="start43"><span id="end44">rdata</span></span> = <span class="mrange"><span class='macro'>g_new0</span> (RenameData, 1)<span class='macro_popup'>((RenameData *) g_malloc0_n ((1), sizeof (RenameData)))</span></span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path5" class="msg msgEvent" style="margin-left:17ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">5</div></td><td><div class="PathNav"><a href="#Path4" title="Previous event (4)">&#x2190;</a></div></td><td>Null pointer value stored to field 'current_dir'</td><td><div class="PathNav"><a href="#Path6" title="Next event (6)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="7250"><td class="num" id="LN7250">7250</td><td class="line"> rdata-&gt;path_to_rename = <span class='macro'>g_strdup (path_to_rename)<span class='macro_popup'>g_strdup_inline (path_to_rename)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7251"><td class="num" id="LN7251">7251</td><td class="line"> <span id="start42"><span id="end43"><span class='keyword'>if</span></span></span> (<span id="start41"><span class="mrange"><span id="end42">old_name</span></span> != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span></span>)</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path6" class="msg msgEvent" style="margin-left:13ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">6</div></td><td><div class="PathNav"><a href="#Path5" title="Previous event (5)">&#x2190;</a></div></td><td>Assuming 'old_name' is equal to NULL</td><td><div class="PathNav"><a href="#Path7" title="Next event (7)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path7" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">7</div></td><td><div class="PathNav"><a href="#Path6" title="Previous event (6)">&#x2190;</a></div></td><td>Taking false branch</td><td><div class="PathNav"><a href="#Path8" title="Next event (8)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="7252"><td class="num" id="LN7252">7252</td><td class="line"> rdata-&gt;old_name = <span class='macro'>g_strdup (old_name)<span class='macro_popup'>g_strdup_inline (old_name)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7253"><td class="num" id="LN7253">7253</td><td class="line"> <span id="start40"><span id="end41"><span class='keyword'>if</span></span></span> (<span id="start39"><span class="mrange"><span id="end40">new_name</span></span> != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span></span>)</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path8" class="msg msgEvent" style="margin-left:13ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">8</div></td><td><div class="PathNav"><a href="#Path7" title="Previous event (7)">&#x2190;</a></div></td><td>Assuming 'new_name' is equal to NULL</td><td><div class="PathNav"><a href="#Path9" title="Next event (9)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path9" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">9</div></td><td><div class="PathNav"><a href="#Path8" title="Previous event (8)">&#x2190;</a></div></td><td>Taking false branch</td><td><div class="PathNav"><a href="#Path10" title="Next event (10)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="7254"><td class="num" id="LN7254">7254</td><td class="line"> rdata-&gt;new_name = <span class='macro'>g_strdup (new_name)<span class='macro_popup'>g_strdup_inline (new_name)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7255"><td class="num" id="LN7255">7255</td><td class="line"> <span id="start38"><span id="end39"><span class='keyword'>if</span></span></span> (<span id="start37"><span class="mrange"><span id="end38">current_dir</span></span> != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span></span>)</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path10" class="msg msgEvent" style="margin-left:13ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">10</div></td><td><div class="PathNav"><a href="#Path9" title="Previous event (9)">&#x2190;</a></div></td><td>Assuming 'current_dir' is equal to NULL</td><td><div class="PathNav"><a href="#Path11" title="Next event (11)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path11" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">11</div></td><td><div class="PathNav"><a href="#Path10" title="Previous event (10)">&#x2190;</a></div></td><td>Taking false branch</td><td><div class="PathNav"><a href="#Path12" title="Next event (12)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="7256"><td class="num" id="LN7256">7256</td><td class="line"> rdata-&gt;current_dir = <span class='macro'>g_strdup (current_dir)<span class='macro_popup'>g_strdup_inline (current_dir)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7257"><td class="num" id="LN7257">7257</td><td class="line"> <span id="start34"><span id="end35"><span id="start36"><span id="end37">rdata</span></span></span></span>-&gt;is_dir = <span id="start35"><span id="end36">is_dir</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7258"><td class="num" id="LN7258">7258</td><td class="line"> rdata-&gt;dir_in_archive = dir_in_archive;</td></tr>
+<tr class="codeline" data-linenumber="7259"><td class="num" id="LN7259">7259</td><td class="line"> <span id="start33"><span id="end34"><span class='keyword'>if</span></span></span> (<span id="start32"><span class="mrange"><span id="end33">original_path</span></span> != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span></span>)</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path12" class="msg msgEvent" style="margin-left:13ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">12</div></td><td><div class="PathNav"><a href="#Path11" title="Previous event (11)">&#x2190;</a></div></td><td>Assuming 'original_path' is equal to NULL</td><td><div class="PathNav"><a href="#Path13" title="Next event (13)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path13" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">13</div></td><td><div class="PathNav"><a href="#Path12" title="Previous event (12)">&#x2190;</a></div></td><td>Taking false branch</td><td><div class="PathNav"><a href="#Path14" title="Next event (14)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="7260"><td class="num" id="LN7260">7260</td><td class="line"> rdata-&gt;original_path = <span class='macro'>g_strdup (original_path)<span class='macro_popup'>g_strdup_inline (original_path)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7261"><td class="num" id="LN7261">7261</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7262"><td class="num" id="LN7262">7262</td><td class="line"> <span id="end30"><span id="start31"><span id="end32"><span class='keyword'>return</span></span></span></span> <span id="start30"><span id="end31">rdata</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7263"><td class="num" id="LN7263">7263</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7264"><td class="num" id="LN7264">7264</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7265"><td class="num" id="LN7265">7265</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7266"><td class="num" id="LN7266">7266</td><td class="line">rename_data_free (RenameData *rdata)</td></tr>
+<tr class="codeline" data-linenumber="7267"><td class="num" id="LN7267">7267</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7268"><td class="num" id="LN7268">7268</td><td class="line"> <span class='macro'>g_return_if_fail (rdata != NULL)<span class='macro_popup'>do { if ((rdata != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "rdata != NULL");<br> return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7269"><td class="num" id="LN7269">7269</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7270"><td class="num" id="LN7270">7270</td><td class="line"> g_free (rdata-&gt;path_to_rename);</td></tr>
+<tr class="codeline" data-linenumber="7271"><td class="num" id="LN7271">7271</td><td class="line"> g_free (rdata-&gt;old_name);</td></tr>
+<tr class="codeline" data-linenumber="7272"><td class="num" id="LN7272">7272</td><td class="line"> g_free (rdata-&gt;new_name);</td></tr>
+<tr class="codeline" data-linenumber="7273"><td class="num" id="LN7273">7273</td><td class="line"> g_free (rdata-&gt;current_dir);</td></tr>
+<tr class="codeline" data-linenumber="7274"><td class="num" id="LN7274">7274</td><td class="line"> g_free (rdata-&gt;original_path);</td></tr>
+<tr class="codeline" data-linenumber="7275"><td class="num" id="LN7275">7275</td><td class="line"> g_free (rdata);</td></tr>
+<tr class="codeline" data-linenumber="7276"><td class="num" id="LN7276">7276</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7277"><td class="num" id="LN7277">7277</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7278"><td class="num" id="LN7278">7278</td><td class="line"><span id="start48"><span class='keyword'>static</span></span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7279"><td class="num" id="LN7279">7279</td><td class="line">rename_selection (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="7280"><td class="num" id="LN7280">7280</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *path_to_rename,</td></tr>
+<tr class="codeline" data-linenumber="7281"><td class="num" id="LN7281">7281</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *old_name,</td></tr>
+<tr class="codeline" data-linenumber="7282"><td class="num" id="LN7282">7282</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *new_name,</td></tr>
+<tr class="codeline" data-linenumber="7283"><td class="num" id="LN7283">7283</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *current_dir,</td></tr>
+<tr class="codeline" data-linenumber="7284"><td class="num" id="LN7284">7284</td><td class="line"> gboolean is_dir,</td></tr>
+<tr class="codeline" data-linenumber="7285"><td class="num" id="LN7285">7285</td><td class="line"> gboolean dir_in_archive,</td></tr>
+<tr class="codeline" data-linenumber="7286"><td class="num" id="LN7286">7286</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *original_path)</td></tr>
+<tr class="codeline" data-linenumber="7287"><td class="num" id="LN7287">7287</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7288"><td class="num" id="LN7288">7288</td><td class="line"> <span id="start47"><span id="end48">FrArchive</span></span> *archive = window-&gt;archive;</td></tr>
+<tr class="codeline" data-linenumber="7289"><td class="num" id="LN7289">7289</td><td class="line"> RenameData *rdata;</td></tr>
+<tr class="codeline" data-linenumber="7290"><td class="num" id="LN7290">7290</td><td class="line"> <span class='keyword'>char</span> *tmp_dir;</td></tr>
+<tr class="codeline" data-linenumber="7291"><td class="num" id="LN7291">7291</td><td class="line"> GList *file_list;</td></tr>
+<tr class="codeline" data-linenumber="7292"><td class="num" id="LN7292">7292</td><td class="line"> gboolean added_dir;</td></tr>
+<tr class="codeline" data-linenumber="7293"><td class="num" id="LN7293">7293</td><td class="line"> <span class='keyword'>char</span> *new_dirname;</td></tr>
+<tr class="codeline" data-linenumber="7294"><td class="num" id="LN7294">7294</td><td class="line"> GList *new_file_list;</td></tr>
+<tr class="codeline" data-linenumber="7295"><td class="num" id="LN7295">7295</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="7296"><td class="num" id="LN7296">7296</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7297"><td class="num" id="LN7297">7297</td><td class="line"> <span id="start28"><span id="end29"><span id="start46"><span id="end47">rdata</span></span></span></span> = <span id="start29"><span class="mrange"><span class="mrange"><span id="end46">rename_data_new</span></span> (path_to_rename,</td></tr></span>
+<tr><td class="num"></td><td class="line"><div id="Path4" class="msg msgEvent" style="margin-left:17ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">4</div></td><td><div class="PathNav"><a href="#Path3" title="Previous event (3)">&#x2190;</a></div></td><td>Calling 'rename_data_new'</td><td><div class="PathNav"><a href="#Path5" title="Next event (5)">&#x2192;</a></div></td></tr></table></div></td></tr></span>
+<tr><td class="num"></td><td class="line"><div id="Path14" class="msg msgEvent" style="margin-left:17ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">14</div></td><td><div class="PathNav"><a href="#Path13" title="Previous event (13)">&#x2190;</a></div></td><td>Returning from 'rename_data_new'</td><td><div class="PathNav"><a href="#Path15" title="Next event (15)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="7298"><td class="num" id="LN7298">7298</td><td class="line"> <span class="mrange"><span class="mrange">old_name,</td></tr></span></span>
+<tr class="codeline" data-linenumber="7299"><td class="num" id="LN7299">7299</td><td class="line"> <span class="mrange"><span class="mrange">new_name,</td></tr></span></span>
+<tr class="codeline" data-linenumber="7300"><td class="num" id="LN7300">7300</td><td class="line"> <span class="mrange"><span class="mrange">current_dir,</td></tr></span></span>
+<tr class="codeline" data-linenumber="7301"><td class="num" id="LN7301">7301</td><td class="line"> <span class="mrange"><span class="mrange">is_dir,</td></tr></span></span>
+<tr class="codeline" data-linenumber="7302"><td class="num" id="LN7302">7302</td><td class="line"> <span class="mrange"><span class="mrange">dir_in_archive,</td></tr></span></span>
+<tr class="codeline" data-linenumber="7303"><td class="num" id="LN7303">7303</td><td class="line"> <span class="mrange"><span class="mrange">original_path)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7304"><td class="num" id="LN7304">7304</td><td class="line"> <span id="start23"><span class="mrange"><span class="mrange"><span id="end28">fr_window_set_current_batch_action</span></span> (window,</td></tr></span>
+<tr><td class="num"></td><td class="line"><div id="Path15" class="msg msgEvent" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">15</div></td><td><div class="PathNav"><a href="#Path14" title="Previous event (14)">&#x2190;</a></div></td><td>Calling 'fr_window_set_current_batch_action'</td><td><div class="PathNav"><a href="#Path16" title="Next event (16)">&#x2192;</a></div></td></tr></table></div></td></tr></span>
+<tr><td class="num"></td><td class="line"><div id="Path17" class="msg msgEvent" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">17</div></td><td><div class="PathNav"><a href="#Path16" title="Previous event (16)">&#x2190;</a></div></td><td>Returning from 'fr_window_set_current_batch_action'</td><td><div class="PathNav"><a href="#Path18" title="Next event (18)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="7305"><td class="num" id="LN7305">7305</td><td class="line"> <span class="mrange"><span class="mrange">FR_BATCH_ACTION_RENAME,</td></tr></span></span>
+<tr class="codeline" data-linenumber="7306"><td class="num" id="LN7306">7306</td><td class="line"> <span class="mrange"><span class="mrange">rdata,</td></tr></span></span>
+<tr class="codeline" data-linenumber="7307"><td class="num" id="LN7307">7307</td><td class="line"> <span class="mrange"><span class="mrange">(GFreeFunc) rename_data_free)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7308"><td class="num" id="LN7308">7308</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7309"><td class="num" id="LN7309">7309</td><td class="line"> fr_process_clear (archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="7310"><td class="num" id="LN7310">7310</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7311"><td class="num" id="LN7311">7311</td><td class="line"> tmp_dir = get_temp_work_dir (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7312"><td class="num" id="LN7312">7312</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7313"><td class="num" id="LN7313">7313</td><td class="line"> <span id="start22"><span id="end23"><span class='keyword'>if</span></span></span> (<span id="start21"><span class="mrange"><span id="end22">is_dir</span></span></span>)</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path18" class="msg msgEvent" style="margin-left:13ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">18</div></td><td><div class="PathNav"><a href="#Path17" title="Previous event (17)">&#x2190;</a></div></td><td>Assuming 'is_dir' is 0</td><td><div class="PathNav"><a href="#Path19" title="Next event (19)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path19" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">19</div></td><td><div class="PathNav"><a href="#Path18" title="Previous event (18)">&#x2190;</a></div></td><td>Taking false branch</td><td><div class="PathNav"><a href="#Path20" title="Next event (20)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="7314"><td class="num" id="LN7314">7314</td><td class="line"> file_list = get_dir_list_from_path (window, rdata-&gt;path_to_rename);</td></tr>
+<tr class="codeline" data-linenumber="7315"><td class="num" id="LN7315">7315</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="7316"><td class="num" id="LN7316">7316</td><td class="line"> <span id="start18"><span id="end19"><span id="start20"><span id="end21">file_list</span></span></span></span> = g_list_append (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span id="start19"><span id="end20"><span class='macro'>g_strdup</span></span> (rdata-&gt;path_to_rename)<span class='macro_popup'>g_strdup_inline (rdata-&gt;path_to_rename)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7317"><td class="num" id="LN7317">7317</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7318"><td class="num" id="LN7318">7318</td><td class="line"> <span id="start17"><span id="end18">fr_archive_extract_to_local</span></span> (archive,</td></tr>
+<tr class="codeline" data-linenumber="7319"><td class="num" id="LN7319">7319</td><td class="line"> file_list,</td></tr>
+<tr class="codeline" data-linenumber="7320"><td class="num" id="LN7320">7320</td><td class="line"> tmp_dir,</td></tr>
+<tr class="codeline" data-linenumber="7321"><td class="num" id="LN7321">7321</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7322"><td class="num" id="LN7322">7322</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7323"><td class="num" id="LN7323">7323</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7324"><td class="num" id="LN7324">7324</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7325"><td class="num" id="LN7325">7325</td><td class="line"> window-&gt;priv-&gt;password);</td></tr>
+<tr class="codeline" data-linenumber="7326"><td class="num" id="LN7326">7326</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7327"><td class="num" id="LN7327">7327</td><td class="line"> <span class='comment'>/* temporarily add the dir to rename to the list if it's stored in the</span></td></tr>
+<tr class="codeline" data-linenumber="7328"><td class="num" id="LN7328">7328</td><td class="line"> <span class='comment'>* archive, this way it will be removed from the archive... */</span></td></tr>
+<tr class="codeline" data-linenumber="7329"><td class="num" id="LN7329">7329</td><td class="line"> added_dir = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7330"><td class="num" id="LN7330">7330</td><td class="line"> <span id="start16"><span id="end17"><span class='keyword'>if</span></span></span> (<span id="start15"><span id="end16"><span class='variable'>is_dir<table class='variable_popup'><tbody><tr><td valign='top'><div class='PathIndex PathIndexPopUp'>19.1</div></td><td>'is_dir' is 0</td></tr></tbody></table></span></span></span> &amp;&amp; dir_in_archive &amp;&amp; ! g_list_find_custom (file_list, original_path, (GCompareFunc) strcmp)) {</td></tr>
+<tr class="codeline" data-linenumber="7331"><td class="num" id="LN7331">7331</td><td class="line"> file_list = g_list_prepend (file_list, <span class='macro'>g_strdup (original_path)<span class='macro_popup'>g_strdup_inline (original_path)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7332"><td class="num" id="LN7332">7332</td><td class="line"> added_dir = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7333"><td class="num" id="LN7333">7333</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7334"><td class="num" id="LN7334">7334</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7335"><td class="num" id="LN7335">7335</td><td class="line"> <span id="start14"><span id="end15">fr_archive_remove</span></span> (archive, file_list, window-&gt;priv-&gt;compression);</td></tr>
+<tr class="codeline" data-linenumber="7336"><td class="num" id="LN7336">7336</td><td class="line"> fr_window_clipboard_remove_file_list (window, file_list);</td></tr>
+<tr class="codeline" data-linenumber="7337"><td class="num" id="LN7337">7337</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7338"><td class="num" id="LN7338">7338</td><td class="line"> <span class='comment'>/* ...and remove it from the list again */</span></td></tr>
+<tr class="codeline" data-linenumber="7339"><td class="num" id="LN7339">7339</td><td class="line"> <span id="start13"><span id="end14"><span class='keyword'>if</span></span></span> (<span id="start12"><span id="end13"><span class='variable'>added_dir<table class='variable_popup'><tbody><tr><td valign='top'><div class='PathIndex PathIndexPopUp'>19.2</div></td><td>'added_dir' is 0</td></tr></tbody></table></span></span></span>) {</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path20" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">20</div></td><td><div class="PathNav"><a href="#Path19" title="Previous event (19)">&#x2190;</a></div></td><td>Taking false branch</td><td><div class="PathNav"><a href="#Path21" title="Next event (21)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="7340"><td class="num" id="LN7340">7340</td><td class="line"> GList *tmp;</td></tr>
+<tr class="codeline" data-linenumber="7341"><td class="num" id="LN7341">7341</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7342"><td class="num" id="LN7342">7342</td><td class="line"> tmp = file_list;</td></tr>
+<tr class="codeline" data-linenumber="7343"><td class="num" id="LN7343">7343</td><td class="line"> file_list = g_list_remove_link (file_list, tmp);</td></tr>
+<tr class="codeline" data-linenumber="7344"><td class="num" id="LN7344">7344</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7345"><td class="num" id="LN7345">7345</td><td class="line"> g_free (tmp-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="7346"><td class="num" id="LN7346">7346</td><td class="line"> g_list_free (tmp);</td></tr>
+<tr class="codeline" data-linenumber="7347"><td class="num" id="LN7347">7347</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7348"><td class="num" id="LN7348">7348</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7349"><td class="num" id="LN7349">7349</td><td class="line"> <span class='comment'>/* rename the files. */</span></td></tr>
+<tr class="codeline" data-linenumber="7350"><td class="num" id="LN7350">7350</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7351"><td class="num" id="LN7351">7351</td><td class="line"> <span id="start9"><span id="end10"><span id="start11"><span id="end12">new_dirname</span></span></span></span> = g_build_filename (<span id="start10"><span id="end11">rdata</span></span>-&gt;current_dir + 1, rdata-&gt;new_name, <span class='string_literal'>"/"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7352"><td class="num" id="LN7352">7352</td><td class="line"> <span id="start8"><span id="end9">new_file_list</span></span> = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7353"><td class="num" id="LN7353">7353</td><td class="line"> <span class='keyword'>if</span> (rdata-&gt;<span id="start7"><span id="end8"><span class='variable'>is_dir<table class='variable_popup'><tbody><tr><td valign='top'><div class='PathIndex PathIndexPopUp'>20.1</div></td><td>Field 'is_dir' is 0</td></tr></tbody></table></span></span></span>) {</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path21" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">21</div></td><td><div class="PathNav"><a href="#Path20" title="Previous event (20)">&#x2190;</a></div></td><td>Taking false branch</td><td><div class="PathNav"><a href="#Path22" title="Next event (22)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="7354"><td class="num" id="LN7354">7354</td><td class="line"> <span class='keyword'>char</span> *old_path;</td></tr>
+<tr class="codeline" data-linenumber="7355"><td class="num" id="LN7355">7355</td><td class="line"> <span class='keyword'>char</span> *new_path;</td></tr>
+<tr class="codeline" data-linenumber="7356"><td class="num" id="LN7356">7356</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7357"><td class="num" id="LN7357">7357</td><td class="line"> old_path = g_build_filename (tmp_dir, rdata-&gt;current_dir, rdata-&gt;old_name, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7358"><td class="num" id="LN7358">7358</td><td class="line"> new_path = g_build_filename (tmp_dir, rdata-&gt;current_dir, rdata-&gt;new_name, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7359"><td class="num" id="LN7359">7359</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7360"><td class="num" id="LN7360">7360</td><td class="line"> fr_process_begin_command (archive-&gt;process, <span class='string_literal'>"mv"</span>);</td></tr>
+<tr class="codeline" data-linenumber="7361"><td class="num" id="LN7361">7361</td><td class="line"> fr_process_add_arg (archive-&gt;process, <span class='string_literal'>"-f"</span>);</td></tr>
+<tr class="codeline" data-linenumber="7362"><td class="num" id="LN7362">7362</td><td class="line"> fr_process_add_arg (archive-&gt;process, old_path);</td></tr>
+<tr class="codeline" data-linenumber="7363"><td class="num" id="LN7363">7363</td><td class="line"> fr_process_add_arg (archive-&gt;process, new_path);</td></tr>
+<tr class="codeline" data-linenumber="7364"><td class="num" id="LN7364">7364</td><td class="line"> fr_process_end_command (archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="7365"><td class="num" id="LN7365">7365</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7366"><td class="num" id="LN7366">7366</td><td class="line"> g_free (old_path);</td></tr>
+<tr class="codeline" data-linenumber="7367"><td class="num" id="LN7367">7367</td><td class="line"> g_free (new_path);</td></tr>
+<tr class="codeline" data-linenumber="7368"><td class="num" id="LN7368">7368</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7369"><td class="num" id="LN7369">7369</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7370"><td class="num" id="LN7370">7370</td><td class="line"> <span id="start6"><span id="end7"><span class='keyword'>for</span></span></span> (scan = <span id="start5"><span id="end6">file_list</span></span>; <span id="start4"><span id="end5">scan</span></span>; scan = scan-&gt;next) {</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path22" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">22</div></td><td><div class="PathNav"><a href="#Path21" title="Previous event (21)">&#x2190;</a></div></td><td>Loop condition is true. Entering loop body</td><td><div class="PathNav"><a href="#EndPath" title="Next event (23)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="7371"><td class="num" id="LN7371">7371</td><td class="line"> <span id="start1"><span id="end2"><span id="start3"><span id="end4"><span class='keyword'>const</span></span></span></span></span> <span class='keyword'>char</span> *current_dir_relative = <span id="start2"><span id="end3">rdata</span></span>-&gt;current_dir + 1;</td></tr>
+<tr class="codeline" data-linenumber="7372"><td class="num" id="LN7372">7372</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *filename = (<span class='keyword'>char</span>*) scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="7373"><td class="num" id="LN7373">7373</td><td class="line"> <span class='keyword'>char</span> *old_path = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, *common = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, *new_path = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7374"><td class="num" id="LN7374">7374</td><td class="line"> <span class='keyword'>char</span> *new_filename;</td></tr>
+<tr class="codeline" data-linenumber="7375"><td class="num" id="LN7375">7375</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7376"><td class="num" id="LN7376">7376</td><td class="line"> old_path = g_build_filename (tmp_dir, filename, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7377"><td class="num" id="LN7377">7377</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7378"><td class="num" id="LN7378">7378</td><td class="line"> <span id="start0"><span id="end1"><span class='keyword'>if</span></span></span> (strlen (filename) &gt; (<span id="end0">strlen</span> (<span class="mrange">rdata-&gt;current_dir</span>) + strlen (rdata-&gt;old_name)))</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:42ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">23</div></td><td><div class="PathNav"><a href="#Path22" title="Previous event (22)">&#x2190;</a></div></td><td>Null pointer passed to 1st parameter expecting 'nonnull'</td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="7379"><td class="num" id="LN7379">7379</td><td class="line"> common = <span class='macro'>g_strdup (filename + strlen (rdata-&gt;current_dir) + strlen (rdata-&gt;old_name))<span class='macro_popup'>g_strdup_inline (filename + strlen (rdata-&gt;current_dir) + strlen<br> (rdata-&gt;old_name))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7380"><td class="num" id="LN7380">7380</td><td class="line"> new_path = g_build_filename (tmp_dir, rdata-&gt;current_dir, rdata-&gt;new_name, common, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7381"><td class="num" id="LN7381">7381</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7382"><td class="num" id="LN7382">7382</td><td class="line"> <span class='keyword'>if</span> (! rdata-&gt;is_dir) {</td></tr>
+<tr class="codeline" data-linenumber="7383"><td class="num" id="LN7383">7383</td><td class="line"> fr_process_begin_command (archive-&gt;process, <span class='string_literal'>"mv"</span>);</td></tr>
+<tr class="codeline" data-linenumber="7384"><td class="num" id="LN7384">7384</td><td class="line"> fr_process_add_arg (archive-&gt;process, <span class='string_literal'>"-f"</span>);</td></tr>
+<tr class="codeline" data-linenumber="7385"><td class="num" id="LN7385">7385</td><td class="line"> fr_process_add_arg (archive-&gt;process, old_path);</td></tr>
+<tr class="codeline" data-linenumber="7386"><td class="num" id="LN7386">7386</td><td class="line"> fr_process_add_arg (archive-&gt;process, new_path);</td></tr>
+<tr class="codeline" data-linenumber="7387"><td class="num" id="LN7387">7387</td><td class="line"> fr_process_end_command (archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="7388"><td class="num" id="LN7388">7388</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7389"><td class="num" id="LN7389">7389</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7390"><td class="num" id="LN7390">7390</td><td class="line"> new_filename = g_build_filename (current_dir_relative, rdata-&gt;new_name, common, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7391"><td class="num" id="LN7391">7391</td><td class="line"> new_file_list = g_list_prepend (new_file_list, new_filename);</td></tr>
+<tr class="codeline" data-linenumber="7392"><td class="num" id="LN7392">7392</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7393"><td class="num" id="LN7393">7393</td><td class="line"> g_free (old_path);</td></tr>
+<tr class="codeline" data-linenumber="7394"><td class="num" id="LN7394">7394</td><td class="line"> g_free (common);</td></tr>
+<tr class="codeline" data-linenumber="7395"><td class="num" id="LN7395">7395</td><td class="line"> g_free (new_path);</td></tr>
+<tr class="codeline" data-linenumber="7396"><td class="num" id="LN7396">7396</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7397"><td class="num" id="LN7397">7397</td><td class="line"> new_file_list = g_list_reverse (new_file_list);</td></tr>
+<tr class="codeline" data-linenumber="7398"><td class="num" id="LN7398">7398</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7399"><td class="num" id="LN7399">7399</td><td class="line"> <span class='comment'>/* FIXME: this is broken for tar archives.</span></td></tr>
+<tr class="codeline" data-linenumber="7400"><td class="num" id="LN7400">7400</td><td class="line"> <span class='comment'>if (is_dir &amp;&amp; dir_in_archive &amp;&amp; ! g_list_find_custom (new_file_list, new_dirname, (GCompareFunc) strcmp))</span></td></tr>
+<tr class="codeline" data-linenumber="7401"><td class="num" id="LN7401">7401</td><td class="line"> <span class='comment'>new_file_list = g_list_prepend (new_file_list, g_build_filename (rdata-&gt;current_dir + 1, rdata-&gt;new_name, NULL));</span></td></tr>
+<tr class="codeline" data-linenumber="7402"><td class="num" id="LN7402">7402</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="7403"><td class="num" id="LN7403">7403</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7404"><td class="num" id="LN7404">7404</td><td class="line"> fr_archive_add (archive,</td></tr>
+<tr class="codeline" data-linenumber="7405"><td class="num" id="LN7405">7405</td><td class="line"> new_file_list,</td></tr>
+<tr class="codeline" data-linenumber="7406"><td class="num" id="LN7406">7406</td><td class="line"> tmp_dir,</td></tr>
+<tr class="codeline" data-linenumber="7407"><td class="num" id="LN7407">7407</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7408"><td class="num" id="LN7408">7408</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7409"><td class="num" id="LN7409">7409</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7410"><td class="num" id="LN7410">7410</td><td class="line"> window-&gt;priv-&gt;password,</td></tr>
+<tr class="codeline" data-linenumber="7411"><td class="num" id="LN7411">7411</td><td class="line"> window-&gt;priv-&gt;encrypt_header,</td></tr>
+<tr class="codeline" data-linenumber="7412"><td class="num" id="LN7412">7412</td><td class="line"> window-&gt;priv-&gt;compression,</td></tr>
+<tr class="codeline" data-linenumber="7413"><td class="num" id="LN7413">7413</td><td class="line"> window-&gt;priv-&gt;volume_size);</td></tr>
+<tr class="codeline" data-linenumber="7414"><td class="num" id="LN7414">7414</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7415"><td class="num" id="LN7415">7415</td><td class="line"> g_free (new_dirname);</td></tr>
+<tr class="codeline" data-linenumber="7416"><td class="num" id="LN7416">7416</td><td class="line"> path_list_free (new_file_list);</td></tr>
+<tr class="codeline" data-linenumber="7417"><td class="num" id="LN7417">7417</td><td class="line"> path_list_free (file_list);</td></tr>
+<tr class="codeline" data-linenumber="7418"><td class="num" id="LN7418">7418</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7419"><td class="num" id="LN7419">7419</td><td class="line"> <span class='comment'>/* remove the tmp dir */</span></td></tr>
+<tr class="codeline" data-linenumber="7420"><td class="num" id="LN7420">7420</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7421"><td class="num" id="LN7421">7421</td><td class="line"> fr_process_begin_command (archive-&gt;process, <span class='string_literal'>"rm"</span>);</td></tr>
+<tr class="codeline" data-linenumber="7422"><td class="num" id="LN7422">7422</td><td class="line"> fr_process_set_working_dir (archive-&gt;process, g_get_tmp_dir ());</td></tr>
+<tr class="codeline" data-linenumber="7423"><td class="num" id="LN7423">7423</td><td class="line"> fr_process_set_sticky (archive-&gt;process, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7424"><td class="num" id="LN7424">7424</td><td class="line"> fr_process_add_arg (archive-&gt;process, <span class='string_literal'>"-rf"</span>);</td></tr>
+<tr class="codeline" data-linenumber="7425"><td class="num" id="LN7425">7425</td><td class="line"> fr_process_add_arg (archive-&gt;process, tmp_dir);</td></tr>
+<tr class="codeline" data-linenumber="7426"><td class="num" id="LN7426">7426</td><td class="line"> fr_process_end_command (archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="7427"><td class="num" id="LN7427">7427</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7428"><td class="num" id="LN7428">7428</td><td class="line"> fr_process_start (archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="7429"><td class="num" id="LN7429">7429</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7430"><td class="num" id="LN7430">7430</td><td class="line"> g_free (tmp_dir);</td></tr>
+<tr class="codeline" data-linenumber="7431"><td class="num" id="LN7431">7431</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7432"><td class="num" id="LN7432">7432</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7433"><td class="num" id="LN7433">7433</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="7434"><td class="num" id="LN7434">7434</td><td class="line">valid_name (<span class='keyword'>const</span> <span class='keyword'>char</span> *new_name,</td></tr>
+<tr class="codeline" data-linenumber="7435"><td class="num" id="LN7435">7435</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *old_name,</td></tr>
+<tr class="codeline" data-linenumber="7436"><td class="num" id="LN7436">7436</td><td class="line"> <span class='keyword'>char</span> **reason)</td></tr>
+<tr class="codeline" data-linenumber="7437"><td class="num" id="LN7437">7437</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7438"><td class="num" id="LN7438">7438</td><td class="line"> <span class='keyword'>char</span> *utf8_new_name;</td></tr>
+<tr class="codeline" data-linenumber="7439"><td class="num" id="LN7439">7439</td><td class="line"> gboolean retval = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7440"><td class="num" id="LN7440">7440</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7441"><td class="num" id="LN7441">7441</td><td class="line"> new_name = eat_spaces (new_name);</td></tr>
+<tr class="codeline" data-linenumber="7442"><td class="num" id="LN7442">7442</td><td class="line"> utf8_new_name = g_filename_display_name (new_name);</td></tr>
+<tr class="codeline" data-linenumber="7443"><td class="num" id="LN7443">7443</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7444"><td class="num" id="LN7444">7444</td><td class="line"> <span class='keyword'>if</span> (*new_name == '\0') {</td></tr>
+<tr class="codeline" data-linenumber="7445"><td class="num" id="LN7445">7445</td><td class="line"> <span class='comment'>/* Translators: the name references to a filename. This message can appear when renaming a file. */</span></td></tr>
+<tr class="codeline" data-linenumber="7446"><td class="num" id="LN7446">7446</td><td class="line"> *reason = <span class='macro'>g_strdup (_(<span class='string_literal'>"New name is void, please type a name."</span>))<span class='macro_popup'>g_strdup_inline (gettext ("New name is void, please type a name."<br>))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7447"><td class="num" id="LN7447">7447</td><td class="line"> retval = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7448"><td class="num" id="LN7448">7448</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7449"><td class="num" id="LN7449">7449</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (strcmp (new_name, old_name) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="7450"><td class="num" id="LN7450">7450</td><td class="line"> <span class='comment'>/* Translators: the name references to a filename. This message can appear when renaming a file. */</span></td></tr>
+<tr class="codeline" data-linenumber="7451"><td class="num" id="LN7451">7451</td><td class="line"> *reason = <span class='macro'>g_strdup (_(<span class='string_literal'>"New name is the same as old one, please type other name."</span>))<span class='macro_popup'>g_strdup_inline (gettext ("New name is the same as old one, please type other name."<br>))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7452"><td class="num" id="LN7452">7452</td><td class="line"> retval = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7453"><td class="num" id="LN7453">7453</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7454"><td class="num" id="LN7454">7454</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (strchrs (new_name, <span class='macro'>BAD_CHARS<span class='macro_popup'>"/\\*"</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="7455"><td class="num" id="LN7455">7455</td><td class="line"> <span class='comment'>/* Translators: the %s references to a filename. This message can appear when renaming a file. */</span></td></tr>
+<tr class="codeline" data-linenumber="7456"><td class="num" id="LN7456">7456</td><td class="line"> *reason = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Name \"%s\" is not valid because it contains at least one of the following characters: %s, please type other name."</span>)<span class='macro_popup'>gettext ("Name \"%s\" is not valid because it contains at least one of the following characters: %s, please type other name."<br>)</span></span>, utf8_new_name, <span class='macro'>BAD_CHARS<span class='macro_popup'>"/\\*"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7457"><td class="num" id="LN7457">7457</td><td class="line"> retval = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7458"><td class="num" id="LN7458">7458</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7459"><td class="num" id="LN7459">7459</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7460"><td class="num" id="LN7460">7460</td><td class="line"> g_free (utf8_new_name);</td></tr>
+<tr class="codeline" data-linenumber="7461"><td class="num" id="LN7461">7461</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7462"><td class="num" id="LN7462">7462</td><td class="line"> <span class='keyword'>return</span> retval;</td></tr>
+<tr class="codeline" data-linenumber="7463"><td class="num" id="LN7463">7463</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7464"><td class="num" id="LN7464">7464</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7465"><td class="num" id="LN7465">7465</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="7466"><td class="num" id="LN7466">7466</td><td class="line">name_is_present (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="7467"><td class="num" id="LN7467">7467</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *current_dir,</td></tr>
+<tr class="codeline" data-linenumber="7468"><td class="num" id="LN7468">7468</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *new_name,</td></tr>
+<tr class="codeline" data-linenumber="7469"><td class="num" id="LN7469">7469</td><td class="line"> <span class='keyword'>char</span> **reason)</td></tr>
+<tr class="codeline" data-linenumber="7470"><td class="num" id="LN7470">7470</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7471"><td class="num" id="LN7471">7471</td><td class="line"> gboolean retval = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7472"><td class="num" id="LN7472">7472</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="7473"><td class="num" id="LN7473">7473</td><td class="line"> <span class='keyword'>char</span> *new_filename;</td></tr>
+<tr class="codeline" data-linenumber="7474"><td class="num" id="LN7474">7474</td><td class="line"> <span class='keyword'>int</span> new_filename_l;</td></tr>
+<tr class="codeline" data-linenumber="7475"><td class="num" id="LN7475">7475</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7476"><td class="num" id="LN7476">7476</td><td class="line"> *reason = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7477"><td class="num" id="LN7477">7477</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7478"><td class="num" id="LN7478">7478</td><td class="line"> new_filename = g_build_filename (current_dir, new_name, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7479"><td class="num" id="LN7479">7479</td><td class="line"> new_filename_l = strlen (new_filename);</td></tr>
+<tr class="codeline" data-linenumber="7480"><td class="num" id="LN7480">7480</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7481"><td class="num" id="LN7481">7481</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; window-&gt;archive-&gt;command-&gt;files-&gt;len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="7482"><td class="num" id="LN7482">7482</td><td class="line"> FileData *fdata = <span class='macro'>g_ptr_array_index (window-&gt;archive-&gt;command-&gt;files, i)<span class='macro_popup'>((window-&gt;archive-&gt;command-&gt;files)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7483"><td class="num" id="LN7483">7483</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *filename = fdata-&gt;full_path;</td></tr>
+<tr class="codeline" data-linenumber="7484"><td class="num" id="LN7484">7484</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7485"><td class="num" id="LN7485">7485</td><td class="line"> <span class='keyword'>if</span> ((strncmp (filename, new_filename, new_filename_l) == 0)</td></tr>
+<tr class="codeline" data-linenumber="7486"><td class="num" id="LN7486">7486</td><td class="line"> &amp;&amp; ((filename[new_filename_l] == '\0')</td></tr>
+<tr class="codeline" data-linenumber="7487"><td class="num" id="LN7487">7487</td><td class="line"> || (filename[new_filename_l] == <span class='macro'>G_DIR_SEPARATOR<span class='macro_popup'>'/'</span></span>))) {</td></tr>
+<tr class="codeline" data-linenumber="7488"><td class="num" id="LN7488">7488</td><td class="line"> <span class='keyword'>char</span> *utf8_name = g_filename_display_name (new_name);</td></tr>
+<tr class="codeline" data-linenumber="7489"><td class="num" id="LN7489">7489</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7490"><td class="num" id="LN7490">7490</td><td class="line"> <span class='keyword'>if</span> (filename[new_filename_l] == <span class='macro'>G_DIR_SEPARATOR<span class='macro_popup'>'/'</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="7491"><td class="num" id="LN7491">7491</td><td class="line"> *reason = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"A folder named \"%s\" already exists.\n\n%s"</span>)<span class='macro_popup'>gettext ("A folder named \"%s\" already exists.\n\n%s")</span></span>, utf8_name, <span class='macro'>_(<span class='string_literal'>"Please use a different name."</span>)<span class='macro_popup'>gettext ("Please use a different name.")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7492"><td class="num" id="LN7492">7492</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="7493"><td class="num" id="LN7493">7493</td><td class="line"> *reason = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"A file named \"%s\" already exists.\n\n%s"</span>)<span class='macro_popup'>gettext ("A file named \"%s\" already exists.\n\n%s")</span></span>, utf8_name, <span class='macro'>_(<span class='string_literal'>"Please use a different name."</span>)<span class='macro_popup'>gettext ("Please use a different name.")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7494"><td class="num" id="LN7494">7494</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7495"><td class="num" id="LN7495">7495</td><td class="line"> retval = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7496"><td class="num" id="LN7496">7496</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="7497"><td class="num" id="LN7497">7497</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7498"><td class="num" id="LN7498">7498</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7499"><td class="num" id="LN7499">7499</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7500"><td class="num" id="LN7500">7500</td><td class="line"> g_free (new_filename);</td></tr>
+<tr class="codeline" data-linenumber="7501"><td class="num" id="LN7501">7501</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7502"><td class="num" id="LN7502">7502</td><td class="line"> <span class='keyword'>return</span> retval;</td></tr>
+<tr class="codeline" data-linenumber="7503"><td class="num" id="LN7503">7503</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7504"><td class="num" id="LN7504">7504</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7505"><td class="num" id="LN7505">7505</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7506"><td class="num" id="LN7506">7506</td><td class="line">fr_window_rename_selection (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="7507"><td class="num" id="LN7507">7507</td><td class="line"> gboolean from_sidebar)</td></tr>
+<tr class="codeline" data-linenumber="7508"><td class="num" id="LN7508">7508</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7509"><td class="num" id="LN7509">7509</td><td class="line"> <span class='keyword'>char</span> *path_to_rename;</td></tr>
+<tr class="codeline" data-linenumber="7510"><td class="num" id="LN7510">7510</td><td class="line"> <span class='keyword'>char</span> *parent_dir;</td></tr>
+<tr class="codeline" data-linenumber="7511"><td class="num" id="LN7511">7511</td><td class="line"> <span class='keyword'>char</span> *old_name;</td></tr>
+<tr class="codeline" data-linenumber="7512"><td class="num" id="LN7512">7512</td><td class="line"> gboolean renaming_dir = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7513"><td class="num" id="LN7513">7513</td><td class="line"> gboolean dir_in_archive = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7514"><td class="num" id="LN7514">7514</td><td class="line"> <span class='keyword'>char</span> *original_path = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7515"><td class="num" id="LN7515">7515</td><td class="line"> <span class='keyword'>char</span> *utf8_old_name;</td></tr>
+<tr class="codeline" data-linenumber="7516"><td class="num" id="LN7516">7516</td><td class="line"> <span class='keyword'>char</span> *utf8_new_name;</td></tr>
+<tr class="codeline" data-linenumber="7517"><td class="num" id="LN7517">7517</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7518"><td class="num" id="LN7518">7518</td><td class="line"> <span class='keyword'>if</span> (from_sidebar) {</td></tr>
+<tr class="codeline" data-linenumber="7519"><td class="num" id="LN7519">7519</td><td class="line"> path_to_rename = fr_window_get_selected_folder_in_tree_view (window);</td></tr>
+<tr class="codeline" data-linenumber="7520"><td class="num" id="LN7520">7520</td><td class="line"> <span class='keyword'>if</span> (path_to_rename == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="7521"><td class="num" id="LN7521">7521</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="7522"><td class="num" id="LN7522">7522</td><td class="line"> parent_dir = remove_level_from_path (path_to_rename);</td></tr>
+<tr class="codeline" data-linenumber="7523"><td class="num" id="LN7523">7523</td><td class="line"> old_name = <span class='macro'>g_strdup (file_name_from_path (path_to_rename))<span class='macro_popup'>g_strdup_inline (file_name_from_path (path_to_rename))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7524"><td class="num" id="LN7524">7524</td><td class="line"> renaming_dir = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7525"><td class="num" id="LN7525">7525</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7526"><td class="num" id="LN7526">7526</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="7527"><td class="num" id="LN7527">7527</td><td class="line"> FileData *selected_item;</td></tr>
+<tr class="codeline" data-linenumber="7528"><td class="num" id="LN7528">7528</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7529"><td class="num" id="LN7529">7529</td><td class="line"> selected_item = fr_window_get_selected_item_from_file_list (window);</td></tr>
+<tr class="codeline" data-linenumber="7530"><td class="num" id="LN7530">7530</td><td class="line"> <span class='keyword'>if</span> (selected_item == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="7531"><td class="num" id="LN7531">7531</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="7532"><td class="num" id="LN7532">7532</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7533"><td class="num" id="LN7533">7533</td><td class="line"> renaming_dir = file_data_is_dir (selected_item);</td></tr>
+<tr class="codeline" data-linenumber="7534"><td class="num" id="LN7534">7534</td><td class="line"> dir_in_archive = selected_item-&gt;dir;</td></tr>
+<tr class="codeline" data-linenumber="7535"><td class="num" id="LN7535">7535</td><td class="line"> original_path = <span class='macro'>g_strdup (selected_item-&gt;original_path)<span class='macro_popup'>g_strdup_inline (selected_item-&gt;original_path)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7536"><td class="num" id="LN7536">7536</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7537"><td class="num" id="LN7537">7537</td><td class="line"> <span class='keyword'>if</span> (renaming_dir &amp;&amp; ! dir_in_archive) {</td></tr>
+<tr class="codeline" data-linenumber="7538"><td class="num" id="LN7538">7538</td><td class="line"> parent_dir = <span class='macro'>g_strdup (fr_window_get_current_location (window))<span class='macro_popup'>g_strdup_inline (fr_window_get_current_location (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7539"><td class="num" id="LN7539">7539</td><td class="line"> old_name = <span class='macro'>g_strdup (selected_item-&gt;list_name)<span class='macro_popup'>g_strdup_inline (selected_item-&gt;list_name)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7540"><td class="num" id="LN7540">7540</td><td class="line"> path_to_rename = g_build_filename (parent_dir, old_name, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7541"><td class="num" id="LN7541">7541</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7542"><td class="num" id="LN7542">7542</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="7543"><td class="num" id="LN7543">7543</td><td class="line"> <span class='keyword'>if</span> (renaming_dir) {</td></tr>
+<tr class="codeline" data-linenumber="7544"><td class="num" id="LN7544">7544</td><td class="line"> path_to_rename = remove_ending_separator (selected_item-&gt;full_path);</td></tr>
+<tr class="codeline" data-linenumber="7545"><td class="num" id="LN7545">7545</td><td class="line"> parent_dir = remove_level_from_path (path_to_rename);</td></tr>
+<tr class="codeline" data-linenumber="7546"><td class="num" id="LN7546">7546</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7547"><td class="num" id="LN7547">7547</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="7548"><td class="num" id="LN7548">7548</td><td class="line"> path_to_rename = <span class='macro'>g_strdup (selected_item-&gt;original_path)<span class='macro_popup'>g_strdup_inline (selected_item-&gt;original_path)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7549"><td class="num" id="LN7549">7549</td><td class="line"> parent_dir = remove_level_from_path (selected_item-&gt;full_path);</td></tr>
+<tr class="codeline" data-linenumber="7550"><td class="num" id="LN7550">7550</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7551"><td class="num" id="LN7551">7551</td><td class="line"> old_name = <span class='macro'>g_strdup (selected_item-&gt;name)<span class='macro_popup'>g_strdup_inline (selected_item-&gt;name)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7552"><td class="num" id="LN7552">7552</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7553"><td class="num" id="LN7553">7553</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7554"><td class="num" id="LN7554">7554</td><td class="line"> file_data_free (selected_item);</td></tr>
+<tr class="codeline" data-linenumber="7555"><td class="num" id="LN7555">7555</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7556"><td class="num" id="LN7556">7556</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7557"><td class="num" id="LN7557">7557</td><td class="line"> retry__rename_selection:</td></tr>
+<tr class="codeline" data-linenumber="7558"><td class="num" id="LN7558">7558</td><td class="line"> utf8_old_name = g_locale_to_utf8 (old_name, -1 ,0 ,0 ,0);</td></tr>
+<tr class="codeline" data-linenumber="7559"><td class="num" id="LN7559">7559</td><td class="line"> utf8_new_name = _gtk_request_dialog_run (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7560"><td class="num" id="LN7560">7560</td><td class="line"> (GTK_DIALOG_DESTROY_WITH_PARENT</td></tr>
+<tr class="codeline" data-linenumber="7561"><td class="num" id="LN7561">7561</td><td class="line"> | GTK_DIALOG_MODAL),</td></tr>
+<tr class="codeline" data-linenumber="7562"><td class="num" id="LN7562">7562</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Rename"</span>)<span class='macro_popup'>gettext ("Rename")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7563"><td class="num" id="LN7563">7563</td><td class="line"> (renaming_dir ? <span class='macro'>_(<span class='string_literal'>"_New folder name:"</span>)<span class='macro_popup'>gettext ("_New folder name:")</span></span> : <span class='macro'>_(<span class='string_literal'>"_New file name:"</span>)<span class='macro_popup'>gettext ("_New file name:")</span></span>),</td></tr>
+<tr class="codeline" data-linenumber="7564"><td class="num" id="LN7564">7564</td><td class="line"> utf8_old_name,</td></tr>
+<tr class="codeline" data-linenumber="7565"><td class="num" id="LN7565">7565</td><td class="line"> 1024,</td></tr>
+<tr class="codeline" data-linenumber="7566"><td class="num" id="LN7566">7566</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"_Cancel"</span>)<span class='macro_popup'>gettext ("_Cancel")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7567"><td class="num" id="LN7567">7567</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"_Rename"</span>)<span class='macro_popup'>gettext ("_Rename")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7568"><td class="num" id="LN7568">7568</td><td class="line"> g_free (utf8_old_name);</td></tr>
+<tr class="codeline" data-linenumber="7569"><td class="num" id="LN7569">7569</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7570"><td class="num" id="LN7570">7570</td><td class="line"> <span class='keyword'>if</span> (utf8_new_name != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="7571"><td class="num" id="LN7571">7571</td><td class="line"> <span class='keyword'>char</span> *new_name;</td></tr>
+<tr class="codeline" data-linenumber="7572"><td class="num" id="LN7572">7572</td><td class="line"> <span class='keyword'>char</span> *reason = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7573"><td class="num" id="LN7573">7573</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7574"><td class="num" id="LN7574">7574</td><td class="line"> new_name = g_filename_from_utf8 (utf8_new_name, -1, 0, 0, 0);</td></tr>
+<tr class="codeline" data-linenumber="7575"><td class="num" id="LN7575">7575</td><td class="line"> g_free (utf8_new_name);</td></tr>
+<tr class="codeline" data-linenumber="7576"><td class="num" id="LN7576">7576</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7577"><td class="num" id="LN7577">7577</td><td class="line"> <span class='keyword'>if</span> (! valid_name (new_name, old_name, &amp;reason)) {</td></tr>
+<tr class="codeline" data-linenumber="7578"><td class="num" id="LN7578">7578</td><td class="line"> <span class='keyword'>char</span> *utf8_name = g_filename_display_name (new_name);</td></tr>
+<tr class="codeline" data-linenumber="7579"><td class="num" id="LN7579">7579</td><td class="line"> GtkWidget *dlg;</td></tr>
+<tr class="codeline" data-linenumber="7580"><td class="num" id="LN7580">7580</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7581"><td class="num" id="LN7581">7581</td><td class="line"> dlg = _gtk_error_dialog_new (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7582"><td class="num" id="LN7582">7582</td><td class="line"> GTK_DIALOG_DESTROY_WITH_PARENT,</td></tr>
+<tr class="codeline" data-linenumber="7583"><td class="num" id="LN7583">7583</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7584"><td class="num" id="LN7584">7584</td><td class="line"> (renaming_dir ? <span class='macro'>_(<span class='string_literal'>"Could not rename the folder"</span>)<span class='macro_popup'>gettext ("Could not rename the folder")</span></span> : <span class='macro'>_(<span class='string_literal'>"Could not rename the file"</span>)<span class='macro_popup'>gettext ("Could not rename the file")</span></span>),</td></tr>
+<tr class="codeline" data-linenumber="7585"><td class="num" id="LN7585">7585</td><td class="line"> <span class='string_literal'>"%s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="7586"><td class="num" id="LN7586">7586</td><td class="line"> reason);</td></tr>
+<tr class="codeline" data-linenumber="7587"><td class="num" id="LN7587">7587</td><td class="line"> gtk_dialog_run (<span class='macro'>GTK_DIALOG (dlg)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dlg)), ((gtk_dialog_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7588"><td class="num" id="LN7588">7588</td><td class="line"> gtk_widget_destroy (dlg);</td></tr>
+<tr class="codeline" data-linenumber="7589"><td class="num" id="LN7589">7589</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7590"><td class="num" id="LN7590">7590</td><td class="line"> g_free (reason);</td></tr>
+<tr class="codeline" data-linenumber="7591"><td class="num" id="LN7591">7591</td><td class="line"> g_free (utf8_name);</td></tr>
+<tr class="codeline" data-linenumber="7592"><td class="num" id="LN7592">7592</td><td class="line"> g_free (new_name);</td></tr>
+<tr class="codeline" data-linenumber="7593"><td class="num" id="LN7593">7593</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7594"><td class="num" id="LN7594">7594</td><td class="line"> <span class='keyword'>goto</span> retry__rename_selection;</td></tr>
+<tr class="codeline" data-linenumber="7595"><td class="num" id="LN7595">7595</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7596"><td class="num" id="LN7596">7596</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7597"><td class="num" id="LN7597">7597</td><td class="line"> <span class='keyword'>if</span> (name_is_present (window, parent_dir, new_name, &amp;reason)) {</td></tr>
+<tr class="codeline" data-linenumber="7598"><td class="num" id="LN7598">7598</td><td class="line"> GtkWidget *dlg;</td></tr>
+<tr class="codeline" data-linenumber="7599"><td class="num" id="LN7599">7599</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7600"><td class="num" id="LN7600">7600</td><td class="line"> dlg = _gtk_message_dialog_new (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7601"><td class="num" id="LN7601">7601</td><td class="line"> GTK_DIALOG_MODAL,</td></tr>
+<tr class="codeline" data-linenumber="7602"><td class="num" id="LN7602">7602</td><td class="line"> <span class='string_literal'>"dialog-question"</span>,</td></tr>
+<tr class="codeline" data-linenumber="7603"><td class="num" id="LN7603">7603</td><td class="line"> (renaming_dir ? <span class='macro'>_(<span class='string_literal'>"Could not rename the folder"</span>)<span class='macro_popup'>gettext ("Could not rename the folder")</span></span> : <span class='macro'>_(<span class='string_literal'>"Could not rename the file"</span>)<span class='macro_popup'>gettext ("Could not rename the file")</span></span>),</td></tr>
+<tr class="codeline" data-linenumber="7604"><td class="num" id="LN7604">7604</td><td class="line"> reason,</td></tr>
+<tr class="codeline" data-linenumber="7605"><td class="num" id="LN7605">7605</td><td class="line"> <span class='string_literal'>"gtk-close"</span>, GTK_RESPONSE_OK,</td></tr>
+<tr class="codeline" data-linenumber="7606"><td class="num" id="LN7606">7606</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7607"><td class="num" id="LN7607">7607</td><td class="line"> gtk_dialog_run (<span class='macro'>GTK_DIALOG (dlg)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dlg)), ((gtk_dialog_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7608"><td class="num" id="LN7608">7608</td><td class="line"> gtk_widget_destroy (dlg);</td></tr>
+<tr class="codeline" data-linenumber="7609"><td class="num" id="LN7609">7609</td><td class="line"> g_free (reason);</td></tr>
+<tr class="codeline" data-linenumber="7610"><td class="num" id="LN7610">7610</td><td class="line"> g_free (new_name);</td></tr>
+<tr class="codeline" data-linenumber="7611"><td class="num" id="LN7611">7611</td><td class="line"> <span class='keyword'>goto</span> retry__rename_selection;</td></tr>
+<tr class="codeline" data-linenumber="7612"><td class="num" id="LN7612">7612</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7613"><td class="num" id="LN7613">7613</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7614"><td class="num" id="LN7614">7614</td><td class="line"> rename_selection (window,</td></tr>
+<tr class="codeline" data-linenumber="7615"><td class="num" id="LN7615">7615</td><td class="line"> path_to_rename,</td></tr>
+<tr class="codeline" data-linenumber="7616"><td class="num" id="LN7616">7616</td><td class="line"> old_name,</td></tr>
+<tr class="codeline" data-linenumber="7617"><td class="num" id="LN7617">7617</td><td class="line"> new_name,</td></tr>
+<tr class="codeline" data-linenumber="7618"><td class="num" id="LN7618">7618</td><td class="line"> parent_dir,</td></tr>
+<tr class="codeline" data-linenumber="7619"><td class="num" id="LN7619">7619</td><td class="line"> renaming_dir,</td></tr>
+<tr class="codeline" data-linenumber="7620"><td class="num" id="LN7620">7620</td><td class="line"> dir_in_archive,</td></tr>
+<tr class="codeline" data-linenumber="7621"><td class="num" id="LN7621">7621</td><td class="line"> original_path);</td></tr>
+<tr class="codeline" data-linenumber="7622"><td class="num" id="LN7622">7622</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7623"><td class="num" id="LN7623">7623</td><td class="line"> g_free (new_name);</td></tr>
+<tr class="codeline" data-linenumber="7624"><td class="num" id="LN7624">7624</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7625"><td class="num" id="LN7625">7625</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7626"><td class="num" id="LN7626">7626</td><td class="line"> g_free (old_name);</td></tr>
+<tr class="codeline" data-linenumber="7627"><td class="num" id="LN7627">7627</td><td class="line"> g_free (parent_dir);</td></tr>
+<tr class="codeline" data-linenumber="7628"><td class="num" id="LN7628">7628</td><td class="line"> g_free (path_to_rename);</td></tr>
+<tr class="codeline" data-linenumber="7629"><td class="num" id="LN7629">7629</td><td class="line"> g_free (original_path);</td></tr>
+<tr class="codeline" data-linenumber="7630"><td class="num" id="LN7630">7630</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7631"><td class="num" id="LN7631">7631</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7632"><td class="num" id="LN7632">7632</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7633"><td class="num" id="LN7633">7633</td><td class="line">fr_clipboard_get (GtkClipboard *clipboard,</td></tr>
+<tr class="codeline" data-linenumber="7634"><td class="num" id="LN7634">7634</td><td class="line"> GtkSelectionData *selection_data,</td></tr>
+<tr class="codeline" data-linenumber="7635"><td class="num" id="LN7635">7635</td><td class="line"> guint info,</td></tr>
+<tr class="codeline" data-linenumber="7636"><td class="num" id="LN7636">7636</td><td class="line"> gpointer user_data_or_owner)</td></tr>
+<tr class="codeline" data-linenumber="7637"><td class="num" id="LN7637">7637</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7638"><td class="num" id="LN7638">7638</td><td class="line"> FrWindow *window = user_data_or_owner;</td></tr>
+<tr class="codeline" data-linenumber="7639"><td class="num" id="LN7639">7639</td><td class="line"> <span class='keyword'>char</span> *data;</td></tr>
+<tr class="codeline" data-linenumber="7640"><td class="num" id="LN7640">7640</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7641"><td class="num" id="LN7641">7641</td><td class="line"> <span class='keyword'>if</span> (gtk_selection_data_get_target (selection_data) != <span class='macro'>FR_SPECIAL_URI_LIST<span class='macro_popup'>(gdk_atom_intern_static_string ("application/engrampa-uri-list"<br>))</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="7642"><td class="num" id="LN7642">7642</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="7643"><td class="num" id="LN7643">7643</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7644"><td class="num" id="LN7644">7644</td><td class="line"> data = get_selection_data_from_clipboard_data (window, window-&gt;priv-&gt;copy_data);</td></tr>
+<tr class="codeline" data-linenumber="7645"><td class="num" id="LN7645">7645</td><td class="line"> gtk_selection_data_set (selection_data,</td></tr>
+<tr class="codeline" data-linenumber="7646"><td class="num" id="LN7646">7646</td><td class="line"> gtk_selection_data_get_target (selection_data),</td></tr>
+<tr class="codeline" data-linenumber="7647"><td class="num" id="LN7647">7647</td><td class="line"> 8,</td></tr>
+<tr class="codeline" data-linenumber="7648"><td class="num" id="LN7648">7648</td><td class="line"> (guchar *) data,</td></tr>
+<tr class="codeline" data-linenumber="7649"><td class="num" id="LN7649">7649</td><td class="line"> strlen (data));</td></tr>
+<tr class="codeline" data-linenumber="7650"><td class="num" id="LN7650">7650</td><td class="line"> g_free (data);</td></tr>
+<tr class="codeline" data-linenumber="7651"><td class="num" id="LN7651">7651</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7652"><td class="num" id="LN7652">7652</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7653"><td class="num" id="LN7653">7653</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7654"><td class="num" id="LN7654">7654</td><td class="line">fr_clipboard_clear (GtkClipboard *clipboard,</td></tr>
+<tr class="codeline" data-linenumber="7655"><td class="num" id="LN7655">7655</td><td class="line"> gpointer user_data_or_owner)</td></tr>
+<tr class="codeline" data-linenumber="7656"><td class="num" id="LN7656">7656</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7657"><td class="num" id="LN7657">7657</td><td class="line"> FrWindow *window = user_data_or_owner;</td></tr>
+<tr class="codeline" data-linenumber="7658"><td class="num" id="LN7658">7658</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7659"><td class="num" id="LN7659">7659</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;copy_data != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="7660"><td class="num" id="LN7660">7660</td><td class="line"> fr_clipboard_data_unref (window-&gt;priv-&gt;copy_data);</td></tr>
+<tr class="codeline" data-linenumber="7661"><td class="num" id="LN7661">7661</td><td class="line"> window-&gt;priv-&gt;copy_data = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7662"><td class="num" id="LN7662">7662</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7663"><td class="num" id="LN7663">7663</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7664"><td class="num" id="LN7664">7664</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7665"><td class="num" id="LN7665">7665</td><td class="line">GList *</td></tr>
+<tr class="codeline" data-linenumber="7666"><td class="num" id="LN7666">7666</td><td class="line">fr_window_get_selection (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="7667"><td class="num" id="LN7667">7667</td><td class="line"> gboolean from_sidebar,</td></tr>
+<tr class="codeline" data-linenumber="7668"><td class="num" id="LN7668">7668</td><td class="line"> <span class='keyword'>char</span> **return_base_dir)</td></tr>
+<tr class="codeline" data-linenumber="7669"><td class="num" id="LN7669">7669</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7670"><td class="num" id="LN7670">7670</td><td class="line"> GList *files;</td></tr>
+<tr class="codeline" data-linenumber="7671"><td class="num" id="LN7671">7671</td><td class="line"> <span class='keyword'>char</span> *base_dir;</td></tr>
+<tr class="codeline" data-linenumber="7672"><td class="num" id="LN7672">7672</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7673"><td class="num" id="LN7673">7673</td><td class="line"> <span class='keyword'>if</span> (from_sidebar) {</td></tr>
+<tr class="codeline" data-linenumber="7674"><td class="num" id="LN7674">7674</td><td class="line"> <span class='keyword'>char</span> *selected_folder;</td></tr>
+<tr class="codeline" data-linenumber="7675"><td class="num" id="LN7675">7675</td><td class="line"> <span class='keyword'>char</span> *parent_folder;</td></tr>
+<tr class="codeline" data-linenumber="7676"><td class="num" id="LN7676">7676</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7677"><td class="num" id="LN7677">7677</td><td class="line"> files = fr_window_get_folder_tree_selection (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7678"><td class="num" id="LN7678">7678</td><td class="line"> selected_folder = fr_window_get_selected_folder_in_tree_view (window);</td></tr>
+<tr class="codeline" data-linenumber="7679"><td class="num" id="LN7679">7679</td><td class="line"> parent_folder = remove_level_from_path (selected_folder);</td></tr>
+<tr class="codeline" data-linenumber="7680"><td class="num" id="LN7680">7680</td><td class="line"> <span class='keyword'>if</span> (parent_folder == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="7681"><td class="num" id="LN7681">7681</td><td class="line"> base_dir = <span class='macro'>g_strdup (<span class='string_literal'>"/"</span>)<span class='macro_popup'>g_strdup_inline ("/")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7682"><td class="num" id="LN7682">7682</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (parent_folder[strlen (parent_folder) - 1] == '/')</td></tr>
+<tr class="codeline" data-linenumber="7683"><td class="num" id="LN7683">7683</td><td class="line"> base_dir = <span class='macro'>g_strdup (parent_folder)<span class='macro_popup'>g_strdup_inline (parent_folder)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7684"><td class="num" id="LN7684">7684</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="7685"><td class="num" id="LN7685">7685</td><td class="line"> base_dir = g_strconcat (parent_folder, <span class='string_literal'>"/"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7686"><td class="num" id="LN7686">7686</td><td class="line"> g_free (selected_folder);</td></tr>
+<tr class="codeline" data-linenumber="7687"><td class="num" id="LN7687">7687</td><td class="line"> g_free (parent_folder);</td></tr>
+<tr class="codeline" data-linenumber="7688"><td class="num" id="LN7688">7688</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7689"><td class="num" id="LN7689">7689</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="7690"><td class="num" id="LN7690">7690</td><td class="line"> files = fr_window_get_file_list_selection (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7691"><td class="num" id="LN7691">7691</td><td class="line"> base_dir = <span class='macro'>g_strdup (fr_window_get_current_location (window))<span class='macro_popup'>g_strdup_inline (fr_window_get_current_location (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7692"><td class="num" id="LN7692">7692</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7693"><td class="num" id="LN7693">7693</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7694"><td class="num" id="LN7694">7694</td><td class="line"> <span class='keyword'>if</span> (return_base_dir)</td></tr>
+<tr class="codeline" data-linenumber="7695"><td class="num" id="LN7695">7695</td><td class="line"> *return_base_dir = base_dir;</td></tr>
+<tr class="codeline" data-linenumber="7696"><td class="num" id="LN7696">7696</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="7697"><td class="num" id="LN7697">7697</td><td class="line"> g_free (base_dir);</td></tr>
+<tr class="codeline" data-linenumber="7698"><td class="num" id="LN7698">7698</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7699"><td class="num" id="LN7699">7699</td><td class="line"> <span class='keyword'>return</span> files;</td></tr>
+<tr class="codeline" data-linenumber="7700"><td class="num" id="LN7700">7700</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7701"><td class="num" id="LN7701">7701</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7702"><td class="num" id="LN7702">7702</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7703"><td class="num" id="LN7703">7703</td><td class="line">fr_window_copy_or_cut_selection (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="7704"><td class="num" id="LN7704">7704</td><td class="line"> FRClipboardOp op,</td></tr>
+<tr class="codeline" data-linenumber="7705"><td class="num" id="LN7705">7705</td><td class="line"> gboolean from_sidebar)</td></tr>
+<tr class="codeline" data-linenumber="7706"><td class="num" id="LN7706">7706</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7707"><td class="num" id="LN7707">7707</td><td class="line"> GList *files;</td></tr>
+<tr class="codeline" data-linenumber="7708"><td class="num" id="LN7708">7708</td><td class="line"> <span class='keyword'>char</span> *base_dir;</td></tr>
+<tr class="codeline" data-linenumber="7709"><td class="num" id="LN7709">7709</td><td class="line"> GtkClipboard *clipboard;</td></tr>
+<tr class="codeline" data-linenumber="7710"><td class="num" id="LN7710">7710</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7711"><td class="num" id="LN7711">7711</td><td class="line"> files = fr_window_get_selection (window, from_sidebar, &amp;base_dir);</td></tr>
+<tr class="codeline" data-linenumber="7712"><td class="num" id="LN7712">7712</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7713"><td class="num" id="LN7713">7713</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;copy_data != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="7714"><td class="num" id="LN7714">7714</td><td class="line"> fr_clipboard_data_unref (window-&gt;priv-&gt;copy_data);</td></tr>
+<tr class="codeline" data-linenumber="7715"><td class="num" id="LN7715">7715</td><td class="line"> window-&gt;priv-&gt;copy_data = fr_clipboard_data_new ();</td></tr>
+<tr class="codeline" data-linenumber="7716"><td class="num" id="LN7716">7716</td><td class="line"> window-&gt;priv-&gt;copy_data-&gt;files = files;</td></tr>
+<tr class="codeline" data-linenumber="7717"><td class="num" id="LN7717">7717</td><td class="line"> window-&gt;priv-&gt;copy_data-&gt;op = op;</td></tr>
+<tr class="codeline" data-linenumber="7718"><td class="num" id="LN7718">7718</td><td class="line"> window-&gt;priv-&gt;copy_data-&gt;base_dir = base_dir;</td></tr>
+<tr class="codeline" data-linenumber="7719"><td class="num" id="LN7719">7719</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7720"><td class="num" id="LN7720">7720</td><td class="line"> clipboard = gtk_clipboard_get (<span class='macro'>FR_CLIPBOARD<span class='macro_popup'>(gdk_atom_intern_static_string ("_RNGRAMPA_SPECIAL_CLIPBOARD"<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7721"><td class="num" id="LN7721">7721</td><td class="line"> gtk_clipboard_set_with_owner (clipboard,</td></tr>
+<tr class="codeline" data-linenumber="7722"><td class="num" id="LN7722">7722</td><td class="line"> clipboard_targets,</td></tr>
+<tr class="codeline" data-linenumber="7723"><td class="num" id="LN7723">7723</td><td class="line"> <span class='macro'>G_N_ELEMENTS (clipboard_targets)<span class='macro_popup'>(sizeof (clipboard_targets) / sizeof ((clipboard_targets)[0])<br>)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7724"><td class="num" id="LN7724">7724</td><td class="line"> fr_clipboard_get,</td></tr>
+<tr class="codeline" data-linenumber="7725"><td class="num" id="LN7725">7725</td><td class="line"> fr_clipboard_clear,</td></tr>
+<tr class="codeline" data-linenumber="7726"><td class="num" id="LN7726">7726</td><td class="line"> <span class='macro'>G_OBJECT (window)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7727"><td class="num" id="LN7727">7727</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7728"><td class="num" id="LN7728">7728</td><td class="line"> fr_window_update_sensitivity (window);</td></tr>
+<tr class="codeline" data-linenumber="7729"><td class="num" id="LN7729">7729</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7730"><td class="num" id="LN7730">7730</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7731"><td class="num" id="LN7731">7731</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7732"><td class="num" id="LN7732">7732</td><td class="line">fr_window_copy_selection (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="7733"><td class="num" id="LN7733">7733</td><td class="line"> gboolean from_sidebar)</td></tr>
+<tr class="codeline" data-linenumber="7734"><td class="num" id="LN7734">7734</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7735"><td class="num" id="LN7735">7735</td><td class="line"> fr_window_copy_or_cut_selection (window, FR_CLIPBOARD_OP_COPY, from_sidebar);</td></tr>
+<tr class="codeline" data-linenumber="7736"><td class="num" id="LN7736">7736</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7737"><td class="num" id="LN7737">7737</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7738"><td class="num" id="LN7738">7738</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7739"><td class="num" id="LN7739">7739</td><td class="line">fr_window_cut_selection (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="7740"><td class="num" id="LN7740">7740</td><td class="line"> gboolean from_sidebar)</td></tr>
+<tr class="codeline" data-linenumber="7741"><td class="num" id="LN7741">7741</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7742"><td class="num" id="LN7742">7742</td><td class="line"> fr_window_copy_or_cut_selection (window, FR_CLIPBOARD_OP_CUT, from_sidebar);</td></tr>
+<tr class="codeline" data-linenumber="7743"><td class="num" id="LN7743">7743</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7744"><td class="num" id="LN7744">7744</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7745"><td class="num" id="LN7745">7745</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="7746"><td class="num" id="LN7746">7746</td><td class="line">always_fake_load (FrArchive *archive,</td></tr>
+<tr class="codeline" data-linenumber="7747"><td class="num" id="LN7747">7747</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="7748"><td class="num" id="LN7748">7748</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7749"><td class="num" id="LN7749">7749</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7750"><td class="num" id="LN7750">7750</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7751"><td class="num" id="LN7751">7751</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7752"><td class="num" id="LN7752">7752</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7753"><td class="num" id="LN7753">7753</td><td class="line">add_pasted_files (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="7754"><td class="num" id="LN7754">7754</td><td class="line"> FrClipboardData *data)</td></tr>
+<tr class="codeline" data-linenumber="7755"><td class="num" id="LN7755">7755</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7756"><td class="num" id="LN7756">7756</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *current_dir_relative = data-&gt;current_dir + 1;</td></tr>
+<tr class="codeline" data-linenumber="7757"><td class="num" id="LN7757">7757</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="7758"><td class="num" id="LN7758">7758</td><td class="line"> GList *new_file_list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7759"><td class="num" id="LN7759">7759</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7760"><td class="num" id="LN7760">7760</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;password_for_paste != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="7761"><td class="num" id="LN7761">7761</td><td class="line"> g_free (window-&gt;priv-&gt;password_for_paste);</td></tr>
+<tr class="codeline" data-linenumber="7762"><td class="num" id="LN7762">7762</td><td class="line"> window-&gt;priv-&gt;password_for_paste = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7763"><td class="num" id="LN7763">7763</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7764"><td class="num" id="LN7764">7764</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7765"><td class="num" id="LN7765">7765</td><td class="line"> fr_process_clear (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="7766"><td class="num" id="LN7766">7766</td><td class="line"> <span class='keyword'>for</span> (scan = data-&gt;files; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="7767"><td class="num" id="LN7767">7767</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *old_name = (<span class='keyword'>char</span>*) scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="7768"><td class="num" id="LN7768">7768</td><td class="line"> <span class='keyword'>char</span> *new_name = g_build_filename (current_dir_relative, old_name + strlen (data-&gt;base_dir) - 1, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7769"><td class="num" id="LN7769">7769</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7770"><td class="num" id="LN7770">7770</td><td class="line"> <span class='comment'>/* skip folders */</span></td></tr>
+<tr class="codeline" data-linenumber="7771"><td class="num" id="LN7771">7771</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7772"><td class="num" id="LN7772">7772</td><td class="line"> <span class='keyword'>if</span> ((strcmp (old_name, new_name) != 0)</td></tr>
+<tr class="codeline" data-linenumber="7773"><td class="num" id="LN7773">7773</td><td class="line"> &amp;&amp; (old_name[strlen (old_name) - 1] != '/'))</td></tr>
+<tr class="codeline" data-linenumber="7774"><td class="num" id="LN7774">7774</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="7775"><td class="num" id="LN7775">7775</td><td class="line"> fr_process_begin_command (window-&gt;archive-&gt;process, <span class='string_literal'>"mv"</span>);</td></tr>
+<tr class="codeline" data-linenumber="7776"><td class="num" id="LN7776">7776</td><td class="line"> fr_process_set_working_dir (window-&gt;archive-&gt;process, data-&gt;tmp_dir);</td></tr>
+<tr class="codeline" data-linenumber="7777"><td class="num" id="LN7777">7777</td><td class="line"> fr_process_add_arg (window-&gt;archive-&gt;process, <span class='string_literal'>"-f"</span>);</td></tr>
+<tr class="codeline" data-linenumber="7778"><td class="num" id="LN7778">7778</td><td class="line"> <span class='keyword'>if</span> (old_name[0] == '/')</td></tr>
+<tr class="codeline" data-linenumber="7779"><td class="num" id="LN7779">7779</td><td class="line"> old_name = old_name + 1;</td></tr>
+<tr class="codeline" data-linenumber="7780"><td class="num" id="LN7780">7780</td><td class="line"> fr_process_add_arg (window-&gt;archive-&gt;process, old_name);</td></tr>
+<tr class="codeline" data-linenumber="7781"><td class="num" id="LN7781">7781</td><td class="line"> fr_process_add_arg (window-&gt;archive-&gt;process, new_name);</td></tr>
+<tr class="codeline" data-linenumber="7782"><td class="num" id="LN7782">7782</td><td class="line"> fr_process_end_command (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="7783"><td class="num" id="LN7783">7783</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7784"><td class="num" id="LN7784">7784</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7785"><td class="num" id="LN7785">7785</td><td class="line"> new_file_list = g_list_prepend (new_file_list, new_name);</td></tr>
+<tr class="codeline" data-linenumber="7786"><td class="num" id="LN7786">7786</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7787"><td class="num" id="LN7787">7787</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7788"><td class="num" id="LN7788">7788</td><td class="line"> fr_archive_add (window-&gt;archive,</td></tr>
+<tr class="codeline" data-linenumber="7789"><td class="num" id="LN7789">7789</td><td class="line"> new_file_list,</td></tr>
+<tr class="codeline" data-linenumber="7790"><td class="num" id="LN7790">7790</td><td class="line"> data-&gt;tmp_dir,</td></tr>
+<tr class="codeline" data-linenumber="7791"><td class="num" id="LN7791">7791</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7792"><td class="num" id="LN7792">7792</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7793"><td class="num" id="LN7793">7793</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7794"><td class="num" id="LN7794">7794</td><td class="line"> window-&gt;priv-&gt;password,</td></tr>
+<tr class="codeline" data-linenumber="7795"><td class="num" id="LN7795">7795</td><td class="line"> window-&gt;priv-&gt;encrypt_header,</td></tr>
+<tr class="codeline" data-linenumber="7796"><td class="num" id="LN7796">7796</td><td class="line"> window-&gt;priv-&gt;compression,</td></tr>
+<tr class="codeline" data-linenumber="7797"><td class="num" id="LN7797">7797</td><td class="line"> window-&gt;priv-&gt;volume_size);</td></tr>
+<tr class="codeline" data-linenumber="7798"><td class="num" id="LN7798">7798</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7799"><td class="num" id="LN7799">7799</td><td class="line"> path_list_free (new_file_list);</td></tr>
+<tr class="codeline" data-linenumber="7800"><td class="num" id="LN7800">7800</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7801"><td class="num" id="LN7801">7801</td><td class="line"> <span class='comment'>/* remove the tmp dir */</span></td></tr>
+<tr class="codeline" data-linenumber="7802"><td class="num" id="LN7802">7802</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7803"><td class="num" id="LN7803">7803</td><td class="line"> fr_process_begin_command (window-&gt;archive-&gt;process, <span class='string_literal'>"rm"</span>);</td></tr>
+<tr class="codeline" data-linenumber="7804"><td class="num" id="LN7804">7804</td><td class="line"> fr_process_set_working_dir (window-&gt;archive-&gt;process, g_get_tmp_dir ());</td></tr>
+<tr class="codeline" data-linenumber="7805"><td class="num" id="LN7805">7805</td><td class="line"> fr_process_set_sticky (window-&gt;archive-&gt;process, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7806"><td class="num" id="LN7806">7806</td><td class="line"> fr_process_add_arg (window-&gt;archive-&gt;process, <span class='string_literal'>"-rf"</span>);</td></tr>
+<tr class="codeline" data-linenumber="7807"><td class="num" id="LN7807">7807</td><td class="line"> fr_process_add_arg (window-&gt;archive-&gt;process, data-&gt;tmp_dir);</td></tr>
+<tr class="codeline" data-linenumber="7808"><td class="num" id="LN7808">7808</td><td class="line"> fr_process_end_command (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="7809"><td class="num" id="LN7809">7809</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7810"><td class="num" id="LN7810">7810</td><td class="line"> fr_process_start (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="7811"><td class="num" id="LN7811">7811</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7812"><td class="num" id="LN7812">7812</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7813"><td class="num" id="LN7813">7813</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7814"><td class="num" id="LN7814">7814</td><td class="line">copy_from_archive_action_performed_cb (FrArchive *archive,</td></tr>
+<tr class="codeline" data-linenumber="7815"><td class="num" id="LN7815">7815</td><td class="line"> FrAction action,</td></tr>
+<tr class="codeline" data-linenumber="7816"><td class="num" id="LN7816">7816</td><td class="line"> FrProcError *error,</td></tr>
+<tr class="codeline" data-linenumber="7817"><td class="num" id="LN7817">7817</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="7818"><td class="num" id="LN7818">7818</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7819"><td class="num" id="LN7819">7819</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="7820"><td class="num" id="LN7820">7820</td><td class="line"> gboolean <span class='macro'>UNUSED_VARIABLE<span class='macro_popup'>__attribute__ ((unused))</span></span> continue_batch = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7821"><td class="num" id="LN7821">7821</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7822"><td class="num" id="LN7822">7822</td><td class="line"><span class='directive'>#ifdef MATE_ENABLE_DEBUG</span></td></tr>
+<tr class="codeline" data-linenumber="7823"><td class="num" id="LN7823">7823</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 7823, __FUNCTION__</span></span>, <span class='string_literal'>"%s [DONE] (FR::Window)\n"</span>, get_action_name (action));</td></tr>
+<tr class="codeline" data-linenumber="7824"><td class="num" id="LN7824">7824</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="7825"><td class="num" id="LN7825">7825</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7826"><td class="num" id="LN7826">7826</td><td class="line"> fr_window_stop_activity_mode (window);</td></tr>
+<tr class="codeline" data-linenumber="7827"><td class="num" id="LN7827">7827</td><td class="line"> fr_window_pop_message (window);</td></tr>
+<tr class="codeline" data-linenumber="7828"><td class="num" id="LN7828">7828</td><td class="line"> close_progress_dialog (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7829"><td class="num" id="LN7829">7829</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7830"><td class="num" id="LN7830">7830</td><td class="line"> <span class='keyword'>if</span> (error-&gt;type == FR_PROC_ERROR_ASK_PASSWORD) {</td></tr>
+<tr class="codeline" data-linenumber="7831"><td class="num" id="LN7831">7831</td><td class="line"> dlg_ask_password_for_paste_operation (window);</td></tr>
+<tr class="codeline" data-linenumber="7832"><td class="num" id="LN7832">7832</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="7833"><td class="num" id="LN7833">7833</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7834"><td class="num" id="LN7834">7834</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7835"><td class="num" id="LN7835">7835</td><td class="line"> (<span class='keyword'>void</span>) handle_errors (window, archive, action, error);</td></tr>
+<tr class="codeline" data-linenumber="7836"><td class="num" id="LN7836">7836</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7837"><td class="num" id="LN7837">7837</td><td class="line"> <span class='keyword'>if</span> (error-&gt;type != FR_PROC_ERROR_NONE) {</td></tr>
+<tr class="codeline" data-linenumber="7838"><td class="num" id="LN7838">7838</td><td class="line"> fr_clipboard_data_unref (window-&gt;priv-&gt;clipboard_data);</td></tr>
+<tr class="codeline" data-linenumber="7839"><td class="num" id="LN7839">7839</td><td class="line"> window-&gt;priv-&gt;clipboard_data = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7840"><td class="num" id="LN7840">7840</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="7841"><td class="num" id="LN7841">7841</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7842"><td class="num" id="LN7842">7842</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7843"><td class="num" id="LN7843">7843</td><td class="line"> <span class='keyword'>switch</span> (action) {</td></tr>
+<tr class="codeline" data-linenumber="7844"><td class="num" id="LN7844">7844</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_LISTING_CONTENT:</td></tr>
+<tr class="codeline" data-linenumber="7845"><td class="num" id="LN7845">7845</td><td class="line"> fr_process_clear (window-&gt;priv-&gt;copy_from_archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="7846"><td class="num" id="LN7846">7846</td><td class="line"> fr_archive_extract_to_local (window-&gt;priv-&gt;copy_from_archive,</td></tr>
+<tr class="codeline" data-linenumber="7847"><td class="num" id="LN7847">7847</td><td class="line"> window-&gt;priv-&gt;clipboard_data-&gt;files,</td></tr>
+<tr class="codeline" data-linenumber="7848"><td class="num" id="LN7848">7848</td><td class="line"> window-&gt;priv-&gt;clipboard_data-&gt;tmp_dir,</td></tr>
+<tr class="codeline" data-linenumber="7849"><td class="num" id="LN7849">7849</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7850"><td class="num" id="LN7850">7850</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7851"><td class="num" id="LN7851">7851</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7852"><td class="num" id="LN7852">7852</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7853"><td class="num" id="LN7853">7853</td><td class="line"> window-&gt;priv-&gt;clipboard_data-&gt;archive_password);</td></tr>
+<tr class="codeline" data-linenumber="7854"><td class="num" id="LN7854">7854</td><td class="line"> fr_process_start (window-&gt;priv-&gt;copy_from_archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="7855"><td class="num" id="LN7855">7855</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="7856"><td class="num" id="LN7856">7856</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7857"><td class="num" id="LN7857">7857</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_EXTRACTING_FILES:</td></tr>
+<tr class="codeline" data-linenumber="7858"><td class="num" id="LN7858">7858</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;clipboard_data-&gt;op == FR_CLIPBOARD_OP_CUT) {</td></tr>
+<tr class="codeline" data-linenumber="7859"><td class="num" id="LN7859">7859</td><td class="line"> fr_process_clear (window-&gt;priv-&gt;copy_from_archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="7860"><td class="num" id="LN7860">7860</td><td class="line"> fr_archive_remove (window-&gt;priv-&gt;copy_from_archive,</td></tr>
+<tr class="codeline" data-linenumber="7861"><td class="num" id="LN7861">7861</td><td class="line"> window-&gt;priv-&gt;clipboard_data-&gt;files,</td></tr>
+<tr class="codeline" data-linenumber="7862"><td class="num" id="LN7862">7862</td><td class="line"> window-&gt;priv-&gt;compression);</td></tr>
+<tr class="codeline" data-linenumber="7863"><td class="num" id="LN7863">7863</td><td class="line"> fr_process_start (window-&gt;priv-&gt;copy_from_archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="7864"><td class="num" id="LN7864">7864</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7865"><td class="num" id="LN7865">7865</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="7866"><td class="num" id="LN7866">7866</td><td class="line"> add_pasted_files (window, window-&gt;priv-&gt;clipboard_data);</td></tr>
+<tr class="codeline" data-linenumber="7867"><td class="num" id="LN7867">7867</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="7868"><td class="num" id="LN7868">7868</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7869"><td class="num" id="LN7869">7869</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_DELETING_FILES:</td></tr>
+<tr class="codeline" data-linenumber="7870"><td class="num" id="LN7870">7870</td><td class="line"> add_pasted_files (window, window-&gt;priv-&gt;clipboard_data);</td></tr>
+<tr class="codeline" data-linenumber="7871"><td class="num" id="LN7871">7871</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="7872"><td class="num" id="LN7872">7872</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7873"><td class="num" id="LN7873">7873</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="7874"><td class="num" id="LN7874">7874</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="7875"><td class="num" id="LN7875">7875</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7876"><td class="num" id="LN7876">7876</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7877"><td class="num" id="LN7877">7877</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7878"><td class="num" id="LN7878">7878</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7879"><td class="num" id="LN7879">7879</td><td class="line">fr_window_paste_from_clipboard_data (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="7880"><td class="num" id="LN7880">7880</td><td class="line"> FrClipboardData *data)</td></tr>
+<tr class="codeline" data-linenumber="7881"><td class="num" id="LN7881">7881</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7882"><td class="num" id="LN7882">7882</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *current_dir_relative;</td></tr>
+<tr class="codeline" data-linenumber="7883"><td class="num" id="LN7883">7883</td><td class="line"> GHashTable *created_dirs;</td></tr>
+<tr class="codeline" data-linenumber="7884"><td class="num" id="LN7884">7884</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="7885"><td class="num" id="LN7885">7885</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7886"><td class="num" id="LN7886">7886</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;password_for_paste != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="7887"><td class="num" id="LN7887">7887</td><td class="line"> fr_clipboard_data_set_password (data, window-&gt;priv-&gt;password_for_paste);</td></tr>
+<tr class="codeline" data-linenumber="7888"><td class="num" id="LN7888">7888</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7889"><td class="num" id="LN7889">7889</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;clipboard_data != data) {</td></tr>
+<tr class="codeline" data-linenumber="7890"><td class="num" id="LN7890">7890</td><td class="line"> fr_clipboard_data_unref (window-&gt;priv-&gt;clipboard_data);</td></tr>
+<tr class="codeline" data-linenumber="7891"><td class="num" id="LN7891">7891</td><td class="line"> window-&gt;priv-&gt;clipboard_data = data;</td></tr>
+<tr class="codeline" data-linenumber="7892"><td class="num" id="LN7892">7892</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7893"><td class="num" id="LN7893">7893</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7894"><td class="num" id="LN7894">7894</td><td class="line"> fr_window_set_current_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="7895"><td class="num" id="LN7895">7895</td><td class="line"> FR_BATCH_ACTION_PASTE,</td></tr>
+<tr class="codeline" data-linenumber="7896"><td class="num" id="LN7896">7896</td><td class="line"> fr_clipboard_data_ref (data),</td></tr>
+<tr class="codeline" data-linenumber="7897"><td class="num" id="LN7897">7897</td><td class="line"> (GFreeFunc) fr_clipboard_data_unref);</td></tr>
+<tr class="codeline" data-linenumber="7898"><td class="num" id="LN7898">7898</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7899"><td class="num" id="LN7899">7899</td><td class="line"> current_dir_relative = data-&gt;current_dir + 1;</td></tr>
+<tr class="codeline" data-linenumber="7900"><td class="num" id="LN7900">7900</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7901"><td class="num" id="LN7901">7901</td><td class="line"> data-&gt;tmp_dir = get_temp_work_dir (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7902"><td class="num" id="LN7902">7902</td><td class="line"> created_dirs = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7903"><td class="num" id="LN7903">7903</td><td class="line"> <span class='keyword'>for</span> (scan = data-&gt;files; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="7904"><td class="num" id="LN7904">7904</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *old_name = (<span class='keyword'>char</span>*) scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="7905"><td class="num" id="LN7905">7905</td><td class="line"> <span class='keyword'>char</span> *new_name = g_build_filename (current_dir_relative, old_name + strlen (data-&gt;base_dir) - 1, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7906"><td class="num" id="LN7906">7906</td><td class="line"> <span class='keyword'>char</span> *dir = remove_level_from_path (new_name);</td></tr>
+<tr class="codeline" data-linenumber="7907"><td class="num" id="LN7907">7907</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7908"><td class="num" id="LN7908">7908</td><td class="line"> <span class='keyword'>if</span> ((dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (g_hash_table_lookup (created_dirs, dir) == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="7909"><td class="num" id="LN7909">7909</td><td class="line"> <span class='keyword'>char</span> *dir_path;</td></tr>
+<tr class="codeline" data-linenumber="7910"><td class="num" id="LN7910">7910</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7911"><td class="num" id="LN7911">7911</td><td class="line"> dir_path = g_build_filename (data-&gt;tmp_dir, dir, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7912"><td class="num" id="LN7912">7912</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 7912, __FUNCTION__</span></span>, <span class='string_literal'>"mktree %s\n"</span>, dir_path);</td></tr>
+<tr class="codeline" data-linenumber="7913"><td class="num" id="LN7913">7913</td><td class="line"> make_directory_tree_from_path (dir_path, 0700, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7914"><td class="num" id="LN7914">7914</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7915"><td class="num" id="LN7915">7915</td><td class="line"> g_free (dir_path);</td></tr>
+<tr class="codeline" data-linenumber="7916"><td class="num" id="LN7916">7916</td><td class="line"> g_hash_table_replace (created_dirs, <span class='macro'>g_strdup (dir)<span class='macro_popup'>g_strdup_inline (dir)</span></span>, <span class='string_literal'>"1"</span>);</td></tr>
+<tr class="codeline" data-linenumber="7917"><td class="num" id="LN7917">7917</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7918"><td class="num" id="LN7918">7918</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7919"><td class="num" id="LN7919">7919</td><td class="line"> g_free (dir);</td></tr>
+<tr class="codeline" data-linenumber="7920"><td class="num" id="LN7920">7920</td><td class="line"> g_free (new_name);</td></tr>
+<tr class="codeline" data-linenumber="7921"><td class="num" id="LN7921">7921</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7922"><td class="num" id="LN7922">7922</td><td class="line"> g_hash_table_destroy (created_dirs);</td></tr>
+<tr class="codeline" data-linenumber="7923"><td class="num" id="LN7923">7923</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7924"><td class="num" id="LN7924">7924</td><td class="line"> <span class='comment'>/**/</span></td></tr>
+<tr class="codeline" data-linenumber="7925"><td class="num" id="LN7925">7925</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7926"><td class="num" id="LN7926">7926</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;copy_from_archive == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="7927"><td class="num" id="LN7927">7927</td><td class="line"> window-&gt;priv-&gt;copy_from_archive = fr_archive_new ();</td></tr>
+<tr class="codeline" data-linenumber="7928"><td class="num" id="LN7928">7928</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;copy_from_archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("start"), (((GCallback<br>) (action_started))), (window), ((void*)0), (GConnectFlags) 0<br>)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7929"><td class="num" id="LN7929">7929</td><td class="line"> <span class='string_literal'><span class='macro'>"start"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("start"), (((GCallback<br>) (action_started))), (window), ((void*)0), (GConnectFlags) 0<br>)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7930"><td class="num" id="LN7930">7930</td><td class="line"> <span class='macro'>G_CALLBACK (action_started),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("start"), (((GCallback<br>) (action_started))), (window), ((void*)0), (GConnectFlags) 0<br>)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7931"><td class="num" id="LN7931">7931</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("start"), (((GCallback<br>) (action_started))), (window), ((void*)0), (GConnectFlags) 0<br>)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7932"><td class="num" id="LN7932">7932</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;copy_from_archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("done"), (((GCallback<br>) (copy_from_archive_action_performed_cb))), (window), ((void<br>*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7933"><td class="num" id="LN7933">7933</td><td class="line"> <span class='string_literal'><span class='macro'>"done"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("done"), (((GCallback<br>) (copy_from_archive_action_performed_cb))), (window), ((void<br>*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7934"><td class="num" id="LN7934">7934</td><td class="line"> <span class='macro'>G_CALLBACK (copy_from_archive_action_performed_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("done"), (((GCallback<br>) (copy_from_archive_action_performed_cb))), (window), ((void<br>*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7935"><td class="num" id="LN7935">7935</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("done"), (((GCallback<br>) (copy_from_archive_action_performed_cb))), (window), ((void<br>*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7936"><td class="num" id="LN7936">7936</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;copy_from_archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("progress"), (((GCallback<br>) (fr_window_progress_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7937"><td class="num" id="LN7937">7937</td><td class="line"> <span class='string_literal'><span class='macro'>"progress"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("progress"), (((GCallback<br>) (fr_window_progress_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7938"><td class="num" id="LN7938">7938</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_progress_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("progress"), (((GCallback<br>) (fr_window_progress_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7939"><td class="num" id="LN7939">7939</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("progress"), (((GCallback<br>) (fr_window_progress_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7940"><td class="num" id="LN7940">7940</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;copy_from_archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("message"), (((GCallback<br>) (fr_window_message_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7941"><td class="num" id="LN7941">7941</td><td class="line"> <span class='string_literal'><span class='macro'>"message"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("message"), (((GCallback<br>) (fr_window_message_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7942"><td class="num" id="LN7942">7942</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_message_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("message"), (((GCallback<br>) (fr_window_message_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7943"><td class="num" id="LN7943">7943</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("message"), (((GCallback<br>) (fr_window_message_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7944"><td class="num" id="LN7944">7944</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;copy_from_archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("stoppable"), (((GCallback<br>) (fr_window_stoppable_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7945"><td class="num" id="LN7945">7945</td><td class="line"> <span class='string_literal'><span class='macro'>"stoppable"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("stoppable"), (((GCallback<br>) (fr_window_stoppable_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7946"><td class="num" id="LN7946">7946</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_stoppable_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("stoppable"), (((GCallback<br>) (fr_window_stoppable_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7947"><td class="num" id="LN7947">7947</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("stoppable"), (((GCallback<br>) (fr_window_stoppable_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7948"><td class="num" id="LN7948">7948</td><td class="line"> fr_archive_set_fake_load_func (window-&gt;priv-&gt;copy_from_archive, always_fake_load, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7949"><td class="num" id="LN7949">7949</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7950"><td class="num" id="LN7950">7950</td><td class="line"> fr_archive_load_local (window-&gt;priv-&gt;copy_from_archive,</td></tr>
+<tr class="codeline" data-linenumber="7951"><td class="num" id="LN7951">7951</td><td class="line"> data-&gt;archive_filename,</td></tr>
+<tr class="codeline" data-linenumber="7952"><td class="num" id="LN7952">7952</td><td class="line"> data-&gt;archive_password);</td></tr>
+<tr class="codeline" data-linenumber="7953"><td class="num" id="LN7953">7953</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7954"><td class="num" id="LN7954">7954</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7955"><td class="num" id="LN7955">7955</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7956"><td class="num" id="LN7956">7956</td><td class="line">fr_window_paste_selection_to (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="7957"><td class="num" id="LN7957">7957</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *current_dir)</td></tr>
+<tr class="codeline" data-linenumber="7958"><td class="num" id="LN7958">7958</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7959"><td class="num" id="LN7959">7959</td><td class="line"> GtkClipboard *clipboard;</td></tr>
+<tr class="codeline" data-linenumber="7960"><td class="num" id="LN7960">7960</td><td class="line"> GtkSelectionData *selection_data;</td></tr>
+<tr class="codeline" data-linenumber="7961"><td class="num" id="LN7961">7961</td><td class="line"> FrClipboardData *paste_data;</td></tr>
+<tr class="codeline" data-linenumber="7962"><td class="num" id="LN7962">7962</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7963"><td class="num" id="LN7963">7963</td><td class="line"> clipboard = gtk_clipboard_get (<span class='macro'>FR_CLIPBOARD<span class='macro_popup'>(gdk_atom_intern_static_string ("_RNGRAMPA_SPECIAL_CLIPBOARD"<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7964"><td class="num" id="LN7964">7964</td><td class="line"> selection_data = gtk_clipboard_wait_for_contents (clipboard, <span class='macro'>FR_SPECIAL_URI_LIST<span class='macro_popup'>(gdk_atom_intern_static_string ("application/engrampa-uri-list"<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7965"><td class="num" id="LN7965">7965</td><td class="line"> <span class='keyword'>if</span> (selection_data == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="7966"><td class="num" id="LN7966">7966</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="7967"><td class="num" id="LN7967">7967</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7968"><td class="num" id="LN7968">7968</td><td class="line"> paste_data = get_clipboard_data_from_selection_data (window, (<span class='keyword'>char</span>*) gtk_selection_data_get_data (selection_data));</td></tr>
+<tr class="codeline" data-linenumber="7969"><td class="num" id="LN7969">7969</td><td class="line"> paste_data-&gt;current_dir = <span class='macro'>g_strdup (current_dir)<span class='macro_popup'>g_strdup_inline (current_dir)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7970"><td class="num" id="LN7970">7970</td><td class="line"> fr_window_paste_from_clipboard_data (window, paste_data);</td></tr>
+<tr class="codeline" data-linenumber="7971"><td class="num" id="LN7971">7971</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7972"><td class="num" id="LN7972">7972</td><td class="line"> gtk_selection_data_free (selection_data);</td></tr>
+<tr class="codeline" data-linenumber="7973"><td class="num" id="LN7973">7973</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7974"><td class="num" id="LN7974">7974</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7975"><td class="num" id="LN7975">7975</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7976"><td class="num" id="LN7976">7976</td><td class="line">fr_window_paste_selection (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="7977"><td class="num" id="LN7977">7977</td><td class="line"> gboolean from_sidebar)</td></tr>
+<tr class="codeline" data-linenumber="7978"><td class="num" id="LN7978">7978</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7979"><td class="num" id="LN7979">7979</td><td class="line"> <span class='keyword'>char</span> *utf8_path, *utf8_old_path, *destination;</td></tr>
+<tr class="codeline" data-linenumber="7980"><td class="num" id="LN7980">7980</td><td class="line"> <span class='keyword'>char</span> *current_dir;</td></tr>
+<tr class="codeline" data-linenumber="7981"><td class="num" id="LN7981">7981</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7982"><td class="num" id="LN7982">7982</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;list_mode == FR_WINDOW_LIST_MODE_FLAT)</td></tr>
+<tr class="codeline" data-linenumber="7983"><td class="num" id="LN7983">7983</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="7984"><td class="num" id="LN7984">7984</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7985"><td class="num" id="LN7985">7985</td><td class="line"> <span class='comment'>/**/</span></td></tr>
+<tr class="codeline" data-linenumber="7986"><td class="num" id="LN7986">7986</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7987"><td class="num" id="LN7987">7987</td><td class="line"> utf8_old_path = g_filename_to_utf8 (fr_window_get_current_location (window), -1, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7988"><td class="num" id="LN7988">7988</td><td class="line"> utf8_path = _gtk_request_dialog_run (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7989"><td class="num" id="LN7989">7989</td><td class="line"> (GTK_DIALOG_DESTROY_WITH_PARENT</td></tr>
+<tr class="codeline" data-linenumber="7990"><td class="num" id="LN7990">7990</td><td class="line"> | GTK_DIALOG_MODAL),</td></tr>
+<tr class="codeline" data-linenumber="7991"><td class="num" id="LN7991">7991</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Paste Selection"</span>)<span class='macro_popup'>gettext ("Paste Selection")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7992"><td class="num" id="LN7992">7992</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"_Destination folder:"</span>)<span class='macro_popup'>gettext ("_Destination folder:")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7993"><td class="num" id="LN7993">7993</td><td class="line"> utf8_old_path,</td></tr>
+<tr class="codeline" data-linenumber="7994"><td class="num" id="LN7994">7994</td><td class="line"> 1024,</td></tr>
+<tr class="codeline" data-linenumber="7995"><td class="num" id="LN7995">7995</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"_Cancel"</span>)<span class='macro_popup'>gettext ("_Cancel")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7996"><td class="num" id="LN7996">7996</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"_Paste"</span>)<span class='macro_popup'>gettext ("_Paste")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7997"><td class="num" id="LN7997">7997</td><td class="line"> g_free (utf8_old_path);</td></tr>
+<tr class="codeline" data-linenumber="7998"><td class="num" id="LN7998">7998</td><td class="line"> <span class='keyword'>if</span> (utf8_path == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="7999"><td class="num" id="LN7999">7999</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="8000"><td class="num" id="LN8000">8000</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8001"><td class="num" id="LN8001">8001</td><td class="line"> destination = g_filename_from_utf8 (utf8_path, -1, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8002"><td class="num" id="LN8002">8002</td><td class="line"> g_free (utf8_path);</td></tr>
+<tr class="codeline" data-linenumber="8003"><td class="num" id="LN8003">8003</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8004"><td class="num" id="LN8004">8004</td><td class="line"> <span class='keyword'>if</span> (destination[0] != '/')</td></tr>
+<tr class="codeline" data-linenumber="8005"><td class="num" id="LN8005">8005</td><td class="line"> current_dir = build_uri (fr_window_get_current_location (window), destination, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8006"><td class="num" id="LN8006">8006</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="8007"><td class="num" id="LN8007">8007</td><td class="line"> current_dir = <span class='macro'>g_strdup (destination)<span class='macro_popup'>g_strdup_inline (destination)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8008"><td class="num" id="LN8008">8008</td><td class="line"> g_free (destination);</td></tr>
+<tr class="codeline" data-linenumber="8009"><td class="num" id="LN8009">8009</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8010"><td class="num" id="LN8010">8010</td><td class="line"> fr_window_paste_selection_to (window, current_dir);</td></tr>
+<tr class="codeline" data-linenumber="8011"><td class="num" id="LN8011">8011</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8012"><td class="num" id="LN8012">8012</td><td class="line"> g_free (current_dir);</td></tr>
+<tr class="codeline" data-linenumber="8013"><td class="num" id="LN8013">8013</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8014"><td class="num" id="LN8014">8014</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8015"><td class="num" id="LN8015">8015</td><td class="line"><span class='comment'>/* -- fr_window_open_files -- */</span></td></tr>
+<tr class="codeline" data-linenumber="8016"><td class="num" id="LN8016">8016</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8017"><td class="num" id="LN8017">8017</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8018"><td class="num" id="LN8018">8018</td><td class="line">fr_window_open_files_with_command (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8019"><td class="num" id="LN8019">8019</td><td class="line"> GList *file_list,</td></tr>
+<tr class="codeline" data-linenumber="8020"><td class="num" id="LN8020">8020</td><td class="line"> <span class='keyword'>char</span> *command)</td></tr>
+<tr class="codeline" data-linenumber="8021"><td class="num" id="LN8021">8021</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8022"><td class="num" id="LN8022">8022</td><td class="line"> GAppInfo *app;</td></tr>
+<tr class="codeline" data-linenumber="8023"><td class="num" id="LN8023">8023</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8024"><td class="num" id="LN8024">8024</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8025"><td class="num" id="LN8025">8025</td><td class="line"> app = g_app_info_create_from_commandline (command, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, G_APP_INFO_CREATE_NONE, &amp;error);</td></tr>
+<tr class="codeline" data-linenumber="8026"><td class="num" id="LN8026">8026</td><td class="line"> <span class='keyword'>if</span> (error != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="8027"><td class="num" id="LN8027">8027</td><td class="line"> _gtk_error_dialog_run (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8028"><td class="num" id="LN8028">8028</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Could not perform the operation"</span>)<span class='macro_popup'>gettext ("Could not perform the operation")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8029"><td class="num" id="LN8029">8029</td><td class="line"> <span class='string_literal'>"%s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="8030"><td class="num" id="LN8030">8030</td><td class="line"> error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="8031"><td class="num" id="LN8031">8031</td><td class="line"> g_clear_error (&amp;error);</td></tr>
+<tr class="codeline" data-linenumber="8032"><td class="num" id="LN8032">8032</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="8033"><td class="num" id="LN8033">8033</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8034"><td class="num" id="LN8034">8034</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8035"><td class="num" id="LN8035">8035</td><td class="line"> fr_window_open_files_with_application (window, file_list, app);</td></tr>
+<tr class="codeline" data-linenumber="8036"><td class="num" id="LN8036">8036</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8037"><td class="num" id="LN8037">8037</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8038"><td class="num" id="LN8038">8038</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8039"><td class="num" id="LN8039">8039</td><td class="line">fr_window_open_files_with_application (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8040"><td class="num" id="LN8040">8040</td><td class="line"> GList *file_list,</td></tr>
+<tr class="codeline" data-linenumber="8041"><td class="num" id="LN8041">8041</td><td class="line"> GAppInfo *app)</td></tr>
+<tr class="codeline" data-linenumber="8042"><td class="num" id="LN8042">8042</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8043"><td class="num" id="LN8043">8043</td><td class="line"> GList *uris;</td></tr>
+<tr class="codeline" data-linenumber="8044"><td class="num" id="LN8044">8044</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="8045"><td class="num" id="LN8045">8045</td><td class="line"> GdkAppLaunchContext *context;</td></tr>
+<tr class="codeline" data-linenumber="8046"><td class="num" id="LN8046">8046</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8047"><td class="num" id="LN8047">8047</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8048"><td class="num" id="LN8048">8048</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;activity_ref &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="8049"><td class="num" id="LN8049">8049</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="8050"><td class="num" id="LN8050">8050</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8051"><td class="num" id="LN8051">8051</td><td class="line"> <span class='macro'>g_assert (file_list != NULL)<span class='macro_popup'>do { if (file_list != ((void*)0)) ; else g_assertion_message_expr<br> (((gchar*) 0), "fr-window.c", 8051, ((const char*) (__func__<br>)), "file_list != NULL"); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8052"><td class="num" id="LN8052">8052</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8053"><td class="num" id="LN8053">8053</td><td class="line"> uris = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8054"><td class="num" id="LN8054">8054</td><td class="line"> <span class='keyword'>for</span> (scan = file_list; scan; scan = scan-&gt;next)</td></tr>
+<tr class="codeline" data-linenumber="8055"><td class="num" id="LN8055">8055</td><td class="line"> uris = g_list_prepend (uris, g_filename_to_uri (scan-&gt;data, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="8056"><td class="num" id="LN8056">8056</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8057"><td class="num" id="LN8057">8057</td><td class="line"> context = gdk_display_get_app_launch_context (gtk_widget_get_display (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="8058"><td class="num" id="LN8058">8058</td><td class="line"> gdk_app_launch_context_set_screen (context, gtk_widget_get_screen (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="8059"><td class="num" id="LN8059">8059</td><td class="line"> gdk_app_launch_context_set_timestamp (context, 0);</td></tr>
+<tr class="codeline" data-linenumber="8060"><td class="num" id="LN8060">8060</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8061"><td class="num" id="LN8061">8061</td><td class="line"> <span class='keyword'>if</span> (! g_app_info_launch_uris (app, uris, <span class='macro'>G_APP_LAUNCH_CONTEXT (context)<span class='macro_popup'>((((GAppLaunchContext*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((context)), ((g_app_launch_context_get_type<br> ()))))))</span></span>, &amp;error)) {</td></tr>
+<tr class="codeline" data-linenumber="8062"><td class="num" id="LN8062">8062</td><td class="line"> _gtk_error_dialog_run (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8063"><td class="num" id="LN8063">8063</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Could not perform the operation"</span>)<span class='macro_popup'>gettext ("Could not perform the operation")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8064"><td class="num" id="LN8064">8064</td><td class="line"> <span class='string_literal'>"%s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="8065"><td class="num" id="LN8065">8065</td><td class="line"> error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="8066"><td class="num" id="LN8066">8066</td><td class="line"> g_clear_error (&amp;error);</td></tr>
+<tr class="codeline" data-linenumber="8067"><td class="num" id="LN8067">8067</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8068"><td class="num" id="LN8068">8068</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8069"><td class="num" id="LN8069">8069</td><td class="line"> g_object_unref (context);</td></tr>
+<tr class="codeline" data-linenumber="8070"><td class="num" id="LN8070">8070</td><td class="line"> path_list_free (uris);</td></tr>
+<tr class="codeline" data-linenumber="8071"><td class="num" id="LN8071">8071</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8072"><td class="num" id="LN8072">8072</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8073"><td class="num" id="LN8073">8073</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span> {</td></tr>
+<tr class="codeline" data-linenumber="8074"><td class="num" id="LN8074">8074</td><td class="line"> FrWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="8075"><td class="num" id="LN8075">8075</td><td class="line"> GList *file_list;</td></tr>
+<tr class="codeline" data-linenumber="8076"><td class="num" id="LN8076">8076</td><td class="line"> gboolean ask_application;</td></tr>
+<tr class="codeline" data-linenumber="8077"><td class="num" id="LN8077">8077</td><td class="line"> CommandData *cdata;</td></tr>
+<tr class="codeline" data-linenumber="8078"><td class="num" id="LN8078">8078</td><td class="line">} OpenFilesData;</td></tr>
+<tr class="codeline" data-linenumber="8079"><td class="num" id="LN8079">8079</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8080"><td class="num" id="LN8080">8080</td><td class="line"><span class='keyword'>static</span> OpenFilesData*</td></tr>
+<tr class="codeline" data-linenumber="8081"><td class="num" id="LN8081">8081</td><td class="line">open_files_data_new (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8082"><td class="num" id="LN8082">8082</td><td class="line"> GList *file_list,</td></tr>
+<tr class="codeline" data-linenumber="8083"><td class="num" id="LN8083">8083</td><td class="line"> gboolean ask_application)</td></tr>
+<tr class="codeline" data-linenumber="8084"><td class="num" id="LN8084">8084</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8085"><td class="num" id="LN8085">8085</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8086"><td class="num" id="LN8086">8086</td><td class="line"> OpenFilesData *odata;</td></tr>
+<tr class="codeline" data-linenumber="8087"><td class="num" id="LN8087">8087</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="8088"><td class="num" id="LN8088">8088</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8089"><td class="num" id="LN8089">8089</td><td class="line"> odata = <span class='macro'>g_new0 (OpenFilesData, 1)<span class='macro_popup'>((OpenFilesData *) g_malloc0_n ((1), sizeof (OpenFilesData)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8090"><td class="num" id="LN8090">8090</td><td class="line"> odata-&gt;window = window;</td></tr>
+<tr class="codeline" data-linenumber="8091"><td class="num" id="LN8091">8091</td><td class="line"> odata-&gt;file_list = path_list_dup (file_list);</td></tr>
+<tr class="codeline" data-linenumber="8092"><td class="num" id="LN8092">8092</td><td class="line"> odata-&gt;ask_application = ask_application;</td></tr>
+<tr class="codeline" data-linenumber="8093"><td class="num" id="LN8093">8093</td><td class="line"> odata-&gt;cdata = <span class='macro'>g_new0 (CommandData, 1)<span class='macro_popup'>((CommandData *) g_malloc0_n ((1), sizeof (CommandData)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8094"><td class="num" id="LN8094">8094</td><td class="line"> odata-&gt;cdata-&gt;temp_dir = get_temp_work_dir (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8095"><td class="num" id="LN8095">8095</td><td class="line"> odata-&gt;cdata-&gt;file_list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8096"><td class="num" id="LN8096">8096</td><td class="line"> <span class='keyword'>for</span> (scan = file_list; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="8097"><td class="num" id="LN8097">8097</td><td class="line"> <span class='keyword'>char</span> *file = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="8098"><td class="num" id="LN8098">8098</td><td class="line"> <span class='keyword'>char</span> *filename;</td></tr>
+<tr class="codeline" data-linenumber="8099"><td class="num" id="LN8099">8099</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8100"><td class="num" id="LN8100">8100</td><td class="line"> filename = g_strconcat (odata-&gt;cdata-&gt;temp_dir,</td></tr>
+<tr class="codeline" data-linenumber="8101"><td class="num" id="LN8101">8101</td><td class="line"> <span class='string_literal'>"/"</span>,</td></tr>
+<tr class="codeline" data-linenumber="8102"><td class="num" id="LN8102">8102</td><td class="line"> file,</td></tr>
+<tr class="codeline" data-linenumber="8103"><td class="num" id="LN8103">8103</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8104"><td class="num" id="LN8104">8104</td><td class="line"> odata-&gt;cdata-&gt;file_list = g_list_prepend (odata-&gt;cdata-&gt;file_list, filename);</td></tr>
+<tr class="codeline" data-linenumber="8105"><td class="num" id="LN8105">8105</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8106"><td class="num" id="LN8106">8106</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8107"><td class="num" id="LN8107">8107</td><td class="line"> <span class='comment'>/* Add to CommandList so the cdata is released on exit. */</span></td></tr>
+<tr class="codeline" data-linenumber="8108"><td class="num" id="LN8108">8108</td><td class="line"> CommandList = g_list_prepend (CommandList, odata-&gt;cdata);</td></tr>
+<tr class="codeline" data-linenumber="8109"><td class="num" id="LN8109">8109</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8110"><td class="num" id="LN8110">8110</td><td class="line"> <span class='keyword'>return</span> odata;</td></tr>
+<tr class="codeline" data-linenumber="8111"><td class="num" id="LN8111">8111</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8112"><td class="num" id="LN8112">8112</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8113"><td class="num" id="LN8113">8113</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8114"><td class="num" id="LN8114">8114</td><td class="line">open_files_data_free (OpenFilesData *odata)</td></tr>
+<tr class="codeline" data-linenumber="8115"><td class="num" id="LN8115">8115</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8116"><td class="num" id="LN8116">8116</td><td class="line"> <span class='macro'>g_return_if_fail (odata != NULL)<span class='macro_popup'>do { if ((odata != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "odata != NULL");<br> return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8117"><td class="num" id="LN8117">8117</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8118"><td class="num" id="LN8118">8118</td><td class="line"> path_list_free (odata-&gt;file_list);</td></tr>
+<tr class="codeline" data-linenumber="8119"><td class="num" id="LN8119">8119</td><td class="line"> g_free (odata);</td></tr>
+<tr class="codeline" data-linenumber="8120"><td class="num" id="LN8120">8120</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8121"><td class="num" id="LN8121">8121</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8122"><td class="num" id="LN8122">8122</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8123"><td class="num" id="LN8123">8123</td><td class="line">fr_window_update_dialog_closed (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="8124"><td class="num" id="LN8124">8124</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8125"><td class="num" id="LN8125">8125</td><td class="line"> window-&gt;priv-&gt;update_dialog = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8126"><td class="num" id="LN8126">8126</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8127"><td class="num" id="LN8127">8127</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8128"><td class="num" id="LN8128">8128</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="8129"><td class="num" id="LN8129">8129</td><td class="line">fr_window_update_files (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8130"><td class="num" id="LN8130">8130</td><td class="line"> GList *file_list)</td></tr>
+<tr class="codeline" data-linenumber="8131"><td class="num" id="LN8131">8131</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8132"><td class="num" id="LN8132">8132</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="8133"><td class="num" id="LN8133">8133</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8134"><td class="num" id="LN8134">8134</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;activity_ref &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="8135"><td class="num" id="LN8135">8135</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8136"><td class="num" id="LN8136">8136</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8137"><td class="num" id="LN8137">8137</td><td class="line"> <span class='keyword'>if</span> (window-&gt;archive-&gt;read_only)</td></tr>
+<tr class="codeline" data-linenumber="8138"><td class="num" id="LN8138">8138</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8139"><td class="num" id="LN8139">8139</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8140"><td class="num" id="LN8140">8140</td><td class="line"> fr_process_clear (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="8141"><td class="num" id="LN8141">8141</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8142"><td class="num" id="LN8142">8142</td><td class="line"> <span class='keyword'>for</span> (scan = file_list; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="8143"><td class="num" id="LN8143">8143</td><td class="line"> OpenFile *file = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="8144"><td class="num" id="LN8144">8144</td><td class="line"> GList *local_file_list;</td></tr>
+<tr class="codeline" data-linenumber="8145"><td class="num" id="LN8145">8145</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8146"><td class="num" id="LN8146">8146</td><td class="line"> local_file_list = g_list_append (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, file-&gt;path);</td></tr>
+<tr class="codeline" data-linenumber="8147"><td class="num" id="LN8147">8147</td><td class="line"> fr_archive_add (window-&gt;archive,</td></tr>
+<tr class="codeline" data-linenumber="8148"><td class="num" id="LN8148">8148</td><td class="line"> local_file_list,</td></tr>
+<tr class="codeline" data-linenumber="8149"><td class="num" id="LN8149">8149</td><td class="line"> file-&gt;temp_dir,</td></tr>
+<tr class="codeline" data-linenumber="8150"><td class="num" id="LN8150">8150</td><td class="line"> <span class='string_literal'>"/"</span>,</td></tr>
+<tr class="codeline" data-linenumber="8151"><td class="num" id="LN8151">8151</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8152"><td class="num" id="LN8152">8152</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8153"><td class="num" id="LN8153">8153</td><td class="line"> window-&gt;priv-&gt;password,</td></tr>
+<tr class="codeline" data-linenumber="8154"><td class="num" id="LN8154">8154</td><td class="line"> window-&gt;priv-&gt;encrypt_header,</td></tr>
+<tr class="codeline" data-linenumber="8155"><td class="num" id="LN8155">8155</td><td class="line"> window-&gt;priv-&gt;compression,</td></tr>
+<tr class="codeline" data-linenumber="8156"><td class="num" id="LN8156">8156</td><td class="line"> window-&gt;priv-&gt;volume_size);</td></tr>
+<tr class="codeline" data-linenumber="8157"><td class="num" id="LN8157">8157</td><td class="line"> g_list_free (local_file_list);</td></tr>
+<tr class="codeline" data-linenumber="8158"><td class="num" id="LN8158">8158</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8159"><td class="num" id="LN8159">8159</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8160"><td class="num" id="LN8160">8160</td><td class="line"> fr_process_start (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="8161"><td class="num" id="LN8161">8161</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8162"><td class="num" id="LN8162">8162</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8163"><td class="num" id="LN8163">8163</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8164"><td class="num" id="LN8164">8164</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8165"><td class="num" id="LN8165">8165</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8166"><td class="num" id="LN8166">8166</td><td class="line">open_file_modified_cb (GFileMonitor *monitor,</td></tr>
+<tr class="codeline" data-linenumber="8167"><td class="num" id="LN8167">8167</td><td class="line"> GFile *monitor_file,</td></tr>
+<tr class="codeline" data-linenumber="8168"><td class="num" id="LN8168">8168</td><td class="line"> GFile *other_file,</td></tr>
+<tr class="codeline" data-linenumber="8169"><td class="num" id="LN8169">8169</td><td class="line"> GFileMonitorEvent event_type,</td></tr>
+<tr class="codeline" data-linenumber="8170"><td class="num" id="LN8170">8170</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="8171"><td class="num" id="LN8171">8171</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8172"><td class="num" id="LN8172">8172</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="8173"><td class="num" id="LN8173">8173</td><td class="line"> <span class='keyword'>char</span> *monitor_uri;</td></tr>
+<tr class="codeline" data-linenumber="8174"><td class="num" id="LN8174">8174</td><td class="line"> OpenFile *file;</td></tr>
+<tr class="codeline" data-linenumber="8175"><td class="num" id="LN8175">8175</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="8176"><td class="num" id="LN8176">8176</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8177"><td class="num" id="LN8177">8177</td><td class="line"> <span class='keyword'>if</span> ((event_type != G_FILE_MONITOR_EVENT_CHANGED)</td></tr>
+<tr class="codeline" data-linenumber="8178"><td class="num" id="LN8178">8178</td><td class="line"> &amp;&amp; (event_type != G_FILE_MONITOR_EVENT_CREATED))</td></tr>
+<tr class="codeline" data-linenumber="8179"><td class="num" id="LN8179">8179</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="8180"><td class="num" id="LN8180">8180</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="8181"><td class="num" id="LN8181">8181</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8182"><td class="num" id="LN8182">8182</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8183"><td class="num" id="LN8183">8183</td><td class="line"> monitor_uri = g_file_get_uri (monitor_file);</td></tr>
+<tr class="codeline" data-linenumber="8184"><td class="num" id="LN8184">8184</td><td class="line"> file = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8185"><td class="num" id="LN8185">8185</td><td class="line"> <span class='keyword'>for</span> (scan = window-&gt;priv-&gt;open_files; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="8186"><td class="num" id="LN8186">8186</td><td class="line"> OpenFile *test = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="8187"><td class="num" id="LN8187">8187</td><td class="line"> <span class='keyword'>if</span> (uricmp (test-&gt;extracted_uri, monitor_uri) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="8188"><td class="num" id="LN8188">8188</td><td class="line"> file = test;</td></tr>
+<tr class="codeline" data-linenumber="8189"><td class="num" id="LN8189">8189</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8190"><td class="num" id="LN8190">8190</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8191"><td class="num" id="LN8191">8191</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8192"><td class="num" id="LN8192">8192</td><td class="line"> g_free (monitor_uri);</td></tr>
+<tr class="codeline" data-linenumber="8193"><td class="num" id="LN8193">8193</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8194"><td class="num" id="LN8194">8194</td><td class="line"> <span class='macro'>g_return_if_fail (file != NULL)<span class='macro_popup'>do { if ((file != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "file != NULL"); return<br>; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8195"><td class="num" id="LN8195">8195</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8196"><td class="num" id="LN8196">8196</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;update_dialog == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="8197"><td class="num" id="LN8197">8197</td><td class="line"> window-&gt;priv-&gt;update_dialog = dlg_update (window);</td></tr>
+<tr class="codeline" data-linenumber="8198"><td class="num" id="LN8198">8198</td><td class="line"> dlg_update_add_file (window-&gt;priv-&gt;update_dialog, file);</td></tr>
+<tr class="codeline" data-linenumber="8199"><td class="num" id="LN8199">8199</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8200"><td class="num" id="LN8200">8200</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8201"><td class="num" id="LN8201">8201</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8202"><td class="num" id="LN8202">8202</td><td class="line">fr_window_monitor_open_file (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8203"><td class="num" id="LN8203">8203</td><td class="line"> OpenFile *file)</td></tr>
+<tr class="codeline" data-linenumber="8204"><td class="num" id="LN8204">8204</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8205"><td class="num" id="LN8205">8205</td><td class="line"> GFile *f;</td></tr>
+<tr class="codeline" data-linenumber="8206"><td class="num" id="LN8206">8206</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8207"><td class="num" id="LN8207">8207</td><td class="line"> window-&gt;priv-&gt;open_files = g_list_prepend (window-&gt;priv-&gt;open_files, file);</td></tr>
+<tr class="codeline" data-linenumber="8208"><td class="num" id="LN8208">8208</td><td class="line"> f = g_file_new_for_uri (file-&gt;extracted_uri);</td></tr>
+<tr class="codeline" data-linenumber="8209"><td class="num" id="LN8209">8209</td><td class="line"> file-&gt;monitor = g_file_monitor_file (f, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8210"><td class="num" id="LN8210">8210</td><td class="line"> <span class='macro'>g_signal_connect (file-&gt;monitor,<span class='macro_popup'>g_signal_connect_data ((file-&gt;monitor), ("changed"), (((GCallback<br>) (open_file_modified_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="8211"><td class="num" id="LN8211">8211</td><td class="line"> <span class='string_literal'><span class='macro'>"changed"</span>,<span class='macro_popup'>g_signal_connect_data ((file-&gt;monitor), ("changed"), (((GCallback<br>) (open_file_modified_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="8212"><td class="num" id="LN8212">8212</td><td class="line"> <span class='macro'>G_CALLBACK (open_file_modified_cb),<span class='macro_popup'>g_signal_connect_data ((file-&gt;monitor), ("changed"), (((GCallback<br>) (open_file_modified_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="8213"><td class="num" id="LN8213">8213</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((file-&gt;monitor), ("changed"), (((GCallback<br>) (open_file_modified_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8214"><td class="num" id="LN8214">8214</td><td class="line"> g_object_unref (f);</td></tr>
+<tr class="codeline" data-linenumber="8215"><td class="num" id="LN8215">8215</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8216"><td class="num" id="LN8216">8216</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8217"><td class="num" id="LN8217">8217</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8218"><td class="num" id="LN8218">8218</td><td class="line">monitor_extracted_files (OpenFilesData *odata)</td></tr>
+<tr class="codeline" data-linenumber="8219"><td class="num" id="LN8219">8219</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8220"><td class="num" id="LN8220">8220</td><td class="line"> FrWindow *window = odata-&gt;window;</td></tr>
+<tr class="codeline" data-linenumber="8221"><td class="num" id="LN8221">8221</td><td class="line"> GList *scan1, *scan2;</td></tr>
+<tr class="codeline" data-linenumber="8222"><td class="num" id="LN8222">8222</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8223"><td class="num" id="LN8223">8223</td><td class="line"> <span class='keyword'>for</span> (scan1 = odata-&gt;file_list, scan2 = odata-&gt;cdata-&gt;file_list;</td></tr>
+<tr class="codeline" data-linenumber="8224"><td class="num" id="LN8224">8224</td><td class="line"> scan1 &amp;&amp; scan2;</td></tr>
+<tr class="codeline" data-linenumber="8225"><td class="num" id="LN8225">8225</td><td class="line"> scan1 = scan1-&gt;next, scan2 = scan2-&gt;next)</td></tr>
+<tr class="codeline" data-linenumber="8226"><td class="num" id="LN8226">8226</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="8227"><td class="num" id="LN8227">8227</td><td class="line"> OpenFile *ofile;</td></tr>
+<tr class="codeline" data-linenumber="8228"><td class="num" id="LN8228">8228</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *file = scan1-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="8229"><td class="num" id="LN8229">8229</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *extracted_path = scan2-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="8230"><td class="num" id="LN8230">8230</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8231"><td class="num" id="LN8231">8231</td><td class="line"> ofile = open_file_new (file, extracted_path, odata-&gt;cdata-&gt;temp_dir);</td></tr>
+<tr class="codeline" data-linenumber="8232"><td class="num" id="LN8232">8232</td><td class="line"> <span class='keyword'>if</span> (ofile != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="8233"><td class="num" id="LN8233">8233</td><td class="line"> fr_window_monitor_open_file (window, ofile);</td></tr>
+<tr class="codeline" data-linenumber="8234"><td class="num" id="LN8234">8234</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8235"><td class="num" id="LN8235">8235</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8236"><td class="num" id="LN8236">8236</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8237"><td class="num" id="LN8237">8237</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="8238"><td class="num" id="LN8238">8238</td><td class="line">fr_window_open_extracted_files (OpenFilesData *odata)</td></tr>
+<tr class="codeline" data-linenumber="8239"><td class="num" id="LN8239">8239</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8240"><td class="num" id="LN8240">8240</td><td class="line"> GList *file_list = odata-&gt;cdata-&gt;file_list;</td></tr>
+<tr class="codeline" data-linenumber="8241"><td class="num" id="LN8241">8241</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *first_file;</td></tr>
+<tr class="codeline" data-linenumber="8242"><td class="num" id="LN8242">8242</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *first_mime_type;</td></tr>
+<tr class="codeline" data-linenumber="8243"><td class="num" id="LN8243">8243</td><td class="line"> GAppInfo *app;</td></tr>
+<tr class="codeline" data-linenumber="8244"><td class="num" id="LN8244">8244</td><td class="line"> GList *files_to_open = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8245"><td class="num" id="LN8245">8245</td><td class="line"> GdkAppLaunchContext *context;</td></tr>
+<tr class="codeline" data-linenumber="8246"><td class="num" id="LN8246">8246</td><td class="line"> gboolean result;</td></tr>
+<tr class="codeline" data-linenumber="8247"><td class="num" id="LN8247">8247</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8248"><td class="num" id="LN8248">8248</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8249"><td class="num" id="LN8249">8249</td><td class="line"> <span class='macro'>g_return_val_if_fail (file_list != NULL, FALSE)<span class='macro_popup'>do { if ((file_list != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "file_list != NULL"<br>); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8250"><td class="num" id="LN8250">8250</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8251"><td class="num" id="LN8251">8251</td><td class="line"> first_file = (<span class='keyword'>char</span>*) file_list-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="8252"><td class="num" id="LN8252">8252</td><td class="line"> <span class='keyword'>if</span> (first_file == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="8253"><td class="num" id="LN8253">8253</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8254"><td class="num" id="LN8254">8254</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8255"><td class="num" id="LN8255">8255</td><td class="line"> <span class='keyword'>if</span> (! odata-&gt;window-&gt;archive-&gt;read_only)</td></tr>
+<tr class="codeline" data-linenumber="8256"><td class="num" id="LN8256">8256</td><td class="line"> monitor_extracted_files (odata);</td></tr>
+<tr class="codeline" data-linenumber="8257"><td class="num" id="LN8257">8257</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8258"><td class="num" id="LN8258">8258</td><td class="line"> <span class='keyword'>if</span> (odata-&gt;ask_application) {</td></tr>
+<tr class="codeline" data-linenumber="8259"><td class="num" id="LN8259">8259</td><td class="line"> dlg_open_with (odata-&gt;window, file_list);</td></tr>
+<tr class="codeline" data-linenumber="8260"><td class="num" id="LN8260">8260</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8261"><td class="num" id="LN8261">8261</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8262"><td class="num" id="LN8262">8262</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8263"><td class="num" id="LN8263">8263</td><td class="line"> first_mime_type = get_file_mime_type_for_path (first_file, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8264"><td class="num" id="LN8264">8264</td><td class="line"> app = g_app_info_get_default_for_type (first_mime_type, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8265"><td class="num" id="LN8265">8265</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8266"><td class="num" id="LN8266">8266</td><td class="line"> <span class='keyword'>if</span> (app == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="8267"><td class="num" id="LN8267">8267</td><td class="line"> dlg_open_with (odata-&gt;window, file_list);</td></tr>
+<tr class="codeline" data-linenumber="8268"><td class="num" id="LN8268">8268</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8269"><td class="num" id="LN8269">8269</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8270"><td class="num" id="LN8270">8270</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8271"><td class="num" id="LN8271">8271</td><td class="line"> files_to_open = g_list_append (files_to_open, g_filename_to_uri (first_file, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="8272"><td class="num" id="LN8272">8272</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8273"><td class="num" id="LN8273">8273</td><td class="line"> <span class='keyword'>if</span> (g_app_info_supports_files (app)) {</td></tr>
+<tr class="codeline" data-linenumber="8274"><td class="num" id="LN8274">8274</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="8275"><td class="num" id="LN8275">8275</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8276"><td class="num" id="LN8276">8276</td><td class="line"> <span class='keyword'>for</span> (scan = file_list-&gt;next; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="8277"><td class="num" id="LN8277">8277</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *path = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="8278"><td class="num" id="LN8278">8278</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *mime_type;</td></tr>
+<tr class="codeline" data-linenumber="8279"><td class="num" id="LN8279">8279</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8280"><td class="num" id="LN8280">8280</td><td class="line"> mime_type = get_file_mime_type_for_path (path, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8281"><td class="num" id="LN8281">8281</td><td class="line"> <span class='keyword'>if</span> (mime_type == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="8282"><td class="num" id="LN8282">8282</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="8283"><td class="num" id="LN8283">8283</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8284"><td class="num" id="LN8284">8284</td><td class="line"> <span class='keyword'>if</span> (strcmp (mime_type, first_mime_type) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="8285"><td class="num" id="LN8285">8285</td><td class="line"> files_to_open = g_list_append (files_to_open, g_filename_to_uri (path, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="8286"><td class="num" id="LN8286">8286</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8287"><td class="num" id="LN8287">8287</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="8288"><td class="num" id="LN8288">8288</td><td class="line"> GAppInfo *app2;</td></tr>
+<tr class="codeline" data-linenumber="8289"><td class="num" id="LN8289">8289</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8290"><td class="num" id="LN8290">8290</td><td class="line"> app2 = g_app_info_get_default_for_type (mime_type, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8291"><td class="num" id="LN8291">8291</td><td class="line"> <span class='keyword'>if</span> (g_app_info_equal (app, app2))</td></tr>
+<tr class="codeline" data-linenumber="8292"><td class="num" id="LN8292">8292</td><td class="line"> files_to_open = g_list_append (files_to_open, g_filename_to_uri (path, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="8293"><td class="num" id="LN8293">8293</td><td class="line"> g_object_unref (app2);</td></tr>
+<tr class="codeline" data-linenumber="8294"><td class="num" id="LN8294">8294</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8295"><td class="num" id="LN8295">8295</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8296"><td class="num" id="LN8296">8296</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8297"><td class="num" id="LN8297">8297</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8298"><td class="num" id="LN8298">8298</td><td class="line"> context = gdk_display_get_app_launch_context (gtk_widget_get_display (<span class='macro'>GTK_WIDGET (odata-&gt;window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((odata-&gt;window)), ((gtk_widget_get_type ()))))))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="8299"><td class="num" id="LN8299">8299</td><td class="line"> gdk_app_launch_context_set_screen (context, gtk_widget_get_screen (<span class='macro'>GTK_WIDGET (odata-&gt;window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((odata-&gt;window)), ((gtk_widget_get_type ()))))))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="8300"><td class="num" id="LN8300">8300</td><td class="line"> gdk_app_launch_context_set_timestamp (context, 0);</td></tr>
+<tr class="codeline" data-linenumber="8301"><td class="num" id="LN8301">8301</td><td class="line"> result = g_app_info_launch_uris (app, files_to_open, <span class='macro'>G_APP_LAUNCH_CONTEXT (context)<span class='macro_popup'>((((GAppLaunchContext*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((context)), ((g_app_launch_context_get_type<br> ()))))))</span></span>, &amp;error);</td></tr>
+<tr class="codeline" data-linenumber="8302"><td class="num" id="LN8302">8302</td><td class="line"> <span class='keyword'>if</span> (! result) {</td></tr>
+<tr class="codeline" data-linenumber="8303"><td class="num" id="LN8303">8303</td><td class="line"> _gtk_error_dialog_run (<span class='macro'>GTK_WINDOW (odata-&gt;window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((odata-&gt;window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8304"><td class="num" id="LN8304">8304</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Could not perform the operation"</span>)<span class='macro_popup'>gettext ("Could not perform the operation")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8305"><td class="num" id="LN8305">8305</td><td class="line"> <span class='string_literal'>"%s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="8306"><td class="num" id="LN8306">8306</td><td class="line"> error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="8307"><td class="num" id="LN8307">8307</td><td class="line"> g_clear_error (&amp;error);</td></tr>
+<tr class="codeline" data-linenumber="8308"><td class="num" id="LN8308">8308</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8309"><td class="num" id="LN8309">8309</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8310"><td class="num" id="LN8310">8310</td><td class="line"> g_object_unref (context);</td></tr>
+<tr class="codeline" data-linenumber="8311"><td class="num" id="LN8311">8311</td><td class="line"> g_object_unref (app);</td></tr>
+<tr class="codeline" data-linenumber="8312"><td class="num" id="LN8312">8312</td><td class="line"> path_list_free (files_to_open);</td></tr>
+<tr class="codeline" data-linenumber="8313"><td class="num" id="LN8313">8313</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8314"><td class="num" id="LN8314">8314</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="8315"><td class="num" id="LN8315">8315</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8316"><td class="num" id="LN8316">8316</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8317"><td class="num" id="LN8317">8317</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8318"><td class="num" id="LN8318">8318</td><td class="line">fr_window_open_files__extract_done_cb (FrArchive *archive,</td></tr>
+<tr class="codeline" data-linenumber="8319"><td class="num" id="LN8319">8319</td><td class="line"> FrAction action,</td></tr>
+<tr class="codeline" data-linenumber="8320"><td class="num" id="LN8320">8320</td><td class="line"> FrProcError *error,</td></tr>
+<tr class="codeline" data-linenumber="8321"><td class="num" id="LN8321">8321</td><td class="line"> gpointer callback_data)</td></tr>
+<tr class="codeline" data-linenumber="8322"><td class="num" id="LN8322">8322</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8323"><td class="num" id="LN8323">8323</td><td class="line"> OpenFilesData *odata = callback_data;</td></tr>
+<tr class="codeline" data-linenumber="8324"><td class="num" id="LN8324">8324</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8325"><td class="num" id="LN8325">8325</td><td class="line"> g_signal_handlers_disconnect_matched (<span class='macro'>G_OBJECT (archive)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((archive)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8326"><td class="num" id="LN8326">8326</td><td class="line"> G_SIGNAL_MATCH_DATA,</td></tr>
+<tr class="codeline" data-linenumber="8327"><td class="num" id="LN8327">8327</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="8328"><td class="num" id="LN8328">8328</td><td class="line"> 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8329"><td class="num" id="LN8329">8329</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="8330"><td class="num" id="LN8330">8330</td><td class="line"> odata);</td></tr>
+<tr class="codeline" data-linenumber="8331"><td class="num" id="LN8331">8331</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8332"><td class="num" id="LN8332">8332</td><td class="line"> <span class='keyword'>if</span> (error-&gt;type == FR_PROC_ERROR_NONE)</td></tr>
+<tr class="codeline" data-linenumber="8333"><td class="num" id="LN8333">8333</td><td class="line"> fr_window_open_extracted_files (odata);</td></tr>
+<tr class="codeline" data-linenumber="8334"><td class="num" id="LN8334">8334</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8335"><td class="num" id="LN8335">8335</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8336"><td class="num" id="LN8336">8336</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8337"><td class="num" id="LN8337">8337</td><td class="line">fr_window_open_files (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8338"><td class="num" id="LN8338">8338</td><td class="line"> GList *file_list,</td></tr>
+<tr class="codeline" data-linenumber="8339"><td class="num" id="LN8339">8339</td><td class="line"> gboolean ask_application)</td></tr>
+<tr class="codeline" data-linenumber="8340"><td class="num" id="LN8340">8340</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8341"><td class="num" id="LN8341">8341</td><td class="line"> OpenFilesData *odata;</td></tr>
+<tr class="codeline" data-linenumber="8342"><td class="num" id="LN8342">8342</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8343"><td class="num" id="LN8343">8343</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;activity_ref &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="8344"><td class="num" id="LN8344">8344</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="8345"><td class="num" id="LN8345">8345</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8346"><td class="num" id="LN8346">8346</td><td class="line"> odata = open_files_data_new (window, file_list, ask_application);</td></tr>
+<tr class="codeline" data-linenumber="8347"><td class="num" id="LN8347">8347</td><td class="line"> fr_window_set_current_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="8348"><td class="num" id="LN8348">8348</td><td class="line"> FR_BATCH_ACTION_OPEN_FILES,</td></tr>
+<tr class="codeline" data-linenumber="8349"><td class="num" id="LN8349">8349</td><td class="line"> odata,</td></tr>
+<tr class="codeline" data-linenumber="8350"><td class="num" id="LN8350">8350</td><td class="line"> (GFreeFunc) open_files_data_free);</td></tr>
+<tr class="codeline" data-linenumber="8351"><td class="num" id="LN8351">8351</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8352"><td class="num" id="LN8352">8352</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("done"), (((GCallback) (fr_window_open_files__extract_done_cb<br>))), (odata), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="8353"><td class="num" id="LN8353">8353</td><td class="line"> <span class='string_literal'><span class='macro'>"done"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("done"), (((GCallback) (fr_window_open_files__extract_done_cb<br>))), (odata), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="8354"><td class="num" id="LN8354">8354</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_open_files__extract_done_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("done"), (((GCallback) (fr_window_open_files__extract_done_cb<br>))), (odata), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="8355"><td class="num" id="LN8355">8355</td><td class="line"> <span class='macro'>odata)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("done"), (((GCallback) (fr_window_open_files__extract_done_cb<br>))), (odata), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8356"><td class="num" id="LN8356">8356</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8357"><td class="num" id="LN8357">8357</td><td class="line"> fr_process_clear (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="8358"><td class="num" id="LN8358">8358</td><td class="line"> fr_archive_extract_to_local (window-&gt;archive,</td></tr>
+<tr class="codeline" data-linenumber="8359"><td class="num" id="LN8359">8359</td><td class="line"> odata-&gt;file_list,</td></tr>
+<tr class="codeline" data-linenumber="8360"><td class="num" id="LN8360">8360</td><td class="line"> odata-&gt;cdata-&gt;temp_dir,</td></tr>
+<tr class="codeline" data-linenumber="8361"><td class="num" id="LN8361">8361</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8362"><td class="num" id="LN8362">8362</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8363"><td class="num" id="LN8363">8363</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8364"><td class="num" id="LN8364">8364</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8365"><td class="num" id="LN8365">8365</td><td class="line"> window-&gt;priv-&gt;password);</td></tr>
+<tr class="codeline" data-linenumber="8366"><td class="num" id="LN8366">8366</td><td class="line"> fr_process_start (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="8367"><td class="num" id="LN8367">8367</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8368"><td class="num" id="LN8368">8368</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8369"><td class="num" id="LN8369">8369</td><td class="line"><span class='comment'>/**/</span></td></tr>
+<tr class="codeline" data-linenumber="8370"><td class="num" id="LN8370">8370</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8371"><td class="num" id="LN8371">8371</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>char</span>*</td></tr>
+<tr class="codeline" data-linenumber="8372"><td class="num" id="LN8372">8372</td><td class="line">get_default_dir (<span class='keyword'>const</span> <span class='keyword'>char</span> *dir)</td></tr>
+<tr class="codeline" data-linenumber="8373"><td class="num" id="LN8373">8373</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8374"><td class="num" id="LN8374">8374</td><td class="line"> <span class='keyword'>if</span> (! is_temp_dir (dir))</td></tr>
+<tr class="codeline" data-linenumber="8375"><td class="num" id="LN8375">8375</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>g_strdup (dir)<span class='macro_popup'>g_strdup_inline (dir)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8376"><td class="num" id="LN8376">8376</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="8377"><td class="num" id="LN8377">8377</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8378"><td class="num" id="LN8378">8378</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8379"><td class="num" id="LN8379">8379</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8380"><td class="num" id="LN8380">8380</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8381"><td class="num" id="LN8381">8381</td><td class="line">fr_window_set_open_default_dir (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8382"><td class="num" id="LN8382">8382</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *default_dir)</td></tr>
+<tr class="codeline" data-linenumber="8383"><td class="num" id="LN8383">8383</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8384"><td class="num" id="LN8384">8384</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8385"><td class="num" id="LN8385">8385</td><td class="line"> <span class='macro'>g_return_if_fail (default_dir != NULL)<span class='macro_popup'>do { if ((default_dir != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "default_dir != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8386"><td class="num" id="LN8386">8386</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8387"><td class="num" id="LN8387">8387</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;open_default_dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="8388"><td class="num" id="LN8388">8388</td><td class="line"> g_free (window-&gt;priv-&gt;open_default_dir);</td></tr>
+<tr class="codeline" data-linenumber="8389"><td class="num" id="LN8389">8389</td><td class="line"> window-&gt;priv-&gt;open_default_dir = get_default_dir (default_dir);</td></tr>
+<tr class="codeline" data-linenumber="8390"><td class="num" id="LN8390">8390</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8391"><td class="num" id="LN8391">8391</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8392"><td class="num" id="LN8392">8392</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="8393"><td class="num" id="LN8393">8393</td><td class="line">fr_window_get_open_default_dir (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="8394"><td class="num" id="LN8394">8394</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8395"><td class="num" id="LN8395">8395</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;open_default_dir == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="8396"><td class="num" id="LN8396">8396</td><td class="line"> <span class='keyword'>return</span> get_home_uri ();</td></tr>
+<tr class="codeline" data-linenumber="8397"><td class="num" id="LN8397">8397</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="8398"><td class="num" id="LN8398">8398</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;open_default_dir;</td></tr>
+<tr class="codeline" data-linenumber="8399"><td class="num" id="LN8399">8399</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8400"><td class="num" id="LN8400">8400</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8401"><td class="num" id="LN8401">8401</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8402"><td class="num" id="LN8402">8402</td><td class="line">fr_window_set_add_default_dir (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8403"><td class="num" id="LN8403">8403</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *default_dir)</td></tr>
+<tr class="codeline" data-linenumber="8404"><td class="num" id="LN8404">8404</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8405"><td class="num" id="LN8405">8405</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8406"><td class="num" id="LN8406">8406</td><td class="line"> <span class='macro'>g_return_if_fail (default_dir != NULL)<span class='macro_popup'>do { if ((default_dir != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "default_dir != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8407"><td class="num" id="LN8407">8407</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8408"><td class="num" id="LN8408">8408</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;add_default_dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="8409"><td class="num" id="LN8409">8409</td><td class="line"> g_free (window-&gt;priv-&gt;add_default_dir);</td></tr>
+<tr class="codeline" data-linenumber="8410"><td class="num" id="LN8410">8410</td><td class="line"> window-&gt;priv-&gt;add_default_dir = get_default_dir (default_dir);</td></tr>
+<tr class="codeline" data-linenumber="8411"><td class="num" id="LN8411">8411</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8412"><td class="num" id="LN8412">8412</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8413"><td class="num" id="LN8413">8413</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="8414"><td class="num" id="LN8414">8414</td><td class="line">fr_window_get_add_default_dir (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="8415"><td class="num" id="LN8415">8415</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8416"><td class="num" id="LN8416">8416</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;add_default_dir == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="8417"><td class="num" id="LN8417">8417</td><td class="line"> <span class='keyword'>return</span> get_home_uri ();</td></tr>
+<tr class="codeline" data-linenumber="8418"><td class="num" id="LN8418">8418</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="8419"><td class="num" id="LN8419">8419</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;add_default_dir;</td></tr>
+<tr class="codeline" data-linenumber="8420"><td class="num" id="LN8420">8420</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8421"><td class="num" id="LN8421">8421</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8422"><td class="num" id="LN8422">8422</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8423"><td class="num" id="LN8423">8423</td><td class="line">fr_window_set_extract_default_dir (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8424"><td class="num" id="LN8424">8424</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *default_dir,</td></tr>
+<tr class="codeline" data-linenumber="8425"><td class="num" id="LN8425">8425</td><td class="line"> gboolean freeze)</td></tr>
+<tr class="codeline" data-linenumber="8426"><td class="num" id="LN8426">8426</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8427"><td class="num" id="LN8427">8427</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8428"><td class="num" id="LN8428">8428</td><td class="line"> <span class='macro'>g_return_if_fail (default_dir != NULL)<span class='macro_popup'>do { if ((default_dir != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "default_dir != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8429"><td class="num" id="LN8429">8429</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8430"><td class="num" id="LN8430">8430</td><td class="line"> <span class='comment'>/* do not change this dir while it's used by the non-interactive</span></td></tr>
+<tr class="codeline" data-linenumber="8431"><td class="num" id="LN8431">8431</td><td class="line"> <span class='comment'>* extraction operation. */</span></td></tr>
+<tr class="codeline" data-linenumber="8432"><td class="num" id="LN8432">8432</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;extract_interact_use_default_dir)</td></tr>
+<tr class="codeline" data-linenumber="8433"><td class="num" id="LN8433">8433</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="8434"><td class="num" id="LN8434">8434</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8435"><td class="num" id="LN8435">8435</td><td class="line"> window-&gt;priv-&gt;extract_interact_use_default_dir = freeze;</td></tr>
+<tr class="codeline" data-linenumber="8436"><td class="num" id="LN8436">8436</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8437"><td class="num" id="LN8437">8437</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;extract_default_dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="8438"><td class="num" id="LN8438">8438</td><td class="line"> g_free (window-&gt;priv-&gt;extract_default_dir);</td></tr>
+<tr class="codeline" data-linenumber="8439"><td class="num" id="LN8439">8439</td><td class="line"> window-&gt;priv-&gt;extract_default_dir = get_default_dir (default_dir);</td></tr>
+<tr class="codeline" data-linenumber="8440"><td class="num" id="LN8440">8440</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8441"><td class="num" id="LN8441">8441</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8442"><td class="num" id="LN8442">8442</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="8443"><td class="num" id="LN8443">8443</td><td class="line">fr_window_get_extract_default_dir (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="8444"><td class="num" id="LN8444">8444</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8445"><td class="num" id="LN8445">8445</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;extract_default_dir == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="8446"><td class="num" id="LN8446">8446</td><td class="line"> <span class='keyword'>return</span> get_home_uri ();</td></tr>
+<tr class="codeline" data-linenumber="8447"><td class="num" id="LN8447">8447</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="8448"><td class="num" id="LN8448">8448</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;extract_default_dir;</td></tr>
+<tr class="codeline" data-linenumber="8449"><td class="num" id="LN8449">8449</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8450"><td class="num" id="LN8450">8450</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8451"><td class="num" id="LN8451">8451</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8452"><td class="num" id="LN8452">8452</td><td class="line">fr_window_set_default_dir (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8453"><td class="num" id="LN8453">8453</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *default_dir,</td></tr>
+<tr class="codeline" data-linenumber="8454"><td class="num" id="LN8454">8454</td><td class="line"> gboolean freeze)</td></tr>
+<tr class="codeline" data-linenumber="8455"><td class="num" id="LN8455">8455</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8456"><td class="num" id="LN8456">8456</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8457"><td class="num" id="LN8457">8457</td><td class="line"> <span class='macro'>g_return_if_fail (default_dir != NULL)<span class='macro_popup'>do { if ((default_dir != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "default_dir != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8458"><td class="num" id="LN8458">8458</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8459"><td class="num" id="LN8459">8459</td><td class="line"> window-&gt;priv-&gt;freeze_default_dir = freeze;</td></tr>
+<tr class="codeline" data-linenumber="8460"><td class="num" id="LN8460">8460</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8461"><td class="num" id="LN8461">8461</td><td class="line"> fr_window_set_open_default_dir (window, default_dir);</td></tr>
+<tr class="codeline" data-linenumber="8462"><td class="num" id="LN8462">8462</td><td class="line"> fr_window_set_add_default_dir (window, default_dir);</td></tr>
+<tr class="codeline" data-linenumber="8463"><td class="num" id="LN8463">8463</td><td class="line"> fr_window_set_extract_default_dir (window, default_dir, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8464"><td class="num" id="LN8464">8464</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8465"><td class="num" id="LN8465">8465</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8466"><td class="num" id="LN8466">8466</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8467"><td class="num" id="LN8467">8467</td><td class="line">fr_window_update_columns_visibility (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="8468"><td class="num" id="LN8468">8468</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8469"><td class="num" id="LN8469">8469</td><td class="line"> GtkTreeView *tree_view = <span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8470"><td class="num" id="LN8470">8470</td><td class="line"> GtkTreeViewColumn *column;</td></tr>
+<tr class="codeline" data-linenumber="8471"><td class="num" id="LN8471">8471</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8472"><td class="num" id="LN8472">8472</td><td class="line"> column = gtk_tree_view_get_column (tree_view, 1);</td></tr>
+<tr class="codeline" data-linenumber="8473"><td class="num" id="LN8473">8473</td><td class="line"> gtk_tree_view_column_set_visible (column, g_settings_get_boolean (window-&gt;priv-&gt;settings_listing, <span class='macro'>PREF_LISTING_SHOW_SIZE<span class='macro_popup'>"show-size"</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="8474"><td class="num" id="LN8474">8474</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8475"><td class="num" id="LN8475">8475</td><td class="line"> column = gtk_tree_view_get_column (tree_view, 2);</td></tr>
+<tr class="codeline" data-linenumber="8476"><td class="num" id="LN8476">8476</td><td class="line"> gtk_tree_view_column_set_visible (column, g_settings_get_boolean (window-&gt;priv-&gt;settings_listing, <span class='macro'>PREF_LISTING_SHOW_TYPE<span class='macro_popup'>"show-type"</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="8477"><td class="num" id="LN8477">8477</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8478"><td class="num" id="LN8478">8478</td><td class="line"> column = gtk_tree_view_get_column (tree_view, 3);</td></tr>
+<tr class="codeline" data-linenumber="8479"><td class="num" id="LN8479">8479</td><td class="line"> gtk_tree_view_column_set_visible (column, g_settings_get_boolean (window-&gt;priv-&gt;settings_listing, <span class='macro'>PREF_LISTING_SHOW_TIME<span class='macro_popup'>"show-time"</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="8480"><td class="num" id="LN8480">8480</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8481"><td class="num" id="LN8481">8481</td><td class="line"> column = gtk_tree_view_get_column (tree_view, 4);</td></tr>
+<tr class="codeline" data-linenumber="8482"><td class="num" id="LN8482">8482</td><td class="line"> gtk_tree_view_column_set_visible (column, g_settings_get_boolean (window-&gt;priv-&gt;settings_listing, <span class='macro'>PREF_LISTING_SHOW_PATH<span class='macro_popup'>"show-path"</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="8483"><td class="num" id="LN8483">8483</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8484"><td class="num" id="LN8484">8484</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8485"><td class="num" id="LN8485">8485</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8486"><td class="num" id="LN8486">8486</td><td class="line">fr_window_set_toolbar_visibility (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8487"><td class="num" id="LN8487">8487</td><td class="line"> gboolean visible)</td></tr>
+<tr class="codeline" data-linenumber="8488"><td class="num" id="LN8488">8488</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8489"><td class="num" id="LN8489">8489</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8490"><td class="num" id="LN8490">8490</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8491"><td class="num" id="LN8491">8491</td><td class="line"> <span class='keyword'>if</span> (visible)</td></tr>
+<tr class="codeline" data-linenumber="8492"><td class="num" id="LN8492">8492</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;toolbar);</td></tr>
+<tr class="codeline" data-linenumber="8493"><td class="num" id="LN8493">8493</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="8494"><td class="num" id="LN8494">8494</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;toolbar);</td></tr>
+<tr class="codeline" data-linenumber="8495"><td class="num" id="LN8495">8495</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8496"><td class="num" id="LN8496">8496</td><td class="line"> set_active (window, <span class='string_literal'>"ViewToolbar"</span>, visible);</td></tr>
+<tr class="codeline" data-linenumber="8497"><td class="num" id="LN8497">8497</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8498"><td class="num" id="LN8498">8498</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8499"><td class="num" id="LN8499">8499</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8500"><td class="num" id="LN8500">8500</td><td class="line">fr_window_set_statusbar_visibility (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8501"><td class="num" id="LN8501">8501</td><td class="line"> gboolean visible)</td></tr>
+<tr class="codeline" data-linenumber="8502"><td class="num" id="LN8502">8502</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8503"><td class="num" id="LN8503">8503</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8504"><td class="num" id="LN8504">8504</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8505"><td class="num" id="LN8505">8505</td><td class="line"> <span class='keyword'>if</span> (visible)</td></tr>
+<tr class="codeline" data-linenumber="8506"><td class="num" id="LN8506">8506</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;statusbar);</td></tr>
+<tr class="codeline" data-linenumber="8507"><td class="num" id="LN8507">8507</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="8508"><td class="num" id="LN8508">8508</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;statusbar);</td></tr>
+<tr class="codeline" data-linenumber="8509"><td class="num" id="LN8509">8509</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8510"><td class="num" id="LN8510">8510</td><td class="line"> set_active (window, <span class='string_literal'>"ViewStatusbar"</span>, visible);</td></tr>
+<tr class="codeline" data-linenumber="8511"><td class="num" id="LN8511">8511</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8512"><td class="num" id="LN8512">8512</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8513"><td class="num" id="LN8513">8513</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8514"><td class="num" id="LN8514">8514</td><td class="line">fr_window_set_folders_visibility (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8515"><td class="num" id="LN8515">8515</td><td class="line"> gboolean value)</td></tr>
+<tr class="codeline" data-linenumber="8516"><td class="num" id="LN8516">8516</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8517"><td class="num" id="LN8517">8517</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8518"><td class="num" id="LN8518">8518</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8519"><td class="num" id="LN8519">8519</td><td class="line"> window-&gt;priv-&gt;view_folders = value;</td></tr>
+<tr class="codeline" data-linenumber="8520"><td class="num" id="LN8520">8520</td><td class="line"> fr_window_update_dir_tree (window);</td></tr>
+<tr class="codeline" data-linenumber="8521"><td class="num" id="LN8521">8521</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8522"><td class="num" id="LN8522">8522</td><td class="line"> set_active (window, <span class='string_literal'>"ViewFolders"</span>, window-&gt;priv-&gt;view_folders);</td></tr>
+<tr class="codeline" data-linenumber="8523"><td class="num" id="LN8523">8523</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8524"><td class="num" id="LN8524">8524</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8525"><td class="num" id="LN8525">8525</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8526"><td class="num" id="LN8526">8526</td><td class="line">fr_window_use_progress_dialog (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8527"><td class="num" id="LN8527">8527</td><td class="line"> gboolean value)</td></tr>
+<tr class="codeline" data-linenumber="8528"><td class="num" id="LN8528">8528</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8529"><td class="num" id="LN8529">8529</td><td class="line"> window-&gt;priv-&gt;use_progress_dialog = value;</td></tr>
+<tr class="codeline" data-linenumber="8530"><td class="num" id="LN8530">8530</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8531"><td class="num" id="LN8531">8531</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8532"><td class="num" id="LN8532">8532</td><td class="line"><span class='comment'>/* -- batch mode procedures -- */</span></td></tr>
+<tr class="codeline" data-linenumber="8533"><td class="num" id="LN8533">8533</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8534"><td class="num" id="LN8534">8534</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> fr_window_exec_current_batch_action (FrWindow *window);</td></tr>
+<tr class="codeline" data-linenumber="8535"><td class="num" id="LN8535">8535</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8536"><td class="num" id="LN8536">8536</td><td class="line"><span id="start56"><span class='keyword'>static</span></span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8537"><td class="num" id="LN8537">8537</td><td class="line">fr_window_exec_batch_action (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8538"><td class="num" id="LN8538">8538</td><td class="line"> FRBatchAction *action)</td></tr>
+<tr class="codeline" data-linenumber="8539"><td class="num" id="LN8539">8539</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8540"><td class="num" id="LN8540">8540</td><td class="line"> <span id="start55"><span id="end56">ExtractData</span></span> *edata;</td></tr>
+<tr class="codeline" data-linenumber="8541"><td class="num" id="LN8541">8541</td><td class="line"> RenameData *rdata;</td></tr>
+<tr class="codeline" data-linenumber="8542"><td class="num" id="LN8542">8542</td><td class="line"> OpenFilesData *odata;</td></tr>
+<tr class="codeline" data-linenumber="8543"><td class="num" id="LN8543">8543</td><td class="line"> SaveAsData *sdata;</td></tr>
+<tr class="codeline" data-linenumber="8544"><td class="num" id="LN8544">8544</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8545"><td class="num" id="LN8545">8545</td><td class="line"> <span id="start54"><span id="end55"><span class='keyword'>switch</span></span></span> (<span id="start53"><span id="end54">action</span></span>-&gt;type) {</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path2" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">2</div></td><td><div class="PathNav"><a href="#Path1" title="Previous event (1)">&#x2190;</a></div></td><td>Control jumps to 'case FR_BATCH_ACTION_RENAME:' at line 8620</td><td><div class="PathNav"><a href="#Path3" title="Next event (3)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="8546"><td class="num" id="LN8546">8546</td><td class="line"> <span class='keyword'>case</span> FR_BATCH_ACTION_LOAD:</td></tr>
+<tr class="codeline" data-linenumber="8547"><td class="num" id="LN8547">8547</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 8547, __FUNCTION__</span></span>, <span class='string_literal'>"[BATCH] LOAD\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="8548"><td class="num" id="LN8548">8548</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8549"><td class="num" id="LN8549">8549</td><td class="line"> <span class='keyword'>if</span> (! uri_exists ((<span class='keyword'>char</span>*) action-&gt;data))</td></tr>
+<tr class="codeline" data-linenumber="8550"><td class="num" id="LN8550">8550</td><td class="line"> fr_window_archive_new (window, (<span class='keyword'>char</span>*) action-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="8551"><td class="num" id="LN8551">8551</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="8552"><td class="num" id="LN8552">8552</td><td class="line"> fr_window_archive_open (window, (<span class='keyword'>char</span>*) action-&gt;data, <span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8553"><td class="num" id="LN8553">8553</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8554"><td class="num" id="LN8554">8554</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8555"><td class="num" id="LN8555">8555</td><td class="line"> <span class='keyword'>case</span> FR_BATCH_ACTION_ADD:</td></tr>
+<tr class="codeline" data-linenumber="8556"><td class="num" id="LN8556">8556</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 8556, __FUNCTION__</span></span>, <span class='string_literal'>"[BATCH] ADD\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="8557"><td class="num" id="LN8557">8557</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8558"><td class="num" id="LN8558">8558</td><td class="line"> fr_window_archive_add_dropped_items (window, (GList*) action-&gt;data, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8559"><td class="num" id="LN8559">8559</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8560"><td class="num" id="LN8560">8560</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8561"><td class="num" id="LN8561">8561</td><td class="line"> <span class='keyword'>case</span> FR_BATCH_ACTION_DELETE:</td></tr>
+<tr class="codeline" data-linenumber="8562"><td class="num" id="LN8562">8562</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 8562, __FUNCTION__</span></span>, <span class='string_literal'>"[BATCH] DELETE\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="8563"><td class="num" id="LN8563">8563</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8564"><td class="num" id="LN8564">8564</td><td class="line"> fr_window_archive_remove (window, (GList*) action-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="8565"><td class="num" id="LN8565">8565</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8566"><td class="num" id="LN8566">8566</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8567"><td class="num" id="LN8567">8567</td><td class="line"> <span class='keyword'>case</span> FR_BATCH_ACTION_OPEN:</td></tr>
+<tr class="codeline" data-linenumber="8568"><td class="num" id="LN8568">8568</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 8568, __FUNCTION__</span></span>, <span class='string_literal'>"[BATCH] OPEN\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="8569"><td class="num" id="LN8569">8569</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8570"><td class="num" id="LN8570">8570</td><td class="line"> fr_window_push_message (window, <span class='macro'>_(<span class='string_literal'>"Add files to an archive"</span>)<span class='macro_popup'>gettext ("Add files to an archive")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8571"><td class="num" id="LN8571">8571</td><td class="line"> dlg_batch_add_files (window, (GList*) action-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="8572"><td class="num" id="LN8572">8572</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8573"><td class="num" id="LN8573">8573</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8574"><td class="num" id="LN8574">8574</td><td class="line"> <span class='keyword'>case</span> FR_BATCH_ACTION_EXTRACT:</td></tr>
+<tr class="codeline" data-linenumber="8575"><td class="num" id="LN8575">8575</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 8575, __FUNCTION__</span></span>, <span class='string_literal'>"[BATCH] EXTRACT\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="8576"><td class="num" id="LN8576">8576</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8577"><td class="num" id="LN8577">8577</td><td class="line"> edata = action-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="8578"><td class="num" id="LN8578">8578</td><td class="line"> fr_window_archive_extract (window,</td></tr>
+<tr class="codeline" data-linenumber="8579"><td class="num" id="LN8579">8579</td><td class="line"> edata-&gt;file_list,</td></tr>
+<tr class="codeline" data-linenumber="8580"><td class="num" id="LN8580">8580</td><td class="line"> edata-&gt;extract_to_dir,</td></tr>
+<tr class="codeline" data-linenumber="8581"><td class="num" id="LN8581">8581</td><td class="line"> edata-&gt;sub_dir,</td></tr>
+<tr class="codeline" data-linenumber="8582"><td class="num" id="LN8582">8582</td><td class="line"> edata-&gt;base_dir,</td></tr>
+<tr class="codeline" data-linenumber="8583"><td class="num" id="LN8583">8583</td><td class="line"> edata-&gt;skip_older,</td></tr>
+<tr class="codeline" data-linenumber="8584"><td class="num" id="LN8584">8584</td><td class="line"> edata-&gt;overwrite,</td></tr>
+<tr class="codeline" data-linenumber="8585"><td class="num" id="LN8585">8585</td><td class="line"> edata-&gt;junk_paths,</td></tr>
+<tr class="codeline" data-linenumber="8586"><td class="num" id="LN8586">8586</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8587"><td class="num" id="LN8587">8587</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8588"><td class="num" id="LN8588">8588</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8589"><td class="num" id="LN8589">8589</td><td class="line"> <span class='keyword'>case</span> FR_BATCH_ACTION_EXTRACT_HERE:</td></tr>
+<tr class="codeline" data-linenumber="8590"><td class="num" id="LN8590">8590</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 8590, __FUNCTION__</span></span>, <span class='string_literal'>"[BATCH] EXTRACT HERE\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="8591"><td class="num" id="LN8591">8591</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8592"><td class="num" id="LN8592">8592</td><td class="line"> fr_window_archive_extract_here (window,</td></tr>
+<tr class="codeline" data-linenumber="8593"><td class="num" id="LN8593">8593</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8594"><td class="num" id="LN8594">8594</td><td class="line"> FR_OVERWRITE_NO,</td></tr>
+<tr class="codeline" data-linenumber="8595"><td class="num" id="LN8595">8595</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8596"><td class="num" id="LN8596">8596</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8597"><td class="num" id="LN8597">8597</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8598"><td class="num" id="LN8598">8598</td><td class="line"> <span class='keyword'>case</span> FR_BATCH_ACTION_EXTRACT_INTERACT:</td></tr>
+<tr class="codeline" data-linenumber="8599"><td class="num" id="LN8599">8599</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 8599, __FUNCTION__</span></span>, <span class='string_literal'>"[BATCH] EXTRACT_INTERACT\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="8600"><td class="num" id="LN8600">8600</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8601"><td class="num" id="LN8601">8601</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;extract_interact_use_default_dir</td></tr>
+<tr class="codeline" data-linenumber="8602"><td class="num" id="LN8602">8602</td><td class="line"> &amp;&amp; (window-&gt;priv-&gt;extract_default_dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="8603"><td class="num" id="LN8603">8603</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="8604"><td class="num" id="LN8604">8604</td><td class="line"> fr_window_archive_extract (window,</td></tr>
+<tr class="codeline" data-linenumber="8605"><td class="num" id="LN8605">8605</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8606"><td class="num" id="LN8606">8606</td><td class="line"> window-&gt;priv-&gt;extract_default_dir,</td></tr>
+<tr class="codeline" data-linenumber="8607"><td class="num" id="LN8607">8607</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8608"><td class="num" id="LN8608">8608</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8609"><td class="num" id="LN8609">8609</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8610"><td class="num" id="LN8610">8610</td><td class="line"> FR_OVERWRITE_ASK,</td></tr>
+<tr class="codeline" data-linenumber="8611"><td class="num" id="LN8611">8611</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8612"><td class="num" id="LN8612">8612</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8613"><td class="num" id="LN8613">8613</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8614"><td class="num" id="LN8614">8614</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="8615"><td class="num" id="LN8615">8615</td><td class="line"> fr_window_push_message (window, <span class='macro'>_(<span class='string_literal'>"Extract archive"</span>)<span class='macro_popup'>gettext ("Extract archive")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8616"><td class="num" id="LN8616">8616</td><td class="line"> dlg_extract (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, window);</td></tr>
+<tr class="codeline" data-linenumber="8617"><td class="num" id="LN8617">8617</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8618"><td class="num" id="LN8618">8618</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8619"><td class="num" id="LN8619">8619</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8620"><td class="num" id="LN8620">8620</td><td class="line"> <span class='keyword'>case</span> FR_BATCH_ACTION_RENAME:</td></tr>
+<tr class="codeline" data-linenumber="8621"><td class="num" id="LN8621">8621</td><td class="line"> <span id="start50"><span id="end51"><span id="start52"><span id="end53">debug</span></span></span></span> (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 8621, __FUNCTION__</span></span>, <span id="start51"><span id="end52"><span class='string_literal'>"[BATCH] RENAME\n"</span>);</td></tr></span></span>
+<tr class="codeline" data-linenumber="8622"><td class="num" id="LN8622">8622</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8623"><td class="num" id="LN8623">8623</td><td class="line"> <span id="start49"><span id="end50">rdata</span></span> = action-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="8624"><td class="num" id="LN8624">8624</td><td class="line"> <span class="mrange"><span id="end49">rename_selection</span> (window,</td></tr></span>
+<tr><td class="num"></td><td class="line"><div id="Path3" class="msg msgEvent" style="margin-left:17ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">3</div></td><td><div class="PathNav"><a href="#Path2" title="Previous event (2)">&#x2190;</a></div></td><td>Calling 'rename_selection'</td><td><div class="PathNav"><a href="#Path4" title="Next event (4)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="8625"><td class="num" id="LN8625">8625</td><td class="line"> <span class="mrange">rdata-&gt;path_to_rename,</td></tr></span>
+<tr class="codeline" data-linenumber="8626"><td class="num" id="LN8626">8626</td><td class="line"> <span class="mrange">rdata-&gt;old_name,</td></tr></span>
+<tr class="codeline" data-linenumber="8627"><td class="num" id="LN8627">8627</td><td class="line"> <span class="mrange">rdata-&gt;new_name,</td></tr></span>
+<tr class="codeline" data-linenumber="8628"><td class="num" id="LN8628">8628</td><td class="line"> <span class="mrange">rdata-&gt;current_dir,</td></tr></span>
+<tr class="codeline" data-linenumber="8629"><td class="num" id="LN8629">8629</td><td class="line"> <span class="mrange">rdata-&gt;is_dir,</td></tr></span>
+<tr class="codeline" data-linenumber="8630"><td class="num" id="LN8630">8630</td><td class="line"> <span class="mrange">rdata-&gt;dir_in_archive,</td></tr></span>
+<tr class="codeline" data-linenumber="8631"><td class="num" id="LN8631">8631</td><td class="line"> <span class="mrange">rdata-&gt;original_path)</span>;</td></tr>
+<tr class="codeline" data-linenumber="8632"><td class="num" id="LN8632">8632</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8633"><td class="num" id="LN8633">8633</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8634"><td class="num" id="LN8634">8634</td><td class="line"> <span class='keyword'>case</span> FR_BATCH_ACTION_PASTE:</td></tr>
+<tr class="codeline" data-linenumber="8635"><td class="num" id="LN8635">8635</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 8635, __FUNCTION__</span></span>, <span class='string_literal'>"[BATCH] PASTE\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="8636"><td class="num" id="LN8636">8636</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8637"><td class="num" id="LN8637">8637</td><td class="line"> fr_window_paste_from_clipboard_data (window, (FrClipboardData*) action-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="8638"><td class="num" id="LN8638">8638</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8639"><td class="num" id="LN8639">8639</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8640"><td class="num" id="LN8640">8640</td><td class="line"> <span class='keyword'>case</span> FR_BATCH_ACTION_OPEN_FILES:</td></tr>
+<tr class="codeline" data-linenumber="8641"><td class="num" id="LN8641">8641</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 8641, __FUNCTION__</span></span>, <span class='string_literal'>"[BATCH] OPEN FILES\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="8642"><td class="num" id="LN8642">8642</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8643"><td class="num" id="LN8643">8643</td><td class="line"> odata = action-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="8644"><td class="num" id="LN8644">8644</td><td class="line"> fr_window_open_files (window, odata-&gt;file_list, odata-&gt;ask_application);</td></tr>
+<tr class="codeline" data-linenumber="8645"><td class="num" id="LN8645">8645</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8646"><td class="num" id="LN8646">8646</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8647"><td class="num" id="LN8647">8647</td><td class="line"> <span class='keyword'>case</span> FR_BATCH_ACTION_SAVE_AS:</td></tr>
+<tr class="codeline" data-linenumber="8648"><td class="num" id="LN8648">8648</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 8648, __FUNCTION__</span></span>, <span class='string_literal'>"[BATCH] SAVE_AS\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="8649"><td class="num" id="LN8649">8649</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8650"><td class="num" id="LN8650">8650</td><td class="line"> sdata = action-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="8651"><td class="num" id="LN8651">8651</td><td class="line"> fr_window_archive_save_as (window,</td></tr>
+<tr class="codeline" data-linenumber="8652"><td class="num" id="LN8652">8652</td><td class="line"> sdata-&gt;uri,</td></tr>
+<tr class="codeline" data-linenumber="8653"><td class="num" id="LN8653">8653</td><td class="line"> sdata-&gt;password,</td></tr>
+<tr class="codeline" data-linenumber="8654"><td class="num" id="LN8654">8654</td><td class="line"> sdata-&gt;encrypt_header,</td></tr>
+<tr class="codeline" data-linenumber="8655"><td class="num" id="LN8655">8655</td><td class="line"> sdata-&gt;volume_size);</td></tr>
+<tr class="codeline" data-linenumber="8656"><td class="num" id="LN8656">8656</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8657"><td class="num" id="LN8657">8657</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8658"><td class="num" id="LN8658">8658</td><td class="line"> <span class='keyword'>case</span> FR_BATCH_ACTION_TEST:</td></tr>
+<tr class="codeline" data-linenumber="8659"><td class="num" id="LN8659">8659</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 8659, __FUNCTION__</span></span>, <span class='string_literal'>"[BATCH] TEST\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="8660"><td class="num" id="LN8660">8660</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8661"><td class="num" id="LN8661">8661</td><td class="line"> fr_window_archive_test (window);</td></tr>
+<tr class="codeline" data-linenumber="8662"><td class="num" id="LN8662">8662</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8663"><td class="num" id="LN8663">8663</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8664"><td class="num" id="LN8664">8664</td><td class="line"> <span class='keyword'>case</span> FR_BATCH_ACTION_CLOSE:</td></tr>
+<tr class="codeline" data-linenumber="8665"><td class="num" id="LN8665">8665</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 8665, __FUNCTION__</span></span>, <span class='string_literal'>"[BATCH] CLOSE\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="8666"><td class="num" id="LN8666">8666</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8667"><td class="num" id="LN8667">8667</td><td class="line"> fr_window_archive_close (window);</td></tr>
+<tr class="codeline" data-linenumber="8668"><td class="num" id="LN8668">8668</td><td class="line"> fr_window_exec_next_batch_action (window);</td></tr>
+<tr class="codeline" data-linenumber="8669"><td class="num" id="LN8669">8669</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8670"><td class="num" id="LN8670">8670</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8671"><td class="num" id="LN8671">8671</td><td class="line"> <span class='keyword'>case</span> FR_BATCH_ACTION_QUIT:</td></tr>
+<tr class="codeline" data-linenumber="8672"><td class="num" id="LN8672">8672</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 8672, __FUNCTION__</span></span>, <span class='string_literal'>"[BATCH] QUIT\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="8673"><td class="num" id="LN8673">8673</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8674"><td class="num" id="LN8674">8674</td><td class="line"> g_signal_emit (window,</td></tr>
+<tr class="codeline" data-linenumber="8675"><td class="num" id="LN8675">8675</td><td class="line"> fr_window_signals[READY],</td></tr>
+<tr class="codeline" data-linenumber="8676"><td class="num" id="LN8676">8676</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="8677"><td class="num" id="LN8677">8677</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8678"><td class="num" id="LN8678">8678</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8679"><td class="num" id="LN8679">8679</td><td class="line"> <span class='keyword'>if</span> ((window-&gt;priv-&gt;progress_dialog != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (gtk_widget_get_parent (window-&gt;priv-&gt;progress_dialog) != <span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="8680"><td class="num" id="LN8680">8680</td><td class="line"> gtk_widget_destroy (window-&gt;priv-&gt;progress_dialog);</td></tr>
+<tr class="codeline" data-linenumber="8681"><td class="num" id="LN8681">8681</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8682"><td class="num" id="LN8682">8682</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8683"><td class="num" id="LN8683">8683</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8684"><td class="num" id="LN8684">8684</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="8685"><td class="num" id="LN8685">8685</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8686"><td class="num" id="LN8686">8686</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8687"><td class="num" id="LN8687">8687</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8688"><td class="num" id="LN8688">8688</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8689"><td class="num" id="LN8689">8689</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8690"><td class="num" id="LN8690">8690</td><td class="line">fr_window_reset_current_batch_action (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="8691"><td class="num" id="LN8691">8691</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8692"><td class="num" id="LN8692">8692</td><td class="line"> FRBatchAction *adata = &amp;window-&gt;priv-&gt;current_batch_action;</td></tr>
+<tr class="codeline" data-linenumber="8693"><td class="num" id="LN8693">8693</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8694"><td class="num" id="LN8694">8694</td><td class="line"> <span class='keyword'>if</span> ((adata-&gt;data != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (adata-&gt;free_func != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="8695"><td class="num" id="LN8695">8695</td><td class="line"> (*adata-&gt;free_func) (adata-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="8696"><td class="num" id="LN8696">8696</td><td class="line"> adata-&gt;type = FR_BATCH_ACTION_NONE;</td></tr>
+<tr class="codeline" data-linenumber="8697"><td class="num" id="LN8697">8697</td><td class="line"> adata-&gt;data = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8698"><td class="num" id="LN8698">8698</td><td class="line"> adata-&gt;free_func = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8699"><td class="num" id="LN8699">8699</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8700"><td class="num" id="LN8700">8700</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8701"><td class="num" id="LN8701">8701</td><td class="line"><span id="start27"><span class='keyword'>void</span></td></tr></span>
+<tr class="codeline" data-linenumber="8702"><td class="num" id="LN8702">8702</td><td class="line">fr_window_set_current_batch_action (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8703"><td class="num" id="LN8703">8703</td><td class="line"> FrBatchActionType action,</td></tr>
+<tr class="codeline" data-linenumber="8704"><td class="num" id="LN8704">8704</td><td class="line"> <span class='keyword'>void</span> *data,</td></tr>
+<tr class="codeline" data-linenumber="8705"><td class="num" id="LN8705">8705</td><td class="line"> GFreeFunc free_func)</td></tr>
+<tr class="codeline" data-linenumber="8706"><td class="num" id="LN8706">8706</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8707"><td class="num" id="LN8707">8707</td><td class="line"> <span id="start26"><span id="end27">FRBatchAction</span></span> *adata = &amp;window-&gt;priv-&gt;current_batch_action;</td></tr>
+<tr class="codeline" data-linenumber="8708"><td class="num" id="LN8708">8708</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8709"><td class="num" id="LN8709">8709</td><td class="line"> fr_window_reset_current_batch_action (window);</td></tr>
+<tr class="codeline" data-linenumber="8710"><td class="num" id="LN8710">8710</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8711"><td class="num" id="LN8711">8711</td><td class="line"> adata-&gt;type = action;</td></tr>
+<tr class="codeline" data-linenumber="8712"><td class="num" id="LN8712">8712</td><td class="line"> adata-&gt;data = data;</td></tr>
+<tr class="codeline" data-linenumber="8713"><td class="num" id="LN8713">8713</td><td class="line"> <span id="end24"><span id="start25"><span id="end26">adata</span></span></span>-&gt;free_func = free_func;</td></tr>
+<tr class="codeline" data-linenumber="8714"><td class="num" id="LN8714">8714</td><td class="line"><span id="start24"><span id="end25">}</td></tr></span>
+<tr><td class="num"></td><td class="line"><div id="Path16" class="msg msgEvent" style="margin-left:1ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">16</div></td><td><div class="PathNav"><a href="#Path15" title="Previous event (15)">&#x2190;</a></div></td><td>Returning without writing to 'data-&gt;current_dir'</td><td><div class="PathNav"><a href="#Path17" title="Next event (17)">&#x2192;</a></div></td></tr></table></div></td></tr></span>
+<tr class="codeline" data-linenumber="8715"><td class="num" id="LN8715">8715</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8716"><td class="num" id="LN8716">8716</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8717"><td class="num" id="LN8717">8717</td><td class="line">fr_window_restart_current_batch_action (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="8718"><td class="num" id="LN8718">8718</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8719"><td class="num" id="LN8719">8719</td><td class="line"> <span class="mrange">fr_window_exec_batch_action (window, &amp;window-&gt;priv-&gt;current_batch_action)</span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path1" class="msg msgEvent" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">1</div></td><td>Calling 'fr_window_exec_batch_action'</td><td><div class="PathNav"><a href="#Path2" title="Next event (2)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="8720"><td class="num" id="LN8720">8720</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8721"><td class="num" id="LN8721">8721</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8722"><td class="num" id="LN8722">8722</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8723"><td class="num" id="LN8723">8723</td><td class="line">fr_window_append_batch_action (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8724"><td class="num" id="LN8724">8724</td><td class="line"> FrBatchActionType action,</td></tr>
+<tr class="codeline" data-linenumber="8725"><td class="num" id="LN8725">8725</td><td class="line"> <span class='keyword'>void</span> *data,</td></tr>
+<tr class="codeline" data-linenumber="8726"><td class="num" id="LN8726">8726</td><td class="line"> GFreeFunc free_func)</td></tr>
+<tr class="codeline" data-linenumber="8727"><td class="num" id="LN8727">8727</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8728"><td class="num" id="LN8728">8728</td><td class="line"> FRBatchAction *a_desc;</td></tr>
+<tr class="codeline" data-linenumber="8729"><td class="num" id="LN8729">8729</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8730"><td class="num" id="LN8730">8730</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8731"><td class="num" id="LN8731">8731</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8732"><td class="num" id="LN8732">8732</td><td class="line"> a_desc = <span class='macro'>g_new0 (FRBatchAction, 1)<span class='macro_popup'>((FRBatchAction *) g_malloc0_n ((1), sizeof (FRBatchAction)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8733"><td class="num" id="LN8733">8733</td><td class="line"> a_desc-&gt;type = action;</td></tr>
+<tr class="codeline" data-linenumber="8734"><td class="num" id="LN8734">8734</td><td class="line"> a_desc-&gt;data = data;</td></tr>
+<tr class="codeline" data-linenumber="8735"><td class="num" id="LN8735">8735</td><td class="line"> a_desc-&gt;free_func = free_func;</td></tr>
+<tr class="codeline" data-linenumber="8736"><td class="num" id="LN8736">8736</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8737"><td class="num" id="LN8737">8737</td><td class="line"> window-&gt;priv-&gt;batch_action_list = g_list_append (window-&gt;priv-&gt;batch_action_list, a_desc);</td></tr>
+<tr class="codeline" data-linenumber="8738"><td class="num" id="LN8738">8738</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8739"><td class="num" id="LN8739">8739</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8740"><td class="num" id="LN8740">8740</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8741"><td class="num" id="LN8741">8741</td><td class="line">fr_window_exec_current_batch_action (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="8742"><td class="num" id="LN8742">8742</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8743"><td class="num" id="LN8743">8743</td><td class="line"> FRBatchAction *action;</td></tr>
+<tr class="codeline" data-linenumber="8744"><td class="num" id="LN8744">8744</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8745"><td class="num" id="LN8745">8745</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;batch_action == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="8746"><td class="num" id="LN8746">8746</td><td class="line"> window-&gt;priv-&gt;batch_mode = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8747"><td class="num" id="LN8747">8747</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="8748"><td class="num" id="LN8748">8748</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8749"><td class="num" id="LN8749">8749</td><td class="line"> action = (FRBatchAction *) window-&gt;priv-&gt;batch_action-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="8750"><td class="num" id="LN8750">8750</td><td class="line"> fr_window_exec_batch_action (window, action);</td></tr>
+<tr class="codeline" data-linenumber="8751"><td class="num" id="LN8751">8751</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8752"><td class="num" id="LN8752">8752</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8753"><td class="num" id="LN8753">8753</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8754"><td class="num" id="LN8754">8754</td><td class="line">fr_window_exec_next_batch_action (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="8755"><td class="num" id="LN8755">8755</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8756"><td class="num" id="LN8756">8756</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;batch_action != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="8757"><td class="num" id="LN8757">8757</td><td class="line"> window-&gt;priv-&gt;batch_action = <span class='macro'>g_list_next (window-&gt;priv-&gt;batch_action)<span class='macro_popup'>((window-&gt;priv-&gt;batch_action) ? (((GList *)(window-&gt;<br>priv-&gt;batch_action))-&gt;next) : ((void*)0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8758"><td class="num" id="LN8758">8758</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="8759"><td class="num" id="LN8759">8759</td><td class="line"> window-&gt;priv-&gt;batch_action = window-&gt;priv-&gt;batch_action_list;</td></tr>
+<tr class="codeline" data-linenumber="8760"><td class="num" id="LN8760">8760</td><td class="line"> fr_window_exec_current_batch_action (window);</td></tr>
+<tr class="codeline" data-linenumber="8761"><td class="num" id="LN8761">8761</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8762"><td class="num" id="LN8762">8762</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8763"><td class="num" id="LN8763">8763</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8764"><td class="num" id="LN8764">8764</td><td class="line">fr_window_start_batch (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="8765"><td class="num" id="LN8765">8765</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8766"><td class="num" id="LN8766">8766</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8767"><td class="num" id="LN8767">8767</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8768"><td class="num" id="LN8768">8768</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;batch_mode)</td></tr>
+<tr class="codeline" data-linenumber="8769"><td class="num" id="LN8769">8769</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="8770"><td class="num" id="LN8770">8770</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8771"><td class="num" id="LN8771">8771</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;batch_action_list == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="8772"><td class="num" id="LN8772">8772</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="8773"><td class="num" id="LN8773">8773</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8774"><td class="num" id="LN8774">8774</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_dialog != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="8775"><td class="num" id="LN8775">8775</td><td class="line"> gtk_window_set_title (<span class='macro'>GTK_WINDOW (window-&gt;priv-&gt;progress_dialog)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_dialog)), ((gtk_window_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8776"><td class="num" id="LN8776">8776</td><td class="line"> window-&gt;priv-&gt;batch_title);</td></tr>
+<tr class="codeline" data-linenumber="8777"><td class="num" id="LN8777">8777</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8778"><td class="num" id="LN8778">8778</td><td class="line"> window-&gt;priv-&gt;batch_mode = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8779"><td class="num" id="LN8779">8779</td><td class="line"> window-&gt;priv-&gt;batch_action = window-&gt;priv-&gt;batch_action_list;</td></tr>
+<tr class="codeline" data-linenumber="8780"><td class="num" id="LN8780">8780</td><td class="line"> window-&gt;archive-&gt;can_create_compressed_file = window-&gt;priv-&gt;batch_adding_one_file;</td></tr>
+<tr class="codeline" data-linenumber="8781"><td class="num" id="LN8781">8781</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8782"><td class="num" id="LN8782">8782</td><td class="line"> fr_window_exec_current_batch_action (window);</td></tr>
+<tr class="codeline" data-linenumber="8783"><td class="num" id="LN8783">8783</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8784"><td class="num" id="LN8784">8784</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8785"><td class="num" id="LN8785">8785</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8786"><td class="num" id="LN8786">8786</td><td class="line">fr_window_stop_batch (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="8787"><td class="num" id="LN8787">8787</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8788"><td class="num" id="LN8788">8788</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;non_interactive)</td></tr>
+<tr class="codeline" data-linenumber="8789"><td class="num" id="LN8789">8789</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="8790"><td class="num" id="LN8790">8790</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8791"><td class="num" id="LN8791">8791</td><td class="line"> window-&gt;priv-&gt;extract_interact_use_default_dir = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8792"><td class="num" id="LN8792">8792</td><td class="line"> window-&gt;archive-&gt;can_create_compressed_file = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8793"><td class="num" id="LN8793">8793</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8794"><td class="num" id="LN8794">8794</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;batch_mode) {</td></tr>
+<tr class="codeline" data-linenumber="8795"><td class="num" id="LN8795">8795</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;showing_error_dialog) {</td></tr>
+<tr class="codeline" data-linenumber="8796"><td class="num" id="LN8796">8796</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8797"><td class="num" id="LN8797">8797</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="8798"><td class="num" id="LN8798">8798</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8799"><td class="num" id="LN8799">8799</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8800"><td class="num" id="LN8800">8800</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="8801"><td class="num" id="LN8801">8801</td><td class="line"> gtk_window_present (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8802"><td class="num" id="LN8802">8802</td><td class="line"> fr_window_archive_close (window);</td></tr>
+<tr class="codeline" data-linenumber="8803"><td class="num" id="LN8803">8803</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8804"><td class="num" id="LN8804">8804</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8805"><td class="num" id="LN8805">8805</td><td class="line"> window-&gt;priv-&gt;batch_mode = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8806"><td class="num" id="LN8806">8806</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8807"><td class="num" id="LN8807">8807</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8808"><td class="num" id="LN8808">8808</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8809"><td class="num" id="LN8809">8809</td><td class="line">fr_window_resume_batch (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="8810"><td class="num" id="LN8810">8810</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8811"><td class="num" id="LN8811">8811</td><td class="line"> fr_window_exec_current_batch_action (window);</td></tr>
+<tr class="codeline" data-linenumber="8812"><td class="num" id="LN8812">8812</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8813"><td class="num" id="LN8813">8813</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8814"><td class="num" id="LN8814">8814</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="8815"><td class="num" id="LN8815">8815</td><td class="line">fr_window_is_batch_mode (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="8816"><td class="num" id="LN8816">8816</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8817"><td class="num" id="LN8817">8817</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;batch_mode;</td></tr>
+<tr class="codeline" data-linenumber="8818"><td class="num" id="LN8818">8818</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8819"><td class="num" id="LN8819">8819</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8820"><td class="num" id="LN8820">8820</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8821"><td class="num" id="LN8821">8821</td><td class="line">fr_window_new_batch (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8822"><td class="num" id="LN8822">8822</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *title)</td></tr>
+<tr class="codeline" data-linenumber="8823"><td class="num" id="LN8823">8823</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8824"><td class="num" id="LN8824">8824</td><td class="line"> fr_window_free_batch_data (window);</td></tr>
+<tr class="codeline" data-linenumber="8825"><td class="num" id="LN8825">8825</td><td class="line"> window-&gt;priv-&gt;non_interactive = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8826"><td class="num" id="LN8826">8826</td><td class="line"> g_free (window-&gt;priv-&gt;batch_title);</td></tr>
+<tr class="codeline" data-linenumber="8827"><td class="num" id="LN8827">8827</td><td class="line"> window-&gt;priv-&gt;batch_title = <span class='macro'>g_strdup (title)<span class='macro_popup'>g_strdup_inline (title)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8828"><td class="num" id="LN8828">8828</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8829"><td class="num" id="LN8829">8829</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8830"><td class="num" id="LN8830">8830</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8831"><td class="num" id="LN8831">8831</td><td class="line">fr_window_set_batch__extract_here (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8832"><td class="num" id="LN8832">8832</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *filename)</td></tr>
+<tr class="codeline" data-linenumber="8833"><td class="num" id="LN8833">8833</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8834"><td class="num" id="LN8834">8834</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8835"><td class="num" id="LN8835">8835</td><td class="line"> <span class='macro'>g_return_if_fail (filename != NULL)<span class='macro_popup'>do { if ((filename != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "filename != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8836"><td class="num" id="LN8836">8836</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8837"><td class="num" id="LN8837">8837</td><td class="line"> fr_window_append_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="8838"><td class="num" id="LN8838">8838</td><td class="line"> FR_BATCH_ACTION_LOAD,</td></tr>
+<tr class="codeline" data-linenumber="8839"><td class="num" id="LN8839">8839</td><td class="line"> <span class='macro'>g_strdup (filename)<span class='macro_popup'>g_strdup_inline (filename)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8840"><td class="num" id="LN8840">8840</td><td class="line"> (GFreeFunc) g_free);</td></tr>
+<tr class="codeline" data-linenumber="8841"><td class="num" id="LN8841">8841</td><td class="line"> fr_window_append_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="8842"><td class="num" id="LN8842">8842</td><td class="line"> FR_BATCH_ACTION_EXTRACT_HERE,</td></tr>
+<tr class="codeline" data-linenumber="8843"><td class="num" id="LN8843">8843</td><td class="line"> extract_to_data_new (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>),</td></tr>
+<tr class="codeline" data-linenumber="8844"><td class="num" id="LN8844">8844</td><td class="line"> (GFreeFunc) extract_data_free);</td></tr>
+<tr class="codeline" data-linenumber="8845"><td class="num" id="LN8845">8845</td><td class="line"> fr_window_append_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="8846"><td class="num" id="LN8846">8846</td><td class="line"> FR_BATCH_ACTION_CLOSE,</td></tr>
+<tr class="codeline" data-linenumber="8847"><td class="num" id="LN8847">8847</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8848"><td class="num" id="LN8848">8848</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8849"><td class="num" id="LN8849">8849</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8850"><td class="num" id="LN8850">8850</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8851"><td class="num" id="LN8851">8851</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8852"><td class="num" id="LN8852">8852</td><td class="line">fr_window_set_batch__extract (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8853"><td class="num" id="LN8853">8853</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *filename,</td></tr>
+<tr class="codeline" data-linenumber="8854"><td class="num" id="LN8854">8854</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *dest_dir)</td></tr>
+<tr class="codeline" data-linenumber="8855"><td class="num" id="LN8855">8855</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8856"><td class="num" id="LN8856">8856</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8857"><td class="num" id="LN8857">8857</td><td class="line"> <span class='macro'>g_return_if_fail (filename != NULL)<span class='macro_popup'>do { if ((filename != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "filename != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8858"><td class="num" id="LN8858">8858</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8859"><td class="num" id="LN8859">8859</td><td class="line"> fr_window_append_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="8860"><td class="num" id="LN8860">8860</td><td class="line"> FR_BATCH_ACTION_LOAD,</td></tr>
+<tr class="codeline" data-linenumber="8861"><td class="num" id="LN8861">8861</td><td class="line"> <span class='macro'>g_strdup (filename)<span class='macro_popup'>g_strdup_inline (filename)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8862"><td class="num" id="LN8862">8862</td><td class="line"> (GFreeFunc) g_free);</td></tr>
+<tr class="codeline" data-linenumber="8863"><td class="num" id="LN8863">8863</td><td class="line"> <span class='keyword'>if</span> (dest_dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="8864"><td class="num" id="LN8864">8864</td><td class="line"> fr_window_append_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="8865"><td class="num" id="LN8865">8865</td><td class="line"> FR_BATCH_ACTION_EXTRACT,</td></tr>
+<tr class="codeline" data-linenumber="8866"><td class="num" id="LN8866">8866</td><td class="line"> extract_to_data_new (dest_dir),</td></tr>
+<tr class="codeline" data-linenumber="8867"><td class="num" id="LN8867">8867</td><td class="line"> (GFreeFunc) extract_data_free);</td></tr>
+<tr class="codeline" data-linenumber="8868"><td class="num" id="LN8868">8868</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="8869"><td class="num" id="LN8869">8869</td><td class="line"> fr_window_append_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="8870"><td class="num" id="LN8870">8870</td><td class="line"> FR_BATCH_ACTION_EXTRACT_INTERACT,</td></tr>
+<tr class="codeline" data-linenumber="8871"><td class="num" id="LN8871">8871</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8872"><td class="num" id="LN8872">8872</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8873"><td class="num" id="LN8873">8873</td><td class="line"> fr_window_append_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="8874"><td class="num" id="LN8874">8874</td><td class="line"> FR_BATCH_ACTION_CLOSE,</td></tr>
+<tr class="codeline" data-linenumber="8875"><td class="num" id="LN8875">8875</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8876"><td class="num" id="LN8876">8876</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8877"><td class="num" id="LN8877">8877</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8878"><td class="num" id="LN8878">8878</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8879"><td class="num" id="LN8879">8879</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8880"><td class="num" id="LN8880">8880</td><td class="line">fr_window_set_batch__add (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8881"><td class="num" id="LN8881">8881</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *archive,</td></tr>
+<tr class="codeline" data-linenumber="8882"><td class="num" id="LN8882">8882</td><td class="line"> GList *file_list)</td></tr>
+<tr class="codeline" data-linenumber="8883"><td class="num" id="LN8883">8883</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8884"><td class="num" id="LN8884">8884</td><td class="line"> window-&gt;priv-&gt;batch_adding_one_file = (file_list-&gt;next == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (uri_is_file (file_list-&gt;data));</td></tr>
+<tr class="codeline" data-linenumber="8885"><td class="num" id="LN8885">8885</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8886"><td class="num" id="LN8886">8886</td><td class="line"> <span class='keyword'>if</span> (archive != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="8887"><td class="num" id="LN8887">8887</td><td class="line"> fr_window_append_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="8888"><td class="num" id="LN8888">8888</td><td class="line"> FR_BATCH_ACTION_LOAD,</td></tr>
+<tr class="codeline" data-linenumber="8889"><td class="num" id="LN8889">8889</td><td class="line"> <span class='macro'>g_strdup (archive)<span class='macro_popup'>g_strdup_inline (archive)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8890"><td class="num" id="LN8890">8890</td><td class="line"> (GFreeFunc) g_free);</td></tr>
+<tr class="codeline" data-linenumber="8891"><td class="num" id="LN8891">8891</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="8892"><td class="num" id="LN8892">8892</td><td class="line"> fr_window_append_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="8893"><td class="num" id="LN8893">8893</td><td class="line"> FR_BATCH_ACTION_OPEN,</td></tr>
+<tr class="codeline" data-linenumber="8894"><td class="num" id="LN8894">8894</td><td class="line"> file_list,</td></tr>
+<tr class="codeline" data-linenumber="8895"><td class="num" id="LN8895">8895</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8896"><td class="num" id="LN8896">8896</td><td class="line"> fr_window_append_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="8897"><td class="num" id="LN8897">8897</td><td class="line"> FR_BATCH_ACTION_ADD,</td></tr>
+<tr class="codeline" data-linenumber="8898"><td class="num" id="LN8898">8898</td><td class="line"> file_list,</td></tr>
+<tr class="codeline" data-linenumber="8899"><td class="num" id="LN8899">8899</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8900"><td class="num" id="LN8900">8900</td><td class="line"> fr_window_append_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="8901"><td class="num" id="LN8901">8901</td><td class="line"> FR_BATCH_ACTION_CLOSE,</td></tr>
+<tr class="codeline" data-linenumber="8902"><td class="num" id="LN8902">8902</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8903"><td class="num" id="LN8903">8903</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8904"><td class="num" id="LN8904">8904</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8905"><td class="num" id="LN8905">8905</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8906"><td class="num" id="LN8906">8906</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8907"><td class="num" id="LN8907">8907</td><td class="line">fr_window_set_close_dialog (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8908"><td class="num" id="LN8908">8908</td><td class="line"> gboolean state)</td></tr>
+<tr class="codeline" data-linenumber="8909"><td class="num" id="LN8909">8909</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8910"><td class="num" id="LN8910">8910</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8911"><td class="num" id="LN8911">8911</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8912"><td class="num" id="LN8912">8912</td><td class="line"> window-&gt;priv-&gt;close_dialog = state;</td></tr>
+<tr class="codeline" data-linenumber="8913"><td class="num" id="LN8913">8913</td><td class="line">}</td></tr>
+</table></body></html>
diff --git a/2024-03-27-012041-5213-1@78903120e74d_master/report-281643.html b/2024-03-27-012041-5213-1@78903120e74d_master/report-281643.html
new file mode 100644
index 0000000..49a70a7
--- /dev/null
+++ b/2024-03-27-012041-5213-1@78903120e74d_master/report-281643.html
@@ -0,0 +1,1776 @@
+<!doctype html>
+<html>
+<head>
+<title>fr-process.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC Value stored to 'ret' is never read -->
+
+<!-- BUGTYPE Dead assignment -->
+
+<!-- BUGCATEGORY Unused code -->
+
+<!-- BUGFILE /rootdir/src/fr-process.c -->
+
+<!-- FILENAME fr-process.c -->
+
+<!-- FUNCTIONNAME fr_close_suspend_process -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT 281643523132d9590c1e9e783893eb63 -->
+
+<!-- BUGLINE 1006 -->
+
+<!-- BUGCOLUMN 13 -->
+
+<!-- BUGPATHLENGTH 1 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>src/fr-process.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 1006, column 13</a><br />Value stored to 'ret' is never read</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name fr-process.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/src -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I .. -I ../mate-submodules/libegg/ -I .. -I .. -D ENGRAMPA_RESOURCE_UI_PATH="/org/mate/Engrampa/ui" -D FR_PREFIX="/usr/local" -D FR_SYSCONFDIR="/usr/local/etc" -D FR_DATADIR="/usr/local/share" -D PRIVDATADIR="/usr/local/share/engrampa/" -D FR_LIBDIR="/usr/local/lib" -D PKG_DATA_DIR="/usr/local/share/engrampa" -D PIXMAPSDIR="/usr/local/share/pixmaps" -D GLADEDIR="" -D LOCALEDIR="/usr/local/share/locale" -D SHDIR="/usr/local/libexec/engrampa/" -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/cairo -I /usr/include/gio-unix-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/libmount -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/fribidi -I /usr/include/sysprof-6 -I /usr/include/libpng16 -I /usr/include/json-glib-1.0 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/libmount -I /usr/include/blkid -I /usr/include/sysprof-6 -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-unused-parameter -fdebug-compilation-dir=/rootdir/src -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2024-03-27-012041-5213-1 -x c fr-process.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"1006": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 0,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"><span class='comment'>/*</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>* Engrampa</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>* Copyright (C) 2001, 2003, 2008 Free Software Foundation, Inc.</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>* This program is free software; you can redistribute it and/or modify</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>* it under the terms of the GNU General Public License as published by</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>* the Free Software Foundation; either version 2 of the License, or</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>* (at your option) any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>* This program is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>* GNU General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>* You should have received a copy of the GNU General Public License</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>* along with this program; if not, write to the Free Software</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> <span class='comment'>* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"><span class='directive'>#include &lt;config.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"><span class='directive'>#include &lt;<span class='macro'>errno<span class='macro_popup'>(*__errno_location ())</span></span>.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"><span class='directive'>#include &lt;fcntl.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#include &lt;stdio.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"><span class='directive'>#include &lt;signal.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"><span class='directive'>#include &lt;stdlib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#include &lt;string.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"><span class='directive'>#include &lt;sys/types.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"><span class='directive'>#include &lt;sys/wait.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"><span class='directive'>#include &lt;unistd.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"><span class='directive'>#include &lt;glib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"><span class='directive'>#include "fr-proc-error.h"</span></td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"><span class='directive'>#include "fr-process.h"</span></td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"><span class='directive'>#include "fr-marshal.h"</span></td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line"><span class='directive'>#include "glib-utils.h"</span></td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"><span class='directive'>#define <span class='macro'>REFRESH_RATE<span class='macro_popup'>20</span></span> 20</span></td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line"><span class='directive'>#define <span class='macro'>BUFFER_SIZE<span class='macro_popup'>16384</span></span> 16384</span></td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"><span class='keyword'>enum</span> {</td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"> START,</td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"> DONE,</td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line"> STICKY_ONLY,</td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line"> LAST_SIGNAL</td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"><span class='keyword'>static</span> GObjectClass *parent_class;</td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line"><span class='keyword'>static</span> guint fr_process_signals[LAST_SIGNAL] = { 0 };</td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> fr_process_class_init (FrProcessClass *class);</td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> fr_process_init (FrProcess *process);</td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> fr_process_finalize (GObject *object);</td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span> {</td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line"> GList *args; <span class='comment'>/* command to execute */</span></td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line"> <span class='keyword'>char</span> *dir; <span class='comment'>/* working directory */</span></td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line"> guint sticky : 1; <span class='comment'>/* whether the command must be</span></td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line"> <span class='comment'>* executed even if a previous</span></td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"> <span class='comment'>* command has failed. */</span></td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line"> guint ignore_error : 1; <span class='comment'>/* whether to continue to execute</span></td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line"> <span class='comment'>* other commands if this command</span></td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"> <span class='comment'>* fails. */</span></td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line"> ContinueFunc continue_func;</td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line"> gpointer continue_data;</td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"> ProcFunc begin_func;</td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"> gpointer begin_data;</td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line"> ProcFunc end_func;</td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line"> gpointer end_data;</td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line">} FrCommandInfo;</td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"><span class='keyword'>static</span> FrCommandInfo *</td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line">fr_command_info_new (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line"> FrCommandInfo *info;</td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"> info = <span class='macro'>g_new0 (FrCommandInfo, 1)<span class='macro_popup'>((FrCommandInfo *) g_malloc0_n ((1), sizeof (FrCommandInfo)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"> info-&gt;args = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line"> info-&gt;dir = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line"> info-&gt;sticky = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"> info-&gt;ignore_error = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"> <span class='keyword'>return</span> info;</td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line">fr_command_info_free (gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line"> FrCommandInfo *info = data;</td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line"> <span class='keyword'>if</span> (info == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> g_list_free_full (info-&gt;args, g_free);</td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"> g_free (info-&gt;dir);</td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"> <span class='macro'>g_clear_pointer (&amp;info, g_free)<span class='macro_popup'>do { _Static_assert (sizeof *(&amp;info) == sizeof (gpointer)<br>, "Expression evaluates to false"); __typeof__ ((&amp;info)) _pp<br> = (&amp;info); __typeof__ (*(&amp;info)) _ptr = *_pp; *_pp =<br> ((void*)0); if (_ptr) (g_free) (_ptr); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line">fr_channel_data_init (FrChannelData *channel)</td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"> channel-&gt;source = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line"> channel-&gt;raw = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"> channel-&gt;status = G_IO_STATUS_NORMAL;</td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line"> channel-&gt;error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line">fr_channel_data_close_source (FrChannelData *channel)</td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line"> <span class='keyword'>if</span> (channel-&gt;source != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line"> g_io_channel_shutdown (channel-&gt;source, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> g_io_channel_unref (channel-&gt;source);</td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line"> channel-&gt;source = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line"><span class='keyword'>static</span> GIOStatus</td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line">fr_channel_data_read (FrChannelData *channel)</td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line"> <span class='keyword'>char</span> *line;</td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"> gsize length;</td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"> gsize terminator_pos;</td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> channel-&gt;status = G_IO_STATUS_NORMAL;</td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"> g_clear_error (&amp;channel-&gt;error);</td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> <span class='keyword'>while</span> ((channel-&gt;status = g_io_channel_read_line (channel-&gt;source,</td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"> &amp;line,</td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"> &amp;length,</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"> &amp;terminator_pos,</td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"> &amp;channel-&gt;error)) == G_IO_STATUS_NORMAL)</td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"> line[terminator_pos] = 0;</td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> channel-&gt;raw = g_list_prepend (channel-&gt;raw, line);</td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line"> <span class='keyword'>if</span> (channel-&gt;line_func != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line"> (*channel-&gt;line_func) (line, channel-&gt;line_data);</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line"> <span class='keyword'>return</span> channel-&gt;status;</td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line"><span class='keyword'>static</span> GIOStatus</td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line">fr_channel_data_flush (FrChannelData *channel)</td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"> GIOStatus status;</td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"> <span class='keyword'>while</span> (((status = fr_channel_data_read (channel)) != G_IO_STATUS_ERROR) &amp;&amp; (status != G_IO_STATUS_EOF))</td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line"> <span class='comment'>/* void */</span>;</td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> fr_channel_data_close_source (channel);</td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"> <span class='keyword'>return</span> status;</td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line">fr_channel_data_reset (FrChannelData *channel)</td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"> fr_channel_data_close_source (channel);</td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> <span class='keyword'>if</span> (channel-&gt;raw != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"> g_list_free_full (channel-&gt;raw, g_free);</td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> channel-&gt;raw = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line">fr_channel_data_free (FrChannelData *channel)</td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"> fr_channel_data_reset (channel);</td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line">fr_channel_data_set_fd (FrChannelData *channel,</td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"> <span class='keyword'>int</span> fd,</td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *charset)</td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> fr_channel_data_reset (channel);</td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"> channel-&gt;source = g_io_channel_unix_new (fd);</td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"> g_io_channel_set_flags (channel-&gt;source, G_IO_FLAG_NONBLOCK, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"> g_io_channel_set_buffer_size (channel-&gt;source, <span class='macro'>BUFFER_SIZE<span class='macro_popup'>16384</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"> <span class='keyword'>if</span> (charset != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line"> g_io_channel_set_encoding (channel-&gt;source, charset, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="185"><td class="num" id="LN185">185</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="186"><td class="num" id="LN186">186</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="187"><td class="num" id="LN187">187</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *try_charsets[] = { <span class='string_literal'>"UTF-8"</span>, <span class='string_literal'>"ISO-8859-1"</span>, <span class='string_literal'>"WINDOW-1252"</span> };</td></tr>
+<tr class="codeline" data-linenumber="188"><td class="num" id="LN188">188</td><td class="line"><span class='keyword'>int</span> n_charsets = <span class='macro'>G_N_ELEMENTS (try_charsets)<span class='macro_popup'>(sizeof (try_charsets) / sizeof ((try_charsets)[0]))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="189"><td class="num" id="LN189">189</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="190"><td class="num" id="LN190">190</td><td class="line"><span class='keyword'>struct</span> _FrProcessPrivate {</td></tr>
+<tr class="codeline" data-linenumber="191"><td class="num" id="LN191">191</td><td class="line"> GPtrArray *comm; <span class='comment'>/* FrCommandInfo elements. */</span></td></tr>
+<tr class="codeline" data-linenumber="192"><td class="num" id="LN192">192</td><td class="line"> gint n_comm; <span class='comment'>/* total number of commands */</span></td></tr>
+<tr class="codeline" data-linenumber="193"><td class="num" id="LN193">193</td><td class="line"> gint current_comm; <span class='comment'>/* currenlty editing command. */</span></td></tr>
+<tr class="codeline" data-linenumber="194"><td class="num" id="LN194">194</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="195"><td class="num" id="LN195">195</td><td class="line"> GPid command_pid;</td></tr>
+<tr class="codeline" data-linenumber="196"><td class="num" id="LN196">196</td><td class="line"> guint check_timeout;</td></tr>
+<tr class="codeline" data-linenumber="197"><td class="num" id="LN197">197</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="198"><td class="num" id="LN198">198</td><td class="line"> FrProcError first_error;</td></tr>
+<tr class="codeline" data-linenumber="199"><td class="num" id="LN199">199</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="200"><td class="num" id="LN200">200</td><td class="line"> gboolean running;</td></tr>
+<tr class="codeline" data-linenumber="201"><td class="num" id="LN201">201</td><td class="line"> gboolean stopping;</td></tr>
+<tr class="codeline" data-linenumber="202"><td class="num" id="LN202">202</td><td class="line"> gboolean suspend;</td></tr>
+<tr class="codeline" data-linenumber="203"><td class="num" id="LN203">203</td><td class="line"> gint current_command;</td></tr>
+<tr class="codeline" data-linenumber="204"><td class="num" id="LN204">204</td><td class="line"> gint error_command; <span class='comment'>/* command that coused an error. */</span></td></tr>
+<tr class="codeline" data-linenumber="205"><td class="num" id="LN205">205</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="206"><td class="num" id="LN206">206</td><td class="line"> gboolean use_standard_locale;</td></tr>
+<tr class="codeline" data-linenumber="207"><td class="num" id="LN207">207</td><td class="line"> gboolean sticky_only; <span class='comment'>/* whether to execute only sticky</span></td></tr>
+<tr class="codeline" data-linenumber="208"><td class="num" id="LN208">208</td><td class="line"> <span class='comment'>* commands. */</span></td></tr>
+<tr class="codeline" data-linenumber="209"><td class="num" id="LN209">209</td><td class="line"> <span class='keyword'>int</span> current_charset;</td></tr>
+<tr class="codeline" data-linenumber="210"><td class="num" id="LN210">210</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="211"><td class="num" id="LN211">211</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="212"><td class="num" id="LN212">212</td><td class="line">GType</td></tr>
+<tr class="codeline" data-linenumber="213"><td class="num" id="LN213">213</td><td class="line">fr_process_get_type (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="214"><td class="num" id="LN214">214</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="215"><td class="num" id="LN215">215</td><td class="line"> <span class='keyword'>static</span> GType type = 0;</td></tr>
+<tr class="codeline" data-linenumber="216"><td class="num" id="LN216">216</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="217"><td class="num" id="LN217">217</td><td class="line"> <span class='keyword'>if</span> (! type) {</td></tr>
+<tr class="codeline" data-linenumber="218"><td class="num" id="LN218">218</td><td class="line"> GTypeInfo type_info = {</td></tr>
+<tr class="codeline" data-linenumber="219"><td class="num" id="LN219">219</td><td class="line"> <span class='keyword'>sizeof</span> (FrProcessClass),</td></tr>
+<tr class="codeline" data-linenumber="220"><td class="num" id="LN220">220</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="221"><td class="num" id="LN221">221</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="222"><td class="num" id="LN222">222</td><td class="line"> (GClassInitFunc) fr_process_class_init,</td></tr>
+<tr class="codeline" data-linenumber="223"><td class="num" id="LN223">223</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="224"><td class="num" id="LN224">224</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="225"><td class="num" id="LN225">225</td><td class="line"> <span class='keyword'>sizeof</span> (FrProcess),</td></tr>
+<tr class="codeline" data-linenumber="226"><td class="num" id="LN226">226</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="227"><td class="num" id="LN227">227</td><td class="line"> (GInstanceInitFunc) fr_process_init,</td></tr>
+<tr class="codeline" data-linenumber="228"><td class="num" id="LN228">228</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="229"><td class="num" id="LN229">229</td><td class="line"> };</td></tr>
+<tr class="codeline" data-linenumber="230"><td class="num" id="LN230">230</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="231"><td class="num" id="LN231">231</td><td class="line"> type = g_type_register_static (<span class='macro'>G_TYPE_OBJECT<span class='macro_popup'>((GType) ((20) &lt;&lt; (2)))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="232"><td class="num" id="LN232">232</td><td class="line"> <span class='string_literal'>"FRProcess"</span>,</td></tr>
+<tr class="codeline" data-linenumber="233"><td class="num" id="LN233">233</td><td class="line"> &amp;type_info,</td></tr>
+<tr class="codeline" data-linenumber="234"><td class="num" id="LN234">234</td><td class="line"> 0);</td></tr>
+<tr class="codeline" data-linenumber="235"><td class="num" id="LN235">235</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="236"><td class="num" id="LN236">236</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="237"><td class="num" id="LN237">237</td><td class="line"> <span class='keyword'>return</span> type;</td></tr>
+<tr class="codeline" data-linenumber="238"><td class="num" id="LN238">238</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="239"><td class="num" id="LN239">239</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="240"><td class="num" id="LN240">240</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="241"><td class="num" id="LN241">241</td><td class="line">fr_process_class_init (FrProcessClass *class)</td></tr>
+<tr class="codeline" data-linenumber="242"><td class="num" id="LN242">242</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="243"><td class="num" id="LN243">243</td><td class="line"> GObjectClass *gobject_class = <span class='macro'>G_OBJECT_CLASS (class)<span class='macro_popup'>((((GObjectClass*) (void *) g_type_check_class_cast ((GTypeClass<br>*) ((class)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="244"><td class="num" id="LN244">244</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="245"><td class="num" id="LN245">245</td><td class="line"> parent_class = g_type_class_peek_parent (class);</td></tr>
+<tr class="codeline" data-linenumber="246"><td class="num" id="LN246">246</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="247"><td class="num" id="LN247">247</td><td class="line"> fr_process_signals[START] =</td></tr>
+<tr class="codeline" data-linenumber="248"><td class="num" id="LN248">248</td><td class="line"> g_signal_new (<span class='string_literal'>"start"</span>,</td></tr>
+<tr class="codeline" data-linenumber="249"><td class="num" id="LN249">249</td><td class="line"> <span class='macro'>G_TYPE_FROM_CLASS (class)<span class='macro_popup'>(((GTypeClass*) (class))-&gt;g_type)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="250"><td class="num" id="LN250">250</td><td class="line"> G_SIGNAL_RUN_LAST,</td></tr>
+<tr class="codeline" data-linenumber="251"><td class="num" id="LN251">251</td><td class="line"> <span class='macro'>G_STRUCT_OFFSET (FrProcessClass, start)<span class='macro_popup'>((glong) __builtin_offsetof(FrProcessClass, start))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="252"><td class="num" id="LN252">252</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="253"><td class="num" id="LN253">253</td><td class="line"> <span class='macro'>fr_marshal_VOID__VOID<span class='macro_popup'>g_cclosure_marshal_VOID__VOID</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="254"><td class="num" id="LN254">254</td><td class="line"> <span class='macro'>G_TYPE_NONE<span class='macro_popup'>((GType) ((1) &lt;&lt; (2)))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="255"><td class="num" id="LN255">255</td><td class="line"> fr_process_signals[DONE] =</td></tr>
+<tr class="codeline" data-linenumber="256"><td class="num" id="LN256">256</td><td class="line"> g_signal_new (<span class='string_literal'>"done"</span>,</td></tr>
+<tr class="codeline" data-linenumber="257"><td class="num" id="LN257">257</td><td class="line"> <span class='macro'>G_TYPE_FROM_CLASS (class)<span class='macro_popup'>(((GTypeClass*) (class))-&gt;g_type)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="258"><td class="num" id="LN258">258</td><td class="line"> G_SIGNAL_RUN_LAST,</td></tr>
+<tr class="codeline" data-linenumber="259"><td class="num" id="LN259">259</td><td class="line"> <span class='macro'>G_STRUCT_OFFSET (FrProcessClass, done)<span class='macro_popup'>((glong) __builtin_offsetof(FrProcessClass, done))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="260"><td class="num" id="LN260">260</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="261"><td class="num" id="LN261">261</td><td class="line"> <span class='macro'>fr_marshal_VOID__BOXED<span class='macro_popup'>g_cclosure_marshal_VOID__BOXED</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="262"><td class="num" id="LN262">262</td><td class="line"> <span class='macro'>G_TYPE_NONE<span class='macro_popup'>((GType) ((1) &lt;&lt; (2)))</span></span>, 1,</td></tr>
+<tr class="codeline" data-linenumber="263"><td class="num" id="LN263">263</td><td class="line"> <span class='macro'>FR_TYPE_PROC_ERROR<span class='macro_popup'>(fr_proc_error_get_type ())</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="264"><td class="num" id="LN264">264</td><td class="line"> fr_process_signals[STICKY_ONLY] =</td></tr>
+<tr class="codeline" data-linenumber="265"><td class="num" id="LN265">265</td><td class="line"> g_signal_new (<span class='string_literal'>"sticky_only"</span>,</td></tr>
+<tr class="codeline" data-linenumber="266"><td class="num" id="LN266">266</td><td class="line"> <span class='macro'>G_TYPE_FROM_CLASS (class)<span class='macro_popup'>(((GTypeClass*) (class))-&gt;g_type)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="267"><td class="num" id="LN267">267</td><td class="line"> G_SIGNAL_RUN_LAST,</td></tr>
+<tr class="codeline" data-linenumber="268"><td class="num" id="LN268">268</td><td class="line"> <span class='macro'>G_STRUCT_OFFSET (FrProcessClass, sticky_only)<span class='macro_popup'>((glong) __builtin_offsetof(FrProcessClass, sticky_only))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="269"><td class="num" id="LN269">269</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="270"><td class="num" id="LN270">270</td><td class="line"> <span class='macro'>fr_marshal_VOID__VOID<span class='macro_popup'>g_cclosure_marshal_VOID__VOID</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="271"><td class="num" id="LN271">271</td><td class="line"> <span class='macro'>G_TYPE_NONE<span class='macro_popup'>((GType) ((1) &lt;&lt; (2)))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="272"><td class="num" id="LN272">272</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="273"><td class="num" id="LN273">273</td><td class="line"> gobject_class-&gt;finalize = fr_process_finalize;</td></tr>
+<tr class="codeline" data-linenumber="274"><td class="num" id="LN274">274</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="275"><td class="num" id="LN275">275</td><td class="line"> class-&gt;start = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="276"><td class="num" id="LN276">276</td><td class="line"> class-&gt;done = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="277"><td class="num" id="LN277">277</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="278"><td class="num" id="LN278">278</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="279"><td class="num" id="LN279">279</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="280"><td class="num" id="LN280">280</td><td class="line">fr_process_init (FrProcess *process)</td></tr>
+<tr class="codeline" data-linenumber="281"><td class="num" id="LN281">281</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="282"><td class="num" id="LN282">282</td><td class="line"> process-&gt;priv = <span class='macro'>g_new0 (FrProcessPrivate, 1)<span class='macro_popup'>((FrProcessPrivate *) g_malloc0_n ((1), sizeof (FrProcessPrivate<br>)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="283"><td class="num" id="LN283">283</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="284"><td class="num" id="LN284">284</td><td class="line"> process-&gt;term_on_stop = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="285"><td class="num" id="LN285">285</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="286"><td class="num" id="LN286">286</td><td class="line"> process-&gt;priv-&gt;comm = g_ptr_array_new_with_free_func (fr_command_info_free);</td></tr>
+<tr class="codeline" data-linenumber="287"><td class="num" id="LN287">287</td><td class="line"> process-&gt;priv-&gt;n_comm = -1;</td></tr>
+<tr class="codeline" data-linenumber="288"><td class="num" id="LN288">288</td><td class="line"> process-&gt;priv-&gt;current_comm = -1;</td></tr>
+<tr class="codeline" data-linenumber="289"><td class="num" id="LN289">289</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="290"><td class="num" id="LN290">290</td><td class="line"> process-&gt;priv-&gt;command_pid = 0;</td></tr>
+<tr class="codeline" data-linenumber="291"><td class="num" id="LN291">291</td><td class="line"> fr_channel_data_init (&amp;process-&gt;out);</td></tr>
+<tr class="codeline" data-linenumber="292"><td class="num" id="LN292">292</td><td class="line"> fr_channel_data_init (&amp;process-&gt;err);</td></tr>
+<tr class="codeline" data-linenumber="293"><td class="num" id="LN293">293</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="294"><td class="num" id="LN294">294</td><td class="line"> process-&gt;error.gerror = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="295"><td class="num" id="LN295">295</td><td class="line"> process-&gt;priv-&gt;first_error.gerror = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="296"><td class="num" id="LN296">296</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="297"><td class="num" id="LN297">297</td><td class="line"> process-&gt;priv-&gt;check_timeout = 0;</td></tr>
+<tr class="codeline" data-linenumber="298"><td class="num" id="LN298">298</td><td class="line"> process-&gt;priv-&gt;running = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="299"><td class="num" id="LN299">299</td><td class="line"> process-&gt;priv-&gt;stopping = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="300"><td class="num" id="LN300">300</td><td class="line"> process-&gt;restart = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="301"><td class="num" id="LN301">301</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="302"><td class="num" id="LN302">302</td><td class="line"> process-&gt;priv-&gt;current_charset = -1;</td></tr>
+<tr class="codeline" data-linenumber="303"><td class="num" id="LN303">303</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="304"><td class="num" id="LN304">304</td><td class="line"> process-&gt;priv-&gt;use_standard_locale = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="305"><td class="num" id="LN305">305</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="306"><td class="num" id="LN306">306</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="307"><td class="num" id="LN307">307</td><td class="line">FrProcess *</td></tr>
+<tr class="codeline" data-linenumber="308"><td class="num" id="LN308">308</td><td class="line">fr_process_new (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="309"><td class="num" id="LN309">309</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="310"><td class="num" id="LN310">310</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FR_PROCESS (g_object_new (FR_TYPE_PROCESS, NULL))<span class='macro_popup'>((((FrProcess*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((fr_process_get_type ()), ((void*)0)))), (<br>(fr_process_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="311"><td class="num" id="LN311">311</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="312"><td class="num" id="LN312">312</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="313"><td class="num" id="LN313">313</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> fr_process_stop_priv (FrProcess *process, gboolean emit_signal);</td></tr>
+<tr class="codeline" data-linenumber="314"><td class="num" id="LN314">314</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span> fr_switch_process_state (FrProcess *process);</td></tr>
+<tr class="codeline" data-linenumber="315"><td class="num" id="LN315">315</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="316"><td class="num" id="LN316">316</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="317"><td class="num" id="LN317">317</td><td class="line">fr_process_finalize (GObject *object)</td></tr>
+<tr class="codeline" data-linenumber="318"><td class="num" id="LN318">318</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="319"><td class="num" id="LN319">319</td><td class="line"> FrProcess *process;</td></tr>
+<tr class="codeline" data-linenumber="320"><td class="num" id="LN320">320</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="321"><td class="num" id="LN321">321</td><td class="line"> <span class='macro'>g_return_if_fail (object != NULL)<span class='macro_popup'>do { if ((object != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "object != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="322"><td class="num" id="LN322">322</td><td class="line"> <span class='macro'>g_return_if_fail (FR_IS_PROCESS (object))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((object)); GType __t = ((fr_process_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning (((gchar*) 0), ((const char*<br>) (__func__)), "FR_IS_PROCESS (object)"); return; } } while (<br>0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="323"><td class="num" id="LN323">323</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="324"><td class="num" id="LN324">324</td><td class="line"> process = <span class='macro'>FR_PROCESS (object)<span class='macro_popup'>((((FrProcess*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((object)), ((fr_process_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="325"><td class="num" id="LN325">325</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="326"><td class="num" id="LN326">326</td><td class="line"> fr_process_stop_priv (process, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="327"><td class="num" id="LN327">327</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="328"><td class="num" id="LN328">328</td><td class="line"> g_ptr_array_free (process-&gt;priv-&gt;comm, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="329"><td class="num" id="LN329">329</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="330"><td class="num" id="LN330">330</td><td class="line"> fr_channel_data_free (&amp;process-&gt;out);</td></tr>
+<tr class="codeline" data-linenumber="331"><td class="num" id="LN331">331</td><td class="line"> fr_channel_data_free (&amp;process-&gt;err);</td></tr>
+<tr class="codeline" data-linenumber="332"><td class="num" id="LN332">332</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="333"><td class="num" id="LN333">333</td><td class="line"> g_clear_error (&amp;process-&gt;error.gerror);</td></tr>
+<tr class="codeline" data-linenumber="334"><td class="num" id="LN334">334</td><td class="line"> g_clear_error (&amp;process-&gt;priv-&gt;first_error.gerror);</td></tr>
+<tr class="codeline" data-linenumber="335"><td class="num" id="LN335">335</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="336"><td class="num" id="LN336">336</td><td class="line"> g_free (process-&gt;priv);</td></tr>
+<tr class="codeline" data-linenumber="337"><td class="num" id="LN337">337</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="338"><td class="num" id="LN338">338</td><td class="line"> <span class='comment'>/* Chain up */</span></td></tr>
+<tr class="codeline" data-linenumber="339"><td class="num" id="LN339">339</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="340"><td class="num" id="LN340">340</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>G_OBJECT_CLASS (parent_class)<span class='macro_popup'>((((GObjectClass*) (void *) g_type_check_class_cast ((GTypeClass<br>*) ((parent_class)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>-&gt;finalize)</td></tr>
+<tr class="codeline" data-linenumber="341"><td class="num" id="LN341">341</td><td class="line"> <span class='macro'>G_OBJECT_CLASS (parent_class)<span class='macro_popup'>((((GObjectClass*) (void *) g_type_check_class_cast ((GTypeClass<br>*) ((parent_class)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>-&gt;finalize (object);</td></tr>
+<tr class="codeline" data-linenumber="342"><td class="num" id="LN342">342</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="343"><td class="num" id="LN343">343</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="344"><td class="num" id="LN344">344</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="345"><td class="num" id="LN345">345</td><td class="line">fr_process_begin_command (FrProcess *process,</td></tr>
+<tr class="codeline" data-linenumber="346"><td class="num" id="LN346">346</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *arg)</td></tr>
+<tr class="codeline" data-linenumber="347"><td class="num" id="LN347">347</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="348"><td class="num" id="LN348">348</td><td class="line"> FrCommandInfo *info;</td></tr>
+<tr class="codeline" data-linenumber="349"><td class="num" id="LN349">349</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="350"><td class="num" id="LN350">350</td><td class="line"> <span class='macro'>g_return_if_fail (process != NULL)<span class='macro_popup'>do { if ((process != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "process != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="351"><td class="num" id="LN351">351</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="352"><td class="num" id="LN352">352</td><td class="line"> info = fr_command_info_new ();</td></tr>
+<tr class="codeline" data-linenumber="353"><td class="num" id="LN353">353</td><td class="line"> info-&gt;args = g_list_prepend (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>g_strdup (arg)<span class='macro_popup'>g_strdup_inline (arg)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="354"><td class="num" id="LN354">354</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="355"><td class="num" id="LN355">355</td><td class="line"> g_ptr_array_add (process-&gt;priv-&gt;comm, info);</td></tr>
+<tr class="codeline" data-linenumber="356"><td class="num" id="LN356">356</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="357"><td class="num" id="LN357">357</td><td class="line"> process-&gt;priv-&gt;n_comm++;</td></tr>
+<tr class="codeline" data-linenumber="358"><td class="num" id="LN358">358</td><td class="line"> process-&gt;priv-&gt;current_comm = process-&gt;priv-&gt;n_comm;</td></tr>
+<tr class="codeline" data-linenumber="359"><td class="num" id="LN359">359</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="360"><td class="num" id="LN360">360</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="361"><td class="num" id="LN361">361</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="362"><td class="num" id="LN362">362</td><td class="line">fr_process_begin_command_at (FrProcess *process,</td></tr>
+<tr class="codeline" data-linenumber="363"><td class="num" id="LN363">363</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *arg,</td></tr>
+<tr class="codeline" data-linenumber="364"><td class="num" id="LN364">364</td><td class="line"> <span class='keyword'>int</span> index)</td></tr>
+<tr class="codeline" data-linenumber="365"><td class="num" id="LN365">365</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="366"><td class="num" id="LN366">366</td><td class="line"> FrCommandInfo *info, *old_c_info;</td></tr>
+<tr class="codeline" data-linenumber="367"><td class="num" id="LN367">367</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="368"><td class="num" id="LN368">368</td><td class="line"> <span class='macro'>g_return_if_fail (process != NULL)<span class='macro_popup'>do { if ((process != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "process != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="369"><td class="num" id="LN369">369</td><td class="line"> <span class='macro'>g_return_if_fail (index &gt;= 0 &amp;&amp; index &lt;= process-&gt;priv-&gt;n_comm)<span class='macro_popup'>do { if ((index &gt;= 0 &amp;&amp; index &lt;= process-&gt;priv<br>-&gt;n_comm)) { } else { g_return_if_fail_warning (((gchar*) 0<br>), ((const char*) (__func__)), "index &gt;= 0 &amp;&amp; index &lt;= process-&gt;priv-&gt;n_comm"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="370"><td class="num" id="LN370">370</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="371"><td class="num" id="LN371">371</td><td class="line"> process-&gt;priv-&gt;current_comm = index;</td></tr>
+<tr class="codeline" data-linenumber="372"><td class="num" id="LN372">372</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="373"><td class="num" id="LN373">373</td><td class="line"> old_c_info = <span class='macro'>g_ptr_array_index (process-&gt;priv-&gt;comm, index)<span class='macro_popup'>((process-&gt;priv-&gt;comm)-&gt;pdata)[index]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="374"><td class="num" id="LN374">374</td><td class="line"> fr_command_info_free (old_c_info);</td></tr>
+<tr class="codeline" data-linenumber="375"><td class="num" id="LN375">375</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="376"><td class="num" id="LN376">376</td><td class="line"> info = fr_command_info_new ();</td></tr>
+<tr class="codeline" data-linenumber="377"><td class="num" id="LN377">377</td><td class="line"> info-&gt;args = g_list_prepend (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>g_strdup (arg)<span class='macro_popup'>g_strdup_inline (arg)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="378"><td class="num" id="LN378">378</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="379"><td class="num" id="LN379">379</td><td class="line"> <span class='macro'>g_ptr_array_index (process-&gt;priv-&gt;comm, index)<span class='macro_popup'>((process-&gt;priv-&gt;comm)-&gt;pdata)[index]</span></span> = info;</td></tr>
+<tr class="codeline" data-linenumber="380"><td class="num" id="LN380">380</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="381"><td class="num" id="LN381">381</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="382"><td class="num" id="LN382">382</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="383"><td class="num" id="LN383">383</td><td class="line">fr_process_set_working_dir (FrProcess *process,</td></tr>
+<tr class="codeline" data-linenumber="384"><td class="num" id="LN384">384</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *dir)</td></tr>
+<tr class="codeline" data-linenumber="385"><td class="num" id="LN385">385</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="386"><td class="num" id="LN386">386</td><td class="line"> FrCommandInfo *info;</td></tr>
+<tr class="codeline" data-linenumber="387"><td class="num" id="LN387">387</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="388"><td class="num" id="LN388">388</td><td class="line"> <span class='macro'>g_return_if_fail (process != NULL)<span class='macro_popup'>do { if ((process != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "process != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="389"><td class="num" id="LN389">389</td><td class="line"> <span class='macro'>g_return_if_fail (process-&gt;priv-&gt;current_comm &gt;= 0)<span class='macro_popup'>do { if ((process-&gt;priv-&gt;current_comm &gt;= 0)) { } else<br> { g_return_if_fail_warning (((gchar*) 0), ((const char*) (__func__<br>)), "process-&gt;priv-&gt;current_comm &gt;= 0"); return; } }<br> while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="390"><td class="num" id="LN390">390</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="391"><td class="num" id="LN391">391</td><td class="line"> info = <span class='macro'>g_ptr_array_index (process-&gt;priv-&gt;comm, process-&gt;priv-&gt;current_comm)<span class='macro_popup'>((process-&gt;priv-&gt;comm)-&gt;pdata)[process-&gt;priv-&gt;<br>current_comm]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="392"><td class="num" id="LN392">392</td><td class="line"> <span class='keyword'>if</span> (info-&gt;dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="393"><td class="num" id="LN393">393</td><td class="line"> g_free (info-&gt;dir);</td></tr>
+<tr class="codeline" data-linenumber="394"><td class="num" id="LN394">394</td><td class="line"> info-&gt;dir = <span class='macro'>g_strdup (dir)<span class='macro_popup'>g_strdup_inline (dir)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="395"><td class="num" id="LN395">395</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="396"><td class="num" id="LN396">396</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="397"><td class="num" id="LN397">397</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="398"><td class="num" id="LN398">398</td><td class="line">fr_process_set_sticky (FrProcess *process,</td></tr>
+<tr class="codeline" data-linenumber="399"><td class="num" id="LN399">399</td><td class="line"> gboolean sticky)</td></tr>
+<tr class="codeline" data-linenumber="400"><td class="num" id="LN400">400</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="401"><td class="num" id="LN401">401</td><td class="line"> FrCommandInfo *info;</td></tr>
+<tr class="codeline" data-linenumber="402"><td class="num" id="LN402">402</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="403"><td class="num" id="LN403">403</td><td class="line"> <span class='macro'>g_return_if_fail (process != NULL)<span class='macro_popup'>do { if ((process != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "process != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="404"><td class="num" id="LN404">404</td><td class="line"> <span class='macro'>g_return_if_fail (process-&gt;priv-&gt;current_comm &gt;= 0)<span class='macro_popup'>do { if ((process-&gt;priv-&gt;current_comm &gt;= 0)) { } else<br> { g_return_if_fail_warning (((gchar*) 0), ((const char*) (__func__<br>)), "process-&gt;priv-&gt;current_comm &gt;= 0"); return; } }<br> while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="405"><td class="num" id="LN405">405</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="406"><td class="num" id="LN406">406</td><td class="line"> info = <span class='macro'>g_ptr_array_index (process-&gt;priv-&gt;comm, process-&gt;priv-&gt;current_comm)<span class='macro_popup'>((process-&gt;priv-&gt;comm)-&gt;pdata)[process-&gt;priv-&gt;<br>current_comm]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="407"><td class="num" id="LN407">407</td><td class="line"> info-&gt;sticky = (sticky != <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="408"><td class="num" id="LN408">408</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="409"><td class="num" id="LN409">409</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="410"><td class="num" id="LN410">410</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="411"><td class="num" id="LN411">411</td><td class="line">fr_process_set_ignore_error (FrProcess *process,</td></tr>
+<tr class="codeline" data-linenumber="412"><td class="num" id="LN412">412</td><td class="line"> gboolean ignore_error)</td></tr>
+<tr class="codeline" data-linenumber="413"><td class="num" id="LN413">413</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="414"><td class="num" id="LN414">414</td><td class="line"> FrCommandInfo *info;</td></tr>
+<tr class="codeline" data-linenumber="415"><td class="num" id="LN415">415</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="416"><td class="num" id="LN416">416</td><td class="line"> <span class='macro'>g_return_if_fail (process != NULL)<span class='macro_popup'>do { if ((process != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "process != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="417"><td class="num" id="LN417">417</td><td class="line"> <span class='macro'>g_return_if_fail (process-&gt;priv-&gt;current_comm &gt;= 0)<span class='macro_popup'>do { if ((process-&gt;priv-&gt;current_comm &gt;= 0)) { } else<br> { g_return_if_fail_warning (((gchar*) 0), ((const char*) (__func__<br>)), "process-&gt;priv-&gt;current_comm &gt;= 0"); return; } }<br> while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="418"><td class="num" id="LN418">418</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="419"><td class="num" id="LN419">419</td><td class="line"> info = <span class='macro'>g_ptr_array_index (process-&gt;priv-&gt;comm, process-&gt;priv-&gt;current_comm)<span class='macro_popup'>((process-&gt;priv-&gt;comm)-&gt;pdata)[process-&gt;priv-&gt;<br>current_comm]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="420"><td class="num" id="LN420">420</td><td class="line"> info-&gt;ignore_error = (ignore_error != <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="421"><td class="num" id="LN421">421</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="422"><td class="num" id="LN422">422</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="423"><td class="num" id="LN423">423</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="424"><td class="num" id="LN424">424</td><td class="line">fr_process_add_arg (FrProcess *process,</td></tr>
+<tr class="codeline" data-linenumber="425"><td class="num" id="LN425">425</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *arg)</td></tr>
+<tr class="codeline" data-linenumber="426"><td class="num" id="LN426">426</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="427"><td class="num" id="LN427">427</td><td class="line"> FrCommandInfo *info;</td></tr>
+<tr class="codeline" data-linenumber="428"><td class="num" id="LN428">428</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="429"><td class="num" id="LN429">429</td><td class="line"> <span class='macro'>g_return_if_fail (process != NULL)<span class='macro_popup'>do { if ((process != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "process != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="430"><td class="num" id="LN430">430</td><td class="line"> <span class='macro'>g_return_if_fail (process-&gt;priv-&gt;current_comm &gt;= 0)<span class='macro_popup'>do { if ((process-&gt;priv-&gt;current_comm &gt;= 0)) { } else<br> { g_return_if_fail_warning (((gchar*) 0), ((const char*) (__func__<br>)), "process-&gt;priv-&gt;current_comm &gt;= 0"); return; } }<br> while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="431"><td class="num" id="LN431">431</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="432"><td class="num" id="LN432">432</td><td class="line"> info = <span class='macro'>g_ptr_array_index (process-&gt;priv-&gt;comm, process-&gt;priv-&gt;current_comm)<span class='macro_popup'>((process-&gt;priv-&gt;comm)-&gt;pdata)[process-&gt;priv-&gt;<br>current_comm]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="433"><td class="num" id="LN433">433</td><td class="line"> info-&gt;args = g_list_prepend (info-&gt;args, <span class='macro'>g_strdup (arg)<span class='macro_popup'>g_strdup_inline (arg)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="434"><td class="num" id="LN434">434</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="435"><td class="num" id="LN435">435</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="436"><td class="num" id="LN436">436</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="437"><td class="num" id="LN437">437</td><td class="line">fr_process_add_arg_concat (FrProcess *process,</td></tr>
+<tr class="codeline" data-linenumber="438"><td class="num" id="LN438">438</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *arg1,</td></tr>
+<tr class="codeline" data-linenumber="439"><td class="num" id="LN439">439</td><td class="line"> ...)</td></tr>
+<tr class="codeline" data-linenumber="440"><td class="num" id="LN440">440</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="441"><td class="num" id="LN441">441</td><td class="line"> GString *arg;</td></tr>
+<tr class="codeline" data-linenumber="442"><td class="num" id="LN442">442</td><td class="line"> va_list args;</td></tr>
+<tr class="codeline" data-linenumber="443"><td class="num" id="LN443">443</td><td class="line"> <span class='keyword'>char</span> *s;</td></tr>
+<tr class="codeline" data-linenumber="444"><td class="num" id="LN444">444</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="445"><td class="num" id="LN445">445</td><td class="line"> arg = g_string_new (arg1);</td></tr>
+<tr class="codeline" data-linenumber="446"><td class="num" id="LN446">446</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="447"><td class="num" id="LN447">447</td><td class="line"> <span class='macro'>va_start (args, arg1)<span class='macro_popup'>__builtin_va_start(args, arg1)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="448"><td class="num" id="LN448">448</td><td class="line"> <span class='keyword'>while</span> ((s = <span class='macro'>va_arg (args, <span class='keyword'>char</span>*)<span class='macro_popup'>__builtin_va_arg(args, char*)</span></span>) != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="449"><td class="num" id="LN449">449</td><td class="line"> <span class='macro'>g_string_append (arg, s)<span class='macro_popup'>(__builtin_constant_p (s) ? __extension__ ({ const char * const<br> __val = (s); g_string_append_len_inline (arg, __val, (__val !=<br> ((void*)0)) ? (gssize) strlen (((__val) + !(__val))) : (gssize<br>) -1); }) : g_string_append_len_inline (arg, s, (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="450"><td class="num" id="LN450">450</td><td class="line"> <span class='macro'>va_end (args)<span class='macro_popup'>__builtin_va_end(args)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="451"><td class="num" id="LN451">451</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="452"><td class="num" id="LN452">452</td><td class="line"> fr_process_add_arg (process, arg-&gt;str);</td></tr>
+<tr class="codeline" data-linenumber="453"><td class="num" id="LN453">453</td><td class="line"> <span class='macro'>g_string_free (arg, TRUE)<span class='macro_popup'>(__builtin_constant_p ((!(0))) ? (((!(0))) ? (g_string_free) (<br>(arg), ((!(0)))) : g_string_free_and_steal (arg)) : (g_string_free<br>) ((arg), ((!(0)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="454"><td class="num" id="LN454">454</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="455"><td class="num" id="LN455">455</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="456"><td class="num" id="LN456">456</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="457"><td class="num" id="LN457">457</td><td class="line">fr_process_add_arg_printf (FrProcess *fr_proc,</td></tr>
+<tr class="codeline" data-linenumber="458"><td class="num" id="LN458">458</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *format,</td></tr>
+<tr class="codeline" data-linenumber="459"><td class="num" id="LN459">459</td><td class="line"> ...)</td></tr>
+<tr class="codeline" data-linenumber="460"><td class="num" id="LN460">460</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="461"><td class="num" id="LN461">461</td><td class="line"> va_list args;</td></tr>
+<tr class="codeline" data-linenumber="462"><td class="num" id="LN462">462</td><td class="line"> <span class='keyword'>char</span> *arg;</td></tr>
+<tr class="codeline" data-linenumber="463"><td class="num" id="LN463">463</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="464"><td class="num" id="LN464">464</td><td class="line"> <span class='macro'>va_start (args, format)<span class='macro_popup'>__builtin_va_start(args, format)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="465"><td class="num" id="LN465">465</td><td class="line"> arg = g_strdup_vprintf (format, args);</td></tr>
+<tr class="codeline" data-linenumber="466"><td class="num" id="LN466">466</td><td class="line"> <span class='macro'>va_end (args)<span class='macro_popup'>__builtin_va_end(args)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="467"><td class="num" id="LN467">467</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="468"><td class="num" id="LN468">468</td><td class="line"> fr_process_add_arg (fr_proc, arg);</td></tr>
+<tr class="codeline" data-linenumber="469"><td class="num" id="LN469">469</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="470"><td class="num" id="LN470">470</td><td class="line"> g_free (arg);</td></tr>
+<tr class="codeline" data-linenumber="471"><td class="num" id="LN471">471</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="472"><td class="num" id="LN472">472</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="473"><td class="num" id="LN473">473</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="474"><td class="num" id="LN474">474</td><td class="line">fr_process_set_arg_at (FrProcess *process,</td></tr>
+<tr class="codeline" data-linenumber="475"><td class="num" id="LN475">475</td><td class="line"> <span class='keyword'>int</span> n_comm,</td></tr>
+<tr class="codeline" data-linenumber="476"><td class="num" id="LN476">476</td><td class="line"> <span class='keyword'>int</span> n_arg,</td></tr>
+<tr class="codeline" data-linenumber="477"><td class="num" id="LN477">477</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *arg_value)</td></tr>
+<tr class="codeline" data-linenumber="478"><td class="num" id="LN478">478</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="479"><td class="num" id="LN479">479</td><td class="line"> FrCommandInfo *info;</td></tr>
+<tr class="codeline" data-linenumber="480"><td class="num" id="LN480">480</td><td class="line"> GList *arg;</td></tr>
+<tr class="codeline" data-linenumber="481"><td class="num" id="LN481">481</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="482"><td class="num" id="LN482">482</td><td class="line"> <span class='macro'>g_return_if_fail (process != NULL)<span class='macro_popup'>do { if ((process != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "process != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="483"><td class="num" id="LN483">483</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="484"><td class="num" id="LN484">484</td><td class="line"> info = <span class='macro'>g_ptr_array_index (process-&gt;priv-&gt;comm, n_comm)<span class='macro_popup'>((process-&gt;priv-&gt;comm)-&gt;pdata)[n_comm]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="485"><td class="num" id="LN485">485</td><td class="line"> arg = g_list_nth (info-&gt;args, n_arg);</td></tr>
+<tr class="codeline" data-linenumber="486"><td class="num" id="LN486">486</td><td class="line"> <span class='macro'>g_return_if_fail (arg != NULL)<span class='macro_popup'>do { if ((arg != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "arg != NULL"); return<br>; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="487"><td class="num" id="LN487">487</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="488"><td class="num" id="LN488">488</td><td class="line"> g_free (arg-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="489"><td class="num" id="LN489">489</td><td class="line"> arg-&gt;data = <span class='macro'>g_strdup (arg_value)<span class='macro_popup'>g_strdup_inline (arg_value)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="490"><td class="num" id="LN490">490</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="491"><td class="num" id="LN491">491</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="492"><td class="num" id="LN492">492</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="493"><td class="num" id="LN493">493</td><td class="line">fr_process_set_begin_func (FrProcess *process,</td></tr>
+<tr class="codeline" data-linenumber="494"><td class="num" id="LN494">494</td><td class="line"> ProcFunc func,</td></tr>
+<tr class="codeline" data-linenumber="495"><td class="num" id="LN495">495</td><td class="line"> gpointer func_data)</td></tr>
+<tr class="codeline" data-linenumber="496"><td class="num" id="LN496">496</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="497"><td class="num" id="LN497">497</td><td class="line"> FrCommandInfo *info;</td></tr>
+<tr class="codeline" data-linenumber="498"><td class="num" id="LN498">498</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="499"><td class="num" id="LN499">499</td><td class="line"> <span class='macro'>g_return_if_fail (process != NULL)<span class='macro_popup'>do { if ((process != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "process != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="500"><td class="num" id="LN500">500</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="501"><td class="num" id="LN501">501</td><td class="line"> info = <span class='macro'>g_ptr_array_index (process-&gt;priv-&gt;comm, process-&gt;priv-&gt;current_comm)<span class='macro_popup'>((process-&gt;priv-&gt;comm)-&gt;pdata)[process-&gt;priv-&gt;<br>current_comm]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="502"><td class="num" id="LN502">502</td><td class="line"> info-&gt;begin_func = func;</td></tr>
+<tr class="codeline" data-linenumber="503"><td class="num" id="LN503">503</td><td class="line"> info-&gt;begin_data = func_data;</td></tr>
+<tr class="codeline" data-linenumber="504"><td class="num" id="LN504">504</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="505"><td class="num" id="LN505">505</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="506"><td class="num" id="LN506">506</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="507"><td class="num" id="LN507">507</td><td class="line">fr_process_set_end_func (FrProcess *process,</td></tr>
+<tr class="codeline" data-linenumber="508"><td class="num" id="LN508">508</td><td class="line"> ProcFunc func,</td></tr>
+<tr class="codeline" data-linenumber="509"><td class="num" id="LN509">509</td><td class="line"> gpointer func_data)</td></tr>
+<tr class="codeline" data-linenumber="510"><td class="num" id="LN510">510</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="511"><td class="num" id="LN511">511</td><td class="line"> FrCommandInfo *info;</td></tr>
+<tr class="codeline" data-linenumber="512"><td class="num" id="LN512">512</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="513"><td class="num" id="LN513">513</td><td class="line"> <span class='macro'>g_return_if_fail (process != NULL)<span class='macro_popup'>do { if ((process != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "process != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="514"><td class="num" id="LN514">514</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="515"><td class="num" id="LN515">515</td><td class="line"> info = <span class='macro'>g_ptr_array_index (process-&gt;priv-&gt;comm, process-&gt;priv-&gt;current_comm)<span class='macro_popup'>((process-&gt;priv-&gt;comm)-&gt;pdata)[process-&gt;priv-&gt;<br>current_comm]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="516"><td class="num" id="LN516">516</td><td class="line"> info-&gt;end_func = func;</td></tr>
+<tr class="codeline" data-linenumber="517"><td class="num" id="LN517">517</td><td class="line"> info-&gt;end_data = func_data;</td></tr>
+<tr class="codeline" data-linenumber="518"><td class="num" id="LN518">518</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="519"><td class="num" id="LN519">519</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="520"><td class="num" id="LN520">520</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="521"><td class="num" id="LN521">521</td><td class="line">fr_process_set_continue_func (FrProcess *process,</td></tr>
+<tr class="codeline" data-linenumber="522"><td class="num" id="LN522">522</td><td class="line"> ContinueFunc func,</td></tr>
+<tr class="codeline" data-linenumber="523"><td class="num" id="LN523">523</td><td class="line"> gpointer func_data)</td></tr>
+<tr class="codeline" data-linenumber="524"><td class="num" id="LN524">524</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="525"><td class="num" id="LN525">525</td><td class="line"> FrCommandInfo *info;</td></tr>
+<tr class="codeline" data-linenumber="526"><td class="num" id="LN526">526</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="527"><td class="num" id="LN527">527</td><td class="line"> <span class='macro'>g_return_if_fail (process != NULL)<span class='macro_popup'>do { if ((process != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "process != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="528"><td class="num" id="LN528">528</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="529"><td class="num" id="LN529">529</td><td class="line"> <span class='keyword'>if</span> (process-&gt;priv-&gt;current_comm &lt; 0)</td></tr>
+<tr class="codeline" data-linenumber="530"><td class="num" id="LN530">530</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="531"><td class="num" id="LN531">531</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="532"><td class="num" id="LN532">532</td><td class="line"> info = <span class='macro'>g_ptr_array_index (process-&gt;priv-&gt;comm, process-&gt;priv-&gt;current_comm)<span class='macro_popup'>((process-&gt;priv-&gt;comm)-&gt;pdata)[process-&gt;priv-&gt;<br>current_comm]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="533"><td class="num" id="LN533">533</td><td class="line"> info-&gt;continue_func = func;</td></tr>
+<tr class="codeline" data-linenumber="534"><td class="num" id="LN534">534</td><td class="line"> info-&gt;continue_data = func_data;</td></tr>
+<tr class="codeline" data-linenumber="535"><td class="num" id="LN535">535</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="536"><td class="num" id="LN536">536</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="537"><td class="num" id="LN537">537</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="538"><td class="num" id="LN538">538</td><td class="line">fr_process_end_command (FrProcess *process)</td></tr>
+<tr class="codeline" data-linenumber="539"><td class="num" id="LN539">539</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="540"><td class="num" id="LN540">540</td><td class="line"> FrCommandInfo *info;</td></tr>
+<tr class="codeline" data-linenumber="541"><td class="num" id="LN541">541</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="542"><td class="num" id="LN542">542</td><td class="line"> <span class='macro'>g_return_if_fail (process != NULL)<span class='macro_popup'>do { if ((process != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "process != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="543"><td class="num" id="LN543">543</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="544"><td class="num" id="LN544">544</td><td class="line"> info = <span class='macro'>g_ptr_array_index (process-&gt;priv-&gt;comm, process-&gt;priv-&gt;current_comm)<span class='macro_popup'>((process-&gt;priv-&gt;comm)-&gt;pdata)[process-&gt;priv-&gt;<br>current_comm]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="545"><td class="num" id="LN545">545</td><td class="line"> info-&gt;args = g_list_reverse (info-&gt;args);</td></tr>
+<tr class="codeline" data-linenumber="546"><td class="num" id="LN546">546</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="547"><td class="num" id="LN547">547</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="548"><td class="num" id="LN548">548</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="549"><td class="num" id="LN549">549</td><td class="line">fr_process_clear (FrProcess *process)</td></tr>
+<tr class="codeline" data-linenumber="550"><td class="num" id="LN550">550</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="551"><td class="num" id="LN551">551</td><td class="line"> gint i;</td></tr>
+<tr class="codeline" data-linenumber="552"><td class="num" id="LN552">552</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="553"><td class="num" id="LN553">553</td><td class="line"> <span class='macro'>g_return_if_fail (process != NULL)<span class='macro_popup'>do { if ((process != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "process != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="554"><td class="num" id="LN554">554</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="555"><td class="num" id="LN555">555</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt;= process-&gt;priv-&gt;n_comm; i++)</td></tr>
+<tr class="codeline" data-linenumber="556"><td class="num" id="LN556">556</td><td class="line"> g_ptr_array_remove_index_fast (process-&gt;priv-&gt;comm, 0);</td></tr>
+<tr class="codeline" data-linenumber="557"><td class="num" id="LN557">557</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="558"><td class="num" id="LN558">558</td><td class="line"> process-&gt;priv-&gt;n_comm = -1;</td></tr>
+<tr class="codeline" data-linenumber="559"><td class="num" id="LN559">559</td><td class="line"> process-&gt;priv-&gt;current_comm = -1;</td></tr>
+<tr class="codeline" data-linenumber="560"><td class="num" id="LN560">560</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="561"><td class="num" id="LN561">561</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="562"><td class="num" id="LN562">562</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="563"><td class="num" id="LN563">563</td><td class="line">fr_process_set_out_line_func (FrProcess *process,</td></tr>
+<tr class="codeline" data-linenumber="564"><td class="num" id="LN564">564</td><td class="line"> LineFunc func,</td></tr>
+<tr class="codeline" data-linenumber="565"><td class="num" id="LN565">565</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="566"><td class="num" id="LN566">566</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="567"><td class="num" id="LN567">567</td><td class="line"> <span class='macro'>g_return_if_fail (process != NULL)<span class='macro_popup'>do { if ((process != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "process != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="568"><td class="num" id="LN568">568</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="569"><td class="num" id="LN569">569</td><td class="line"> process-&gt;out.line_func = func;</td></tr>
+<tr class="codeline" data-linenumber="570"><td class="num" id="LN570">570</td><td class="line"> process-&gt;out.line_data = data;</td></tr>
+<tr class="codeline" data-linenumber="571"><td class="num" id="LN571">571</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="572"><td class="num" id="LN572">572</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="573"><td class="num" id="LN573">573</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="574"><td class="num" id="LN574">574</td><td class="line">fr_process_set_err_line_func (FrProcess *process,</td></tr>
+<tr class="codeline" data-linenumber="575"><td class="num" id="LN575">575</td><td class="line"> LineFunc func,</td></tr>
+<tr class="codeline" data-linenumber="576"><td class="num" id="LN576">576</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="577"><td class="num" id="LN577">577</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="578"><td class="num" id="LN578">578</td><td class="line"> <span class='macro'>g_return_if_fail (process != NULL)<span class='macro_popup'>do { if ((process != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "process != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="579"><td class="num" id="LN579">579</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="580"><td class="num" id="LN580">580</td><td class="line"> process-&gt;err.line_func = func;</td></tr>
+<tr class="codeline" data-linenumber="581"><td class="num" id="LN581">581</td><td class="line"> process-&gt;err.line_data = data;</td></tr>
+<tr class="codeline" data-linenumber="582"><td class="num" id="LN582">582</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="583"><td class="num" id="LN583">583</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="584"><td class="num" id="LN584">584</td><td class="line"><span class='keyword'>static</span> gboolean check_child (gpointer data);</td></tr>
+<tr class="codeline" data-linenumber="585"><td class="num" id="LN585">585</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="586"><td class="num" id="LN586">586</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="587"><td class="num" id="LN587">587</td><td class="line">child_setup (gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="588"><td class="num" id="LN588">588</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="589"><td class="num" id="LN589">589</td><td class="line"> FrProcess *process = user_data;</td></tr>
+<tr class="codeline" data-linenumber="590"><td class="num" id="LN590">590</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="591"><td class="num" id="LN591">591</td><td class="line"> <span class='keyword'>if</span> (process-&gt;priv-&gt;use_standard_locale) {</td></tr>
+<tr class="codeline" data-linenumber="592"><td class="num" id="LN592">592</td><td class="line"> putenv (<span class='string_literal'>"LC_MESSAGES=C"</span>);</td></tr>
+<tr class="codeline" data-linenumber="593"><td class="num" id="LN593">593</td><td class="line"> putenv (<span class='string_literal'>"LC_TIME=C"</span>);</td></tr>
+<tr class="codeline" data-linenumber="594"><td class="num" id="LN594">594</td><td class="line"> putenv (<span class='string_literal'>"LC_NUMERIC=C"</span>);</td></tr>
+<tr class="codeline" data-linenumber="595"><td class="num" id="LN595">595</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="596"><td class="num" id="LN596">596</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="597"><td class="num" id="LN597">597</td><td class="line"> <span class='comment'>/* detach from the tty */</span></td></tr>
+<tr class="codeline" data-linenumber="598"><td class="num" id="LN598">598</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="599"><td class="num" id="LN599">599</td><td class="line"> setsid ();</td></tr>
+<tr class="codeline" data-linenumber="600"><td class="num" id="LN600">600</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="601"><td class="num" id="LN601">601</td><td class="line"> <span class='comment'>/* create a process group to kill all the child processes when</span></td></tr>
+<tr class="codeline" data-linenumber="602"><td class="num" id="LN602">602</td><td class="line"> <span class='comment'>* canceling the operation. */</span></td></tr>
+<tr class="codeline" data-linenumber="603"><td class="num" id="LN603">603</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="604"><td class="num" id="LN604">604</td><td class="line"> setpgid (0, 0);</td></tr>
+<tr class="codeline" data-linenumber="605"><td class="num" id="LN605">605</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="606"><td class="num" id="LN606">606</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="607"><td class="num" id="LN607">607</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="608"><td class="num" id="LN608">608</td><td class="line">fr_process_get_charset (FrProcess *process)</td></tr>
+<tr class="codeline" data-linenumber="609"><td class="num" id="LN609">609</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="610"><td class="num" id="LN610">610</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *charset = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="611"><td class="num" id="LN611">611</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="612"><td class="num" id="LN612">612</td><td class="line"> <span class='keyword'>if</span> (process-&gt;priv-&gt;current_charset &gt;= 0)</td></tr>
+<tr class="codeline" data-linenumber="613"><td class="num" id="LN613">613</td><td class="line"> charset = try_charsets[process-&gt;priv-&gt;current_charset];</td></tr>
+<tr class="codeline" data-linenumber="614"><td class="num" id="LN614">614</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (g_get_charset (&amp;charset))</td></tr>
+<tr class="codeline" data-linenumber="615"><td class="num" id="LN615">615</td><td class="line"> charset = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="616"><td class="num" id="LN616">616</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="617"><td class="num" id="LN617">617</td><td class="line"> <span class='keyword'>return</span> charset;</td></tr>
+<tr class="codeline" data-linenumber="618"><td class="num" id="LN618">618</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="619"><td class="num" id="LN619">619</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="620"><td class="num" id="LN620">620</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="621"><td class="num" id="LN621">621</td><td class="line">start_current_command (FrProcess *process)</td></tr>
+<tr class="codeline" data-linenumber="622"><td class="num" id="LN622">622</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="623"><td class="num" id="LN623">623</td><td class="line"> FrCommandInfo *info;</td></tr>
+<tr class="codeline" data-linenumber="624"><td class="num" id="LN624">624</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="625"><td class="num" id="LN625">625</td><td class="line"> <span class='keyword'>char</span> **argv;</td></tr>
+<tr class="codeline" data-linenumber="626"><td class="num" id="LN626">626</td><td class="line"> <span class='keyword'>int</span> out_fd, err_fd;</td></tr>
+<tr class="codeline" data-linenumber="627"><td class="num" id="LN627">627</td><td class="line"> <span class='keyword'>int</span> i = 0;</td></tr>
+<tr class="codeline" data-linenumber="628"><td class="num" id="LN628">628</td><td class="line"> GString *commandline = g_string_new (<span class='string_literal'>""</span>);</td></tr>
+<tr class="codeline" data-linenumber="629"><td class="num" id="LN629">629</td><td class="line"> gboolean fixname = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="630"><td class="num" id="LN630">630</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="631"><td class="num" id="LN631">631</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-process.c", 631, __FUNCTION__</span></span>, <span class='string_literal'>"%d/%d) "</span>, process-&gt;priv-&gt;current_command, process-&gt;priv-&gt;n_comm);</td></tr>
+<tr class="codeline" data-linenumber="632"><td class="num" id="LN632">632</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="633"><td class="num" id="LN633">633</td><td class="line"> info = <span class='macro'>g_ptr_array_index (process-&gt;priv-&gt;comm, process-&gt;priv-&gt;current_command)<span class='macro_popup'>((process-&gt;priv-&gt;comm)-&gt;pdata)[process-&gt;priv-&gt;<br>current_command]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="634"><td class="num" id="LN634">634</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="635"><td class="num" id="LN635">635</td><td class="line"> argv = <span class='macro'>g_new (<span class='keyword'>char</span> *, g_list_length (info-&gt;args) + 1)<span class='macro_popup'>((char * *) g_malloc_n ((g_list_length (info-&gt;args) + 1), sizeof<br> (char *)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="636"><td class="num" id="LN636">636</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="637"><td class="num" id="LN637">637</td><td class="line"> <span class='keyword'>for</span> (scan = info-&gt;args; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="638"><td class="num" id="LN638">638</td><td class="line"> argv[i++] = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="639"><td class="num" id="LN639">639</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="640"><td class="num" id="LN640">640</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>g_str_has_prefix (commandline-&gt;str, <span class='string_literal'>"mv"</span>)<span class='macro_popup'>(__builtin_constant_p ("mv")? __extension__ ({ const char * const<br> __str = (commandline-&gt;str); const char * const __prefix =<br> ("mv"); gboolean __result = (0); if (__str == ((void*)0) || __prefix<br> == ((void*)0)) __result = (g_str_has_prefix) (__str, __prefix<br>); else { const size_t __str_len = strlen (((__str) + !(__str<br>))); const size_t __prefix_len = strlen (((__prefix) + !(__prefix<br>))); if (__str_len &gt;= __prefix_len) __result = memcmp (((__str<br>) + !(__str)), ((__prefix) + !(__prefix)), __prefix_len) == 0<br>; } __result; }) : (g_str_has_prefix) (commandline-&gt;str, "mv"<br>) )</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="641"><td class="num" id="LN641">641</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="642"><td class="num" id="LN642">642</td><td class="line"> <span class='keyword'>if</span> ((i == 3) &amp;&amp; (!g_file_test (argv[2], G_FILE_TEST_EXISTS)) &amp;&amp; (!fixname)) {</td></tr>
+<tr class="codeline" data-linenumber="643"><td class="num" id="LN643">643</td><td class="line"> <span class='keyword'>char</span> rarfile[strlen (argv[2]) + 7];</td></tr>
+<tr class="codeline" data-linenumber="644"><td class="num" id="LN644">644</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="645"><td class="num" id="LN645">645</td><td class="line"> g_strlcpy (rarfile, argv[2], <span class='keyword'>sizeof</span> (rarfile));</td></tr>
+<tr class="codeline" data-linenumber="646"><td class="num" id="LN646">646</td><td class="line"> rarfile[strlen (rarfile) - 3] = 0;</td></tr>
+<tr class="codeline" data-linenumber="647"><td class="num" id="LN647">647</td><td class="line"> g_strlcat (rarfile, <span class='string_literal'>"part1.rar"</span>, <span class='keyword'>sizeof</span> (rarfile));</td></tr>
+<tr class="codeline" data-linenumber="648"><td class="num" id="LN648">648</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="649"><td class="num" id="LN649">649</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>g_str_has_suffix (argv[2], <span class='string_literal'>".7z"</span>)<span class='macro_popup'>(__builtin_constant_p (".7z")? __extension__ ({ const char * const<br> __str = (argv[2]); const char * const __suffix = (".7z"); gboolean<br> __result = (0); if (__str == ((void*)0) || __suffix == ((void<br>*)0)) __result = (g_str_has_suffix) (__str, __suffix); else {<br> const size_t __str_len = strlen (((__str) + !(__str))); const<br> size_t __suffix_len = strlen (((__suffix) + !(__suffix))); if<br> (__str_len &gt;= __suffix_len) __result = memcmp (__str + __str_len<br> - __suffix_len, ((__suffix) + !(__suffix)), __suffix_len) ==<br> 0; } __result; }) : (g_str_has_suffix) (argv[2], ".7z") )</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="650"><td class="num" id="LN650">650</td><td class="line"> <span class='macro'>g_string_append (commandline, <span class='string_literal'>" "</span>)<span class='macro_popup'>(__builtin_constant_p (" ") ? __extension__ ({ const char * const<br> __val = (" "); g_string_append_len_inline (commandline, __val<br>, (__val != ((void*)0)) ? (gssize) strlen (((__val) + !(__val<br>))) : (gssize) -1); }) : g_string_append_len_inline (commandline<br>, " ", (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="651"><td class="num" id="LN651">651</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="652"><td class="num" id="LN652">652</td><td class="line"> gchar *tempstr = g_shell_quote (argv[2]);</td></tr>
+<tr class="codeline" data-linenumber="653"><td class="num" id="LN653">653</td><td class="line"> <span class='macro'>g_string_append (commandline, tempstr)<span class='macro_popup'>(__builtin_constant_p (tempstr) ? __extension__ ({ const char<br> * const __val = (tempstr); g_string_append_len_inline (commandline<br>, __val, (__val != ((void*)0)) ? (gssize) strlen (((__val) + !<br>(__val))) : (gssize) -1); }) : g_string_append_len_inline (commandline<br>, tempstr, (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="654"><td class="num" id="LN654">654</td><td class="line"> g_free (tempstr);</td></tr>
+<tr class="codeline" data-linenumber="655"><td class="num" id="LN655">655</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="656"><td class="num" id="LN656">656</td><td class="line"> <span class='macro'>g_string_append (commandline, <span class='string_literal'>".*"</span>)<span class='macro_popup'>(__builtin_constant_p (".*") ? __extension__ ({ const char * const<br> __val = (".*"); g_string_append_len_inline (commandline, __val<br>, (__val != ((void*)0)) ? (gssize) strlen (((__val) + !(__val<br>))) : (gssize) -1); }) : g_string_append_len_inline (commandline<br>, ".*", (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="657"><td class="num" id="LN657">657</td><td class="line"> fixname = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="658"><td class="num" id="LN658">658</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="659"><td class="num" id="LN659">659</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (<span class='macro'>g_str_has_suffix (argv[2], <span class='string_literal'>".rar"</span>)<span class='macro_popup'>(__builtin_constant_p (".rar")? __extension__ ({ const char *<br> const __str = (argv[2]); const char * const __suffix = (".rar"<br>); gboolean __result = (0); if (__str == ((void*)0) || __suffix<br> == ((void*)0)) __result = (g_str_has_suffix) (__str, __suffix<br>); else { const size_t __str_len = strlen (((__str) + !(__str<br>))); const size_t __suffix_len = strlen (((__suffix) + !(__suffix<br>))); if (__str_len &gt;= __suffix_len) __result = memcmp (__str<br> + __str_len - __suffix_len, ((__suffix) + !(__suffix)), __suffix_len<br>) == 0; } __result; }) : (g_str_has_suffix) (argv[2], ".rar")<br> )</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="660"><td class="num" id="LN660">660</td><td class="line"> rarfile[strlen(rarfile) - 5] = 0;</td></tr>
+<tr class="codeline" data-linenumber="661"><td class="num" id="LN661">661</td><td class="line"> <span class='macro'>g_string_append (commandline, <span class='string_literal'>" "</span>)<span class='macro_popup'>(__builtin_constant_p (" ") ? __extension__ ({ const char * const<br> __val = (" "); g_string_append_len_inline (commandline, __val<br>, (__val != ((void*)0)) ? (gssize) strlen (((__val) + !(__val<br>))) : (gssize) -1); }) : g_string_append_len_inline (commandline<br>, " ", (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="662"><td class="num" id="LN662">662</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="663"><td class="num" id="LN663">663</td><td class="line"> gchar *tempstr = g_shell_quote (rarfile);</td></tr>
+<tr class="codeline" data-linenumber="664"><td class="num" id="LN664">664</td><td class="line"> <span class='macro'>g_string_append (commandline, tempstr)<span class='macro_popup'>(__builtin_constant_p (tempstr) ? __extension__ ({ const char<br> * const __val = (tempstr); g_string_append_len_inline (commandline<br>, __val, (__val != ((void*)0)) ? (gssize) strlen (((__val) + !<br>(__val))) : (gssize) -1); }) : g_string_append_len_inline (commandline<br>, tempstr, (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="665"><td class="num" id="LN665">665</td><td class="line"> g_free (tempstr);</td></tr>
+<tr class="codeline" data-linenumber="666"><td class="num" id="LN666">666</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="667"><td class="num" id="LN667">667</td><td class="line"> <span class='macro'>g_string_append (commandline, <span class='string_literal'>"*.rar"</span>)<span class='macro_popup'>(__builtin_constant_p ("*.rar") ? __extension__ ({ const char<br> * const __val = ("*.rar"); g_string_append_len_inline (commandline<br>, __val, (__val != ((void*)0)) ? (gssize) strlen (((__val) + !<br>(__val))) : (gssize) -1); }) : g_string_append_len_inline (commandline<br>, "*.rar", (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="668"><td class="num" id="LN668">668</td><td class="line"> fixname = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="669"><td class="num" id="LN669">669</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="670"><td class="num" id="LN670">670</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="671"><td class="num" id="LN671">671</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> ((i == 4) &amp;&amp; (fixname)) {</td></tr>
+<tr class="codeline" data-linenumber="672"><td class="num" id="LN672">672</td><td class="line"> <span class='macro'>g_string_append (commandline, <span class='string_literal'>" \"$(dirname "</span>)<span class='macro_popup'>(__builtin_constant_p (" \"$(dirname ") ? __extension__ ({ const<br> char * const __val = (" \"$(dirname "); g_string_append_len_inline<br> (commandline, __val, (__val != ((void*)0)) ? (gssize) strlen<br> (((__val) + !(__val))) : (gssize) -1); }) : g_string_append_len_inline<br> (commandline, " \"$(dirname ", (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="673"><td class="num" id="LN673">673</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="674"><td class="num" id="LN674">674</td><td class="line"> gchar *tempstr = g_shell_quote (argv[3]);</td></tr>
+<tr class="codeline" data-linenumber="675"><td class="num" id="LN675">675</td><td class="line"> <span class='macro'>g_string_append (commandline, tempstr)<span class='macro_popup'>(__builtin_constant_p (tempstr) ? __extension__ ({ const char<br> * const __val = (tempstr); g_string_append_len_inline (commandline<br>, __val, (__val != ((void*)0)) ? (gssize) strlen (((__val) + !<br>(__val))) : (gssize) -1); }) : g_string_append_len_inline (commandline<br>, tempstr, (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="676"><td class="num" id="LN676">676</td><td class="line"> g_free (tempstr);</td></tr>
+<tr class="codeline" data-linenumber="677"><td class="num" id="LN677">677</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="678"><td class="num" id="LN678">678</td><td class="line"> <span class='macro'>g_string_append (commandline, <span class='string_literal'>")\""</span>)<span class='macro_popup'>(__builtin_constant_p (")\"") ? __extension__ ({ const char *<br> const __val = (")\""); g_string_append_len_inline (commandline<br>, __val, (__val != ((void*)0)) ? (gssize) strlen (((__val) + !<br>(__val))) : (gssize) -1); }) : g_string_append_len_inline (commandline<br>, ")\"", (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="679"><td class="num" id="LN679">679</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="680"><td class="num" id="LN680">680</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="681"><td class="num" id="LN681">681</td><td class="line"> <span class='macro'>g_string_append (commandline, <span class='string_literal'>" "</span>)<span class='macro_popup'>(__builtin_constant_p (" ") ? __extension__ ({ const char * const<br> __val = (" "); g_string_append_len_inline (commandline, __val<br>, (__val != ((void*)0)) ? (gssize) strlen (((__val) + !(__val<br>))) : (gssize) -1); }) : g_string_append_len_inline (commandline<br>, " ", (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="682"><td class="num" id="LN682">682</td><td class="line"> <span class='macro'>g_string_append (commandline, argv[(i - 1)])<span class='macro_popup'>(__builtin_constant_p (argv[(i - 1)]) ? __extension__ ({ const<br> char * const __val = (argv[(i - 1)]); g_string_append_len_inline<br> (commandline, __val, (__val != ((void*)0)) ? (gssize) strlen<br> (((__val) + !(__val))) : (gssize) -1); }) : g_string_append_len_inline<br> (commandline, argv[(i - 1)], (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="683"><td class="num" id="LN683">683</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="684"><td class="num" id="LN684">684</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="685"><td class="num" id="LN685">685</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (<span class='macro'>g_str_has_prefix (argv[0], <span class='string_literal'>"mv"</span>)<span class='macro_popup'>(__builtin_constant_p ("mv")? __extension__ ({ const char * const<br> __str = (argv[0]); const char * const __prefix = ("mv"); gboolean<br> __result = (0); if (__str == ((void*)0) || __prefix == ((void<br>*)0)) __result = (g_str_has_prefix) (__str, __prefix); else {<br> const size_t __str_len = strlen (((__str) + !(__str))); const<br> size_t __prefix_len = strlen (((__prefix) + !(__prefix))); if<br> (__str_len &gt;= __prefix_len) __result = memcmp (((__str) +<br> !(__str)), ((__prefix) + !(__prefix)), __prefix_len) == 0; }<br> __result; }) : (g_str_has_prefix) (argv[0], "mv") )</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="686"><td class="num" id="LN686">686</td><td class="line"> <span class='macro'>g_string_append (commandline, <span class='string_literal'>"mv"</span>)<span class='macro_popup'>(__builtin_constant_p ("mv") ? __extension__ ({ const char * const<br> __val = ("mv"); g_string_append_len_inline (commandline, __val<br>, (__val != ((void*)0)) ? (gssize) strlen (((__val) + !(__val<br>))) : (gssize) -1); }) : g_string_append_len_inline (commandline<br>, "mv", (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="687"><td class="num" id="LN687">687</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="688"><td class="num" id="LN688">688</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="689"><td class="num" id="LN689">689</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="690"><td class="num" id="LN690">690</td><td class="line"> argv[i] = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="691"><td class="num" id="LN691">691</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="692"><td class="num" id="LN692">692</td><td class="line"><span class='directive'>#ifdef MATE_ENABLE_DEBUG</span></td></tr>
+<tr class="codeline" data-linenumber="693"><td class="num" id="LN693">693</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="694"><td class="num" id="LN694">694</td><td class="line"> <span class='keyword'>int</span> j;</td></tr>
+<tr class="codeline" data-linenumber="695"><td class="num" id="LN695">695</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="696"><td class="num" id="LN696">696</td><td class="line"> <span class='keyword'>if</span> (process-&gt;priv-&gt;use_standard_locale) {</td></tr>
+<tr class="codeline" data-linenumber="697"><td class="num" id="LN697">697</td><td class="line"> g_print (<span class='string_literal'>"\tLC_MESSAGES=C\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="698"><td class="num" id="LN698">698</td><td class="line"> g_print (<span class='string_literal'>"\tLC_TIME=C\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="699"><td class="num" id="LN699">699</td><td class="line"> g_print (<span class='string_literal'>"\tLC_NUMERIC=C\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="700"><td class="num" id="LN700">700</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="701"><td class="num" id="LN701">701</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="702"><td class="num" id="LN702">702</td><td class="line"> <span class='keyword'>if</span> (info-&gt;dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="703"><td class="num" id="LN703">703</td><td class="line"> g_print (<span class='string_literal'>"\tcd %s\n"</span>, info-&gt;dir);</td></tr>
+<tr class="codeline" data-linenumber="704"><td class="num" id="LN704">704</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="705"><td class="num" id="LN705">705</td><td class="line"> g_print (<span class='string_literal'>"\t"</span>);</td></tr>
+<tr class="codeline" data-linenumber="706"><td class="num" id="LN706">706</td><td class="line"> <span class='keyword'>for</span> (j = 0; j &lt; i; j++)</td></tr>
+<tr class="codeline" data-linenumber="707"><td class="num" id="LN707">707</td><td class="line"> g_print (<span class='string_literal'>"%s "</span>, argv[j]);</td></tr>
+<tr class="codeline" data-linenumber="708"><td class="num" id="LN708">708</td><td class="line"> g_print (<span class='string_literal'>"\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="709"><td class="num" id="LN709">709</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="710"><td class="num" id="LN710">710</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="711"><td class="num" id="LN711">711</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="712"><td class="num" id="LN712">712</td><td class="line"> <span class='keyword'>if</span> ((fixname) &amp;&amp; (system (commandline-&gt;str) != 0))</td></tr>
+<tr class="codeline" data-linenumber="713"><td class="num" id="LN713">713</td><td class="line"> g_warning (<span class='string_literal'>"The files could not be move: %s\n"</span>, commandline-&gt;str);</td></tr>
+<tr class="codeline" data-linenumber="714"><td class="num" id="LN714">714</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="715"><td class="num" id="LN715">715</td><td class="line"> <span class='keyword'>if</span> (info-&gt;begin_func != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="716"><td class="num" id="LN716">716</td><td class="line"> (*info-&gt;begin_func) (info-&gt;begin_data);</td></tr>
+<tr class="codeline" data-linenumber="717"><td class="num" id="LN717">717</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="718"><td class="num" id="LN718">718</td><td class="line"> <span class='keyword'>if</span> (! g_spawn_async_with_pipes (info-&gt;dir,</td></tr>
+<tr class="codeline" data-linenumber="719"><td class="num" id="LN719">719</td><td class="line"> argv,</td></tr>
+<tr class="codeline" data-linenumber="720"><td class="num" id="LN720">720</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="721"><td class="num" id="LN721">721</td><td class="line"> (G_SPAWN_LEAVE_DESCRIPTORS_OPEN</td></tr>
+<tr class="codeline" data-linenumber="722"><td class="num" id="LN722">722</td><td class="line"> | G_SPAWN_SEARCH_PATH</td></tr>
+<tr class="codeline" data-linenumber="723"><td class="num" id="LN723">723</td><td class="line"> | G_SPAWN_DO_NOT_REAP_CHILD),</td></tr>
+<tr class="codeline" data-linenumber="724"><td class="num" id="LN724">724</td><td class="line"> child_setup,</td></tr>
+<tr class="codeline" data-linenumber="725"><td class="num" id="LN725">725</td><td class="line"> process,</td></tr>
+<tr class="codeline" data-linenumber="726"><td class="num" id="LN726">726</td><td class="line"> &amp;process-&gt;priv-&gt;command_pid,</td></tr>
+<tr class="codeline" data-linenumber="727"><td class="num" id="LN727">727</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="728"><td class="num" id="LN728">728</td><td class="line"> &amp;out_fd,</td></tr>
+<tr class="codeline" data-linenumber="729"><td class="num" id="LN729">729</td><td class="line"> &amp;err_fd,</td></tr>
+<tr class="codeline" data-linenumber="730"><td class="num" id="LN730">730</td><td class="line"> &amp;process-&gt;error.gerror))</td></tr>
+<tr class="codeline" data-linenumber="731"><td class="num" id="LN731">731</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="732"><td class="num" id="LN732">732</td><td class="line"> process-&gt;error.type = FR_PROC_ERROR_SPAWN;</td></tr>
+<tr class="codeline" data-linenumber="733"><td class="num" id="LN733">733</td><td class="line"> g_signal_emit (<span class='macro'>G_OBJECT (process)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((process)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="734"><td class="num" id="LN734">734</td><td class="line"> fr_process_signals[DONE],</td></tr>
+<tr class="codeline" data-linenumber="735"><td class="num" id="LN735">735</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="736"><td class="num" id="LN736">736</td><td class="line"> &amp;process-&gt;error);</td></tr>
+<tr class="codeline" data-linenumber="737"><td class="num" id="LN737">737</td><td class="line"> <span class='macro'>g_string_free (commandline, TRUE)<span class='macro_popup'>(__builtin_constant_p ((!(0))) ? (((!(0))) ? (g_string_free) (<br>(commandline), ((!(0)))) : g_string_free_and_steal (commandline<br>)) : (g_string_free) ((commandline), ((!(0)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="738"><td class="num" id="LN738">738</td><td class="line"> g_free (argv);</td></tr>
+<tr class="codeline" data-linenumber="739"><td class="num" id="LN739">739</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="740"><td class="num" id="LN740">740</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="741"><td class="num" id="LN741">741</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="742"><td class="num" id="LN742">742</td><td class="line"> <span class='macro'>g_string_free (commandline, TRUE)<span class='macro_popup'>(__builtin_constant_p ((!(0))) ? (((!(0))) ? (g_string_free) (<br>(commandline), ((!(0)))) : g_string_free_and_steal (commandline<br>)) : (g_string_free) ((commandline), ((!(0)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="743"><td class="num" id="LN743">743</td><td class="line"> g_free (argv);</td></tr>
+<tr class="codeline" data-linenumber="744"><td class="num" id="LN744">744</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="745"><td class="num" id="LN745">745</td><td class="line"> fr_channel_data_set_fd (&amp;process-&gt;out, out_fd, fr_process_get_charset (process));</td></tr>
+<tr class="codeline" data-linenumber="746"><td class="num" id="LN746">746</td><td class="line"> fr_channel_data_set_fd (&amp;process-&gt;err, err_fd, fr_process_get_charset (process));</td></tr>
+<tr class="codeline" data-linenumber="747"><td class="num" id="LN747">747</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="748"><td class="num" id="LN748">748</td><td class="line"> process-&gt;priv-&gt;check_timeout = g_timeout_add (<span class='macro'>REFRESH_RATE<span class='macro_popup'>20</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="749"><td class="num" id="LN749">749</td><td class="line"> check_child,</td></tr>
+<tr class="codeline" data-linenumber="750"><td class="num" id="LN750">750</td><td class="line"> process);</td></tr>
+<tr class="codeline" data-linenumber="751"><td class="num" id="LN751">751</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="752"><td class="num" id="LN752">752</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="753"><td class="num" id="LN753">753</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="754"><td class="num" id="LN754">754</td><td class="line">command_is_sticky (FrProcess *process,</td></tr>
+<tr class="codeline" data-linenumber="755"><td class="num" id="LN755">755</td><td class="line"> <span class='keyword'>int</span> i)</td></tr>
+<tr class="codeline" data-linenumber="756"><td class="num" id="LN756">756</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="757"><td class="num" id="LN757">757</td><td class="line"> FrCommandInfo *info;</td></tr>
+<tr class="codeline" data-linenumber="758"><td class="num" id="LN758">758</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="759"><td class="num" id="LN759">759</td><td class="line"> info = <span class='macro'>g_ptr_array_index (process-&gt;priv-&gt;comm, i)<span class='macro_popup'>((process-&gt;priv-&gt;comm)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="760"><td class="num" id="LN760">760</td><td class="line"> <span class='keyword'>return</span> info-&gt;sticky;</td></tr>
+<tr class="codeline" data-linenumber="761"><td class="num" id="LN761">761</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="762"><td class="num" id="LN762">762</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="763"><td class="num" id="LN763">763</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="764"><td class="num" id="LN764">764</td><td class="line">allow_sticky_processes_only (FrProcess *process,</td></tr>
+<tr class="codeline" data-linenumber="765"><td class="num" id="LN765">765</td><td class="line"> gboolean emit_signal)</td></tr>
+<tr class="codeline" data-linenumber="766"><td class="num" id="LN766">766</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="767"><td class="num" id="LN767">767</td><td class="line"> <span class='keyword'>if</span> (! process-&gt;priv-&gt;sticky_only) {</td></tr>
+<tr class="codeline" data-linenumber="768"><td class="num" id="LN768">768</td><td class="line"> <span class='comment'>/* Remember the first error. */</span></td></tr>
+<tr class="codeline" data-linenumber="769"><td class="num" id="LN769">769</td><td class="line"> process-&gt;priv-&gt;error_command = process-&gt;priv-&gt;current_command;</td></tr>
+<tr class="codeline" data-linenumber="770"><td class="num" id="LN770">770</td><td class="line"> process-&gt;priv-&gt;first_error.type = process-&gt;error.type;</td></tr>
+<tr class="codeline" data-linenumber="771"><td class="num" id="LN771">771</td><td class="line"> process-&gt;priv-&gt;first_error.status = process-&gt;error.status;</td></tr>
+<tr class="codeline" data-linenumber="772"><td class="num" id="LN772">772</td><td class="line"> g_clear_error (&amp;process-&gt;priv-&gt;first_error.gerror);</td></tr>
+<tr class="codeline" data-linenumber="773"><td class="num" id="LN773">773</td><td class="line"> <span class='keyword'>if</span> (process-&gt;error.gerror != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="774"><td class="num" id="LN774">774</td><td class="line"> process-&gt;priv-&gt;first_error.gerror = g_error_copy (process-&gt;error.gerror);</td></tr>
+<tr class="codeline" data-linenumber="775"><td class="num" id="LN775">775</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="776"><td class="num" id="LN776">776</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="777"><td class="num" id="LN777">777</td><td class="line"> process-&gt;priv-&gt;sticky_only = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="778"><td class="num" id="LN778">778</td><td class="line"> <span class='keyword'>if</span> (emit_signal)</td></tr>
+<tr class="codeline" data-linenumber="779"><td class="num" id="LN779">779</td><td class="line"> g_signal_emit (<span class='macro'>G_OBJECT (process)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((process)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="780"><td class="num" id="LN780">780</td><td class="line"> fr_process_signals[STICKY_ONLY],</td></tr>
+<tr class="codeline" data-linenumber="781"><td class="num" id="LN781">781</td><td class="line"> 0);</td></tr>
+<tr class="codeline" data-linenumber="782"><td class="num" id="LN782">782</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="783"><td class="num" id="LN783">783</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="784"><td class="num" id="LN784">784</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="785"><td class="num" id="LN785">785</td><td class="line">fr_process_set_error (FrProcess *process,</td></tr>
+<tr class="codeline" data-linenumber="786"><td class="num" id="LN786">786</td><td class="line"> FrProcErrorType type,</td></tr>
+<tr class="codeline" data-linenumber="787"><td class="num" id="LN787">787</td><td class="line"> <span class='keyword'>int</span> status,</td></tr>
+<tr class="codeline" data-linenumber="788"><td class="num" id="LN788">788</td><td class="line"> GError *gerror)</td></tr>
+<tr class="codeline" data-linenumber="789"><td class="num" id="LN789">789</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="790"><td class="num" id="LN790">790</td><td class="line"> process-&gt;error.type = type;</td></tr>
+<tr class="codeline" data-linenumber="791"><td class="num" id="LN791">791</td><td class="line"> process-&gt;error.status = status;</td></tr>
+<tr class="codeline" data-linenumber="792"><td class="num" id="LN792">792</td><td class="line"> <span class='keyword'>if</span> (gerror != process-&gt;error.gerror) {</td></tr>
+<tr class="codeline" data-linenumber="793"><td class="num" id="LN793">793</td><td class="line"> g_clear_error (&amp;process-&gt;error.gerror);</td></tr>
+<tr class="codeline" data-linenumber="794"><td class="num" id="LN794">794</td><td class="line"> <span class='keyword'>if</span> (gerror != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="795"><td class="num" id="LN795">795</td><td class="line"> process-&gt;error.gerror = g_error_copy (gerror);</td></tr>
+<tr class="codeline" data-linenumber="796"><td class="num" id="LN796">796</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="797"><td class="num" id="LN797">797</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="798"><td class="num" id="LN798">798</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="799"><td class="num" id="LN799">799</td><td class="line"><span class='keyword'>static</span> gint</td></tr>
+<tr class="codeline" data-linenumber="800"><td class="num" id="LN800">800</td><td class="line">check_child (gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="801"><td class="num" id="LN801">801</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="802"><td class="num" id="LN802">802</td><td class="line"> FrProcess *process = data;</td></tr>
+<tr class="codeline" data-linenumber="803"><td class="num" id="LN803">803</td><td class="line"> FrCommandInfo *info;</td></tr>
+<tr class="codeline" data-linenumber="804"><td class="num" id="LN804">804</td><td class="line"> pid_t pid;</td></tr>
+<tr class="codeline" data-linenumber="805"><td class="num" id="LN805">805</td><td class="line"> <span class='keyword'>int</span> status;</td></tr>
+<tr class="codeline" data-linenumber="806"><td class="num" id="LN806">806</td><td class="line"> gboolean continue_process;</td></tr>
+<tr class="codeline" data-linenumber="807"><td class="num" id="LN807">807</td><td class="line"> gboolean channel_error = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="808"><td class="num" id="LN808">808</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="809"><td class="num" id="LN809">809</td><td class="line"> info = <span class='macro'>g_ptr_array_index (process-&gt;priv-&gt;comm, process-&gt;priv-&gt;current_command)<span class='macro_popup'>((process-&gt;priv-&gt;comm)-&gt;pdata)[process-&gt;priv-&gt;<br>current_command]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="810"><td class="num" id="LN810">810</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="811"><td class="num" id="LN811">811</td><td class="line"> <span class='comment'>/* Remove check. */</span></td></tr>
+<tr class="codeline" data-linenumber="812"><td class="num" id="LN812">812</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="813"><td class="num" id="LN813">813</td><td class="line"> g_source_remove (process-&gt;priv-&gt;check_timeout);</td></tr>
+<tr class="codeline" data-linenumber="814"><td class="num" id="LN814">814</td><td class="line"> process-&gt;priv-&gt;check_timeout = 0;</td></tr>
+<tr class="codeline" data-linenumber="815"><td class="num" id="LN815">815</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="816"><td class="num" id="LN816">816</td><td class="line"> <span class='keyword'>if</span> (fr_channel_data_read (&amp;process-&gt;out) == G_IO_STATUS_ERROR) {</td></tr>
+<tr class="codeline" data-linenumber="817"><td class="num" id="LN817">817</td><td class="line"> fr_process_set_error (process, FR_PROC_ERROR_IO_CHANNEL, 0, process-&gt;out.error);</td></tr>
+<tr class="codeline" data-linenumber="818"><td class="num" id="LN818">818</td><td class="line"> channel_error = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="819"><td class="num" id="LN819">819</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="820"><td class="num" id="LN820">820</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (fr_channel_data_read (&amp;process-&gt;err) == G_IO_STATUS_ERROR) {</td></tr>
+<tr class="codeline" data-linenumber="821"><td class="num" id="LN821">821</td><td class="line"> fr_process_set_error (process, FR_PROC_ERROR_IO_CHANNEL, 0, process-&gt;err.error);</td></tr>
+<tr class="codeline" data-linenumber="822"><td class="num" id="LN822">822</td><td class="line"> channel_error = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="823"><td class="num" id="LN823">823</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="824"><td class="num" id="LN824">824</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="825"><td class="num" id="LN825">825</td><td class="line"> pid = waitpid (process-&gt;priv-&gt;command_pid, &amp;status, <span class='macro'>WNOHANG<span class='macro_popup'>1</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="826"><td class="num" id="LN826">826</td><td class="line"> <span class='keyword'>if</span> (pid != process-&gt;priv-&gt;command_pid) {</td></tr>
+<tr class="codeline" data-linenumber="827"><td class="num" id="LN827">827</td><td class="line"> <span class='comment'>/* Add check again. */</span></td></tr>
+<tr class="codeline" data-linenumber="828"><td class="num" id="LN828">828</td><td class="line"> process-&gt;priv-&gt;check_timeout = g_timeout_add (<span class='macro'>REFRESH_RATE<span class='macro_popup'>20</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="829"><td class="num" id="LN829">829</td><td class="line"> check_child,</td></tr>
+<tr class="codeline" data-linenumber="830"><td class="num" id="LN830">830</td><td class="line"> process);</td></tr>
+<tr class="codeline" data-linenumber="831"><td class="num" id="LN831">831</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="832"><td class="num" id="LN832">832</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="833"><td class="num" id="LN833">833</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="834"><td class="num" id="LN834">834</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="835"><td class="num" id="LN835">835</td><td class="line"> <span class='keyword'>if</span> (info-&gt;ignore_error) {</td></tr>
+<tr class="codeline" data-linenumber="836"><td class="num" id="LN836">836</td><td class="line"> process-&gt;error.type = FR_PROC_ERROR_NONE;</td></tr>
+<tr class="codeline" data-linenumber="837"><td class="num" id="LN837">837</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-process.c", 837, __FUNCTION__</span></span>, <span class='string_literal'>"[ignore error]\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="838"><td class="num" id="LN838">838</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="839"><td class="num" id="LN839">839</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (! channel_error &amp;&amp; (process-&gt;error.type != FR_PROC_ERROR_STOPPED)) {</td></tr>
+<tr class="codeline" data-linenumber="840"><td class="num" id="LN840">840</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>WIFEXITED (status)<span class='macro_popup'>(((status) &amp; 0x7f) == 0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="841"><td class="num" id="LN841">841</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>WEXITSTATUS (status)<span class='macro_popup'>(((status) &amp; 0xff00) &gt;&gt; 8)</span></span> == 0)</td></tr>
+<tr class="codeline" data-linenumber="842"><td class="num" id="LN842">842</td><td class="line"> process-&gt;error.type = FR_PROC_ERROR_NONE;</td></tr>
+<tr class="codeline" data-linenumber="843"><td class="num" id="LN843">843</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (<span class='macro'>WEXITSTATUS (status)<span class='macro_popup'>(((status) &amp; 0xff00) &gt;&gt; 8)</span></span> == 255)</td></tr>
+<tr class="codeline" data-linenumber="844"><td class="num" id="LN844">844</td><td class="line"> process-&gt;error.type = FR_PROC_ERROR_COMMAND_NOT_FOUND;</td></tr>
+<tr class="codeline" data-linenumber="845"><td class="num" id="LN845">845</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="846"><td class="num" id="LN846">846</td><td class="line"> process-&gt;error.type = FR_PROC_ERROR_COMMAND_ERROR;</td></tr>
+<tr class="codeline" data-linenumber="847"><td class="num" id="LN847">847</td><td class="line"> process-&gt;error.status = <span class='macro'>WEXITSTATUS (status)<span class='macro_popup'>(((status) &amp; 0xff00) &gt;&gt; 8)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="848"><td class="num" id="LN848">848</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="849"><td class="num" id="LN849">849</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="850"><td class="num" id="LN850">850</td><td class="line"> process-&gt;error.type = FR_PROC_ERROR_EXITED_ABNORMALLY;</td></tr>
+<tr class="codeline" data-linenumber="851"><td class="num" id="LN851">851</td><td class="line"> process-&gt;error.status = 255;</td></tr>
+<tr class="codeline" data-linenumber="852"><td class="num" id="LN852">852</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="853"><td class="num" id="LN853">853</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="854"><td class="num" id="LN854">854</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="855"><td class="num" id="LN855">855</td><td class="line"> process-&gt;priv-&gt;command_pid = 0;</td></tr>
+<tr class="codeline" data-linenumber="856"><td class="num" id="LN856">856</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="857"><td class="num" id="LN857">857</td><td class="line"> <span class='keyword'>if</span> (fr_channel_data_flush (&amp;process-&gt;out) == G_IO_STATUS_ERROR) {</td></tr>
+<tr class="codeline" data-linenumber="858"><td class="num" id="LN858">858</td><td class="line"> fr_process_set_error (process, FR_PROC_ERROR_IO_CHANNEL, 0, process-&gt;out.error);</td></tr>
+<tr class="codeline" data-linenumber="859"><td class="num" id="LN859">859</td><td class="line"> channel_error = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="860"><td class="num" id="LN860">860</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="861"><td class="num" id="LN861">861</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (fr_channel_data_flush (&amp;process-&gt;err) == G_IO_STATUS_ERROR) {</td></tr>
+<tr class="codeline" data-linenumber="862"><td class="num" id="LN862">862</td><td class="line"> fr_process_set_error (process, FR_PROC_ERROR_IO_CHANNEL, 0, process-&gt;err.error);</td></tr>
+<tr class="codeline" data-linenumber="863"><td class="num" id="LN863">863</td><td class="line"> channel_error = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="864"><td class="num" id="LN864">864</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="865"><td class="num" id="LN865">865</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="866"><td class="num" id="LN866">866</td><td class="line"> <span class='keyword'>if</span> (info-&gt;end_func != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="867"><td class="num" id="LN867">867</td><td class="line"> (*info-&gt;end_func) (info-&gt;end_data);</td></tr>
+<tr class="codeline" data-linenumber="868"><td class="num" id="LN868">868</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="869"><td class="num" id="LN869">869</td><td class="line"> <span class='comment'>/**/</span></td></tr>
+<tr class="codeline" data-linenumber="870"><td class="num" id="LN870">870</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="871"><td class="num" id="LN871">871</td><td class="line"> <span class='keyword'>if</span> (channel_error</td></tr>
+<tr class="codeline" data-linenumber="872"><td class="num" id="LN872">872</td><td class="line"> &amp;&amp; (process-&gt;error.type == FR_PROC_ERROR_IO_CHANNEL)</td></tr>
+<tr class="codeline" data-linenumber="873"><td class="num" id="LN873">873</td><td class="line"> &amp;&amp; g_error_matches (process-&gt;error.gerror, <span class='macro'>G_CONVERT_ERROR<span class='macro_popup'>g_convert_error_quark()</span></span>, G_CONVERT_ERROR_ILLEGAL_SEQUENCE))</td></tr>
+<tr class="codeline" data-linenumber="874"><td class="num" id="LN874">874</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="875"><td class="num" id="LN875">875</td><td class="line"> <span class='keyword'>if</span> (process-&gt;priv-&gt;current_charset &lt; n_charsets - 1) {</td></tr>
+<tr class="codeline" data-linenumber="876"><td class="num" id="LN876">876</td><td class="line"> <span class='comment'>/* try with another charset */</span></td></tr>
+<tr class="codeline" data-linenumber="877"><td class="num" id="LN877">877</td><td class="line"> process-&gt;priv-&gt;current_charset++;</td></tr>
+<tr class="codeline" data-linenumber="878"><td class="num" id="LN878">878</td><td class="line"> process-&gt;priv-&gt;running = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="879"><td class="num" id="LN879">879</td><td class="line"> process-&gt;restart = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="880"><td class="num" id="LN880">880</td><td class="line"> fr_process_start (process);</td></tr>
+<tr class="codeline" data-linenumber="881"><td class="num" id="LN881">881</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="882"><td class="num" id="LN882">882</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="883"><td class="num" id="LN883">883</td><td class="line"> <span class='comment'>/*fr_process_set_error (process, FR_PROC_ERROR_NONE, 0, NULL);*/</span></td></tr>
+<tr class="codeline" data-linenumber="884"><td class="num" id="LN884">884</td><td class="line"> fr_process_set_error (process, FR_PROC_ERROR_BAD_CHARSET, 0, process-&gt;error.gerror);</td></tr>
+<tr class="codeline" data-linenumber="885"><td class="num" id="LN885">885</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="886"><td class="num" id="LN886">886</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="887"><td class="num" id="LN887">887</td><td class="line"> <span class='comment'>/* Check whether to continue or stop the process */</span></td></tr>
+<tr class="codeline" data-linenumber="888"><td class="num" id="LN888">888</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="889"><td class="num" id="LN889">889</td><td class="line"> continue_process = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="890"><td class="num" id="LN890">890</td><td class="line"> <span class='keyword'>if</span> (info-&gt;continue_func != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="891"><td class="num" id="LN891">891</td><td class="line"> continue_process = (*info-&gt;continue_func) (info-&gt;continue_data);</td></tr>
+<tr class="codeline" data-linenumber="892"><td class="num" id="LN892">892</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="893"><td class="num" id="LN893">893</td><td class="line"> <span class='comment'>/* Execute next command. */</span></td></tr>
+<tr class="codeline" data-linenumber="894"><td class="num" id="LN894">894</td><td class="line"> <span class='keyword'>if</span> (continue_process) {</td></tr>
+<tr class="codeline" data-linenumber="895"><td class="num" id="LN895">895</td><td class="line"> <span class='keyword'>if</span> (process-&gt;error.type != FR_PROC_ERROR_NONE) {</td></tr>
+<tr class="codeline" data-linenumber="896"><td class="num" id="LN896">896</td><td class="line"> allow_sticky_processes_only (process, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="897"><td class="num" id="LN897">897</td><td class="line"><span class='directive'>#ifdef MATE_ENABLE_DEBUG</span></td></tr>
+<tr class="codeline" data-linenumber="898"><td class="num" id="LN898">898</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="899"><td class="num" id="LN899">899</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="900"><td class="num" id="LN900">900</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="901"><td class="num" id="LN901">901</td><td class="line"> g_print (<span class='string_literal'>"** ERROR **\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="902"><td class="num" id="LN902">902</td><td class="line"> <span class='keyword'>for</span> (scan = process-&gt;err.raw; scan; scan = scan-&gt;next)</td></tr>
+<tr class="codeline" data-linenumber="903"><td class="num" id="LN903">903</td><td class="line"> g_print (<span class='string_literal'>"%s\n"</span>, (<span class='keyword'>char</span> *)scan-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="904"><td class="num" id="LN904">904</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="905"><td class="num" id="LN905">905</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="906"><td class="num" id="LN906">906</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="907"><td class="num" id="LN907">907</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="908"><td class="num" id="LN908">908</td><td class="line"> <span class='keyword'>if</span> (process-&gt;priv-&gt;sticky_only) {</td></tr>
+<tr class="codeline" data-linenumber="909"><td class="num" id="LN909">909</td><td class="line"> <span class='keyword'>do</span> {</td></tr>
+<tr class="codeline" data-linenumber="910"><td class="num" id="LN910">910</td><td class="line"> process-&gt;priv-&gt;current_command++;</td></tr>
+<tr class="codeline" data-linenumber="911"><td class="num" id="LN911">911</td><td class="line"> } <span class='keyword'>while</span> ((process-&gt;priv-&gt;current_command &lt;= process-&gt;priv-&gt;n_comm)</td></tr>
+<tr class="codeline" data-linenumber="912"><td class="num" id="LN912">912</td><td class="line"> &amp;&amp; ! command_is_sticky (process, process-&gt;priv-&gt;current_command));</td></tr>
+<tr class="codeline" data-linenumber="913"><td class="num" id="LN913">913</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="914"><td class="num" id="LN914">914</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="915"><td class="num" id="LN915">915</td><td class="line"> process-&gt;priv-&gt;current_command++;</td></tr>
+<tr class="codeline" data-linenumber="916"><td class="num" id="LN916">916</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="917"><td class="num" id="LN917">917</td><td class="line"> <span class='keyword'>if</span> (process-&gt;priv-&gt;current_command &lt;= process-&gt;priv-&gt;n_comm) {</td></tr>
+<tr class="codeline" data-linenumber="918"><td class="num" id="LN918">918</td><td class="line"> start_current_command (process);</td></tr>
+<tr class="codeline" data-linenumber="919"><td class="num" id="LN919">919</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="920"><td class="num" id="LN920">920</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="921"><td class="num" id="LN921">921</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="922"><td class="num" id="LN922">922</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="923"><td class="num" id="LN923">923</td><td class="line"> <span class='comment'>/* Done */</span></td></tr>
+<tr class="codeline" data-linenumber="924"><td class="num" id="LN924">924</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="925"><td class="num" id="LN925">925</td><td class="line"> process-&gt;priv-&gt;current_command = -1;</td></tr>
+<tr class="codeline" data-linenumber="926"><td class="num" id="LN926">926</td><td class="line"> process-&gt;priv-&gt;use_standard_locale = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="927"><td class="num" id="LN927">927</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="928"><td class="num" id="LN928">928</td><td class="line"> <span class='keyword'>if</span> (process-&gt;out.raw != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="929"><td class="num" id="LN929">929</td><td class="line"> process-&gt;out.raw = g_list_reverse (process-&gt;out.raw);</td></tr>
+<tr class="codeline" data-linenumber="930"><td class="num" id="LN930">930</td><td class="line"> <span class='keyword'>if</span> (process-&gt;err.raw != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="931"><td class="num" id="LN931">931</td><td class="line"> process-&gt;err.raw = g_list_reverse (process-&gt;err.raw);</td></tr>
+<tr class="codeline" data-linenumber="932"><td class="num" id="LN932">932</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="933"><td class="num" id="LN933">933</td><td class="line"> process-&gt;priv-&gt;running = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="934"><td class="num" id="LN934">934</td><td class="line"> process-&gt;priv-&gt;stopping = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="935"><td class="num" id="LN935">935</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="936"><td class="num" id="LN936">936</td><td class="line"> <span class='keyword'>if</span> (process-&gt;priv-&gt;sticky_only) {</td></tr>
+<tr class="codeline" data-linenumber="937"><td class="num" id="LN937">937</td><td class="line"> <span class='comment'>/* Restore the first error. */</span></td></tr>
+<tr class="codeline" data-linenumber="938"><td class="num" id="LN938">938</td><td class="line"> fr_process_set_error (process,</td></tr>
+<tr class="codeline" data-linenumber="939"><td class="num" id="LN939">939</td><td class="line"> process-&gt;priv-&gt;first_error.type,</td></tr>
+<tr class="codeline" data-linenumber="940"><td class="num" id="LN940">940</td><td class="line"> process-&gt;priv-&gt;first_error.status,</td></tr>
+<tr class="codeline" data-linenumber="941"><td class="num" id="LN941">941</td><td class="line"> process-&gt;priv-&gt;first_error.gerror);</td></tr>
+<tr class="codeline" data-linenumber="942"><td class="num" id="LN942">942</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="943"><td class="num" id="LN943">943</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="944"><td class="num" id="LN944">944</td><td class="line"> g_signal_emit (<span class='macro'>G_OBJECT (process)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((process)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="945"><td class="num" id="LN945">945</td><td class="line"> fr_process_signals[DONE],</td></tr>
+<tr class="codeline" data-linenumber="946"><td class="num" id="LN946">946</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="947"><td class="num" id="LN947">947</td><td class="line"> &amp;process-&gt;error);</td></tr>
+<tr class="codeline" data-linenumber="948"><td class="num" id="LN948">948</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="949"><td class="num" id="LN949">949</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="950"><td class="num" id="LN950">950</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="951"><td class="num" id="LN951">951</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="952"><td class="num" id="LN952">952</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="953"><td class="num" id="LN953">953</td><td class="line">fr_process_use_standard_locale (FrProcess *process,</td></tr>
+<tr class="codeline" data-linenumber="954"><td class="num" id="LN954">954</td><td class="line"> gboolean use_stand_locale)</td></tr>
+<tr class="codeline" data-linenumber="955"><td class="num" id="LN955">955</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="956"><td class="num" id="LN956">956</td><td class="line"> <span class='macro'>g_return_if_fail (process != NULL)<span class='macro_popup'>do { if ((process != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "process != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="957"><td class="num" id="LN957">957</td><td class="line"> process-&gt;priv-&gt;use_standard_locale = use_stand_locale;</td></tr>
+<tr class="codeline" data-linenumber="958"><td class="num" id="LN958">958</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="959"><td class="num" id="LN959">959</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="960"><td class="num" id="LN960">960</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="961"><td class="num" id="LN961">961</td><td class="line">fr_process_start (FrProcess *process)</td></tr>
+<tr class="codeline" data-linenumber="962"><td class="num" id="LN962">962</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="963"><td class="num" id="LN963">963</td><td class="line"> <span class='macro'>g_return_if_fail (process != NULL)<span class='macro_popup'>do { if ((process != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "process != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="964"><td class="num" id="LN964">964</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="965"><td class="num" id="LN965">965</td><td class="line"> <span class='keyword'>if</span> (process-&gt;priv-&gt;running)</td></tr>
+<tr class="codeline" data-linenumber="966"><td class="num" id="LN966">966</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="967"><td class="num" id="LN967">967</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="968"><td class="num" id="LN968">968</td><td class="line"> fr_channel_data_reset (&amp;process-&gt;out);</td></tr>
+<tr class="codeline" data-linenumber="969"><td class="num" id="LN969">969</td><td class="line"> fr_channel_data_reset (&amp;process-&gt;err);</td></tr>
+<tr class="codeline" data-linenumber="970"><td class="num" id="LN970">970</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="971"><td class="num" id="LN971">971</td><td class="line"> process-&gt;priv-&gt;sticky_only = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="972"><td class="num" id="LN972">972</td><td class="line"> process-&gt;priv-&gt;current_command = 0;</td></tr>
+<tr class="codeline" data-linenumber="973"><td class="num" id="LN973">973</td><td class="line"> fr_process_set_error (process, FR_PROC_ERROR_NONE, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="974"><td class="num" id="LN974">974</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="975"><td class="num" id="LN975">975</td><td class="line"> <span class='keyword'>if</span> (! process-&gt;restart) {</td></tr>
+<tr class="codeline" data-linenumber="976"><td class="num" id="LN976">976</td><td class="line"> process-&gt;priv-&gt;current_charset = -1;</td></tr>
+<tr class="codeline" data-linenumber="977"><td class="num" id="LN977">977</td><td class="line"> g_signal_emit (<span class='macro'>G_OBJECT (process)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((process)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="978"><td class="num" id="LN978">978</td><td class="line"> fr_process_signals[START],</td></tr>
+<tr class="codeline" data-linenumber="979"><td class="num" id="LN979">979</td><td class="line"> 0);</td></tr>
+<tr class="codeline" data-linenumber="980"><td class="num" id="LN980">980</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="981"><td class="num" id="LN981">981</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="982"><td class="num" id="LN982">982</td><td class="line"> process-&gt;priv-&gt;stopping = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="983"><td class="num" id="LN983">983</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="984"><td class="num" id="LN984">984</td><td class="line"> <span class='keyword'>if</span> (process-&gt;priv-&gt;n_comm == -1) {</td></tr>
+<tr class="codeline" data-linenumber="985"><td class="num" id="LN985">985</td><td class="line"> process-&gt;priv-&gt;running = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="986"><td class="num" id="LN986">986</td><td class="line"> g_signal_emit (<span class='macro'>G_OBJECT (process)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((process)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="987"><td class="num" id="LN987">987</td><td class="line"> fr_process_signals[DONE],</td></tr>
+<tr class="codeline" data-linenumber="988"><td class="num" id="LN988">988</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="989"><td class="num" id="LN989">989</td><td class="line"> &amp;process-&gt;error);</td></tr>
+<tr class="codeline" data-linenumber="990"><td class="num" id="LN990">990</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="991"><td class="num" id="LN991">991</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="992"><td class="num" id="LN992">992</td><td class="line"> process-&gt;priv-&gt;running = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="993"><td class="num" id="LN993">993</td><td class="line"> start_current_command (process);</td></tr>
+<tr class="codeline" data-linenumber="994"><td class="num" id="LN994">994</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="995"><td class="num" id="LN995">995</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="996"><td class="num" id="LN996">996</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="997"><td class="num" id="LN997">997</td><td class="line">fr_close_suspend_process(FrProcess *process)</td></tr>
+<tr class="codeline" data-linenumber="998"><td class="num" id="LN998">998</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="999"><td class="num" id="LN999">999</td><td class="line"> <span class='keyword'>int</span> ret = -1;</td></tr>
+<tr class="codeline" data-linenumber="1000"><td class="num" id="LN1000">1000</td><td class="line"> <span class='macro'>g_return_val_if_fail(process != NULL, ret)<span class='macro_popup'>do { if ((process != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "process != NULL"<br>); return (ret); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1001"><td class="num" id="LN1001">1001</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1002"><td class="num" id="LN1002">1002</td><td class="line"> <span class='keyword'>if</span> (process-&gt;priv-&gt;suspend)</td></tr>
+<tr class="codeline" data-linenumber="1003"><td class="num" id="LN1003">1003</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1004"><td class="num" id="LN1004">1004</td><td class="line"> <span class='keyword'>if</span> (process-&gt;priv-&gt;command_pid &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="1005"><td class="num" id="LN1005">1005</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1006"><td class="num" id="LN1006">1006</td><td class="line"> ret = <span class="mrange">killpg (process-&gt;priv-&gt;command_pid,<span class='macro'>SIGTERM<span class='macro_popup'>15</span></span>)</span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:13ex">Value stored to 'ret' is never read</div></td></tr>
+<tr class="codeline" data-linenumber="1007"><td class="num" id="LN1007">1007</td><td class="line"> ret = killpg (process-&gt;priv-&gt;command_pid,<span class='macro'>SIGCONT<span class='macro_popup'>18</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1008"><td class="num" id="LN1008">1008</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1009"><td class="num" id="LN1009">1009</td><td class="line"> <span class='keyword'>if</span>(ret == 0)</td></tr>
+<tr class="codeline" data-linenumber="1010"><td class="num" id="LN1010">1010</td><td class="line"> process-&gt;priv-&gt;suspend = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1011"><td class="num" id="LN1011">1011</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1012"><td class="num" id="LN1012">1012</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1013"><td class="num" id="LN1013">1013</td><td class="line"> <span class='keyword'>return</span> ret;</td></tr>
+<tr class="codeline" data-linenumber="1014"><td class="num" id="LN1014">1014</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1015"><td class="num" id="LN1015">1015</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="1016"><td class="num" id="LN1016">1016</td><td class="line">fr_switch_process_state (FrProcess *process)</td></tr>
+<tr class="codeline" data-linenumber="1017"><td class="num" id="LN1017">1017</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1018"><td class="num" id="LN1018">1018</td><td class="line"> <span class='keyword'>int</span> ret = -1;</td></tr>
+<tr class="codeline" data-linenumber="1019"><td class="num" id="LN1019">1019</td><td class="line"> <span class='macro'>g_return_val_if_fail(process != NULL, ret)<span class='macro_popup'>do { if ((process != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "process != NULL"<br>); return (ret); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1020"><td class="num" id="LN1020">1020</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1021"><td class="num" id="LN1021">1021</td><td class="line"> <span class='keyword'>if</span> (process-&gt;priv-&gt;stopping)</td></tr>
+<tr class="codeline" data-linenumber="1022"><td class="num" id="LN1022">1022</td><td class="line"> <span class='keyword'>return</span> ret;</td></tr>
+<tr class="codeline" data-linenumber="1023"><td class="num" id="LN1023">1023</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1024"><td class="num" id="LN1024">1024</td><td class="line"> <span class='keyword'>if</span> (process-&gt;priv-&gt;suspend)</td></tr>
+<tr class="codeline" data-linenumber="1025"><td class="num" id="LN1025">1025</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1026"><td class="num" id="LN1026">1026</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1027"><td class="num" id="LN1027">1027</td><td class="line"> <span class='keyword'>if</span> (process-&gt;priv-&gt;command_pid &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="1028"><td class="num" id="LN1028">1028</td><td class="line"> ret = killpg (process-&gt;priv-&gt;command_pid,<span class='macro'>SIGCONT<span class='macro_popup'>18</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1029"><td class="num" id="LN1029">1029</td><td class="line"> <span class='keyword'>if</span>(ret == 0)</td></tr>
+<tr class="codeline" data-linenumber="1030"><td class="num" id="LN1030">1030</td><td class="line"> process-&gt;priv-&gt;suspend = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1031"><td class="num" id="LN1031">1031</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1032"><td class="num" id="LN1032">1032</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1033"><td class="num" id="LN1033">1033</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1034"><td class="num" id="LN1034">1034</td><td class="line"> <span class='keyword'>if</span> (process-&gt;priv-&gt;command_pid &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="1035"><td class="num" id="LN1035">1035</td><td class="line"> ret = killpg (process-&gt;priv-&gt;command_pid,<span class='macro'>SIGSTOP<span class='macro_popup'>19</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1036"><td class="num" id="LN1036">1036</td><td class="line"> <span class='keyword'>if</span>(ret == 0)</td></tr>
+<tr class="codeline" data-linenumber="1037"><td class="num" id="LN1037">1037</td><td class="line"> process-&gt;priv-&gt;suspend = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1038"><td class="num" id="LN1038">1038</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1039"><td class="num" id="LN1039">1039</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1040"><td class="num" id="LN1040">1040</td><td class="line"> <span class='keyword'>return</span> ret;</td></tr>
+<tr class="codeline" data-linenumber="1041"><td class="num" id="LN1041">1041</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1042"><td class="num" id="LN1042">1042</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1043"><td class="num" id="LN1043">1043</td><td class="line">fr_process_stop_priv (FrProcess *process,</td></tr>
+<tr class="codeline" data-linenumber="1044"><td class="num" id="LN1044">1044</td><td class="line"> gboolean emit_signal)</td></tr>
+<tr class="codeline" data-linenumber="1045"><td class="num" id="LN1045">1045</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1046"><td class="num" id="LN1046">1046</td><td class="line"> <span class='macro'>g_return_if_fail (process != NULL)<span class='macro_popup'>do { if ((process != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "process != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1047"><td class="num" id="LN1047">1047</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1048"><td class="num" id="LN1048">1048</td><td class="line"> <span class='keyword'>if</span> (! process-&gt;priv-&gt;running)</td></tr>
+<tr class="codeline" data-linenumber="1049"><td class="num" id="LN1049">1049</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1050"><td class="num" id="LN1050">1050</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1051"><td class="num" id="LN1051">1051</td><td class="line"> <span class='keyword'>if</span> (process-&gt;priv-&gt;stopping)</td></tr>
+<tr class="codeline" data-linenumber="1052"><td class="num" id="LN1052">1052</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1053"><td class="num" id="LN1053">1053</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1054"><td class="num" id="LN1054">1054</td><td class="line"> process-&gt;priv-&gt;stopping = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1055"><td class="num" id="LN1055">1055</td><td class="line"> process-&gt;error.type = FR_PROC_ERROR_STOPPED;</td></tr>
+<tr class="codeline" data-linenumber="1056"><td class="num" id="LN1056">1056</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1057"><td class="num" id="LN1057">1057</td><td class="line"> <span class='keyword'>if</span> (command_is_sticky (process, process-&gt;priv-&gt;current_command))</td></tr>
+<tr class="codeline" data-linenumber="1058"><td class="num" id="LN1058">1058</td><td class="line"> allow_sticky_processes_only (process, emit_signal);</td></tr>
+<tr class="codeline" data-linenumber="1059"><td class="num" id="LN1059">1059</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1060"><td class="num" id="LN1060">1060</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (process-&gt;term_on_stop &amp;&amp; (process-&gt;priv-&gt;command_pid &gt; 0))</td></tr>
+<tr class="codeline" data-linenumber="1061"><td class="num" id="LN1061">1061</td><td class="line"> killpg (process-&gt;priv-&gt;command_pid, <span class='macro'>SIGTERM<span class='macro_popup'>15</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1062"><td class="num" id="LN1062">1062</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1063"><td class="num" id="LN1063">1063</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1064"><td class="num" id="LN1064">1064</td><td class="line"> <span class='keyword'>if</span> (process-&gt;priv-&gt;check_timeout != 0) {</td></tr>
+<tr class="codeline" data-linenumber="1065"><td class="num" id="LN1065">1065</td><td class="line"> g_source_remove (process-&gt;priv-&gt;check_timeout);</td></tr>
+<tr class="codeline" data-linenumber="1066"><td class="num" id="LN1066">1066</td><td class="line"> process-&gt;priv-&gt;check_timeout = 0;</td></tr>
+<tr class="codeline" data-linenumber="1067"><td class="num" id="LN1067">1067</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1068"><td class="num" id="LN1068">1068</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1069"><td class="num" id="LN1069">1069</td><td class="line"> process-&gt;priv-&gt;command_pid = 0;</td></tr>
+<tr class="codeline" data-linenumber="1070"><td class="num" id="LN1070">1070</td><td class="line"> fr_channel_data_close_source (&amp;process-&gt;out);</td></tr>
+<tr class="codeline" data-linenumber="1071"><td class="num" id="LN1071">1071</td><td class="line"> fr_channel_data_close_source (&amp;process-&gt;err);</td></tr>
+<tr class="codeline" data-linenumber="1072"><td class="num" id="LN1072">1072</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1073"><td class="num" id="LN1073">1073</td><td class="line"> process-&gt;priv-&gt;running = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1074"><td class="num" id="LN1074">1074</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1075"><td class="num" id="LN1075">1075</td><td class="line"> <span class='keyword'>if</span> (emit_signal)</td></tr>
+<tr class="codeline" data-linenumber="1076"><td class="num" id="LN1076">1076</td><td class="line"> g_signal_emit (<span class='macro'>G_OBJECT (process)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((process)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1077"><td class="num" id="LN1077">1077</td><td class="line"> fr_process_signals[DONE],</td></tr>
+<tr class="codeline" data-linenumber="1078"><td class="num" id="LN1078">1078</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="1079"><td class="num" id="LN1079">1079</td><td class="line"> &amp;process-&gt;error);</td></tr>
+<tr class="codeline" data-linenumber="1080"><td class="num" id="LN1080">1080</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1081"><td class="num" id="LN1081">1081</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1082"><td class="num" id="LN1082">1082</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1083"><td class="num" id="LN1083">1083</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1084"><td class="num" id="LN1084">1084</td><td class="line">fr_process_stop (FrProcess *process)</td></tr>
+<tr class="codeline" data-linenumber="1085"><td class="num" id="LN1085">1085</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1086"><td class="num" id="LN1086">1086</td><td class="line"> fr_process_stop_priv (process, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1087"><td class="num" id="LN1087">1087</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1088"><td class="num" id="LN1088">1088</td><td class="line"><span class='keyword'>int</span> start_switch_state (FrProcess *process)</td></tr>
+<tr class="codeline" data-linenumber="1089"><td class="num" id="LN1089">1089</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1090"><td class="num" id="LN1090">1090</td><td class="line"> <span class='keyword'>return</span> fr_switch_process_state (process);</td></tr>
+<tr class="codeline" data-linenumber="1091"><td class="num" id="LN1091">1091</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1092"><td class="num" id="LN1092">1092</td><td class="line"><span class='keyword'>void</span> start_close_suspend_process(FrProcess *process)</td></tr>
+<tr class="codeline" data-linenumber="1093"><td class="num" id="LN1093">1093</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1094"><td class="num" id="LN1094">1094</td><td class="line"> fr_close_suspend_process(process);</td></tr>
+<tr class="codeline" data-linenumber="1095"><td class="num" id="LN1095">1095</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1096"><td class="num" id="LN1096">1096</td><td class="line"> </td></tr>
+</table></body></html>
diff --git a/2024-03-27-012041-5213-1@78903120e74d_master/report-41f5bf.html b/2024-03-27-012041-5213-1@78903120e74d_master/report-41f5bf.html
new file mode 100644
index 0000000..55f73c1
--- /dev/null
+++ b/2024-03-27-012041-5213-1@78903120e74d_master/report-41f5bf.html
@@ -0,0 +1,1083 @@
+<!doctype html>
+<html>
+<head>
+<title>dlg-update.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC Access to field 'data' results in a dereference of a null pointer (loaded from field 'file_list') -->
+
+<!-- BUGTYPE Dereference of null pointer -->
+
+<!-- BUGCATEGORY Logic error -->
+
+<!-- BUGFILE /rootdir/src/dlg-update.c -->
+
+<!-- FILENAME dlg-update.c -->
+
+<!-- FUNCTIONNAME update_file_list -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT 41f5bfe03b9f2f1e1e3fc55142a927c1 -->
+
+<!-- BUGLINE 149 -->
+
+<!-- BUGCOLUMN 20 -->
+
+<!-- BUGPATHLENGTH 8 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>src/dlg-update.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 149, column 20</a><br />Access to field 'data' results in a dereference of a null pointer (loaded from field 'file_list')</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name dlg-update.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/src -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I .. -I ../mate-submodules/libegg/ -I .. -I .. -D ENGRAMPA_RESOURCE_UI_PATH="/org/mate/Engrampa/ui" -D FR_PREFIX="/usr/local" -D FR_SYSCONFDIR="/usr/local/etc" -D FR_DATADIR="/usr/local/share" -D PRIVDATADIR="/usr/local/share/engrampa/" -D FR_LIBDIR="/usr/local/lib" -D PKG_DATA_DIR="/usr/local/share/engrampa" -D PIXMAPSDIR="/usr/local/share/pixmaps" -D GLADEDIR="" -D LOCALEDIR="/usr/local/share/locale" -D SHDIR="/usr/local/libexec/engrampa/" -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/cairo -I /usr/include/gio-unix-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/libmount -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/fribidi -I /usr/include/sysprof-6 -I /usr/include/libpng16 -I /usr/include/json-glib-1.0 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/libmount -I /usr/include/blkid -I /usr/include/sysprof-6 -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-unused-parameter -fdebug-compilation-dir=/rootdir/src -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2024-03-27-012041-5213-1 -x c dlg-update.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"117": 1, "118": 1, "119": 1, "120": 1, "121": 1, "122": 1, "124": 1, "128": 1, "129": 1, "148": 1, "149": 1, "365": 1, "366": 1, "367": 1, "368": 1, "369": 1, "370": 1, "374": 1, "382": 1, "383": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+ <path class="arrow" id="arrow0"/>
+ <path class="arrow" id="arrow1"/>
+ <path class="arrow" id="arrow2"/>
+ <path class="arrow" id="arrow3"/>
+ <path class="arrow" id="arrow4"/>
+ <path class="arrow" id="arrow5"/>
+ <path class="arrow" id="arrow6"/>
+ <path class="arrow" id="arrow7"/>
+ <path class="arrow" id="arrow8"/>
+ <path class="arrow" id="arrow9"/>
+ <path class="arrow" id="arrow10"/>
+ <path class="arrow" id="arrow11"/>
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 12,9,8,7,4,2,2,0,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"><span class='comment'>/*</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>* Engrampa</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>* Copyright (C) 2008 Free Software Foundation, Inc.</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>* This program is free software; you can redistribute it and/or modify</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>* it under the terms of the GNU General Public License as published by</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>* the Free Software Foundation; either version 2 of the License, or</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>* (at your option) any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>* This program is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>* GNU General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>* You should have received a copy of the GNU General Public License</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>* along with this program; if not, write to the Free Software</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> <span class='comment'>* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"><span class='directive'>#include &lt;config.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"><span class='directive'>#include &lt;glib/gi18n.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#include &lt;string.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"><span class='directive'>#include &lt;gtk/gtk.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"><span class='directive'>#include "dlg-update.h"</span></td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#include "file-utils.h"</span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"><span class='directive'>#include "glib-utils.h"</span></td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"><span class='directive'>#include "gtk-utils.h"</span></td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"><span class='directive'>#include "fr-init.h"</span></td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"><span class='directive'>#include "fr-window.h"</span></td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"><span class='directive'>#define <span class='macro'>GET_WIDGET(x)<span class='macro_popup'>(((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_builder_get_object (builder, (x)))), ((gtk_widget_get_type<br> ())))))))</span></span> (<span class='macro'>GTK_WIDGET (gtk_builder_get_object (builder, (x)))<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_builder_get_object (builder, (x)))), ((gtk_widget_get_type<br> ()))))))</span></span>)</span></td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line"><span class='keyword'>enum</span> {</td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line"> IS_SELECTED_COLUMN,</td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"> NAME_COLUMN,</td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line"> DATA_COLUMN,</td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line"> N_COLUMNS</td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span> {</td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line"> FrWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"> GtkWidget *update_file_dialog;</td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line"> GtkWidget *update_file_primary_text_label;</td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"> GtkWidget *update_file_secondary_text_label;</td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"> GtkWidget *update_files_dialog;</td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"> GtkWidget *update_files_primary_text_label;</td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line"> GtkWidget *update_files_secondary_text_label;</td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line"> GtkWidget *update_files_treeview;</td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"> GtkWidget *update_files_ok_button;</td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line"> GList *file_list;</td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line"> GtkTreeModel *list_model;</td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line">} DialogData;</td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"><span class='comment'>/* called when the main dialog is closed. */</span></td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line">dlg_update__destroy_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"> DialogData *data)</td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line"> fr_window_update_dialog_closed (data-&gt;window);</td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"> <span class='keyword'>if</span> (data-&gt;file_list != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"> g_list_free (data-&gt;file_list);</td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line"> g_free (data);</td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"><span class='keyword'>static</span> GList*</td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line">get_selected_files (DialogData *data)</td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line"> GList *selection = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line"> GtkTreeIter iter;</td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"> <span class='keyword'>if</span> (! gtk_tree_model_get_iter_first (data-&gt;list_model, &amp;iter))</td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line"> <span class='keyword'>do</span> {</td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"> gboolean is_selected;</td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"> OpenFile *file;</td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"> gtk_tree_model_get (data-&gt;list_model, &amp;iter,</td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line"> IS_SELECTED_COLUMN, &amp;is_selected,</td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line"> DATA_COLUMN, &amp;file,</td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line"> <span class='keyword'>if</span> (is_selected)</td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line"> selection = g_list_prepend (selection, file);</td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"> } <span class='keyword'>while</span> (gtk_tree_model_iter_next (data-&gt;list_model, &amp;iter));</td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line"> <span class='keyword'>return</span> g_list_reverse (selection);</td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line">update_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"> gpointer callback_data)</td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"> DialogData *data = callback_data;</td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"> GList *selection;</td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"> selection = get_selected_files (data);</td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line"> <span class='keyword'>if</span> (fr_window_update_files (data-&gt;window, selection)) {</td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"> <span class='keyword'>int</span> n_files;</td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> n_files = g_list_length (data-&gt;file_list);</td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line"> <span class='keyword'>if</span> (n_files == 1)</td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line"> gtk_widget_destroy (data-&gt;update_file_dialog);</td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line"> gtk_widget_destroy (data-&gt;update_files_dialog);</td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line"> <span class='keyword'>if</span> (selection != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> g_list_free (selection);</td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"><span id="start6"><span class='keyword'>static</span></span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line">update_file_list (DialogData *data)</td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line"> <span id="start5"><span id="end6">guint</span></span> n_files;</td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line"> GtkTreeIter iter;</td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"> n_files = g_list_length (data-&gt;file_list);</td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> <span class='comment'>/* update the file list */</span></td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line"> gtk_list_store_clear (<span class='macro'>GTK_LIST_STORE (data-&gt;list_model)<span class='macro_popup'>((((GtkListStore*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data-&gt;list_model)), ((gtk_list_store_get_type ())))))<br>)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> <span id="start4"><span id="end5"><span class='keyword'>for</span></span></span> (scan = data-&gt;file_list; <span id="start3"><span class="mrange"><span id="end4">scan</span></span></span>; scan = scan-&gt;next) {</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path4" class="msg msgEvent" style="margin-left:38ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">4</div></td><td><div class="PathNav"><a href="#Path3" title="Previous event (3)">&#x2190;</a></div></td><td>Assuming pointer value is null</td><td><div class="PathNav"><a href="#Path5" title="Next event (5)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path5" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">5</div></td><td><div class="PathNav"><a href="#Path4" title="Previous event (4)">&#x2190;</a></div></td><td>Loop condition is false. Execution continues on line 148</td><td><div class="PathNav"><a href="#Path6" title="Next event (6)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"> <span class='keyword'>char</span> *utf8_name;</td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"> OpenFile *file = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"> gtk_list_store_append (<span class='macro'>GTK_LIST_STORE (data-&gt;list_model)<span class='macro_popup'>((((GtkListStore*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data-&gt;list_model)), ((gtk_list_store_get_type ())))))<br>)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> &amp;iter);</td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> utf8_name = g_filename_display_name (file_name_from_path (file-&gt;path));</td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line"> gtk_list_store_set (<span class='macro'>GTK_LIST_STORE (data-&gt;list_model)<span class='macro_popup'>((((GtkListStore*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data-&gt;list_model)), ((gtk_list_store_get_type ())))))<br>)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line"> &amp;iter,</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"> IS_SELECTED_COLUMN, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"> NAME_COLUMN, utf8_name,</td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line"> DATA_COLUMN, file,</td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"> g_free (utf8_name);</td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line"> <span class='comment'>/* update the labels */</span></td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"> <span id="start2"><span id="end3"><span class='keyword'>if</span></span></span> (<span id="start1"><span class="mrange"><span id="end2">n_files</span></span> == 1</span>) {</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path6" class="msg msgEvent" style="margin-left:13ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">6</div></td><td><div class="PathNav"><a href="#Path5" title="Previous event (5)">&#x2190;</a></div></td><td>Assuming 'n_files' is equal to 1</td><td><div class="PathNav"><a href="#Path7" title="Next event (7)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path7" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">7</div></td><td><div class="PathNav"><a href="#Path6" title="Previous event (6)">&#x2190;</a></div></td><td>Taking true branch</td><td><div class="PathNav"><a href="#EndPath" title="Next event (8)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"> <span id="start0"><span id="end1">OpenFile</span></span> *file = <span id="end0">data</span>-&gt;<span class="mrange">file_list</span>-&gt;data;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:34ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">8</div></td><td><div class="PathNav"><a href="#Path7" title="Previous event (7)">&#x2190;</a></div></td><td>Access to field 'data' results in a dereference of a null pointer (loaded from field 'file_list')</td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line"> <span class='keyword'>char</span> *file_name;</td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> <span class='keyword'>char</span> *unescaped;</td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line"> <span class='keyword'>char</span> *archive_name;</td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"> <span class='keyword'>char</span> *label;</td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line"> <span class='keyword'>char</span> *markup;</td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"> <span class='comment'>/* primary text */</span></td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line"> file_name = g_filename_display_name (file_name_from_path (file-&gt;path));</td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"> unescaped = g_uri_unescape_string (fr_window_get_archive_uri (data-&gt;window), <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> archive_name = g_path_get_basename (unescaped);</td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> label = g_markup_printf_escaped (<span class='macro'>_(<span class='string_literal'>"Update the file \"%s\" in the archive \"%s\"?"</span>)<span class='macro_popup'>gettext ("Update the file \"%s\" in the archive \"%s\"?")</span></span>, file_name, archive_name);</td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"> markup = g_strdup_printf (<span class='string_literal'>"&lt;big&gt;&lt;b&gt;%s&lt;/b&gt;&lt;/big&gt;"</span>, label);</td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> gtk_label_set_markup (<span class='macro'>GTK_LABEL (data-&gt;update_file_primary_text_label)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data-&gt;update_file_primary_text_label)), ((gtk_label_get_type<br> ()))))))</span></span>, markup);</td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> g_free (markup);</td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> g_free (label);</td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> g_free (archive_name);</td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line"> g_free (unescaped);</td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line"> g_free (file_name);</td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line"> <span class='comment'>/* secondary text */</span></td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line"> label = g_strdup_printf (g_dngettext (<span class='macro'>GETTEXT_PACKAGE<span class='macro_popup'>"engrampa"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"> <span class='string_literal'>"The file has been modified with an external application. If you don't update the file in the archive, all of your changes will be lost."</span>,</td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"> <span class='string_literal'>"%u files have been modified with an external application. If you don't update the files in the archive, all of your changes will be lost."</span>,</td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line"> (gulong) n_files),</td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> n_files);</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> gtk_label_set_text (<span class='macro'>GTK_LABEL (data-&gt;update_file_secondary_text_label)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data-&gt;update_file_secondary_text_label)), ((gtk_label_get_type<br> ()))))))</span></span>, label);</td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line"> g_free (label);</td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (n_files &gt; 1) {</td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"> <span class='keyword'>char</span> *unescaped;</td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"> <span class='keyword'>char</span> *archive_name;</td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line"> <span class='keyword'>char</span> *label;</td></tr>
+<tr class="codeline" data-linenumber="185"><td class="num" id="LN185">185</td><td class="line"> <span class='keyword'>char</span> *markup;</td></tr>
+<tr class="codeline" data-linenumber="186"><td class="num" id="LN186">186</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="187"><td class="num" id="LN187">187</td><td class="line"> <span class='comment'>/* primary text */</span></td></tr>
+<tr class="codeline" data-linenumber="188"><td class="num" id="LN188">188</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="189"><td class="num" id="LN189">189</td><td class="line"> unescaped = g_uri_unescape_string (fr_window_get_archive_uri (data-&gt;window), <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="190"><td class="num" id="LN190">190</td><td class="line"> archive_name = g_path_get_basename (unescaped);</td></tr>
+<tr class="codeline" data-linenumber="191"><td class="num" id="LN191">191</td><td class="line"> label = g_markup_printf_escaped (<span class='macro'>_(<span class='string_literal'>"Update the files in the archive \"%s\"?"</span>)<span class='macro_popup'>gettext ("Update the files in the archive \"%s\"?")</span></span>, archive_name);</td></tr>
+<tr class="codeline" data-linenumber="192"><td class="num" id="LN192">192</td><td class="line"> markup = g_strdup_printf (<span class='string_literal'>"&lt;big&gt;&lt;b&gt;%s&lt;/b&gt;&lt;/big&gt;"</span>, label);</td></tr>
+<tr class="codeline" data-linenumber="193"><td class="num" id="LN193">193</td><td class="line"> gtk_label_set_markup (<span class='macro'>GTK_LABEL (data-&gt;update_files_primary_text_label)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data-&gt;update_files_primary_text_label)), ((gtk_label_get_type<br> ()))))))</span></span>, markup);</td></tr>
+<tr class="codeline" data-linenumber="194"><td class="num" id="LN194">194</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="195"><td class="num" id="LN195">195</td><td class="line"> g_free (markup);</td></tr>
+<tr class="codeline" data-linenumber="196"><td class="num" id="LN196">196</td><td class="line"> g_free (label);</td></tr>
+<tr class="codeline" data-linenumber="197"><td class="num" id="LN197">197</td><td class="line"> g_free (archive_name);</td></tr>
+<tr class="codeline" data-linenumber="198"><td class="num" id="LN198">198</td><td class="line"> g_free (unescaped);</td></tr>
+<tr class="codeline" data-linenumber="199"><td class="num" id="LN199">199</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="200"><td class="num" id="LN200">200</td><td class="line"> <span class='comment'>/* secondary text */</span></td></tr>
+<tr class="codeline" data-linenumber="201"><td class="num" id="LN201">201</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="202"><td class="num" id="LN202">202</td><td class="line"> label = g_strdup_printf (g_dngettext (<span class='macro'>GETTEXT_PACKAGE<span class='macro_popup'>"engrampa"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="203"><td class="num" id="LN203">203</td><td class="line"> <span class='string_literal'>"The file has been modified with an external application. If you don't update the file in the archive, all of your changes will be lost."</span>,</td></tr>
+<tr class="codeline" data-linenumber="204"><td class="num" id="LN204">204</td><td class="line"> <span class='string_literal'>"%u files have been modified with an external application. If you don't update the files in the archive, all of your changes will be lost."</span>,</td></tr>
+<tr class="codeline" data-linenumber="205"><td class="num" id="LN205">205</td><td class="line"> (gulong) n_files),</td></tr>
+<tr class="codeline" data-linenumber="206"><td class="num" id="LN206">206</td><td class="line"> n_files);</td></tr>
+<tr class="codeline" data-linenumber="207"><td class="num" id="LN207">207</td><td class="line"> gtk_label_set_text (<span class='macro'>GTK_LABEL (data-&gt;update_files_secondary_text_label)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data-&gt;update_files_secondary_text_label)), ((gtk_label_get_type<br> ()))))))</span></span>, label);</td></tr>
+<tr class="codeline" data-linenumber="208"><td class="num" id="LN208">208</td><td class="line"> g_free (label);</td></tr>
+<tr class="codeline" data-linenumber="209"><td class="num" id="LN209">209</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="210"><td class="num" id="LN210">210</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="211"><td class="num" id="LN211">211</td><td class="line"> <span class='comment'>/* show the appropriate dialog */</span></td></tr>
+<tr class="codeline" data-linenumber="212"><td class="num" id="LN212">212</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="213"><td class="num" id="LN213">213</td><td class="line"> <span class='keyword'>if</span> (n_files == 1) {</td></tr>
+<tr class="codeline" data-linenumber="214"><td class="num" id="LN214">214</td><td class="line"> <span class='comment'>/*gtk_window_set_modal (GTK_WINDOW (data-&gt;update_files_dialog), FALSE);*/</span></td></tr>
+<tr class="codeline" data-linenumber="215"><td class="num" id="LN215">215</td><td class="line"> gtk_widget_hide (data-&gt;update_files_dialog);</td></tr>
+<tr class="codeline" data-linenumber="216"><td class="num" id="LN216">216</td><td class="line"> <span class='comment'>/*gtk_window_set_modal (GTK_WINDOW (data-&gt;update_file_dialog), TRUE);*/</span></td></tr>
+<tr class="codeline" data-linenumber="217"><td class="num" id="LN217">217</td><td class="line"> gtk_widget_show (data-&gt;update_file_dialog);</td></tr>
+<tr class="codeline" data-linenumber="218"><td class="num" id="LN218">218</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="219"><td class="num" id="LN219">219</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (n_files &gt; 1) {</td></tr>
+<tr class="codeline" data-linenumber="220"><td class="num" id="LN220">220</td><td class="line"> <span class='comment'>/*gtk_window_set_modal (GTK_WINDOW (data-&gt;update_file_dialog), FALSE);*/</span></td></tr>
+<tr class="codeline" data-linenumber="221"><td class="num" id="LN221">221</td><td class="line"> gtk_widget_hide (data-&gt;update_file_dialog);</td></tr>
+<tr class="codeline" data-linenumber="222"><td class="num" id="LN222">222</td><td class="line"> <span class='comment'>/*gtk_window_set_modal (GTK_WINDOW (data-&gt;update_files_dialog), TRUE);*/</span></td></tr>
+<tr class="codeline" data-linenumber="223"><td class="num" id="LN223">223</td><td class="line"> gtk_widget_show (data-&gt;update_files_dialog);</td></tr>
+<tr class="codeline" data-linenumber="224"><td class="num" id="LN224">224</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="225"><td class="num" id="LN225">225</td><td class="line"> <span class='keyword'>else</span> { <span class='comment'>/* n_files == 0 */</span></td></tr>
+<tr class="codeline" data-linenumber="226"><td class="num" id="LN226">226</td><td class="line"> <span class='comment'>/*gtk_window_set_modal (GTK_WINDOW (data-&gt;update_files_dialog), FALSE);*/</span></td></tr>
+<tr class="codeline" data-linenumber="227"><td class="num" id="LN227">227</td><td class="line"> gtk_widget_hide (data-&gt;update_files_dialog);</td></tr>
+<tr class="codeline" data-linenumber="228"><td class="num" id="LN228">228</td><td class="line"> <span class='comment'>/*gtk_window_set_modal (GTK_WINDOW (data-&gt;update_file_dialog), FALSE);*/</span></td></tr>
+<tr class="codeline" data-linenumber="229"><td class="num" id="LN229">229</td><td class="line"> gtk_widget_hide (data-&gt;update_file_dialog);</td></tr>
+<tr class="codeline" data-linenumber="230"><td class="num" id="LN230">230</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="231"><td class="num" id="LN231">231</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="232"><td class="num" id="LN232">232</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="233"><td class="num" id="LN233">233</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="234"><td class="num" id="LN234">234</td><td class="line">n_selected (DialogData *data)</td></tr>
+<tr class="codeline" data-linenumber="235"><td class="num" id="LN235">235</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="236"><td class="num" id="LN236">236</td><td class="line"> <span class='keyword'>int</span> n = 0;</td></tr>
+<tr class="codeline" data-linenumber="237"><td class="num" id="LN237">237</td><td class="line"> GtkTreeIter iter;</td></tr>
+<tr class="codeline" data-linenumber="238"><td class="num" id="LN238">238</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="239"><td class="num" id="LN239">239</td><td class="line"> <span class='keyword'>if</span> (! gtk_tree_model_get_iter_first (data-&gt;list_model, &amp;iter))</td></tr>
+<tr class="codeline" data-linenumber="240"><td class="num" id="LN240">240</td><td class="line"> <span class='keyword'>return</span> 0;</td></tr>
+<tr class="codeline" data-linenumber="241"><td class="num" id="LN241">241</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="242"><td class="num" id="LN242">242</td><td class="line"> <span class='keyword'>do</span> {</td></tr>
+<tr class="codeline" data-linenumber="243"><td class="num" id="LN243">243</td><td class="line"> gboolean is_selected;</td></tr>
+<tr class="codeline" data-linenumber="244"><td class="num" id="LN244">244</td><td class="line"> gtk_tree_model_get (data-&gt;list_model, &amp;iter, IS_SELECTED_COLUMN, &amp;is_selected, -1);</td></tr>
+<tr class="codeline" data-linenumber="245"><td class="num" id="LN245">245</td><td class="line"> <span class='keyword'>if</span> (is_selected)</td></tr>
+<tr class="codeline" data-linenumber="246"><td class="num" id="LN246">246</td><td class="line"> n++;</td></tr>
+<tr class="codeline" data-linenumber="247"><td class="num" id="LN247">247</td><td class="line"> } <span class='keyword'>while</span> (gtk_tree_model_iter_next (data-&gt;list_model, &amp;iter));</td></tr>
+<tr class="codeline" data-linenumber="248"><td class="num" id="LN248">248</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="249"><td class="num" id="LN249">249</td><td class="line"> <span class='keyword'>return</span> n;</td></tr>
+<tr class="codeline" data-linenumber="250"><td class="num" id="LN250">250</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="251"><td class="num" id="LN251">251</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="252"><td class="num" id="LN252">252</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="253"><td class="num" id="LN253">253</td><td class="line">is_selected_toggled (GtkCellRendererToggle *cell,</td></tr>
+<tr class="codeline" data-linenumber="254"><td class="num" id="LN254">254</td><td class="line"> <span class='keyword'>char</span> *path_string,</td></tr>
+<tr class="codeline" data-linenumber="255"><td class="num" id="LN255">255</td><td class="line"> gpointer callback_data)</td></tr>
+<tr class="codeline" data-linenumber="256"><td class="num" id="LN256">256</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="257"><td class="num" id="LN257">257</td><td class="line"> DialogData *data = callback_data;</td></tr>
+<tr class="codeline" data-linenumber="258"><td class="num" id="LN258">258</td><td class="line"> GtkTreeModel *model = <span class='macro'>GTK_TREE_MODEL (data-&gt;list_model)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data-&gt;list_model)), ((gtk_tree_model_get_type ())))))<br>)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="259"><td class="num" id="LN259">259</td><td class="line"> GtkTreeIter iter;</td></tr>
+<tr class="codeline" data-linenumber="260"><td class="num" id="LN260">260</td><td class="line"> GtkTreePath *path = gtk_tree_path_new_from_string (path_string);</td></tr>
+<tr class="codeline" data-linenumber="261"><td class="num" id="LN261">261</td><td class="line"> guint value;</td></tr>
+<tr class="codeline" data-linenumber="262"><td class="num" id="LN262">262</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="263"><td class="num" id="LN263">263</td><td class="line"> gtk_tree_model_get_iter (model, &amp;iter, path);</td></tr>
+<tr class="codeline" data-linenumber="264"><td class="num" id="LN264">264</td><td class="line"> value = ! gtk_cell_renderer_toggle_get_active (cell);</td></tr>
+<tr class="codeline" data-linenumber="265"><td class="num" id="LN265">265</td><td class="line"> gtk_list_store_set (<span class='macro'>GTK_LIST_STORE (model)<span class='macro_popup'>((((GtkListStore*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((model)), ((gtk_list_store_get_type ()))))))</span></span>, &amp;iter, IS_SELECTED_COLUMN, value, -1);</td></tr>
+<tr class="codeline" data-linenumber="266"><td class="num" id="LN266">266</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="267"><td class="num" id="LN267">267</td><td class="line"> gtk_tree_path_free (path);</td></tr>
+<tr class="codeline" data-linenumber="268"><td class="num" id="LN268">268</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="269"><td class="num" id="LN269">269</td><td class="line"> gtk_widget_set_sensitive (data-&gt;update_files_ok_button, n_selected (data) &gt; 0);</td></tr>
+<tr class="codeline" data-linenumber="270"><td class="num" id="LN270">270</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="271"><td class="num" id="LN271">271</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="272"><td class="num" id="LN272">272</td><td class="line">gpointer</td></tr>
+<tr class="codeline" data-linenumber="273"><td class="num" id="LN273">273</td><td class="line">dlg_update (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="274"><td class="num" id="LN274">274</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="275"><td class="num" id="LN275">275</td><td class="line"> GtkBuilder *builder;</td></tr>
+<tr class="codeline" data-linenumber="276"><td class="num" id="LN276">276</td><td class="line"> DialogData *data;</td></tr>
+<tr class="codeline" data-linenumber="277"><td class="num" id="LN277">277</td><td class="line"> GtkCellRenderer *renderer;</td></tr>
+<tr class="codeline" data-linenumber="278"><td class="num" id="LN278">278</td><td class="line"> GtkTreeViewColumn *column;</td></tr>
+<tr class="codeline" data-linenumber="279"><td class="num" id="LN279">279</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="280"><td class="num" id="LN280">280</td><td class="line"> data = <span class='macro'>g_new0 (DialogData, 1)<span class='macro_popup'>((DialogData *) g_malloc0_n ((1), sizeof (DialogData)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="281"><td class="num" id="LN281">281</td><td class="line"> builder = gtk_builder_new_from_resource (<span class='macro'>ENGRAMPA_RESOURCE_UI_PATH<span class='macro_popup'>"/org/mate/Engrampa/ui"</span></span> <span class='macro'>G_DIR_SEPARATOR_S<span class='macro_popup'>"/"</span></span> <span class='string_literal'>"update.ui"</span>);</td></tr>
+<tr class="codeline" data-linenumber="282"><td class="num" id="LN282">282</td><td class="line"> data-&gt;file_list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="283"><td class="num" id="LN283">283</td><td class="line"> data-&gt;window = window;</td></tr>
+<tr class="codeline" data-linenumber="284"><td class="num" id="LN284">284</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="285"><td class="num" id="LN285">285</td><td class="line"> <span class='comment'>/* Get the widgets. */</span></td></tr>
+<tr class="codeline" data-linenumber="286"><td class="num" id="LN286">286</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="287"><td class="num" id="LN287">287</td><td class="line"> data-&gt;update_file_dialog = <span class='macro'>GET_WIDGET (<span class='string_literal'>"update_file_dialog"</span>)<span class='macro_popup'>(((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_builder_get_object (builder, ("update_file_dialog"))<br>)), ((gtk_widget_get_type ())))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="288"><td class="num" id="LN288">288</td><td class="line"> data-&gt;update_file_primary_text_label = <span class='macro'>GET_WIDGET (<span class='string_literal'>"update_file_primary_text_label"</span>)<span class='macro_popup'>(((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_builder_get_object (builder, ("update_file_primary_text_label"<br>)))), ((gtk_widget_get_type ())))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="289"><td class="num" id="LN289">289</td><td class="line"> data-&gt;update_file_secondary_text_label = <span class='macro'>GET_WIDGET (<span class='string_literal'>"update_file_secondary_text_label"</span>)<span class='macro_popup'>(((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_builder_get_object (builder, ("update_file_secondary_text_label"<br>)))), ((gtk_widget_get_type ())))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="290"><td class="num" id="LN290">290</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="291"><td class="num" id="LN291">291</td><td class="line"> data-&gt;update_files_dialog = <span class='macro'>GET_WIDGET (<span class='string_literal'>"update_files_dialog"</span>)<span class='macro_popup'>(((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_builder_get_object (builder, ("update_files_dialog")<br>))), ((gtk_widget_get_type ())))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="292"><td class="num" id="LN292">292</td><td class="line"> data-&gt;update_files_primary_text_label = <span class='macro'>GET_WIDGET (<span class='string_literal'>"update_files_primary_text_label"</span>)<span class='macro_popup'>(((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_builder_get_object (builder, ("update_files_primary_text_label"<br>)))), ((gtk_widget_get_type ())))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="293"><td class="num" id="LN293">293</td><td class="line"> data-&gt;update_files_secondary_text_label = <span class='macro'>GET_WIDGET (<span class='string_literal'>"update_files_secondary_text_label"</span>)<span class='macro_popup'>(((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_builder_get_object (builder, ("update_files_secondary_text_label"<br>)))), ((gtk_widget_get_type ())))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="294"><td class="num" id="LN294">294</td><td class="line"> data-&gt;update_files_treeview = <span class='macro'>GET_WIDGET (<span class='string_literal'>"update_files_treeview"</span>)<span class='macro_popup'>(((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_builder_get_object (builder, ("update_files_treeview"<br>)))), ((gtk_widget_get_type ())))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="295"><td class="num" id="LN295">295</td><td class="line"> data-&gt;update_files_ok_button = <span class='macro'>GET_WIDGET (<span class='string_literal'>"update_files_ok_button"</span>)<span class='macro_popup'>(((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_builder_get_object (builder, ("update_files_ok_button"<br>)))), ((gtk_widget_get_type ())))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="296"><td class="num" id="LN296">296</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="297"><td class="num" id="LN297">297</td><td class="line"> <span class='comment'>/* Set the signals handlers. */</span></td></tr>
+<tr class="codeline" data-linenumber="298"><td class="num" id="LN298">298</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="299"><td class="num" id="LN299">299</td><td class="line"> gtk_builder_add_callback_symbols (builder,</td></tr>
+<tr class="codeline" data-linenumber="300"><td class="num" id="LN300">300</td><td class="line"> <span class='string_literal'>"on_update_file_dialog_destroy"</span>, <span class='macro'>G_CALLBACK (dlg_update__destroy_cb)<span class='macro_popup'>((GCallback) (dlg_update__destroy_cb))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="301"><td class="num" id="LN301">301</td><td class="line"> <span class='string_literal'>"on_update_file_ok_button_clicked"</span>, <span class='macro'>G_CALLBACK (update_cb)<span class='macro_popup'>((GCallback) (update_cb))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="302"><td class="num" id="LN302">302</td><td class="line"> <span class='string_literal'>"on_update_files_dialog_destroy"</span>, <span class='macro'>G_CALLBACK (dlg_update__destroy_cb)<span class='macro_popup'>((GCallback) (dlg_update__destroy_cb))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="303"><td class="num" id="LN303">303</td><td class="line"> <span class='string_literal'>"on_update_files_ok_button_clicked"</span>, <span class='macro'>G_CALLBACK (update_cb)<span class='macro_popup'>((GCallback) (update_cb))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="304"><td class="num" id="LN304">304</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="305"><td class="num" id="LN305">305</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="306"><td class="num" id="LN306">306</td><td class="line"> gtk_builder_connect_signals (builder, data);</td></tr>
+<tr class="codeline" data-linenumber="307"><td class="num" id="LN307">307</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="308"><td class="num" id="LN308">308</td><td class="line"> <span class='macro'>g_signal_connect_swapped (gtk_builder_get_object (builder, <span class='string_literal'>"update_file_cancel_button"</span>),<span class='macro_popup'>g_signal_connect_data ((gtk_builder_get_object (builder, "update_file_cancel_button"<br>)), ("clicked"), (((GCallback) (gtk_widget_destroy))), (((((GObject<br>*) (void *) g_type_check_instance_cast ((GTypeInstance*) ((data<br>-&gt;update_file_dialog)), (((GType) ((20) &lt;&lt; (2)))))))<br>)), ((void*)0), G_CONNECT_SWAPPED)</span></span></td></tr>
+<tr class="codeline" data-linenumber="309"><td class="num" id="LN309">309</td><td class="line"> <span class='string_literal'><span class='macro'>"clicked"</span>,<span class='macro_popup'>g_signal_connect_data ((gtk_builder_get_object (builder, "update_file_cancel_button"<br>)), ("clicked"), (((GCallback) (gtk_widget_destroy))), (((((GObject<br>*) (void *) g_type_check_instance_cast ((GTypeInstance*) ((data<br>-&gt;update_file_dialog)), (((GType) ((20) &lt;&lt; (2)))))))<br>)), ((void*)0), G_CONNECT_SWAPPED)</span></span></td></tr>
+<tr class="codeline" data-linenumber="310"><td class="num" id="LN310">310</td><td class="line"> <span class='macro'>G_CALLBACK (gtk_widget_destroy),<span class='macro_popup'>g_signal_connect_data ((gtk_builder_get_object (builder, "update_file_cancel_button"<br>)), ("clicked"), (((GCallback) (gtk_widget_destroy))), (((((GObject<br>*) (void *) g_type_check_instance_cast ((GTypeInstance*) ((data<br>-&gt;update_file_dialog)), (((GType) ((20) &lt;&lt; (2)))))))<br>)), ((void*)0), G_CONNECT_SWAPPED)</span></span></td></tr>
+<tr class="codeline" data-linenumber="311"><td class="num" id="LN311">311</td><td class="line"> <span class='macro'>G_OBJECT (data-&gt;update_file_dialog))<span class='macro_popup'>g_signal_connect_data ((gtk_builder_get_object (builder, "update_file_cancel_button"<br>)), ("clicked"), (((GCallback) (gtk_widget_destroy))), (((((GObject<br>*) (void *) g_type_check_instance_cast ((GTypeInstance*) ((data<br>-&gt;update_file_dialog)), (((GType) ((20) &lt;&lt; (2)))))))<br>)), ((void*)0), G_CONNECT_SWAPPED)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="312"><td class="num" id="LN312">312</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="313"><td class="num" id="LN313">313</td><td class="line"> <span class='macro'>g_signal_connect_swapped (gtk_builder_get_object (builder, <span class='string_literal'>"update_files_cancel_button"</span>),<span class='macro_popup'>g_signal_connect_data ((gtk_builder_get_object (builder, "update_files_cancel_button"<br>)), ("clicked"), (((GCallback) (gtk_widget_destroy))), (((((GObject<br>*) (void *) g_type_check_instance_cast ((GTypeInstance*) ((data<br>-&gt;update_files_dialog)), (((GType) ((20) &lt;&lt; (2))))))<br>))), ((void*)0), G_CONNECT_SWAPPED)</span></span></td></tr>
+<tr class="codeline" data-linenumber="314"><td class="num" id="LN314">314</td><td class="line"> <span class='string_literal'><span class='macro'>"clicked"</span>,<span class='macro_popup'>g_signal_connect_data ((gtk_builder_get_object (builder, "update_files_cancel_button"<br>)), ("clicked"), (((GCallback) (gtk_widget_destroy))), (((((GObject<br>*) (void *) g_type_check_instance_cast ((GTypeInstance*) ((data<br>-&gt;update_files_dialog)), (((GType) ((20) &lt;&lt; (2))))))<br>))), ((void*)0), G_CONNECT_SWAPPED)</span></span></td></tr>
+<tr class="codeline" data-linenumber="315"><td class="num" id="LN315">315</td><td class="line"> <span class='macro'>G_CALLBACK (gtk_widget_destroy),<span class='macro_popup'>g_signal_connect_data ((gtk_builder_get_object (builder, "update_files_cancel_button"<br>)), ("clicked"), (((GCallback) (gtk_widget_destroy))), (((((GObject<br>*) (void *) g_type_check_instance_cast ((GTypeInstance*) ((data<br>-&gt;update_files_dialog)), (((GType) ((20) &lt;&lt; (2))))))<br>))), ((void*)0), G_CONNECT_SWAPPED)</span></span></td></tr>
+<tr class="codeline" data-linenumber="316"><td class="num" id="LN316">316</td><td class="line"> <span class='macro'>G_OBJECT (data-&gt;update_files_dialog))<span class='macro_popup'>g_signal_connect_data ((gtk_builder_get_object (builder, "update_files_cancel_button"<br>)), ("clicked"), (((GCallback) (gtk_widget_destroy))), (((((GObject<br>*) (void *) g_type_check_instance_cast ((GTypeInstance*) ((data<br>-&gt;update_files_dialog)), (((GType) ((20) &lt;&lt; (2))))))<br>))), ((void*)0), G_CONNECT_SWAPPED)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="317"><td class="num" id="LN317">317</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="318"><td class="num" id="LN318">318</td><td class="line"> g_object_unref (builder);</td></tr>
+<tr class="codeline" data-linenumber="319"><td class="num" id="LN319">319</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="320"><td class="num" id="LN320">320</td><td class="line"> <span class='comment'>/* Set dialog data. */</span></td></tr>
+<tr class="codeline" data-linenumber="321"><td class="num" id="LN321">321</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="322"><td class="num" id="LN322">322</td><td class="line"> data-&gt;list_model = <span class='macro'>GTK_TREE_MODEL (gtk_list_store_new (N_COLUMNS,<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_list_store_new (N_COLUMNS, ((GType) ((5) &lt;&lt; (2<br>))), ((GType) ((16) &lt;&lt; (2))), ((GType) ((17) &lt;&lt; (<br>2)))))), ((gtk_tree_model_get_type ()))))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="323"><td class="num" id="LN323">323</td><td class="line"> <span class='macro'>G_TYPE_BOOLEAN,<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_list_store_new (N_COLUMNS, ((GType) ((5) &lt;&lt; (2<br>))), ((GType) ((16) &lt;&lt; (2))), ((GType) ((17) &lt;&lt; (<br>2)))))), ((gtk_tree_model_get_type ()))))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="324"><td class="num" id="LN324">324</td><td class="line"> <span class='macro'>G_TYPE_STRING,<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_list_store_new (N_COLUMNS, ((GType) ((5) &lt;&lt; (2<br>))), ((GType) ((16) &lt;&lt; (2))), ((GType) ((17) &lt;&lt; (<br>2)))))), ((gtk_tree_model_get_type ()))))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="325"><td class="num" id="LN325">325</td><td class="line"> <span class='macro'>G_TYPE_POINTER))<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_list_store_new (N_COLUMNS, ((GType) ((5) &lt;&lt; (2<br>))), ((GType) ((16) &lt;&lt; (2))), ((GType) ((17) &lt;&lt; (<br>2)))))), ((gtk_tree_model_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="326"><td class="num" id="LN326">326</td><td class="line"> gtk_tree_sortable_set_sort_column_id (<span class='macro'>GTK_TREE_SORTABLE (data-&gt;list_model)<span class='macro_popup'>((((GtkTreeSortable*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data-&gt;list_model)), ((gtk_tree_sortable_get_type ()))<br>))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="327"><td class="num" id="LN327">327</td><td class="line"> NAME_COLUMN,</td></tr>
+<tr class="codeline" data-linenumber="328"><td class="num" id="LN328">328</td><td class="line"> GTK_SORT_ASCENDING);</td></tr>
+<tr class="codeline" data-linenumber="329"><td class="num" id="LN329">329</td><td class="line"> gtk_tree_view_set_model (<span class='macro'>GTK_TREE_VIEW (data-&gt;update_files_treeview)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data-&gt;update_files_treeview)), ((gtk_tree_view_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="330"><td class="num" id="LN330">330</td><td class="line"> data-&gt;list_model);</td></tr>
+<tr class="codeline" data-linenumber="331"><td class="num" id="LN331">331</td><td class="line"> g_object_unref (<span class='macro'>G_OBJECT (data-&gt;list_model)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data-&gt;list_model)), (((GType) ((20) &lt;&lt; (2))))))<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="332"><td class="num" id="LN332">332</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="333"><td class="num" id="LN333">333</td><td class="line"> column = gtk_tree_view_column_new ();</td></tr>
+<tr class="codeline" data-linenumber="334"><td class="num" id="LN334">334</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="335"><td class="num" id="LN335">335</td><td class="line"> renderer = gtk_cell_renderer_toggle_new ();</td></tr>
+<tr class="codeline" data-linenumber="336"><td class="num" id="LN336">336</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (renderer),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((renderer)), (((GType) ((20) &lt;&lt; (2)<br>)))))))), ("toggled"), (((GCallback) (is_selected_toggled))),<br> (data), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="337"><td class="num" id="LN337">337</td><td class="line"> <span class='string_literal'><span class='macro'>"toggled"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((renderer)), (((GType) ((20) &lt;&lt; (2)<br>)))))))), ("toggled"), (((GCallback) (is_selected_toggled))),<br> (data), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="338"><td class="num" id="LN338">338</td><td class="line"> <span class='macro'>G_CALLBACK (is_selected_toggled),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((renderer)), (((GType) ((20) &lt;&lt; (2)<br>)))))))), ("toggled"), (((GCallback) (is_selected_toggled))),<br> (data), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="339"><td class="num" id="LN339">339</td><td class="line"> <span class='macro'>data)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((renderer)), (((GType) ((20) &lt;&lt; (2)<br>)))))))), ("toggled"), (((GCallback) (is_selected_toggled))),<br> (data), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="340"><td class="num" id="LN340">340</td><td class="line"> gtk_tree_view_column_pack_start (column, renderer, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="341"><td class="num" id="LN341">341</td><td class="line"> gtk_tree_view_column_set_attributes (column, renderer,</td></tr>
+<tr class="codeline" data-linenumber="342"><td class="num" id="LN342">342</td><td class="line"> <span class='string_literal'>"active"</span>, IS_SELECTED_COLUMN,</td></tr>
+<tr class="codeline" data-linenumber="343"><td class="num" id="LN343">343</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="344"><td class="num" id="LN344">344</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="345"><td class="num" id="LN345">345</td><td class="line"> renderer = gtk_cell_renderer_text_new ();</td></tr>
+<tr class="codeline" data-linenumber="346"><td class="num" id="LN346">346</td><td class="line"> gtk_tree_view_column_pack_start (column, renderer, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="347"><td class="num" id="LN347">347</td><td class="line"> gtk_tree_view_column_set_attributes (column, renderer,</td></tr>
+<tr class="codeline" data-linenumber="348"><td class="num" id="LN348">348</td><td class="line"> <span class='string_literal'>"text"</span>, NAME_COLUMN,</td></tr>
+<tr class="codeline" data-linenumber="349"><td class="num" id="LN349">349</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="350"><td class="num" id="LN350">350</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="351"><td class="num" id="LN351">351</td><td class="line"> gtk_tree_view_append_column (<span class='macro'>GTK_TREE_VIEW (data-&gt;update_files_treeview)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data-&gt;update_files_treeview)), ((gtk_tree_view_get_type<br> ()))))))</span></span>, column);</td></tr>
+<tr class="codeline" data-linenumber="352"><td class="num" id="LN352">352</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="353"><td class="num" id="LN353">353</td><td class="line"> <span class='comment'>/* Run dialog. */</span></td></tr>
+<tr class="codeline" data-linenumber="354"><td class="num" id="LN354">354</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="355"><td class="num" id="LN355">355</td><td class="line"> gtk_window_set_transient_for (<span class='macro'>GTK_WINDOW (data-&gt;update_file_dialog)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data-&gt;update_file_dialog)), ((gtk_window_get_type ())<br>)))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="356"><td class="num" id="LN356">356</td><td class="line"> <span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="357"><td class="num" id="LN357">357</td><td class="line"> gtk_window_set_transient_for (<span class='macro'>GTK_WINDOW (data-&gt;update_files_dialog)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data-&gt;update_files_dialog)), ((gtk_window_get_type ()<br>))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="358"><td class="num" id="LN358">358</td><td class="line"> <span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="359"><td class="num" id="LN359">359</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="360"><td class="num" id="LN360">360</td><td class="line"> update_file_list (data);</td></tr>
+<tr class="codeline" data-linenumber="361"><td class="num" id="LN361">361</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="362"><td class="num" id="LN362">362</td><td class="line"> <span class='keyword'>return</span> data;</td></tr>
+<tr class="codeline" data-linenumber="363"><td class="num" id="LN363">363</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="364"><td class="num" id="LN364">364</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="365"><td class="num" id="LN365">365</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="366"><td class="num" id="LN366">366</td><td class="line">dlg_update_add_file (gpointer dialog,</td></tr>
+<tr class="codeline" data-linenumber="367"><td class="num" id="LN367">367</td><td class="line"> OpenFile *file)</td></tr>
+<tr class="codeline" data-linenumber="368"><td class="num" id="LN368">368</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="369"><td class="num" id="LN369">369</td><td class="line"> <span id="start11">DialogData</span> *data = dialog;</td></tr>
+<tr class="codeline" data-linenumber="370"><td class="num" id="LN370">370</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="371"><td class="num" id="LN371">371</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="372"><td class="num" id="LN372">372</td><td class="line"> <span class='comment'>/* avoid duplicates */</span></td></tr>
+<tr class="codeline" data-linenumber="373"><td class="num" id="LN373">373</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="374"><td class="num" id="LN374">374</td><td class="line"> <span id="start10"><span id="end11"><span class='keyword'>for</span></span></span> (scan = data-&gt;file_list; scan; scan = scan-&gt;next) {</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path1" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">1</div></td><td>Loop condition is false. Execution continues on line 382</td><td><div class="PathNav"><a href="#Path2" title="Next event (2)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="375"><td class="num" id="LN375">375</td><td class="line"> OpenFile *test = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="376"><td class="num" id="LN376">376</td><td class="line"> <span class='keyword'>if</span> (uricmp (test-&gt;extracted_uri, file-&gt;extracted_uri) == 0)</td></tr>
+<tr class="codeline" data-linenumber="377"><td class="num" id="LN377">377</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="378"><td class="num" id="LN378">378</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="379"><td class="num" id="LN379">379</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="380"><td class="num" id="LN380">380</td><td class="line"> <span class='comment'>/**/</span></td></tr>
+<tr class="codeline" data-linenumber="381"><td class="num" id="LN381">381</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="382"><td class="num" id="LN382">382</td><td class="line"> <span id="start7"><span class="mrange"><span id="end8"><span id="start9"><span id="end10">data</span></span></span></span>-&gt;file_list = g_list_append (<span id="start8"><span id="end9">data</span></span>-&gt;file_list, file)</span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path2" class="msg msgEvent" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">2</div></td><td><div class="PathNav"><a href="#Path1" title="Previous event (1)">&#x2190;</a></div></td><td>Value assigned to field 'file_list'</td><td><div class="PathNav"><a href="#Path3" title="Next event (3)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="383"><td class="num" id="LN383">383</td><td class="line"> <span class="mrange"><span id="end7">update_file_list</span> (data)</span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path3" class="msg msgEvent" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">3</div></td><td><div class="PathNav"><a href="#Path2" title="Previous event (2)">&#x2190;</a></div></td><td>Calling 'update_file_list'</td><td><div class="PathNav"><a href="#Path4" title="Next event (4)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="384"><td class="num" id="LN384">384</td><td class="line">}</td></tr>
+</table></body></html>
diff --git a/2024-03-27-012041-5213-1@78903120e74d_master/report-4a22f4.html b/2024-03-27-012041-5213-1@78903120e74d_master/report-4a22f4.html
new file mode 100644
index 0000000..852b118
--- /dev/null
+++ b/2024-03-27-012041-5213-1@78903120e74d_master/report-4a22f4.html
@@ -0,0 +1,9673 @@
+<!doctype html>
+<html>
+<head>
+<title>fr-window.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC Null pointer passed to 1st parameter expecting 'nonnull' -->
+
+<!-- BUGTYPE Argument with 'nonnull' attribute passed null -->
+
+<!-- BUGCATEGORY API -->
+
+<!-- BUGFILE /rootdir/src/fr-window.c -->
+
+<!-- FILENAME fr-window.c -->
+
+<!-- FUNCTIONNAME rename_selection -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT 4a22f43ba17d910ece9d48776d112200 -->
+
+<!-- BUGLINE 7378 -->
+
+<!-- BUGCOLUMN 58 -->
+
+<!-- BUGPATHLENGTH 26 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>src/fr-window.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 7378, column 58</a><br />Null pointer passed to 1st parameter expecting 'nonnull'</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name fr-window.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/src -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I .. -I ../mate-submodules/libegg/ -I .. -I .. -D ENGRAMPA_RESOURCE_UI_PATH="/org/mate/Engrampa/ui" -D FR_PREFIX="/usr/local" -D FR_SYSCONFDIR="/usr/local/etc" -D FR_DATADIR="/usr/local/share" -D PRIVDATADIR="/usr/local/share/engrampa/" -D FR_LIBDIR="/usr/local/lib" -D PKG_DATA_DIR="/usr/local/share/engrampa" -D PIXMAPSDIR="/usr/local/share/pixmaps" -D GLADEDIR="" -D LOCALEDIR="/usr/local/share/locale" -D SHDIR="/usr/local/libexec/engrampa/" -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/cairo -I /usr/include/gio-unix-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/libmount -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/fribidi -I /usr/include/sysprof-6 -I /usr/include/libpng16 -I /usr/include/json-glib-1.0 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/libmount -I /usr/include/blkid -I /usr/include/sysprof-6 -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-unused-parameter -fdebug-compilation-dir=/rootdir/src -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2024-03-27-012041-5213-1 -x c fr-window.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"7238": 1, "7239": 1, "7240": 1, "7241": 1, "7242": 1, "7243": 1, "7244": 1, "7245": 1, "7246": 1, "7247": 1, "7249": 1, "7250": 1, "7251": 1, "7253": 1, "7255": 1, "7256": 1, "7257": 1, "7258": 1, "7259": 1, "7262": 1, "7278": 1, "7279": 1, "7280": 1, "7281": 1, "7282": 1, "7283": 1, "7284": 1, "7285": 1, "7286": 1, "7287": 1, "7288": 1, "7289": 1, "7290": 1, "7291": 1, "7292": 1, "7293": 1, "7294": 1, "7295": 1, "7297": 1, "7298": 1, "7299": 1, "7300": 1, "7301": 1, "7302": 1, "7303": 1, "7304": 1, "7306": 1, "7307": 1, "7309": 1, "7311": 1, "7313": 1, "7316": 1, "7318": 1, "7319": 1, "7320": 1, "7325": 1, "7329": 1, "7330": 1, "7335": 1, "7336": 1, "7339": 1, "7351": 1, "7352": 1, "7353": 1, "7370": 1, "7371": 1, "7372": 1, "7373": 1, "7374": 1, "7376": 1, "7378": 1, "8536": 1, "8537": 1, "8538": 1, "8539": 1, "8540": 1, "8541": 1, "8542": 1, "8543": 1, "8545": 1, "8620": 1, "8621": 1, "8623": 1, "8624": 1, "8625": 1, "8626": 1, "8627": 1, "8628": 1, "8629": 1, "8630": 1, "8631": 1, "8689": 1, "8690": 1, "8691": 1, "8692": 1, "8694": 1, "8696": 1, "8697": 1, "8698": 1, "8701": 1, "8702": 1, "8703": 1, "8704": 1, "8705": 1, "8706": 1, "8707": 1, "8709": 1, "8711": 1, "8712": 1, "8713": 1, "8714": 1, "8716": 1, "8717": 1, "8718": 1, "8719": 1}, "20390": {"308": 1, "309": 1, "310": 1, "311": 1, "314": 1, "321": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+ <path class="arrow" id="arrow0"/>
+ <path class="arrow" id="arrow1"/>
+ <path class="arrow" id="arrow2"/>
+ <path class="arrow" id="arrow3"/>
+ <path class="arrow" id="arrow4"/>
+ <path class="arrow" id="arrow5"/>
+ <path class="arrow" id="arrow6"/>
+ <path class="arrow" id="arrow7"/>
+ <path class="arrow" id="arrow8"/>
+ <path class="arrow" id="arrow9"/>
+ <path class="arrow" id="arrow10"/>
+ <path class="arrow" id="arrow11"/>
+ <path class="arrow" id="arrow12"/>
+ <path class="arrow" id="arrow13"/>
+ <path class="arrow" id="arrow14"/>
+ <path class="arrow" id="arrow15"/>
+ <path class="arrow" id="arrow16"/>
+ <path class="arrow" id="arrow17"/>
+ <path class="arrow" id="arrow18"/>
+ <path class="arrow" id="arrow19"/>
+ <path class="arrow" id="arrow20"/>
+ <path class="arrow" id="arrow21"/>
+ <path class="arrow" id="arrow22"/>
+ <path class="arrow" id="arrow23"/>
+ <path class="arrow" id="arrow24"/>
+ <path class="arrow" id="arrow25"/>
+ <path class="arrow" id="arrow26"/>
+ <path class="arrow" id="arrow27"/>
+ <path class="arrow" id="arrow28"/>
+ <path class="arrow" id="arrow29"/>
+ <path class="arrow" id="arrow30"/>
+ <path class="arrow" id="arrow31"/>
+ <path class="arrow" id="arrow32"/>
+ <path class="arrow" id="arrow33"/>
+ <path class="arrow" id="arrow34"/>
+ <path class="arrow" id="arrow35"/>
+ <path class="arrow" id="arrow36"/>
+ <path class="arrow" id="arrow37"/>
+ <path class="arrow" id="arrow38"/>
+ <path class="arrow" id="arrow39"/>
+ <path class="arrow" id="arrow40"/>
+ <path class="arrow" id="arrow41"/>
+ <path class="arrow" id="arrow42"/>
+ <path class="arrow" id="arrow43"/>
+ <path class="arrow" id="arrow44"/>
+ <path class="arrow" id="arrow45"/>
+ <path class="arrow" id="arrow46"/>
+ <path class="arrow" id="arrow47"/>
+ <path class="arrow" id="arrow48"/>
+ <path class="arrow" id="arrow49"/>
+ <path class="arrow" id="arrow50"/>
+ <path class="arrow" id="arrow51"/>
+ <path class="arrow" id="arrow52"/>
+ <path class="arrow" id="arrow53"/>
+ <path class="arrow" id="arrow54"/>
+ <path class="arrow" id="arrow55"/>
+ <path class="arrow" id="arrow56"/>
+ <path class="arrow" id="arrow57"/>
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 58,58,53,50,47,45,43,41,41,39,39,37,33,31,30,28,25,24,22,20,11,6,3,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"><span class='comment'>/*</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>* Engrampa</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>* Copyright (C) 2007 Free Software Foundation, Inc.</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>* This program is free software; you can redistribute it and/or modify</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>* it under the terms of the GNU General Public License as published by</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>* the Free Software Foundation; either version 2 of the License, or</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>* (at your option) any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>* This program is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>* GNU General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>* along with this program; if not, write to the Free Software</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"><span class='directive'>#include &lt;config.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"><span class='directive'>#include &lt;math.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"><span class='directive'>#include &lt;string.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#include &lt;glib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"><span class='directive'>#include &lt;glib/gi18n.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"><span class='directive'>#include &lt;gio/gio.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#include &lt;gdk/gdk.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"><span class='directive'>#include &lt;gdk/gdkkeysyms.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"><span class='directive'>#include &lt;gdk-pixbuf/gdk-pixbuf.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"><span class='directive'>#include "actions.h"</span></td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"><span class='directive'>#include "dlg-batch-add.h"</span></td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"><span class='directive'>#include "dlg-delete.h"</span></td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"><span class='directive'>#include "dlg-extract.h"</span></td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line"><span class='directive'>#include "dlg-open-with.h"</span></td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line"><span class='directive'>#include "dlg-ask-password.h"</span></td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"><span class='directive'>#include "dlg-package-installer.h"</span></td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line"><span class='directive'>#include "dlg-update.h"</span></td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line"><span class='directive'>#include "eggtreemultidnd.h"</span></td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"><span class='directive'>#include "fr-marshal.h"</span></td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"><span class='directive'>#include "fr-list-model.h"</span></td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"><span class='directive'>#include "fr-archive.h"</span></td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line"><span class='directive'>#include "fr-error.h"</span></td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line"><span class='directive'>#include "fr-window.h"</span></td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"><span class='directive'>#include "file-data.h"</span></td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line"><span class='directive'>#include "file-utils.h"</span></td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"><span class='directive'>#include "glib-utils.h"</span></td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line"><span class='directive'>#include "fr-init.h"</span></td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"><span class='directive'>#include "gtk-utils.h"</span></td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"><span class='directive'>#include "open-file.h"</span></td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line"><span class='directive'>#include "typedefs.h"</span></td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line"><span class='directive'>#include "ui.h"</span></td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line"><span class='directive'>#ifdef <span class='macro'>__GNUC__<span class='macro_popup'>4</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line"><span class='directive'>#define <span class='macro'>UNUSED_VARIABLE<span class='macro_popup'>__attribute__ ((unused))</span></span> __attribute__ ((unused))</span></td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line"><span class='directive'>#else</span></td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line"><span class='directive'>#define <span class='macro'>UNUSED_VARIABLE<span class='macro_popup'>__attribute__ ((unused))</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line"><span class='directive'>#define <span class='macro'>LAST_OUTPUT_DIALOG_NAME<span class='macro_popup'>"last-output"</span></span> "last-output"</span></td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line"><span class='directive'>#define <span class='macro'>ACTIVITY_DELAY<span class='macro_popup'>100</span></span> 100</span></td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"><span class='directive'>#define <span class='macro'>ACTIVITY_PULSE_STEP<span class='macro_popup'>(0.033)</span></span> (0.033)</span></td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line"><span class='directive'>#define <span class='macro'>PROGRESS_TIMEOUT_MSECS<span class='macro_popup'>5000</span></span> 5000</span></td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"><span class='directive'>#define <span class='macro'>PROGRESS_DIALOG_DEFAULT_WIDTH<span class='macro_popup'>500</span></span> 500</span></td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"><span class='directive'>#define <span class='macro'>PROGRESS_BAR_HEIGHT<span class='macro_popup'>10</span></span> 10</span></td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line"><span class='directive'>#undef LOG_PROGRESS</span></td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line"><span class='directive'>#define <span class='macro'>HIDE_PROGRESS_TIMEOUT_MSECS<span class='macro_popup'>500</span></span> 500</span></td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"><span class='directive'>#define <span class='macro'>DEFAULT_NAME_COLUMN_WIDTH<span class='macro_popup'>250</span></span> 250</span></td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"><span class='directive'>#define <span class='macro'>OTHER_COLUMNS_WIDTH<span class='macro_popup'>100</span></span> 100</span></td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line"><span class='directive'>#define <span class='macro'>FILE_LIST_ICON_SIZE<span class='macro_popup'>GTK_ICON_SIZE_LARGE_TOOLBAR</span></span> GTK_ICON_SIZE_LARGE_TOOLBAR</span></td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line"><span class='directive'>#define <span class='macro'>BAD_CHARS<span class='macro_popup'>"/\\*"</span></span> "/\\*"</span></td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"><span class='keyword'>static</span> GHashTable *tree_pixbuf_hash = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line"><span class='keyword'>static</span> GtkIconTheme *icon_theme = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span> file_list_icon_size = 0;</td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"><span class='directive'>#define <span class='macro'>XDS_FILENAME<span class='macro_popup'>"xds.txt"</span></span> "xds.txt"</span></td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"><span class='directive'>#define <span class='macro'>MAX_XDS_ATOM_VAL_LEN<span class='macro_popup'>4096</span></span> 4096</span></td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"><span class='directive'>#define <span class='macro'>XDS_ATOM<span class='macro_popup'>gdk_atom_intern ("XdndDirectSave0", (0))</span></span> gdk_atom_intern ("XdndDirectSave0", <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>)</span></td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line"><span class='directive'>#define <span class='macro'>TEXT_ATOM<span class='macro_popup'>gdk_atom_intern ("text/plain", (0))</span></span> gdk_atom_intern ("text/plain", <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>)</span></td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line"><span class='directive'>#define <span class='macro'>XFR_ATOM<span class='macro_popup'>gdk_atom_intern ("XdndEngrampa0", (0))</span></span> gdk_atom_intern ("XdndEngrampa0", <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>)</span></td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line"><span class='directive'>#define <span class='macro'>FR_CLIPBOARD<span class='macro_popup'>(gdk_atom_intern_static_string ("_RNGRAMPA_SPECIAL_CLIPBOARD"<br>))</span></span> (gdk_atom_intern_static_string ("_RNGRAMPA_SPECIAL_CLIPBOARD"))</span></td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line"><span class='directive'>#define <span class='macro'>FR_SPECIAL_URI_LIST<span class='macro_popup'>(gdk_atom_intern_static_string ("application/engrampa-uri-list"<br>))</span></span> (gdk_atom_intern_static_string ("application/engrampa-uri-list"))</span></td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line"><span class='keyword'>static</span> GtkTargetEntry clipboard_targets[] = {</td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line"> { <span class='string_literal'>"application/engrampa-uri-list"</span>, 0, 1 }</td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"><span class='keyword'>static</span> GtkTargetEntry target_table[] = {</td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"> { <span class='string_literal'>"XdndEngrampa0"</span>, 0, 0 },</td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"> { <span class='string_literal'>"text/uri-list"</span>, 0, 1 },</td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"><span class='keyword'>static</span> GtkTargetEntry folder_tree_targets[] = {</td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> { <span class='string_literal'>"XdndEngrampa0"</span>, 0, 0 },</td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"> { <span class='string_literal'>"XdndDirectSave0"</span>, 0, 2 }</td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span> {</td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> FrBatchActionType type;</td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line"> <span class='keyword'>void</span> * data;</td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line"> GFreeFunc free_func;</td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line">} FRBatchAction;</td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span> {</td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line"> guint converting : 1;</td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> <span class='keyword'>char</span> *temp_dir;</td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line"> FrArchive *new_archive;</td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line"> <span class='keyword'>char</span> *password;</td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"> gboolean encrypt_header;</td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line"> guint volume_size;</td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line"> <span class='keyword'>char</span> *new_file;</td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line">} FRConvertData;</td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>enum</span> {</td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"> FR_CLIPBOARD_OP_CUT,</td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"> FR_CLIPBOARD_OP_COPY</td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line">} FRClipboardOp;</td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span> {</td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line"> GList *file_list;</td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> <span class='keyword'>char</span> *extract_to_dir;</td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"> <span class='keyword'>char</span> *sub_dir;</td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"> <span class='keyword'>char</span> *base_dir;</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"> gboolean skip_older;</td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"> FrOverwrite overwrite;</td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> gboolean junk_paths;</td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"> <span class='keyword'>char</span> *password;</td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> gboolean extract_here;</td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line"> gboolean ask_to_open_destination;</td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line">} ExtractData;</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>enum</span> {</td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line"> FR_WINDOW_AREA_MENUBAR,</td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"> FR_WINDOW_AREA_TOOLBAR,</td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"> FR_WINDOW_AREA_LOCATIONBAR,</td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line"> FR_WINDOW_AREA_CONTENTS,</td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line"> FR_WINDOW_AREA_FILTERBAR,</td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line"> FR_WINDOW_AREA_STATUSBAR,</td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line">} FrWindowArea;</td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>enum</span> {</td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line"> DIALOG_RESPONSE_NONE = 1,</td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> DIALOG_RESPONSE_OPEN_ARCHIVE,</td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line"> DIALOG_RESPONSE_OPEN_DESTINATION_FOLDER,</td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"> DIALOG_RESPONSE_OPEN_DESTINATION_FOLDER_AND_QUIT,</td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line"> DIALOG_RESPONSE_QUIT</td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line">} DialogResponse;</td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line"><span class='comment'>/* -- FrClipboardData -- */</span></td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span> {</td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> <span class='keyword'>int</span> refs;</td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> <span class='keyword'>char</span> *archive_filename;</td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"> <span class='keyword'>char</span> *archive_password;</td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> FRClipboardOp op;</td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"> <span class='keyword'>char</span> *base_dir;</td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> GList *files;</td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> <span class='keyword'>char</span> *tmp_dir;</td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> <span class='keyword'>char</span> *current_dir;</td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line">} FrClipboardData;</td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"><span class='keyword'>static</span> FrClipboardData*</td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line">fr_clipboard_data_new (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line"> FrClipboardData *data;</td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"> data = <span class='macro'>g_new0 (FrClipboardData, 1)<span class='macro_popup'>((FrClipboardData *) g_malloc0_n ((1), sizeof (FrClipboardData<br>)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line"> data-&gt;refs = 1;</td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> <span class='keyword'>return</span> data;</td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"><span class='keyword'>static</span> FrClipboardData *</td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line">fr_clipboard_data_ref (FrClipboardData *clipboard_data)</td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line"> clipboard_data-&gt;refs++;</td></tr>
+<tr class="codeline" data-linenumber="185"><td class="num" id="LN185">185</td><td class="line"> <span class='keyword'>return</span> clipboard_data;</td></tr>
+<tr class="codeline" data-linenumber="186"><td class="num" id="LN186">186</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="187"><td class="num" id="LN187">187</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="188"><td class="num" id="LN188">188</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="189"><td class="num" id="LN189">189</td><td class="line">fr_clipboard_data_unref (FrClipboardData *clipboard_data)</td></tr>
+<tr class="codeline" data-linenumber="190"><td class="num" id="LN190">190</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="191"><td class="num" id="LN191">191</td><td class="line"> <span class='keyword'>if</span> (clipboard_data == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="192"><td class="num" id="LN192">192</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="193"><td class="num" id="LN193">193</td><td class="line"> <span class='keyword'>if</span> (--clipboard_data-&gt;refs &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="194"><td class="num" id="LN194">194</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="195"><td class="num" id="LN195">195</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="196"><td class="num" id="LN196">196</td><td class="line"> g_free (clipboard_data-&gt;archive_filename);</td></tr>
+<tr class="codeline" data-linenumber="197"><td class="num" id="LN197">197</td><td class="line"> g_free (clipboard_data-&gt;archive_password);</td></tr>
+<tr class="codeline" data-linenumber="198"><td class="num" id="LN198">198</td><td class="line"> g_free (clipboard_data-&gt;base_dir);</td></tr>
+<tr class="codeline" data-linenumber="199"><td class="num" id="LN199">199</td><td class="line"> g_free (clipboard_data-&gt;tmp_dir);</td></tr>
+<tr class="codeline" data-linenumber="200"><td class="num" id="LN200">200</td><td class="line"> g_free (clipboard_data-&gt;current_dir);</td></tr>
+<tr class="codeline" data-linenumber="201"><td class="num" id="LN201">201</td><td class="line"> g_list_free_full (clipboard_data-&gt;files, g_free);</td></tr>
+<tr class="codeline" data-linenumber="202"><td class="num" id="LN202">202</td><td class="line"> g_free (clipboard_data);</td></tr>
+<tr class="codeline" data-linenumber="203"><td class="num" id="LN203">203</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="204"><td class="num" id="LN204">204</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="205"><td class="num" id="LN205">205</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="206"><td class="num" id="LN206">206</td><td class="line">fr_clipboard_data_set_password (FrClipboardData *clipboard_data,</td></tr>
+<tr class="codeline" data-linenumber="207"><td class="num" id="LN207">207</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *password)</td></tr>
+<tr class="codeline" data-linenumber="208"><td class="num" id="LN208">208</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="209"><td class="num" id="LN209">209</td><td class="line"> <span class='keyword'>if</span> (clipboard_data-&gt;archive_password != password)</td></tr>
+<tr class="codeline" data-linenumber="210"><td class="num" id="LN210">210</td><td class="line"> g_free (clipboard_data-&gt;archive_password);</td></tr>
+<tr class="codeline" data-linenumber="211"><td class="num" id="LN211">211</td><td class="line"> <span class='keyword'>if</span> (password != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="212"><td class="num" id="LN212">212</td><td class="line"> clipboard_data-&gt;archive_password = <span class='macro'>g_strdup (password)<span class='macro_popup'>g_strdup_inline (password)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="213"><td class="num" id="LN213">213</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="214"><td class="num" id="LN214">214</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="215"><td class="num" id="LN215">215</td><td class="line"><span class='comment'>/**/</span></td></tr>
+<tr class="codeline" data-linenumber="216"><td class="num" id="LN216">216</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="217"><td class="num" id="LN217">217</td><td class="line"><span class='keyword'>enum</span> {</td></tr>
+<tr class="codeline" data-linenumber="218"><td class="num" id="LN218">218</td><td class="line"> ARCHIVE_LOADED,</td></tr>
+<tr class="codeline" data-linenumber="219"><td class="num" id="LN219">219</td><td class="line"> PROGRESS,</td></tr>
+<tr class="codeline" data-linenumber="220"><td class="num" id="LN220">220</td><td class="line"> READY,</td></tr>
+<tr class="codeline" data-linenumber="221"><td class="num" id="LN221">221</td><td class="line"> LAST_SIGNAL</td></tr>
+<tr class="codeline" data-linenumber="222"><td class="num" id="LN222">222</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="223"><td class="num" id="LN223">223</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="224"><td class="num" id="LN224">224</td><td class="line"><span class='keyword'>static</span> GtkApplicationWindowClass *parent_class = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="225"><td class="num" id="LN225">225</td><td class="line"><span class='keyword'>static</span> guint fr_window_signals[LAST_SIGNAL] = { 0 };</td></tr>
+<tr class="codeline" data-linenumber="226"><td class="num" id="LN226">226</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="227"><td class="num" id="LN227">227</td><td class="line"><span class='keyword'>struct</span> _FrWindowPrivateData {</td></tr>
+<tr class="codeline" data-linenumber="228"><td class="num" id="LN228">228</td><td class="line"> GtkWidget *layout;</td></tr>
+<tr class="codeline" data-linenumber="229"><td class="num" id="LN229">229</td><td class="line"> GtkWidget *contents;</td></tr>
+<tr class="codeline" data-linenumber="230"><td class="num" id="LN230">230</td><td class="line"> GtkWidget *list_view;</td></tr>
+<tr class="codeline" data-linenumber="231"><td class="num" id="LN231">231</td><td class="line"> GtkListStore *list_store;</td></tr>
+<tr class="codeline" data-linenumber="232"><td class="num" id="LN232">232</td><td class="line"> GtkWidget *tree_view;</td></tr>
+<tr class="codeline" data-linenumber="233"><td class="num" id="LN233">233</td><td class="line"> GtkTreeStore *tree_store;</td></tr>
+<tr class="codeline" data-linenumber="234"><td class="num" id="LN234">234</td><td class="line"> GtkWidget *toolbar;</td></tr>
+<tr class="codeline" data-linenumber="235"><td class="num" id="LN235">235</td><td class="line"> GtkWidget *statusbar;</td></tr>
+<tr class="codeline" data-linenumber="236"><td class="num" id="LN236">236</td><td class="line"> GtkWidget *progress_bar;</td></tr>
+<tr class="codeline" data-linenumber="237"><td class="num" id="LN237">237</td><td class="line"> GtkWidget *location_bar;</td></tr>
+<tr class="codeline" data-linenumber="238"><td class="num" id="LN238">238</td><td class="line"> GtkWidget *location_entry;</td></tr>
+<tr class="codeline" data-linenumber="239"><td class="num" id="LN239">239</td><td class="line"> GtkWidget *location_label;</td></tr>
+<tr class="codeline" data-linenumber="240"><td class="num" id="LN240">240</td><td class="line"> GtkWidget *filter_bar;</td></tr>
+<tr class="codeline" data-linenumber="241"><td class="num" id="LN241">241</td><td class="line"> GtkWidget *filter_entry;</td></tr>
+<tr class="codeline" data-linenumber="242"><td class="num" id="LN242">242</td><td class="line"> GtkWidget *paned;</td></tr>
+<tr class="codeline" data-linenumber="243"><td class="num" id="LN243">243</td><td class="line"> GtkWidget *sidepane;</td></tr>
+<tr class="codeline" data-linenumber="244"><td class="num" id="LN244">244</td><td class="line"> GtkTreePath *list_hover_path;</td></tr>
+<tr class="codeline" data-linenumber="245"><td class="num" id="LN245">245</td><td class="line"> GtkTreeViewColumn *filename_column;</td></tr>
+<tr class="codeline" data-linenumber="246"><td class="num" id="LN246">246</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="247"><td class="num" id="LN247">247</td><td class="line"> gboolean filter_mode;</td></tr>
+<tr class="codeline" data-linenumber="248"><td class="num" id="LN248">248</td><td class="line"> gint current_view_length;</td></tr>
+<tr class="codeline" data-linenumber="249"><td class="num" id="LN249">249</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="250"><td class="num" id="LN250">250</td><td class="line"> guint help_message_cid;</td></tr>
+<tr class="codeline" data-linenumber="251"><td class="num" id="LN251">251</td><td class="line"> guint list_info_cid;</td></tr>
+<tr class="codeline" data-linenumber="252"><td class="num" id="LN252">252</td><td class="line"> guint progress_cid;</td></tr>
+<tr class="codeline" data-linenumber="253"><td class="num" id="LN253">253</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="254"><td class="num" id="LN254">254</td><td class="line"> GtkWidget * up_arrows[5];</td></tr>
+<tr class="codeline" data-linenumber="255"><td class="num" id="LN255">255</td><td class="line"> GtkWidget * down_arrows[5];</td></tr>
+<tr class="codeline" data-linenumber="256"><td class="num" id="LN256">256</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="257"><td class="num" id="LN257">257</td><td class="line"> FrAction action;</td></tr>
+<tr class="codeline" data-linenumber="258"><td class="num" id="LN258">258</td><td class="line"> gboolean archive_present;</td></tr>
+<tr class="codeline" data-linenumber="259"><td class="num" id="LN259">259</td><td class="line"> gboolean archive_new; <span class='comment'>/* A new archive has been created</span></td></tr>
+<tr class="codeline" data-linenumber="260"><td class="num" id="LN260">260</td><td class="line"> <span class='comment'>* but it doesn't contain any</span></td></tr>
+<tr class="codeline" data-linenumber="261"><td class="num" id="LN261">261</td><td class="line"> <span class='comment'>* file yet. The real file will</span></td></tr>
+<tr class="codeline" data-linenumber="262"><td class="num" id="LN262">262</td><td class="line"> <span class='comment'>* be created only when the user</span></td></tr>
+<tr class="codeline" data-linenumber="263"><td class="num" id="LN263">263</td><td class="line"> <span class='comment'>* adds some file to the</span></td></tr>
+<tr class="codeline" data-linenumber="264"><td class="num" id="LN264">264</td><td class="line"> <span class='comment'>* archive.*/</span></td></tr>
+<tr class="codeline" data-linenumber="265"><td class="num" id="LN265">265</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="266"><td class="num" id="LN266">266</td><td class="line"> <span class='keyword'>char</span> * archive_uri;</td></tr>
+<tr class="codeline" data-linenumber="267"><td class="num" id="LN267">267</td><td class="line"> <span class='keyword'>char</span> * open_default_dir; <span class='comment'>/* default directory to be used</span></td></tr>
+<tr class="codeline" data-linenumber="268"><td class="num" id="LN268">268</td><td class="line"> <span class='comment'>* in the Open dialog. */</span></td></tr>
+<tr class="codeline" data-linenumber="269"><td class="num" id="LN269">269</td><td class="line"> <span class='keyword'>char</span> * add_default_dir; <span class='comment'>/* default directory to be used</span></td></tr>
+<tr class="codeline" data-linenumber="270"><td class="num" id="LN270">270</td><td class="line"> <span class='comment'>* in the Add dialog. */</span></td></tr>
+<tr class="codeline" data-linenumber="271"><td class="num" id="LN271">271</td><td class="line"> <span class='keyword'>char</span> * extract_default_dir; <span class='comment'>/* default directory to be used</span></td></tr>
+<tr class="codeline" data-linenumber="272"><td class="num" id="LN272">272</td><td class="line"> <span class='comment'>* in the Extract dialog. */</span></td></tr>
+<tr class="codeline" data-linenumber="273"><td class="num" id="LN273">273</td><td class="line"> gboolean freeze_default_dir;</td></tr>
+<tr class="codeline" data-linenumber="274"><td class="num" id="LN274">274</td><td class="line"> gboolean asked_for_password;</td></tr>
+<tr class="codeline" data-linenumber="275"><td class="num" id="LN275">275</td><td class="line"> gboolean ask_to_open_destination_after_extraction;</td></tr>
+<tr class="codeline" data-linenumber="276"><td class="num" id="LN276">276</td><td class="line"> gboolean destroy_with_error_dialog;</td></tr>
+<tr class="codeline" data-linenumber="277"><td class="num" id="LN277">277</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="278"><td class="num" id="LN278">278</td><td class="line"> FRBatchAction current_batch_action;</td></tr>
+<tr class="codeline" data-linenumber="279"><td class="num" id="LN279">279</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="280"><td class="num" id="LN280">280</td><td class="line"> gboolean give_focus_to_the_list;</td></tr>
+<tr class="codeline" data-linenumber="281"><td class="num" id="LN281">281</td><td class="line"> gboolean single_click;</td></tr>
+<tr class="codeline" data-linenumber="282"><td class="num" id="LN282">282</td><td class="line"> GtkTreePath *path_clicked;</td></tr>
+<tr class="codeline" data-linenumber="283"><td class="num" id="LN283">283</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="284"><td class="num" id="LN284">284</td><td class="line"> FrWindowSortMethod sort_method;</td></tr>
+<tr class="codeline" data-linenumber="285"><td class="num" id="LN285">285</td><td class="line"> GtkSortType sort_type;</td></tr>
+<tr class="codeline" data-linenumber="286"><td class="num" id="LN286">286</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="287"><td class="num" id="LN287">287</td><td class="line"> <span class='keyword'>char</span> * last_location;</td></tr>
+<tr class="codeline" data-linenumber="288"><td class="num" id="LN288">288</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="289"><td class="num" id="LN289">289</td><td class="line"> gboolean view_folders;</td></tr>
+<tr class="codeline" data-linenumber="290"><td class="num" id="LN290">290</td><td class="line"> FrWindowListMode list_mode;</td></tr>
+<tr class="codeline" data-linenumber="291"><td class="num" id="LN291">291</td><td class="line"> FrWindowListMode last_list_mode;</td></tr>
+<tr class="codeline" data-linenumber="292"><td class="num" id="LN292">292</td><td class="line"> GList * history;</td></tr>
+<tr class="codeline" data-linenumber="293"><td class="num" id="LN293">293</td><td class="line"> GList * history_current;</td></tr>
+<tr class="codeline" data-linenumber="294"><td class="num" id="LN294">294</td><td class="line"> <span class='keyword'>char</span> * password;</td></tr>
+<tr class="codeline" data-linenumber="295"><td class="num" id="LN295">295</td><td class="line"> <span class='keyword'>char</span> * password_for_paste;</td></tr>
+<tr class="codeline" data-linenumber="296"><td class="num" id="LN296">296</td><td class="line"> gboolean encrypt_header;</td></tr>
+<tr class="codeline" data-linenumber="297"><td class="num" id="LN297">297</td><td class="line"> FrCompression compression;</td></tr>
+<tr class="codeline" data-linenumber="298"><td class="num" id="LN298">298</td><td class="line"> guint volume_size;</td></tr>
+<tr class="codeline" data-linenumber="299"><td class="num" id="LN299">299</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="300"><td class="num" id="LN300">300</td><td class="line"> guint activity_timeout_handle; <span class='comment'>/* activity timeout</span></td></tr>
+<tr class="codeline" data-linenumber="301"><td class="num" id="LN301">301</td><td class="line"> <span class='comment'>* handle. */</span></td></tr>
+<tr class="codeline" data-linenumber="302"><td class="num" id="LN302">302</td><td class="line"> gint activity_ref; <span class='comment'>/* when &gt; 0 some activity</span></td></tr>
+<tr class="codeline" data-linenumber="303"><td class="num" id="LN303">303</td><td class="line"> <span class='comment'>* is present. */</span></td></tr>
+<tr class="codeline" data-linenumber="304"><td class="num" id="LN304">304</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="305"><td class="num" id="LN305">305</td><td class="line"> guint update_timeout_handle; <span class='comment'>/* update file list</span></td></tr>
+<tr class="codeline" data-linenumber="306"><td class="num" id="LN306">306</td><td class="line"> <span class='comment'>* timeout handle. */</span></td></tr>
+<tr class="codeline" data-linenumber="307"><td class="num" id="LN307">307</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="308"><td class="num" id="LN308">308</td><td class="line"> FRConvertData convert_data;</td></tr>
+<tr class="codeline" data-linenumber="309"><td class="num" id="LN309">309</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="310"><td class="num" id="LN310">310</td><td class="line"> gboolean stoppable;</td></tr>
+<tr class="codeline" data-linenumber="311"><td class="num" id="LN311">311</td><td class="line"> gboolean closing;</td></tr>
+<tr class="codeline" data-linenumber="312"><td class="num" id="LN312">312</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="313"><td class="num" id="LN313">313</td><td class="line"> FrClipboardData *clipboard_data;</td></tr>
+<tr class="codeline" data-linenumber="314"><td class="num" id="LN314">314</td><td class="line"> FrClipboardData *copy_data;</td></tr>
+<tr class="codeline" data-linenumber="315"><td class="num" id="LN315">315</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="316"><td class="num" id="LN316">316</td><td class="line"> FrArchive *copy_from_archive;</td></tr>
+<tr class="codeline" data-linenumber="317"><td class="num" id="LN317">317</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="318"><td class="num" id="LN318">318</td><td class="line"> GActionGroup *actions;</td></tr>
+<tr class="codeline" data-linenumber="319"><td class="num" id="LN319">319</td><td class="line"> GtkBuilder *ui_manager;</td></tr>
+<tr class="codeline" data-linenumber="320"><td class="num" id="LN320">320</td><td class="line"> GtkWidget *menubar_recentmenu;</td></tr>
+<tr class="codeline" data-linenumber="321"><td class="num" id="LN321">321</td><td class="line"> GtkWidget *toolbar_recentmenu;</td></tr>
+<tr class="codeline" data-linenumber="322"><td class="num" id="LN322">322</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="323"><td class="num" id="LN323">323</td><td class="line"> GtkWidget *file_popup_menu;</td></tr>
+<tr class="codeline" data-linenumber="324"><td class="num" id="LN324">324</td><td class="line"> GtkWidget *folder_popup_menu;</td></tr>
+<tr class="codeline" data-linenumber="325"><td class="num" id="LN325">325</td><td class="line"> GtkWidget *sidebar_folder_popup_menu;</td></tr>
+<tr class="codeline" data-linenumber="326"><td class="num" id="LN326">326</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="327"><td class="num" id="LN327">327</td><td class="line"> <span class='comment'>/* dragged files data */</span></td></tr>
+<tr class="codeline" data-linenumber="328"><td class="num" id="LN328">328</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="329"><td class="num" id="LN329">329</td><td class="line"> <span class='keyword'>char</span> *drag_destination_folder;</td></tr>
+<tr class="codeline" data-linenumber="330"><td class="num" id="LN330">330</td><td class="line"> <span class='keyword'>char</span> *drag_base_dir;</td></tr>
+<tr class="codeline" data-linenumber="331"><td class="num" id="LN331">331</td><td class="line"> GError *drag_error;</td></tr>
+<tr class="codeline" data-linenumber="332"><td class="num" id="LN332">332</td><td class="line"> GList *drag_file_list; <span class='comment'>/* the list of files we are</span></td></tr>
+<tr class="codeline" data-linenumber="333"><td class="num" id="LN333">333</td><td class="line"> <span class='comment'>* dragging*/</span></td></tr>
+<tr class="codeline" data-linenumber="334"><td class="num" id="LN334">334</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="335"><td class="num" id="LN335">335</td><td class="line"> <span class='comment'>/* progress dialog data */</span></td></tr>
+<tr class="codeline" data-linenumber="336"><td class="num" id="LN336">336</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="337"><td class="num" id="LN337">337</td><td class="line"> GtkWidget *progress_dialog;</td></tr>
+<tr class="codeline" data-linenumber="338"><td class="num" id="LN338">338</td><td class="line"> GtkWidget *pd_action;</td></tr>
+<tr class="codeline" data-linenumber="339"><td class="num" id="LN339">339</td><td class="line"> GtkWidget *pd_message;</td></tr>
+<tr class="codeline" data-linenumber="340"><td class="num" id="LN340">340</td><td class="line"> GtkWidget *pd_progress_bar;</td></tr>
+<tr class="codeline" data-linenumber="341"><td class="num" id="LN341">341</td><td class="line"> GtkWidget *pd_cancel_button;</td></tr>
+<tr class="codeline" data-linenumber="342"><td class="num" id="LN342">342</td><td class="line"> GtkWidget *pd_close_button;</td></tr>
+<tr class="codeline" data-linenumber="343"><td class="num" id="LN343">343</td><td class="line"> GtkWidget *pd_open_archive_button;</td></tr>
+<tr class="codeline" data-linenumber="344"><td class="num" id="LN344">344</td><td class="line"> GtkWidget *pd_open_destination_button;</td></tr>
+<tr class="codeline" data-linenumber="345"><td class="num" id="LN345">345</td><td class="line"> GtkWidget *pd_open_destination_and_quit_button;</td></tr>
+<tr class="codeline" data-linenumber="346"><td class="num" id="LN346">346</td><td class="line"> GtkWidget *pd_quit_button;</td></tr>
+<tr class="codeline" data-linenumber="347"><td class="num" id="LN347">347</td><td class="line"> GtkWidget *pd_state_button; <span class='comment'>//Switch state, pause state or start state</span></td></tr>
+<tr class="codeline" data-linenumber="348"><td class="num" id="LN348">348</td><td class="line"> GtkWidget *pd_icon;</td></tr>
+<tr class="codeline" data-linenumber="349"><td class="num" id="LN349">349</td><td class="line"> gboolean progress_pulse;</td></tr>
+<tr class="codeline" data-linenumber="350"><td class="num" id="LN350">350</td><td class="line"> guint progress_timeout; <span class='comment'>/* Timeout to display the progress dialog. */</span></td></tr>
+<tr class="codeline" data-linenumber="351"><td class="num" id="LN351">351</td><td class="line"> guint hide_progress_timeout; <span class='comment'>/* Timeout to hide the progress dialog. */</span></td></tr>
+<tr class="codeline" data-linenumber="352"><td class="num" id="LN352">352</td><td class="line"> <span class='keyword'>char</span> *pd_last_archive;</td></tr>
+<tr class="codeline" data-linenumber="353"><td class="num" id="LN353">353</td><td class="line"> <span class='keyword'>char</span> *working_archive;</td></tr>
+<tr class="codeline" data-linenumber="354"><td class="num" id="LN354">354</td><td class="line"> <span class='keyword'>double</span> pd_last_fraction;</td></tr>
+<tr class="codeline" data-linenumber="355"><td class="num" id="LN355">355</td><td class="line"> <span class='keyword'>char</span> *pd_last_message;</td></tr>
+<tr class="codeline" data-linenumber="356"><td class="num" id="LN356">356</td><td class="line"> gboolean use_progress_dialog;</td></tr>
+<tr class="codeline" data-linenumber="357"><td class="num" id="LN357">357</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="358"><td class="num" id="LN358">358</td><td class="line"> <span class='comment'>/* update dialog data */</span></td></tr>
+<tr class="codeline" data-linenumber="359"><td class="num" id="LN359">359</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="360"><td class="num" id="LN360">360</td><td class="line"> gpointer update_dialog;</td></tr>
+<tr class="codeline" data-linenumber="361"><td class="num" id="LN361">361</td><td class="line"> GList *open_files;</td></tr>
+<tr class="codeline" data-linenumber="362"><td class="num" id="LN362">362</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="363"><td class="num" id="LN363">363</td><td class="line"> <span class='comment'>/* batch mode data */</span></td></tr>
+<tr class="codeline" data-linenumber="364"><td class="num" id="LN364">364</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="365"><td class="num" id="LN365">365</td><td class="line"> gboolean batch_mode; <span class='comment'>/* whether we are in a non interactive</span></td></tr>
+<tr class="codeline" data-linenumber="366"><td class="num" id="LN366">366</td><td class="line"> <span class='comment'>* mode. */</span></td></tr>
+<tr class="codeline" data-linenumber="367"><td class="num" id="LN367">367</td><td class="line"> GList *batch_action_list; <span class='comment'>/* FRBatchAction * elements */</span></td></tr>
+<tr class="codeline" data-linenumber="368"><td class="num" id="LN368">368</td><td class="line"> GList *batch_action; <span class='comment'>/* current action. */</span></td></tr>
+<tr class="codeline" data-linenumber="369"><td class="num" id="LN369">369</td><td class="line"> <span class='keyword'>char</span> *batch_title;</td></tr>
+<tr class="codeline" data-linenumber="370"><td class="num" id="LN370">370</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="371"><td class="num" id="LN371">371</td><td class="line"> <span class='comment'>/* misc */</span></td></tr>
+<tr class="codeline" data-linenumber="372"><td class="num" id="LN372">372</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="373"><td class="num" id="LN373">373</td><td class="line"> GSettings *settings_listing;</td></tr>
+<tr class="codeline" data-linenumber="374"><td class="num" id="LN374">374</td><td class="line"> GSettings *settings_ui;</td></tr>
+<tr class="codeline" data-linenumber="375"><td class="num" id="LN375">375</td><td class="line"> GSettings *settings_general;</td></tr>
+<tr class="codeline" data-linenumber="376"><td class="num" id="LN376">376</td><td class="line"> GSettings *settings_dialogs;</td></tr>
+<tr class="codeline" data-linenumber="377"><td class="num" id="LN377">377</td><td class="line"> GSettings *settings_caja;</td></tr>
+<tr class="codeline" data-linenumber="378"><td class="num" id="LN378">378</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="379"><td class="num" id="LN379">379</td><td class="line"> gulong theme_changed_handler_id;</td></tr>
+<tr class="codeline" data-linenumber="380"><td class="num" id="LN380">380</td><td class="line"> gboolean non_interactive;</td></tr>
+<tr class="codeline" data-linenumber="381"><td class="num" id="LN381">381</td><td class="line"> <span class='keyword'>char</span> *extract_here_dir;</td></tr>
+<tr class="codeline" data-linenumber="382"><td class="num" id="LN382">382</td><td class="line"> gboolean extract_interact_use_default_dir;</td></tr>
+<tr class="codeline" data-linenumber="383"><td class="num" id="LN383">383</td><td class="line"> gboolean update_dropped_files;</td></tr>
+<tr class="codeline" data-linenumber="384"><td class="num" id="LN384">384</td><td class="line"> gboolean batch_adding_one_file;</td></tr>
+<tr class="codeline" data-linenumber="385"><td class="num" id="LN385">385</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="386"><td class="num" id="LN386">386</td><td class="line"> GtkWindow *load_error_parent_window;</td></tr>
+<tr class="codeline" data-linenumber="387"><td class="num" id="LN387">387</td><td class="line"> gboolean showing_error_dialog;</td></tr>
+<tr class="codeline" data-linenumber="388"><td class="num" id="LN388">388</td><td class="line"> GtkWindow *error_dialog_parent;</td></tr>
+<tr class="codeline" data-linenumber="389"><td class="num" id="LN389">389</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="390"><td class="num" id="LN390">390</td><td class="line"> gboolean close_dialog;</td></tr>
+<tr class="codeline" data-linenumber="391"><td class="num" id="LN391">391</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="392"><td class="num" id="LN392">392</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="393"><td class="num" id="LN393">393</td><td class="line"><span class='comment'>/* -- fr_window_free_private_data -- */</span></td></tr>
+<tr class="codeline" data-linenumber="394"><td class="num" id="LN394">394</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="395"><td class="num" id="LN395">395</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="396"><td class="num" id="LN396">396</td><td class="line">fr_window_free_batch_data (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="397"><td class="num" id="LN397">397</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="398"><td class="num" id="LN398">398</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="399"><td class="num" id="LN399">399</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="400"><td class="num" id="LN400">400</td><td class="line"> <span class='keyword'>for</span> (scan = window-&gt;priv-&gt;batch_action_list; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="401"><td class="num" id="LN401">401</td><td class="line"> FRBatchAction *adata = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="402"><td class="num" id="LN402">402</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="403"><td class="num" id="LN403">403</td><td class="line"> <span class='keyword'>if</span> ((adata-&gt;data != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (adata-&gt;free_func != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="404"><td class="num" id="LN404">404</td><td class="line"> (*adata-&gt;free_func) (adata-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="405"><td class="num" id="LN405">405</td><td class="line"> g_free (adata);</td></tr>
+<tr class="codeline" data-linenumber="406"><td class="num" id="LN406">406</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="407"><td class="num" id="LN407">407</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="408"><td class="num" id="LN408">408</td><td class="line"> g_list_free (window-&gt;priv-&gt;batch_action_list);</td></tr>
+<tr class="codeline" data-linenumber="409"><td class="num" id="LN409">409</td><td class="line"> window-&gt;priv-&gt;batch_action_list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="410"><td class="num" id="LN410">410</td><td class="line"> window-&gt;priv-&gt;batch_action = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="411"><td class="num" id="LN411">411</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="412"><td class="num" id="LN412">412</td><td class="line"> g_free (window-&gt;priv-&gt;batch_title);</td></tr>
+<tr class="codeline" data-linenumber="413"><td class="num" id="LN413">413</td><td class="line"> window-&gt;priv-&gt;batch_title = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="414"><td class="num" id="LN414">414</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="415"><td class="num" id="LN415">415</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="416"><td class="num" id="LN416">416</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="417"><td class="num" id="LN417">417</td><td class="line">gh_unref_pixbuf (gpointer key,</td></tr>
+<tr class="codeline" data-linenumber="418"><td class="num" id="LN418">418</td><td class="line"> gpointer value,</td></tr>
+<tr class="codeline" data-linenumber="419"><td class="num" id="LN419">419</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="420"><td class="num" id="LN420">420</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="421"><td class="num" id="LN421">421</td><td class="line"> g_object_unref (value);</td></tr>
+<tr class="codeline" data-linenumber="422"><td class="num" id="LN422">422</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="423"><td class="num" id="LN423">423</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="424"><td class="num" id="LN424">424</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="425"><td class="num" id="LN425">425</td><td class="line">fr_window_clipboard_remove_file_list (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="426"><td class="num" id="LN426">426</td><td class="line"> GList *file_list)</td></tr>
+<tr class="codeline" data-linenumber="427"><td class="num" id="LN427">427</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="428"><td class="num" id="LN428">428</td><td class="line"> GList *scan1;</td></tr>
+<tr class="codeline" data-linenumber="429"><td class="num" id="LN429">429</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="430"><td class="num" id="LN430">430</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;copy_data == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="431"><td class="num" id="LN431">431</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="432"><td class="num" id="LN432">432</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="433"><td class="num" id="LN433">433</td><td class="line"> <span class='keyword'>if</span> (file_list == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="434"><td class="num" id="LN434">434</td><td class="line"> fr_clipboard_data_unref (window-&gt;priv-&gt;copy_data);</td></tr>
+<tr class="codeline" data-linenumber="435"><td class="num" id="LN435">435</td><td class="line"> window-&gt;priv-&gt;copy_data = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="436"><td class="num" id="LN436">436</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="437"><td class="num" id="LN437">437</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="438"><td class="num" id="LN438">438</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="439"><td class="num" id="LN439">439</td><td class="line"> <span class='keyword'>for</span> (scan1 = file_list; scan1; scan1 = scan1-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="440"><td class="num" id="LN440">440</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *name1 = scan1-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="441"><td class="num" id="LN441">441</td><td class="line"> GList *scan2;</td></tr>
+<tr class="codeline" data-linenumber="442"><td class="num" id="LN442">442</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="443"><td class="num" id="LN443">443</td><td class="line"> <span class='keyword'>for</span> (scan2 = window-&gt;priv-&gt;copy_data-&gt;files; scan2;) {</td></tr>
+<tr class="codeline" data-linenumber="444"><td class="num" id="LN444">444</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *name2 = scan2-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="445"><td class="num" id="LN445">445</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="446"><td class="num" id="LN446">446</td><td class="line"> <span class='keyword'>if</span> (strcmp (name1, name2) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="447"><td class="num" id="LN447">447</td><td class="line"> GList *tmp = scan2-&gt;next;</td></tr>
+<tr class="codeline" data-linenumber="448"><td class="num" id="LN448">448</td><td class="line"> window-&gt;priv-&gt;copy_data-&gt;files = g_list_remove_link (window-&gt;priv-&gt;copy_data-&gt;files, scan2);</td></tr>
+<tr class="codeline" data-linenumber="449"><td class="num" id="LN449">449</td><td class="line"> g_free (scan2-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="450"><td class="num" id="LN450">450</td><td class="line"> g_list_free (scan2);</td></tr>
+<tr class="codeline" data-linenumber="451"><td class="num" id="LN451">451</td><td class="line"> scan2 = tmp;</td></tr>
+<tr class="codeline" data-linenumber="452"><td class="num" id="LN452">452</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="453"><td class="num" id="LN453">453</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="454"><td class="num" id="LN454">454</td><td class="line"> scan2 = scan2-&gt;next;</td></tr>
+<tr class="codeline" data-linenumber="455"><td class="num" id="LN455">455</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="456"><td class="num" id="LN456">456</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="457"><td class="num" id="LN457">457</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="458"><td class="num" id="LN458">458</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;copy_data-&gt;files == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="459"><td class="num" id="LN459">459</td><td class="line"> fr_clipboard_data_unref (window-&gt;priv-&gt;copy_data);</td></tr>
+<tr class="codeline" data-linenumber="460"><td class="num" id="LN460">460</td><td class="line"> window-&gt;priv-&gt;copy_data = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="461"><td class="num" id="LN461">461</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="462"><td class="num" id="LN462">462</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="463"><td class="num" id="LN463">463</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="464"><td class="num" id="LN464">464</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="465"><td class="num" id="LN465">465</td><td class="line">fr_window_history_clear (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="466"><td class="num" id="LN466">466</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="467"><td class="num" id="LN467">467</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;history != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="468"><td class="num" id="LN468">468</td><td class="line"> path_list_free (window-&gt;priv-&gt;history);</td></tr>
+<tr class="codeline" data-linenumber="469"><td class="num" id="LN469">469</td><td class="line"> window-&gt;priv-&gt;history = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="470"><td class="num" id="LN470">470</td><td class="line"> window-&gt;priv-&gt;history_current = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="471"><td class="num" id="LN471">471</td><td class="line"> g_free (window-&gt;priv-&gt;last_location);</td></tr>
+<tr class="codeline" data-linenumber="472"><td class="num" id="LN472">472</td><td class="line"> window-&gt;priv-&gt;last_location = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="473"><td class="num" id="LN473">473</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="474"><td class="num" id="LN474">474</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="475"><td class="num" id="LN475">475</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="476"><td class="num" id="LN476">476</td><td class="line">fr_window_free_open_files (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="477"><td class="num" id="LN477">477</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="478"><td class="num" id="LN478">478</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="479"><td class="num" id="LN479">479</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="480"><td class="num" id="LN480">480</td><td class="line"> <span class='keyword'>for</span> (scan = window-&gt;priv-&gt;open_files; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="481"><td class="num" id="LN481">481</td><td class="line"> OpenFile *file = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="482"><td class="num" id="LN482">482</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="483"><td class="num" id="LN483">483</td><td class="line"> <span class='keyword'>if</span> (file-&gt;monitor != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="484"><td class="num" id="LN484">484</td><td class="line"> g_file_monitor_cancel (file-&gt;monitor);</td></tr>
+<tr class="codeline" data-linenumber="485"><td class="num" id="LN485">485</td><td class="line"> open_file_free (file);</td></tr>
+<tr class="codeline" data-linenumber="486"><td class="num" id="LN486">486</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="487"><td class="num" id="LN487">487</td><td class="line"> g_list_free (window-&gt;priv-&gt;open_files);</td></tr>
+<tr class="codeline" data-linenumber="488"><td class="num" id="LN488">488</td><td class="line"> window-&gt;priv-&gt;open_files = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="489"><td class="num" id="LN489">489</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="490"><td class="num" id="LN490">490</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="491"><td class="num" id="LN491">491</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="492"><td class="num" id="LN492">492</td><td class="line">fr_window_convert_data_free (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="493"><td class="num" id="LN493">493</td><td class="line"> gboolean all)</td></tr>
+<tr class="codeline" data-linenumber="494"><td class="num" id="LN494">494</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="495"><td class="num" id="LN495">495</td><td class="line"> <span class='keyword'>if</span> (all) {</td></tr>
+<tr class="codeline" data-linenumber="496"><td class="num" id="LN496">496</td><td class="line"> g_free (window-&gt;priv-&gt;convert_data.new_file);</td></tr>
+<tr class="codeline" data-linenumber="497"><td class="num" id="LN497">497</td><td class="line"> window-&gt;priv-&gt;convert_data.new_file = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="498"><td class="num" id="LN498">498</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="499"><td class="num" id="LN499">499</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="500"><td class="num" id="LN500">500</td><td class="line"> window-&gt;priv-&gt;convert_data.converting = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="501"><td class="num" id="LN501">501</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="502"><td class="num" id="LN502">502</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;convert_data.temp_dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="503"><td class="num" id="LN503">503</td><td class="line"> g_free (window-&gt;priv-&gt;convert_data.temp_dir);</td></tr>
+<tr class="codeline" data-linenumber="504"><td class="num" id="LN504">504</td><td class="line"> window-&gt;priv-&gt;convert_data.temp_dir = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="505"><td class="num" id="LN505">505</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="506"><td class="num" id="LN506">506</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="507"><td class="num" id="LN507">507</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;convert_data.new_archive != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="508"><td class="num" id="LN508">508</td><td class="line"> g_object_unref (window-&gt;priv-&gt;convert_data.new_archive);</td></tr>
+<tr class="codeline" data-linenumber="509"><td class="num" id="LN509">509</td><td class="line"> window-&gt;priv-&gt;convert_data.new_archive = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="510"><td class="num" id="LN510">510</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="511"><td class="num" id="LN511">511</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="512"><td class="num" id="LN512">512</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;convert_data.password != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="513"><td class="num" id="LN513">513</td><td class="line"> g_free (window-&gt;priv-&gt;convert_data.password);</td></tr>
+<tr class="codeline" data-linenumber="514"><td class="num" id="LN514">514</td><td class="line"> window-&gt;priv-&gt;convert_data.password = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="515"><td class="num" id="LN515">515</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="516"><td class="num" id="LN516">516</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="517"><td class="num" id="LN517">517</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="518"><td class="num" id="LN518">518</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="519"><td class="num" id="LN519">519</td><td class="line">fr_window_free_private_data (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="520"><td class="num" id="LN520">520</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="521"><td class="num" id="LN521">521</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;update_timeout_handle != 0) {</td></tr>
+<tr class="codeline" data-linenumber="522"><td class="num" id="LN522">522</td><td class="line"> g_source_remove (window-&gt;priv-&gt;update_timeout_handle);</td></tr>
+<tr class="codeline" data-linenumber="523"><td class="num" id="LN523">523</td><td class="line"> window-&gt;priv-&gt;update_timeout_handle = 0;</td></tr>
+<tr class="codeline" data-linenumber="524"><td class="num" id="LN524">524</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="525"><td class="num" id="LN525">525</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="526"><td class="num" id="LN526">526</td><td class="line"> <span class='keyword'>while</span> (window-&gt;priv-&gt;activity_ref &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="527"><td class="num" id="LN527">527</td><td class="line"> fr_window_stop_activity_mode (window);</td></tr>
+<tr class="codeline" data-linenumber="528"><td class="num" id="LN528">528</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="529"><td class="num" id="LN529">529</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_timeout != 0) {</td></tr>
+<tr class="codeline" data-linenumber="530"><td class="num" id="LN530">530</td><td class="line"> g_source_remove (window-&gt;priv-&gt;progress_timeout);</td></tr>
+<tr class="codeline" data-linenumber="531"><td class="num" id="LN531">531</td><td class="line"> window-&gt;priv-&gt;progress_timeout = 0;</td></tr>
+<tr class="codeline" data-linenumber="532"><td class="num" id="LN532">532</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="533"><td class="num" id="LN533">533</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="534"><td class="num" id="LN534">534</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;hide_progress_timeout != 0) {</td></tr>
+<tr class="codeline" data-linenumber="535"><td class="num" id="LN535">535</td><td class="line"> g_source_remove (window-&gt;priv-&gt;hide_progress_timeout);</td></tr>
+<tr class="codeline" data-linenumber="536"><td class="num" id="LN536">536</td><td class="line"> window-&gt;priv-&gt;hide_progress_timeout = 0;</td></tr>
+<tr class="codeline" data-linenumber="537"><td class="num" id="LN537">537</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="538"><td class="num" id="LN538">538</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="539"><td class="num" id="LN539">539</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;theme_changed_handler_id != 0)</td></tr>
+<tr class="codeline" data-linenumber="540"><td class="num" id="LN540">540</td><td class="line"> g_signal_handler_disconnect (icon_theme, window-&gt;priv-&gt;theme_changed_handler_id);</td></tr>
+<tr class="codeline" data-linenumber="541"><td class="num" id="LN541">541</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="542"><td class="num" id="LN542">542</td><td class="line"> fr_window_history_clear (window);</td></tr>
+<tr class="codeline" data-linenumber="543"><td class="num" id="LN543">543</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="544"><td class="num" id="LN544">544</td><td class="line"> g_free (window-&gt;priv-&gt;open_default_dir);</td></tr>
+<tr class="codeline" data-linenumber="545"><td class="num" id="LN545">545</td><td class="line"> g_free (window-&gt;priv-&gt;add_default_dir);</td></tr>
+<tr class="codeline" data-linenumber="546"><td class="num" id="LN546">546</td><td class="line"> g_free (window-&gt;priv-&gt;extract_default_dir);</td></tr>
+<tr class="codeline" data-linenumber="547"><td class="num" id="LN547">547</td><td class="line"> g_free (window-&gt;priv-&gt;archive_uri);</td></tr>
+<tr class="codeline" data-linenumber="548"><td class="num" id="LN548">548</td><td class="line"> g_free (window-&gt;priv-&gt;working_archive);</td></tr>
+<tr class="codeline" data-linenumber="549"><td class="num" id="LN549">549</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="550"><td class="num" id="LN550">550</td><td class="line"> g_free (window-&gt;priv-&gt;password);</td></tr>
+<tr class="codeline" data-linenumber="551"><td class="num" id="LN551">551</td><td class="line"> g_free (window-&gt;priv-&gt;password_for_paste);</td></tr>
+<tr class="codeline" data-linenumber="552"><td class="num" id="LN552">552</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="553"><td class="num" id="LN553">553</td><td class="line"> g_object_unref (window-&gt;priv-&gt;list_store);</td></tr>
+<tr class="codeline" data-linenumber="554"><td class="num" id="LN554">554</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="555"><td class="num" id="LN555">555</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;clipboard_data != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="556"><td class="num" id="LN556">556</td><td class="line"> fr_clipboard_data_unref (window-&gt;priv-&gt;clipboard_data);</td></tr>
+<tr class="codeline" data-linenumber="557"><td class="num" id="LN557">557</td><td class="line"> window-&gt;priv-&gt;clipboard_data = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="558"><td class="num" id="LN558">558</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="559"><td class="num" id="LN559">559</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;copy_data != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="560"><td class="num" id="LN560">560</td><td class="line"> fr_clipboard_data_unref (window-&gt;priv-&gt;copy_data);</td></tr>
+<tr class="codeline" data-linenumber="561"><td class="num" id="LN561">561</td><td class="line"> window-&gt;priv-&gt;copy_data = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="562"><td class="num" id="LN562">562</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="563"><td class="num" id="LN563">563</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;copy_from_archive != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="564"><td class="num" id="LN564">564</td><td class="line"> g_object_unref (window-&gt;priv-&gt;copy_from_archive);</td></tr>
+<tr class="codeline" data-linenumber="565"><td class="num" id="LN565">565</td><td class="line"> window-&gt;priv-&gt;copy_from_archive = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="566"><td class="num" id="LN566">566</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="567"><td class="num" id="LN567">567</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="568"><td class="num" id="LN568">568</td><td class="line"> fr_window_free_open_files (window);</td></tr>
+<tr class="codeline" data-linenumber="569"><td class="num" id="LN569">569</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="570"><td class="num" id="LN570">570</td><td class="line"> fr_window_convert_data_free (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="571"><td class="num" id="LN571">571</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="572"><td class="num" id="LN572">572</td><td class="line"> g_clear_error (&amp;window-&gt;priv-&gt;drag_error);</td></tr>
+<tr class="codeline" data-linenumber="573"><td class="num" id="LN573">573</td><td class="line"> path_list_free (window-&gt;priv-&gt;drag_file_list);</td></tr>
+<tr class="codeline" data-linenumber="574"><td class="num" id="LN574">574</td><td class="line"> window-&gt;priv-&gt;drag_file_list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="575"><td class="num" id="LN575">575</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="576"><td class="num" id="LN576">576</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;file_popup_menu != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="577"><td class="num" id="LN577">577</td><td class="line"> gtk_widget_destroy (window-&gt;priv-&gt;file_popup_menu);</td></tr>
+<tr class="codeline" data-linenumber="578"><td class="num" id="LN578">578</td><td class="line"> window-&gt;priv-&gt;file_popup_menu = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="579"><td class="num" id="LN579">579</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="580"><td class="num" id="LN580">580</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="581"><td class="num" id="LN581">581</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;folder_popup_menu != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="582"><td class="num" id="LN582">582</td><td class="line"> gtk_widget_destroy (window-&gt;priv-&gt;folder_popup_menu);</td></tr>
+<tr class="codeline" data-linenumber="583"><td class="num" id="LN583">583</td><td class="line"> window-&gt;priv-&gt;folder_popup_menu = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="584"><td class="num" id="LN584">584</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="585"><td class="num" id="LN585">585</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="586"><td class="num" id="LN586">586</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;sidebar_folder_popup_menu != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="587"><td class="num" id="LN587">587</td><td class="line"> gtk_widget_destroy (window-&gt;priv-&gt;sidebar_folder_popup_menu);</td></tr>
+<tr class="codeline" data-linenumber="588"><td class="num" id="LN588">588</td><td class="line"> window-&gt;priv-&gt;sidebar_folder_popup_menu = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="589"><td class="num" id="LN589">589</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="590"><td class="num" id="LN590">590</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="591"><td class="num" id="LN591">591</td><td class="line"> g_free (window-&gt;priv-&gt;last_location);</td></tr>
+<tr class="codeline" data-linenumber="592"><td class="num" id="LN592">592</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="593"><td class="num" id="LN593">593</td><td class="line"> fr_window_free_batch_data (window);</td></tr>
+<tr class="codeline" data-linenumber="594"><td class="num" id="LN594">594</td><td class="line"> fr_window_reset_current_batch_action (window);</td></tr>
+<tr class="codeline" data-linenumber="595"><td class="num" id="LN595">595</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="596"><td class="num" id="LN596">596</td><td class="line"> g_free (window-&gt;priv-&gt;pd_last_archive);</td></tr>
+<tr class="codeline" data-linenumber="597"><td class="num" id="LN597">597</td><td class="line"> g_free (window-&gt;priv-&gt;pd_last_message);</td></tr>
+<tr class="codeline" data-linenumber="598"><td class="num" id="LN598">598</td><td class="line"> g_free (window-&gt;priv-&gt;extract_here_dir);</td></tr>
+<tr class="codeline" data-linenumber="599"><td class="num" id="LN599">599</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="600"><td class="num" id="LN600">600</td><td class="line"> g_settings_set_enum (window-&gt;priv-&gt;settings_listing, <span class='macro'>PREF_LISTING_SORT_METHOD<span class='macro_popup'>"sort-method"</span></span>, window-&gt;priv-&gt;sort_method);</td></tr>
+<tr class="codeline" data-linenumber="601"><td class="num" id="LN601">601</td><td class="line"> g_settings_set_enum (window-&gt;priv-&gt;settings_listing, <span class='macro'>PREF_LISTING_SORT_TYPE<span class='macro_popup'>"sort-type"</span></span>, window-&gt;priv-&gt;sort_type);</td></tr>
+<tr class="codeline" data-linenumber="602"><td class="num" id="LN602">602</td><td class="line"> g_settings_set_enum (window-&gt;priv-&gt;settings_listing, <span class='macro'>PREF_LISTING_LIST_MODE<span class='macro_popup'>"list-mode"</span></span>, window-&gt;priv-&gt;last_list_mode);</td></tr>
+<tr class="codeline" data-linenumber="603"><td class="num" id="LN603">603</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="604"><td class="num" id="LN604">604</td><td class="line"> _g_object_unref (window-&gt;priv-&gt;settings_listing);</td></tr>
+<tr class="codeline" data-linenumber="605"><td class="num" id="LN605">605</td><td class="line"> _g_object_unref (window-&gt;priv-&gt;settings_ui);</td></tr>
+<tr class="codeline" data-linenumber="606"><td class="num" id="LN606">606</td><td class="line"> _g_object_unref (window-&gt;priv-&gt;settings_general);</td></tr>
+<tr class="codeline" data-linenumber="607"><td class="num" id="LN607">607</td><td class="line"> _g_object_unref (window-&gt;priv-&gt;settings_dialogs);</td></tr>
+<tr class="codeline" data-linenumber="608"><td class="num" id="LN608">608</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="609"><td class="num" id="LN609">609</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;settings_caja)</td></tr>
+<tr class="codeline" data-linenumber="610"><td class="num" id="LN610">610</td><td class="line"> _g_object_unref (window-&gt;priv-&gt;settings_caja);</td></tr>
+<tr class="codeline" data-linenumber="611"><td class="num" id="LN611">611</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="612"><td class="num" id="LN612">612</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;ui_manager)</td></tr>
+<tr class="codeline" data-linenumber="613"><td class="num" id="LN613">613</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="614"><td class="num" id="LN614">614</td><td class="line"> g_object_unref (window-&gt;priv-&gt;ui_manager);</td></tr>
+<tr class="codeline" data-linenumber="615"><td class="num" id="LN615">615</td><td class="line"> window-&gt;priv-&gt;ui_manager = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="616"><td class="num" id="LN616">616</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="617"><td class="num" id="LN617">617</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="618"><td class="num" id="LN618">618</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="619"><td class="num" id="LN619">619</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="620"><td class="num" id="LN620">620</td><td class="line">fr_window_finalize (GObject *object)</td></tr>
+<tr class="codeline" data-linenumber="621"><td class="num" id="LN621">621</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="622"><td class="num" id="LN622">622</td><td class="line"> FrWindow *window = <span class='macro'>FR_WINDOW (object)<span class='macro_popup'>((((FrWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((object)), ((fr_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="623"><td class="num" id="LN623">623</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="624"><td class="num" id="LN624">624</td><td class="line"> fr_window_free_open_files (window);</td></tr>
+<tr class="codeline" data-linenumber="625"><td class="num" id="LN625">625</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="626"><td class="num" id="LN626">626</td><td class="line"> <span class='keyword'>if</span> (window-&gt;archive != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="627"><td class="num" id="LN627">627</td><td class="line"> g_object_unref (window-&gt;archive);</td></tr>
+<tr class="codeline" data-linenumber="628"><td class="num" id="LN628">628</td><td class="line"> window-&gt;archive = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="629"><td class="num" id="LN629">629</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="630"><td class="num" id="LN630">630</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="631"><td class="num" id="LN631">631</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="632"><td class="num" id="LN632">632</td><td class="line"> fr_window_free_private_data (window);</td></tr>
+<tr class="codeline" data-linenumber="633"><td class="num" id="LN633">633</td><td class="line"> g_free (window-&gt;priv);</td></tr>
+<tr class="codeline" data-linenumber="634"><td class="num" id="LN634">634</td><td class="line"> window-&gt;priv = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="635"><td class="num" id="LN635">635</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="636"><td class="num" id="LN636">636</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="637"><td class="num" id="LN637">637</td><td class="line"> <span class='keyword'>if</span> (gtk_application_get_windows (<span class='macro'>GTK_APPLICATION (g_application_get_default ())<span class='macro_popup'>((((GtkApplication*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_application_get_default ())), ((gtk_application_get_type<br> ()))))))</span></span>) == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="638"><td class="num" id="LN638">638</td><td class="line"> <span class='keyword'>if</span> (tree_pixbuf_hash != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="639"><td class="num" id="LN639">639</td><td class="line"> g_hash_table_foreach (tree_pixbuf_hash,</td></tr>
+<tr class="codeline" data-linenumber="640"><td class="num" id="LN640">640</td><td class="line"> gh_unref_pixbuf,</td></tr>
+<tr class="codeline" data-linenumber="641"><td class="num" id="LN641">641</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="642"><td class="num" id="LN642">642</td><td class="line"> g_hash_table_destroy (tree_pixbuf_hash);</td></tr>
+<tr class="codeline" data-linenumber="643"><td class="num" id="LN643">643</td><td class="line"> tree_pixbuf_hash = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="644"><td class="num" id="LN644">644</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="645"><td class="num" id="LN645">645</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="646"><td class="num" id="LN646">646</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="647"><td class="num" id="LN647">647</td><td class="line"> <span class='macro'>G_OBJECT_CLASS (parent_class)<span class='macro_popup'>((((GObjectClass*) (void *) g_type_check_class_cast ((GTypeClass<br>*) ((parent_class)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>-&gt;finalize (object);</td></tr>
+<tr class="codeline" data-linenumber="648"><td class="num" id="LN648">648</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="649"><td class="num" id="LN649">649</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="650"><td class="num" id="LN650">650</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="651"><td class="num" id="LN651">651</td><td class="line">close__step2 (gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="652"><td class="num" id="LN652">652</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="653"><td class="num" id="LN653">653</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (data)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="654"><td class="num" id="LN654">654</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="655"><td class="num" id="LN655">655</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="656"><td class="num" id="LN656">656</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="657"><td class="num" id="LN657">657</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="658"><td class="num" id="LN658">658</td><td class="line">fr_window_close (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="659"><td class="num" id="LN659">659</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="660"><td class="num" id="LN660">660</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;activity_ref &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="661"><td class="num" id="LN661">661</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="662"><td class="num" id="LN662">662</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="663"><td class="num" id="LN663">663</td><td class="line"> window-&gt;priv-&gt;closing = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="664"><td class="num" id="LN664">664</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="665"><td class="num" id="LN665">665</td><td class="line"> <span class='keyword'>if</span> (gtk_widget_get_realized (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="666"><td class="num" id="LN666">666</td><td class="line"> <span class='keyword'>int</span> width, height;</td></tr>
+<tr class="codeline" data-linenumber="667"><td class="num" id="LN667">667</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="668"><td class="num" id="LN668">668</td><td class="line"> width = gtk_widget_get_allocated_width (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="669"><td class="num" id="LN669">669</td><td class="line"> height = gtk_widget_get_allocated_height (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="670"><td class="num" id="LN670">670</td><td class="line"> g_settings_set_int (window-&gt;priv-&gt;settings_ui, <span class='macro'>PREF_UI_WINDOW_WIDTH<span class='macro_popup'>"window-width"</span></span>, width);</td></tr>
+<tr class="codeline" data-linenumber="671"><td class="num" id="LN671">671</td><td class="line"> g_settings_set_int (window-&gt;priv-&gt;settings_ui, <span class='macro'>PREF_UI_WINDOW_HEIGHT<span class='macro_popup'>"window-height"</span></span>, height);</td></tr>
+<tr class="codeline" data-linenumber="672"><td class="num" id="LN672">672</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="673"><td class="num" id="LN673">673</td><td class="line"> width = gtk_paned_get_position (<span class='macro'>GTK_PANED (window-&gt;priv-&gt;paned)<span class='macro_popup'>((((GtkPaned*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;paned)), ((gtk_paned_get_type ()))))<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="674"><td class="num" id="LN674">674</td><td class="line"> <span class='keyword'>if</span> (width &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="675"><td class="num" id="LN675">675</td><td class="line"> g_settings_set_int (window-&gt;priv-&gt;settings_ui, <span class='macro'>PREF_UI_SIDEBAR_WIDTH<span class='macro_popup'>"sidebar-width"</span></span>, width);</td></tr>
+<tr class="codeline" data-linenumber="676"><td class="num" id="LN676">676</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="677"><td class="num" id="LN677">677</td><td class="line"> width = gtk_tree_view_column_get_width (window-&gt;priv-&gt;filename_column);</td></tr>
+<tr class="codeline" data-linenumber="678"><td class="num" id="LN678">678</td><td class="line"> <span class='keyword'>if</span> (width &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="679"><td class="num" id="LN679">679</td><td class="line"> g_settings_set_int (window-&gt;priv-&gt;settings_listing, <span class='macro'>PREF_LISTING_NAME_COLUMN_WIDTH<span class='macro_popup'>"name-column-width"</span></span>, width);</td></tr>
+<tr class="codeline" data-linenumber="680"><td class="num" id="LN680">680</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="681"><td class="num" id="LN681">681</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="682"><td class="num" id="LN682">682</td><td class="line"> g_idle_add (close__step2, window);</td></tr>
+<tr class="codeline" data-linenumber="683"><td class="num" id="LN683">683</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="684"><td class="num" id="LN684">684</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="685"><td class="num" id="LN685">685</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="686"><td class="num" id="LN686">686</td><td class="line">fr_window_class_init (FrWindowClass *class)</td></tr>
+<tr class="codeline" data-linenumber="687"><td class="num" id="LN687">687</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="688"><td class="num" id="LN688">688</td><td class="line"> GObjectClass *gobject_class;</td></tr>
+<tr class="codeline" data-linenumber="689"><td class="num" id="LN689">689</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="690"><td class="num" id="LN690">690</td><td class="line"> parent_class = g_type_class_peek_parent (class);</td></tr>
+<tr class="codeline" data-linenumber="691"><td class="num" id="LN691">691</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="692"><td class="num" id="LN692">692</td><td class="line"> fr_window_signals[ARCHIVE_LOADED] =</td></tr>
+<tr class="codeline" data-linenumber="693"><td class="num" id="LN693">693</td><td class="line"> g_signal_new (<span class='string_literal'>"archive-loaded"</span>,</td></tr>
+<tr class="codeline" data-linenumber="694"><td class="num" id="LN694">694</td><td class="line"> <span class='macro'>G_TYPE_FROM_CLASS (class)<span class='macro_popup'>(((GTypeClass*) (class))-&gt;g_type)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="695"><td class="num" id="LN695">695</td><td class="line"> G_SIGNAL_RUN_LAST,</td></tr>
+<tr class="codeline" data-linenumber="696"><td class="num" id="LN696">696</td><td class="line"> <span class='macro'>G_STRUCT_OFFSET (FrWindowClass, archive_loaded)<span class='macro_popup'>((glong) __builtin_offsetof(FrWindowClass, archive_loaded))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="697"><td class="num" id="LN697">697</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="698"><td class="num" id="LN698">698</td><td class="line"> <span class='macro'>fr_marshal_VOID__BOOLEAN<span class='macro_popup'>g_cclosure_marshal_VOID__BOOLEAN</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="699"><td class="num" id="LN699">699</td><td class="line"> <span class='macro'>G_TYPE_NONE<span class='macro_popup'>((GType) ((1) &lt;&lt; (2)))</span></span>, 1,</td></tr>
+<tr class="codeline" data-linenumber="700"><td class="num" id="LN700">700</td><td class="line"> <span class='macro'>G_TYPE_BOOLEAN<span class='macro_popup'>((GType) ((5) &lt;&lt; (2)))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="701"><td class="num" id="LN701">701</td><td class="line"> fr_window_signals[PROGRESS] =</td></tr>
+<tr class="codeline" data-linenumber="702"><td class="num" id="LN702">702</td><td class="line"> g_signal_new (<span class='string_literal'>"progress"</span>,</td></tr>
+<tr class="codeline" data-linenumber="703"><td class="num" id="LN703">703</td><td class="line"> <span class='macro'>G_TYPE_FROM_CLASS (class)<span class='macro_popup'>(((GTypeClass*) (class))-&gt;g_type)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="704"><td class="num" id="LN704">704</td><td class="line"> G_SIGNAL_RUN_LAST,</td></tr>
+<tr class="codeline" data-linenumber="705"><td class="num" id="LN705">705</td><td class="line"> <span class='macro'>G_STRUCT_OFFSET (FrWindowClass, progress)<span class='macro_popup'>((glong) __builtin_offsetof(FrWindowClass, progress))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="706"><td class="num" id="LN706">706</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="707"><td class="num" id="LN707">707</td><td class="line"> fr_marshal_VOID__DOUBLE_STRING,</td></tr>
+<tr class="codeline" data-linenumber="708"><td class="num" id="LN708">708</td><td class="line"> <span class='macro'>G_TYPE_NONE<span class='macro_popup'>((GType) ((1) &lt;&lt; (2)))</span></span>, 2,</td></tr>
+<tr class="codeline" data-linenumber="709"><td class="num" id="LN709">709</td><td class="line"> <span class='macro'>G_TYPE_DOUBLE<span class='macro_popup'>((GType) ((15) &lt;&lt; (2)))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="710"><td class="num" id="LN710">710</td><td class="line"> <span class='macro'>G_TYPE_STRING<span class='macro_popup'>((GType) ((16) &lt;&lt; (2)))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="711"><td class="num" id="LN711">711</td><td class="line"> fr_window_signals[READY] =</td></tr>
+<tr class="codeline" data-linenumber="712"><td class="num" id="LN712">712</td><td class="line"> g_signal_new (<span class='string_literal'>"ready"</span>,</td></tr>
+<tr class="codeline" data-linenumber="713"><td class="num" id="LN713">713</td><td class="line"> <span class='macro'>G_TYPE_FROM_CLASS (class)<span class='macro_popup'>(((GTypeClass*) (class))-&gt;g_type)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="714"><td class="num" id="LN714">714</td><td class="line"> G_SIGNAL_RUN_LAST,</td></tr>
+<tr class="codeline" data-linenumber="715"><td class="num" id="LN715">715</td><td class="line"> <span class='macro'>G_STRUCT_OFFSET (FrWindowClass, ready)<span class='macro_popup'>((glong) __builtin_offsetof(FrWindowClass, ready))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="716"><td class="num" id="LN716">716</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="717"><td class="num" id="LN717">717</td><td class="line"> <span class='macro'>fr_marshal_VOID__POINTER<span class='macro_popup'>g_cclosure_marshal_VOID__POINTER</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="718"><td class="num" id="LN718">718</td><td class="line"> <span class='macro'>G_TYPE_NONE<span class='macro_popup'>((GType) ((1) &lt;&lt; (2)))</span></span>, 1,</td></tr>
+<tr class="codeline" data-linenumber="719"><td class="num" id="LN719">719</td><td class="line"> <span class='macro'>G_TYPE_POINTER<span class='macro_popup'>((GType) ((17) &lt;&lt; (2)))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="720"><td class="num" id="LN720">720</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="721"><td class="num" id="LN721">721</td><td class="line"> gobject_class = (GObjectClass*) class;</td></tr>
+<tr class="codeline" data-linenumber="722"><td class="num" id="LN722">722</td><td class="line"> gobject_class-&gt;finalize = fr_window_finalize;</td></tr>
+<tr class="codeline" data-linenumber="723"><td class="num" id="LN723">723</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="724"><td class="num" id="LN724">724</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="725"><td class="num" id="LN725">725</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> fr_window_update_paste_command_sensitivity (FrWindow *, GtkClipboard *);</td></tr>
+<tr class="codeline" data-linenumber="726"><td class="num" id="LN726">726</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="727"><td class="num" id="LN727">727</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="728"><td class="num" id="LN728">728</td><td class="line">clipboard_owner_change_cb (GtkClipboard *clipboard,</td></tr>
+<tr class="codeline" data-linenumber="729"><td class="num" id="LN729">729</td><td class="line"> GdkEvent *event,</td></tr>
+<tr class="codeline" data-linenumber="730"><td class="num" id="LN730">730</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="731"><td class="num" id="LN731">731</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="732"><td class="num" id="LN732">732</td><td class="line"> fr_window_update_paste_command_sensitivity ((FrWindow *) user_data, clipboard);</td></tr>
+<tr class="codeline" data-linenumber="733"><td class="num" id="LN733">733</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="734"><td class="num" id="LN734">734</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="735"><td class="num" id="LN735">735</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="736"><td class="num" id="LN736">736</td><td class="line">fr_window_realized (GtkWidget *window,</td></tr>
+<tr class="codeline" data-linenumber="737"><td class="num" id="LN737">737</td><td class="line"> gpointer *data)</td></tr>
+<tr class="codeline" data-linenumber="738"><td class="num" id="LN738">738</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="739"><td class="num" id="LN739">739</td><td class="line"> GtkClipboard *clipboard;</td></tr>
+<tr class="codeline" data-linenumber="740"><td class="num" id="LN740">740</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="741"><td class="num" id="LN741">741</td><td class="line"> clipboard = gtk_widget_get_clipboard (window, <span class='macro'>FR_CLIPBOARD<span class='macro_popup'>(gdk_atom_intern_static_string ("_RNGRAMPA_SPECIAL_CLIPBOARD"<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="742"><td class="num" id="LN742">742</td><td class="line"> <span class='macro'>g_signal_connect (clipboard,<span class='macro_popup'>g_signal_connect_data ((clipboard), ("owner_change"), (((GCallback<br>) (clipboard_owner_change_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="743"><td class="num" id="LN743">743</td><td class="line"> <span class='string_literal'><span class='macro'>"owner_change"</span>,<span class='macro_popup'>g_signal_connect_data ((clipboard), ("owner_change"), (((GCallback<br>) (clipboard_owner_change_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="744"><td class="num" id="LN744">744</td><td class="line"> <span class='macro'>G_CALLBACK (clipboard_owner_change_cb),<span class='macro_popup'>g_signal_connect_data ((clipboard), ("owner_change"), (((GCallback<br>) (clipboard_owner_change_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="745"><td class="num" id="LN745">745</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((clipboard), ("owner_change"), (((GCallback<br>) (clipboard_owner_change_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="746"><td class="num" id="LN746">746</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="747"><td class="num" id="LN747">747</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="748"><td class="num" id="LN748">748</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="749"><td class="num" id="LN749">749</td><td class="line">fr_window_unrealized (GtkWidget *window,</td></tr>
+<tr class="codeline" data-linenumber="750"><td class="num" id="LN750">750</td><td class="line"> gpointer *data)</td></tr>
+<tr class="codeline" data-linenumber="751"><td class="num" id="LN751">751</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="752"><td class="num" id="LN752">752</td><td class="line"> GtkClipboard *clipboard;</td></tr>
+<tr class="codeline" data-linenumber="753"><td class="num" id="LN753">753</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="754"><td class="num" id="LN754">754</td><td class="line"> clipboard = gtk_widget_get_clipboard (window, <span class='macro'>FR_CLIPBOARD<span class='macro_popup'>(gdk_atom_intern_static_string ("_RNGRAMPA_SPECIAL_CLIPBOARD"<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="755"><td class="num" id="LN755">755</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (clipboard,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((clipboard), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (((GCallback) (clipboard_owner_change_cb))), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="756"><td class="num" id="LN756">756</td><td class="line"> <span class='macro'>G_CALLBACK (clipboard_owner_change_cb),<span class='macro_popup'>g_signal_handlers_disconnect_matched ((clipboard), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (((GCallback) (clipboard_owner_change_cb))), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="757"><td class="num" id="LN757">757</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((clipboard), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (((GCallback) (clipboard_owner_change_cb))), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="758"><td class="num" id="LN758">758</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="759"><td class="num" id="LN759">759</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="760"><td class="num" id="LN760">760</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="761"><td class="num" id="LN761">761</td><td class="line">fr_window_init (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="762"><td class="num" id="LN762">762</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="763"><td class="num" id="LN763">763</td><td class="line"> GtkStyleContext *context;</td></tr>
+<tr class="codeline" data-linenumber="764"><td class="num" id="LN764">764</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="765"><td class="num" id="LN765">765</td><td class="line"> window-&gt;priv = <span class='macro'>g_new0 (FrWindowPrivateData, 1)<span class='macro_popup'>((FrWindowPrivateData *) g_malloc0_n ((1), sizeof (FrWindowPrivateData<br>)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="766"><td class="num" id="LN766">766</td><td class="line"> window-&gt;priv-&gt;update_dropped_files = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="767"><td class="num" id="LN767">767</td><td class="line"> window-&gt;priv-&gt;filter_mode = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="768"><td class="num" id="LN768">768</td><td class="line"> window-&gt;priv-&gt;batch_title = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="769"><td class="num" id="LN769">769</td><td class="line"> window-&gt;priv-&gt;use_progress_dialog = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="770"><td class="num" id="LN770">770</td><td class="line"> window-&gt;priv-&gt;batch_title = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="771"><td class="num" id="LN771">771</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="772"><td class="num" id="LN772">772</td><td class="line"> context = gtk_widget_get_style_context (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="773"><td class="num" id="LN773">773</td><td class="line"> gtk_style_context_add_class (context, <span class='string_literal'>"engrampa-window"</span>);</td></tr>
+<tr class="codeline" data-linenumber="774"><td class="num" id="LN774">774</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="775"><td class="num" id="LN775">775</td><td class="line"> <span class='macro'>g_signal_connect (window,<span class='macro_popup'>g_signal_connect_data ((window), ("realize"), (((GCallback) (<br>fr_window_realized))), (((void*)0)), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="776"><td class="num" id="LN776">776</td><td class="line"> <span class='string_literal'><span class='macro'>"realize"</span>,<span class='macro_popup'>g_signal_connect_data ((window), ("realize"), (((GCallback) (<br>fr_window_realized))), (((void*)0)), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="777"><td class="num" id="LN777">777</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_realized),<span class='macro_popup'>g_signal_connect_data ((window), ("realize"), (((GCallback) (<br>fr_window_realized))), (((void*)0)), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="778"><td class="num" id="LN778">778</td><td class="line"> <span class='macro'>NULL)<span class='macro_popup'>g_signal_connect_data ((window), ("realize"), (((GCallback) (<br>fr_window_realized))), (((void*)0)), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="779"><td class="num" id="LN779">779</td><td class="line"> <span class='macro'>g_signal_connect (window,<span class='macro_popup'>g_signal_connect_data ((window), ("unrealize"), (((GCallback)<br> (fr_window_unrealized))), (((void*)0)), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="780"><td class="num" id="LN780">780</td><td class="line"> <span class='string_literal'><span class='macro'>"unrealize"</span>,<span class='macro_popup'>g_signal_connect_data ((window), ("unrealize"), (((GCallback)<br> (fr_window_unrealized))), (((void*)0)), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="781"><td class="num" id="LN781">781</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_unrealized),<span class='macro_popup'>g_signal_connect_data ((window), ("unrealize"), (((GCallback)<br> (fr_window_unrealized))), (((void*)0)), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="782"><td class="num" id="LN782">782</td><td class="line"> <span class='macro'>NULL)<span class='macro_popup'>g_signal_connect_data ((window), ("unrealize"), (((GCallback)<br> (fr_window_unrealized))), (((void*)0)), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="783"><td class="num" id="LN783">783</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="784"><td class="num" id="LN784">784</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="785"><td class="num" id="LN785">785</td><td class="line">GType</td></tr>
+<tr class="codeline" data-linenumber="786"><td class="num" id="LN786">786</td><td class="line">fr_window_get_type (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="787"><td class="num" id="LN787">787</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="788"><td class="num" id="LN788">788</td><td class="line"> <span class='keyword'>static</span> GType type = 0;</td></tr>
+<tr class="codeline" data-linenumber="789"><td class="num" id="LN789">789</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="790"><td class="num" id="LN790">790</td><td class="line"> <span class='keyword'>if</span> (! type) {</td></tr>
+<tr class="codeline" data-linenumber="791"><td class="num" id="LN791">791</td><td class="line"> GTypeInfo type_info = {</td></tr>
+<tr class="codeline" data-linenumber="792"><td class="num" id="LN792">792</td><td class="line"> <span class='keyword'>sizeof</span> (FrWindowClass),</td></tr>
+<tr class="codeline" data-linenumber="793"><td class="num" id="LN793">793</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="794"><td class="num" id="LN794">794</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="795"><td class="num" id="LN795">795</td><td class="line"> (GClassInitFunc) fr_window_class_init,</td></tr>
+<tr class="codeline" data-linenumber="796"><td class="num" id="LN796">796</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="797"><td class="num" id="LN797">797</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="798"><td class="num" id="LN798">798</td><td class="line"> <span class='keyword'>sizeof</span> (FrWindow),</td></tr>
+<tr class="codeline" data-linenumber="799"><td class="num" id="LN799">799</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="800"><td class="num" id="LN800">800</td><td class="line"> (GInstanceInitFunc) fr_window_init,</td></tr>
+<tr class="codeline" data-linenumber="801"><td class="num" id="LN801">801</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="802"><td class="num" id="LN802">802</td><td class="line"> };</td></tr>
+<tr class="codeline" data-linenumber="803"><td class="num" id="LN803">803</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="804"><td class="num" id="LN804">804</td><td class="line"> type = g_type_register_static (<span class='macro'>GTK_TYPE_APPLICATION_WINDOW<span class='macro_popup'>(gtk_application_window_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="805"><td class="num" id="LN805">805</td><td class="line"> <span class='string_literal'>"FrWindow"</span>,</td></tr>
+<tr class="codeline" data-linenumber="806"><td class="num" id="LN806">806</td><td class="line"> &amp;type_info,</td></tr>
+<tr class="codeline" data-linenumber="807"><td class="num" id="LN807">807</td><td class="line"> 0);</td></tr>
+<tr class="codeline" data-linenumber="808"><td class="num" id="LN808">808</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="809"><td class="num" id="LN809">809</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="810"><td class="num" id="LN810">810</td><td class="line"> <span class='keyword'>return</span> type;</td></tr>
+<tr class="codeline" data-linenumber="811"><td class="num" id="LN811">811</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="812"><td class="num" id="LN812">812</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="813"><td class="num" id="LN813">813</td><td class="line"><span class='comment'>/* -- window history -- */</span></td></tr>
+<tr class="codeline" data-linenumber="814"><td class="num" id="LN814">814</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="815"><td class="num" id="LN815">815</td><td class="line"><span class='directive'>#if 0</span></td></tr>
+<tr class="codeline" data-linenumber="816"><td class="num" id="LN816">816</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="817"><td class="num" id="LN817">817</td><td class="line">fr_window_history_print (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="818"><td class="num" id="LN818">818</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="819"><td class="num" id="LN819">819</td><td class="line"> GList *list;</td></tr>
+<tr class="codeline" data-linenumber="820"><td class="num" id="LN820">820</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="821"><td class="num" id="LN821">821</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 821, __FUNCTION__</span></span>, <span class='string_literal'>"history:\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="822"><td class="num" id="LN822">822</td><td class="line"> <span class='keyword'>for</span> (list = window-&gt;priv-&gt;history; list; list = list-&gt;next)</td></tr>
+<tr class="codeline" data-linenumber="823"><td class="num" id="LN823">823</td><td class="line"> g_print (<span class='string_literal'>"\t%s %s\n"</span>,</td></tr>
+<tr class="codeline" data-linenumber="824"><td class="num" id="LN824">824</td><td class="line"> (<span class='keyword'>char</span>*) list-&gt;data,</td></tr>
+<tr class="codeline" data-linenumber="825"><td class="num" id="LN825">825</td><td class="line"> (list == window-&gt;priv-&gt;history_current)? <span class='string_literal'>"&lt;-"</span>: <span class='string_literal'>""</span>);</td></tr>
+<tr class="codeline" data-linenumber="826"><td class="num" id="LN826">826</td><td class="line"> g_print (<span class='string_literal'>"\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="827"><td class="num" id="LN827">827</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="828"><td class="num" id="LN828">828</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="829"><td class="num" id="LN829">829</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="830"><td class="num" id="LN830">830</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="831"><td class="num" id="LN831">831</td><td class="line">fr_window_history_add (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="832"><td class="num" id="LN832">832</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *path)</td></tr>
+<tr class="codeline" data-linenumber="833"><td class="num" id="LN833">833</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="834"><td class="num" id="LN834">834</td><td class="line"> <span class='keyword'>if</span> ((window-&gt;priv-&gt;history_current == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) || (g_strcmp0 (path, window-&gt;priv-&gt;history_current-&gt;data) != 0)) {</td></tr>
+<tr class="codeline" data-linenumber="835"><td class="num" id="LN835">835</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="836"><td class="num" id="LN836">836</td><td class="line"> GList *new_current = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="837"><td class="num" id="LN837">837</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="838"><td class="num" id="LN838">838</td><td class="line"> <span class='comment'>/* search the path in the history */</span></td></tr>
+<tr class="codeline" data-linenumber="839"><td class="num" id="LN839">839</td><td class="line"> <span class='keyword'>for</span> (scan = window-&gt;priv-&gt;history_current; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="840"><td class="num" id="LN840">840</td><td class="line"> <span class='keyword'>char</span> *path_in_history = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="841"><td class="num" id="LN841">841</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="842"><td class="num" id="LN842">842</td><td class="line"> <span class='keyword'>if</span> (g_strcmp0 (path, path_in_history) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="843"><td class="num" id="LN843">843</td><td class="line"> new_current = scan;</td></tr>
+<tr class="codeline" data-linenumber="844"><td class="num" id="LN844">844</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="845"><td class="num" id="LN845">845</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="846"><td class="num" id="LN846">846</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="847"><td class="num" id="LN847">847</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="848"><td class="num" id="LN848">848</td><td class="line"> <span class='keyword'>if</span> (new_current != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="849"><td class="num" id="LN849">849</td><td class="line"> window-&gt;priv-&gt;history_current = new_current;</td></tr>
+<tr class="codeline" data-linenumber="850"><td class="num" id="LN850">850</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="851"><td class="num" id="LN851">851</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="852"><td class="num" id="LN852">852</td><td class="line"> <span class='comment'>/* remove all the paths after the current position */</span></td></tr>
+<tr class="codeline" data-linenumber="853"><td class="num" id="LN853">853</td><td class="line"> <span class='keyword'>for</span> (scan = window-&gt;priv-&gt;history; scan &amp;&amp; (scan != window-&gt;priv-&gt;history_current); <span class='comment'>/* void */</span>) {</td></tr>
+<tr class="codeline" data-linenumber="854"><td class="num" id="LN854">854</td><td class="line"> GList *next = scan-&gt;next;</td></tr>
+<tr class="codeline" data-linenumber="855"><td class="num" id="LN855">855</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="856"><td class="num" id="LN856">856</td><td class="line"> window-&gt;priv-&gt;history = g_list_remove_link (window-&gt;priv-&gt;history, scan);</td></tr>
+<tr class="codeline" data-linenumber="857"><td class="num" id="LN857">857</td><td class="line"> path_list_free (scan);</td></tr>
+<tr class="codeline" data-linenumber="858"><td class="num" id="LN858">858</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="859"><td class="num" id="LN859">859</td><td class="line"> scan = next;</td></tr>
+<tr class="codeline" data-linenumber="860"><td class="num" id="LN860">860</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="861"><td class="num" id="LN861">861</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="862"><td class="num" id="LN862">862</td><td class="line"> window-&gt;priv-&gt;history = g_list_prepend (window-&gt;priv-&gt;history, <span class='macro'>g_strdup (path)<span class='macro_popup'>g_strdup_inline (path)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="863"><td class="num" id="LN863">863</td><td class="line"> window-&gt;priv-&gt;history_current = window-&gt;priv-&gt;history;</td></tr>
+<tr class="codeline" data-linenumber="864"><td class="num" id="LN864">864</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="865"><td class="num" id="LN865">865</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="866"><td class="num" id="LN866">866</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="867"><td class="num" id="LN867">867</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="868"><td class="num" id="LN868">868</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="869"><td class="num" id="LN869">869</td><td class="line">fr_window_history_pop (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="870"><td class="num" id="LN870">870</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="871"><td class="num" id="LN871">871</td><td class="line"> GList *first;</td></tr>
+<tr class="codeline" data-linenumber="872"><td class="num" id="LN872">872</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="873"><td class="num" id="LN873">873</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;history == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="874"><td class="num" id="LN874">874</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="875"><td class="num" id="LN875">875</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="876"><td class="num" id="LN876">876</td><td class="line"> first = window-&gt;priv-&gt;history;</td></tr>
+<tr class="codeline" data-linenumber="877"><td class="num" id="LN877">877</td><td class="line"> window-&gt;priv-&gt;history = g_list_remove_link (window-&gt;priv-&gt;history, first);</td></tr>
+<tr class="codeline" data-linenumber="878"><td class="num" id="LN878">878</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;history_current == first)</td></tr>
+<tr class="codeline" data-linenumber="879"><td class="num" id="LN879">879</td><td class="line"> window-&gt;priv-&gt;history_current = window-&gt;priv-&gt;history;</td></tr>
+<tr class="codeline" data-linenumber="880"><td class="num" id="LN880">880</td><td class="line"> g_free (first-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="881"><td class="num" id="LN881">881</td><td class="line"> g_list_free (first);</td></tr>
+<tr class="codeline" data-linenumber="882"><td class="num" id="LN882">882</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="883"><td class="num" id="LN883">883</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="884"><td class="num" id="LN884">884</td><td class="line"><span class='comment'>/* -- window_update_file_list -- */</span></td></tr>
+<tr class="codeline" data-linenumber="885"><td class="num" id="LN885">885</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="886"><td class="num" id="LN886">886</td><td class="line"><span class='keyword'>static</span> GPtrArray *</td></tr>
+<tr class="codeline" data-linenumber="887"><td class="num" id="LN887">887</td><td class="line">fr_window_get_current_dir_list (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="888"><td class="num" id="LN888">888</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="889"><td class="num" id="LN889">889</td><td class="line"> GPtrArray *files;</td></tr>
+<tr class="codeline" data-linenumber="890"><td class="num" id="LN890">890</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="891"><td class="num" id="LN891">891</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="892"><td class="num" id="LN892">892</td><td class="line"> files = g_ptr_array_sized_new (128);</td></tr>
+<tr class="codeline" data-linenumber="893"><td class="num" id="LN893">893</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="894"><td class="num" id="LN894">894</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; window-&gt;archive-&gt;command-&gt;files-&gt;len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="895"><td class="num" id="LN895">895</td><td class="line"> FileData *fdata = <span class='macro'>g_ptr_array_index (window-&gt;archive-&gt;command-&gt;files, i)<span class='macro_popup'>((window-&gt;archive-&gt;command-&gt;files)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="896"><td class="num" id="LN896">896</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="897"><td class="num" id="LN897">897</td><td class="line"> <span class='keyword'>if</span> (fdata-&gt;list_name == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="898"><td class="num" id="LN898">898</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="899"><td class="num" id="LN899">899</td><td class="line"> g_ptr_array_add (files, fdata);</td></tr>
+<tr class="codeline" data-linenumber="900"><td class="num" id="LN900">900</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="901"><td class="num" id="LN901">901</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="902"><td class="num" id="LN902">902</td><td class="line"> <span class='keyword'>return</span> files;</td></tr>
+<tr class="codeline" data-linenumber="903"><td class="num" id="LN903">903</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="904"><td class="num" id="LN904">904</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="905"><td class="num" id="LN905">905</td><td class="line"><span class='keyword'>static</span> gint</td></tr>
+<tr class="codeline" data-linenumber="906"><td class="num" id="LN906">906</td><td class="line">sort_by_name (gconstpointer ptr1,</td></tr>
+<tr class="codeline" data-linenumber="907"><td class="num" id="LN907">907</td><td class="line"> gconstpointer ptr2)</td></tr>
+<tr class="codeline" data-linenumber="908"><td class="num" id="LN908">908</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="909"><td class="num" id="LN909">909</td><td class="line"> FileData *fdata1 = *((FileData **) ptr1);</td></tr>
+<tr class="codeline" data-linenumber="910"><td class="num" id="LN910">910</td><td class="line"> FileData *fdata2 = *((FileData **) ptr2);</td></tr>
+<tr class="codeline" data-linenumber="911"><td class="num" id="LN911">911</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="912"><td class="num" id="LN912">912</td><td class="line"> <span class='keyword'>if</span> (file_data_is_dir (fdata1) != file_data_is_dir (fdata2)) {</td></tr>
+<tr class="codeline" data-linenumber="913"><td class="num" id="LN913">913</td><td class="line"> <span class='keyword'>if</span> (file_data_is_dir (fdata1))</td></tr>
+<tr class="codeline" data-linenumber="914"><td class="num" id="LN914">914</td><td class="line"> <span class='keyword'>return</span> -1;</td></tr>
+<tr class="codeline" data-linenumber="915"><td class="num" id="LN915">915</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="916"><td class="num" id="LN916">916</td><td class="line"> <span class='keyword'>return</span> 1;</td></tr>
+<tr class="codeline" data-linenumber="917"><td class="num" id="LN917">917</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="918"><td class="num" id="LN918">918</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="919"><td class="num" id="LN919">919</td><td class="line"> <span class='keyword'>return</span> strcmp (fdata1-&gt;sort_key, fdata2-&gt;sort_key);</td></tr>
+<tr class="codeline" data-linenumber="920"><td class="num" id="LN920">920</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="921"><td class="num" id="LN921">921</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="922"><td class="num" id="LN922">922</td><td class="line"><span class='keyword'>static</span> gint</td></tr>
+<tr class="codeline" data-linenumber="923"><td class="num" id="LN923">923</td><td class="line">sort_by_size (gconstpointer ptr1,</td></tr>
+<tr class="codeline" data-linenumber="924"><td class="num" id="LN924">924</td><td class="line"> gconstpointer ptr2)</td></tr>
+<tr class="codeline" data-linenumber="925"><td class="num" id="LN925">925</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="926"><td class="num" id="LN926">926</td><td class="line"> FileData *fdata1 = *((FileData **) ptr1);</td></tr>
+<tr class="codeline" data-linenumber="927"><td class="num" id="LN927">927</td><td class="line"> FileData *fdata2 = *((FileData **) ptr2);</td></tr>
+<tr class="codeline" data-linenumber="928"><td class="num" id="LN928">928</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="929"><td class="num" id="LN929">929</td><td class="line"> <span class='keyword'>if</span> (file_data_is_dir (fdata1) != file_data_is_dir (fdata2)) {</td></tr>
+<tr class="codeline" data-linenumber="930"><td class="num" id="LN930">930</td><td class="line"> <span class='keyword'>if</span> (file_data_is_dir (fdata1))</td></tr>
+<tr class="codeline" data-linenumber="931"><td class="num" id="LN931">931</td><td class="line"> <span class='keyword'>return</span> -1;</td></tr>
+<tr class="codeline" data-linenumber="932"><td class="num" id="LN932">932</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="933"><td class="num" id="LN933">933</td><td class="line"> <span class='keyword'>return</span> 1;</td></tr>
+<tr class="codeline" data-linenumber="934"><td class="num" id="LN934">934</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="935"><td class="num" id="LN935">935</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (file_data_is_dir (fdata1) &amp;&amp; file_data_is_dir (fdata2)) {</td></tr>
+<tr class="codeline" data-linenumber="936"><td class="num" id="LN936">936</td><td class="line"> <span class='keyword'>if</span> (fdata1-&gt;dir_size &gt; fdata2-&gt;dir_size)</td></tr>
+<tr class="codeline" data-linenumber="937"><td class="num" id="LN937">937</td><td class="line"> <span class='keyword'>return</span> 1;</td></tr>
+<tr class="codeline" data-linenumber="938"><td class="num" id="LN938">938</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="939"><td class="num" id="LN939">939</td><td class="line"> <span class='keyword'>return</span> -1;</td></tr>
+<tr class="codeline" data-linenumber="940"><td class="num" id="LN940">940</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="941"><td class="num" id="LN941">941</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="942"><td class="num" id="LN942">942</td><td class="line"> <span class='keyword'>if</span> (fdata1-&gt;size == fdata2-&gt;size)</td></tr>
+<tr class="codeline" data-linenumber="943"><td class="num" id="LN943">943</td><td class="line"> <span class='keyword'>return</span> sort_by_name (ptr1, ptr2);</td></tr>
+<tr class="codeline" data-linenumber="944"><td class="num" id="LN944">944</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (fdata1-&gt;size &gt; fdata2-&gt;size)</td></tr>
+<tr class="codeline" data-linenumber="945"><td class="num" id="LN945">945</td><td class="line"> <span class='keyword'>return</span> 1;</td></tr>
+<tr class="codeline" data-linenumber="946"><td class="num" id="LN946">946</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="947"><td class="num" id="LN947">947</td><td class="line"> <span class='keyword'>return</span> -1;</td></tr>
+<tr class="codeline" data-linenumber="948"><td class="num" id="LN948">948</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="949"><td class="num" id="LN949">949</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="950"><td class="num" id="LN950">950</td><td class="line"><span class='keyword'>static</span> gint</td></tr>
+<tr class="codeline" data-linenumber="951"><td class="num" id="LN951">951</td><td class="line">sort_by_type (gconstpointer ptr1,</td></tr>
+<tr class="codeline" data-linenumber="952"><td class="num" id="LN952">952</td><td class="line"> gconstpointer ptr2)</td></tr>
+<tr class="codeline" data-linenumber="953"><td class="num" id="LN953">953</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="954"><td class="num" id="LN954">954</td><td class="line"> FileData *fdata1 = *((FileData **) ptr1);</td></tr>
+<tr class="codeline" data-linenumber="955"><td class="num" id="LN955">955</td><td class="line"> FileData *fdata2 = *((FileData **) ptr2);</td></tr>
+<tr class="codeline" data-linenumber="956"><td class="num" id="LN956">956</td><td class="line"> <span class='keyword'>int</span> result;</td></tr>
+<tr class="codeline" data-linenumber="957"><td class="num" id="LN957">957</td><td class="line"> <span class='keyword'>char</span> *desc1, *desc2;</td></tr>
+<tr class="codeline" data-linenumber="958"><td class="num" id="LN958">958</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="959"><td class="num" id="LN959">959</td><td class="line"> <span class='keyword'>if</span> (file_data_is_dir (fdata1) != file_data_is_dir (fdata2)) {</td></tr>
+<tr class="codeline" data-linenumber="960"><td class="num" id="LN960">960</td><td class="line"> <span class='keyword'>if</span> (file_data_is_dir (fdata1))</td></tr>
+<tr class="codeline" data-linenumber="961"><td class="num" id="LN961">961</td><td class="line"> <span class='keyword'>return</span> -1;</td></tr>
+<tr class="codeline" data-linenumber="962"><td class="num" id="LN962">962</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="963"><td class="num" id="LN963">963</td><td class="line"> <span class='keyword'>return</span> 1;</td></tr>
+<tr class="codeline" data-linenumber="964"><td class="num" id="LN964">964</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="965"><td class="num" id="LN965">965</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (file_data_is_dir (fdata1) &amp;&amp; file_data_is_dir (fdata2))</td></tr>
+<tr class="codeline" data-linenumber="966"><td class="num" id="LN966">966</td><td class="line"> <span class='keyword'>return</span> sort_by_name (ptr1, ptr2);</td></tr>
+<tr class="codeline" data-linenumber="967"><td class="num" id="LN967">967</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="968"><td class="num" id="LN968">968</td><td class="line"> desc1 = g_content_type_get_description (fdata1-&gt;content_type);</td></tr>
+<tr class="codeline" data-linenumber="969"><td class="num" id="LN969">969</td><td class="line"> desc2 = g_content_type_get_description (fdata2-&gt;content_type);</td></tr>
+<tr class="codeline" data-linenumber="970"><td class="num" id="LN970">970</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="971"><td class="num" id="LN971">971</td><td class="line"> result = strcasecmp (desc1, desc2);</td></tr>
+<tr class="codeline" data-linenumber="972"><td class="num" id="LN972">972</td><td class="line"> g_free (desc1);</td></tr>
+<tr class="codeline" data-linenumber="973"><td class="num" id="LN973">973</td><td class="line"> g_free (desc2);</td></tr>
+<tr class="codeline" data-linenumber="974"><td class="num" id="LN974">974</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="975"><td class="num" id="LN975">975</td><td class="line"> <span class='keyword'>if</span> (result == 0)</td></tr>
+<tr class="codeline" data-linenumber="976"><td class="num" id="LN976">976</td><td class="line"> <span class='keyword'>return</span> sort_by_name (ptr1, ptr2);</td></tr>
+<tr class="codeline" data-linenumber="977"><td class="num" id="LN977">977</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="978"><td class="num" id="LN978">978</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="979"><td class="num" id="LN979">979</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="980"><td class="num" id="LN980">980</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="981"><td class="num" id="LN981">981</td><td class="line"><span class='keyword'>static</span> gint</td></tr>
+<tr class="codeline" data-linenumber="982"><td class="num" id="LN982">982</td><td class="line">sort_by_time (gconstpointer ptr1,</td></tr>
+<tr class="codeline" data-linenumber="983"><td class="num" id="LN983">983</td><td class="line"> gconstpointer ptr2)</td></tr>
+<tr class="codeline" data-linenumber="984"><td class="num" id="LN984">984</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="985"><td class="num" id="LN985">985</td><td class="line"> FileData *fdata1 = *((FileData **) ptr1);</td></tr>
+<tr class="codeline" data-linenumber="986"><td class="num" id="LN986">986</td><td class="line"> FileData *fdata2 = *((FileData **) ptr2);</td></tr>
+<tr class="codeline" data-linenumber="987"><td class="num" id="LN987">987</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="988"><td class="num" id="LN988">988</td><td class="line"> <span class='keyword'>if</span> (file_data_is_dir (fdata1) != file_data_is_dir (fdata2)) {</td></tr>
+<tr class="codeline" data-linenumber="989"><td class="num" id="LN989">989</td><td class="line"> <span class='keyword'>if</span> (file_data_is_dir (fdata1))</td></tr>
+<tr class="codeline" data-linenumber="990"><td class="num" id="LN990">990</td><td class="line"> <span class='keyword'>return</span> -1;</td></tr>
+<tr class="codeline" data-linenumber="991"><td class="num" id="LN991">991</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="992"><td class="num" id="LN992">992</td><td class="line"> <span class='keyword'>return</span> 1;</td></tr>
+<tr class="codeline" data-linenumber="993"><td class="num" id="LN993">993</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="994"><td class="num" id="LN994">994</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (file_data_is_dir (fdata1) &amp;&amp; file_data_is_dir (fdata2))</td></tr>
+<tr class="codeline" data-linenumber="995"><td class="num" id="LN995">995</td><td class="line"> <span class='keyword'>return</span> sort_by_name (ptr1, ptr2);</td></tr>
+<tr class="codeline" data-linenumber="996"><td class="num" id="LN996">996</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="997"><td class="num" id="LN997">997</td><td class="line"> <span class='keyword'>if</span> (fdata1-&gt;modified == fdata2-&gt;modified)</td></tr>
+<tr class="codeline" data-linenumber="998"><td class="num" id="LN998">998</td><td class="line"> <span class='keyword'>return</span> sort_by_name (ptr1, ptr2);</td></tr>
+<tr class="codeline" data-linenumber="999"><td class="num" id="LN999">999</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (fdata1-&gt;modified &gt; fdata2-&gt;modified)</td></tr>
+<tr class="codeline" data-linenumber="1000"><td class="num" id="LN1000">1000</td><td class="line"> <span class='keyword'>return</span> 1;</td></tr>
+<tr class="codeline" data-linenumber="1001"><td class="num" id="LN1001">1001</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1002"><td class="num" id="LN1002">1002</td><td class="line"> <span class='keyword'>return</span> -1;</td></tr>
+<tr class="codeline" data-linenumber="1003"><td class="num" id="LN1003">1003</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1004"><td class="num" id="LN1004">1004</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1005"><td class="num" id="LN1005">1005</td><td class="line"><span class='keyword'>static</span> gint</td></tr>
+<tr class="codeline" data-linenumber="1006"><td class="num" id="LN1006">1006</td><td class="line">sort_by_path (gconstpointer ptr1,</td></tr>
+<tr class="codeline" data-linenumber="1007"><td class="num" id="LN1007">1007</td><td class="line"> gconstpointer ptr2)</td></tr>
+<tr class="codeline" data-linenumber="1008"><td class="num" id="LN1008">1008</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1009"><td class="num" id="LN1009">1009</td><td class="line"> FileData *fdata1 = *((FileData **) ptr1);</td></tr>
+<tr class="codeline" data-linenumber="1010"><td class="num" id="LN1010">1010</td><td class="line"> FileData *fdata2 = *((FileData **) ptr2);</td></tr>
+<tr class="codeline" data-linenumber="1011"><td class="num" id="LN1011">1011</td><td class="line"> <span class='keyword'>int</span> result;</td></tr>
+<tr class="codeline" data-linenumber="1012"><td class="num" id="LN1012">1012</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1013"><td class="num" id="LN1013">1013</td><td class="line"> <span class='keyword'>if</span> (file_data_is_dir (fdata1) != file_data_is_dir (fdata2)) {</td></tr>
+<tr class="codeline" data-linenumber="1014"><td class="num" id="LN1014">1014</td><td class="line"> <span class='keyword'>if</span> (file_data_is_dir (fdata1))</td></tr>
+<tr class="codeline" data-linenumber="1015"><td class="num" id="LN1015">1015</td><td class="line"> <span class='keyword'>return</span> -1;</td></tr>
+<tr class="codeline" data-linenumber="1016"><td class="num" id="LN1016">1016</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1017"><td class="num" id="LN1017">1017</td><td class="line"> <span class='keyword'>return</span> 1;</td></tr>
+<tr class="codeline" data-linenumber="1018"><td class="num" id="LN1018">1018</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1019"><td class="num" id="LN1019">1019</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (file_data_is_dir (fdata1) &amp;&amp; file_data_is_dir (fdata2))</td></tr>
+<tr class="codeline" data-linenumber="1020"><td class="num" id="LN1020">1020</td><td class="line"> <span class='keyword'>return</span> sort_by_name (ptr1, ptr2);</td></tr>
+<tr class="codeline" data-linenumber="1021"><td class="num" id="LN1021">1021</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1022"><td class="num" id="LN1022">1022</td><td class="line"> <span class='comment'>/* 2 files */</span></td></tr>
+<tr class="codeline" data-linenumber="1023"><td class="num" id="LN1023">1023</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1024"><td class="num" id="LN1024">1024</td><td class="line"> result = strcasecmp (fdata1-&gt;path, fdata2-&gt;path);</td></tr>
+<tr class="codeline" data-linenumber="1025"><td class="num" id="LN1025">1025</td><td class="line"> <span class='keyword'>if</span> (result == 0)</td></tr>
+<tr class="codeline" data-linenumber="1026"><td class="num" id="LN1026">1026</td><td class="line"> <span class='keyword'>return</span> sort_by_name (ptr1, ptr2);</td></tr>
+<tr class="codeline" data-linenumber="1027"><td class="num" id="LN1027">1027</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1028"><td class="num" id="LN1028">1028</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="1029"><td class="num" id="LN1029">1029</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1030"><td class="num" id="LN1030">1030</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1031"><td class="num" id="LN1031">1031</td><td class="line"><span class='keyword'>static</span> guint64</td></tr>
+<tr class="codeline" data-linenumber="1032"><td class="num" id="LN1032">1032</td><td class="line">get_dir_size (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="1033"><td class="num" id="LN1033">1033</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *current_dir,</td></tr>
+<tr class="codeline" data-linenumber="1034"><td class="num" id="LN1034">1034</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *name)</td></tr>
+<tr class="codeline" data-linenumber="1035"><td class="num" id="LN1035">1035</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1036"><td class="num" id="LN1036">1036</td><td class="line"> guint64 size;</td></tr>
+<tr class="codeline" data-linenumber="1037"><td class="num" id="LN1037">1037</td><td class="line"> <span class='keyword'>char</span> *dirname;</td></tr>
+<tr class="codeline" data-linenumber="1038"><td class="num" id="LN1038">1038</td><td class="line"> <span class='keyword'>int</span> dirname_l;</td></tr>
+<tr class="codeline" data-linenumber="1039"><td class="num" id="LN1039">1039</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="1040"><td class="num" id="LN1040">1040</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1041"><td class="num" id="LN1041">1041</td><td class="line"> dirname = g_strconcat (current_dir, name, <span class='string_literal'>"/"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1042"><td class="num" id="LN1042">1042</td><td class="line"> dirname_l = strlen (dirname);</td></tr>
+<tr class="codeline" data-linenumber="1043"><td class="num" id="LN1043">1043</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1044"><td class="num" id="LN1044">1044</td><td class="line"> size = 0;</td></tr>
+<tr class="codeline" data-linenumber="1045"><td class="num" id="LN1045">1045</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; window-&gt;archive-&gt;command-&gt;files-&gt;len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="1046"><td class="num" id="LN1046">1046</td><td class="line"> FileData *fd = <span class='macro'>g_ptr_array_index (window-&gt;archive-&gt;command-&gt;files, i)<span class='macro_popup'>((window-&gt;archive-&gt;command-&gt;files)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1047"><td class="num" id="LN1047">1047</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1048"><td class="num" id="LN1048">1048</td><td class="line"> <span class='keyword'>if</span> (strncmp (dirname, fd-&gt;full_path, dirname_l) == 0)</td></tr>
+<tr class="codeline" data-linenumber="1049"><td class="num" id="LN1049">1049</td><td class="line"> size += fd-&gt;size;</td></tr>
+<tr class="codeline" data-linenumber="1050"><td class="num" id="LN1050">1050</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1051"><td class="num" id="LN1051">1051</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1052"><td class="num" id="LN1052">1052</td><td class="line"> g_free (dirname);</td></tr>
+<tr class="codeline" data-linenumber="1053"><td class="num" id="LN1053">1053</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1054"><td class="num" id="LN1054">1054</td><td class="line"> <span class='keyword'>return</span> size;</td></tr>
+<tr class="codeline" data-linenumber="1055"><td class="num" id="LN1055">1055</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1056"><td class="num" id="LN1056">1056</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1057"><td class="num" id="LN1057">1057</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1058"><td class="num" id="LN1058">1058</td><td class="line">file_data_respects_filter (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="1059"><td class="num" id="LN1059">1059</td><td class="line"> FileData *fdata)</td></tr>
+<tr class="codeline" data-linenumber="1060"><td class="num" id="LN1060">1060</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1061"><td class="num" id="LN1061">1061</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *filter;</td></tr>
+<tr class="codeline" data-linenumber="1062"><td class="num" id="LN1062">1062</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1063"><td class="num" id="LN1063">1063</td><td class="line"> filter = gtk_entry_get_text (<span class='macro'>GTK_ENTRY (window-&gt;priv-&gt;filter_entry)<span class='macro_popup'>((((GtkEntry*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;filter_entry)), ((gtk_entry_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1064"><td class="num" id="LN1064">1064</td><td class="line"> <span class='keyword'>if</span> ((fdata == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) || (filter == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) || (*filter == '\0'))</td></tr>
+<tr class="codeline" data-linenumber="1065"><td class="num" id="LN1065">1065</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1066"><td class="num" id="LN1066">1066</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1067"><td class="num" id="LN1067">1067</td><td class="line"> <span class='keyword'>if</span> (fdata-&gt;dir || (fdata-&gt;name == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="1068"><td class="num" id="LN1068">1068</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1069"><td class="num" id="LN1069">1069</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1070"><td class="num" id="LN1070">1070</td><td class="line"> <span class='keyword'>return</span> strncasecmp (fdata-&gt;name, filter, strlen (filter)) == 0;</td></tr>
+<tr class="codeline" data-linenumber="1071"><td class="num" id="LN1071">1071</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1072"><td class="num" id="LN1072">1072</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1073"><td class="num" id="LN1073">1073</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1074"><td class="num" id="LN1074">1074</td><td class="line">compute_file_list_name (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="1075"><td class="num" id="LN1075">1075</td><td class="line"> FileData *fdata,</td></tr>
+<tr class="codeline" data-linenumber="1076"><td class="num" id="LN1076">1076</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *current_dir,</td></tr>
+<tr class="codeline" data-linenumber="1077"><td class="num" id="LN1077">1077</td><td class="line"> size_t current_dir_len,</td></tr>
+<tr class="codeline" data-linenumber="1078"><td class="num" id="LN1078">1078</td><td class="line"> GHashTable *names_hash,</td></tr>
+<tr class="codeline" data-linenumber="1079"><td class="num" id="LN1079">1079</td><td class="line"> gboolean *different_name)</td></tr>
+<tr class="codeline" data-linenumber="1080"><td class="num" id="LN1080">1080</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1081"><td class="num" id="LN1081">1081</td><td class="line"> <span class='keyword'>register</span> <span class='keyword'>char</span> *scan, *end;</td></tr>
+<tr class="codeline" data-linenumber="1082"><td class="num" id="LN1082">1082</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1083"><td class="num" id="LN1083">1083</td><td class="line"> *different_name = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1084"><td class="num" id="LN1084">1084</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1085"><td class="num" id="LN1085">1085</td><td class="line"> <span class='keyword'>if</span> (! file_data_respects_filter (window, fdata))</td></tr>
+<tr class="codeline" data-linenumber="1086"><td class="num" id="LN1086">1086</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1087"><td class="num" id="LN1087">1087</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1088"><td class="num" id="LN1088">1088</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;list_mode == FR_WINDOW_LIST_MODE_FLAT) {</td></tr>
+<tr class="codeline" data-linenumber="1089"><td class="num" id="LN1089">1089</td><td class="line"> <span class='keyword'>if</span> (!(fdata-&gt;dir))</td></tr>
+<tr class="codeline" data-linenumber="1090"><td class="num" id="LN1090">1090</td><td class="line"> file_data_set_list_name (fdata, fdata-&gt;name);</td></tr>
+<tr class="codeline" data-linenumber="1091"><td class="num" id="LN1091">1091</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1092"><td class="num" id="LN1092">1092</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1093"><td class="num" id="LN1093">1093</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1094"><td class="num" id="LN1094">1094</td><td class="line"> <span class='keyword'>if</span> (strncmp (fdata-&gt;full_path, current_dir, current_dir_len) != 0) {</td></tr>
+<tr class="codeline" data-linenumber="1095"><td class="num" id="LN1095">1095</td><td class="line"> *different_name = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1096"><td class="num" id="LN1096">1096</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1097"><td class="num" id="LN1097">1097</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1098"><td class="num" id="LN1098">1098</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1099"><td class="num" id="LN1099">1099</td><td class="line"> <span class='keyword'>if</span> (strlen (fdata-&gt;full_path) == current_dir_len)</td></tr>
+<tr class="codeline" data-linenumber="1100"><td class="num" id="LN1100">1100</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1101"><td class="num" id="LN1101">1101</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1102"><td class="num" id="LN1102">1102</td><td class="line"> scan = fdata-&gt;full_path + current_dir_len;</td></tr>
+<tr class="codeline" data-linenumber="1103"><td class="num" id="LN1103">1103</td><td class="line"> end = strchr (scan, '/');</td></tr>
+<tr class="codeline" data-linenumber="1104"><td class="num" id="LN1104">1104</td><td class="line"> <span class='keyword'>if</span> ((end == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; ! fdata-&gt;dir) { <span class='comment'>/* file */</span></td></tr>
+<tr class="codeline" data-linenumber="1105"><td class="num" id="LN1105">1105</td><td class="line"> file_data_set_list_name (fdata, scan);</td></tr>
+<tr class="codeline" data-linenumber="1106"><td class="num" id="LN1106">1106</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1107"><td class="num" id="LN1107">1107</td><td class="line"> <span class='keyword'>else</span> { <span class='comment'>/* folder */</span></td></tr>
+<tr class="codeline" data-linenumber="1108"><td class="num" id="LN1108">1108</td><td class="line"> <span class='keyword'>char</span> *dir_name;</td></tr>
+<tr class="codeline" data-linenumber="1109"><td class="num" id="LN1109">1109</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1110"><td class="num" id="LN1110">1110</td><td class="line"> <span class='keyword'>if</span> (end != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1111"><td class="num" id="LN1111">1111</td><td class="line"> dir_name = g_strndup (scan, end - scan);</td></tr>
+<tr class="codeline" data-linenumber="1112"><td class="num" id="LN1112">1112</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1113"><td class="num" id="LN1113">1113</td><td class="line"> dir_name = <span class='macro'>g_strdup (scan)<span class='macro_popup'>g_strdup_inline (scan)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1114"><td class="num" id="LN1114">1114</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1115"><td class="num" id="LN1115">1115</td><td class="line"> <span class='comment'>/* avoid to insert duplicated folders */</span></td></tr>
+<tr class="codeline" data-linenumber="1116"><td class="num" id="LN1116">1116</td><td class="line"> <span class='keyword'>if</span> (g_hash_table_lookup (names_hash, dir_name) != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1117"><td class="num" id="LN1117">1117</td><td class="line"> g_free (dir_name);</td></tr>
+<tr class="codeline" data-linenumber="1118"><td class="num" id="LN1118">1118</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1119"><td class="num" id="LN1119">1119</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1120"><td class="num" id="LN1120">1120</td><td class="line"> g_hash_table_insert (names_hash, dir_name, <span class='macro'>GINT_TO_POINTER (1)<span class='macro_popup'>((gpointer) (glong) (1))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1121"><td class="num" id="LN1121">1121</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1122"><td class="num" id="LN1122">1122</td><td class="line"> <span class='keyword'>if</span> ((end != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (*(end + 1) != '\0'))</td></tr>
+<tr class="codeline" data-linenumber="1123"><td class="num" id="LN1123">1123</td><td class="line"> fdata-&gt;list_dir = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1124"><td class="num" id="LN1124">1124</td><td class="line"> file_data_set_list_name (fdata, dir_name);</td></tr>
+<tr class="codeline" data-linenumber="1125"><td class="num" id="LN1125">1125</td><td class="line"> fdata-&gt;dir_size = get_dir_size (window, current_dir, dir_name);</td></tr>
+<tr class="codeline" data-linenumber="1126"><td class="num" id="LN1126">1126</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1127"><td class="num" id="LN1127">1127</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1128"><td class="num" id="LN1128">1128</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1129"><td class="num" id="LN1129">1129</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1130"><td class="num" id="LN1130">1130</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1131"><td class="num" id="LN1131">1131</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1132"><td class="num" id="LN1132">1132</td><td class="line">fr_window_compute_list_names (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="1133"><td class="num" id="LN1133">1133</td><td class="line"> GPtrArray *files)</td></tr>
+<tr class="codeline" data-linenumber="1134"><td class="num" id="LN1134">1134</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1135"><td class="num" id="LN1135">1135</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *current_dir;</td></tr>
+<tr class="codeline" data-linenumber="1136"><td class="num" id="LN1136">1136</td><td class="line"> size_t current_dir_len;</td></tr>
+<tr class="codeline" data-linenumber="1137"><td class="num" id="LN1137">1137</td><td class="line"> GHashTable *names_hash;</td></tr>
+<tr class="codeline" data-linenumber="1138"><td class="num" id="LN1138">1138</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="1139"><td class="num" id="LN1139">1139</td><td class="line"> gboolean visible_list_started = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1140"><td class="num" id="LN1140">1140</td><td class="line"> gboolean visible_list_completed = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1141"><td class="num" id="LN1141">1141</td><td class="line"> gboolean different_name;</td></tr>
+<tr class="codeline" data-linenumber="1142"><td class="num" id="LN1142">1142</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1143"><td class="num" id="LN1143">1143</td><td class="line"> current_dir = fr_window_get_current_location (window);</td></tr>
+<tr class="codeline" data-linenumber="1144"><td class="num" id="LN1144">1144</td><td class="line"> current_dir_len = strlen (current_dir);</td></tr>
+<tr class="codeline" data-linenumber="1145"><td class="num" id="LN1145">1145</td><td class="line"> names_hash = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1146"><td class="num" id="LN1146">1146</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1147"><td class="num" id="LN1147">1147</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; files-&gt;len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="1148"><td class="num" id="LN1148">1148</td><td class="line"> FileData *fdata = <span class='macro'>g_ptr_array_index (files, i)<span class='macro_popup'>((files)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1149"><td class="num" id="LN1149">1149</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1150"><td class="num" id="LN1150">1150</td><td class="line"> file_data_set_list_name (fdata, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1151"><td class="num" id="LN1151">1151</td><td class="line"> fdata-&gt;list_dir = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1152"><td class="num" id="LN1152">1152</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1153"><td class="num" id="LN1153">1153</td><td class="line"> <span class='comment'>/* the files array is sorted by path, when the visible list</span></td></tr>
+<tr class="codeline" data-linenumber="1154"><td class="num" id="LN1154">1154</td><td class="line"> <span class='comment'>* is started and we find a path that doesn't match the</span></td></tr>
+<tr class="codeline" data-linenumber="1155"><td class="num" id="LN1155">1155</td><td class="line"> <span class='comment'>* current_dir path, the following files can't match</span></td></tr>
+<tr class="codeline" data-linenumber="1156"><td class="num" id="LN1156">1156</td><td class="line"> <span class='comment'>* the current_dir path. */</span></td></tr>
+<tr class="codeline" data-linenumber="1157"><td class="num" id="LN1157">1157</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1158"><td class="num" id="LN1158">1158</td><td class="line"> <span class='keyword'>if</span> (visible_list_completed)</td></tr>
+<tr class="codeline" data-linenumber="1159"><td class="num" id="LN1159">1159</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="1160"><td class="num" id="LN1160">1160</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1161"><td class="num" id="LN1161">1161</td><td class="line"> <span class='keyword'>if</span> (compute_file_list_name (window, fdata, current_dir, current_dir_len, names_hash, &amp;different_name)) {</td></tr>
+<tr class="codeline" data-linenumber="1162"><td class="num" id="LN1162">1162</td><td class="line"> visible_list_started = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1163"><td class="num" id="LN1163">1163</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1164"><td class="num" id="LN1164">1164</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (visible_list_started &amp;&amp; different_name)</td></tr>
+<tr class="codeline" data-linenumber="1165"><td class="num" id="LN1165">1165</td><td class="line"> visible_list_completed = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1166"><td class="num" id="LN1166">1166</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1167"><td class="num" id="LN1167">1167</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1168"><td class="num" id="LN1168">1168</td><td class="line"> g_hash_table_destroy (names_hash);</td></tr>
+<tr class="codeline" data-linenumber="1169"><td class="num" id="LN1169">1169</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1170"><td class="num" id="LN1170">1170</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1171"><td class="num" id="LN1171">1171</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1172"><td class="num" id="LN1172">1172</td><td class="line">fr_window_dir_exists_in_archive (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="1173"><td class="num" id="LN1173">1173</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *dir_name)</td></tr>
+<tr class="codeline" data-linenumber="1174"><td class="num" id="LN1174">1174</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1175"><td class="num" id="LN1175">1175</td><td class="line"> <span class='keyword'>int</span> dir_name_len;</td></tr>
+<tr class="codeline" data-linenumber="1176"><td class="num" id="LN1176">1176</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="1177"><td class="num" id="LN1177">1177</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1178"><td class="num" id="LN1178">1178</td><td class="line"> <span class='keyword'>if</span> (dir_name == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1179"><td class="num" id="LN1179">1179</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1180"><td class="num" id="LN1180">1180</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1181"><td class="num" id="LN1181">1181</td><td class="line"> dir_name_len = strlen (dir_name);</td></tr>
+<tr class="codeline" data-linenumber="1182"><td class="num" id="LN1182">1182</td><td class="line"> <span class='keyword'>if</span> (dir_name_len == 0)</td></tr>
+<tr class="codeline" data-linenumber="1183"><td class="num" id="LN1183">1183</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1184"><td class="num" id="LN1184">1184</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1185"><td class="num" id="LN1185">1185</td><td class="line"> <span class='keyword'>if</span> (strcmp (dir_name, <span class='string_literal'>"/"</span>) == 0)</td></tr>
+<tr class="codeline" data-linenumber="1186"><td class="num" id="LN1186">1186</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1187"><td class="num" id="LN1187">1187</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1188"><td class="num" id="LN1188">1188</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; window-&gt;archive-&gt;command-&gt;files-&gt;len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="1189"><td class="num" id="LN1189">1189</td><td class="line"> FileData *fdata = <span class='macro'>g_ptr_array_index (window-&gt;archive-&gt;command-&gt;files, i)<span class='macro_popup'>((window-&gt;archive-&gt;command-&gt;files)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1190"><td class="num" id="LN1190">1190</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1191"><td class="num" id="LN1191">1191</td><td class="line"> <span class='keyword'>if</span> (strncmp (dir_name, fdata-&gt;full_path, dir_name_len) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="1192"><td class="num" id="LN1192">1192</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1193"><td class="num" id="LN1193">1193</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1194"><td class="num" id="LN1194">1194</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (fdata-&gt;dir</td></tr>
+<tr class="codeline" data-linenumber="1195"><td class="num" id="LN1195">1195</td><td class="line"> &amp;&amp; (fdata-&gt;full_path[strlen (fdata-&gt;full_path) -1] != '/')</td></tr>
+<tr class="codeline" data-linenumber="1196"><td class="num" id="LN1196">1196</td><td class="line"> &amp;&amp; (strncmp (dir_name, fdata-&gt;full_path, dir_name_len - 1) == 0))</td></tr>
+<tr class="codeline" data-linenumber="1197"><td class="num" id="LN1197">1197</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1198"><td class="num" id="LN1198">1198</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1199"><td class="num" id="LN1199">1199</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1200"><td class="num" id="LN1200">1200</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1201"><td class="num" id="LN1201">1201</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1202"><td class="num" id="LN1202">1202</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1203"><td class="num" id="LN1203">1203</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1204"><td class="num" id="LN1204">1204</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1205"><td class="num" id="LN1205">1205</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="1206"><td class="num" id="LN1206">1206</td><td class="line">get_parent_dir (<span class='keyword'>const</span> <span class='keyword'>char</span> *current_dir)</td></tr>
+<tr class="codeline" data-linenumber="1207"><td class="num" id="LN1207">1207</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1208"><td class="num" id="LN1208">1208</td><td class="line"> <span class='keyword'>char</span> *dir;</td></tr>
+<tr class="codeline" data-linenumber="1209"><td class="num" id="LN1209">1209</td><td class="line"> <span class='keyword'>char</span> *new_dir;</td></tr>
+<tr class="codeline" data-linenumber="1210"><td class="num" id="LN1210">1210</td><td class="line"> <span class='keyword'>char</span> *retval;</td></tr>
+<tr class="codeline" data-linenumber="1211"><td class="num" id="LN1211">1211</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1212"><td class="num" id="LN1212">1212</td><td class="line"> <span class='keyword'>if</span> (current_dir == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1213"><td class="num" id="LN1213">1213</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1214"><td class="num" id="LN1214">1214</td><td class="line"> <span class='keyword'>if</span> (strcmp (current_dir, <span class='string_literal'>"/"</span>) == 0)</td></tr>
+<tr class="codeline" data-linenumber="1215"><td class="num" id="LN1215">1215</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>g_strdup (<span class='string_literal'>"/"</span>)<span class='macro_popup'>g_strdup_inline ("/")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1216"><td class="num" id="LN1216">1216</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1217"><td class="num" id="LN1217">1217</td><td class="line"> dir = <span class='macro'>g_strdup (current_dir)<span class='macro_popup'>g_strdup_inline (current_dir)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1218"><td class="num" id="LN1218">1218</td><td class="line"> dir[strlen (dir) - 1] = 0;</td></tr>
+<tr class="codeline" data-linenumber="1219"><td class="num" id="LN1219">1219</td><td class="line"> new_dir = remove_level_from_path (dir);</td></tr>
+<tr class="codeline" data-linenumber="1220"><td class="num" id="LN1220">1220</td><td class="line"> g_free (dir);</td></tr>
+<tr class="codeline" data-linenumber="1221"><td class="num" id="LN1221">1221</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1222"><td class="num" id="LN1222">1222</td><td class="line"> <span class='keyword'>if</span> (new_dir[strlen (new_dir) - 1] == '/')</td></tr>
+<tr class="codeline" data-linenumber="1223"><td class="num" id="LN1223">1223</td><td class="line"> retval = new_dir;</td></tr>
+<tr class="codeline" data-linenumber="1224"><td class="num" id="LN1224">1224</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1225"><td class="num" id="LN1225">1225</td><td class="line"> retval = g_strconcat (new_dir, <span class='string_literal'>"/"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1226"><td class="num" id="LN1226">1226</td><td class="line"> g_free (new_dir);</td></tr>
+<tr class="codeline" data-linenumber="1227"><td class="num" id="LN1227">1227</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1228"><td class="num" id="LN1228">1228</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1229"><td class="num" id="LN1229">1229</td><td class="line"> <span class='keyword'>return</span> retval;</td></tr>
+<tr class="codeline" data-linenumber="1230"><td class="num" id="LN1230">1230</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1231"><td class="num" id="LN1231">1231</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1232"><td class="num" id="LN1232">1232</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> fr_window_update_statusbar_list_info (FrWindow *window);</td></tr>
+<tr class="codeline" data-linenumber="1233"><td class="num" id="LN1233">1233</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1234"><td class="num" id="LN1234">1234</td><td class="line"><span class='keyword'>static</span> GdkPixbuf *</td></tr>
+<tr class="codeline" data-linenumber="1235"><td class="num" id="LN1235">1235</td><td class="line">get_mime_type_icon (<span class='keyword'>const</span> <span class='keyword'>char</span> *mime_type)</td></tr>
+<tr class="codeline" data-linenumber="1236"><td class="num" id="LN1236">1236</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1237"><td class="num" id="LN1237">1237</td><td class="line"> GdkPixbuf *pixbuf = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1238"><td class="num" id="LN1238">1238</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1239"><td class="num" id="LN1239">1239</td><td class="line"> pixbuf = g_hash_table_lookup (tree_pixbuf_hash, mime_type);</td></tr>
+<tr class="codeline" data-linenumber="1240"><td class="num" id="LN1240">1240</td><td class="line"> <span class='keyword'>if</span> (pixbuf != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1241"><td class="num" id="LN1241">1241</td><td class="line"> <span class='macro'>g_object_ref (G_OBJECT (pixbuf))<span class='macro_popup'>((__typeof__ (((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((pixbuf)), (((GType) ((20) &lt;&lt; (2)))<br>))))))) (g_object_ref) (((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((pixbuf)), (((GType) ((20) &lt;&lt; (2)))<br>)))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1242"><td class="num" id="LN1242">1242</td><td class="line"> <span class='keyword'>return</span> pixbuf;</td></tr>
+<tr class="codeline" data-linenumber="1243"><td class="num" id="LN1243">1243</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1244"><td class="num" id="LN1244">1244</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1245"><td class="num" id="LN1245">1245</td><td class="line"> pixbuf = get_mime_type_pixbuf (mime_type, file_list_icon_size, icon_theme);</td></tr>
+<tr class="codeline" data-linenumber="1246"><td class="num" id="LN1246">1246</td><td class="line"> <span class='keyword'>if</span> (pixbuf == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1247"><td class="num" id="LN1247">1247</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1248"><td class="num" id="LN1248">1248</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1249"><td class="num" id="LN1249">1249</td><td class="line"> pixbuf = gdk_pixbuf_copy (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="1250"><td class="num" id="LN1250">1250</td><td class="line"> g_hash_table_insert (tree_pixbuf_hash, (gpointer) mime_type, pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="1251"><td class="num" id="LN1251">1251</td><td class="line"> <span class='macro'>g_object_ref (G_OBJECT (pixbuf))<span class='macro_popup'>((__typeof__ (((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((pixbuf)), (((GType) ((20) &lt;&lt; (2)))<br>))))))) (g_object_ref) (((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((pixbuf)), (((GType) ((20) &lt;&lt; (2)))<br>)))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1252"><td class="num" id="LN1252">1252</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1253"><td class="num" id="LN1253">1253</td><td class="line"> <span class='keyword'>return</span> pixbuf;</td></tr>
+<tr class="codeline" data-linenumber="1254"><td class="num" id="LN1254">1254</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1255"><td class="num" id="LN1255">1255</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1256"><td class="num" id="LN1256">1256</td><td class="line"><span class='keyword'>static</span> GdkPixbuf *</td></tr>
+<tr class="codeline" data-linenumber="1257"><td class="num" id="LN1257">1257</td><td class="line">get_icon (FileData *fdata)</td></tr>
+<tr class="codeline" data-linenumber="1258"><td class="num" id="LN1258">1258</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1259"><td class="num" id="LN1259">1259</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *content_type;</td></tr>
+<tr class="codeline" data-linenumber="1260"><td class="num" id="LN1260">1260</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1261"><td class="num" id="LN1261">1261</td><td class="line"> <span class='keyword'>if</span> (file_data_is_dir (fdata))</td></tr>
+<tr class="codeline" data-linenumber="1262"><td class="num" id="LN1262">1262</td><td class="line"> content_type = <span class='macro'>MIME_TYPE_DIRECTORY<span class='macro_popup'>"folder"</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1263"><td class="num" id="LN1263">1263</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1264"><td class="num" id="LN1264">1264</td><td class="line"> content_type = fdata-&gt;content_type;</td></tr>
+<tr class="codeline" data-linenumber="1265"><td class="num" id="LN1265">1265</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1266"><td class="num" id="LN1266">1266</td><td class="line"> <span class='keyword'>return</span> get_mime_type_icon (content_type);</td></tr>
+<tr class="codeline" data-linenumber="1267"><td class="num" id="LN1267">1267</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1268"><td class="num" id="LN1268">1268</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1269"><td class="num" id="LN1269">1269</td><td class="line"><span class='keyword'>static</span> GdkPixbuf *</td></tr>
+<tr class="codeline" data-linenumber="1270"><td class="num" id="LN1270">1270</td><td class="line">get_emblem (FileData *fdata)</td></tr>
+<tr class="codeline" data-linenumber="1271"><td class="num" id="LN1271">1271</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1272"><td class="num" id="LN1272">1272</td><td class="line"> <span class='keyword'>if</span> (! fdata-&gt;encrypted)</td></tr>
+<tr class="codeline" data-linenumber="1273"><td class="num" id="LN1273">1273</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1274"><td class="num" id="LN1274">1274</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1275"><td class="num" id="LN1275">1275</td><td class="line"> <span class='keyword'>return</span> get_mime_type_icon (<span class='string_literal'>"emblem-nowrite"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1276"><td class="num" id="LN1276">1276</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1277"><td class="num" id="LN1277">1277</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1278"><td class="num" id="LN1278">1278</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="1279"><td class="num" id="LN1279">1279</td><td class="line">get_column_from_sort_method (FrWindowSortMethod sort_method)</td></tr>
+<tr class="codeline" data-linenumber="1280"><td class="num" id="LN1280">1280</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1281"><td class="num" id="LN1281">1281</td><td class="line"> <span class='keyword'>switch</span> (sort_method) {</td></tr>
+<tr class="codeline" data-linenumber="1282"><td class="num" id="LN1282">1282</td><td class="line"> <span class='keyword'>case</span> FR_WINDOW_SORT_BY_NAME: <span class='keyword'>return</span> COLUMN_NAME;</td></tr>
+<tr class="codeline" data-linenumber="1283"><td class="num" id="LN1283">1283</td><td class="line"> <span class='keyword'>case</span> FR_WINDOW_SORT_BY_SIZE: <span class='keyword'>return</span> COLUMN_SIZE;</td></tr>
+<tr class="codeline" data-linenumber="1284"><td class="num" id="LN1284">1284</td><td class="line"> <span class='keyword'>case</span> FR_WINDOW_SORT_BY_TYPE: <span class='keyword'>return</span> COLUMN_TYPE;</td></tr>
+<tr class="codeline" data-linenumber="1285"><td class="num" id="LN1285">1285</td><td class="line"> <span class='keyword'>case</span> FR_WINDOW_SORT_BY_TIME: <span class='keyword'>return</span> COLUMN_TIME;</td></tr>
+<tr class="codeline" data-linenumber="1286"><td class="num" id="LN1286">1286</td><td class="line"> <span class='keyword'>case</span> FR_WINDOW_SORT_BY_PATH: <span class='keyword'>return</span> COLUMN_PATH;</td></tr>
+<tr class="codeline" data-linenumber="1287"><td class="num" id="LN1287">1287</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="1288"><td class="num" id="LN1288">1288</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1289"><td class="num" id="LN1289">1289</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1290"><td class="num" id="LN1290">1290</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1291"><td class="num" id="LN1291">1291</td><td class="line"> <span class='keyword'>return</span> COLUMN_NAME;</td></tr>
+<tr class="codeline" data-linenumber="1292"><td class="num" id="LN1292">1292</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1293"><td class="num" id="LN1293">1293</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1294"><td class="num" id="LN1294">1294</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="1295"><td class="num" id="LN1295">1295</td><td class="line">get_sort_method_from_column (<span class='keyword'>int</span> column_id)</td></tr>
+<tr class="codeline" data-linenumber="1296"><td class="num" id="LN1296">1296</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1297"><td class="num" id="LN1297">1297</td><td class="line"> <span class='keyword'>switch</span> (column_id) {</td></tr>
+<tr class="codeline" data-linenumber="1298"><td class="num" id="LN1298">1298</td><td class="line"> <span class='keyword'>case</span> COLUMN_NAME: <span class='keyword'>return</span> FR_WINDOW_SORT_BY_NAME;</td></tr>
+<tr class="codeline" data-linenumber="1299"><td class="num" id="LN1299">1299</td><td class="line"> <span class='keyword'>case</span> COLUMN_SIZE: <span class='keyword'>return</span> FR_WINDOW_SORT_BY_SIZE;</td></tr>
+<tr class="codeline" data-linenumber="1300"><td class="num" id="LN1300">1300</td><td class="line"> <span class='keyword'>case</span> COLUMN_TYPE: <span class='keyword'>return</span> FR_WINDOW_SORT_BY_TYPE;</td></tr>
+<tr class="codeline" data-linenumber="1301"><td class="num" id="LN1301">1301</td><td class="line"> <span class='keyword'>case</span> COLUMN_TIME: <span class='keyword'>return</span> FR_WINDOW_SORT_BY_TIME;</td></tr>
+<tr class="codeline" data-linenumber="1302"><td class="num" id="LN1302">1302</td><td class="line"> <span class='keyword'>case</span> COLUMN_PATH: <span class='keyword'>return</span> FR_WINDOW_SORT_BY_PATH;</td></tr>
+<tr class="codeline" data-linenumber="1303"><td class="num" id="LN1303">1303</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="1304"><td class="num" id="LN1304">1304</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1305"><td class="num" id="LN1305">1305</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1306"><td class="num" id="LN1306">1306</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1307"><td class="num" id="LN1307">1307</td><td class="line"> <span class='keyword'>return</span> FR_WINDOW_SORT_BY_NAME;</td></tr>
+<tr class="codeline" data-linenumber="1308"><td class="num" id="LN1308">1308</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1309"><td class="num" id="LN1309">1309</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1310"><td class="num" id="LN1310">1310</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1311"><td class="num" id="LN1311">1311</td><td class="line">add_selected_from_list_view (GtkTreeModel *model,</td></tr>
+<tr class="codeline" data-linenumber="1312"><td class="num" id="LN1312">1312</td><td class="line"> GtkTreePath *path,</td></tr>
+<tr class="codeline" data-linenumber="1313"><td class="num" id="LN1313">1313</td><td class="line"> GtkTreeIter *iter,</td></tr>
+<tr class="codeline" data-linenumber="1314"><td class="num" id="LN1314">1314</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1315"><td class="num" id="LN1315">1315</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1316"><td class="num" id="LN1316">1316</td><td class="line"> GList **list = data;</td></tr>
+<tr class="codeline" data-linenumber="1317"><td class="num" id="LN1317">1317</td><td class="line"> FileData *fdata;</td></tr>
+<tr class="codeline" data-linenumber="1318"><td class="num" id="LN1318">1318</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1319"><td class="num" id="LN1319">1319</td><td class="line"> gtk_tree_model_get (model, iter,</td></tr>
+<tr class="codeline" data-linenumber="1320"><td class="num" id="LN1320">1320</td><td class="line"> COLUMN_FILE_DATA, &amp;fdata,</td></tr>
+<tr class="codeline" data-linenumber="1321"><td class="num" id="LN1321">1321</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="1322"><td class="num" id="LN1322">1322</td><td class="line"> *list = g_list_prepend (*list, fdata);</td></tr>
+<tr class="codeline" data-linenumber="1323"><td class="num" id="LN1323">1323</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1324"><td class="num" id="LN1324">1324</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1325"><td class="num" id="LN1325">1325</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1326"><td class="num" id="LN1326">1326</td><td class="line">add_selected_from_tree_view (GtkTreeModel *model,</td></tr>
+<tr class="codeline" data-linenumber="1327"><td class="num" id="LN1327">1327</td><td class="line"> GtkTreePath *path,</td></tr>
+<tr class="codeline" data-linenumber="1328"><td class="num" id="LN1328">1328</td><td class="line"> GtkTreeIter *iter,</td></tr>
+<tr class="codeline" data-linenumber="1329"><td class="num" id="LN1329">1329</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1330"><td class="num" id="LN1330">1330</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1331"><td class="num" id="LN1331">1331</td><td class="line"> GList **list = data;</td></tr>
+<tr class="codeline" data-linenumber="1332"><td class="num" id="LN1332">1332</td><td class="line"> <span class='keyword'>char</span> *dir_path;</td></tr>
+<tr class="codeline" data-linenumber="1333"><td class="num" id="LN1333">1333</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1334"><td class="num" id="LN1334">1334</td><td class="line"> gtk_tree_model_get (model, iter,</td></tr>
+<tr class="codeline" data-linenumber="1335"><td class="num" id="LN1335">1335</td><td class="line"> TREE_COLUMN_PATH, &amp;dir_path,</td></tr>
+<tr class="codeline" data-linenumber="1336"><td class="num" id="LN1336">1336</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="1337"><td class="num" id="LN1337">1337</td><td class="line"> *list = g_list_prepend (*list, dir_path);</td></tr>
+<tr class="codeline" data-linenumber="1338"><td class="num" id="LN1338">1338</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1339"><td class="num" id="LN1339">1339</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1340"><td class="num" id="LN1340">1340</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1341"><td class="num" id="LN1341">1341</td><td class="line">add_selected_fd (GtkTreeModel *model,</td></tr>
+<tr class="codeline" data-linenumber="1342"><td class="num" id="LN1342">1342</td><td class="line"> GtkTreePath *path,</td></tr>
+<tr class="codeline" data-linenumber="1343"><td class="num" id="LN1343">1343</td><td class="line"> GtkTreeIter *iter,</td></tr>
+<tr class="codeline" data-linenumber="1344"><td class="num" id="LN1344">1344</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1345"><td class="num" id="LN1345">1345</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1346"><td class="num" id="LN1346">1346</td><td class="line"> GList **list = data;</td></tr>
+<tr class="codeline" data-linenumber="1347"><td class="num" id="LN1347">1347</td><td class="line"> FileData *fdata;</td></tr>
+<tr class="codeline" data-linenumber="1348"><td class="num" id="LN1348">1348</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1349"><td class="num" id="LN1349">1349</td><td class="line"> gtk_tree_model_get (model, iter,</td></tr>
+<tr class="codeline" data-linenumber="1350"><td class="num" id="LN1350">1350</td><td class="line"> COLUMN_FILE_DATA, &amp;fdata,</td></tr>
+<tr class="codeline" data-linenumber="1351"><td class="num" id="LN1351">1351</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="1352"><td class="num" id="LN1352">1352</td><td class="line"> <span class='keyword'>if</span> (! fdata-&gt;list_dir)</td></tr>
+<tr class="codeline" data-linenumber="1353"><td class="num" id="LN1353">1353</td><td class="line"> *list = g_list_prepend (*list, fdata);</td></tr>
+<tr class="codeline" data-linenumber="1354"><td class="num" id="LN1354">1354</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1355"><td class="num" id="LN1355">1355</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1356"><td class="num" id="LN1356">1356</td><td class="line"><span class='keyword'>static</span> GList *</td></tr>
+<tr class="codeline" data-linenumber="1357"><td class="num" id="LN1357">1357</td><td class="line">get_selection_as_fd (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1358"><td class="num" id="LN1358">1358</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1359"><td class="num" id="LN1359">1359</td><td class="line"> GtkTreeSelection *selection;</td></tr>
+<tr class="codeline" data-linenumber="1360"><td class="num" id="LN1360">1360</td><td class="line"> GList *list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1361"><td class="num" id="LN1361">1361</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1362"><td class="num" id="LN1362">1362</td><td class="line"> <span class='keyword'>if</span> (! gtk_widget_get_realized (window-&gt;priv-&gt;list_view))</td></tr>
+<tr class="codeline" data-linenumber="1363"><td class="num" id="LN1363">1363</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1364"><td class="num" id="LN1364">1364</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1365"><td class="num" id="LN1365">1365</td><td class="line"> selection = gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1366"><td class="num" id="LN1366">1366</td><td class="line"> <span class='keyword'>if</span> (selection == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1367"><td class="num" id="LN1367">1367</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1368"><td class="num" id="LN1368">1368</td><td class="line"> gtk_tree_selection_selected_foreach (selection, add_selected_fd, &amp;list);</td></tr>
+<tr class="codeline" data-linenumber="1369"><td class="num" id="LN1369">1369</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1370"><td class="num" id="LN1370">1370</td><td class="line"> <span class='keyword'>return</span> list;</td></tr>
+<tr class="codeline" data-linenumber="1371"><td class="num" id="LN1371">1371</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1372"><td class="num" id="LN1372">1372</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1373"><td class="num" id="LN1373">1373</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1374"><td class="num" id="LN1374">1374</td><td class="line">fr_window_update_statusbar_list_info (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1375"><td class="num" id="LN1375">1375</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1376"><td class="num" id="LN1376">1376</td><td class="line"> <span class='keyword'>char</span> *info, *archive_info, *selected_info;</td></tr>
+<tr class="codeline" data-linenumber="1377"><td class="num" id="LN1377">1377</td><td class="line"> <span class='keyword'>char</span> *size_txt, *sel_size_txt;</td></tr>
+<tr class="codeline" data-linenumber="1378"><td class="num" id="LN1378">1378</td><td class="line"> gulong tot_n = 0;</td></tr>
+<tr class="codeline" data-linenumber="1379"><td class="num" id="LN1379">1379</td><td class="line"> gulong sel_n = 0;</td></tr>
+<tr class="codeline" data-linenumber="1380"><td class="num" id="LN1380">1380</td><td class="line"> goffset tot_size = 0;</td></tr>
+<tr class="codeline" data-linenumber="1381"><td class="num" id="LN1381">1381</td><td class="line"> goffset sel_size = 0;</td></tr>
+<tr class="codeline" data-linenumber="1382"><td class="num" id="LN1382">1382</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="1383"><td class="num" id="LN1383">1383</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1384"><td class="num" id="LN1384">1384</td><td class="line"> <span class='keyword'>if</span> (window == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1385"><td class="num" id="LN1385">1385</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1386"><td class="num" id="LN1386">1386</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1387"><td class="num" id="LN1387">1387</td><td class="line"> <span class='keyword'>if</span> ((window-&gt;archive == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) || (window-&gt;archive-&gt;command == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="1388"><td class="num" id="LN1388">1388</td><td class="line"> gtk_statusbar_pop (<span class='macro'>GTK_STATUSBAR (window-&gt;priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;statusbar)), ((gtk_statusbar_get_type<br> ()))))))</span></span>, window-&gt;priv-&gt;list_info_cid);</td></tr>
+<tr class="codeline" data-linenumber="1389"><td class="num" id="LN1389">1389</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1390"><td class="num" id="LN1390">1390</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1391"><td class="num" id="LN1391">1391</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1392"><td class="num" id="LN1392">1392</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;archive_present) {</td></tr>
+<tr class="codeline" data-linenumber="1393"><td class="num" id="LN1393">1393</td><td class="line"> GPtrArray *files = fr_window_get_current_dir_list (window);</td></tr>
+<tr class="codeline" data-linenumber="1394"><td class="num" id="LN1394">1394</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="1395"><td class="num" id="LN1395">1395</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1396"><td class="num" id="LN1396">1396</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; files-&gt;len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="1397"><td class="num" id="LN1397">1397</td><td class="line"> FileData *fd = <span class='macro'>g_ptr_array_index (files, i)<span class='macro_popup'>((files)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1398"><td class="num" id="LN1398">1398</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1399"><td class="num" id="LN1399">1399</td><td class="line"> tot_n++;</td></tr>
+<tr class="codeline" data-linenumber="1400"><td class="num" id="LN1400">1400</td><td class="line"> <span class='keyword'>if</span> (! file_data_is_dir (fd))</td></tr>
+<tr class="codeline" data-linenumber="1401"><td class="num" id="LN1401">1401</td><td class="line"> tot_size += fd-&gt;size;</td></tr>
+<tr class="codeline" data-linenumber="1402"><td class="num" id="LN1402">1402</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1403"><td class="num" id="LN1403">1403</td><td class="line"> tot_size += fd-&gt;dir_size;</td></tr>
+<tr class="codeline" data-linenumber="1404"><td class="num" id="LN1404">1404</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1405"><td class="num" id="LN1405">1405</td><td class="line"> g_ptr_array_free (files, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1406"><td class="num" id="LN1406">1406</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1407"><td class="num" id="LN1407">1407</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1408"><td class="num" id="LN1408">1408</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;archive_present) {</td></tr>
+<tr class="codeline" data-linenumber="1409"><td class="num" id="LN1409">1409</td><td class="line"> GList *selection = get_selection_as_fd (window);</td></tr>
+<tr class="codeline" data-linenumber="1410"><td class="num" id="LN1410">1410</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1411"><td class="num" id="LN1411">1411</td><td class="line"> <span class='keyword'>for</span> (scan = selection; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="1412"><td class="num" id="LN1412">1412</td><td class="line"> FileData *fd = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="1413"><td class="num" id="LN1413">1413</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1414"><td class="num" id="LN1414">1414</td><td class="line"> sel_n++;</td></tr>
+<tr class="codeline" data-linenumber="1415"><td class="num" id="LN1415">1415</td><td class="line"> <span class='keyword'>if</span> (! file_data_is_dir (fd))</td></tr>
+<tr class="codeline" data-linenumber="1416"><td class="num" id="LN1416">1416</td><td class="line"> sel_size += fd-&gt;size;</td></tr>
+<tr class="codeline" data-linenumber="1417"><td class="num" id="LN1417">1417</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1418"><td class="num" id="LN1418">1418</td><td class="line"> g_list_free (selection);</td></tr>
+<tr class="codeline" data-linenumber="1419"><td class="num" id="LN1419">1419</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1420"><td class="num" id="LN1420">1420</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1421"><td class="num" id="LN1421">1421</td><td class="line"> size_txt = g_format_size (tot_size);</td></tr>
+<tr class="codeline" data-linenumber="1422"><td class="num" id="LN1422">1422</td><td class="line"> sel_size_txt = g_format_size (sel_size);</td></tr>
+<tr class="codeline" data-linenumber="1423"><td class="num" id="LN1423">1423</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1424"><td class="num" id="LN1424">1424</td><td class="line"> <span class='keyword'>if</span> (tot_n == 0)</td></tr>
+<tr class="codeline" data-linenumber="1425"><td class="num" id="LN1425">1425</td><td class="line"> archive_info = <span class='macro'>g_strdup (<span class='string_literal'>""</span>)<span class='macro_popup'>g_strdup_inline ("")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1426"><td class="num" id="LN1426">1426</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1427"><td class="num" id="LN1427">1427</td><td class="line"> archive_info = g_strdup_printf (g_dngettext (<span class='macro'>GETTEXT_PACKAGE<span class='macro_popup'>"engrampa"</span></span>, <span class='string_literal'>"%lu object (%s)"</span>, <span class='string_literal'>"%lu objects (%s)"</span>, tot_n), tot_n, size_txt);</td></tr>
+<tr class="codeline" data-linenumber="1428"><td class="num" id="LN1428">1428</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1429"><td class="num" id="LN1429">1429</td><td class="line"> <span class='keyword'>if</span> (sel_n == 0)</td></tr>
+<tr class="codeline" data-linenumber="1430"><td class="num" id="LN1430">1430</td><td class="line"> selected_info = <span class='macro'>g_strdup (<span class='string_literal'>""</span>)<span class='macro_popup'>g_strdup_inline ("")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1431"><td class="num" id="LN1431">1431</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1432"><td class="num" id="LN1432">1432</td><td class="line"> selected_info = g_strdup_printf (g_dngettext (<span class='macro'>GETTEXT_PACKAGE<span class='macro_popup'>"engrampa"</span></span>, <span class='string_literal'>"%lu object selected (%s)"</span>, <span class='string_literal'>"%lu objects selected (%s)"</span>, sel_n), sel_n, sel_size_txt);</td></tr>
+<tr class="codeline" data-linenumber="1433"><td class="num" id="LN1433">1433</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1434"><td class="num" id="LN1434">1434</td><td class="line"> info = g_strconcat (archive_info,</td></tr>
+<tr class="codeline" data-linenumber="1435"><td class="num" id="LN1435">1435</td><td class="line"> ((sel_n == 0) ? <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> : <span class='string_literal'>", "</span>),</td></tr>
+<tr class="codeline" data-linenumber="1436"><td class="num" id="LN1436">1436</td><td class="line"> selected_info,</td></tr>
+<tr class="codeline" data-linenumber="1437"><td class="num" id="LN1437">1437</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1438"><td class="num" id="LN1438">1438</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1439"><td class="num" id="LN1439">1439</td><td class="line"> gtk_statusbar_push (<span class='macro'>GTK_STATUSBAR (window-&gt;priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;statusbar)), ((gtk_statusbar_get_type<br> ()))))))</span></span>, window-&gt;priv-&gt;list_info_cid, info);</td></tr>
+<tr class="codeline" data-linenumber="1440"><td class="num" id="LN1440">1440</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1441"><td class="num" id="LN1441">1441</td><td class="line"> g_free (size_txt);</td></tr>
+<tr class="codeline" data-linenumber="1442"><td class="num" id="LN1442">1442</td><td class="line"> g_free (sel_size_txt);</td></tr>
+<tr class="codeline" data-linenumber="1443"><td class="num" id="LN1443">1443</td><td class="line"> g_free (archive_info);</td></tr>
+<tr class="codeline" data-linenumber="1444"><td class="num" id="LN1444">1444</td><td class="line"> g_free (selected_info);</td></tr>
+<tr class="codeline" data-linenumber="1445"><td class="num" id="LN1445">1445</td><td class="line"> g_free (info);</td></tr>
+<tr class="codeline" data-linenumber="1446"><td class="num" id="LN1446">1446</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1447"><td class="num" id="LN1447">1447</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1448"><td class="num" id="LN1448">1448</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1449"><td class="num" id="LN1449">1449</td><td class="line">fr_window_populate_file_list (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="1450"><td class="num" id="LN1450">1450</td><td class="line"> GPtrArray *files)</td></tr>
+<tr class="codeline" data-linenumber="1451"><td class="num" id="LN1451">1451</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1452"><td class="num" id="LN1452">1452</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="1453"><td class="num" id="LN1453">1453</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1454"><td class="num" id="LN1454">1454</td><td class="line"> gtk_list_store_clear (window-&gt;priv-&gt;list_store);</td></tr>
+<tr class="codeline" data-linenumber="1455"><td class="num" id="LN1455">1455</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1456"><td class="num" id="LN1456">1456</td><td class="line"> gtk_tree_sortable_set_sort_column_id (<span class='macro'>GTK_TREE_SORTABLE (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeSortable*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_sortable_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1457"><td class="num" id="LN1457">1457</td><td class="line"> <span class='macro'>GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID<span class='macro_popup'>(-1)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1458"><td class="num" id="LN1458">1458</td><td class="line"> GTK_SORT_ASCENDING);</td></tr>
+<tr class="codeline" data-linenumber="1459"><td class="num" id="LN1459">1459</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1460"><td class="num" id="LN1460">1460</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; files-&gt;len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="1461"><td class="num" id="LN1461">1461</td><td class="line"> FileData *fdata = <span class='macro'>g_ptr_array_index (files, i)<span class='macro_popup'>((files)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1462"><td class="num" id="LN1462">1462</td><td class="line"> GtkTreeIter iter;</td></tr>
+<tr class="codeline" data-linenumber="1463"><td class="num" id="LN1463">1463</td><td class="line"> GdkPixbuf *icon, *emblem;</td></tr>
+<tr class="codeline" data-linenumber="1464"><td class="num" id="LN1464">1464</td><td class="line"> <span class='keyword'>char</span> *utf8_name;</td></tr>
+<tr class="codeline" data-linenumber="1465"><td class="num" id="LN1465">1465</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1466"><td class="num" id="LN1466">1466</td><td class="line"> <span class='keyword'>if</span> (fdata-&gt;list_name == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1467"><td class="num" id="LN1467">1467</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="1468"><td class="num" id="LN1468">1468</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1469"><td class="num" id="LN1469">1469</td><td class="line"> gtk_list_store_append (window-&gt;priv-&gt;list_store, &amp;iter);</td></tr>
+<tr class="codeline" data-linenumber="1470"><td class="num" id="LN1470">1470</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1471"><td class="num" id="LN1471">1471</td><td class="line"> icon = get_icon (fdata);</td></tr>
+<tr class="codeline" data-linenumber="1472"><td class="num" id="LN1472">1472</td><td class="line"> utf8_name = g_filename_display_name (fdata-&gt;list_name);</td></tr>
+<tr class="codeline" data-linenumber="1473"><td class="num" id="LN1473">1473</td><td class="line"> emblem = get_emblem (fdata);</td></tr>
+<tr class="codeline" data-linenumber="1474"><td class="num" id="LN1474">1474</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1475"><td class="num" id="LN1475">1475</td><td class="line"> <span class='keyword'>if</span> (file_data_is_dir (fdata)) {</td></tr>
+<tr class="codeline" data-linenumber="1476"><td class="num" id="LN1476">1476</td><td class="line"> <span class='keyword'>char</span> *utf8_path;</td></tr>
+<tr class="codeline" data-linenumber="1477"><td class="num" id="LN1477">1477</td><td class="line"> <span class='keyword'>char</span> *tmp;</td></tr>
+<tr class="codeline" data-linenumber="1478"><td class="num" id="LN1478">1478</td><td class="line"> <span class='keyword'>char</span> *s_size;</td></tr>
+<tr class="codeline" data-linenumber="1479"><td class="num" id="LN1479">1479</td><td class="line"> <span class='keyword'>char</span> *s_time;</td></tr>
+<tr class="codeline" data-linenumber="1480"><td class="num" id="LN1480">1480</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1481"><td class="num" id="LN1481">1481</td><td class="line"> <span class='keyword'>if</span> (fdata-&gt;list_dir)</td></tr>
+<tr class="codeline" data-linenumber="1482"><td class="num" id="LN1482">1482</td><td class="line"> tmp = remove_ending_separator (fr_window_get_current_location (window));</td></tr>
+<tr class="codeline" data-linenumber="1483"><td class="num" id="LN1483">1483</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1484"><td class="num" id="LN1484">1484</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1485"><td class="num" id="LN1485">1485</td><td class="line"> tmp = remove_level_from_path (fdata-&gt;path);</td></tr>
+<tr class="codeline" data-linenumber="1486"><td class="num" id="LN1486">1486</td><td class="line"> utf8_path = g_filename_display_name (tmp);</td></tr>
+<tr class="codeline" data-linenumber="1487"><td class="num" id="LN1487">1487</td><td class="line"> g_free (tmp);</td></tr>
+<tr class="codeline" data-linenumber="1488"><td class="num" id="LN1488">1488</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1489"><td class="num" id="LN1489">1489</td><td class="line"> s_size = g_format_size (fdata-&gt;dir_size);</td></tr>
+<tr class="codeline" data-linenumber="1490"><td class="num" id="LN1490">1490</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1491"><td class="num" id="LN1491">1491</td><td class="line"> <span class='keyword'>if</span> (fdata-&gt;list_dir) {</td></tr>
+<tr class="codeline" data-linenumber="1492"><td class="num" id="LN1492">1492</td><td class="line"> s_time = <span class='macro'>g_strdup (<span class='string_literal'>""</span>)<span class='macro_popup'>g_strdup_inline ("")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1493"><td class="num" id="LN1493">1493</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1494"><td class="num" id="LN1494">1494</td><td class="line"> GDateTime *date_time;</td></tr>
+<tr class="codeline" data-linenumber="1495"><td class="num" id="LN1495">1495</td><td class="line"> date_time = g_date_time_new_from_unix_local (fdata-&gt;modified);</td></tr>
+<tr class="codeline" data-linenumber="1496"><td class="num" id="LN1496">1496</td><td class="line"> s_time = g_date_time_format (date_time, <span class='macro'>_(<span class='string_literal'>"%d %B %Y, %H:%M"</span>)<span class='macro_popup'>gettext ("%d %B %Y, %H:%M")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1497"><td class="num" id="LN1497">1497</td><td class="line"> g_date_time_unref (date_time);</td></tr>
+<tr class="codeline" data-linenumber="1498"><td class="num" id="LN1498">1498</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1499"><td class="num" id="LN1499">1499</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1500"><td class="num" id="LN1500">1500</td><td class="line"> gtk_list_store_set (window-&gt;priv-&gt;list_store, &amp;iter,</td></tr>
+<tr class="codeline" data-linenumber="1501"><td class="num" id="LN1501">1501</td><td class="line"> COLUMN_FILE_DATA, fdata,</td></tr>
+<tr class="codeline" data-linenumber="1502"><td class="num" id="LN1502">1502</td><td class="line"> COLUMN_ICON, icon,</td></tr>
+<tr class="codeline" data-linenumber="1503"><td class="num" id="LN1503">1503</td><td class="line"> COLUMN_NAME, utf8_name,</td></tr>
+<tr class="codeline" data-linenumber="1504"><td class="num" id="LN1504">1504</td><td class="line"> COLUMN_EMBLEM, emblem,</td></tr>
+<tr class="codeline" data-linenumber="1505"><td class="num" id="LN1505">1505</td><td class="line"> COLUMN_TYPE, <span class='macro'>_(<span class='string_literal'>"Folder"</span>)<span class='macro_popup'>gettext ("Folder")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1506"><td class="num" id="LN1506">1506</td><td class="line"> COLUMN_SIZE, s_size,</td></tr>
+<tr class="codeline" data-linenumber="1507"><td class="num" id="LN1507">1507</td><td class="line"> COLUMN_TIME, s_time,</td></tr>
+<tr class="codeline" data-linenumber="1508"><td class="num" id="LN1508">1508</td><td class="line"> COLUMN_PATH, utf8_path,</td></tr>
+<tr class="codeline" data-linenumber="1509"><td class="num" id="LN1509">1509</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="1510"><td class="num" id="LN1510">1510</td><td class="line"> g_free (utf8_path);</td></tr>
+<tr class="codeline" data-linenumber="1511"><td class="num" id="LN1511">1511</td><td class="line"> g_free (s_size);</td></tr>
+<tr class="codeline" data-linenumber="1512"><td class="num" id="LN1512">1512</td><td class="line"> g_free (s_time);</td></tr>
+<tr class="codeline" data-linenumber="1513"><td class="num" id="LN1513">1513</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1514"><td class="num" id="LN1514">1514</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1515"><td class="num" id="LN1515">1515</td><td class="line"> GDateTime *date_time;</td></tr>
+<tr class="codeline" data-linenumber="1516"><td class="num" id="LN1516">1516</td><td class="line"> <span class='keyword'>char</span> *utf8_path;</td></tr>
+<tr class="codeline" data-linenumber="1517"><td class="num" id="LN1517">1517</td><td class="line"> <span class='keyword'>char</span> *s_size;</td></tr>
+<tr class="codeline" data-linenumber="1518"><td class="num" id="LN1518">1518</td><td class="line"> <span class='keyword'>char</span> *s_time;</td></tr>
+<tr class="codeline" data-linenumber="1519"><td class="num" id="LN1519">1519</td><td class="line"> <span class='keyword'>char</span> *desc;</td></tr>
+<tr class="codeline" data-linenumber="1520"><td class="num" id="LN1520">1520</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1521"><td class="num" id="LN1521">1521</td><td class="line"> utf8_path = g_filename_display_name (fdata-&gt;path);</td></tr>
+<tr class="codeline" data-linenumber="1522"><td class="num" id="LN1522">1522</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1523"><td class="num" id="LN1523">1523</td><td class="line"> s_size = g_format_size (fdata-&gt;size);</td></tr>
+<tr class="codeline" data-linenumber="1524"><td class="num" id="LN1524">1524</td><td class="line"> date_time = g_date_time_new_from_unix_local (fdata-&gt;modified);</td></tr>
+<tr class="codeline" data-linenumber="1525"><td class="num" id="LN1525">1525</td><td class="line"> s_time = g_date_time_format (date_time, <span class='macro'>_(<span class='string_literal'>"%d %B %Y, %H:%M"</span>)<span class='macro_popup'>gettext ("%d %B %Y, %H:%M")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1526"><td class="num" id="LN1526">1526</td><td class="line"> g_date_time_unref (date_time);</td></tr>
+<tr class="codeline" data-linenumber="1527"><td class="num" id="LN1527">1527</td><td class="line"> desc = g_content_type_get_description (fdata-&gt;content_type);</td></tr>
+<tr class="codeline" data-linenumber="1528"><td class="num" id="LN1528">1528</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1529"><td class="num" id="LN1529">1529</td><td class="line"> gtk_list_store_set (window-&gt;priv-&gt;list_store, &amp;iter,</td></tr>
+<tr class="codeline" data-linenumber="1530"><td class="num" id="LN1530">1530</td><td class="line"> COLUMN_FILE_DATA, fdata,</td></tr>
+<tr class="codeline" data-linenumber="1531"><td class="num" id="LN1531">1531</td><td class="line"> COLUMN_ICON, icon,</td></tr>
+<tr class="codeline" data-linenumber="1532"><td class="num" id="LN1532">1532</td><td class="line"> COLUMN_NAME, utf8_name,</td></tr>
+<tr class="codeline" data-linenumber="1533"><td class="num" id="LN1533">1533</td><td class="line"> COLUMN_EMBLEM, emblem,</td></tr>
+<tr class="codeline" data-linenumber="1534"><td class="num" id="LN1534">1534</td><td class="line"> COLUMN_TYPE, desc,</td></tr>
+<tr class="codeline" data-linenumber="1535"><td class="num" id="LN1535">1535</td><td class="line"> COLUMN_SIZE, s_size,</td></tr>
+<tr class="codeline" data-linenumber="1536"><td class="num" id="LN1536">1536</td><td class="line"> COLUMN_TIME, s_time,</td></tr>
+<tr class="codeline" data-linenumber="1537"><td class="num" id="LN1537">1537</td><td class="line"> COLUMN_PATH, utf8_path,</td></tr>
+<tr class="codeline" data-linenumber="1538"><td class="num" id="LN1538">1538</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="1539"><td class="num" id="LN1539">1539</td><td class="line"> g_free (utf8_path);</td></tr>
+<tr class="codeline" data-linenumber="1540"><td class="num" id="LN1540">1540</td><td class="line"> g_free (s_size);</td></tr>
+<tr class="codeline" data-linenumber="1541"><td class="num" id="LN1541">1541</td><td class="line"> g_free (s_time);</td></tr>
+<tr class="codeline" data-linenumber="1542"><td class="num" id="LN1542">1542</td><td class="line"> g_free (desc);</td></tr>
+<tr class="codeline" data-linenumber="1543"><td class="num" id="LN1543">1543</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1544"><td class="num" id="LN1544">1544</td><td class="line"> g_free (utf8_name);</td></tr>
+<tr class="codeline" data-linenumber="1545"><td class="num" id="LN1545">1545</td><td class="line"> <span class='keyword'>if</span> (icon != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1546"><td class="num" id="LN1546">1546</td><td class="line"> g_object_unref (icon);</td></tr>
+<tr class="codeline" data-linenumber="1547"><td class="num" id="LN1547">1547</td><td class="line"> <span class='keyword'>if</span> (emblem != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1548"><td class="num" id="LN1548">1548</td><td class="line"> g_object_unref (emblem);</td></tr>
+<tr class="codeline" data-linenumber="1549"><td class="num" id="LN1549">1549</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1550"><td class="num" id="LN1550">1550</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1551"><td class="num" id="LN1551">1551</td><td class="line"> gtk_tree_sortable_set_sort_column_id (<span class='macro'>GTK_TREE_SORTABLE (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeSortable*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_sortable_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1552"><td class="num" id="LN1552">1552</td><td class="line"> get_column_from_sort_method (window-&gt;priv-&gt;sort_method),</td></tr>
+<tr class="codeline" data-linenumber="1553"><td class="num" id="LN1553">1553</td><td class="line"> window-&gt;priv-&gt;sort_type);</td></tr>
+<tr class="codeline" data-linenumber="1554"><td class="num" id="LN1554">1554</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1555"><td class="num" id="LN1555">1555</td><td class="line"> fr_window_update_statusbar_list_info (window);</td></tr>
+<tr class="codeline" data-linenumber="1556"><td class="num" id="LN1556">1556</td><td class="line"> fr_window_stop_activity_mode (window);</td></tr>
+<tr class="codeline" data-linenumber="1557"><td class="num" id="LN1557">1557</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1558"><td class="num" id="LN1558">1558</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1559"><td class="num" id="LN1559">1559</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="1560"><td class="num" id="LN1560">1560</td><td class="line">path_compare (gconstpointer a,</td></tr>
+<tr class="codeline" data-linenumber="1561"><td class="num" id="LN1561">1561</td><td class="line"> gconstpointer b)</td></tr>
+<tr class="codeline" data-linenumber="1562"><td class="num" id="LN1562">1562</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1563"><td class="num" id="LN1563">1563</td><td class="line"> <span class='keyword'>char</span> *path_a = *((<span class='keyword'>char</span>**) a);</td></tr>
+<tr class="codeline" data-linenumber="1564"><td class="num" id="LN1564">1564</td><td class="line"> <span class='keyword'>char</span> *path_b = *((<span class='keyword'>char</span>**) b);</td></tr>
+<tr class="codeline" data-linenumber="1565"><td class="num" id="LN1565">1565</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1566"><td class="num" id="LN1566">1566</td><td class="line"> <span class='keyword'>return</span> strcmp (path_a, path_b);</td></tr>
+<tr class="codeline" data-linenumber="1567"><td class="num" id="LN1567">1567</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1568"><td class="num" id="LN1568">1568</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1569"><td class="num" id="LN1569">1569</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1570"><td class="num" id="LN1570">1570</td><td class="line">get_tree_iter_from_path (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="1571"><td class="num" id="LN1571">1571</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *path,</td></tr>
+<tr class="codeline" data-linenumber="1572"><td class="num" id="LN1572">1572</td><td class="line"> GtkTreeIter *parent,</td></tr>
+<tr class="codeline" data-linenumber="1573"><td class="num" id="LN1573">1573</td><td class="line"> GtkTreeIter *iter)</td></tr>
+<tr class="codeline" data-linenumber="1574"><td class="num" id="LN1574">1574</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1575"><td class="num" id="LN1575">1575</td><td class="line"> gboolean result = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1576"><td class="num" id="LN1576">1576</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1577"><td class="num" id="LN1577">1577</td><td class="line"> <span class='keyword'>if</span> (! gtk_tree_model_iter_children (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;tree_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>, iter, parent))</td></tr>
+<tr class="codeline" data-linenumber="1578"><td class="num" id="LN1578">1578</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1579"><td class="num" id="LN1579">1579</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1580"><td class="num" id="LN1580">1580</td><td class="line"> <span class='keyword'>do</span> {</td></tr>
+<tr class="codeline" data-linenumber="1581"><td class="num" id="LN1581">1581</td><td class="line"> GtkTreeIter tmp;</td></tr>
+<tr class="codeline" data-linenumber="1582"><td class="num" id="LN1582">1582</td><td class="line"> <span class='keyword'>char</span> *iter_path;</td></tr>
+<tr class="codeline" data-linenumber="1583"><td class="num" id="LN1583">1583</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1584"><td class="num" id="LN1584">1584</td><td class="line"> <span class='keyword'>if</span> (get_tree_iter_from_path (window, path, iter, &amp;tmp)) {</td></tr>
+<tr class="codeline" data-linenumber="1585"><td class="num" id="LN1585">1585</td><td class="line"> *iter = tmp;</td></tr>
+<tr class="codeline" data-linenumber="1586"><td class="num" id="LN1586">1586</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1587"><td class="num" id="LN1587">1587</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1588"><td class="num" id="LN1588">1588</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1589"><td class="num" id="LN1589">1589</td><td class="line"> gtk_tree_model_get (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;tree_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1590"><td class="num" id="LN1590">1590</td><td class="line"> iter,</td></tr>
+<tr class="codeline" data-linenumber="1591"><td class="num" id="LN1591">1591</td><td class="line"> TREE_COLUMN_PATH, &amp;iter_path,</td></tr>
+<tr class="codeline" data-linenumber="1592"><td class="num" id="LN1592">1592</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="1593"><td class="num" id="LN1593">1593</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1594"><td class="num" id="LN1594">1594</td><td class="line"> <span class='keyword'>if</span> ((iter_path != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (strcmp (path, iter_path) == 0)) {</td></tr>
+<tr class="codeline" data-linenumber="1595"><td class="num" id="LN1595">1595</td><td class="line"> result = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1596"><td class="num" id="LN1596">1596</td><td class="line"> g_free (iter_path);</td></tr>
+<tr class="codeline" data-linenumber="1597"><td class="num" id="LN1597">1597</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1598"><td class="num" id="LN1598">1598</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1599"><td class="num" id="LN1599">1599</td><td class="line"> g_free (iter_path);</td></tr>
+<tr class="codeline" data-linenumber="1600"><td class="num" id="LN1600">1600</td><td class="line"> } <span class='keyword'>while</span> (gtk_tree_model_iter_next (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;tree_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>, iter));</td></tr>
+<tr class="codeline" data-linenumber="1601"><td class="num" id="LN1601">1601</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1602"><td class="num" id="LN1602">1602</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="1603"><td class="num" id="LN1603">1603</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1604"><td class="num" id="LN1604">1604</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1605"><td class="num" id="LN1605">1605</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1606"><td class="num" id="LN1606">1606</td><td class="line">set_sensitive (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="1607"><td class="num" id="LN1607">1607</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *id,</td></tr>
+<tr class="codeline" data-linenumber="1608"><td class="num" id="LN1608">1608</td><td class="line"> gboolean sensitive)</td></tr>
+<tr class="codeline" data-linenumber="1609"><td class="num" id="LN1609">1609</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1610"><td class="num" id="LN1610">1610</td><td class="line"> GtkWidget *widget;</td></tr>
+<tr class="codeline" data-linenumber="1611"><td class="num" id="LN1611">1611</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1612"><td class="num" id="LN1612">1612</td><td class="line"> widget = (GtkWidget *)gtk_builder_get_object (window-&gt;priv-&gt;ui_manager, id);</td></tr>
+<tr class="codeline" data-linenumber="1613"><td class="num" id="LN1613">1613</td><td class="line"> g_object_set (widget, <span class='string_literal'>"sensitive"</span>, sensitive, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1614"><td class="num" id="LN1614">1614</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1615"><td class="num" id="LN1615">1615</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1616"><td class="num" id="LN1616">1616</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1617"><td class="num" id="LN1617">1617</td><td class="line">fr_window_update_current_location (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1618"><td class="num" id="LN1618">1618</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1619"><td class="num" id="LN1619">1619</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *current_dir = fr_window_get_current_location (window);</td></tr>
+<tr class="codeline" data-linenumber="1620"><td class="num" id="LN1620">1620</td><td class="line"> <span class='keyword'>char</span> *path;</td></tr>
+<tr class="codeline" data-linenumber="1621"><td class="num" id="LN1621">1621</td><td class="line"> GtkTreeIter iter;</td></tr>
+<tr class="codeline" data-linenumber="1622"><td class="num" id="LN1622">1622</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1623"><td class="num" id="LN1623">1623</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;list_mode == FR_WINDOW_LIST_MODE_FLAT) {</td></tr>
+<tr class="codeline" data-linenumber="1624"><td class="num" id="LN1624">1624</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;location_bar);</td></tr>
+<tr class="codeline" data-linenumber="1625"><td class="num" id="LN1625">1625</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1626"><td class="num" id="LN1626">1626</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1627"><td class="num" id="LN1627">1627</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1628"><td class="num" id="LN1628">1628</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;location_bar);</td></tr>
+<tr class="codeline" data-linenumber="1629"><td class="num" id="LN1629">1629</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1630"><td class="num" id="LN1630">1630</td><td class="line"> gtk_entry_set_text (<span class='macro'>GTK_ENTRY (window-&gt;priv-&gt;location_entry)<span class='macro_popup'>((((GtkEntry*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;location_entry)), ((gtk_entry_get_type<br> ()))))))</span></span>, window-&gt;priv-&gt;archive_present? current_dir: <span class='string_literal'>""</span>);</td></tr>
+<tr class="codeline" data-linenumber="1631"><td class="num" id="LN1631">1631</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1632"><td class="num" id="LN1632">1632</td><td class="line"> set_sensitive (window, <span class='string_literal'>"tool_goback_item"</span>, window-&gt;priv-&gt;archive_present &amp;&amp; (current_dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (window-&gt;priv-&gt;history_current != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (window-&gt;priv-&gt;history_current-&gt;next != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="1633"><td class="num" id="LN1633">1633</td><td class="line"> set_sensitive (window, <span class='string_literal'>"tool_gonext_item"</span>, window-&gt;priv-&gt;archive_present &amp;&amp; (current_dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (window-&gt;priv-&gt;history_current != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (window-&gt;priv-&gt;history_current-&gt;prev != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="1634"><td class="num" id="LN1634">1634</td><td class="line"> set_sensitive (window, <span class='string_literal'>"tool_goup_item"</span>, window-&gt;priv-&gt;archive_present &amp;&amp; (current_dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (strcmp (current_dir, <span class='string_literal'>"/"</span>) != 0));</td></tr>
+<tr class="codeline" data-linenumber="1635"><td class="num" id="LN1635">1635</td><td class="line"> set_sensitive (window, <span class='string_literal'>"tool_gohome_item"</span>, window-&gt;priv-&gt;archive_present);</td></tr>
+<tr class="codeline" data-linenumber="1636"><td class="num" id="LN1636">1636</td><td class="line"> gtk_widget_set_sensitive (window-&gt;priv-&gt;location_entry, window-&gt;priv-&gt;archive_present);</td></tr>
+<tr class="codeline" data-linenumber="1637"><td class="num" id="LN1637">1637</td><td class="line"> gtk_widget_set_sensitive (window-&gt;priv-&gt;location_label, window-&gt;priv-&gt;archive_present);</td></tr>
+<tr class="codeline" data-linenumber="1638"><td class="num" id="LN1638">1638</td><td class="line"> gtk_widget_set_sensitive (window-&gt;priv-&gt;filter_entry, window-&gt;priv-&gt;archive_present);</td></tr>
+<tr class="codeline" data-linenumber="1639"><td class="num" id="LN1639">1639</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1640"><td class="num" id="LN1640">1640</td><td class="line"><span class='directive'>#if 0</span></td></tr>
+<tr class="codeline" data-linenumber="1641"><td class="num" id="LN1641">1641</td><td class="line"> fr_window_history_print (window);</td></tr>
+<tr class="codeline" data-linenumber="1642"><td class="num" id="LN1642">1642</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="1643"><td class="num" id="LN1643">1643</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1644"><td class="num" id="LN1644">1644</td><td class="line"> path = remove_ending_separator (current_dir);</td></tr>
+<tr class="codeline" data-linenumber="1645"><td class="num" id="LN1645">1645</td><td class="line"> <span class='keyword'>if</span> (get_tree_iter_from_path (window, path, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, &amp;iter)) {</td></tr>
+<tr class="codeline" data-linenumber="1646"><td class="num" id="LN1646">1646</td><td class="line"> GtkTreeSelection *selection;</td></tr>
+<tr class="codeline" data-linenumber="1647"><td class="num" id="LN1647">1647</td><td class="line"> GtkTreePath *t_path;</td></tr>
+<tr class="codeline" data-linenumber="1648"><td class="num" id="LN1648">1648</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1649"><td class="num" id="LN1649">1649</td><td class="line"> t_path = gtk_tree_model_get_path (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;tree_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>, &amp;iter);</td></tr>
+<tr class="codeline" data-linenumber="1650"><td class="num" id="LN1650">1650</td><td class="line"> gtk_tree_view_expand_to_path (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;tree_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>, t_path);</td></tr>
+<tr class="codeline" data-linenumber="1651"><td class="num" id="LN1651">1651</td><td class="line"> gtk_tree_path_free (t_path);</td></tr>
+<tr class="codeline" data-linenumber="1652"><td class="num" id="LN1652">1652</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1653"><td class="num" id="LN1653">1653</td><td class="line"> selection = gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;tree_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1654"><td class="num" id="LN1654">1654</td><td class="line"> gtk_tree_selection_select_iter (selection, &amp;iter);</td></tr>
+<tr class="codeline" data-linenumber="1655"><td class="num" id="LN1655">1655</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1656"><td class="num" id="LN1656">1656</td><td class="line"> g_free (path);</td></tr>
+<tr class="codeline" data-linenumber="1657"><td class="num" id="LN1657">1657</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1658"><td class="num" id="LN1658">1658</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1659"><td class="num" id="LN1659">1659</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1660"><td class="num" id="LN1660">1660</td><td class="line">fr_window_update_dir_tree (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1661"><td class="num" id="LN1661">1661</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1662"><td class="num" id="LN1662">1662</td><td class="line"> GPtrArray *dirs;</td></tr>
+<tr class="codeline" data-linenumber="1663"><td class="num" id="LN1663">1663</td><td class="line"> GHashTable *dir_cache;</td></tr>
+<tr class="codeline" data-linenumber="1664"><td class="num" id="LN1664">1664</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="1665"><td class="num" id="LN1665">1665</td><td class="line"> GdkPixbuf *icon;</td></tr>
+<tr class="codeline" data-linenumber="1666"><td class="num" id="LN1666">1666</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1667"><td class="num" id="LN1667">1667</td><td class="line"> gtk_tree_store_clear (window-&gt;priv-&gt;tree_store);</td></tr>
+<tr class="codeline" data-linenumber="1668"><td class="num" id="LN1668">1668</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1669"><td class="num" id="LN1669">1669</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;view_folders</td></tr>
+<tr class="codeline" data-linenumber="1670"><td class="num" id="LN1670">1670</td><td class="line"> || ! window-&gt;priv-&gt;archive_present</td></tr>
+<tr class="codeline" data-linenumber="1671"><td class="num" id="LN1671">1671</td><td class="line"> || (window-&gt;priv-&gt;list_mode == FR_WINDOW_LIST_MODE_FLAT))</td></tr>
+<tr class="codeline" data-linenumber="1672"><td class="num" id="LN1672">1672</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1673"><td class="num" id="LN1673">1673</td><td class="line"> gtk_widget_set_sensitive (window-&gt;priv-&gt;tree_view, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1674"><td class="num" id="LN1674">1674</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;sidepane);</td></tr>
+<tr class="codeline" data-linenumber="1675"><td class="num" id="LN1675">1675</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1676"><td class="num" id="LN1676">1676</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1677"><td class="num" id="LN1677">1677</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1678"><td class="num" id="LN1678">1678</td><td class="line"> gtk_widget_set_sensitive (window-&gt;priv-&gt;tree_view, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1679"><td class="num" id="LN1679">1679</td><td class="line"> <span class='keyword'>if</span> (! gtk_widget_get_visible (window-&gt;priv-&gt;sidepane))</td></tr>
+<tr class="codeline" data-linenumber="1680"><td class="num" id="LN1680">1680</td><td class="line"> gtk_widget_show_all (window-&gt;priv-&gt;sidepane);</td></tr>
+<tr class="codeline" data-linenumber="1681"><td class="num" id="LN1681">1681</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1682"><td class="num" id="LN1682">1682</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1683"><td class="num" id="LN1683">1683</td><td class="line"> <span class='keyword'>if</span> (gtk_widget_get_realized (window-&gt;priv-&gt;tree_view))</td></tr>
+<tr class="codeline" data-linenumber="1684"><td class="num" id="LN1684">1684</td><td class="line"> gtk_tree_view_scroll_to_point (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;tree_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>, 0, 0);</td></tr>
+<tr class="codeline" data-linenumber="1685"><td class="num" id="LN1685">1685</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1686"><td class="num" id="LN1686">1686</td><td class="line"> <span class='comment'>/**/</span></td></tr>
+<tr class="codeline" data-linenumber="1687"><td class="num" id="LN1687">1687</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1688"><td class="num" id="LN1688">1688</td><td class="line"> dirs = g_ptr_array_sized_new (128);</td></tr>
+<tr class="codeline" data-linenumber="1689"><td class="num" id="LN1689">1689</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1690"><td class="num" id="LN1690">1690</td><td class="line"> dir_cache = g_hash_table_new_full (g_str_hash, g_str_equal, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1691"><td class="num" id="LN1691">1691</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; window-&gt;archive-&gt;command-&gt;files-&gt;len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="1692"><td class="num" id="LN1692">1692</td><td class="line"> FileData *fdata = <span class='macro'>g_ptr_array_index (window-&gt;archive-&gt;command-&gt;files, i)<span class='macro_popup'>((window-&gt;archive-&gt;command-&gt;files)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1693"><td class="num" id="LN1693">1693</td><td class="line"> <span class='keyword'>char</span> *dir;</td></tr>
+<tr class="codeline" data-linenumber="1694"><td class="num" id="LN1694">1694</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1695"><td class="num" id="LN1695">1695</td><td class="line"> <span class='keyword'>if</span> (gtk_entry_get_text (<span class='macro'>GTK_ENTRY (window-&gt;priv-&gt;filter_entry)<span class='macro_popup'>((((GtkEntry*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;filter_entry)), ((gtk_entry_get_type<br> ()))))))</span></span>) != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1696"><td class="num" id="LN1696">1696</td><td class="line"> <span class='keyword'>if</span> (! file_data_respects_filter (window, fdata))</td></tr>
+<tr class="codeline" data-linenumber="1697"><td class="num" id="LN1697">1697</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="1698"><td class="num" id="LN1698">1698</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1699"><td class="num" id="LN1699">1699</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1700"><td class="num" id="LN1700">1700</td><td class="line"> <span class='keyword'>if</span> (fdata-&gt;dir)</td></tr>
+<tr class="codeline" data-linenumber="1701"><td class="num" id="LN1701">1701</td><td class="line"> dir = remove_ending_separator (fdata-&gt;full_path);</td></tr>
+<tr class="codeline" data-linenumber="1702"><td class="num" id="LN1702">1702</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1703"><td class="num" id="LN1703">1703</td><td class="line"> dir = remove_level_from_path (fdata-&gt;full_path);</td></tr>
+<tr class="codeline" data-linenumber="1704"><td class="num" id="LN1704">1704</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1705"><td class="num" id="LN1705">1705</td><td class="line"> <span class='keyword'>while</span> ((dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (strcmp (dir, <span class='string_literal'>"/"</span>) != 0)) {</td></tr>
+<tr class="codeline" data-linenumber="1706"><td class="num" id="LN1706">1706</td><td class="line"> <span class='keyword'>char</span> *new_dir;</td></tr>
+<tr class="codeline" data-linenumber="1707"><td class="num" id="LN1707">1707</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1708"><td class="num" id="LN1708">1708</td><td class="line"> <span class='keyword'>if</span> (g_hash_table_lookup (dir_cache, dir) != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1709"><td class="num" id="LN1709">1709</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1710"><td class="num" id="LN1710">1710</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1711"><td class="num" id="LN1711">1711</td><td class="line"> new_dir = dir;</td></tr>
+<tr class="codeline" data-linenumber="1712"><td class="num" id="LN1712">1712</td><td class="line"> g_ptr_array_add (dirs, new_dir);</td></tr>
+<tr class="codeline" data-linenumber="1713"><td class="num" id="LN1713">1713</td><td class="line"> g_hash_table_replace (dir_cache, new_dir, <span class='string_literal'>"1"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1714"><td class="num" id="LN1714">1714</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1715"><td class="num" id="LN1715">1715</td><td class="line"> dir = remove_level_from_path (new_dir);</td></tr>
+<tr class="codeline" data-linenumber="1716"><td class="num" id="LN1716">1716</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1717"><td class="num" id="LN1717">1717</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1718"><td class="num" id="LN1718">1718</td><td class="line"> g_free (dir);</td></tr>
+<tr class="codeline" data-linenumber="1719"><td class="num" id="LN1719">1719</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1720"><td class="num" id="LN1720">1720</td><td class="line"> g_hash_table_destroy (dir_cache);</td></tr>
+<tr class="codeline" data-linenumber="1721"><td class="num" id="LN1721">1721</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1722"><td class="num" id="LN1722">1722</td><td class="line"> g_ptr_array_sort (dirs, path_compare);</td></tr>
+<tr class="codeline" data-linenumber="1723"><td class="num" id="LN1723">1723</td><td class="line"> dir_cache = g_hash_table_new_full (g_str_hash, g_str_equal, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, (GDestroyNotify) gtk_tree_path_free);</td></tr>
+<tr class="codeline" data-linenumber="1724"><td class="num" id="LN1724">1724</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1725"><td class="num" id="LN1725">1725</td><td class="line"> <span class='comment'>/**/</span></td></tr>
+<tr class="codeline" data-linenumber="1726"><td class="num" id="LN1726">1726</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1727"><td class="num" id="LN1727">1727</td><td class="line"> icon = get_mime_type_icon (<span class='macro'>MIME_TYPE_ARCHIVE<span class='macro_popup'>"application/x-archive"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1728"><td class="num" id="LN1728">1728</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1729"><td class="num" id="LN1729">1729</td><td class="line"> GtkTreeIter node;</td></tr>
+<tr class="codeline" data-linenumber="1730"><td class="num" id="LN1730">1730</td><td class="line"> <span class='keyword'>char</span> *uri;</td></tr>
+<tr class="codeline" data-linenumber="1731"><td class="num" id="LN1731">1731</td><td class="line"> <span class='keyword'>char</span> *name;</td></tr>
+<tr class="codeline" data-linenumber="1732"><td class="num" id="LN1732">1732</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1733"><td class="num" id="LN1733">1733</td><td class="line"> uri = g_file_get_uri (window-&gt;archive-&gt;file);</td></tr>
+<tr class="codeline" data-linenumber="1734"><td class="num" id="LN1734">1734</td><td class="line"> name = g_uri_display_basename (uri);</td></tr>
+<tr class="codeline" data-linenumber="1735"><td class="num" id="LN1735">1735</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1736"><td class="num" id="LN1736">1736</td><td class="line"> gtk_tree_store_append (window-&gt;priv-&gt;tree_store, &amp;node, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1737"><td class="num" id="LN1737">1737</td><td class="line"> gtk_tree_store_set (window-&gt;priv-&gt;tree_store, &amp;node,</td></tr>
+<tr class="codeline" data-linenumber="1738"><td class="num" id="LN1738">1738</td><td class="line"> TREE_COLUMN_ICON, icon,</td></tr>
+<tr class="codeline" data-linenumber="1739"><td class="num" id="LN1739">1739</td><td class="line"> TREE_COLUMN_NAME, name,</td></tr>
+<tr class="codeline" data-linenumber="1740"><td class="num" id="LN1740">1740</td><td class="line"> TREE_COLUMN_PATH, <span class='string_literal'>"/"</span>,</td></tr>
+<tr class="codeline" data-linenumber="1741"><td class="num" id="LN1741">1741</td><td class="line"> TREE_COLUMN_WEIGHT, PANGO_WEIGHT_BOLD,</td></tr>
+<tr class="codeline" data-linenumber="1742"><td class="num" id="LN1742">1742</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="1743"><td class="num" id="LN1743">1743</td><td class="line"> g_hash_table_replace (dir_cache, <span class='string_literal'>"/"</span>, gtk_tree_model_get_path (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;tree_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>, &amp;node));</td></tr>
+<tr class="codeline" data-linenumber="1744"><td class="num" id="LN1744">1744</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1745"><td class="num" id="LN1745">1745</td><td class="line"> g_free (name);</td></tr>
+<tr class="codeline" data-linenumber="1746"><td class="num" id="LN1746">1746</td><td class="line"> g_free (uri);</td></tr>
+<tr class="codeline" data-linenumber="1747"><td class="num" id="LN1747">1747</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1748"><td class="num" id="LN1748">1748</td><td class="line"> g_object_unref (icon);</td></tr>
+<tr class="codeline" data-linenumber="1749"><td class="num" id="LN1749">1749</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1750"><td class="num" id="LN1750">1750</td><td class="line"> <span class='comment'>/**/</span></td></tr>
+<tr class="codeline" data-linenumber="1751"><td class="num" id="LN1751">1751</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1752"><td class="num" id="LN1752">1752</td><td class="line"> icon = get_mime_type_icon (<span class='macro'>MIME_TYPE_DIRECTORY<span class='macro_popup'>"folder"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1753"><td class="num" id="LN1753">1753</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; dirs-&gt;len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="1754"><td class="num" id="LN1754">1754</td><td class="line"> <span class='keyword'>char</span> *dir = <span class='macro'>g_ptr_array_index (dirs, i)<span class='macro_popup'>((dirs)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1755"><td class="num" id="LN1755">1755</td><td class="line"> <span class='keyword'>char</span> *parent_dir;</td></tr>
+<tr class="codeline" data-linenumber="1756"><td class="num" id="LN1756">1756</td><td class="line"> GtkTreePath *parent_path;</td></tr>
+<tr class="codeline" data-linenumber="1757"><td class="num" id="LN1757">1757</td><td class="line"> GtkTreeIter parent;</td></tr>
+<tr class="codeline" data-linenumber="1758"><td class="num" id="LN1758">1758</td><td class="line"> GtkTreeIter node;</td></tr>
+<tr class="codeline" data-linenumber="1759"><td class="num" id="LN1759">1759</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1760"><td class="num" id="LN1760">1760</td><td class="line"> parent_dir = remove_level_from_path (dir);</td></tr>
+<tr class="codeline" data-linenumber="1761"><td class="num" id="LN1761">1761</td><td class="line"> <span class='keyword'>if</span> (parent_dir == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1762"><td class="num" id="LN1762">1762</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="1763"><td class="num" id="LN1763">1763</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1764"><td class="num" id="LN1764">1764</td><td class="line"> parent_path = g_hash_table_lookup (dir_cache, parent_dir);</td></tr>
+<tr class="codeline" data-linenumber="1765"><td class="num" id="LN1765">1765</td><td class="line"> gtk_tree_model_get_iter (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;tree_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1766"><td class="num" id="LN1766">1766</td><td class="line"> &amp;parent,</td></tr>
+<tr class="codeline" data-linenumber="1767"><td class="num" id="LN1767">1767</td><td class="line"> parent_path);</td></tr>
+<tr class="codeline" data-linenumber="1768"><td class="num" id="LN1768">1768</td><td class="line"> gtk_tree_store_append (window-&gt;priv-&gt;tree_store, &amp;node, &amp;parent);</td></tr>
+<tr class="codeline" data-linenumber="1769"><td class="num" id="LN1769">1769</td><td class="line"> gtk_tree_store_set (window-&gt;priv-&gt;tree_store, &amp;node,</td></tr>
+<tr class="codeline" data-linenumber="1770"><td class="num" id="LN1770">1770</td><td class="line"> TREE_COLUMN_ICON, icon,</td></tr>
+<tr class="codeline" data-linenumber="1771"><td class="num" id="LN1771">1771</td><td class="line"> TREE_COLUMN_NAME, file_name_from_path (dir),</td></tr>
+<tr class="codeline" data-linenumber="1772"><td class="num" id="LN1772">1772</td><td class="line"> TREE_COLUMN_PATH, dir,</td></tr>
+<tr class="codeline" data-linenumber="1773"><td class="num" id="LN1773">1773</td><td class="line"> TREE_COLUMN_WEIGHT, PANGO_WEIGHT_NORMAL,</td></tr>
+<tr class="codeline" data-linenumber="1774"><td class="num" id="LN1774">1774</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="1775"><td class="num" id="LN1775">1775</td><td class="line"> g_hash_table_replace (dir_cache, dir, gtk_tree_model_get_path (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;tree_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>, &amp;node));</td></tr>
+<tr class="codeline" data-linenumber="1776"><td class="num" id="LN1776">1776</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1777"><td class="num" id="LN1777">1777</td><td class="line"> g_free (parent_dir);</td></tr>
+<tr class="codeline" data-linenumber="1778"><td class="num" id="LN1778">1778</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1779"><td class="num" id="LN1779">1779</td><td class="line"> g_hash_table_destroy (dir_cache);</td></tr>
+<tr class="codeline" data-linenumber="1780"><td class="num" id="LN1780">1780</td><td class="line"> <span class='keyword'>if</span> (icon != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1781"><td class="num" id="LN1781">1781</td><td class="line"> g_object_unref (icon);</td></tr>
+<tr class="codeline" data-linenumber="1782"><td class="num" id="LN1782">1782</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1783"><td class="num" id="LN1783">1783</td><td class="line"> g_ptr_array_free (dirs, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1784"><td class="num" id="LN1784">1784</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1785"><td class="num" id="LN1785">1785</td><td class="line"> fr_window_update_current_location (window);</td></tr>
+<tr class="codeline" data-linenumber="1786"><td class="num" id="LN1786">1786</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1787"><td class="num" id="LN1787">1787</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1788"><td class="num" id="LN1788">1788</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1789"><td class="num" id="LN1789">1789</td><td class="line">fr_window_update_filter_bar_visibility (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1790"><td class="num" id="LN1790">1790</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1791"><td class="num" id="LN1791">1791</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *filter;</td></tr>
+<tr class="codeline" data-linenumber="1792"><td class="num" id="LN1792">1792</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1793"><td class="num" id="LN1793">1793</td><td class="line"> filter = gtk_entry_get_text (<span class='macro'>GTK_ENTRY (window-&gt;priv-&gt;filter_entry)<span class='macro_popup'>((((GtkEntry*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;filter_entry)), ((gtk_entry_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1794"><td class="num" id="LN1794">1794</td><td class="line"> <span class='keyword'>if</span> ((filter == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) || (*filter == '\0'))</td></tr>
+<tr class="codeline" data-linenumber="1795"><td class="num" id="LN1795">1795</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;filter_bar);</td></tr>
+<tr class="codeline" data-linenumber="1796"><td class="num" id="LN1796">1796</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1797"><td class="num" id="LN1797">1797</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;filter_bar);</td></tr>
+<tr class="codeline" data-linenumber="1798"><td class="num" id="LN1798">1798</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1799"><td class="num" id="LN1799">1799</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1800"><td class="num" id="LN1800">1800</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1801"><td class="num" id="LN1801">1801</td><td class="line">fr_window_update_file_list (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="1802"><td class="num" id="LN1802">1802</td><td class="line"> gboolean update_view)</td></tr>
+<tr class="codeline" data-linenumber="1803"><td class="num" id="LN1803">1803</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1804"><td class="num" id="LN1804">1804</td><td class="line"> GPtrArray *files;</td></tr>
+<tr class="codeline" data-linenumber="1805"><td class="num" id="LN1805">1805</td><td class="line"> gboolean free_files = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1806"><td class="num" id="LN1806">1806</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1807"><td class="num" id="LN1807">1807</td><td class="line"> <span class='keyword'>if</span> (gtk_widget_get_realized (window-&gt;priv-&gt;list_view))</td></tr>
+<tr class="codeline" data-linenumber="1808"><td class="num" id="LN1808">1808</td><td class="line"> gtk_tree_view_scroll_to_point (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>, 0, 0);</td></tr>
+<tr class="codeline" data-linenumber="1809"><td class="num" id="LN1809">1809</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1810"><td class="num" id="LN1810">1810</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;archive_present || window-&gt;priv-&gt;archive_new) {</td></tr>
+<tr class="codeline" data-linenumber="1811"><td class="num" id="LN1811">1811</td><td class="line"> <span class='keyword'>if</span> (update_view)</td></tr>
+<tr class="codeline" data-linenumber="1812"><td class="num" id="LN1812">1812</td><td class="line"> gtk_list_store_clear (window-&gt;priv-&gt;list_store);</td></tr>
+<tr class="codeline" data-linenumber="1813"><td class="num" id="LN1813">1813</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1814"><td class="num" id="LN1814">1814</td><td class="line"> window-&gt;priv-&gt;current_view_length = 0;</td></tr>
+<tr class="codeline" data-linenumber="1815"><td class="num" id="LN1815">1815</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1816"><td class="num" id="LN1816">1816</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;archive_new) {</td></tr>
+<tr class="codeline" data-linenumber="1817"><td class="num" id="LN1817">1817</td><td class="line"> gtk_widget_set_sensitive (window-&gt;priv-&gt;list_view, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1818"><td class="num" id="LN1818">1818</td><td class="line"> gtk_widget_show_all (gtk_widget_get_parent (window-&gt;priv-&gt;list_view));</td></tr>
+<tr class="codeline" data-linenumber="1819"><td class="num" id="LN1819">1819</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1820"><td class="num" id="LN1820">1820</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1821"><td class="num" id="LN1821">1821</td><td class="line"> gtk_widget_set_sensitive (window-&gt;priv-&gt;list_view, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1822"><td class="num" id="LN1822">1822</td><td class="line"> gtk_widget_hide (gtk_widget_get_parent (window-&gt;priv-&gt;list_view));</td></tr>
+<tr class="codeline" data-linenumber="1823"><td class="num" id="LN1823">1823</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1824"><td class="num" id="LN1824">1824</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1825"><td class="num" id="LN1825">1825</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1826"><td class="num" id="LN1826">1826</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1827"><td class="num" id="LN1827">1827</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1828"><td class="num" id="LN1828">1828</td><td class="line"> gtk_widget_set_sensitive (window-&gt;priv-&gt;list_view, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1829"><td class="num" id="LN1829">1829</td><td class="line"> gtk_widget_show_all (gtk_widget_get_parent (window-&gt;priv-&gt;list_view));</td></tr>
+<tr class="codeline" data-linenumber="1830"><td class="num" id="LN1830">1830</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1831"><td class="num" id="LN1831">1831</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1832"><td class="num" id="LN1832">1832</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;give_focus_to_the_list) {</td></tr>
+<tr class="codeline" data-linenumber="1833"><td class="num" id="LN1833">1833</td><td class="line"> gtk_widget_grab_focus (window-&gt;priv-&gt;list_view);</td></tr>
+<tr class="codeline" data-linenumber="1834"><td class="num" id="LN1834">1834</td><td class="line"> window-&gt;priv-&gt;give_focus_to_the_list = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1835"><td class="num" id="LN1835">1835</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1836"><td class="num" id="LN1836">1836</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1837"><td class="num" id="LN1837">1837</td><td class="line"> <span class='comment'>/**/</span></td></tr>
+<tr class="codeline" data-linenumber="1838"><td class="num" id="LN1838">1838</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1839"><td class="num" id="LN1839">1839</td><td class="line"> fr_window_start_activity_mode (window);</td></tr>
+<tr class="codeline" data-linenumber="1840"><td class="num" id="LN1840">1840</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1841"><td class="num" id="LN1841">1841</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;list_mode == FR_WINDOW_LIST_MODE_FLAT) {</td></tr>
+<tr class="codeline" data-linenumber="1842"><td class="num" id="LN1842">1842</td><td class="line"> fr_window_compute_list_names (window, window-&gt;archive-&gt;command-&gt;files);</td></tr>
+<tr class="codeline" data-linenumber="1843"><td class="num" id="LN1843">1843</td><td class="line"> files = window-&gt;archive-&gt;command-&gt;files;</td></tr>
+<tr class="codeline" data-linenumber="1844"><td class="num" id="LN1844">1844</td><td class="line"> free_files = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1845"><td class="num" id="LN1845">1845</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1846"><td class="num" id="LN1846">1846</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1847"><td class="num" id="LN1847">1847</td><td class="line"> <span class='keyword'>char</span> *current_dir = <span class='macro'>g_strdup (fr_window_get_current_location (window))<span class='macro_popup'>g_strdup_inline (fr_window_get_current_location (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1848"><td class="num" id="LN1848">1848</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1849"><td class="num" id="LN1849">1849</td><td class="line"> <span class='keyword'>while</span> (! fr_window_dir_exists_in_archive (window, current_dir)) {</td></tr>
+<tr class="codeline" data-linenumber="1850"><td class="num" id="LN1850">1850</td><td class="line"> <span class='keyword'>char</span> *tmp;</td></tr>
+<tr class="codeline" data-linenumber="1851"><td class="num" id="LN1851">1851</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1852"><td class="num" id="LN1852">1852</td><td class="line"> fr_window_history_pop (window);</td></tr>
+<tr class="codeline" data-linenumber="1853"><td class="num" id="LN1853">1853</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1854"><td class="num" id="LN1854">1854</td><td class="line"> tmp = get_parent_dir (current_dir);</td></tr>
+<tr class="codeline" data-linenumber="1855"><td class="num" id="LN1855">1855</td><td class="line"> g_free (current_dir);</td></tr>
+<tr class="codeline" data-linenumber="1856"><td class="num" id="LN1856">1856</td><td class="line"> current_dir = tmp;</td></tr>
+<tr class="codeline" data-linenumber="1857"><td class="num" id="LN1857">1857</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1858"><td class="num" id="LN1858">1858</td><td class="line"> fr_window_history_add (window, current_dir);</td></tr>
+<tr class="codeline" data-linenumber="1859"><td class="num" id="LN1859">1859</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1860"><td class="num" id="LN1860">1860</td><td class="line"> g_free (current_dir);</td></tr>
+<tr class="codeline" data-linenumber="1861"><td class="num" id="LN1861">1861</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1862"><td class="num" id="LN1862">1862</td><td class="line"> fr_window_compute_list_names (window, window-&gt;archive-&gt;command-&gt;files);</td></tr>
+<tr class="codeline" data-linenumber="1863"><td class="num" id="LN1863">1863</td><td class="line"> files = fr_window_get_current_dir_list (window);</td></tr>
+<tr class="codeline" data-linenumber="1864"><td class="num" id="LN1864">1864</td><td class="line"> free_files = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1865"><td class="num" id="LN1865">1865</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1866"><td class="num" id="LN1866">1866</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1867"><td class="num" id="LN1867">1867</td><td class="line"> <span class='keyword'>if</span> (files != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1868"><td class="num" id="LN1868">1868</td><td class="line"> window-&gt;priv-&gt;current_view_length = files-&gt;len;</td></tr>
+<tr class="codeline" data-linenumber="1869"><td class="num" id="LN1869">1869</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1870"><td class="num" id="LN1870">1870</td><td class="line"> window-&gt;priv-&gt;current_view_length = 0;</td></tr>
+<tr class="codeline" data-linenumber="1871"><td class="num" id="LN1871">1871</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1872"><td class="num" id="LN1872">1872</td><td class="line"> <span class='keyword'>if</span> (update_view)</td></tr>
+<tr class="codeline" data-linenumber="1873"><td class="num" id="LN1873">1873</td><td class="line"> fr_window_populate_file_list (window, files);</td></tr>
+<tr class="codeline" data-linenumber="1874"><td class="num" id="LN1874">1874</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1875"><td class="num" id="LN1875">1875</td><td class="line"> <span class='keyword'>if</span> (free_files)</td></tr>
+<tr class="codeline" data-linenumber="1876"><td class="num" id="LN1876">1876</td><td class="line"> g_ptr_array_free (files, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1877"><td class="num" id="LN1877">1877</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1878"><td class="num" id="LN1878">1878</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1879"><td class="num" id="LN1879">1879</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1880"><td class="num" id="LN1880">1880</td><td class="line">fr_window_update_list_order (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1881"><td class="num" id="LN1881">1881</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1882"><td class="num" id="LN1882">1882</td><td class="line"> gtk_tree_sortable_set_sort_column_id (<span class='macro'>GTK_TREE_SORTABLE (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeSortable*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_sortable_get_type<br> ()))))))</span></span>, get_column_from_sort_method (window-&gt;priv-&gt;sort_method), window-&gt;priv-&gt;sort_type);</td></tr>
+<tr class="codeline" data-linenumber="1883"><td class="num" id="LN1883">1883</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1884"><td class="num" id="LN1884">1884</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1885"><td class="num" id="LN1885">1885</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1886"><td class="num" id="LN1886">1886</td><td class="line">fr_window_update_title (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1887"><td class="num" id="LN1887">1887</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1888"><td class="num" id="LN1888">1888</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;archive_present)</td></tr>
+<tr class="codeline" data-linenumber="1889"><td class="num" id="LN1889">1889</td><td class="line"> gtk_window_set_title (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>, <span class='macro'>_(<span class='string_literal'>"Archive Manager"</span>)<span class='macro_popup'>gettext ("Archive Manager")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1890"><td class="num" id="LN1890">1890</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1891"><td class="num" id="LN1891">1891</td><td class="line"> <span class='keyword'>char</span> *title;</td></tr>
+<tr class="codeline" data-linenumber="1892"><td class="num" id="LN1892">1892</td><td class="line"> <span class='keyword'>char</span> *name;</td></tr>
+<tr class="codeline" data-linenumber="1893"><td class="num" id="LN1893">1893</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1894"><td class="num" id="LN1894">1894</td><td class="line"> name = g_uri_display_basename (fr_window_get_archive_uri (window));</td></tr>
+<tr class="codeline" data-linenumber="1895"><td class="num" id="LN1895">1895</td><td class="line"> title = g_strdup_printf (<span class='string_literal'>"%s %s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="1896"><td class="num" id="LN1896">1896</td><td class="line"> name,</td></tr>
+<tr class="codeline" data-linenumber="1897"><td class="num" id="LN1897">1897</td><td class="line"> window-&gt;archive-&gt;read_only ? <span class='macro'>_(<span class='string_literal'>"[read only]"</span>)<span class='macro_popup'>gettext ("[read only]")</span></span> : <span class='string_literal'>""</span>);</td></tr>
+<tr class="codeline" data-linenumber="1898"><td class="num" id="LN1898">1898</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1899"><td class="num" id="LN1899">1899</td><td class="line"> gtk_window_set_title (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>, title);</td></tr>
+<tr class="codeline" data-linenumber="1900"><td class="num" id="LN1900">1900</td><td class="line"> g_free (title);</td></tr>
+<tr class="codeline" data-linenumber="1901"><td class="num" id="LN1901">1901</td><td class="line"> g_free (name);</td></tr>
+<tr class="codeline" data-linenumber="1902"><td class="num" id="LN1902">1902</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1903"><td class="num" id="LN1903">1903</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1904"><td class="num" id="LN1904">1904</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1905"><td class="num" id="LN1905">1905</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1906"><td class="num" id="LN1906">1906</td><td class="line">check_whether_has_a_dir (GtkTreeModel *model,</td></tr>
+<tr class="codeline" data-linenumber="1907"><td class="num" id="LN1907">1907</td><td class="line"> GtkTreePath *path,</td></tr>
+<tr class="codeline" data-linenumber="1908"><td class="num" id="LN1908">1908</td><td class="line"> GtkTreeIter *iter,</td></tr>
+<tr class="codeline" data-linenumber="1909"><td class="num" id="LN1909">1909</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1910"><td class="num" id="LN1910">1910</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1911"><td class="num" id="LN1911">1911</td><td class="line"> gboolean *has_a_dir = data;</td></tr>
+<tr class="codeline" data-linenumber="1912"><td class="num" id="LN1912">1912</td><td class="line"> FileData *fdata;</td></tr>
+<tr class="codeline" data-linenumber="1913"><td class="num" id="LN1913">1913</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1914"><td class="num" id="LN1914">1914</td><td class="line"> gtk_tree_model_get (model, iter,</td></tr>
+<tr class="codeline" data-linenumber="1915"><td class="num" id="LN1915">1915</td><td class="line"> COLUMN_FILE_DATA, &amp;fdata,</td></tr>
+<tr class="codeline" data-linenumber="1916"><td class="num" id="LN1916">1916</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="1917"><td class="num" id="LN1917">1917</td><td class="line"> <span class='keyword'>if</span> (file_data_is_dir (fdata))</td></tr>
+<tr class="codeline" data-linenumber="1918"><td class="num" id="LN1918">1918</td><td class="line"> *has_a_dir = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1919"><td class="num" id="LN1919">1919</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1920"><td class="num" id="LN1920">1920</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1921"><td class="num" id="LN1921">1921</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1922"><td class="num" id="LN1922">1922</td><td class="line">selection_has_a_dir (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1923"><td class="num" id="LN1923">1923</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1924"><td class="num" id="LN1924">1924</td><td class="line"> GtkTreeSelection *selection;</td></tr>
+<tr class="codeline" data-linenumber="1925"><td class="num" id="LN1925">1925</td><td class="line"> gboolean has_a_dir = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1926"><td class="num" id="LN1926">1926</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1927"><td class="num" id="LN1927">1927</td><td class="line"> <span class='keyword'>if</span> (! gtk_widget_get_realized (window-&gt;priv-&gt;list_view))</td></tr>
+<tr class="codeline" data-linenumber="1928"><td class="num" id="LN1928">1928</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1929"><td class="num" id="LN1929">1929</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1930"><td class="num" id="LN1930">1930</td><td class="line"> selection = gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1931"><td class="num" id="LN1931">1931</td><td class="line"> <span class='keyword'>if</span> (selection == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1932"><td class="num" id="LN1932">1932</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1933"><td class="num" id="LN1933">1933</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1934"><td class="num" id="LN1934">1934</td><td class="line"> gtk_tree_selection_selected_foreach (selection,</td></tr>
+<tr class="codeline" data-linenumber="1935"><td class="num" id="LN1935">1935</td><td class="line"> check_whether_has_a_dir,</td></tr>
+<tr class="codeline" data-linenumber="1936"><td class="num" id="LN1936">1936</td><td class="line"> &amp;has_a_dir);</td></tr>
+<tr class="codeline" data-linenumber="1937"><td class="num" id="LN1937">1937</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1938"><td class="num" id="LN1938">1938</td><td class="line"> <span class='keyword'>return</span> has_a_dir;</td></tr>
+<tr class="codeline" data-linenumber="1939"><td class="num" id="LN1939">1939</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1940"><td class="num" id="LN1940">1940</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1941"><td class="num" id="LN1941">1941</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1942"><td class="num" id="LN1942">1942</td><td class="line">set_active (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="1943"><td class="num" id="LN1943">1943</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *action_name,</td></tr>
+<tr class="codeline" data-linenumber="1944"><td class="num" id="LN1944">1944</td><td class="line"> gboolean is_active)</td></tr>
+<tr class="codeline" data-linenumber="1945"><td class="num" id="LN1945">1945</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1946"><td class="num" id="LN1946">1946</td><td class="line"> GAction *action;</td></tr>
+<tr class="codeline" data-linenumber="1947"><td class="num" id="LN1947">1947</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1948"><td class="num" id="LN1948">1948</td><td class="line"> action = g_action_map_lookup_action (<span class='macro'>G_ACTION_MAP (window-&gt;priv-&gt;actions)<span class='macro_popup'>((((GActionMap*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;actions)), ((g_action_map_get_type (<br>)))))))</span></span>, action_name);</td></tr>
+<tr class="codeline" data-linenumber="1949"><td class="num" id="LN1949">1949</td><td class="line"> g_simple_action_set_state (<span class='macro'>G_SIMPLE_ACTION (action)<span class='macro_popup'>((((GSimpleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((g_simple_action_get_type ()))))))</span></span>, g_variant_new_boolean (is_active));</td></tr>
+<tr class="codeline" data-linenumber="1950"><td class="num" id="LN1950">1950</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1951"><td class="num" id="LN1951">1951</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1952"><td class="num" id="LN1952">1952</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1953"><td class="num" id="LN1953">1953</td><td class="line">fr_window_update_paste_command_sensitivity (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="1954"><td class="num" id="LN1954">1954</td><td class="line"> GtkClipboard *clipboard)</td></tr>
+<tr class="codeline" data-linenumber="1955"><td class="num" id="LN1955">1955</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1956"><td class="num" id="LN1956">1956</td><td class="line"> gboolean running;</td></tr>
+<tr class="codeline" data-linenumber="1957"><td class="num" id="LN1957">1957</td><td class="line"> gboolean no_archive;</td></tr>
+<tr class="codeline" data-linenumber="1958"><td class="num" id="LN1958">1958</td><td class="line"> gboolean ro;</td></tr>
+<tr class="codeline" data-linenumber="1959"><td class="num" id="LN1959">1959</td><td class="line"> gboolean compr_file;</td></tr>
+<tr class="codeline" data-linenumber="1960"><td class="num" id="LN1960">1960</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1961"><td class="num" id="LN1961">1961</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;closing)</td></tr>
+<tr class="codeline" data-linenumber="1962"><td class="num" id="LN1962">1962</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1963"><td class="num" id="LN1963">1963</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1964"><td class="num" id="LN1964">1964</td><td class="line"> <span class='keyword'>if</span> (clipboard == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1965"><td class="num" id="LN1965">1965</td><td class="line"> clipboard = gtk_widget_get_clipboard (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>, <span class='macro'>FR_CLIPBOARD<span class='macro_popup'>(gdk_atom_intern_static_string ("_RNGRAMPA_SPECIAL_CLIPBOARD"<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1966"><td class="num" id="LN1966">1966</td><td class="line"> running = window-&gt;priv-&gt;activity_ref &gt; 0;</td></tr>
+<tr class="codeline" data-linenumber="1967"><td class="num" id="LN1967">1967</td><td class="line"> no_archive = (window-&gt;archive == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) || ! window-&gt;priv-&gt;archive_present;</td></tr>
+<tr class="codeline" data-linenumber="1968"><td class="num" id="LN1968">1968</td><td class="line"> ro = ! no_archive &amp;&amp; window-&gt;archive-&gt;read_only;</td></tr>
+<tr class="codeline" data-linenumber="1969"><td class="num" id="LN1969">1969</td><td class="line"> compr_file = ! no_archive &amp;&amp; window-&gt;archive-&gt;is_compressed_file;</td></tr>
+<tr class="codeline" data-linenumber="1970"><td class="num" id="LN1970">1970</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1971"><td class="num" id="LN1971">1971</td><td class="line"> set_sensitive (window, <span class='string_literal'>"paste_item"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file &amp;&amp; (window-&gt;priv-&gt;list_mode != FR_WINDOW_LIST_MODE_FLAT) &amp;&amp; gtk_clipboard_wait_is_target_available (clipboard, <span class='macro'>FR_SPECIAL_URI_LIST<span class='macro_popup'>(gdk_atom_intern_static_string ("application/engrampa-uri-list"<br>))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="1972"><td class="num" id="LN1972">1972</td><td class="line"> set_sensitive (window, <span class='string_literal'>"popup_paste_item"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file &amp;&amp; (window-&gt;priv-&gt;list_mode != FR_WINDOW_LIST_MODE_FLAT) &amp;&amp; gtk_clipboard_wait_is_target_available (clipboard, <span class='macro'>FR_SPECIAL_URI_LIST<span class='macro_popup'>(gdk_atom_intern_static_string ("application/engrampa-uri-list"<br>))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="1973"><td class="num" id="LN1973">1973</td><td class="line"> set_sensitive (window, <span class='string_literal'>"popup_paste_item1"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file &amp;&amp; (window-&gt;priv-&gt;list_mode != FR_WINDOW_LIST_MODE_FLAT) &amp;&amp; gtk_clipboard_wait_is_target_available (clipboard, <span class='macro'>FR_SPECIAL_URI_LIST<span class='macro_popup'>(gdk_atom_intern_static_string ("application/engrampa-uri-list"<br>))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="1974"><td class="num" id="LN1974">1974</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1975"><td class="num" id="LN1975">1975</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1976"><td class="num" id="LN1976">1976</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1977"><td class="num" id="LN1977">1977</td><td class="line">fr_window_update_sensitivity (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1978"><td class="num" id="LN1978">1978</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1979"><td class="num" id="LN1979">1979</td><td class="line"> gboolean no_archive;</td></tr>
+<tr class="codeline" data-linenumber="1980"><td class="num" id="LN1980">1980</td><td class="line"> gboolean ro;</td></tr>
+<tr class="codeline" data-linenumber="1981"><td class="num" id="LN1981">1981</td><td class="line"> gboolean file_op;</td></tr>
+<tr class="codeline" data-linenumber="1982"><td class="num" id="LN1982">1982</td><td class="line"> gboolean running;</td></tr>
+<tr class="codeline" data-linenumber="1983"><td class="num" id="LN1983">1983</td><td class="line"> gboolean compr_file;</td></tr>
+<tr class="codeline" data-linenumber="1984"><td class="num" id="LN1984">1984</td><td class="line"> gboolean sel_not_null;</td></tr>
+<tr class="codeline" data-linenumber="1985"><td class="num" id="LN1985">1985</td><td class="line"> gboolean one_file_selected;</td></tr>
+<tr class="codeline" data-linenumber="1986"><td class="num" id="LN1986">1986</td><td class="line"> gboolean dir_selected;</td></tr>
+<tr class="codeline" data-linenumber="1987"><td class="num" id="LN1987">1987</td><td class="line"> <span class='keyword'>int</span> n_selected;</td></tr>
+<tr class="codeline" data-linenumber="1988"><td class="num" id="LN1988">1988</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1989"><td class="num" id="LN1989">1989</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;batch_mode)</td></tr>
+<tr class="codeline" data-linenumber="1990"><td class="num" id="LN1990">1990</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1991"><td class="num" id="LN1991">1991</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1992"><td class="num" id="LN1992">1992</td><td class="line"> running = window-&gt;priv-&gt;activity_ref &gt; 0;</td></tr>
+<tr class="codeline" data-linenumber="1993"><td class="num" id="LN1993">1993</td><td class="line"> no_archive = (window-&gt;archive == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) || ! window-&gt;priv-&gt;archive_present;</td></tr>
+<tr class="codeline" data-linenumber="1994"><td class="num" id="LN1994">1994</td><td class="line"> ro = ! no_archive &amp;&amp; window-&gt;archive-&gt;read_only;</td></tr>
+<tr class="codeline" data-linenumber="1995"><td class="num" id="LN1995">1995</td><td class="line"> file_op = ! no_archive &amp;&amp; ! window-&gt;priv-&gt;archive_new &amp;&amp; ! running;</td></tr>
+<tr class="codeline" data-linenumber="1996"><td class="num" id="LN1996">1996</td><td class="line"> compr_file = ! no_archive &amp;&amp; window-&gt;archive-&gt;is_compressed_file;</td></tr>
+<tr class="codeline" data-linenumber="1997"><td class="num" id="LN1997">1997</td><td class="line"> n_selected = fr_window_get_n_selected_files (window);</td></tr>
+<tr class="codeline" data-linenumber="1998"><td class="num" id="LN1998">1998</td><td class="line"> sel_not_null = n_selected &gt; 0;</td></tr>
+<tr class="codeline" data-linenumber="1999"><td class="num" id="LN1999">1999</td><td class="line"> one_file_selected = n_selected == 1;</td></tr>
+<tr class="codeline" data-linenumber="2000"><td class="num" id="LN2000">2000</td><td class="line"> dir_selected = selection_has_a_dir (window);</td></tr>
+<tr class="codeline" data-linenumber="2001"><td class="num" id="LN2001">2001</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2002"><td class="num" id="LN2002">2002</td><td class="line"> set_sensitive (window, <span class='string_literal'>"add_files_item"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file);</td></tr>
+<tr class="codeline" data-linenumber="2003"><td class="num" id="LN2003">2003</td><td class="line"> set_sensitive (window, <span class='string_literal'>"tool_add_files_item"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file);</td></tr>
+<tr class="codeline" data-linenumber="2004"><td class="num" id="LN2004">2004</td><td class="line"> set_sensitive (window, <span class='string_literal'>"add_folder_item"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file);</td></tr>
+<tr class="codeline" data-linenumber="2005"><td class="num" id="LN2005">2005</td><td class="line"> set_sensitive (window, <span class='string_literal'>"tool_add_folder_item"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file);</td></tr>
+<tr class="codeline" data-linenumber="2006"><td class="num" id="LN2006">2006</td><td class="line"> set_sensitive (window, <span class='string_literal'>"copy_item"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file &amp;&amp; sel_not_null &amp;&amp; (window-&gt;priv-&gt;list_mode != FR_WINDOW_LIST_MODE_FLAT));</td></tr>
+<tr class="codeline" data-linenumber="2007"><td class="num" id="LN2007">2007</td><td class="line"> set_sensitive (window, <span class='string_literal'>"popup_copy_item"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file &amp;&amp; sel_not_null &amp;&amp; (window-&gt;priv-&gt;list_mode != FR_WINDOW_LIST_MODE_FLAT));</td></tr>
+<tr class="codeline" data-linenumber="2008"><td class="num" id="LN2008">2008</td><td class="line"> set_sensitive (window, <span class='string_literal'>"popup_copy_item1"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file &amp;&amp; sel_not_null &amp;&amp; (window-&gt;priv-&gt;list_mode != FR_WINDOW_LIST_MODE_FLAT));</td></tr>
+<tr class="codeline" data-linenumber="2009"><td class="num" id="LN2009">2009</td><td class="line"> set_sensitive (window, <span class='string_literal'>"cut_item"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file &amp;&amp; sel_not_null &amp;&amp; (window-&gt;priv-&gt;list_mode != FR_WINDOW_LIST_MODE_FLAT));</td></tr>
+<tr class="codeline" data-linenumber="2010"><td class="num" id="LN2010">2010</td><td class="line"> set_sensitive (window, <span class='string_literal'>"popup_cut_item"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file &amp;&amp; sel_not_null &amp;&amp; (window-&gt;priv-&gt;list_mode != FR_WINDOW_LIST_MODE_FLAT));</td></tr>
+<tr class="codeline" data-linenumber="2011"><td class="num" id="LN2011">2011</td><td class="line"> set_sensitive (window, <span class='string_literal'>"popup_cut_item1"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file &amp;&amp; sel_not_null &amp;&amp; (window-&gt;priv-&gt;list_mode != FR_WINDOW_LIST_MODE_FLAT));</td></tr>
+<tr class="codeline" data-linenumber="2012"><td class="num" id="LN2012">2012</td><td class="line"> set_sensitive (window, <span class='string_literal'>"delete_item"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! window-&gt;priv-&gt;archive_new &amp;&amp; ! running &amp;&amp; ! compr_file);</td></tr>
+<tr class="codeline" data-linenumber="2013"><td class="num" id="LN2013">2013</td><td class="line"> set_sensitive (window, <span class='string_literal'>"popup_delete_item"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! window-&gt;priv-&gt;archive_new &amp;&amp; ! running &amp;&amp; ! compr_file);</td></tr>
+<tr class="codeline" data-linenumber="2014"><td class="num" id="LN2014">2014</td><td class="line"> set_sensitive (window, <span class='string_literal'>"popup_delete_item1"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! window-&gt;priv-&gt;archive_new &amp;&amp; ! running &amp;&amp; ! compr_file);</td></tr>
+<tr class="codeline" data-linenumber="2015"><td class="num" id="LN2015">2015</td><td class="line"> set_sensitive (window, <span class='string_literal'>"deselect_all_item"</span>, ! no_archive &amp;&amp; sel_not_null);</td></tr>
+<tr class="codeline" data-linenumber="2016"><td class="num" id="LN2016">2016</td><td class="line"> set_sensitive (window, <span class='string_literal'>"extract_item"</span>, file_op);</td></tr>
+<tr class="codeline" data-linenumber="2017"><td class="num" id="LN2017">2017</td><td class="line"> set_sensitive (window, <span class='string_literal'>"tool_extract_item"</span>, file_op);</td></tr>
+<tr class="codeline" data-linenumber="2018"><td class="num" id="LN2018">2018</td><td class="line"> set_sensitive (window, <span class='string_literal'>"find_item"</span>, ! no_archive);</td></tr>
+<tr class="codeline" data-linenumber="2019"><td class="num" id="LN2019">2019</td><td class="line"> set_sensitive (window, <span class='string_literal'>"last_output_item"</span>, ((window-&gt;archive != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2020"><td class="num" id="LN2020">2020</td><td class="line"> &amp;&amp; (window-&gt;archive-&gt;process != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2021"><td class="num" id="LN2021">2021</td><td class="line"> &amp;&amp; (window-&gt;archive-&gt;process-&gt;out.raw != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)));</td></tr>
+<tr class="codeline" data-linenumber="2022"><td class="num" id="LN2022">2022</td><td class="line"> set_sensitive (window, <span class='string_literal'>"new_item"</span>, ! running);</td></tr>
+<tr class="codeline" data-linenumber="2023"><td class="num" id="LN2023">2023</td><td class="line"> set_sensitive (window, <span class='string_literal'>"tool_new_item"</span>, ! running);</td></tr>
+<tr class="codeline" data-linenumber="2024"><td class="num" id="LN2024">2024</td><td class="line"> set_sensitive (window, <span class='string_literal'>"open_item"</span>, ! running);</td></tr>
+<tr class="codeline" data-linenumber="2025"><td class="num" id="LN2025">2025</td><td class="line"> set_sensitive (window, <span class='string_literal'>"popup_open_select_item"</span>, file_op &amp;&amp; sel_not_null &amp;&amp; ! dir_selected);</td></tr>
+<tr class="codeline" data-linenumber="2026"><td class="num" id="LN2026">2026</td><td class="line"> set_sensitive (window, <span class='string_literal'>"popup_open_item1"</span>, file_op &amp;&amp; one_file_selected &amp;&amp; dir_selected);</td></tr>
+<tr class="codeline" data-linenumber="2027"><td class="num" id="LN2027">2027</td><td class="line"> set_sensitive (window, <span class='string_literal'>"password_item"</span>, ! running &amp;&amp; (window-&gt;priv-&gt;asked_for_password || (! no_archive &amp;&amp; window-&gt;archive-&gt;command-&gt;propPassword)));</td></tr>
+<tr class="codeline" data-linenumber="2028"><td class="num" id="LN2028">2028</td><td class="line"> set_sensitive (window, <span class='string_literal'>"properties_item"</span>, file_op);</td></tr>
+<tr class="codeline" data-linenumber="2029"><td class="num" id="LN2029">2029</td><td class="line"> set_sensitive (window, <span class='string_literal'>"close_item"</span>, !running || window-&gt;priv-&gt;stoppable);</td></tr>
+<tr class="codeline" data-linenumber="2030"><td class="num" id="LN2030">2030</td><td class="line"> set_sensitive (window, <span class='string_literal'>"reload_item"</span>, ! (no_archive || running));</td></tr>
+<tr class="codeline" data-linenumber="2031"><td class="num" id="LN2031">2031</td><td class="line"> set_sensitive (window, <span class='string_literal'>"rename_item"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file &amp;&amp; one_file_selected);</td></tr>
+<tr class="codeline" data-linenumber="2032"><td class="num" id="LN2032">2032</td><td class="line"> set_sensitive (window, <span class='string_literal'>"popup_rename_item"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file &amp;&amp; one_file_selected);</td></tr>
+<tr class="codeline" data-linenumber="2033"><td class="num" id="LN2033">2033</td><td class="line"> set_sensitive (window, <span class='string_literal'>"popup_rename_item1"</span>, ! no_archive &amp;&amp; ! ro &amp;&amp; ! running &amp;&amp; ! compr_file &amp;&amp; one_file_selected);</td></tr>
+<tr class="codeline" data-linenumber="2034"><td class="num" id="LN2034">2034</td><td class="line"> set_sensitive (window, <span class='string_literal'>"open_saveas_item"</span>, ! no_archive &amp;&amp; ! compr_file &amp;&amp; ! running);</td></tr>
+<tr class="codeline" data-linenumber="2035"><td class="num" id="LN2035">2035</td><td class="line"> set_sensitive (window, <span class='string_literal'>"select_all_item"</span>, ! no_archive);</td></tr>
+<tr class="codeline" data-linenumber="2036"><td class="num" id="LN2036">2036</td><td class="line"> set_sensitive (window, <span class='string_literal'>"stop_item"</span>, running &amp;&amp; window-&gt;priv-&gt;stoppable);</td></tr>
+<tr class="codeline" data-linenumber="2037"><td class="num" id="LN2037">2037</td><td class="line"> set_sensitive (window, <span class='string_literal'>"tool_stop_item"</span>, running &amp;&amp; window-&gt;priv-&gt;stoppable);</td></tr>
+<tr class="codeline" data-linenumber="2038"><td class="num" id="LN2038">2038</td><td class="line"> set_sensitive (window, <span class='string_literal'>"test_integrity_item"</span>, ! no_archive &amp;&amp; ! running &amp;&amp; window-&gt;archive-&gt;command-&gt;propTest);</td></tr>
+<tr class="codeline" data-linenumber="2039"><td class="num" id="LN2039">2039</td><td class="line"> set_sensitive (window, <span class='string_literal'>"popup_open_item"</span>, file_op &amp;&amp; one_file_selected &amp;&amp; ! dir_selected);</td></tr>
+<tr class="codeline" data-linenumber="2040"><td class="num" id="LN2040">2040</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2041"><td class="num" id="LN2041">2041</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_dialog != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2042"><td class="num" id="LN2042">2042</td><td class="line"> gtk_dialog_set_response_sensitive (<span class='macro'>GTK_DIALOG (window-&gt;priv-&gt;progress_dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_dialog)), ((gtk_dialog_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2043"><td class="num" id="LN2043">2043</td><td class="line"> GTK_RESPONSE_OK,</td></tr>
+<tr class="codeline" data-linenumber="2044"><td class="num" id="LN2044">2044</td><td class="line"> running &amp;&amp; window-&gt;priv-&gt;stoppable);</td></tr>
+<tr class="codeline" data-linenumber="2045"><td class="num" id="LN2045">2045</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2046"><td class="num" id="LN2046">2046</td><td class="line"> fr_window_update_paste_command_sensitivity (window, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2047"><td class="num" id="LN2047">2047</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2048"><td class="num" id="LN2048">2048</td><td class="line"> set_sensitive (window, <span class='string_literal'>"select_all_item"</span>, (window-&gt;priv-&gt;current_view_length &gt; 0) &amp;&amp; (window-&gt;priv-&gt;current_view_length != n_selected));</td></tr>
+<tr class="codeline" data-linenumber="2049"><td class="num" id="LN2049">2049</td><td class="line"> set_sensitive (window, <span class='string_literal'>"deselect_all_item"</span>, n_selected &gt; 0);</td></tr>
+<tr class="codeline" data-linenumber="2050"><td class="num" id="LN2050">2050</td><td class="line"> set_sensitive (window, <span class='string_literal'>"open_recent_item"</span>, ! running);</td></tr>
+<tr class="codeline" data-linenumber="2051"><td class="num" id="LN2051">2051</td><td class="line"> set_sensitive (window, <span class='string_literal'>"tool_open_recent_item"</span>, ! running);</td></tr>
+<tr class="codeline" data-linenumber="2052"><td class="num" id="LN2052">2052</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2053"><td class="num" id="LN2053">2053</td><td class="line"> set_sensitive (window, <span class='string_literal'>"view_folder_item"</span>, (window-&gt;priv-&gt;list_mode == FR_WINDOW_LIST_MODE_AS_DIR));</td></tr>
+<tr class="codeline" data-linenumber="2054"><td class="num" id="LN2054">2054</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2055"><td class="num" id="LN2055">2055</td><td class="line"> set_sensitive (window, <span class='string_literal'>"view_all_files_item"</span>, ! window-&gt;priv-&gt;filter_mode);</td></tr>
+<tr class="codeline" data-linenumber="2056"><td class="num" id="LN2056">2056</td><td class="line"> set_sensitive (window, <span class='string_literal'>"view_as_folder_item"</span>, ! window-&gt;priv-&gt;filter_mode);</td></tr>
+<tr class="codeline" data-linenumber="2057"><td class="num" id="LN2057">2057</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2058"><td class="num" id="LN2058">2058</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2059"><td class="num" id="LN2059">2059</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="2060"><td class="num" id="LN2060">2060</td><td class="line">location_entry_key_press_event_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="2061"><td class="num" id="LN2061">2061</td><td class="line"> GdkEventKey *event,</td></tr>
+<tr class="codeline" data-linenumber="2062"><td class="num" id="LN2062">2062</td><td class="line"> FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2063"><td class="num" id="LN2063">2063</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2064"><td class="num" id="LN2064">2064</td><td class="line"> <span class='keyword'>if</span> ((event-&gt;keyval == <span class='macro'>GDK_KEY_Return<span class='macro_popup'>0xff0d</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2065"><td class="num" id="LN2065">2065</td><td class="line"> || (event-&gt;keyval == <span class='macro'>GDK_KEY_KP_Enter<span class='macro_popup'>0xff8d</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2066"><td class="num" id="LN2066">2066</td><td class="line"> || (event-&gt;keyval == <span class='macro'>GDK_KEY_ISO_Enter<span class='macro_popup'>0xfe34</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="2067"><td class="num" id="LN2067">2067</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="2068"><td class="num" id="LN2068">2068</td><td class="line"> fr_window_go_to_location (window, gtk_entry_get_text (<span class='macro'>GTK_ENTRY (window-&gt;priv-&gt;location_entry)<span class='macro_popup'>((((GtkEntry*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;location_entry)), ((gtk_entry_get_type<br> ()))))))</span></span>), <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2069"><td class="num" id="LN2069">2069</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2070"><td class="num" id="LN2070">2070</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2071"><td class="num" id="LN2071">2071</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2072"><td class="num" id="LN2072">2072</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2073"><td class="num" id="LN2073">2073</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2074"><td class="num" id="LN2074">2074</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="2075"><td class="num" id="LN2075">2075</td><td class="line">real_close_progress_dialog (gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="2076"><td class="num" id="LN2076">2076</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2077"><td class="num" id="LN2077">2077</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="2078"><td class="num" id="LN2078">2078</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2079"><td class="num" id="LN2079">2079</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;hide_progress_timeout != 0) {</td></tr>
+<tr class="codeline" data-linenumber="2080"><td class="num" id="LN2080">2080</td><td class="line"> g_source_remove (window-&gt;priv-&gt;hide_progress_timeout);</td></tr>
+<tr class="codeline" data-linenumber="2081"><td class="num" id="LN2081">2081</td><td class="line"> window-&gt;priv-&gt;hide_progress_timeout = 0;</td></tr>
+<tr class="codeline" data-linenumber="2082"><td class="num" id="LN2082">2082</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2083"><td class="num" id="LN2083">2083</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2084"><td class="num" id="LN2084">2084</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_dialog != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2085"><td class="num" id="LN2085">2085</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;progress_dialog);</td></tr>
+<tr class="codeline" data-linenumber="2086"><td class="num" id="LN2086">2086</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2087"><td class="num" id="LN2087">2087</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2088"><td class="num" id="LN2088">2088</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2089"><td class="num" id="LN2089">2089</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2090"><td class="num" id="LN2090">2090</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> close_suspend_process(FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2091"><td class="num" id="LN2091">2091</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2092"><td class="num" id="LN2092">2092</td><td class="line"> <span class='keyword'>if</span> (window-&gt;archive-&gt;process != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2093"><td class="num" id="LN2093">2093</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="2094"><td class="num" id="LN2094">2094</td><td class="line"> start_close_suspend_process(window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="2095"><td class="num" id="LN2095">2095</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2096"><td class="num" id="LN2096">2096</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2097"><td class="num" id="LN2097">2097</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2098"><td class="num" id="LN2098">2098</td><td class="line">close_progress_dialog (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="2099"><td class="num" id="LN2099">2099</td><td class="line"> gboolean close_now)</td></tr>
+<tr class="codeline" data-linenumber="2100"><td class="num" id="LN2100">2100</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2101"><td class="num" id="LN2101">2101</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_timeout != 0) {</td></tr>
+<tr class="codeline" data-linenumber="2102"><td class="num" id="LN2102">2102</td><td class="line"> g_source_remove (window-&gt;priv-&gt;progress_timeout);</td></tr>
+<tr class="codeline" data-linenumber="2103"><td class="num" id="LN2103">2103</td><td class="line"> window-&gt;priv-&gt;progress_timeout = 0;</td></tr>
+<tr class="codeline" data-linenumber="2104"><td class="num" id="LN2104">2104</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2105"><td class="num" id="LN2105">2105</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2106"><td class="num" id="LN2106">2106</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;batch_mode &amp;&amp; gtk_widget_get_mapped (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="2107"><td class="num" id="LN2107">2107</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;progress_bar);</td></tr>
+<tr class="codeline" data-linenumber="2108"><td class="num" id="LN2108">2108</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2109"><td class="num" id="LN2109">2109</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_dialog == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2110"><td class="num" id="LN2110">2110</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2111"><td class="num" id="LN2111">2111</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2112"><td class="num" id="LN2112">2112</td><td class="line"> <span class='keyword'>if</span> (close_now) {</td></tr>
+<tr class="codeline" data-linenumber="2113"><td class="num" id="LN2113">2113</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;hide_progress_timeout != 0) {</td></tr>
+<tr class="codeline" data-linenumber="2114"><td class="num" id="LN2114">2114</td><td class="line"> g_source_remove (window-&gt;priv-&gt;hide_progress_timeout);</td></tr>
+<tr class="codeline" data-linenumber="2115"><td class="num" id="LN2115">2115</td><td class="line"> window-&gt;priv-&gt;hide_progress_timeout = 0;</td></tr>
+<tr class="codeline" data-linenumber="2116"><td class="num" id="LN2116">2116</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2117"><td class="num" id="LN2117">2117</td><td class="line"> real_close_progress_dialog (window);</td></tr>
+<tr class="codeline" data-linenumber="2118"><td class="num" id="LN2118">2118</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2119"><td class="num" id="LN2119">2119</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="2120"><td class="num" id="LN2120">2120</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;hide_progress_timeout != 0)</td></tr>
+<tr class="codeline" data-linenumber="2121"><td class="num" id="LN2121">2121</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2122"><td class="num" id="LN2122">2122</td><td class="line"> window-&gt;priv-&gt;hide_progress_timeout = g_timeout_add (<span class='macro'>HIDE_PROGRESS_TIMEOUT_MSECS<span class='macro_popup'>500</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2123"><td class="num" id="LN2123">2123</td><td class="line"> real_close_progress_dialog,</td></tr>
+<tr class="codeline" data-linenumber="2124"><td class="num" id="LN2124">2124</td><td class="line"> window);</td></tr>
+<tr class="codeline" data-linenumber="2125"><td class="num" id="LN2125">2125</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2126"><td class="num" id="LN2126">2126</td><td class="line"> close_suspend_process(window);</td></tr>
+<tr class="codeline" data-linenumber="2127"><td class="num" id="LN2127">2127</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2128"><td class="num" id="LN2128">2128</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2129"><td class="num" id="LN2129">2129</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="2130"><td class="num" id="LN2130">2130</td><td class="line">progress_dialog_delete_event (GtkWidget *caller,</td></tr>
+<tr class="codeline" data-linenumber="2131"><td class="num" id="LN2131">2131</td><td class="line"> GdkEvent *event,</td></tr>
+<tr class="codeline" data-linenumber="2132"><td class="num" id="LN2132">2132</td><td class="line"> FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2133"><td class="num" id="LN2133">2133</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2134"><td class="num" id="LN2134">2134</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;stoppable) {</td></tr>
+<tr class="codeline" data-linenumber="2135"><td class="num" id="LN2135">2135</td><td class="line"> activate_action_stop (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, window);</td></tr>
+<tr class="codeline" data-linenumber="2136"><td class="num" id="LN2136">2136</td><td class="line"> close_progress_dialog (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2137"><td class="num" id="LN2137">2137</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2138"><td class="num" id="LN2138">2138</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2139"><td class="num" id="LN2139">2139</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2140"><td class="num" id="LN2140">2140</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2141"><td class="num" id="LN2141">2141</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2142"><td class="num" id="LN2142">2142</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2143"><td class="num" id="LN2143">2143</td><td class="line">open_folder (GtkWindow *parent,</td></tr>
+<tr class="codeline" data-linenumber="2144"><td class="num" id="LN2144">2144</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *folder)</td></tr>
+<tr class="codeline" data-linenumber="2145"><td class="num" id="LN2145">2145</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2146"><td class="num" id="LN2146">2146</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2147"><td class="num" id="LN2147">2147</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2148"><td class="num" id="LN2148">2148</td><td class="line"> <span class='keyword'>if</span> (folder == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2149"><td class="num" id="LN2149">2149</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2150"><td class="num" id="LN2150">2150</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2151"><td class="num" id="LN2151">2151</td><td class="line"> <span class='keyword'>if</span> (! gtk_show_uri_on_window (parent, folder, <span class='macro'>GDK_CURRENT_TIME<span class='macro_popup'>0L</span></span>, &amp;error)) {</td></tr>
+<tr class="codeline" data-linenumber="2152"><td class="num" id="LN2152">2152</td><td class="line"> GtkWidget *d;</td></tr>
+<tr class="codeline" data-linenumber="2153"><td class="num" id="LN2153">2153</td><td class="line"> <span class='keyword'>char</span> *utf8_name;</td></tr>
+<tr class="codeline" data-linenumber="2154"><td class="num" id="LN2154">2154</td><td class="line"> <span class='keyword'>char</span> *message;</td></tr>
+<tr class="codeline" data-linenumber="2155"><td class="num" id="LN2155">2155</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2156"><td class="num" id="LN2156">2156</td><td class="line"> utf8_name = g_filename_display_name (folder);</td></tr>
+<tr class="codeline" data-linenumber="2157"><td class="num" id="LN2157">2157</td><td class="line"> message = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Could not display the folder \"%s\""</span>)<span class='macro_popup'>gettext ("Could not display the folder \"%s\"")</span></span>, utf8_name);</td></tr>
+<tr class="codeline" data-linenumber="2158"><td class="num" id="LN2158">2158</td><td class="line"> g_free (utf8_name);</td></tr>
+<tr class="codeline" data-linenumber="2159"><td class="num" id="LN2159">2159</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2160"><td class="num" id="LN2160">2160</td><td class="line"> d = _gtk_error_dialog_new (parent,</td></tr>
+<tr class="codeline" data-linenumber="2161"><td class="num" id="LN2161">2161</td><td class="line"> GTK_DIALOG_MODAL,</td></tr>
+<tr class="codeline" data-linenumber="2162"><td class="num" id="LN2162">2162</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2163"><td class="num" id="LN2163">2163</td><td class="line"> message,</td></tr>
+<tr class="codeline" data-linenumber="2164"><td class="num" id="LN2164">2164</td><td class="line"> <span class='string_literal'>"%s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="2165"><td class="num" id="LN2165">2165</td><td class="line"> error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="2166"><td class="num" id="LN2166">2166</td><td class="line"> gtk_dialog_run (<span class='macro'>GTK_DIALOG (d)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_dialog_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2167"><td class="num" id="LN2167">2167</td><td class="line"> gtk_widget_destroy (d);</td></tr>
+<tr class="codeline" data-linenumber="2168"><td class="num" id="LN2168">2168</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2169"><td class="num" id="LN2169">2169</td><td class="line"> g_free (message);</td></tr>
+<tr class="codeline" data-linenumber="2170"><td class="num" id="LN2170">2170</td><td class="line"> g_clear_error (&amp;error);</td></tr>
+<tr class="codeline" data-linenumber="2171"><td class="num" id="LN2171">2171</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2172"><td class="num" id="LN2172">2172</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2173"><td class="num" id="LN2173">2173</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2174"><td class="num" id="LN2174">2174</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2175"><td class="num" id="LN2175">2175</td><td class="line">fr_window_view_extraction_destination_folder (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2176"><td class="num" id="LN2176">2176</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2177"><td class="num" id="LN2177">2177</td><td class="line"> open_folder (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>, fr_archive_get_last_extraction_destination (window-&gt;archive));</td></tr>
+<tr class="codeline" data-linenumber="2178"><td class="num" id="LN2178">2178</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2179"><td class="num" id="LN2179">2179</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2180"><td class="num" id="LN2180">2180</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> change_button_label (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="2181"><td class="num" id="LN2181">2181</td><td class="line"> GtkWidget *button)</td></tr>
+<tr class="codeline" data-linenumber="2182"><td class="num" id="LN2182">2182</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2183"><td class="num" id="LN2183">2183</td><td class="line"> <span class='keyword'>const</span> gchar *state;</td></tr>
+<tr class="codeline" data-linenumber="2184"><td class="num" id="LN2184">2184</td><td class="line"> state = gtk_button_get_label (<span class='macro'>GTK_BUTTON (button)<span class='macro_popup'>((((GtkButton*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((button)), ((gtk_button_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2185"><td class="num" id="LN2185">2185</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2186"><td class="num" id="LN2186">2186</td><td class="line"> <span class='keyword'>if</span> (g_strrstr (<span class='macro'>_(<span class='string_literal'>"_Pause"</span>)<span class='macro_popup'>gettext ("_Pause")</span></span>, state) != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2187"><td class="num" id="LN2187">2187</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="2188"><td class="num" id="LN2188">2188</td><td class="line"> gtk_widget_set_visible (window-&gt;priv-&gt;pd_progress_bar, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2189"><td class="num" id="LN2189">2189</td><td class="line"> fr_command_message (window-&gt;archive-&gt;command, <span class='macro'>_(<span class='string_literal'>"Process paused"</span>)<span class='macro_popup'>gettext ("Process paused")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2190"><td class="num" id="LN2190">2190</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2191"><td class="num" id="LN2191">2191</td><td class="line"> gtk_button_set_label (<span class='macro'>GTK_BUTTON (button)<span class='macro_popup'>((((GtkButton*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((button)), ((gtk_button_get_type ()))))))</span></span>, <span class='macro'>_(<span class='string_literal'>"_Resume"</span>)<span class='macro_popup'>gettext ("_Resume")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2192"><td class="num" id="LN2192">2192</td><td class="line"> gtk_button_set_image (<span class='macro'>GTK_BUTTON (button)<span class='macro_popup'>((((GtkButton*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((button)), ((gtk_button_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2193"><td class="num" id="LN2193">2193</td><td class="line"> gtk_image_new_from_icon_name (<span class='string_literal'>"media-playback-start"</span>,</td></tr>
+<tr class="codeline" data-linenumber="2194"><td class="num" id="LN2194">2194</td><td class="line"> GTK_ICON_SIZE_BUTTON));</td></tr>
+<tr class="codeline" data-linenumber="2195"><td class="num" id="LN2195">2195</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2196"><td class="num" id="LN2196">2196</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="2197"><td class="num" id="LN2197">2197</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="2198"><td class="num" id="LN2198">2198</td><td class="line"> gtk_widget_set_visible (window-&gt;priv-&gt;pd_progress_bar, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2199"><td class="num" id="LN2199">2199</td><td class="line"> fr_command_message (window-&gt;archive-&gt;command, <span class='macro'>_(<span class='string_literal'>"Please wait…"</span>)<span class='macro_popup'>gettext ("Please wait…")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2200"><td class="num" id="LN2200">2200</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2201"><td class="num" id="LN2201">2201</td><td class="line"> gtk_button_set_label (<span class='macro'>GTK_BUTTON(button)<span class='macro_popup'>((((GtkButton*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((button)), ((gtk_button_get_type ()))))))</span></span>, <span class='macro'>_(<span class='string_literal'>"_Pause"</span>)<span class='macro_popup'>gettext ("_Pause")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2202"><td class="num" id="LN2202">2202</td><td class="line"> gtk_button_set_image (<span class='macro'>GTK_BUTTON (button)<span class='macro_popup'>((((GtkButton*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((button)), ((gtk_button_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2203"><td class="num" id="LN2203">2203</td><td class="line"> gtk_image_new_from_icon_name (<span class='string_literal'>"media-playback-pause"</span>,</td></tr>
+<tr class="codeline" data-linenumber="2204"><td class="num" id="LN2204">2204</td><td class="line"> GTK_ICON_SIZE_BUTTON));</td></tr>
+<tr class="codeline" data-linenumber="2205"><td class="num" id="LN2205">2205</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2206"><td class="num" id="LN2206">2206</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2207"><td class="num" id="LN2207">2207</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2208"><td class="num" id="LN2208">2208</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2209"><td class="num" id="LN2209">2209</td><td class="line">fr_state_switch (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2210"><td class="num" id="LN2210">2210</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2211"><td class="num" id="LN2211">2211</td><td class="line"> <span class='keyword'>if</span> ((window-&gt;archive-&gt;process != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="2212"><td class="num" id="LN2212">2212</td><td class="line"> ((start_switch_state (window-&gt;archive-&gt;process) == 0))) {</td></tr>
+<tr class="codeline" data-linenumber="2213"><td class="num" id="LN2213">2213</td><td class="line"> change_button_label (window, window-&gt;priv-&gt;pd_state_button);</td></tr>
+<tr class="codeline" data-linenumber="2214"><td class="num" id="LN2214">2214</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2215"><td class="num" id="LN2215">2215</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2216"><td class="num" id="LN2216">2216</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2217"><td class="num" id="LN2217">2217</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2218"><td class="num" id="LN2218">2218</td><td class="line">progress_dialog_response (GtkDialog *dialog,</td></tr>
+<tr class="codeline" data-linenumber="2219"><td class="num" id="LN2219">2219</td><td class="line"> <span class='keyword'>int</span> response_id,</td></tr>
+<tr class="codeline" data-linenumber="2220"><td class="num" id="LN2220">2220</td><td class="line"> FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2221"><td class="num" id="LN2221">2221</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2222"><td class="num" id="LN2222">2222</td><td class="line"> GtkWidget *new_window;</td></tr>
+<tr class="codeline" data-linenumber="2223"><td class="num" id="LN2223">2223</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2224"><td class="num" id="LN2224">2224</td><td class="line"> <span class='keyword'>switch</span> (response_id) {</td></tr>
+<tr class="codeline" data-linenumber="2225"><td class="num" id="LN2225">2225</td><td class="line"> <span class='keyword'>case</span> GTK_RESPONSE_CANCEL:</td></tr>
+<tr class="codeline" data-linenumber="2226"><td class="num" id="LN2226">2226</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;stoppable) {</td></tr>
+<tr class="codeline" data-linenumber="2227"><td class="num" id="LN2227">2227</td><td class="line"> activate_action_stop (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, window);</td></tr>
+<tr class="codeline" data-linenumber="2228"><td class="num" id="LN2228">2228</td><td class="line"> close_progress_dialog (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2229"><td class="num" id="LN2229">2229</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2230"><td class="num" id="LN2230">2230</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2231"><td class="num" id="LN2231">2231</td><td class="line"> <span class='keyword'>case</span> GTK_RESPONSE_CLOSE:</td></tr>
+<tr class="codeline" data-linenumber="2232"><td class="num" id="LN2232">2232</td><td class="line"> close_progress_dialog (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2233"><td class="num" id="LN2233">2233</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2234"><td class="num" id="LN2234">2234</td><td class="line"> <span class='keyword'>case</span> DIALOG_RESPONSE_OPEN_ARCHIVE:</td></tr>
+<tr class="codeline" data-linenumber="2235"><td class="num" id="LN2235">2235</td><td class="line"> new_window = fr_window_new ();</td></tr>
+<tr class="codeline" data-linenumber="2236"><td class="num" id="LN2236">2236</td><td class="line"> gtk_widget_show (new_window);</td></tr>
+<tr class="codeline" data-linenumber="2237"><td class="num" id="LN2237">2237</td><td class="line"> fr_window_archive_open (<span class='macro'>FR_WINDOW (new_window)<span class='macro_popup'>((((FrWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((new_window)), ((fr_window_get_type ()))))))</span></span>, window-&gt;priv-&gt;convert_data.new_file, <span class='macro'>GTK_WINDOW (new_window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((new_window)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2238"><td class="num" id="LN2238">2238</td><td class="line"> close_progress_dialog (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2239"><td class="num" id="LN2239">2239</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2240"><td class="num" id="LN2240">2240</td><td class="line"> <span class='keyword'>case</span> DIALOG_RESPONSE_OPEN_DESTINATION_FOLDER:</td></tr>
+<tr class="codeline" data-linenumber="2241"><td class="num" id="LN2241">2241</td><td class="line"> fr_window_view_extraction_destination_folder (window);</td></tr>
+<tr class="codeline" data-linenumber="2242"><td class="num" id="LN2242">2242</td><td class="line"> close_progress_dialog (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2243"><td class="num" id="LN2243">2243</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2244"><td class="num" id="LN2244">2244</td><td class="line"> <span class='keyword'>case</span> DIALOG_RESPONSE_OPEN_DESTINATION_FOLDER_AND_QUIT:</td></tr>
+<tr class="codeline" data-linenumber="2245"><td class="num" id="LN2245">2245</td><td class="line"> fr_window_view_extraction_destination_folder (window);</td></tr>
+<tr class="codeline" data-linenumber="2246"><td class="num" id="LN2246">2246</td><td class="line"> close_progress_dialog (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2247"><td class="num" id="LN2247">2247</td><td class="line"> fr_window_close (window);</td></tr>
+<tr class="codeline" data-linenumber="2248"><td class="num" id="LN2248">2248</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2249"><td class="num" id="LN2249">2249</td><td class="line"> <span class='keyword'>case</span> DIALOG_RESPONSE_QUIT:</td></tr>
+<tr class="codeline" data-linenumber="2250"><td class="num" id="LN2250">2250</td><td class="line"> fr_window_close (window);</td></tr>
+<tr class="codeline" data-linenumber="2251"><td class="num" id="LN2251">2251</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2252"><td class="num" id="LN2252">2252</td><td class="line"> <span class='keyword'>case</span> GTK_RESPONSE_ACCEPT:</td></tr>
+<tr class="codeline" data-linenumber="2253"><td class="num" id="LN2253">2253</td><td class="line"> fr_state_switch (window);</td></tr>
+<tr class="codeline" data-linenumber="2254"><td class="num" id="LN2254">2254</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2255"><td class="num" id="LN2255">2255</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="2256"><td class="num" id="LN2256">2256</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2257"><td class="num" id="LN2257">2257</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2258"><td class="num" id="LN2258">2258</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2259"><td class="num" id="LN2259">2259</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2260"><td class="num" id="LN2260">2260</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>char</span>*</td></tr>
+<tr class="codeline" data-linenumber="2261"><td class="num" id="LN2261">2261</td><td class="line">get_action_description (FrAction action,</td></tr>
+<tr class="codeline" data-linenumber="2262"><td class="num" id="LN2262">2262</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *uri)</td></tr>
+<tr class="codeline" data-linenumber="2263"><td class="num" id="LN2263">2263</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2264"><td class="num" id="LN2264">2264</td><td class="line"> <span class='keyword'>char</span> *basename;</td></tr>
+<tr class="codeline" data-linenumber="2265"><td class="num" id="LN2265">2265</td><td class="line"> <span class='keyword'>char</span> *message;</td></tr>
+<tr class="codeline" data-linenumber="2266"><td class="num" id="LN2266">2266</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2267"><td class="num" id="LN2267">2267</td><td class="line"> basename = (uri != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) ? g_uri_display_basename (uri) : <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2268"><td class="num" id="LN2268">2268</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2269"><td class="num" id="LN2269">2269</td><td class="line"> message = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2270"><td class="num" id="LN2270">2270</td><td class="line"> <span class='keyword'>switch</span> (action) {</td></tr>
+<tr class="codeline" data-linenumber="2271"><td class="num" id="LN2271">2271</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_CREATING_NEW_ARCHIVE:</td></tr>
+<tr class="codeline" data-linenumber="2272"><td class="num" id="LN2272">2272</td><td class="line"> <span class='comment'>/* Translators: %s is a filename */</span></td></tr>
+<tr class="codeline" data-linenumber="2273"><td class="num" id="LN2273">2273</td><td class="line"> message = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Creating \"%s\""</span>)<span class='macro_popup'>gettext ("Creating \"%s\"")</span></span>, basename);</td></tr>
+<tr class="codeline" data-linenumber="2274"><td class="num" id="LN2274">2274</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2275"><td class="num" id="LN2275">2275</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_LOADING_ARCHIVE:</td></tr>
+<tr class="codeline" data-linenumber="2276"><td class="num" id="LN2276">2276</td><td class="line"> <span class='comment'>/* Translators: %s is a filename */</span></td></tr>
+<tr class="codeline" data-linenumber="2277"><td class="num" id="LN2277">2277</td><td class="line"> message = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Loading \"%s\""</span>)<span class='macro_popup'>gettext ("Loading \"%s\"")</span></span>, basename);</td></tr>
+<tr class="codeline" data-linenumber="2278"><td class="num" id="LN2278">2278</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2279"><td class="num" id="LN2279">2279</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_LISTING_CONTENT:</td></tr>
+<tr class="codeline" data-linenumber="2280"><td class="num" id="LN2280">2280</td><td class="line"> <span class='comment'>/* Translators: %s is a filename */</span></td></tr>
+<tr class="codeline" data-linenumber="2281"><td class="num" id="LN2281">2281</td><td class="line"> message = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Reading \"%s\""</span>)<span class='macro_popup'>gettext ("Reading \"%s\"")</span></span>, basename);</td></tr>
+<tr class="codeline" data-linenumber="2282"><td class="num" id="LN2282">2282</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2283"><td class="num" id="LN2283">2283</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_DELETING_FILES:</td></tr>
+<tr class="codeline" data-linenumber="2284"><td class="num" id="LN2284">2284</td><td class="line"> <span class='comment'>/* Translators: %s is a filename */</span></td></tr>
+<tr class="codeline" data-linenumber="2285"><td class="num" id="LN2285">2285</td><td class="line"> message = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Deleting files from \"%s\""</span>)<span class='macro_popup'>gettext ("Deleting files from \"%s\"")</span></span>, basename);</td></tr>
+<tr class="codeline" data-linenumber="2286"><td class="num" id="LN2286">2286</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2287"><td class="num" id="LN2287">2287</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_TESTING_ARCHIVE:</td></tr>
+<tr class="codeline" data-linenumber="2288"><td class="num" id="LN2288">2288</td><td class="line"> <span class='comment'>/* Translators: %s is a filename */</span></td></tr>
+<tr class="codeline" data-linenumber="2289"><td class="num" id="LN2289">2289</td><td class="line"> message = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Testing \"%s\""</span>)<span class='macro_popup'>gettext ("Testing \"%s\"")</span></span>, basename);</td></tr>
+<tr class="codeline" data-linenumber="2290"><td class="num" id="LN2290">2290</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2291"><td class="num" id="LN2291">2291</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_GETTING_FILE_LIST:</td></tr>
+<tr class="codeline" data-linenumber="2292"><td class="num" id="LN2292">2292</td><td class="line"> message = <span class='macro'>g_strdup (_(<span class='string_literal'>"Getting the file list"</span>))<span class='macro_popup'>g_strdup_inline (gettext ("Getting the file list"))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2293"><td class="num" id="LN2293">2293</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2294"><td class="num" id="LN2294">2294</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_COPYING_FILES_FROM_REMOTE:</td></tr>
+<tr class="codeline" data-linenumber="2295"><td class="num" id="LN2295">2295</td><td class="line"> <span class='comment'>/* Translators: %s is a filename */</span></td></tr>
+<tr class="codeline" data-linenumber="2296"><td class="num" id="LN2296">2296</td><td class="line"> message = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Copying the files to add to \"%s\""</span>)<span class='macro_popup'>gettext ("Copying the files to add to \"%s\"")</span></span>, basename);</td></tr>
+<tr class="codeline" data-linenumber="2297"><td class="num" id="LN2297">2297</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2298"><td class="num" id="LN2298">2298</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_ADDING_FILES:</td></tr>
+<tr class="codeline" data-linenumber="2299"><td class="num" id="LN2299">2299</td><td class="line"> <span class='comment'>/* Translators: %s is a filename */</span></td></tr>
+<tr class="codeline" data-linenumber="2300"><td class="num" id="LN2300">2300</td><td class="line"> message = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Adding files to \"%s\""</span>)<span class='macro_popup'>gettext ("Adding files to \"%s\"")</span></span>, basename);</td></tr>
+<tr class="codeline" data-linenumber="2301"><td class="num" id="LN2301">2301</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2302"><td class="num" id="LN2302">2302</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_EXTRACTING_FILES:</td></tr>
+<tr class="codeline" data-linenumber="2303"><td class="num" id="LN2303">2303</td><td class="line"> <span class='comment'>/* Translators: %s is a filename */</span></td></tr>
+<tr class="codeline" data-linenumber="2304"><td class="num" id="LN2304">2304</td><td class="line"> message = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Extracting files from \"%s\""</span>)<span class='macro_popup'>gettext ("Extracting files from \"%s\"")</span></span>, basename);</td></tr>
+<tr class="codeline" data-linenumber="2305"><td class="num" id="LN2305">2305</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2306"><td class="num" id="LN2306">2306</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_COPYING_FILES_TO_REMOTE:</td></tr>
+<tr class="codeline" data-linenumber="2307"><td class="num" id="LN2307">2307</td><td class="line"> message = <span class='macro'>g_strdup (_(<span class='string_literal'>"Copying the extracted files to the destination"</span>))<span class='macro_popup'>g_strdup_inline (gettext ("Copying the extracted files to the destination"<br>))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2308"><td class="num" id="LN2308">2308</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2309"><td class="num" id="LN2309">2309</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_CREATING_ARCHIVE:</td></tr>
+<tr class="codeline" data-linenumber="2310"><td class="num" id="LN2310">2310</td><td class="line"> <span class='comment'>/* Translators: %s is a filename */</span></td></tr>
+<tr class="codeline" data-linenumber="2311"><td class="num" id="LN2311">2311</td><td class="line"> message = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Creating \"%s\""</span>)<span class='macro_popup'>gettext ("Creating \"%s\"")</span></span>, basename);</td></tr>
+<tr class="codeline" data-linenumber="2312"><td class="num" id="LN2312">2312</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2313"><td class="num" id="LN2313">2313</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_SAVING_REMOTE_ARCHIVE:</td></tr>
+<tr class="codeline" data-linenumber="2314"><td class="num" id="LN2314">2314</td><td class="line"> <span class='comment'>/* Translators: %s is a filename */</span></td></tr>
+<tr class="codeline" data-linenumber="2315"><td class="num" id="LN2315">2315</td><td class="line"> message = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Saving \"%s\""</span>)<span class='macro_popup'>gettext ("Saving \"%s\"")</span></span>, basename);</td></tr>
+<tr class="codeline" data-linenumber="2316"><td class="num" id="LN2316">2316</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2317"><td class="num" id="LN2317">2317</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_NONE:</td></tr>
+<tr class="codeline" data-linenumber="2318"><td class="num" id="LN2318">2318</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2319"><td class="num" id="LN2319">2319</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2320"><td class="num" id="LN2320">2320</td><td class="line"> g_free (basename);</td></tr>
+<tr class="codeline" data-linenumber="2321"><td class="num" id="LN2321">2321</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2322"><td class="num" id="LN2322">2322</td><td class="line"> <span class='keyword'>return</span> message;</td></tr>
+<tr class="codeline" data-linenumber="2323"><td class="num" id="LN2323">2323</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2324"><td class="num" id="LN2324">2324</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2325"><td class="num" id="LN2325">2325</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2326"><td class="num" id="LN2326">2326</td><td class="line">progress_dialog_update_action_description (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2327"><td class="num" id="LN2327">2327</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2328"><td class="num" id="LN2328">2328</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *current_archive;</td></tr>
+<tr class="codeline" data-linenumber="2329"><td class="num" id="LN2329">2329</td><td class="line"> <span class='keyword'>char</span> *description;</td></tr>
+<tr class="codeline" data-linenumber="2330"><td class="num" id="LN2330">2330</td><td class="line"> <span class='keyword'>char</span> *description_markup;</td></tr>
+<tr class="codeline" data-linenumber="2331"><td class="num" id="LN2331">2331</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2332"><td class="num" id="LN2332">2332</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_dialog == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2333"><td class="num" id="LN2333">2333</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2334"><td class="num" id="LN2334">2334</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2335"><td class="num" id="LN2335">2335</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;convert_data.converting)</td></tr>
+<tr class="codeline" data-linenumber="2336"><td class="num" id="LN2336">2336</td><td class="line"> current_archive = window-&gt;priv-&gt;convert_data.new_file;</td></tr>
+<tr class="codeline" data-linenumber="2337"><td class="num" id="LN2337">2337</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (window-&gt;priv-&gt;working_archive != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2338"><td class="num" id="LN2338">2338</td><td class="line"> current_archive = window-&gt;priv-&gt;working_archive;</td></tr>
+<tr class="codeline" data-linenumber="2339"><td class="num" id="LN2339">2339</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="2340"><td class="num" id="LN2340">2340</td><td class="line"> current_archive = window-&gt;priv-&gt;archive_uri;</td></tr>
+<tr class="codeline" data-linenumber="2341"><td class="num" id="LN2341">2341</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2342"><td class="num" id="LN2342">2342</td><td class="line"> g_free (window-&gt;priv-&gt;pd_last_archive);</td></tr>
+<tr class="codeline" data-linenumber="2343"><td class="num" id="LN2343">2343</td><td class="line"> window-&gt;priv-&gt;pd_last_archive = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2344"><td class="num" id="LN2344">2344</td><td class="line"> <span class='keyword'>if</span> (current_archive != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2345"><td class="num" id="LN2345">2345</td><td class="line"> window-&gt;priv-&gt;pd_last_archive = <span class='macro'>g_strdup (current_archive)<span class='macro_popup'>g_strdup_inline (current_archive)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2346"><td class="num" id="LN2346">2346</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2347"><td class="num" id="LN2347">2347</td><td class="line"> description = get_action_description (window-&gt;priv-&gt;action, window-&gt;priv-&gt;pd_last_archive);</td></tr>
+<tr class="codeline" data-linenumber="2348"><td class="num" id="LN2348">2348</td><td class="line"> description_markup = g_markup_printf_escaped (<span class='string_literal'>"&lt;span weight=\"bold\" size=\"larger\"&gt;%s&lt;/span&gt;"</span>, description);</td></tr>
+<tr class="codeline" data-linenumber="2349"><td class="num" id="LN2349">2349</td><td class="line"> gtk_label_set_markup (<span class='macro'>GTK_LABEL (window-&gt;priv-&gt;pd_action)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;pd_action)), ((gtk_label_get_type ()<br>))))))</span></span>, description_markup);</td></tr>
+<tr class="codeline" data-linenumber="2350"><td class="num" id="LN2350">2350</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2351"><td class="num" id="LN2351">2351</td><td class="line"> g_free (description_markup);</td></tr>
+<tr class="codeline" data-linenumber="2352"><td class="num" id="LN2352">2352</td><td class="line"> g_free (description);</td></tr>
+<tr class="codeline" data-linenumber="2353"><td class="num" id="LN2353">2353</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2354"><td class="num" id="LN2354">2354</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2355"><td class="num" id="LN2355">2355</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="2356"><td class="num" id="LN2356">2356</td><td class="line">fr_window_working_archive_cb (FrCommand *command,</td></tr>
+<tr class="codeline" data-linenumber="2357"><td class="num" id="LN2357">2357</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *archive_filename,</td></tr>
+<tr class="codeline" data-linenumber="2358"><td class="num" id="LN2358">2358</td><td class="line"> FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2359"><td class="num" id="LN2359">2359</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2360"><td class="num" id="LN2360">2360</td><td class="line"> g_free (window-&gt;priv-&gt;working_archive);</td></tr>
+<tr class="codeline" data-linenumber="2361"><td class="num" id="LN2361">2361</td><td class="line"> <span class='keyword'>if</span> (archive_filename != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2362"><td class="num" id="LN2362">2362</td><td class="line"> window-&gt;priv-&gt;working_archive = <span class='macro'>g_strdup (archive_filename)<span class='macro_popup'>g_strdup_inline (archive_filename)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2363"><td class="num" id="LN2363">2363</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="2364"><td class="num" id="LN2364">2364</td><td class="line"> window-&gt;priv-&gt;working_archive = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2365"><td class="num" id="LN2365">2365</td><td class="line"> progress_dialog_update_action_description (window);</td></tr>
+<tr class="codeline" data-linenumber="2366"><td class="num" id="LN2366">2366</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2367"><td class="num" id="LN2367">2367</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2368"><td class="num" id="LN2368">2368</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2369"><td class="num" id="LN2369">2369</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2370"><td class="num" id="LN2370">2370</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="2371"><td class="num" id="LN2371">2371</td><td class="line">fr_window_message_cb (FrCommand *command,</td></tr>
+<tr class="codeline" data-linenumber="2372"><td class="num" id="LN2372">2372</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *msg,</td></tr>
+<tr class="codeline" data-linenumber="2373"><td class="num" id="LN2373">2373</td><td class="line"> FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2374"><td class="num" id="LN2374">2374</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2375"><td class="num" id="LN2375">2375</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;pd_last_message != msg) {</td></tr>
+<tr class="codeline" data-linenumber="2376"><td class="num" id="LN2376">2376</td><td class="line"> g_free (window-&gt;priv-&gt;pd_last_message);</td></tr>
+<tr class="codeline" data-linenumber="2377"><td class="num" id="LN2377">2377</td><td class="line"> window-&gt;priv-&gt;pd_last_message = <span class='macro'>g_strdup (msg)<span class='macro_popup'>g_strdup_inline (msg)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2378"><td class="num" id="LN2378">2378</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2379"><td class="num" id="LN2379">2379</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2380"><td class="num" id="LN2380">2380</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_dialog == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2381"><td class="num" id="LN2381">2381</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2382"><td class="num" id="LN2382">2382</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2383"><td class="num" id="LN2383">2383</td><td class="line"> <span class='keyword'>if</span> (msg != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="2384"><td class="num" id="LN2384">2384</td><td class="line"> <span class='keyword'>while</span> (*msg == ' ')</td></tr>
+<tr class="codeline" data-linenumber="2385"><td class="num" id="LN2385">2385</td><td class="line"> msg++;</td></tr>
+<tr class="codeline" data-linenumber="2386"><td class="num" id="LN2386">2386</td><td class="line"> <span class='keyword'>if</span> (*msg == 0)</td></tr>
+<tr class="codeline" data-linenumber="2387"><td class="num" id="LN2387">2387</td><td class="line"> msg = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2388"><td class="num" id="LN2388">2388</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2389"><td class="num" id="LN2389">2389</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2390"><td class="num" id="LN2390">2390</td><td class="line"> <span class='keyword'>if</span> (msg != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="2391"><td class="num" id="LN2391">2391</td><td class="line"> <span class='keyword'>char</span> *utf8_msg;</td></tr>
+<tr class="codeline" data-linenumber="2392"><td class="num" id="LN2392">2392</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2393"><td class="num" id="LN2393">2393</td><td class="line"> <span class='keyword'>if</span> (! g_utf8_validate (msg, -1, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="2394"><td class="num" id="LN2394">2394</td><td class="line"> utf8_msg = g_locale_to_utf8 (msg, -1 , 0, 0, 0);</td></tr>
+<tr class="codeline" data-linenumber="2395"><td class="num" id="LN2395">2395</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="2396"><td class="num" id="LN2396">2396</td><td class="line"> utf8_msg = <span class='macro'>g_strdup (msg)<span class='macro_popup'>g_strdup_inline (msg)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2397"><td class="num" id="LN2397">2397</td><td class="line"> <span class='keyword'>if</span> (utf8_msg == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2398"><td class="num" id="LN2398">2398</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2399"><td class="num" id="LN2399">2399</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2400"><td class="num" id="LN2400">2400</td><td class="line"> <span class='keyword'>if</span> (g_utf8_validate (utf8_msg, -1, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="2401"><td class="num" id="LN2401">2401</td><td class="line"> gtk_label_set_text (<span class='macro'>GTK_LABEL (window-&gt;priv-&gt;pd_message)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;pd_message)), ((gtk_label_get_type (<br>)))))))</span></span>, utf8_msg);</td></tr>
+<tr class="codeline" data-linenumber="2402"><td class="num" id="LN2402">2402</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2403"><td class="num" id="LN2403">2403</td><td class="line"> g_free (window-&gt;priv-&gt;pd_last_message);</td></tr>
+<tr class="codeline" data-linenumber="2404"><td class="num" id="LN2404">2404</td><td class="line"> window-&gt;priv-&gt;pd_last_message = <span class='macro'>g_strdup (utf8_msg)<span class='macro_popup'>g_strdup_inline (utf8_msg)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2405"><td class="num" id="LN2405">2405</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2406"><td class="num" id="LN2406">2406</td><td class="line"> g_signal_emit (<span class='macro'>G_OBJECT (window)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2407"><td class="num" id="LN2407">2407</td><td class="line"> fr_window_signals[PROGRESS],</td></tr>
+<tr class="codeline" data-linenumber="2408"><td class="num" id="LN2408">2408</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="2409"><td class="num" id="LN2409">2409</td><td class="line"> window-&gt;priv-&gt;pd_last_fraction,</td></tr>
+<tr class="codeline" data-linenumber="2410"><td class="num" id="LN2410">2410</td><td class="line"> window-&gt;priv-&gt;pd_last_message);</td></tr>
+<tr class="codeline" data-linenumber="2411"><td class="num" id="LN2411">2411</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2412"><td class="num" id="LN2412">2412</td><td class="line"><span class='directive'>#ifdef LOG_PROGRESS</span></td></tr>
+<tr class="codeline" data-linenumber="2413"><td class="num" id="LN2413">2413</td><td class="line"> g_print (<span class='string_literal'>"message &gt; %s\n"</span>, utf8_msg);</td></tr>
+<tr class="codeline" data-linenumber="2414"><td class="num" id="LN2414">2414</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="2415"><td class="num" id="LN2415">2415</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2416"><td class="num" id="LN2416">2416</td><td class="line"> g_free (utf8_msg);</td></tr>
+<tr class="codeline" data-linenumber="2417"><td class="num" id="LN2417">2417</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2418"><td class="num" id="LN2418">2418</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="2419"><td class="num" id="LN2419">2419</td><td class="line"> gtk_label_set_text (<span class='macro'>GTK_LABEL (window-&gt;priv-&gt;pd_message)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;pd_message)), ((gtk_label_get_type (<br>)))))))</span></span>, <span class='string_literal'>""</span>);</td></tr>
+<tr class="codeline" data-linenumber="2420"><td class="num" id="LN2420">2420</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2421"><td class="num" id="LN2421">2421</td><td class="line"> progress_dialog_update_action_description (window);</td></tr>
+<tr class="codeline" data-linenumber="2422"><td class="num" id="LN2422">2422</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2423"><td class="num" id="LN2423">2423</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2424"><td class="num" id="LN2424">2424</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2425"><td class="num" id="LN2425">2425</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2426"><td class="num" id="LN2426">2426</td><td class="line"><span class='keyword'>static</span> GtkWidget*</td></tr>
+<tr class="codeline" data-linenumber="2427"><td class="num" id="LN2427">2427</td><td class="line">dialog_add_button_with_icon_name (GtkDialog *dialog,</td></tr>
+<tr class="codeline" data-linenumber="2428"><td class="num" id="LN2428">2428</td><td class="line"> <span class='keyword'>const</span> gchar *button_text,</td></tr>
+<tr class="codeline" data-linenumber="2429"><td class="num" id="LN2429">2429</td><td class="line"> <span class='keyword'>const</span> gchar *icon_name,</td></tr>
+<tr class="codeline" data-linenumber="2430"><td class="num" id="LN2430">2430</td><td class="line"> gint response_id)</td></tr>
+<tr class="codeline" data-linenumber="2431"><td class="num" id="LN2431">2431</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2432"><td class="num" id="LN2432">2432</td><td class="line"> GtkWidget *button;</td></tr>
+<tr class="codeline" data-linenumber="2433"><td class="num" id="LN2433">2433</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2434"><td class="num" id="LN2434">2434</td><td class="line"> button = gtk_button_new_with_mnemonic (button_text);</td></tr>
+<tr class="codeline" data-linenumber="2435"><td class="num" id="LN2435">2435</td><td class="line"> gtk_button_set_image (<span class='macro'>GTK_BUTTON (button)<span class='macro_popup'>((((GtkButton*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((button)), ((gtk_button_get_type ()))))))</span></span>, gtk_image_new_from_icon_name (icon_name, GTK_ICON_SIZE_BUTTON));</td></tr>
+<tr class="codeline" data-linenumber="2436"><td class="num" id="LN2436">2436</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2437"><td class="num" id="LN2437">2437</td><td class="line"> gtk_button_set_use_underline (<span class='macro'>GTK_BUTTON (button)<span class='macro_popup'>((((GtkButton*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((button)), ((gtk_button_get_type ()))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2438"><td class="num" id="LN2438">2438</td><td class="line"> gtk_style_context_add_class (gtk_widget_get_style_context (button), <span class='string_literal'>"text-button"</span>);</td></tr>
+<tr class="codeline" data-linenumber="2439"><td class="num" id="LN2439">2439</td><td class="line"> gtk_widget_set_can_default (button, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2440"><td class="num" id="LN2440">2440</td><td class="line"> gtk_widget_show (button);</td></tr>
+<tr class="codeline" data-linenumber="2441"><td class="num" id="LN2441">2441</td><td class="line"> gtk_dialog_add_action_widget (<span class='macro'>GTK_DIALOG (dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_dialog_get_type ()))))))</span></span>, button, response_id);</td></tr>
+<tr class="codeline" data-linenumber="2442"><td class="num" id="LN2442">2442</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2443"><td class="num" id="LN2443">2443</td><td class="line"> <span class='keyword'>return</span> button;</td></tr>
+<tr class="codeline" data-linenumber="2444"><td class="num" id="LN2444">2444</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2445"><td class="num" id="LN2445">2445</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2446"><td class="num" id="LN2446">2446</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2447"><td class="num" id="LN2447">2447</td><td class="line">create_the_progress_dialog (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2448"><td class="num" id="LN2448">2448</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2449"><td class="num" id="LN2449">2449</td><td class="line"> GtkWindow *parent;</td></tr>
+<tr class="codeline" data-linenumber="2450"><td class="num" id="LN2450">2450</td><td class="line"> GtkDialogFlags flags;</td></tr>
+<tr class="codeline" data-linenumber="2451"><td class="num" id="LN2451">2451</td><td class="line"> GtkDialog *d;</td></tr>
+<tr class="codeline" data-linenumber="2452"><td class="num" id="LN2452">2452</td><td class="line"> GtkWidget *hbox;</td></tr>
+<tr class="codeline" data-linenumber="2453"><td class="num" id="LN2453">2453</td><td class="line"> GtkWidget *vbox;</td></tr>
+<tr class="codeline" data-linenumber="2454"><td class="num" id="LN2454">2454</td><td class="line"> GtkWidget *progress_vbox;</td></tr>
+<tr class="codeline" data-linenumber="2455"><td class="num" id="LN2455">2455</td><td class="line"> GtkWidget *lbl;</td></tr>
+<tr class="codeline" data-linenumber="2456"><td class="num" id="LN2456">2456</td><td class="line"> PangoAttrList *attr_list;</td></tr>
+<tr class="codeline" data-linenumber="2457"><td class="num" id="LN2457">2457</td><td class="line"> GdkPixbuf *icon;</td></tr>
+<tr class="codeline" data-linenumber="2458"><td class="num" id="LN2458">2458</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2459"><td class="num" id="LN2459">2459</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_dialog != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2460"><td class="num" id="LN2460">2460</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2461"><td class="num" id="LN2461">2461</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2462"><td class="num" id="LN2462">2462</td><td class="line"> flags = GTK_DIALOG_DESTROY_WITH_PARENT;</td></tr>
+<tr class="codeline" data-linenumber="2463"><td class="num" id="LN2463">2463</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;batch_mode) {</td></tr>
+<tr class="codeline" data-linenumber="2464"><td class="num" id="LN2464">2464</td><td class="line"> parent = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2465"><td class="num" id="LN2465">2465</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2466"><td class="num" id="LN2466">2466</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="2467"><td class="num" id="LN2467">2467</td><td class="line"> parent = <span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2468"><td class="num" id="LN2468">2468</td><td class="line"> flags |= GTK_DIALOG_MODAL;</td></tr>
+<tr class="codeline" data-linenumber="2469"><td class="num" id="LN2469">2469</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2470"><td class="num" id="LN2470">2470</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2471"><td class="num" id="LN2471">2471</td><td class="line"> window-&gt;priv-&gt;progress_dialog = gtk_dialog_new_with_buttons ((window-&gt;priv-&gt;batch_mode ? window-&gt;priv-&gt;batch_title : <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>),</td></tr>
+<tr class="codeline" data-linenumber="2472"><td class="num" id="LN2472">2472</td><td class="line"> parent,</td></tr>
+<tr class="codeline" data-linenumber="2473"><td class="num" id="LN2473">2473</td><td class="line"> flags,</td></tr>
+<tr class="codeline" data-linenumber="2474"><td class="num" id="LN2474">2474</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2475"><td class="num" id="LN2475">2475</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2476"><td class="num" id="LN2476">2476</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2477"><td class="num" id="LN2477">2477</td><td class="line"> window-&gt;priv-&gt;pd_quit_button = dialog_add_button_with_icon_name (<span class='macro'>GTK_DIALOG (window-&gt;priv-&gt;progress_dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_dialog)), ((gtk_dialog_get_type<br> ()))))))</span></span>, <span class='macro'>_(<span class='string_literal'>"_Quit"</span>)<span class='macro_popup'>gettext ("_Quit")</span></span>, <span class='string_literal'>"application-exit"</span>, DIALOG_RESPONSE_QUIT);</td></tr>
+<tr class="codeline" data-linenumber="2478"><td class="num" id="LN2478">2478</td><td class="line"> window-&gt;priv-&gt;pd_open_archive_button = gtk_dialog_add_button (<span class='macro'>GTK_DIALOG (window-&gt;priv-&gt;progress_dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_dialog)), ((gtk_dialog_get_type<br> ()))))))</span></span>, <span class='macro'>_(<span class='string_literal'>"_Open the Archive"</span>)<span class='macro_popup'>gettext ("_Open the Archive")</span></span>, DIALOG_RESPONSE_OPEN_ARCHIVE);</td></tr>
+<tr class="codeline" data-linenumber="2479"><td class="num" id="LN2479">2479</td><td class="line"> window-&gt;priv-&gt;pd_open_destination_button = gtk_dialog_add_button (<span class='macro'>GTK_DIALOG (window-&gt;priv-&gt;progress_dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_dialog)), ((gtk_dialog_get_type<br> ()))))))</span></span>, <span class='macro'>_(<span class='string_literal'>"_Show the Files"</span>)<span class='macro_popup'>gettext ("_Show the Files")</span></span>, DIALOG_RESPONSE_OPEN_DESTINATION_FOLDER);</td></tr>
+<tr class="codeline" data-linenumber="2480"><td class="num" id="LN2480">2480</td><td class="line"> window-&gt;priv-&gt;pd_open_destination_and_quit_button = gtk_dialog_add_button (<span class='macro'>GTK_DIALOG (window-&gt;priv-&gt;progress_dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_dialog)), ((gtk_dialog_get_type<br> ()))))))</span></span>, <span class='macro'>_(<span class='string_literal'>"Show the _Files and Quit"</span>)<span class='macro_popup'>gettext ("Show the _Files and Quit")</span></span>, DIALOG_RESPONSE_OPEN_DESTINATION_FOLDER_AND_QUIT);</td></tr>
+<tr class="codeline" data-linenumber="2481"><td class="num" id="LN2481">2481</td><td class="line"> window-&gt;priv-&gt;pd_close_button = dialog_add_button_with_icon_name (<span class='macro'>GTK_DIALOG (window-&gt;priv-&gt;progress_dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_dialog)), ((gtk_dialog_get_type<br> ()))))))</span></span>, <span class='macro'>_(<span class='string_literal'>"_Close"</span>)<span class='macro_popup'>gettext ("_Close")</span></span>, <span class='string_literal'>"window-close"</span>, GTK_RESPONSE_CLOSE);</td></tr>
+<tr class="codeline" data-linenumber="2482"><td class="num" id="LN2482">2482</td><td class="line"> window-&gt;priv-&gt;pd_cancel_button = dialog_add_button_with_icon_name (<span class='macro'>GTK_DIALOG (window-&gt;priv-&gt;progress_dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_dialog)), ((gtk_dialog_get_type<br> ()))))))</span></span>, <span class='macro'>_(<span class='string_literal'>"_Cancel"</span>)<span class='macro_popup'>gettext ("_Cancel")</span></span>, <span class='string_literal'>"process-stop"</span>, GTK_RESPONSE_CANCEL);</td></tr>
+<tr class="codeline" data-linenumber="2483"><td class="num" id="LN2483">2483</td><td class="line"> <span class='comment'>/*add start button default suspend*/</span></td></tr>
+<tr class="codeline" data-linenumber="2484"><td class="num" id="LN2484">2484</td><td class="line"> window-&gt;priv-&gt;pd_state_button = dialog_add_button_with_icon_name (<span class='macro'>GTK_DIALOG (window-&gt;priv-&gt;progress_dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_dialog)), ((gtk_dialog_get_type<br> ()))))))</span></span>, <span class='macro'>_(<span class='string_literal'>"_Pause"</span>)<span class='macro_popup'>gettext ("_Pause")</span></span>, <span class='string_literal'>"media-playback-pause"</span>, GTK_RESPONSE_ACCEPT);</td></tr>
+<tr class="codeline" data-linenumber="2485"><td class="num" id="LN2485">2485</td><td class="line"> d = <span class='macro'>GTK_DIALOG (window-&gt;priv-&gt;progress_dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_dialog)), ((gtk_dialog_get_type<br> ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2486"><td class="num" id="LN2486">2486</td><td class="line"> gtk_window_set_resizable (<span class='macro'>GTK_WINDOW (d)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_window_get_type ()))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2487"><td class="num" id="LN2487">2487</td><td class="line"> gtk_dialog_set_default_response (<span class='macro'>GTK_DIALOG (d)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_dialog_get_type ()))))))</span></span>, GTK_RESPONSE_OK);</td></tr>
+<tr class="codeline" data-linenumber="2488"><td class="num" id="LN2488">2488</td><td class="line"> gtk_window_set_default_size (<span class='macro'>GTK_WINDOW (d)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_window_get_type ()))))))</span></span>, <span class='macro'>PROGRESS_DIALOG_DEFAULT_WIDTH<span class='macro_popup'>500</span></span>, -1);</td></tr>
+<tr class="codeline" data-linenumber="2489"><td class="num" id="LN2489">2489</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2490"><td class="num" id="LN2490">2490</td><td class="line"> <span class='comment'>/* Main */</span></td></tr>
+<tr class="codeline" data-linenumber="2491"><td class="num" id="LN2491">2491</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2492"><td class="num" id="LN2492">2492</td><td class="line"> hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 24);</td></tr>
+<tr class="codeline" data-linenumber="2493"><td class="num" id="LN2493">2493</td><td class="line"> gtk_container_set_border_width (<span class='macro'>GTK_CONTAINER (hbox)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((hbox)), ((gtk_container_get_type ()))))))</span></span>, 6);</td></tr>
+<tr class="codeline" data-linenumber="2494"><td class="num" id="LN2494">2494</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (gtk_dialog_get_content_area (d))<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_dialog_get_content_area (d))), ((gtk_box_get_type ()<br>))))))</span></span>, hbox, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 10);</td></tr>
+<tr class="codeline" data-linenumber="2495"><td class="num" id="LN2495">2495</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2496"><td class="num" id="LN2496">2496</td><td class="line"> icon = get_mime_type_pixbuf (<span class='string_literal'>"package-x-generic"</span>, _gtk_widget_lookup_for_size (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>, GTK_ICON_SIZE_DIALOG), <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2497"><td class="num" id="LN2497">2497</td><td class="line"> window-&gt;priv-&gt;pd_icon = gtk_image_new_from_pixbuf (icon);</td></tr>
+<tr class="codeline" data-linenumber="2498"><td class="num" id="LN2498">2498</td><td class="line"> g_object_unref (icon);</td></tr>
+<tr class="codeline" data-linenumber="2499"><td class="num" id="LN2499">2499</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2500"><td class="num" id="LN2500">2500</td><td class="line"> gtk_widget_set_valign (window-&gt;priv-&gt;pd_icon, GTK_ALIGN_START);</td></tr>
+<tr class="codeline" data-linenumber="2501"><td class="num" id="LN2501">2501</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (hbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((hbox)), ((gtk_box_get_type ()))))))</span></span>, window-&gt;priv-&gt;pd_icon, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="2502"><td class="num" id="LN2502">2502</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2503"><td class="num" id="LN2503">2503</td><td class="line"> vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 5);</td></tr>
+<tr class="codeline" data-linenumber="2504"><td class="num" id="LN2504">2504</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (hbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((hbox)), ((gtk_box_get_type ()))))))</span></span>, vbox, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="2505"><td class="num" id="LN2505">2505</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2506"><td class="num" id="LN2506">2506</td><td class="line"> <span class='comment'>/* action description */</span></td></tr>
+<tr class="codeline" data-linenumber="2507"><td class="num" id="LN2507">2507</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2508"><td class="num" id="LN2508">2508</td><td class="line"> lbl = window-&gt;priv-&gt;pd_action = gtk_label_new (<span class='string_literal'>""</span>);</td></tr>
+<tr class="codeline" data-linenumber="2509"><td class="num" id="LN2509">2509</td><td class="line"> gtk_widget_set_halign (lbl, GTK_ALIGN_START);</td></tr>
+<tr class="codeline" data-linenumber="2510"><td class="num" id="LN2510">2510</td><td class="line"> gtk_widget_set_valign (lbl, GTK_ALIGN_START);</td></tr>
+<tr class="codeline" data-linenumber="2511"><td class="num" id="LN2511">2511</td><td class="line"> gtk_widget_set_hexpand (lbl, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2512"><td class="num" id="LN2512">2512</td><td class="line"> gtk_widget_set_vexpand (lbl, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2513"><td class="num" id="LN2513">2513</td><td class="line"> gtk_widget_set_margin_bottom (lbl, 12);</td></tr>
+<tr class="codeline" data-linenumber="2514"><td class="num" id="LN2514">2514</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2515"><td class="num" id="LN2515">2515</td><td class="line"> gtk_label_set_xalign (<span class='macro'>GTK_LABEL (lbl)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((lbl)), ((gtk_label_get_type ()))))))</span></span>, 0.0);</td></tr>
+<tr class="codeline" data-linenumber="2516"><td class="num" id="LN2516">2516</td><td class="line"> gtk_label_set_ellipsize (<span class='macro'>GTK_LABEL (lbl)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((lbl)), ((gtk_label_get_type ()))))))</span></span>, PANGO_ELLIPSIZE_END);</td></tr>
+<tr class="codeline" data-linenumber="2517"><td class="num" id="LN2517">2517</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (vbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((vbox)), ((gtk_box_get_type ()))))))</span></span>, lbl, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="2518"><td class="num" id="LN2518">2518</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2519"><td class="num" id="LN2519">2519</td><td class="line"> <span class='comment'>/* archive name */</span></td></tr>
+<tr class="codeline" data-linenumber="2520"><td class="num" id="LN2520">2520</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2521"><td class="num" id="LN2521">2521</td><td class="line"> g_free (window-&gt;priv-&gt;pd_last_archive);</td></tr>
+<tr class="codeline" data-linenumber="2522"><td class="num" id="LN2522">2522</td><td class="line"> window-&gt;priv-&gt;pd_last_archive = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2523"><td class="num" id="LN2523">2523</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2524"><td class="num" id="LN2524">2524</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;archive_uri != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2525"><td class="num" id="LN2525">2525</td><td class="line"> window-&gt;priv-&gt;pd_last_archive = <span class='macro'>g_strdup (window-&gt;priv-&gt;archive_uri)<span class='macro_popup'>g_strdup_inline (window-&gt;priv-&gt;archive_uri)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2526"><td class="num" id="LN2526">2526</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2527"><td class="num" id="LN2527">2527</td><td class="line"> <span class='comment'>/* progress and details */</span></td></tr>
+<tr class="codeline" data-linenumber="2528"><td class="num" id="LN2528">2528</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2529"><td class="num" id="LN2529">2529</td><td class="line"> progress_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);</td></tr>
+<tr class="codeline" data-linenumber="2530"><td class="num" id="LN2530">2530</td><td class="line"> gtk_widget_set_valign (progress_vbox, GTK_ALIGN_START);</td></tr>
+<tr class="codeline" data-linenumber="2531"><td class="num" id="LN2531">2531</td><td class="line"> gtk_widget_set_hexpand (progress_vbox, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2532"><td class="num" id="LN2532">2532</td><td class="line"> gtk_widget_set_vexpand (progress_vbox, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2533"><td class="num" id="LN2533">2533</td><td class="line"> gtk_widget_set_margin_bottom (progress_vbox, 6);</td></tr>
+<tr class="codeline" data-linenumber="2534"><td class="num" id="LN2534">2534</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (vbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((vbox)), ((gtk_box_get_type ()))))))</span></span>, progress_vbox, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="2535"><td class="num" id="LN2535">2535</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2536"><td class="num" id="LN2536">2536</td><td class="line"> <span class='comment'>/* progress bar */</span></td></tr>
+<tr class="codeline" data-linenumber="2537"><td class="num" id="LN2537">2537</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2538"><td class="num" id="LN2538">2538</td><td class="line"> window-&gt;priv-&gt;pd_progress_bar = gtk_progress_bar_new ();</td></tr>
+<tr class="codeline" data-linenumber="2539"><td class="num" id="LN2539">2539</td><td class="line"> gtk_progress_bar_set_pulse_step (<span class='macro'>GTK_PROGRESS_BAR (window-&gt;priv-&gt;pd_progress_bar)<span class='macro_popup'>((((GtkProgressBar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;pd_progress_bar)), ((gtk_progress_bar_get_type<br> ()))))))</span></span>, <span class='macro'>ACTIVITY_PULSE_STEP<span class='macro_popup'>(0.033)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2540"><td class="num" id="LN2540">2540</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (progress_vbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((progress_vbox)), ((gtk_box_get_type ()))))))</span></span>, window-&gt;priv-&gt;pd_progress_bar, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="2541"><td class="num" id="LN2541">2541</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2542"><td class="num" id="LN2542">2542</td><td class="line"> <span class='comment'>/* details label */</span></td></tr>
+<tr class="codeline" data-linenumber="2543"><td class="num" id="LN2543">2543</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2544"><td class="num" id="LN2544">2544</td><td class="line"> lbl = window-&gt;priv-&gt;pd_message = gtk_label_new (<span class='string_literal'>""</span>);</td></tr>
+<tr class="codeline" data-linenumber="2545"><td class="num" id="LN2545">2545</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2546"><td class="num" id="LN2546">2546</td><td class="line"> attr_list = pango_attr_list_new ();</td></tr>
+<tr class="codeline" data-linenumber="2547"><td class="num" id="LN2547">2547</td><td class="line"> pango_attr_list_insert (attr_list, pango_attr_size_new (9000));</td></tr>
+<tr class="codeline" data-linenumber="2548"><td class="num" id="LN2548">2548</td><td class="line"> gtk_label_set_attributes (<span class='macro'>GTK_LABEL (lbl)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((lbl)), ((gtk_label_get_type ()))))))</span></span>, attr_list);</td></tr>
+<tr class="codeline" data-linenumber="2549"><td class="num" id="LN2549">2549</td><td class="line"> pango_attr_list_unref (attr_list);</td></tr>
+<tr class="codeline" data-linenumber="2550"><td class="num" id="LN2550">2550</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2551"><td class="num" id="LN2551">2551</td><td class="line"> gtk_label_set_xalign (<span class='macro'>GTK_LABEL (lbl)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((lbl)), ((gtk_label_get_type ()))))))</span></span>, 0.0);</td></tr>
+<tr class="codeline" data-linenumber="2552"><td class="num" id="LN2552">2552</td><td class="line"> gtk_label_set_ellipsize (<span class='macro'>GTK_LABEL (lbl)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((lbl)), ((gtk_label_get_type ()))))))</span></span>, PANGO_ELLIPSIZE_END);</td></tr>
+<tr class="codeline" data-linenumber="2553"><td class="num" id="LN2553">2553</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (progress_vbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((progress_vbox)), ((gtk_box_get_type ()))))))</span></span>, lbl, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="2554"><td class="num" id="LN2554">2554</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2555"><td class="num" id="LN2555">2555</td><td class="line"> gtk_widget_show_all (hbox);</td></tr>
+<tr class="codeline" data-linenumber="2556"><td class="num" id="LN2556">2556</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2557"><td class="num" id="LN2557">2557</td><td class="line"> progress_dialog_update_action_description (window);</td></tr>
+<tr class="codeline" data-linenumber="2558"><td class="num" id="LN2558">2558</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2559"><td class="num" id="LN2559">2559</td><td class="line"> <span class='comment'>/* signals */</span></td></tr>
+<tr class="codeline" data-linenumber="2560"><td class="num" id="LN2560">2560</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2561"><td class="num" id="LN2561">2561</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;progress_dialog),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;progress_dialog)), (<br>((GType) ((20) &lt;&lt; (2))))))))), ("response"), (((GCallback<br>) (progress_dialog_response))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2562"><td class="num" id="LN2562">2562</td><td class="line"> <span class='string_literal'><span class='macro'>"response"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;progress_dialog)), (<br>((GType) ((20) &lt;&lt; (2))))))))), ("response"), (((GCallback<br>) (progress_dialog_response))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2563"><td class="num" id="LN2563">2563</td><td class="line"> <span class='macro'>G_CALLBACK (progress_dialog_response),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;progress_dialog)), (<br>((GType) ((20) &lt;&lt; (2))))))))), ("response"), (((GCallback<br>) (progress_dialog_response))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2564"><td class="num" id="LN2564">2564</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;progress_dialog)), (<br>((GType) ((20) &lt;&lt; (2))))))))), ("response"), (((GCallback<br>) (progress_dialog_response))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2565"><td class="num" id="LN2565">2565</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;progress_dialog),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;progress_dialog)), (<br>((GType) ((20) &lt;&lt; (2))))))))), ("delete_event"), (((GCallback<br>) (progress_dialog_delete_event))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2566"><td class="num" id="LN2566">2566</td><td class="line"> <span class='string_literal'><span class='macro'>"delete_event"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;progress_dialog)), (<br>((GType) ((20) &lt;&lt; (2))))))))), ("delete_event"), (((GCallback<br>) (progress_dialog_delete_event))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2567"><td class="num" id="LN2567">2567</td><td class="line"> <span class='macro'>G_CALLBACK (progress_dialog_delete_event),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;progress_dialog)), (<br>((GType) ((20) &lt;&lt; (2))))))))), ("delete_event"), (((GCallback<br>) (progress_dialog_delete_event))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2568"><td class="num" id="LN2568">2568</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;progress_dialog)), (<br>((GType) ((20) &lt;&lt; (2))))))))), ("delete_event"), (((GCallback<br>) (progress_dialog_delete_event))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2569"><td class="num" id="LN2569">2569</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2570"><td class="num" id="LN2570">2570</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2571"><td class="num" id="LN2571">2571</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="2572"><td class="num" id="LN2572">2572</td><td class="line">display_progress_dialog (gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="2573"><td class="num" id="LN2573">2573</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2574"><td class="num" id="LN2574">2574</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="2575"><td class="num" id="LN2575">2575</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2576"><td class="num" id="LN2576">2576</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_timeout != 0)</td></tr>
+<tr class="codeline" data-linenumber="2577"><td class="num" id="LN2577">2577</td><td class="line"> g_source_remove (window-&gt;priv-&gt;progress_timeout);</td></tr>
+<tr class="codeline" data-linenumber="2578"><td class="num" id="LN2578">2578</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2579"><td class="num" id="LN2579">2579</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;use_progress_dialog &amp;&amp; (window-&gt;priv-&gt;progress_dialog != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="2580"><td class="num" id="LN2580">2580</td><td class="line"> gtk_dialog_set_response_sensitive (<span class='macro'>GTK_DIALOG (window-&gt;priv-&gt;progress_dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_dialog)), ((gtk_dialog_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2581"><td class="num" id="LN2581">2581</td><td class="line"> GTK_RESPONSE_OK,</td></tr>
+<tr class="codeline" data-linenumber="2582"><td class="num" id="LN2582">2582</td><td class="line"> window-&gt;priv-&gt;stoppable);</td></tr>
+<tr class="codeline" data-linenumber="2583"><td class="num" id="LN2583">2583</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;non_interactive)</td></tr>
+<tr class="codeline" data-linenumber="2584"><td class="num" id="LN2584">2584</td><td class="line"> gtk_widget_show (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2585"><td class="num" id="LN2585">2585</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;progress_bar);</td></tr>
+<tr class="codeline" data-linenumber="2586"><td class="num" id="LN2586">2586</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;progress_dialog);</td></tr>
+<tr class="codeline" data-linenumber="2587"><td class="num" id="LN2587">2587</td><td class="line"> fr_window_message_cb (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, window-&gt;priv-&gt;pd_last_message, window);</td></tr>
+<tr class="codeline" data-linenumber="2588"><td class="num" id="LN2588">2588</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2589"><td class="num" id="LN2589">2589</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2590"><td class="num" id="LN2590">2590</td><td class="line"> window-&gt;priv-&gt;progress_timeout = 0;</td></tr>
+<tr class="codeline" data-linenumber="2591"><td class="num" id="LN2591">2591</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2592"><td class="num" id="LN2592">2592</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2593"><td class="num" id="LN2593">2593</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2594"><td class="num" id="LN2594">2594</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2595"><td class="num" id="LN2595">2595</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2596"><td class="num" id="LN2596">2596</td><td class="line">open_progress_dialog (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="2597"><td class="num" id="LN2597">2597</td><td class="line"> gboolean open_now)</td></tr>
+<tr class="codeline" data-linenumber="2598"><td class="num" id="LN2598">2598</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2599"><td class="num" id="LN2599">2599</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;hide_progress_timeout != 0) {</td></tr>
+<tr class="codeline" data-linenumber="2600"><td class="num" id="LN2600">2600</td><td class="line"> g_source_remove (window-&gt;priv-&gt;hide_progress_timeout);</td></tr>
+<tr class="codeline" data-linenumber="2601"><td class="num" id="LN2601">2601</td><td class="line"> window-&gt;priv-&gt;hide_progress_timeout = 0;</td></tr>
+<tr class="codeline" data-linenumber="2602"><td class="num" id="LN2602">2602</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2603"><td class="num" id="LN2603">2603</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2604"><td class="num" id="LN2604">2604</td><td class="line"> <span class='keyword'>if</span> (open_now) {</td></tr>
+<tr class="codeline" data-linenumber="2605"><td class="num" id="LN2605">2605</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_timeout != 0)</td></tr>
+<tr class="codeline" data-linenumber="2606"><td class="num" id="LN2606">2606</td><td class="line"> g_source_remove (window-&gt;priv-&gt;progress_timeout);</td></tr>
+<tr class="codeline" data-linenumber="2607"><td class="num" id="LN2607">2607</td><td class="line"> window-&gt;priv-&gt;progress_timeout = 0;</td></tr>
+<tr class="codeline" data-linenumber="2608"><td class="num" id="LN2608">2608</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2609"><td class="num" id="LN2609">2609</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2610"><td class="num" id="LN2610">2610</td><td class="line"> <span class='keyword'>if</span> ((window-&gt;priv-&gt;progress_timeout != 0)</td></tr>
+<tr class="codeline" data-linenumber="2611"><td class="num" id="LN2611">2611</td><td class="line"> || ((window-&gt;priv-&gt;progress_dialog != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; gtk_widget_get_visible (window-&gt;priv-&gt;progress_dialog)))</td></tr>
+<tr class="codeline" data-linenumber="2612"><td class="num" id="LN2612">2612</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2613"><td class="num" id="LN2613">2613</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2614"><td class="num" id="LN2614">2614</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;batch_mode &amp;&amp; ! open_now)</td></tr>
+<tr class="codeline" data-linenumber="2615"><td class="num" id="LN2615">2615</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;progress_bar);</td></tr>
+<tr class="codeline" data-linenumber="2616"><td class="num" id="LN2616">2616</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2617"><td class="num" id="LN2617">2617</td><td class="line"> create_the_progress_dialog (window);</td></tr>
+<tr class="codeline" data-linenumber="2618"><td class="num" id="LN2618">2618</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;pd_cancel_button);</td></tr>
+<tr class="codeline" data-linenumber="2619"><td class="num" id="LN2619">2619</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;pd_state_button);</td></tr>
+<tr class="codeline" data-linenumber="2620"><td class="num" id="LN2620">2620</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;pd_open_archive_button);</td></tr>
+<tr class="codeline" data-linenumber="2621"><td class="num" id="LN2621">2621</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;pd_open_destination_button);</td></tr>
+<tr class="codeline" data-linenumber="2622"><td class="num" id="LN2622">2622</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;pd_open_destination_and_quit_button);</td></tr>
+<tr class="codeline" data-linenumber="2623"><td class="num" id="LN2623">2623</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;pd_quit_button);</td></tr>
+<tr class="codeline" data-linenumber="2624"><td class="num" id="LN2624">2624</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;pd_close_button);</td></tr>
+<tr class="codeline" data-linenumber="2625"><td class="num" id="LN2625">2625</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2626"><td class="num" id="LN2626">2626</td><td class="line"> <span class='keyword'>if</span> (open_now)</td></tr>
+<tr class="codeline" data-linenumber="2627"><td class="num" id="LN2627">2627</td><td class="line"> display_progress_dialog (window);</td></tr>
+<tr class="codeline" data-linenumber="2628"><td class="num" id="LN2628">2628</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="2629"><td class="num" id="LN2629">2629</td><td class="line"> window-&gt;priv-&gt;progress_timeout = g_timeout_add (<span class='macro'>PROGRESS_TIMEOUT_MSECS<span class='macro_popup'>5000</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2630"><td class="num" id="LN2630">2630</td><td class="line"> display_progress_dialog,</td></tr>
+<tr class="codeline" data-linenumber="2631"><td class="num" id="LN2631">2631</td><td class="line"> window);</td></tr>
+<tr class="codeline" data-linenumber="2632"><td class="num" id="LN2632">2632</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2633"><td class="num" id="LN2633">2633</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2634"><td class="num" id="LN2634">2634</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="2635"><td class="num" id="LN2635">2635</td><td class="line">fr_window_progress_cb (FrArchive *archive,</td></tr>
+<tr class="codeline" data-linenumber="2636"><td class="num" id="LN2636">2636</td><td class="line"> <span class='keyword'>double</span> fraction,</td></tr>
+<tr class="codeline" data-linenumber="2637"><td class="num" id="LN2637">2637</td><td class="line"> FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2638"><td class="num" id="LN2638">2638</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2639"><td class="num" id="LN2639">2639</td><td class="line"> window-&gt;priv-&gt;progress_pulse = (fraction &lt; 0.0);</td></tr>
+<tr class="codeline" data-linenumber="2640"><td class="num" id="LN2640">2640</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;progress_pulse) {</td></tr>
+<tr class="codeline" data-linenumber="2641"><td class="num" id="LN2641">2641</td><td class="line"> fraction = <span class='macro'>CLAMP (fraction, 0.0, 1.0)<span class='macro_popup'>(((fraction) &gt; (1.0)) ? (1.0) : (((fraction) &lt; (0.0)) ?<br> (0.0) : (fraction)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2642"><td class="num" id="LN2642">2642</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_dialog != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2643"><td class="num" id="LN2643">2643</td><td class="line"> gtk_progress_bar_set_fraction (<span class='macro'>GTK_PROGRESS_BAR (window-&gt;priv-&gt;pd_progress_bar)<span class='macro_popup'>((((GtkProgressBar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;pd_progress_bar)), ((gtk_progress_bar_get_type<br> ()))))))</span></span>, fraction);</td></tr>
+<tr class="codeline" data-linenumber="2644"><td class="num" id="LN2644">2644</td><td class="line"> gtk_progress_bar_set_fraction (<span class='macro'>GTK_PROGRESS_BAR (window-&gt;priv-&gt;progress_bar)<span class='macro_popup'>((((GtkProgressBar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_bar)), ((gtk_progress_bar_get_type<br> ()))))))</span></span>, fraction);</td></tr>
+<tr class="codeline" data-linenumber="2645"><td class="num" id="LN2645">2645</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2646"><td class="num" id="LN2646">2646</td><td class="line"> <span class='keyword'>if</span> ((archive != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (archive-&gt;command != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (archive-&gt;command-&gt;n_files &gt; 0)) {</td></tr>
+<tr class="codeline" data-linenumber="2647"><td class="num" id="LN2647">2647</td><td class="line"> <span class='keyword'>char</span> *message = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2648"><td class="num" id="LN2648">2648</td><td class="line"> gulong remaining_files;</td></tr>
+<tr class="codeline" data-linenumber="2649"><td class="num" id="LN2649">2649</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2650"><td class="num" id="LN2650">2650</td><td class="line"> remaining_files = (gulong) (archive-&gt;command-&gt;n_files - archive-&gt;command-&gt;n_file + 1);</td></tr>
+<tr class="codeline" data-linenumber="2651"><td class="num" id="LN2651">2651</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2652"><td class="num" id="LN2652">2652</td><td class="line"> <span class='keyword'>switch</span> (window-&gt;priv-&gt;action) {</td></tr>
+<tr class="codeline" data-linenumber="2653"><td class="num" id="LN2653">2653</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_ADDING_FILES:</td></tr>
+<tr class="codeline" data-linenumber="2654"><td class="num" id="LN2654">2654</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_EXTRACTING_FILES:</td></tr>
+<tr class="codeline" data-linenumber="2655"><td class="num" id="LN2655">2655</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_DELETING_FILES:</td></tr>
+<tr class="codeline" data-linenumber="2656"><td class="num" id="LN2656">2656</td><td class="line"> message = g_strdup_printf (g_dngettext (<span class='macro'>GETTEXT_PACKAGE<span class='macro_popup'>"engrampa"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2657"><td class="num" id="LN2657">2657</td><td class="line"> <span class='string_literal'>"%lu file remaining"</span>,</td></tr>
+<tr class="codeline" data-linenumber="2658"><td class="num" id="LN2658">2658</td><td class="line"> <span class='string_literal'>"%lu files remaining"</span>,</td></tr>
+<tr class="codeline" data-linenumber="2659"><td class="num" id="LN2659">2659</td><td class="line"> remaining_files),</td></tr>
+<tr class="codeline" data-linenumber="2660"><td class="num" id="LN2660">2660</td><td class="line"> remaining_files);</td></tr>
+<tr class="codeline" data-linenumber="2661"><td class="num" id="LN2661">2661</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2662"><td class="num" id="LN2662">2662</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="2663"><td class="num" id="LN2663">2663</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2664"><td class="num" id="LN2664">2664</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2665"><td class="num" id="LN2665">2665</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2666"><td class="num" id="LN2666">2666</td><td class="line"> <span class='keyword'>if</span> (message != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2667"><td class="num" id="LN2667">2667</td><td class="line"> fr_command_message (archive-&gt;command, message);</td></tr>
+<tr class="codeline" data-linenumber="2668"><td class="num" id="LN2668">2668</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2669"><td class="num" id="LN2669">2669</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2670"><td class="num" id="LN2670">2670</td><td class="line"> window-&gt;priv-&gt;pd_last_fraction = fraction;</td></tr>
+<tr class="codeline" data-linenumber="2671"><td class="num" id="LN2671">2671</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2672"><td class="num" id="LN2672">2672</td><td class="line"> g_signal_emit (<span class='macro'>G_OBJECT (window)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2673"><td class="num" id="LN2673">2673</td><td class="line"> fr_window_signals[PROGRESS],</td></tr>
+<tr class="codeline" data-linenumber="2674"><td class="num" id="LN2674">2674</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="2675"><td class="num" id="LN2675">2675</td><td class="line"> window-&gt;priv-&gt;pd_last_fraction,</td></tr>
+<tr class="codeline" data-linenumber="2676"><td class="num" id="LN2676">2676</td><td class="line"> window-&gt;priv-&gt;pd_last_message);</td></tr>
+<tr class="codeline" data-linenumber="2677"><td class="num" id="LN2677">2677</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2678"><td class="num" id="LN2678">2678</td><td class="line"><span class='directive'>#ifdef LOG_PROGRESS</span></td></tr>
+<tr class="codeline" data-linenumber="2679"><td class="num" id="LN2679">2679</td><td class="line"> g_print (<span class='string_literal'>"progress &gt; %2.2f\n"</span>, fraction);</td></tr>
+<tr class="codeline" data-linenumber="2680"><td class="num" id="LN2680">2680</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="2681"><td class="num" id="LN2681">2681</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2682"><td class="num" id="LN2682">2682</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2683"><td class="num" id="LN2683">2683</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2684"><td class="num" id="LN2684">2684</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2685"><td class="num" id="LN2685">2685</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2686"><td class="num" id="LN2686">2686</td><td class="line">open_progress_dialog_with_open_destination (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2687"><td class="num" id="LN2687">2687</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2688"><td class="num" id="LN2688">2688</td><td class="line"> window-&gt;priv-&gt;ask_to_open_destination_after_extraction = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2689"><td class="num" id="LN2689">2689</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2690"><td class="num" id="LN2690">2690</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;hide_progress_timeout != 0) {</td></tr>
+<tr class="codeline" data-linenumber="2691"><td class="num" id="LN2691">2691</td><td class="line"> g_source_remove (window-&gt;priv-&gt;hide_progress_timeout);</td></tr>
+<tr class="codeline" data-linenumber="2692"><td class="num" id="LN2692">2692</td><td class="line"> window-&gt;priv-&gt;hide_progress_timeout = 0;</td></tr>
+<tr class="codeline" data-linenumber="2693"><td class="num" id="LN2693">2693</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2694"><td class="num" id="LN2694">2694</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_timeout != 0) {</td></tr>
+<tr class="codeline" data-linenumber="2695"><td class="num" id="LN2695">2695</td><td class="line"> g_source_remove (window-&gt;priv-&gt;progress_timeout);</td></tr>
+<tr class="codeline" data-linenumber="2696"><td class="num" id="LN2696">2696</td><td class="line"> window-&gt;priv-&gt;progress_timeout = 0;</td></tr>
+<tr class="codeline" data-linenumber="2697"><td class="num" id="LN2697">2697</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2698"><td class="num" id="LN2698">2698</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2699"><td class="num" id="LN2699">2699</td><td class="line"> create_the_progress_dialog (window);</td></tr>
+<tr class="codeline" data-linenumber="2700"><td class="num" id="LN2700">2700</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;pd_cancel_button);</td></tr>
+<tr class="codeline" data-linenumber="2701"><td class="num" id="LN2701">2701</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;pd_state_button);</td></tr>
+<tr class="codeline" data-linenumber="2702"><td class="num" id="LN2702">2702</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;pd_open_archive_button);</td></tr>
+<tr class="codeline" data-linenumber="2703"><td class="num" id="LN2703">2703</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;pd_open_destination_button);</td></tr>
+<tr class="codeline" data-linenumber="2704"><td class="num" id="LN2704">2704</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;pd_open_destination_and_quit_button);</td></tr>
+<tr class="codeline" data-linenumber="2705"><td class="num" id="LN2705">2705</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;pd_quit_button);</td></tr>
+<tr class="codeline" data-linenumber="2706"><td class="num" id="LN2706">2706</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;pd_close_button);</td></tr>
+<tr class="codeline" data-linenumber="2707"><td class="num" id="LN2707">2707</td><td class="line"> display_progress_dialog (window);</td></tr>
+<tr class="codeline" data-linenumber="2708"><td class="num" id="LN2708">2708</td><td class="line"> fr_window_progress_cb (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, 1.0, window);</td></tr>
+<tr class="codeline" data-linenumber="2709"><td class="num" id="LN2709">2709</td><td class="line"> fr_window_message_cb (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>_(<span class='string_literal'>"Extraction completed successfully"</span>)<span class='macro_popup'>gettext ("Extraction completed successfully")</span></span>, window);</td></tr>
+<tr class="codeline" data-linenumber="2710"><td class="num" id="LN2710">2710</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2711"><td class="num" id="LN2711">2711</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;close_dialog)</td></tr>
+<tr class="codeline" data-linenumber="2712"><td class="num" id="LN2712">2712</td><td class="line"> close_progress_dialog (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2713"><td class="num" id="LN2713">2713</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2714"><td class="num" id="LN2714">2714</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2715"><td class="num" id="LN2715">2715</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2716"><td class="num" id="LN2716">2716</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2717"><td class="num" id="LN2717">2717</td><td class="line">open_progress_dialog_with_open_archive (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2718"><td class="num" id="LN2718">2718</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2719"><td class="num" id="LN2719">2719</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;hide_progress_timeout != 0) {</td></tr>
+<tr class="codeline" data-linenumber="2720"><td class="num" id="LN2720">2720</td><td class="line"> g_source_remove (window-&gt;priv-&gt;hide_progress_timeout);</td></tr>
+<tr class="codeline" data-linenumber="2721"><td class="num" id="LN2721">2721</td><td class="line"> window-&gt;priv-&gt;hide_progress_timeout = 0;</td></tr>
+<tr class="codeline" data-linenumber="2722"><td class="num" id="LN2722">2722</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2723"><td class="num" id="LN2723">2723</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_timeout != 0) {</td></tr>
+<tr class="codeline" data-linenumber="2724"><td class="num" id="LN2724">2724</td><td class="line"> g_source_remove (window-&gt;priv-&gt;progress_timeout);</td></tr>
+<tr class="codeline" data-linenumber="2725"><td class="num" id="LN2725">2725</td><td class="line"> window-&gt;priv-&gt;progress_timeout = 0;</td></tr>
+<tr class="codeline" data-linenumber="2726"><td class="num" id="LN2726">2726</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2727"><td class="num" id="LN2727">2727</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2728"><td class="num" id="LN2728">2728</td><td class="line"> create_the_progress_dialog (window);</td></tr>
+<tr class="codeline" data-linenumber="2729"><td class="num" id="LN2729">2729</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;pd_cancel_button);</td></tr>
+<tr class="codeline" data-linenumber="2730"><td class="num" id="LN2730">2730</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;pd_state_button);</td></tr>
+<tr class="codeline" data-linenumber="2731"><td class="num" id="LN2731">2731</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;pd_open_destination_button);</td></tr>
+<tr class="codeline" data-linenumber="2732"><td class="num" id="LN2732">2732</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;pd_open_destination_and_quit_button);</td></tr>
+<tr class="codeline" data-linenumber="2733"><td class="num" id="LN2733">2733</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;pd_open_archive_button);</td></tr>
+<tr class="codeline" data-linenumber="2734"><td class="num" id="LN2734">2734</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;pd_close_button);</td></tr>
+<tr class="codeline" data-linenumber="2735"><td class="num" id="LN2735">2735</td><td class="line"> display_progress_dialog (window);</td></tr>
+<tr class="codeline" data-linenumber="2736"><td class="num" id="LN2736">2736</td><td class="line"> fr_window_progress_cb (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, 1.0, window);</td></tr>
+<tr class="codeline" data-linenumber="2737"><td class="num" id="LN2737">2737</td><td class="line"> fr_window_message_cb (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>_(<span class='string_literal'>"Archive created successfully"</span>)<span class='macro_popup'>gettext ("Archive created successfully")</span></span>, window);</td></tr>
+<tr class="codeline" data-linenumber="2738"><td class="num" id="LN2738">2738</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2739"><td class="num" id="LN2739">2739</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2740"><td class="num" id="LN2740">2740</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2741"><td class="num" id="LN2741">2741</td><td class="line">fr_window_push_message (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="2742"><td class="num" id="LN2742">2742</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *msg)</td></tr>
+<tr class="codeline" data-linenumber="2743"><td class="num" id="LN2743">2743</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2744"><td class="num" id="LN2744">2744</td><td class="line"> <span class='keyword'>if</span> (! gtk_widget_get_mapped (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="2745"><td class="num" id="LN2745">2745</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2746"><td class="num" id="LN2746">2746</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2747"><td class="num" id="LN2747">2747</td><td class="line"> gtk_statusbar_push (<span class='macro'>GTK_STATUSBAR (window-&gt;priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;statusbar)), ((gtk_statusbar_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2748"><td class="num" id="LN2748">2748</td><td class="line"> window-&gt;priv-&gt;progress_cid,</td></tr>
+<tr class="codeline" data-linenumber="2749"><td class="num" id="LN2749">2749</td><td class="line"> msg);</td></tr>
+<tr class="codeline" data-linenumber="2750"><td class="num" id="LN2750">2750</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2751"><td class="num" id="LN2751">2751</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2752"><td class="num" id="LN2752">2752</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2753"><td class="num" id="LN2753">2753</td><td class="line">fr_window_pop_message (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2754"><td class="num" id="LN2754">2754</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2755"><td class="num" id="LN2755">2755</td><td class="line"> <span class='keyword'>if</span> (! gtk_widget_get_mapped (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="2756"><td class="num" id="LN2756">2756</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2757"><td class="num" id="LN2757">2757</td><td class="line"> gtk_statusbar_pop (<span class='macro'>GTK_STATUSBAR (window-&gt;priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;statusbar)), ((gtk_statusbar_get_type<br> ()))))))</span></span>, window-&gt;priv-&gt;progress_cid);</td></tr>
+<tr class="codeline" data-linenumber="2758"><td class="num" id="LN2758">2758</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_dialog != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2759"><td class="num" id="LN2759">2759</td><td class="line"> gtk_label_set_text (<span class='macro'>GTK_LABEL (window-&gt;priv-&gt;pd_message)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;pd_message)), ((gtk_label_get_type (<br>)))))))</span></span>, <span class='string_literal'>""</span>);</td></tr>
+<tr class="codeline" data-linenumber="2760"><td class="num" id="LN2760">2760</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2761"><td class="num" id="LN2761">2761</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2762"><td class="num" id="LN2762">2762</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2763"><td class="num" id="LN2763">2763</td><td class="line">action_started (FrArchive *archive,</td></tr>
+<tr class="codeline" data-linenumber="2764"><td class="num" id="LN2764">2764</td><td class="line"> FrAction action,</td></tr>
+<tr class="codeline" data-linenumber="2765"><td class="num" id="LN2765">2765</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="2766"><td class="num" id="LN2766">2766</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2767"><td class="num" id="LN2767">2767</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="2768"><td class="num" id="LN2768">2768</td><td class="line"> <span class='keyword'>char</span> *message;</td></tr>
+<tr class="codeline" data-linenumber="2769"><td class="num" id="LN2769">2769</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2770"><td class="num" id="LN2770">2770</td><td class="line"> window-&gt;priv-&gt;action = action;</td></tr>
+<tr class="codeline" data-linenumber="2771"><td class="num" id="LN2771">2771</td><td class="line"> fr_window_start_activity_mode (window);</td></tr>
+<tr class="codeline" data-linenumber="2772"><td class="num" id="LN2772">2772</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2773"><td class="num" id="LN2773">2773</td><td class="line"><span class='directive'>#ifdef MATE_ENABLE_DEBUG</span></td></tr>
+<tr class="codeline" data-linenumber="2774"><td class="num" id="LN2774">2774</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 2774, __FUNCTION__</span></span>, <span class='string_literal'>"%s [START] (FR::Window)\n"</span>, get_action_name (action));</td></tr>
+<tr class="codeline" data-linenumber="2775"><td class="num" id="LN2775">2775</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="2776"><td class="num" id="LN2776">2776</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2777"><td class="num" id="LN2777">2777</td><td class="line"> message = get_action_description (action, window-&gt;priv-&gt;pd_last_archive);</td></tr>
+<tr class="codeline" data-linenumber="2778"><td class="num" id="LN2778">2778</td><td class="line"> fr_window_push_message (window, message);</td></tr>
+<tr class="codeline" data-linenumber="2779"><td class="num" id="LN2779">2779</td><td class="line"> g_free (message);</td></tr>
+<tr class="codeline" data-linenumber="2780"><td class="num" id="LN2780">2780</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2781"><td class="num" id="LN2781">2781</td><td class="line"> <span class='keyword'>switch</span> (action) {</td></tr>
+<tr class="codeline" data-linenumber="2782"><td class="num" id="LN2782">2782</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_EXTRACTING_FILES:</td></tr>
+<tr class="codeline" data-linenumber="2783"><td class="num" id="LN2783">2783</td><td class="line"> open_progress_dialog (window, window-&gt;priv-&gt;ask_to_open_destination_after_extraction || window-&gt;priv-&gt;convert_data.converting || window-&gt;priv-&gt;batch_mode);</td></tr>
+<tr class="codeline" data-linenumber="2784"><td class="num" id="LN2784">2784</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2785"><td class="num" id="LN2785">2785</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="2786"><td class="num" id="LN2786">2786</td><td class="line"> open_progress_dialog (window, window-&gt;priv-&gt;batch_mode);</td></tr>
+<tr class="codeline" data-linenumber="2787"><td class="num" id="LN2787">2787</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2788"><td class="num" id="LN2788">2788</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2789"><td class="num" id="LN2789">2789</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2790"><td class="num" id="LN2790">2790</td><td class="line"> <span class='keyword'>if</span> (archive-&gt;command != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="2791"><td class="num" id="LN2791">2791</td><td class="line"> fr_command_progress (archive-&gt;command, -1.0);</td></tr>
+<tr class="codeline" data-linenumber="2792"><td class="num" id="LN2792">2792</td><td class="line"> fr_command_message (archive-&gt;command, <span class='macro'>_(<span class='string_literal'>"Please wait…"</span>)<span class='macro_popup'>gettext ("Please wait…")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2793"><td class="num" id="LN2793">2793</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2794"><td class="num" id="LN2794">2794</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2795"><td class="num" id="LN2795">2795</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2796"><td class="num" id="LN2796">2796</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2797"><td class="num" id="LN2797">2797</td><td class="line">fr_window_add_to_recent_list (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="2798"><td class="num" id="LN2798">2798</td><td class="line"> <span class='keyword'>char</span> *uri)</td></tr>
+<tr class="codeline" data-linenumber="2799"><td class="num" id="LN2799">2799</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2800"><td class="num" id="LN2800">2800</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;batch_mode)</td></tr>
+<tr class="codeline" data-linenumber="2801"><td class="num" id="LN2801">2801</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2802"><td class="num" id="LN2802">2802</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2803"><td class="num" id="LN2803">2803</td><td class="line"> <span class='keyword'>if</span> (is_temp_dir (uri))</td></tr>
+<tr class="codeline" data-linenumber="2804"><td class="num" id="LN2804">2804</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2805"><td class="num" id="LN2805">2805</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2806"><td class="num" id="LN2806">2806</td><td class="line"> <span class='keyword'>if</span> (window-&gt;archive-&gt;content_type != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="2807"><td class="num" id="LN2807">2807</td><td class="line"> GtkRecentData *recent_data;</td></tr>
+<tr class="codeline" data-linenumber="2808"><td class="num" id="LN2808">2808</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2809"><td class="num" id="LN2809">2809</td><td class="line"> recent_data = <span class='macro'>g_new0 (GtkRecentData, 1)<span class='macro_popup'>((GtkRecentData *) g_malloc0_n ((1), sizeof (GtkRecentData)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2810"><td class="num" id="LN2810">2810</td><td class="line"> recent_data-&gt;mime_type = g_content_type_get_mime_type (window-&gt;archive-&gt;content_type);</td></tr>
+<tr class="codeline" data-linenumber="2811"><td class="num" id="LN2811">2811</td><td class="line"> recent_data-&gt;app_name = <span class='string_literal'>"Engrampa"</span>;</td></tr>
+<tr class="codeline" data-linenumber="2812"><td class="num" id="LN2812">2812</td><td class="line"> recent_data-&gt;app_exec = <span class='string_literal'>"engrampa"</span>;</td></tr>
+<tr class="codeline" data-linenumber="2813"><td class="num" id="LN2813">2813</td><td class="line"> gtk_recent_manager_add_full (gtk_recent_manager_get_default (), uri, recent_data);</td></tr>
+<tr class="codeline" data-linenumber="2814"><td class="num" id="LN2814">2814</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2815"><td class="num" id="LN2815">2815</td><td class="line"> g_free (recent_data-&gt;mime_type);</td></tr>
+<tr class="codeline" data-linenumber="2816"><td class="num" id="LN2816">2816</td><td class="line"> g_free (recent_data);</td></tr>
+<tr class="codeline" data-linenumber="2817"><td class="num" id="LN2817">2817</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2818"><td class="num" id="LN2818">2818</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="2819"><td class="num" id="LN2819">2819</td><td class="line"> gtk_recent_manager_add_item (gtk_recent_manager_get_default (), uri);</td></tr>
+<tr class="codeline" data-linenumber="2820"><td class="num" id="LN2820">2820</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2821"><td class="num" id="LN2821">2821</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2822"><td class="num" id="LN2822">2822</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2823"><td class="num" id="LN2823">2823</td><td class="line">fr_window_remove_from_recent_list (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="2824"><td class="num" id="LN2824">2824</td><td class="line"> <span class='keyword'>char</span> *filename)</td></tr>
+<tr class="codeline" data-linenumber="2825"><td class="num" id="LN2825">2825</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2826"><td class="num" id="LN2826">2826</td><td class="line"> <span class='keyword'>if</span> (filename != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2827"><td class="num" id="LN2827">2827</td><td class="line"> gtk_recent_manager_remove_item (gtk_recent_manager_get_default (), filename, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2828"><td class="num" id="LN2828">2828</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2829"><td class="num" id="LN2829">2829</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2830"><td class="num" id="LN2830">2830</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2831"><td class="num" id="LN2831">2831</td><td class="line">error_dialog_response_cb (GtkDialog *dialog,</td></tr>
+<tr class="codeline" data-linenumber="2832"><td class="num" id="LN2832">2832</td><td class="line"> gint arg1,</td></tr>
+<tr class="codeline" data-linenumber="2833"><td class="num" id="LN2833">2833</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="2834"><td class="num" id="LN2834">2834</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2835"><td class="num" id="LN2835">2835</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="2836"><td class="num" id="LN2836">2836</td><td class="line"> GtkWindow *dialog_parent = window-&gt;priv-&gt;error_dialog_parent;</td></tr>
+<tr class="codeline" data-linenumber="2837"><td class="num" id="LN2837">2837</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2838"><td class="num" id="LN2838">2838</td><td class="line"> window-&gt;priv-&gt;showing_error_dialog = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2839"><td class="num" id="LN2839">2839</td><td class="line"> window-&gt;priv-&gt;error_dialog_parent = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2840"><td class="num" id="LN2840">2840</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2841"><td class="num" id="LN2841">2841</td><td class="line"> <span class='keyword'>if</span> ((dialog_parent != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (gtk_widget_get_toplevel (<span class='macro'>GTK_WIDGET (dialog_parent)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog_parent)), ((gtk_widget_get_type ()))))))</span></span>) != (GtkWidget*) dialog_parent))</td></tr>
+<tr class="codeline" data-linenumber="2842"><td class="num" id="LN2842">2842</td><td class="line"> gtk_window_set_modal (dialog_parent, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2843"><td class="num" id="LN2843">2843</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (dialog)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2844"><td class="num" id="LN2844">2844</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2845"><td class="num" id="LN2845">2845</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;destroy_with_error_dialog)</td></tr>
+<tr class="codeline" data-linenumber="2846"><td class="num" id="LN2846">2846</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2847"><td class="num" id="LN2847">2847</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2848"><td class="num" id="LN2848">2848</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2849"><td class="num" id="LN2849">2849</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2850"><td class="num" id="LN2850">2850</td><td class="line">fr_window_show_error_dialog (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="2851"><td class="num" id="LN2851">2851</td><td class="line"> GtkWidget *dialog,</td></tr>
+<tr class="codeline" data-linenumber="2852"><td class="num" id="LN2852">2852</td><td class="line"> GtkWindow *dialog_parent,</td></tr>
+<tr class="codeline" data-linenumber="2853"><td class="num" id="LN2853">2853</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *details)</td></tr>
+<tr class="codeline" data-linenumber="2854"><td class="num" id="LN2854">2854</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2855"><td class="num" id="LN2855">2855</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;batch_mode &amp;&amp; ! window-&gt;priv-&gt;use_progress_dialog) {</td></tr>
+<tr class="codeline" data-linenumber="2856"><td class="num" id="LN2856">2856</td><td class="line"> GError *error;</td></tr>
+<tr class="codeline" data-linenumber="2857"><td class="num" id="LN2857">2857</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2858"><td class="num" id="LN2858">2858</td><td class="line"> error = g_error_new_literal (<span class='macro'>FR_ERROR<span class='macro_popup'>fr_error_quark ()</span></span>, FR_PROC_ERROR_GENERIC, details ? details : <span class='macro'>_(<span class='string_literal'>"Command exited abnormally."</span>)<span class='macro_popup'>gettext ("Command exited abnormally.")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2859"><td class="num" id="LN2859">2859</td><td class="line"> g_signal_emit (window,</td></tr>
+<tr class="codeline" data-linenumber="2860"><td class="num" id="LN2860">2860</td><td class="line"> fr_window_signals[READY],</td></tr>
+<tr class="codeline" data-linenumber="2861"><td class="num" id="LN2861">2861</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="2862"><td class="num" id="LN2862">2862</td><td class="line"> error);</td></tr>
+<tr class="codeline" data-linenumber="2863"><td class="num" id="LN2863">2863</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2864"><td class="num" id="LN2864">2864</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2865"><td class="num" id="LN2865">2865</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2866"><td class="num" id="LN2866">2866</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2867"><td class="num" id="LN2867">2867</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2868"><td class="num" id="LN2868">2868</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2869"><td class="num" id="LN2869">2869</td><td class="line"> close_progress_dialog (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2870"><td class="num" id="LN2870">2870</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2871"><td class="num" id="LN2871">2871</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;batch_mode)</td></tr>
+<tr class="codeline" data-linenumber="2872"><td class="num" id="LN2872">2872</td><td class="line"> fr_window_destroy_with_error_dialog (window);</td></tr>
+<tr class="codeline" data-linenumber="2873"><td class="num" id="LN2873">2873</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2874"><td class="num" id="LN2874">2874</td><td class="line"> <span class='keyword'>if</span> (dialog_parent != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2875"><td class="num" id="LN2875">2875</td><td class="line"> gtk_window_set_modal (dialog_parent, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2876"><td class="num" id="LN2876">2876</td><td class="line"> <span class='macro'>g_signal_connect (dialog,<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>error_dialog_response_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2877"><td class="num" id="LN2877">2877</td><td class="line"> <span class='string_literal'><span class='macro'>"response"</span>,<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>error_dialog_response_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2878"><td class="num" id="LN2878">2878</td><td class="line"> <span class='macro'>G_CALLBACK (error_dialog_response_cb),<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>error_dialog_response_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2879"><td class="num" id="LN2879">2879</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>error_dialog_response_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2880"><td class="num" id="LN2880">2880</td><td class="line"> gtk_window_set_modal (<span class='macro'>GTK_WINDOW (dialog)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_window_get_type ()))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2881"><td class="num" id="LN2881">2881</td><td class="line"> gtk_widget_show (dialog);</td></tr>
+<tr class="codeline" data-linenumber="2882"><td class="num" id="LN2882">2882</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2883"><td class="num" id="LN2883">2883</td><td class="line"> window-&gt;priv-&gt;showing_error_dialog = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2884"><td class="num" id="LN2884">2884</td><td class="line"> window-&gt;priv-&gt;error_dialog_parent = dialog_parent;</td></tr>
+<tr class="codeline" data-linenumber="2885"><td class="num" id="LN2885">2885</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2886"><td class="num" id="LN2886">2886</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2887"><td class="num" id="LN2887">2887</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2888"><td class="num" id="LN2888">2888</td><td class="line">fr_window_destroy_with_error_dialog (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2889"><td class="num" id="LN2889">2889</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2890"><td class="num" id="LN2890">2890</td><td class="line"> window-&gt;priv-&gt;destroy_with_error_dialog = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2891"><td class="num" id="LN2891">2891</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2892"><td class="num" id="LN2892">2892</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2893"><td class="num" id="LN2893">2893</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="2894"><td class="num" id="LN2894">2894</td><td class="line">handle_errors (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="2895"><td class="num" id="LN2895">2895</td><td class="line"> FrArchive *archive,</td></tr>
+<tr class="codeline" data-linenumber="2896"><td class="num" id="LN2896">2896</td><td class="line"> FrAction action,</td></tr>
+<tr class="codeline" data-linenumber="2897"><td class="num" id="LN2897">2897</td><td class="line"> FrProcError *error)</td></tr>
+<tr class="codeline" data-linenumber="2898"><td class="num" id="LN2898">2898</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2899"><td class="num" id="LN2899">2899</td><td class="line"> <span class='keyword'>if</span> (error-&gt;type == FR_PROC_ERROR_ASK_PASSWORD) {</td></tr>
+<tr class="codeline" data-linenumber="2900"><td class="num" id="LN2900">2900</td><td class="line"> close_progress_dialog (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2901"><td class="num" id="LN2901">2901</td><td class="line"> dlg_ask_password (window);</td></tr>
+<tr class="codeline" data-linenumber="2902"><td class="num" id="LN2902">2902</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2903"><td class="num" id="LN2903">2903</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2904"><td class="num" id="LN2904">2904</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (error-&gt;type == FR_PROC_ERROR_UNSUPPORTED_FORMAT) {</td></tr>
+<tr class="codeline" data-linenumber="2905"><td class="num" id="LN2905">2905</td><td class="line"> close_progress_dialog (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2906"><td class="num" id="LN2906">2906</td><td class="line"> dlg_package_installer (window, archive, action);</td></tr>
+<tr class="codeline" data-linenumber="2907"><td class="num" id="LN2907">2907</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2908"><td class="num" id="LN2908">2908</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2909"><td class="num" id="LN2909">2909</td><td class="line"><span class='directive'>#if 0</span></td></tr>
+<tr class="codeline" data-linenumber="2910"><td class="num" id="LN2910">2910</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (error-&gt;type == FR_PROC_ERROR_BAD_CHARSET) {</td></tr>
+<tr class="codeline" data-linenumber="2911"><td class="num" id="LN2911">2911</td><td class="line"> close_progress_dialog (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2912"><td class="num" id="LN2912">2912</td><td class="line"> <span class='comment'>/* dlg_ask_archive_charset (window); FIXME: implement after feature freeze */</span></td></tr>
+<tr class="codeline" data-linenumber="2913"><td class="num" id="LN2913">2913</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2914"><td class="num" id="LN2914">2914</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2915"><td class="num" id="LN2915">2915</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="2916"><td class="num" id="LN2916">2916</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (error-&gt;type == FR_PROC_ERROR_STOPPED) {</td></tr>
+<tr class="codeline" data-linenumber="2917"><td class="num" id="LN2917">2917</td><td class="line"> <span class='comment'>/* nothing */</span></td></tr>
+<tr class="codeline" data-linenumber="2918"><td class="num" id="LN2918">2918</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2919"><td class="num" id="LN2919">2919</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (error-&gt;type != FR_PROC_ERROR_NONE) {</td></tr>
+<tr class="codeline" data-linenumber="2920"><td class="num" id="LN2920">2920</td><td class="line"> <span class='keyword'>char</span> *msg = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2921"><td class="num" id="LN2921">2921</td><td class="line"> <span class='keyword'>char</span> *utf8_name;</td></tr>
+<tr class="codeline" data-linenumber="2922"><td class="num" id="LN2922">2922</td><td class="line"> <span class='keyword'>char</span> *details = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2923"><td class="num" id="LN2923">2923</td><td class="line"> GtkWindow *dialog_parent;</td></tr>
+<tr class="codeline" data-linenumber="2924"><td class="num" id="LN2924">2924</td><td class="line"> GtkWidget *dialog;</td></tr>
+<tr class="codeline" data-linenumber="2925"><td class="num" id="LN2925">2925</td><td class="line"> FrProcess *process = archive-&gt;process;</td></tr>
+<tr class="codeline" data-linenumber="2926"><td class="num" id="LN2926">2926</td><td class="line"> GList *output = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2927"><td class="num" id="LN2927">2927</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2928"><td class="num" id="LN2928">2928</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;batch_mode) {</td></tr>
+<tr class="codeline" data-linenumber="2929"><td class="num" id="LN2929">2929</td><td class="line"> dialog_parent = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2930"><td class="num" id="LN2930">2930</td><td class="line"> window-&gt;priv-&gt;load_error_parent_window = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2931"><td class="num" id="LN2931">2931</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2932"><td class="num" id="LN2932">2932</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="2933"><td class="num" id="LN2933">2933</td><td class="line"> dialog_parent = (GtkWindow *) window;</td></tr>
+<tr class="codeline" data-linenumber="2934"><td class="num" id="LN2934">2934</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;load_error_parent_window == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2935"><td class="num" id="LN2935">2935</td><td class="line"> window-&gt;priv-&gt;load_error_parent_window = (GtkWindow *) window;</td></tr>
+<tr class="codeline" data-linenumber="2936"><td class="num" id="LN2936">2936</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2937"><td class="num" id="LN2937">2937</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2938"><td class="num" id="LN2938">2938</td><td class="line"> <span class='keyword'>if</span> ((action == FR_ACTION_LISTING_CONTENT) || (action == FR_ACTION_LOADING_ARCHIVE))</td></tr>
+<tr class="codeline" data-linenumber="2939"><td class="num" id="LN2939">2939</td><td class="line"> fr_window_archive_close (window);</td></tr>
+<tr class="codeline" data-linenumber="2940"><td class="num" id="LN2940">2940</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2941"><td class="num" id="LN2941">2941</td><td class="line"> <span class='keyword'>switch</span> (action) {</td></tr>
+<tr class="codeline" data-linenumber="2942"><td class="num" id="LN2942">2942</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_CREATING_NEW_ARCHIVE:</td></tr>
+<tr class="codeline" data-linenumber="2943"><td class="num" id="LN2943">2943</td><td class="line"> dialog_parent = window-&gt;priv-&gt;load_error_parent_window;</td></tr>
+<tr class="codeline" data-linenumber="2944"><td class="num" id="LN2944">2944</td><td class="line"> msg = <span class='macro'>_(<span class='string_literal'>"Could not create the archive"</span>)<span class='macro_popup'>gettext ("Could not create the archive")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2945"><td class="num" id="LN2945">2945</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2946"><td class="num" id="LN2946">2946</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2947"><td class="num" id="LN2947">2947</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_EXTRACTING_FILES:</td></tr>
+<tr class="codeline" data-linenumber="2948"><td class="num" id="LN2948">2948</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_COPYING_FILES_TO_REMOTE:</td></tr>
+<tr class="codeline" data-linenumber="2949"><td class="num" id="LN2949">2949</td><td class="line"> msg = <span class='macro'>_(<span class='string_literal'>"An error occurred while extracting files."</span>)<span class='macro_popup'>gettext ("An error occurred while extracting files.")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2950"><td class="num" id="LN2950">2950</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2951"><td class="num" id="LN2951">2951</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2952"><td class="num" id="LN2952">2952</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_LOADING_ARCHIVE:</td></tr>
+<tr class="codeline" data-linenumber="2953"><td class="num" id="LN2953">2953</td><td class="line"> dialog_parent = window-&gt;priv-&gt;load_error_parent_window;</td></tr>
+<tr class="codeline" data-linenumber="2954"><td class="num" id="LN2954">2954</td><td class="line"> utf8_name = g_uri_display_basename (window-&gt;priv-&gt;archive_uri);</td></tr>
+<tr class="codeline" data-linenumber="2955"><td class="num" id="LN2955">2955</td><td class="line"> msg = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Could not open \"%s\""</span>)<span class='macro_popup'>gettext ("Could not open \"%s\"")</span></span>, utf8_name);</td></tr>
+<tr class="codeline" data-linenumber="2956"><td class="num" id="LN2956">2956</td><td class="line"> g_free (utf8_name);</td></tr>
+<tr class="codeline" data-linenumber="2957"><td class="num" id="LN2957">2957</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2958"><td class="num" id="LN2958">2958</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2959"><td class="num" id="LN2959">2959</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_LISTING_CONTENT:</td></tr>
+<tr class="codeline" data-linenumber="2960"><td class="num" id="LN2960">2960</td><td class="line"> msg = <span class='macro'>_(<span class='string_literal'>"An error occurred while loading the archive."</span>)<span class='macro_popup'>gettext ("An error occurred while loading the archive.")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2961"><td class="num" id="LN2961">2961</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2962"><td class="num" id="LN2962">2962</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2963"><td class="num" id="LN2963">2963</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_DELETING_FILES:</td></tr>
+<tr class="codeline" data-linenumber="2964"><td class="num" id="LN2964">2964</td><td class="line"> msg = <span class='macro'>_(<span class='string_literal'>"An error occurred while deleting files from the archive."</span>)<span class='macro_popup'>gettext ("An error occurred while deleting files from the archive."<br>)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2965"><td class="num" id="LN2965">2965</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2966"><td class="num" id="LN2966">2966</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2967"><td class="num" id="LN2967">2967</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_ADDING_FILES:</td></tr>
+<tr class="codeline" data-linenumber="2968"><td class="num" id="LN2968">2968</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_GETTING_FILE_LIST:</td></tr>
+<tr class="codeline" data-linenumber="2969"><td class="num" id="LN2969">2969</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_COPYING_FILES_FROM_REMOTE:</td></tr>
+<tr class="codeline" data-linenumber="2970"><td class="num" id="LN2970">2970</td><td class="line"> msg = <span class='macro'>_(<span class='string_literal'>"An error occurred while adding files to the archive."</span>)<span class='macro_popup'>gettext ("An error occurred while adding files to the archive."<br>)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2971"><td class="num" id="LN2971">2971</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2972"><td class="num" id="LN2972">2972</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2973"><td class="num" id="LN2973">2973</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_TESTING_ARCHIVE:</td></tr>
+<tr class="codeline" data-linenumber="2974"><td class="num" id="LN2974">2974</td><td class="line"> msg = <span class='macro'>_(<span class='string_literal'>"An error occurred while testing archive."</span>)<span class='macro_popup'>gettext ("An error occurred while testing archive.")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2975"><td class="num" id="LN2975">2975</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2976"><td class="num" id="LN2976">2976</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2977"><td class="num" id="LN2977">2977</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_SAVING_REMOTE_ARCHIVE:</td></tr>
+<tr class="codeline" data-linenumber="2978"><td class="num" id="LN2978">2978</td><td class="line"> msg = <span class='macro'>_(<span class='string_literal'>"An error occurred while saving the archive."</span>)<span class='macro_popup'>gettext ("An error occurred while saving the archive.")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2979"><td class="num" id="LN2979">2979</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2980"><td class="num" id="LN2980">2980</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2981"><td class="num" id="LN2981">2981</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="2982"><td class="num" id="LN2982">2982</td><td class="line"> msg = <span class='macro'>_(<span class='string_literal'>"An error occurred."</span>)<span class='macro_popup'>gettext ("An error occurred.")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2983"><td class="num" id="LN2983">2983</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2984"><td class="num" id="LN2984">2984</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2985"><td class="num" id="LN2985">2985</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2986"><td class="num" id="LN2986">2986</td><td class="line"> <span class='keyword'>switch</span> (error-&gt;type) {</td></tr>
+<tr class="codeline" data-linenumber="2987"><td class="num" id="LN2987">2987</td><td class="line"> <span class='keyword'>case</span> FR_PROC_ERROR_COMMAND_NOT_FOUND:</td></tr>
+<tr class="codeline" data-linenumber="2988"><td class="num" id="LN2988">2988</td><td class="line"> details = <span class='macro'>_(<span class='string_literal'>"Command not found."</span>)<span class='macro_popup'>gettext ("Command not found.")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2989"><td class="num" id="LN2989">2989</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2990"><td class="num" id="LN2990">2990</td><td class="line"> <span class='keyword'>case</span> FR_PROC_ERROR_EXITED_ABNORMALLY:</td></tr>
+<tr class="codeline" data-linenumber="2991"><td class="num" id="LN2991">2991</td><td class="line"> details = <span class='macro'>_(<span class='string_literal'>"Command exited abnormally."</span>)<span class='macro_popup'>gettext ("Command exited abnormally.")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2992"><td class="num" id="LN2992">2992</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2993"><td class="num" id="LN2993">2993</td><td class="line"> <span class='keyword'>case</span> FR_PROC_ERROR_SPAWN:</td></tr>
+<tr class="codeline" data-linenumber="2994"><td class="num" id="LN2994">2994</td><td class="line"> details = error-&gt;gerror-&gt;message;</td></tr>
+<tr class="codeline" data-linenumber="2995"><td class="num" id="LN2995">2995</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2996"><td class="num" id="LN2996">2996</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="2997"><td class="num" id="LN2997">2997</td><td class="line"> <span class='keyword'>if</span> (error-&gt;gerror != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2998"><td class="num" id="LN2998">2998</td><td class="line"> details = error-&gt;gerror-&gt;message;</td></tr>
+<tr class="codeline" data-linenumber="2999"><td class="num" id="LN2999">2999</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="3000"><td class="num" id="LN3000">3000</td><td class="line"> details = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3001"><td class="num" id="LN3001">3001</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="3002"><td class="num" id="LN3002">3002</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3003"><td class="num" id="LN3003">3003</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3004"><td class="num" id="LN3004">3004</td><td class="line"> <span class='keyword'>if</span> (error-&gt;type != FR_PROC_ERROR_GENERIC)</td></tr>
+<tr class="codeline" data-linenumber="3005"><td class="num" id="LN3005">3005</td><td class="line"> output = (process-&gt;err.raw != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) ? process-&gt;err.raw : process-&gt;out.raw;</td></tr>
+<tr class="codeline" data-linenumber="3006"><td class="num" id="LN3006">3006</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3007"><td class="num" id="LN3007">3007</td><td class="line"> dialog = _gtk_error_dialog_new (dialog_parent,</td></tr>
+<tr class="codeline" data-linenumber="3008"><td class="num" id="LN3008">3008</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="3009"><td class="num" id="LN3009">3009</td><td class="line"> output,</td></tr>
+<tr class="codeline" data-linenumber="3010"><td class="num" id="LN3010">3010</td><td class="line"> msg,</td></tr>
+<tr class="codeline" data-linenumber="3011"><td class="num" id="LN3011">3011</td><td class="line"> ((details != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) ? <span class='string_literal'>"%s"</span> : <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>),</td></tr>
+<tr class="codeline" data-linenumber="3012"><td class="num" id="LN3012">3012</td><td class="line"> details);</td></tr>
+<tr class="codeline" data-linenumber="3013"><td class="num" id="LN3013">3013</td><td class="line"> fr_window_show_error_dialog (window, dialog, dialog_parent, details);</td></tr>
+<tr class="codeline" data-linenumber="3014"><td class="num" id="LN3014">3014</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3015"><td class="num" id="LN3015">3015</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3016"><td class="num" id="LN3016">3016</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3017"><td class="num" id="LN3017">3017</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3018"><td class="num" id="LN3018">3018</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3019"><td class="num" id="LN3019">3019</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3020"><td class="num" id="LN3020">3020</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3021"><td class="num" id="LN3021">3021</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3022"><td class="num" id="LN3022">3022</td><td class="line">convert__action_performed (FrArchive *archive,</td></tr>
+<tr class="codeline" data-linenumber="3023"><td class="num" id="LN3023">3023</td><td class="line"> FrAction action,</td></tr>
+<tr class="codeline" data-linenumber="3024"><td class="num" id="LN3024">3024</td><td class="line"> FrProcError *error,</td></tr>
+<tr class="codeline" data-linenumber="3025"><td class="num" id="LN3025">3025</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="3026"><td class="num" id="LN3026">3026</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3027"><td class="num" id="LN3027">3027</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="3028"><td class="num" id="LN3028">3028</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3029"><td class="num" id="LN3029">3029</td><td class="line"><span class='directive'>#ifdef MATE_ENABLE_DEBUG</span></td></tr>
+<tr class="codeline" data-linenumber="3030"><td class="num" id="LN3030">3030</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 3030, __FUNCTION__</span></span>, <span class='string_literal'>"%s [CONVERT::DONE] (FR::Window)\n"</span>, get_action_name (action));</td></tr>
+<tr class="codeline" data-linenumber="3031"><td class="num" id="LN3031">3031</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="3032"><td class="num" id="LN3032">3032</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3033"><td class="num" id="LN3033">3033</td><td class="line"> <span class='keyword'>if</span> ((action == FR_ACTION_GETTING_FILE_LIST) || (action == FR_ACTION_ADDING_FILES)) {</td></tr>
+<tr class="codeline" data-linenumber="3034"><td class="num" id="LN3034">3034</td><td class="line"> fr_window_stop_activity_mode (window);</td></tr>
+<tr class="codeline" data-linenumber="3035"><td class="num" id="LN3035">3035</td><td class="line"> fr_window_pop_message (window);</td></tr>
+<tr class="codeline" data-linenumber="3036"><td class="num" id="LN3036">3036</td><td class="line"> close_progress_dialog (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3037"><td class="num" id="LN3037">3037</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3038"><td class="num" id="LN3038">3038</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3039"><td class="num" id="LN3039">3039</td><td class="line"> <span class='keyword'>if</span> (action != FR_ACTION_ADDING_FILES)</td></tr>
+<tr class="codeline" data-linenumber="3040"><td class="num" id="LN3040">3040</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3041"><td class="num" id="LN3041">3041</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3042"><td class="num" id="LN3042">3042</td><td class="line"> handle_errors (window, archive, action, error);</td></tr>
+<tr class="codeline" data-linenumber="3043"><td class="num" id="LN3043">3043</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3044"><td class="num" id="LN3044">3044</td><td class="line"> <span class='keyword'>if</span> (error-&gt;type == FR_PROC_ERROR_NONE)</td></tr>
+<tr class="codeline" data-linenumber="3045"><td class="num" id="LN3045">3045</td><td class="line"> open_progress_dialog_with_open_archive (window);</td></tr>
+<tr class="codeline" data-linenumber="3046"><td class="num" id="LN3046">3046</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3047"><td class="num" id="LN3047">3047</td><td class="line"> remove_local_directory (window-&gt;priv-&gt;convert_data.temp_dir);</td></tr>
+<tr class="codeline" data-linenumber="3048"><td class="num" id="LN3048">3048</td><td class="line"> fr_window_convert_data_free (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3049"><td class="num" id="LN3049">3049</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3050"><td class="num" id="LN3050">3050</td><td class="line"> fr_window_update_sensitivity (window);</td></tr>
+<tr class="codeline" data-linenumber="3051"><td class="num" id="LN3051">3051</td><td class="line"> fr_window_update_statusbar_list_info (window);</td></tr>
+<tr class="codeline" data-linenumber="3052"><td class="num" id="LN3052">3052</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3053"><td class="num" id="LN3053">3053</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3054"><td class="num" id="LN3054">3054</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> fr_window_exec_next_batch_action (FrWindow *window);</td></tr>
+<tr class="codeline" data-linenumber="3055"><td class="num" id="LN3055">3055</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3056"><td class="num" id="LN3056">3056</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3057"><td class="num" id="LN3057">3057</td><td class="line">action_performed (FrArchive *archive,</td></tr>
+<tr class="codeline" data-linenumber="3058"><td class="num" id="LN3058">3058</td><td class="line"> FrAction action,</td></tr>
+<tr class="codeline" data-linenumber="3059"><td class="num" id="LN3059">3059</td><td class="line"> FrProcError *error,</td></tr>
+<tr class="codeline" data-linenumber="3060"><td class="num" id="LN3060">3060</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="3061"><td class="num" id="LN3061">3061</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3062"><td class="num" id="LN3062">3062</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="3063"><td class="num" id="LN3063">3063</td><td class="line"> gboolean continue_batch = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3064"><td class="num" id="LN3064">3064</td><td class="line"> <span class='keyword'>char</span> *archive_dir;</td></tr>
+<tr class="codeline" data-linenumber="3065"><td class="num" id="LN3065">3065</td><td class="line"> gboolean temp_dir;</td></tr>
+<tr class="codeline" data-linenumber="3066"><td class="num" id="LN3066">3066</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3067"><td class="num" id="LN3067">3067</td><td class="line"><span class='directive'>#ifdef MATE_ENABLE_DEBUG</span></td></tr>
+<tr class="codeline" data-linenumber="3068"><td class="num" id="LN3068">3068</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 3068, __FUNCTION__</span></span>, <span class='string_literal'>"%s [DONE] (FR::Window)\n"</span>, get_action_name (action));</td></tr>
+<tr class="codeline" data-linenumber="3069"><td class="num" id="LN3069">3069</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="3070"><td class="num" id="LN3070">3070</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3071"><td class="num" id="LN3071">3071</td><td class="line"> fr_window_stop_activity_mode (window);</td></tr>
+<tr class="codeline" data-linenumber="3072"><td class="num" id="LN3072">3072</td><td class="line"> fr_window_pop_message (window);</td></tr>
+<tr class="codeline" data-linenumber="3073"><td class="num" id="LN3073">3073</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3074"><td class="num" id="LN3074">3074</td><td class="line"> continue_batch = handle_errors (window, archive, action, error);</td></tr>
+<tr class="codeline" data-linenumber="3075"><td class="num" id="LN3075">3075</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3076"><td class="num" id="LN3076">3076</td><td class="line"> <span class='keyword'>if</span> ((error-&gt;type == FR_PROC_ERROR_ASK_PASSWORD)</td></tr>
+<tr class="codeline" data-linenumber="3077"><td class="num" id="LN3077">3077</td><td class="line"> || (error-&gt;type == FR_PROC_ERROR_UNSUPPORTED_FORMAT)</td></tr>
+<tr class="codeline" data-linenumber="3078"><td class="num" id="LN3078">3078</td><td class="line"> <span class='comment'>/*|| (error-&gt;type == FR_PROC_ERROR_BAD_CHARSET)*/</span>)</td></tr>
+<tr class="codeline" data-linenumber="3079"><td class="num" id="LN3079">3079</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="3080"><td class="num" id="LN3080">3080</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3081"><td class="num" id="LN3081">3081</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3082"><td class="num" id="LN3082">3082</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3083"><td class="num" id="LN3083">3083</td><td class="line"> <span class='keyword'>switch</span> (action) {</td></tr>
+<tr class="codeline" data-linenumber="3084"><td class="num" id="LN3084">3084</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_CREATING_NEW_ARCHIVE:</td></tr>
+<tr class="codeline" data-linenumber="3085"><td class="num" id="LN3085">3085</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_CREATING_ARCHIVE:</td></tr>
+<tr class="codeline" data-linenumber="3086"><td class="num" id="LN3086">3086</td><td class="line"> close_progress_dialog (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3087"><td class="num" id="LN3087">3087</td><td class="line"> <span class='keyword'>if</span> (error-&gt;type != FR_PROC_ERROR_STOPPED) {</td></tr>
+<tr class="codeline" data-linenumber="3088"><td class="num" id="LN3088">3088</td><td class="line"> fr_window_history_clear (window);</td></tr>
+<tr class="codeline" data-linenumber="3089"><td class="num" id="LN3089">3089</td><td class="line"> fr_window_go_to_location (window, <span class='string_literal'>"/"</span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3090"><td class="num" id="LN3090">3090</td><td class="line"> fr_window_update_dir_tree (window);</td></tr>
+<tr class="codeline" data-linenumber="3091"><td class="num" id="LN3091">3091</td><td class="line"> fr_window_update_title (window);</td></tr>
+<tr class="codeline" data-linenumber="3092"><td class="num" id="LN3092">3092</td><td class="line"> fr_window_update_sensitivity (window);</td></tr>
+<tr class="codeline" data-linenumber="3093"><td class="num" id="LN3093">3093</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3094"><td class="num" id="LN3094">3094</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="3095"><td class="num" id="LN3095">3095</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3096"><td class="num" id="LN3096">3096</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_LOADING_ARCHIVE:</td></tr>
+<tr class="codeline" data-linenumber="3097"><td class="num" id="LN3097">3097</td><td class="line"> close_progress_dialog (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3098"><td class="num" id="LN3098">3098</td><td class="line"> <span class='keyword'>if</span> (error-&gt;type != FR_PROC_ERROR_NONE) {</td></tr>
+<tr class="codeline" data-linenumber="3099"><td class="num" id="LN3099">3099</td><td class="line"> fr_window_remove_from_recent_list (window, window-&gt;priv-&gt;archive_uri);</td></tr>
+<tr class="codeline" data-linenumber="3100"><td class="num" id="LN3100">3100</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;non_interactive) {</td></tr>
+<tr class="codeline" data-linenumber="3101"><td class="num" id="LN3101">3101</td><td class="line"> fr_window_archive_close (window);</td></tr>
+<tr class="codeline" data-linenumber="3102"><td class="num" id="LN3102">3102</td><td class="line"> fr_window_stop_batch (window);</td></tr>
+<tr class="codeline" data-linenumber="3103"><td class="num" id="LN3103">3103</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3104"><td class="num" id="LN3104">3104</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3105"><td class="num" id="LN3105">3105</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="3106"><td class="num" id="LN3106">3106</td><td class="line"> fr_window_add_to_recent_list (window, window-&gt;priv-&gt;archive_uri);</td></tr>
+<tr class="codeline" data-linenumber="3107"><td class="num" id="LN3107">3107</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;non_interactive)</td></tr>
+<tr class="codeline" data-linenumber="3108"><td class="num" id="LN3108">3108</td><td class="line"> gtk_window_present (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3109"><td class="num" id="LN3109">3109</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3110"><td class="num" id="LN3110">3110</td><td class="line"> continue_batch = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3111"><td class="num" id="LN3111">3111</td><td class="line"> g_signal_emit (window,</td></tr>
+<tr class="codeline" data-linenumber="3112"><td class="num" id="LN3112">3112</td><td class="line"> fr_window_signals[ARCHIVE_LOADED],</td></tr>
+<tr class="codeline" data-linenumber="3113"><td class="num" id="LN3113">3113</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="3114"><td class="num" id="LN3114">3114</td><td class="line"> error-&gt;type == FR_PROC_ERROR_NONE);</td></tr>
+<tr class="codeline" data-linenumber="3115"><td class="num" id="LN3115">3115</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="3116"><td class="num" id="LN3116">3116</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3117"><td class="num" id="LN3117">3117</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_LISTING_CONTENT:</td></tr>
+<tr class="codeline" data-linenumber="3118"><td class="num" id="LN3118">3118</td><td class="line"> <span class='comment'>/* update the uri because multi-volume archives can have</span></td></tr>
+<tr class="codeline" data-linenumber="3119"><td class="num" id="LN3119">3119</td><td class="line"> <span class='comment'>* a different name after loading. */</span></td></tr>
+<tr class="codeline" data-linenumber="3120"><td class="num" id="LN3120">3120</td><td class="line"> g_free (window-&gt;priv-&gt;archive_uri);</td></tr>
+<tr class="codeline" data-linenumber="3121"><td class="num" id="LN3121">3121</td><td class="line"> window-&gt;priv-&gt;archive_uri = g_file_get_uri (window-&gt;archive-&gt;file);</td></tr>
+<tr class="codeline" data-linenumber="3122"><td class="num" id="LN3122">3122</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3123"><td class="num" id="LN3123">3123</td><td class="line"> close_progress_dialog (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3124"><td class="num" id="LN3124">3124</td><td class="line"> <span class='keyword'>if</span> (error-&gt;type != FR_PROC_ERROR_NONE) {</td></tr>
+<tr class="codeline" data-linenumber="3125"><td class="num" id="LN3125">3125</td><td class="line"> fr_window_remove_from_recent_list (window, window-&gt;priv-&gt;archive_uri);</td></tr>
+<tr class="codeline" data-linenumber="3126"><td class="num" id="LN3126">3126</td><td class="line"> fr_window_archive_close (window);</td></tr>
+<tr class="codeline" data-linenumber="3127"><td class="num" id="LN3127">3127</td><td class="line"> fr_window_set_password (window, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3128"><td class="num" id="LN3128">3128</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="3129"><td class="num" id="LN3129">3129</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3130"><td class="num" id="LN3130">3130</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3131"><td class="num" id="LN3131">3131</td><td class="line"> archive_dir = remove_level_from_path (window-&gt;priv-&gt;archive_uri);</td></tr>
+<tr class="codeline" data-linenumber="3132"><td class="num" id="LN3132">3132</td><td class="line"> temp_dir = is_temp_dir (archive_dir);</td></tr>
+<tr class="codeline" data-linenumber="3133"><td class="num" id="LN3133">3133</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;archive_present) {</td></tr>
+<tr class="codeline" data-linenumber="3134"><td class="num" id="LN3134">3134</td><td class="line"> window-&gt;priv-&gt;archive_present = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3135"><td class="num" id="LN3135">3135</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3136"><td class="num" id="LN3136">3136</td><td class="line"> fr_window_history_clear (window);</td></tr>
+<tr class="codeline" data-linenumber="3137"><td class="num" id="LN3137">3137</td><td class="line"> fr_window_history_add (window, <span class='string_literal'>"/"</span>);</td></tr>
+<tr class="codeline" data-linenumber="3138"><td class="num" id="LN3138">3138</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3139"><td class="num" id="LN3139">3139</td><td class="line"> <span class='keyword'>if</span> (! temp_dir) {</td></tr>
+<tr class="codeline" data-linenumber="3140"><td class="num" id="LN3140">3140</td><td class="line"> fr_window_set_open_default_dir (window, archive_dir);</td></tr>
+<tr class="codeline" data-linenumber="3141"><td class="num" id="LN3141">3141</td><td class="line"> fr_window_set_add_default_dir (window, archive_dir);</td></tr>
+<tr class="codeline" data-linenumber="3142"><td class="num" id="LN3142">3142</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;freeze_default_dir)</td></tr>
+<tr class="codeline" data-linenumber="3143"><td class="num" id="LN3143">3143</td><td class="line"> fr_window_set_extract_default_dir (window, archive_dir, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3144"><td class="num" id="LN3144">3144</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3145"><td class="num" id="LN3145">3145</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3146"><td class="num" id="LN3146">3146</td><td class="line"> window-&gt;priv-&gt;archive_new = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3147"><td class="num" id="LN3147">3147</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3148"><td class="num" id="LN3148">3148</td><td class="line"> g_free (archive_dir);</td></tr>
+<tr class="codeline" data-linenumber="3149"><td class="num" id="LN3149">3149</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3150"><td class="num" id="LN3150">3150</td><td class="line"> <span class='keyword'>if</span> (! temp_dir)</td></tr>
+<tr class="codeline" data-linenumber="3151"><td class="num" id="LN3151">3151</td><td class="line"> fr_window_add_to_recent_list (window, window-&gt;priv-&gt;archive_uri);</td></tr>
+<tr class="codeline" data-linenumber="3152"><td class="num" id="LN3152">3152</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3153"><td class="num" id="LN3153">3153</td><td class="line"> fr_window_update_title (window);</td></tr>
+<tr class="codeline" data-linenumber="3154"><td class="num" id="LN3154">3154</td><td class="line"> fr_window_go_to_location (window, fr_window_get_current_location (window), <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3155"><td class="num" id="LN3155">3155</td><td class="line"> fr_window_update_dir_tree (window);</td></tr>
+<tr class="codeline" data-linenumber="3156"><td class="num" id="LN3156">3156</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;batch_mode &amp;&amp; window-&gt;priv-&gt;non_interactive)</td></tr>
+<tr class="codeline" data-linenumber="3157"><td class="num" id="LN3157">3157</td><td class="line"> gtk_window_present (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3158"><td class="num" id="LN3158">3158</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="3159"><td class="num" id="LN3159">3159</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3160"><td class="num" id="LN3160">3160</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_DELETING_FILES:</td></tr>
+<tr class="codeline" data-linenumber="3161"><td class="num" id="LN3161">3161</td><td class="line"> close_progress_dialog (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3162"><td class="num" id="LN3162">3162</td><td class="line"> <span class='keyword'>if</span> (error-&gt;type != FR_PROC_ERROR_STOPPED)</td></tr>
+<tr class="codeline" data-linenumber="3163"><td class="num" id="LN3163">3163</td><td class="line"> fr_window_archive_reload (window);</td></tr>
+<tr class="codeline" data-linenumber="3164"><td class="num" id="LN3164">3164</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3165"><td class="num" id="LN3165">3165</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3166"><td class="num" id="LN3166">3166</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_ADDING_FILES:</td></tr>
+<tr class="codeline" data-linenumber="3167"><td class="num" id="LN3167">3167</td><td class="line"> close_progress_dialog (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3168"><td class="num" id="LN3168">3168</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3169"><td class="num" id="LN3169">3169</td><td class="line"> <span class='comment'>/* update the uri because multi-volume archives can have</span></td></tr>
+<tr class="codeline" data-linenumber="3170"><td class="num" id="LN3170">3170</td><td class="line"> <span class='comment'>* a different name after creation. */</span></td></tr>
+<tr class="codeline" data-linenumber="3171"><td class="num" id="LN3171">3171</td><td class="line"> g_free (window-&gt;priv-&gt;archive_uri);</td></tr>
+<tr class="codeline" data-linenumber="3172"><td class="num" id="LN3172">3172</td><td class="line"> window-&gt;priv-&gt;archive_uri = g_file_get_uri (window-&gt;archive-&gt;file);</td></tr>
+<tr class="codeline" data-linenumber="3173"><td class="num" id="LN3173">3173</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3174"><td class="num" id="LN3174">3174</td><td class="line"> <span class='keyword'>if</span> (error-&gt;type == FR_PROC_ERROR_NONE) {</td></tr>
+<tr class="codeline" data-linenumber="3175"><td class="num" id="LN3175">3175</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;archive_new)</td></tr>
+<tr class="codeline" data-linenumber="3176"><td class="num" id="LN3176">3176</td><td class="line"> window-&gt;priv-&gt;archive_new = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3177"><td class="num" id="LN3177">3177</td><td class="line"> fr_window_add_to_recent_list (window, window-&gt;priv-&gt;archive_uri);</td></tr>
+<tr class="codeline" data-linenumber="3178"><td class="num" id="LN3178">3178</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3179"><td class="num" id="LN3179">3179</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;batch_mode &amp;&amp; (error-&gt;type != FR_PROC_ERROR_STOPPED)) {</td></tr>
+<tr class="codeline" data-linenumber="3180"><td class="num" id="LN3180">3180</td><td class="line"> fr_window_archive_reload (window);</td></tr>
+<tr class="codeline" data-linenumber="3181"><td class="num" id="LN3181">3181</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3182"><td class="num" id="LN3182">3182</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3183"><td class="num" id="LN3183">3183</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="3184"><td class="num" id="LN3184">3184</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3185"><td class="num" id="LN3185">3185</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_TESTING_ARCHIVE:</td></tr>
+<tr class="codeline" data-linenumber="3186"><td class="num" id="LN3186">3186</td><td class="line"> close_progress_dialog (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3187"><td class="num" id="LN3187">3187</td><td class="line"> <span class='keyword'>if</span> (error-&gt;type == FR_PROC_ERROR_NONE)</td></tr>
+<tr class="codeline" data-linenumber="3188"><td class="num" id="LN3188">3188</td><td class="line"> fr_window_view_last_output (window, <span class='macro'>_(<span class='string_literal'>"Test Result"</span>)<span class='macro_popup'>gettext ("Test Result")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3189"><td class="num" id="LN3189">3189</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3190"><td class="num" id="LN3190">3190</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3191"><td class="num" id="LN3191">3191</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_EXTRACTING_FILES:</td></tr>
+<tr class="codeline" data-linenumber="3192"><td class="num" id="LN3192">3192</td><td class="line"> <span class='keyword'>if</span> (error-&gt;type != FR_PROC_ERROR_NONE) {</td></tr>
+<tr class="codeline" data-linenumber="3193"><td class="num" id="LN3193">3193</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;convert_data.converting) {</td></tr>
+<tr class="codeline" data-linenumber="3194"><td class="num" id="LN3194">3194</td><td class="line"> remove_local_directory (window-&gt;priv-&gt;convert_data.temp_dir);</td></tr>
+<tr class="codeline" data-linenumber="3195"><td class="num" id="LN3195">3195</td><td class="line"> fr_window_convert_data_free (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3196"><td class="num" id="LN3196">3196</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3197"><td class="num" id="LN3197">3197</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="3198"><td class="num" id="LN3198">3198</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3199"><td class="num" id="LN3199">3199</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;convert_data.converting) {</td></tr>
+<tr class="codeline" data-linenumber="3200"><td class="num" id="LN3200">3200</td><td class="line"> <span class='keyword'>char</span> *source_dir;</td></tr>
+<tr class="codeline" data-linenumber="3201"><td class="num" id="LN3201">3201</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3202"><td class="num" id="LN3202">3202</td><td class="line"> source_dir = g_filename_to_uri (window-&gt;priv-&gt;convert_data.temp_dir, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3203"><td class="num" id="LN3203">3203</td><td class="line"> fr_archive_add_with_wildcard (</td></tr>
+<tr class="codeline" data-linenumber="3204"><td class="num" id="LN3204">3204</td><td class="line"> window-&gt;priv-&gt;convert_data.new_archive,</td></tr>
+<tr class="codeline" data-linenumber="3205"><td class="num" id="LN3205">3205</td><td class="line"> <span class='string_literal'>"*"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3206"><td class="num" id="LN3206">3206</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3207"><td class="num" id="LN3207">3207</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3208"><td class="num" id="LN3208">3208</td><td class="line"> source_dir,</td></tr>
+<tr class="codeline" data-linenumber="3209"><td class="num" id="LN3209">3209</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3210"><td class="num" id="LN3210">3210</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3211"><td class="num" id="LN3211">3211</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3212"><td class="num" id="LN3212">3212</td><td class="line"> window-&gt;priv-&gt;convert_data.password,</td></tr>
+<tr class="codeline" data-linenumber="3213"><td class="num" id="LN3213">3213</td><td class="line"> window-&gt;priv-&gt;convert_data.encrypt_header,</td></tr>
+<tr class="codeline" data-linenumber="3214"><td class="num" id="LN3214">3214</td><td class="line"> window-&gt;priv-&gt;compression,</td></tr>
+<tr class="codeline" data-linenumber="3215"><td class="num" id="LN3215">3215</td><td class="line"> window-&gt;priv-&gt;convert_data.volume_size);</td></tr>
+<tr class="codeline" data-linenumber="3216"><td class="num" id="LN3216">3216</td><td class="line"> g_free (source_dir);</td></tr>
+<tr class="codeline" data-linenumber="3217"><td class="num" id="LN3217">3217</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3218"><td class="num" id="LN3218">3218</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="3219"><td class="num" id="LN3219">3219</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;ask_to_open_destination_after_extraction)</td></tr>
+<tr class="codeline" data-linenumber="3220"><td class="num" id="LN3220">3220</td><td class="line"> open_progress_dialog_with_open_destination (window);</td></tr>
+<tr class="codeline" data-linenumber="3221"><td class="num" id="LN3221">3221</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="3222"><td class="num" id="LN3222">3222</td><td class="line"> close_progress_dialog (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3223"><td class="num" id="LN3223">3223</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3224"><td class="num" id="LN3224">3224</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="3225"><td class="num" id="LN3225">3225</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3226"><td class="num" id="LN3226">3226</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="3227"><td class="num" id="LN3227">3227</td><td class="line"> close_progress_dialog (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3228"><td class="num" id="LN3228">3228</td><td class="line"> continue_batch = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3229"><td class="num" id="LN3229">3229</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="3230"><td class="num" id="LN3230">3230</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3231"><td class="num" id="LN3231">3231</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3232"><td class="num" id="LN3232">3232</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;batch_action == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="3233"><td class="num" id="LN3233">3233</td><td class="line"> fr_window_update_sensitivity (window);</td></tr>
+<tr class="codeline" data-linenumber="3234"><td class="num" id="LN3234">3234</td><td class="line"> fr_window_update_statusbar_list_info (window);</td></tr>
+<tr class="codeline" data-linenumber="3235"><td class="num" id="LN3235">3235</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3236"><td class="num" id="LN3236">3236</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3237"><td class="num" id="LN3237">3237</td><td class="line"> <span class='keyword'>if</span> (continue_batch) {</td></tr>
+<tr class="codeline" data-linenumber="3238"><td class="num" id="LN3238">3238</td><td class="line"> <span class='keyword'>if</span> (error-&gt;type != FR_PROC_ERROR_NONE)</td></tr>
+<tr class="codeline" data-linenumber="3239"><td class="num" id="LN3239">3239</td><td class="line"> fr_window_stop_batch (window);</td></tr>
+<tr class="codeline" data-linenumber="3240"><td class="num" id="LN3240">3240</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="3241"><td class="num" id="LN3241">3241</td><td class="line"> fr_window_exec_next_batch_action (window);</td></tr>
+<tr class="codeline" data-linenumber="3242"><td class="num" id="LN3242">3242</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3243"><td class="num" id="LN3243">3243</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3244"><td class="num" id="LN3244">3244</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3245"><td class="num" id="LN3245">3245</td><td class="line"><span class='comment'>/* -- selections -- */</span></td></tr>
+<tr class="codeline" data-linenumber="3246"><td class="num" id="LN3246">3246</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3247"><td class="num" id="LN3247">3247</td><td class="line"><span class='directive'>#undef DEBUG_GET_DIR_LIST_FROM_PATH</span></td></tr>
+<tr class="codeline" data-linenumber="3248"><td class="num" id="LN3248">3248</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3249"><td class="num" id="LN3249">3249</td><td class="line"><span class='keyword'>static</span> GList *</td></tr>
+<tr class="codeline" data-linenumber="3250"><td class="num" id="LN3250">3250</td><td class="line">get_dir_list_from_path (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="3251"><td class="num" id="LN3251">3251</td><td class="line"> <span class='keyword'>char</span> *path)</td></tr>
+<tr class="codeline" data-linenumber="3252"><td class="num" id="LN3252">3252</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3253"><td class="num" id="LN3253">3253</td><td class="line"> <span class='keyword'>char</span> *dirname;</td></tr>
+<tr class="codeline" data-linenumber="3254"><td class="num" id="LN3254">3254</td><td class="line"> <span class='keyword'>int</span> dirname_l;</td></tr>
+<tr class="codeline" data-linenumber="3255"><td class="num" id="LN3255">3255</td><td class="line"> GList *list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3256"><td class="num" id="LN3256">3256</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="3257"><td class="num" id="LN3257">3257</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3258"><td class="num" id="LN3258">3258</td><td class="line"> <span class='keyword'>if</span> (path[strlen (path) - 1] != '/')</td></tr>
+<tr class="codeline" data-linenumber="3259"><td class="num" id="LN3259">3259</td><td class="line"> dirname = g_strconcat (path, <span class='string_literal'>"/"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3260"><td class="num" id="LN3260">3260</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="3261"><td class="num" id="LN3261">3261</td><td class="line"> dirname = <span class='macro'>g_strdup (path)<span class='macro_popup'>g_strdup_inline (path)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3262"><td class="num" id="LN3262">3262</td><td class="line"> dirname_l = strlen (dirname);</td></tr>
+<tr class="codeline" data-linenumber="3263"><td class="num" id="LN3263">3263</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; window-&gt;archive-&gt;command-&gt;files-&gt;len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="3264"><td class="num" id="LN3264">3264</td><td class="line"> FileData *fd = <span class='macro'>g_ptr_array_index (window-&gt;archive-&gt;command-&gt;files, i)<span class='macro_popup'>((window-&gt;archive-&gt;command-&gt;files)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3265"><td class="num" id="LN3265">3265</td><td class="line"> gboolean matches = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3266"><td class="num" id="LN3266">3266</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3267"><td class="num" id="LN3267">3267</td><td class="line"><span class='directive'>#ifdef DEBUG_GET_DIR_LIST_FROM_PATH</span></td></tr>
+<tr class="codeline" data-linenumber="3268"><td class="num" id="LN3268">3268</td><td class="line"> g_print (<span class='string_literal'>"%s &lt;=&gt; %s (%d)\n"</span>, dirname, fd-&gt;full_path, dirname_l);</td></tr>
+<tr class="codeline" data-linenumber="3269"><td class="num" id="LN3269">3269</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="3270"><td class="num" id="LN3270">3270</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3271"><td class="num" id="LN3271">3271</td><td class="line"> <span class='keyword'>if</span> (fd-&gt;dir) {</td></tr>
+<tr class="codeline" data-linenumber="3272"><td class="num" id="LN3272">3272</td><td class="line"> <span class='keyword'>int</span> full_path_l = strlen (fd-&gt;full_path);</td></tr>
+<tr class="codeline" data-linenumber="3273"><td class="num" id="LN3273">3273</td><td class="line"> <span class='keyword'>if</span> ((full_path_l == dirname_l - 1) &amp;&amp; (strncmp (dirname, fd-&gt;full_path, full_path_l) == 0))</td></tr>
+<tr class="codeline" data-linenumber="3274"><td class="num" id="LN3274">3274</td><td class="line"> <span class='comment'>/* example: dirname is '/path/to/dir/' and fd-&gt;full_path is '/path/to/dir' */</span></td></tr>
+<tr class="codeline" data-linenumber="3275"><td class="num" id="LN3275">3275</td><td class="line"> matches = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3276"><td class="num" id="LN3276">3276</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (strcmp (dirname, fd-&gt;full_path) == 0)</td></tr>
+<tr class="codeline" data-linenumber="3277"><td class="num" id="LN3277">3277</td><td class="line"> matches = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3278"><td class="num" id="LN3278">3278</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3279"><td class="num" id="LN3279">3279</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3280"><td class="num" id="LN3280">3280</td><td class="line"> <span class='keyword'>if</span> (! matches &amp;&amp; strncmp (dirname, fd-&gt;full_path, dirname_l) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="3281"><td class="num" id="LN3281">3281</td><td class="line"> matches = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3282"><td class="num" id="LN3282">3282</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3283"><td class="num" id="LN3283">3283</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3284"><td class="num" id="LN3284">3284</td><td class="line"> <span class='keyword'>if</span> (matches) {</td></tr>
+<tr class="codeline" data-linenumber="3285"><td class="num" id="LN3285">3285</td><td class="line"><span class='directive'>#ifdef DEBUG_GET_DIR_LIST_FROM_PATH</span></td></tr>
+<tr class="codeline" data-linenumber="3286"><td class="num" id="LN3286">3286</td><td class="line"> g_print (<span class='string_literal'>"`-&gt; OK\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="3287"><td class="num" id="LN3287">3287</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="3288"><td class="num" id="LN3288">3288</td><td class="line"> list = g_list_prepend (list, <span class='macro'>g_strdup (fd-&gt;original_path)<span class='macro_popup'>g_strdup_inline (fd-&gt;original_path)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3289"><td class="num" id="LN3289">3289</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3290"><td class="num" id="LN3290">3290</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3291"><td class="num" id="LN3291">3291</td><td class="line"> g_free (dirname);</td></tr>
+<tr class="codeline" data-linenumber="3292"><td class="num" id="LN3292">3292</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3293"><td class="num" id="LN3293">3293</td><td class="line"> <span class='keyword'>return</span> g_list_reverse (list);</td></tr>
+<tr class="codeline" data-linenumber="3294"><td class="num" id="LN3294">3294</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3295"><td class="num" id="LN3295">3295</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3296"><td class="num" id="LN3296">3296</td><td class="line"><span class='keyword'>static</span> GList *</td></tr>
+<tr class="codeline" data-linenumber="3297"><td class="num" id="LN3297">3297</td><td class="line">get_dir_list_from_file_data (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="3298"><td class="num" id="LN3298">3298</td><td class="line"> FileData *fdata)</td></tr>
+<tr class="codeline" data-linenumber="3299"><td class="num" id="LN3299">3299</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3300"><td class="num" id="LN3300">3300</td><td class="line"> <span class='keyword'>char</span> *dirname;</td></tr>
+<tr class="codeline" data-linenumber="3301"><td class="num" id="LN3301">3301</td><td class="line"> GList *list;</td></tr>
+<tr class="codeline" data-linenumber="3302"><td class="num" id="LN3302">3302</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3303"><td class="num" id="LN3303">3303</td><td class="line"> dirname = g_strconcat (fr_window_get_current_location (window),</td></tr>
+<tr class="codeline" data-linenumber="3304"><td class="num" id="LN3304">3304</td><td class="line"> fdata-&gt;list_name,</td></tr>
+<tr class="codeline" data-linenumber="3305"><td class="num" id="LN3305">3305</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3306"><td class="num" id="LN3306">3306</td><td class="line"> list = get_dir_list_from_path (window, dirname);</td></tr>
+<tr class="codeline" data-linenumber="3307"><td class="num" id="LN3307">3307</td><td class="line"> g_free (dirname);</td></tr>
+<tr class="codeline" data-linenumber="3308"><td class="num" id="LN3308">3308</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3309"><td class="num" id="LN3309">3309</td><td class="line"> <span class='keyword'>return</span> list;</td></tr>
+<tr class="codeline" data-linenumber="3310"><td class="num" id="LN3310">3310</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3311"><td class="num" id="LN3311">3311</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3312"><td class="num" id="LN3312">3312</td><td class="line">GList *</td></tr>
+<tr class="codeline" data-linenumber="3313"><td class="num" id="LN3313">3313</td><td class="line">fr_window_get_file_list_selection (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="3314"><td class="num" id="LN3314">3314</td><td class="line"> gboolean recursive,</td></tr>
+<tr class="codeline" data-linenumber="3315"><td class="num" id="LN3315">3315</td><td class="line"> gboolean *has_dirs)</td></tr>
+<tr class="codeline" data-linenumber="3316"><td class="num" id="LN3316">3316</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3317"><td class="num" id="LN3317">3317</td><td class="line"> GtkTreeSelection *selection;</td></tr>
+<tr class="codeline" data-linenumber="3318"><td class="num" id="LN3318">3318</td><td class="line"> GList *selections = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, *list, *scan;</td></tr>
+<tr class="codeline" data-linenumber="3319"><td class="num" id="LN3319">3319</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3320"><td class="num" id="LN3320">3320</td><td class="line"> <span class='macro'>g_return_val_if_fail (window != NULL, NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3321"><td class="num" id="LN3321">3321</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3322"><td class="num" id="LN3322">3322</td><td class="line"> <span class='keyword'>if</span> (has_dirs != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3323"><td class="num" id="LN3323">3323</td><td class="line"> *has_dirs = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3324"><td class="num" id="LN3324">3324</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3325"><td class="num" id="LN3325">3325</td><td class="line"> selection = gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3326"><td class="num" id="LN3326">3326</td><td class="line"> <span class='keyword'>if</span> (selection == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3327"><td class="num" id="LN3327">3327</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3328"><td class="num" id="LN3328">3328</td><td class="line"> gtk_tree_selection_selected_foreach (selection, add_selected_from_list_view, &amp;selections);</td></tr>
+<tr class="codeline" data-linenumber="3329"><td class="num" id="LN3329">3329</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3330"><td class="num" id="LN3330">3330</td><td class="line"> list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3331"><td class="num" id="LN3331">3331</td><td class="line"> <span class='keyword'>for</span> (scan = selections; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="3332"><td class="num" id="LN3332">3332</td><td class="line"> FileData *fd = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="3333"><td class="num" id="LN3333">3333</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3334"><td class="num" id="LN3334">3334</td><td class="line"> <span class='keyword'>if</span> (!fd)</td></tr>
+<tr class="codeline" data-linenumber="3335"><td class="num" id="LN3335">3335</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="3336"><td class="num" id="LN3336">3336</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3337"><td class="num" id="LN3337">3337</td><td class="line"> <span class='keyword'>if</span> (file_data_is_dir (fd)) {</td></tr>
+<tr class="codeline" data-linenumber="3338"><td class="num" id="LN3338">3338</td><td class="line"> <span class='keyword'>if</span> (has_dirs != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3339"><td class="num" id="LN3339">3339</td><td class="line"> *has_dirs = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3340"><td class="num" id="LN3340">3340</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3341"><td class="num" id="LN3341">3341</td><td class="line"> <span class='keyword'>if</span> (recursive)</td></tr>
+<tr class="codeline" data-linenumber="3342"><td class="num" id="LN3342">3342</td><td class="line"> list = g_list_concat (list, get_dir_list_from_file_data (window, fd));</td></tr>
+<tr class="codeline" data-linenumber="3343"><td class="num" id="LN3343">3343</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3344"><td class="num" id="LN3344">3344</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="3345"><td class="num" id="LN3345">3345</td><td class="line"> list = g_list_prepend (list, <span class='macro'>g_strdup (fd-&gt;original_path)<span class='macro_popup'>g_strdup_inline (fd-&gt;original_path)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3346"><td class="num" id="LN3346">3346</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3347"><td class="num" id="LN3347">3347</td><td class="line"> <span class='keyword'>if</span> (selections)</td></tr>
+<tr class="codeline" data-linenumber="3348"><td class="num" id="LN3348">3348</td><td class="line"> g_list_free (selections);</td></tr>
+<tr class="codeline" data-linenumber="3349"><td class="num" id="LN3349">3349</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3350"><td class="num" id="LN3350">3350</td><td class="line"> <span class='keyword'>return</span> g_list_reverse (list);</td></tr>
+<tr class="codeline" data-linenumber="3351"><td class="num" id="LN3351">3351</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3352"><td class="num" id="LN3352">3352</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3353"><td class="num" id="LN3353">3353</td><td class="line">GList *</td></tr>
+<tr class="codeline" data-linenumber="3354"><td class="num" id="LN3354">3354</td><td class="line">fr_window_get_folder_tree_selection (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="3355"><td class="num" id="LN3355">3355</td><td class="line"> gboolean recursive,</td></tr>
+<tr class="codeline" data-linenumber="3356"><td class="num" id="LN3356">3356</td><td class="line"> gboolean *has_dirs)</td></tr>
+<tr class="codeline" data-linenumber="3357"><td class="num" id="LN3357">3357</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3358"><td class="num" id="LN3358">3358</td><td class="line"> GtkTreeSelection *tree_selection;</td></tr>
+<tr class="codeline" data-linenumber="3359"><td class="num" id="LN3359">3359</td><td class="line"> GList *selections, *list, *scan;</td></tr>
+<tr class="codeline" data-linenumber="3360"><td class="num" id="LN3360">3360</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3361"><td class="num" id="LN3361">3361</td><td class="line"> <span class='macro'>g_return_val_if_fail (window != NULL, NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3362"><td class="num" id="LN3362">3362</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3363"><td class="num" id="LN3363">3363</td><td class="line"> <span class='keyword'>if</span> (has_dirs != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3364"><td class="num" id="LN3364">3364</td><td class="line"> *has_dirs = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3365"><td class="num" id="LN3365">3365</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3366"><td class="num" id="LN3366">3366</td><td class="line"> tree_selection = gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;tree_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3367"><td class="num" id="LN3367">3367</td><td class="line"> <span class='keyword'>if</span> (tree_selection == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3368"><td class="num" id="LN3368">3368</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3369"><td class="num" id="LN3369">3369</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3370"><td class="num" id="LN3370">3370</td><td class="line"> selections = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3371"><td class="num" id="LN3371">3371</td><td class="line"> gtk_tree_selection_selected_foreach (tree_selection, add_selected_from_tree_view, &amp;selections);</td></tr>
+<tr class="codeline" data-linenumber="3372"><td class="num" id="LN3372">3372</td><td class="line"> <span class='keyword'>if</span> (selections == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3373"><td class="num" id="LN3373">3373</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3374"><td class="num" id="LN3374">3374</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3375"><td class="num" id="LN3375">3375</td><td class="line"> <span class='keyword'>if</span> (has_dirs != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3376"><td class="num" id="LN3376">3376</td><td class="line"> *has_dirs = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3377"><td class="num" id="LN3377">3377</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3378"><td class="num" id="LN3378">3378</td><td class="line"> list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3379"><td class="num" id="LN3379">3379</td><td class="line"> <span class='keyword'>for</span> (scan = selections; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="3380"><td class="num" id="LN3380">3380</td><td class="line"> <span class='keyword'>char</span> *path = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="3381"><td class="num" id="LN3381">3381</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3382"><td class="num" id="LN3382">3382</td><td class="line"> <span class='keyword'>if</span> (recursive)</td></tr>
+<tr class="codeline" data-linenumber="3383"><td class="num" id="LN3383">3383</td><td class="line"> list = g_list_concat (list, get_dir_list_from_path (window, path));</td></tr>
+<tr class="codeline" data-linenumber="3384"><td class="num" id="LN3384">3384</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3385"><td class="num" id="LN3385">3385</td><td class="line"> path_list_free (selections);</td></tr>
+<tr class="codeline" data-linenumber="3386"><td class="num" id="LN3386">3386</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3387"><td class="num" id="LN3387">3387</td><td class="line"> <span class='keyword'>return</span> g_list_reverse (list);</td></tr>
+<tr class="codeline" data-linenumber="3388"><td class="num" id="LN3388">3388</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3389"><td class="num" id="LN3389">3389</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3390"><td class="num" id="LN3390">3390</td><td class="line">GList *</td></tr>
+<tr class="codeline" data-linenumber="3391"><td class="num" id="LN3391">3391</td><td class="line">fr_window_get_file_list_from_path_list (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="3392"><td class="num" id="LN3392">3392</td><td class="line"> GList *path_list,</td></tr>
+<tr class="codeline" data-linenumber="3393"><td class="num" id="LN3393">3393</td><td class="line"> gboolean *has_dirs)</td></tr>
+<tr class="codeline" data-linenumber="3394"><td class="num" id="LN3394">3394</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3395"><td class="num" id="LN3395">3395</td><td class="line"> GtkTreeModel *model;</td></tr>
+<tr class="codeline" data-linenumber="3396"><td class="num" id="LN3396">3396</td><td class="line"> GList *selections, *list, *scan;</td></tr>
+<tr class="codeline" data-linenumber="3397"><td class="num" id="LN3397">3397</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3398"><td class="num" id="LN3398">3398</td><td class="line"> <span class='macro'>g_return_val_if_fail (window != NULL, NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3399"><td class="num" id="LN3399">3399</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3400"><td class="num" id="LN3400">3400</td><td class="line"> model = <span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3401"><td class="num" id="LN3401">3401</td><td class="line"> selections = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3402"><td class="num" id="LN3402">3402</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3403"><td class="num" id="LN3403">3403</td><td class="line"> <span class='keyword'>if</span> (has_dirs != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3404"><td class="num" id="LN3404">3404</td><td class="line"> *has_dirs = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3405"><td class="num" id="LN3405">3405</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3406"><td class="num" id="LN3406">3406</td><td class="line"> <span class='keyword'>for</span> (scan = path_list; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="3407"><td class="num" id="LN3407">3407</td><td class="line"> GtkTreeRowReference *reference = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="3408"><td class="num" id="LN3408">3408</td><td class="line"> GtkTreePath *path;</td></tr>
+<tr class="codeline" data-linenumber="3409"><td class="num" id="LN3409">3409</td><td class="line"> GtkTreeIter iter;</td></tr>
+<tr class="codeline" data-linenumber="3410"><td class="num" id="LN3410">3410</td><td class="line"> FileData *fdata;</td></tr>
+<tr class="codeline" data-linenumber="3411"><td class="num" id="LN3411">3411</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3412"><td class="num" id="LN3412">3412</td><td class="line"> path = gtk_tree_row_reference_get_path (reference);</td></tr>
+<tr class="codeline" data-linenumber="3413"><td class="num" id="LN3413">3413</td><td class="line"> <span class='keyword'>if</span> (path == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3414"><td class="num" id="LN3414">3414</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="3415"><td class="num" id="LN3415">3415</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3416"><td class="num" id="LN3416">3416</td><td class="line"> <span class='keyword'>if</span> (! gtk_tree_model_get_iter (model, &amp;iter, path))</td></tr>
+<tr class="codeline" data-linenumber="3417"><td class="num" id="LN3417">3417</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="3418"><td class="num" id="LN3418">3418</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3419"><td class="num" id="LN3419">3419</td><td class="line"> gtk_tree_model_get (model, &amp;iter,</td></tr>
+<tr class="codeline" data-linenumber="3420"><td class="num" id="LN3420">3420</td><td class="line"> COLUMN_FILE_DATA, &amp;fdata,</td></tr>
+<tr class="codeline" data-linenumber="3421"><td class="num" id="LN3421">3421</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="3422"><td class="num" id="LN3422">3422</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3423"><td class="num" id="LN3423">3423</td><td class="line"> selections = g_list_prepend (selections, fdata);</td></tr>
+<tr class="codeline" data-linenumber="3424"><td class="num" id="LN3424">3424</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3425"><td class="num" id="LN3425">3425</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3426"><td class="num" id="LN3426">3426</td><td class="line"> list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3427"><td class="num" id="LN3427">3427</td><td class="line"> <span class='keyword'>for</span> (scan = selections; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="3428"><td class="num" id="LN3428">3428</td><td class="line"> FileData *fd = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="3429"><td class="num" id="LN3429">3429</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3430"><td class="num" id="LN3430">3430</td><td class="line"> <span class='keyword'>if</span> (!fd)</td></tr>
+<tr class="codeline" data-linenumber="3431"><td class="num" id="LN3431">3431</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="3432"><td class="num" id="LN3432">3432</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3433"><td class="num" id="LN3433">3433</td><td class="line"> <span class='keyword'>if</span> (file_data_is_dir (fd)) {</td></tr>
+<tr class="codeline" data-linenumber="3434"><td class="num" id="LN3434">3434</td><td class="line"> <span class='keyword'>if</span> (has_dirs != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3435"><td class="num" id="LN3435">3435</td><td class="line"> *has_dirs = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3436"><td class="num" id="LN3436">3436</td><td class="line"> list = g_list_concat (list, get_dir_list_from_file_data (window, fd));</td></tr>
+<tr class="codeline" data-linenumber="3437"><td class="num" id="LN3437">3437</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3438"><td class="num" id="LN3438">3438</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="3439"><td class="num" id="LN3439">3439</td><td class="line"> list = g_list_prepend (list, <span class='macro'>g_strdup (fd-&gt;original_path)<span class='macro_popup'>g_strdup_inline (fd-&gt;original_path)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3440"><td class="num" id="LN3440">3440</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3441"><td class="num" id="LN3441">3441</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3442"><td class="num" id="LN3442">3442</td><td class="line"> <span class='keyword'>if</span> (selections != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3443"><td class="num" id="LN3443">3443</td><td class="line"> g_list_free (selections);</td></tr>
+<tr class="codeline" data-linenumber="3444"><td class="num" id="LN3444">3444</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3445"><td class="num" id="LN3445">3445</td><td class="line"> <span class='keyword'>return</span> g_list_reverse (list);</td></tr>
+<tr class="codeline" data-linenumber="3446"><td class="num" id="LN3446">3446</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3447"><td class="num" id="LN3447">3447</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3448"><td class="num" id="LN3448">3448</td><td class="line">GList *</td></tr>
+<tr class="codeline" data-linenumber="3449"><td class="num" id="LN3449">3449</td><td class="line">fr_window_get_file_list_pattern (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="3450"><td class="num" id="LN3450">3450</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *pattern)</td></tr>
+<tr class="codeline" data-linenumber="3451"><td class="num" id="LN3451">3451</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3452"><td class="num" id="LN3452">3452</td><td class="line"> GRegex **regexps;</td></tr>
+<tr class="codeline" data-linenumber="3453"><td class="num" id="LN3453">3453</td><td class="line"> GList *list;</td></tr>
+<tr class="codeline" data-linenumber="3454"><td class="num" id="LN3454">3454</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="3455"><td class="num" id="LN3455">3455</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3456"><td class="num" id="LN3456">3456</td><td class="line"> <span class='macro'>g_return_val_if_fail (window != NULL, NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3457"><td class="num" id="LN3457">3457</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3458"><td class="num" id="LN3458">3458</td><td class="line"> regexps = search_util_get_regexps (pattern, G_REGEX_CASELESS);</td></tr>
+<tr class="codeline" data-linenumber="3459"><td class="num" id="LN3459">3459</td><td class="line"> list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3460"><td class="num" id="LN3460">3460</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; window-&gt;archive-&gt;command-&gt;files-&gt;len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="3461"><td class="num" id="LN3461">3461</td><td class="line"> FileData *fd = <span class='macro'>g_ptr_array_index (window-&gt;archive-&gt;command-&gt;files, i)<span class='macro_popup'>((window-&gt;archive-&gt;command-&gt;files)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3462"><td class="num" id="LN3462">3462</td><td class="line"> <span class='keyword'>char</span> *utf8_name;</td></tr>
+<tr class="codeline" data-linenumber="3463"><td class="num" id="LN3463">3463</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3464"><td class="num" id="LN3464">3464</td><td class="line"> <span class='comment'>/* FIXME: only files in the current location ? */</span></td></tr>
+<tr class="codeline" data-linenumber="3465"><td class="num" id="LN3465">3465</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3466"><td class="num" id="LN3466">3466</td><td class="line"> <span class='keyword'>if</span> (fd == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3467"><td class="num" id="LN3467">3467</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="3468"><td class="num" id="LN3468">3468</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3469"><td class="num" id="LN3469">3469</td><td class="line"> utf8_name = g_filename_to_utf8 (fd-&gt;name, -1, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3470"><td class="num" id="LN3470">3470</td><td class="line"> <span class='keyword'>if</span> (match_regexps (regexps, utf8_name, 0))</td></tr>
+<tr class="codeline" data-linenumber="3471"><td class="num" id="LN3471">3471</td><td class="line"> list = g_list_prepend (list, <span class='macro'>g_strdup (fd-&gt;original_path)<span class='macro_popup'>g_strdup_inline (fd-&gt;original_path)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3472"><td class="num" id="LN3472">3472</td><td class="line"> g_free (utf8_name);</td></tr>
+<tr class="codeline" data-linenumber="3473"><td class="num" id="LN3473">3473</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3474"><td class="num" id="LN3474">3474</td><td class="line"> free_regexps (regexps);</td></tr>
+<tr class="codeline" data-linenumber="3475"><td class="num" id="LN3475">3475</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3476"><td class="num" id="LN3476">3476</td><td class="line"> <span class='keyword'>return</span> g_list_reverse (list);</td></tr>
+<tr class="codeline" data-linenumber="3477"><td class="num" id="LN3477">3477</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3478"><td class="num" id="LN3478">3478</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3479"><td class="num" id="LN3479">3479</td><td class="line"><span class='keyword'>static</span> GList *</td></tr>
+<tr class="codeline" data-linenumber="3480"><td class="num" id="LN3480">3480</td><td class="line">fr_window_get_file_list (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="3481"><td class="num" id="LN3481">3481</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3482"><td class="num" id="LN3482">3482</td><td class="line"> GList *list;</td></tr>
+<tr class="codeline" data-linenumber="3483"><td class="num" id="LN3483">3483</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="3484"><td class="num" id="LN3484">3484</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3485"><td class="num" id="LN3485">3485</td><td class="line"> <span class='macro'>g_return_val_if_fail (window != NULL, NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3486"><td class="num" id="LN3486">3486</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3487"><td class="num" id="LN3487">3487</td><td class="line"> list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3488"><td class="num" id="LN3488">3488</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; window-&gt;archive-&gt;command-&gt;files-&gt;len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="3489"><td class="num" id="LN3489">3489</td><td class="line"> FileData *fd = <span class='macro'>g_ptr_array_index (window-&gt;archive-&gt;command-&gt;files, i)<span class='macro_popup'>((window-&gt;archive-&gt;command-&gt;files)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3490"><td class="num" id="LN3490">3490</td><td class="line"> list = g_list_prepend (list, <span class='macro'>g_strdup (fd-&gt;original_path)<span class='macro_popup'>g_strdup_inline (fd-&gt;original_path)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3491"><td class="num" id="LN3491">3491</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3492"><td class="num" id="LN3492">3492</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3493"><td class="num" id="LN3493">3493</td><td class="line"> <span class='keyword'>return</span> g_list_reverse (list);</td></tr>
+<tr class="codeline" data-linenumber="3494"><td class="num" id="LN3494">3494</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3495"><td class="num" id="LN3495">3495</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3496"><td class="num" id="LN3496">3496</td><td class="line"><span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="3497"><td class="num" id="LN3497">3497</td><td class="line">fr_window_get_n_selected_files (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="3498"><td class="num" id="LN3498">3498</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3499"><td class="num" id="LN3499">3499</td><td class="line"> <span class='keyword'>return</span> gtk_tree_selection_count_selected_rows (gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="3500"><td class="num" id="LN3500">3500</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3501"><td class="num" id="LN3501">3501</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3502"><td class="num" id="LN3502">3502</td><td class="line"><span class='comment'>/**/</span></td></tr>
+<tr class="codeline" data-linenumber="3503"><td class="num" id="LN3503">3503</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3504"><td class="num" id="LN3504">3504</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="3505"><td class="num" id="LN3505">3505</td><td class="line">dir_tree_button_press_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="3506"><td class="num" id="LN3506">3506</td><td class="line"> GdkEventButton *event,</td></tr>
+<tr class="codeline" data-linenumber="3507"><td class="num" id="LN3507">3507</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="3508"><td class="num" id="LN3508">3508</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3509"><td class="num" id="LN3509">3509</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="3510"><td class="num" id="LN3510">3510</td><td class="line"> GtkTreeSelection *selection;</td></tr>
+<tr class="codeline" data-linenumber="3511"><td class="num" id="LN3511">3511</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3512"><td class="num" id="LN3512">3512</td><td class="line"> <span class='keyword'>if</span> (event-&gt;window != gtk_tree_view_get_bin_window (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;tree_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="3513"><td class="num" id="LN3513">3513</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3514"><td class="num" id="LN3514">3514</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3515"><td class="num" id="LN3515">3515</td><td class="line"> selection = gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;tree_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3516"><td class="num" id="LN3516">3516</td><td class="line"> <span class='keyword'>if</span> (selection == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3517"><td class="num" id="LN3517">3517</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3518"><td class="num" id="LN3518">3518</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3519"><td class="num" id="LN3519">3519</td><td class="line"> <span class='keyword'>if</span> ((event-&gt;type == GDK_BUTTON_PRESS) &amp;&amp; (event-&gt;button == 3)) {</td></tr>
+<tr class="codeline" data-linenumber="3520"><td class="num" id="LN3520">3520</td><td class="line"> GtkTreePath *path;</td></tr>
+<tr class="codeline" data-linenumber="3521"><td class="num" id="LN3521">3521</td><td class="line"> GtkTreeIter iter;</td></tr>
+<tr class="codeline" data-linenumber="3522"><td class="num" id="LN3522">3522</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3523"><td class="num" id="LN3523">3523</td><td class="line"> <span class='keyword'>if</span> (gtk_tree_view_get_path_at_pos (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;tree_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3524"><td class="num" id="LN3524">3524</td><td class="line"> (<span class='keyword'>int</span>) event-&gt;x, (<span class='keyword'>int</span>) event-&gt;y,</td></tr>
+<tr class="codeline" data-linenumber="3525"><td class="num" id="LN3525">3525</td><td class="line"> &amp;path, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="3526"><td class="num" id="LN3526">3526</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3527"><td class="num" id="LN3527">3527</td><td class="line"> <span class='keyword'>if</span> (! gtk_tree_model_get_iter (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;tree_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>, &amp;iter, path)) {</td></tr>
+<tr class="codeline" data-linenumber="3528"><td class="num" id="LN3528">3528</td><td class="line"> gtk_tree_path_free (path);</td></tr>
+<tr class="codeline" data-linenumber="3529"><td class="num" id="LN3529">3529</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3530"><td class="num" id="LN3530">3530</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3531"><td class="num" id="LN3531">3531</td><td class="line"> gtk_tree_path_free (path);</td></tr>
+<tr class="codeline" data-linenumber="3532"><td class="num" id="LN3532">3532</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3533"><td class="num" id="LN3533">3533</td><td class="line"> <span class='keyword'>if</span> (! gtk_tree_selection_iter_is_selected (selection, &amp;iter)) {</td></tr>
+<tr class="codeline" data-linenumber="3534"><td class="num" id="LN3534">3534</td><td class="line"> gtk_tree_selection_unselect_all (selection);</td></tr>
+<tr class="codeline" data-linenumber="3535"><td class="num" id="LN3535">3535</td><td class="line"> gtk_tree_selection_select_iter (selection, &amp;iter);</td></tr>
+<tr class="codeline" data-linenumber="3536"><td class="num" id="LN3536">3536</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3537"><td class="num" id="LN3537">3537</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3538"><td class="num" id="LN3538">3538</td><td class="line"> gtk_menu_popup_at_pointer (<span class='macro'>GTK_MENU (window-&gt;priv-&gt;sidebar_folder_popup_menu)<span class='macro_popup'>((((GtkMenu*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;sidebar_folder_popup_menu)), ((gtk_menu_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3539"><td class="num" id="LN3539">3539</td><td class="line"> (<span class='keyword'>const</span> GdkEvent*) event);</td></tr>
+<tr class="codeline" data-linenumber="3540"><td class="num" id="LN3540">3540</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3541"><td class="num" id="LN3541">3541</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="3542"><td class="num" id="LN3542">3542</td><td class="line"> gtk_tree_selection_unselect_all (selection);</td></tr>
+<tr class="codeline" data-linenumber="3543"><td class="num" id="LN3543">3543</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3544"><td class="num" id="LN3544">3544</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3545"><td class="num" id="LN3545">3545</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3546"><td class="num" id="LN3546">3546</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> ((event-&gt;type == GDK_BUTTON_PRESS) &amp;&amp; (event-&gt;button == 8)) {</td></tr>
+<tr class="codeline" data-linenumber="3547"><td class="num" id="LN3547">3547</td><td class="line"> fr_window_go_back (window);</td></tr>
+<tr class="codeline" data-linenumber="3548"><td class="num" id="LN3548">3548</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3549"><td class="num" id="LN3549">3549</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3550"><td class="num" id="LN3550">3550</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> ((event-&gt;type == GDK_BUTTON_PRESS) &amp;&amp; (event-&gt;button == 9)) {</td></tr>
+<tr class="codeline" data-linenumber="3551"><td class="num" id="LN3551">3551</td><td class="line"> fr_window_go_forward (window);</td></tr>
+<tr class="codeline" data-linenumber="3552"><td class="num" id="LN3552">3552</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3553"><td class="num" id="LN3553">3553</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3554"><td class="num" id="LN3554">3554</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3555"><td class="num" id="LN3555">3555</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3556"><td class="num" id="LN3556">3556</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3557"><td class="num" id="LN3557">3557</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3558"><td class="num" id="LN3558">3558</td><td class="line"><span class='keyword'>static</span> FileData *</td></tr>
+<tr class="codeline" data-linenumber="3559"><td class="num" id="LN3559">3559</td><td class="line">fr_window_get_selected_item_from_file_list (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="3560"><td class="num" id="LN3560">3560</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3561"><td class="num" id="LN3561">3561</td><td class="line"> GtkTreeSelection *tree_selection;</td></tr>
+<tr class="codeline" data-linenumber="3562"><td class="num" id="LN3562">3562</td><td class="line"> GList *selection;</td></tr>
+<tr class="codeline" data-linenumber="3563"><td class="num" id="LN3563">3563</td><td class="line"> FileData *fdata = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3564"><td class="num" id="LN3564">3564</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3565"><td class="num" id="LN3565">3565</td><td class="line"> <span class='macro'>g_return_val_if_fail (window != NULL, NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3566"><td class="num" id="LN3566">3566</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3567"><td class="num" id="LN3567">3567</td><td class="line"> tree_selection = gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3568"><td class="num" id="LN3568">3568</td><td class="line"> <span class='keyword'>if</span> (tree_selection == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3569"><td class="num" id="LN3569">3569</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3570"><td class="num" id="LN3570">3570</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3571"><td class="num" id="LN3571">3571</td><td class="line"> selection = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3572"><td class="num" id="LN3572">3572</td><td class="line"> gtk_tree_selection_selected_foreach (tree_selection, add_selected_from_list_view, &amp;selection);</td></tr>
+<tr class="codeline" data-linenumber="3573"><td class="num" id="LN3573">3573</td><td class="line"> <span class='keyword'>if</span> ((selection == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) || (selection-&gt;next != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="3574"><td class="num" id="LN3574">3574</td><td class="line"> <span class='comment'>/* return NULL if the selection contains more than one entry. */</span></td></tr>
+<tr class="codeline" data-linenumber="3575"><td class="num" id="LN3575">3575</td><td class="line"> g_list_free (selection);</td></tr>
+<tr class="codeline" data-linenumber="3576"><td class="num" id="LN3576">3576</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3577"><td class="num" id="LN3577">3577</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3578"><td class="num" id="LN3578">3578</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3579"><td class="num" id="LN3579">3579</td><td class="line"> fdata = file_data_copy (selection-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="3580"><td class="num" id="LN3580">3580</td><td class="line"> g_list_free (selection);</td></tr>
+<tr class="codeline" data-linenumber="3581"><td class="num" id="LN3581">3581</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3582"><td class="num" id="LN3582">3582</td><td class="line"> <span class='keyword'>return</span> fdata;</td></tr>
+<tr class="codeline" data-linenumber="3583"><td class="num" id="LN3583">3583</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3584"><td class="num" id="LN3584">3584</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3585"><td class="num" id="LN3585">3585</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="3586"><td class="num" id="LN3586">3586</td><td class="line">fr_window_get_selected_folder_in_tree_view (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="3587"><td class="num" id="LN3587">3587</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3588"><td class="num" id="LN3588">3588</td><td class="line"> GtkTreeSelection *tree_selection;</td></tr>
+<tr class="codeline" data-linenumber="3589"><td class="num" id="LN3589">3589</td><td class="line"> GList *selections;</td></tr>
+<tr class="codeline" data-linenumber="3590"><td class="num" id="LN3590">3590</td><td class="line"> <span class='keyword'>char</span> *path = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3591"><td class="num" id="LN3591">3591</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3592"><td class="num" id="LN3592">3592</td><td class="line"> <span class='macro'>g_return_val_if_fail (window != NULL, NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3593"><td class="num" id="LN3593">3593</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3594"><td class="num" id="LN3594">3594</td><td class="line"> tree_selection = gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;tree_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3595"><td class="num" id="LN3595">3595</td><td class="line"> <span class='keyword'>if</span> (tree_selection == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3596"><td class="num" id="LN3596">3596</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3597"><td class="num" id="LN3597">3597</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3598"><td class="num" id="LN3598">3598</td><td class="line"> selections = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3599"><td class="num" id="LN3599">3599</td><td class="line"> gtk_tree_selection_selected_foreach (tree_selection, add_selected_from_tree_view, &amp;selections);</td></tr>
+<tr class="codeline" data-linenumber="3600"><td class="num" id="LN3600">3600</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3601"><td class="num" id="LN3601">3601</td><td class="line"> <span class='keyword'>if</span> (selections != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="3602"><td class="num" id="LN3602">3602</td><td class="line"> path = selections-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="3603"><td class="num" id="LN3603">3603</td><td class="line"> g_list_free (selections);</td></tr>
+<tr class="codeline" data-linenumber="3604"><td class="num" id="LN3604">3604</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3605"><td class="num" id="LN3605">3605</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3606"><td class="num" id="LN3606">3606</td><td class="line"> <span class='keyword'>return</span> path;</td></tr>
+<tr class="codeline" data-linenumber="3607"><td class="num" id="LN3607">3607</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3608"><td class="num" id="LN3608">3608</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3609"><td class="num" id="LN3609">3609</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3610"><td class="num" id="LN3610">3610</td><td class="line">fr_window_current_folder_activated (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="3611"><td class="num" id="LN3611">3611</td><td class="line"> gboolean from_sidebar)</td></tr>
+<tr class="codeline" data-linenumber="3612"><td class="num" id="LN3612">3612</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3613"><td class="num" id="LN3613">3613</td><td class="line"> <span class='keyword'>char</span> *dir_path;</td></tr>
+<tr class="codeline" data-linenumber="3614"><td class="num" id="LN3614">3614</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3615"><td class="num" id="LN3615">3615</td><td class="line"> <span class='keyword'>if</span> (! from_sidebar) {</td></tr>
+<tr class="codeline" data-linenumber="3616"><td class="num" id="LN3616">3616</td><td class="line"> FileData *fdata;</td></tr>
+<tr class="codeline" data-linenumber="3617"><td class="num" id="LN3617">3617</td><td class="line"> <span class='keyword'>char</span> *dir_name;</td></tr>
+<tr class="codeline" data-linenumber="3618"><td class="num" id="LN3618">3618</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3619"><td class="num" id="LN3619">3619</td><td class="line"> fdata = fr_window_get_selected_item_from_file_list (window);</td></tr>
+<tr class="codeline" data-linenumber="3620"><td class="num" id="LN3620">3620</td><td class="line"> <span class='keyword'>if</span> ((fdata == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) || ! file_data_is_dir (fdata)) {</td></tr>
+<tr class="codeline" data-linenumber="3621"><td class="num" id="LN3621">3621</td><td class="line"> file_data_free (fdata);</td></tr>
+<tr class="codeline" data-linenumber="3622"><td class="num" id="LN3622">3622</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3623"><td class="num" id="LN3623">3623</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3624"><td class="num" id="LN3624">3624</td><td class="line"> dir_name = <span class='macro'>g_strdup (fdata-&gt;list_name)<span class='macro_popup'>g_strdup_inline (fdata-&gt;list_name)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3625"><td class="num" id="LN3625">3625</td><td class="line"> dir_path = g_strconcat (fr_window_get_current_location (window),</td></tr>
+<tr class="codeline" data-linenumber="3626"><td class="num" id="LN3626">3626</td><td class="line"> dir_name,</td></tr>
+<tr class="codeline" data-linenumber="3627"><td class="num" id="LN3627">3627</td><td class="line"> <span class='string_literal'>"/"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3628"><td class="num" id="LN3628">3628</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3629"><td class="num" id="LN3629">3629</td><td class="line"> g_free (dir_name);</td></tr>
+<tr class="codeline" data-linenumber="3630"><td class="num" id="LN3630">3630</td><td class="line"> file_data_free (fdata);</td></tr>
+<tr class="codeline" data-linenumber="3631"><td class="num" id="LN3631">3631</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3632"><td class="num" id="LN3632">3632</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="3633"><td class="num" id="LN3633">3633</td><td class="line"> dir_path = fr_window_get_selected_folder_in_tree_view (window);</td></tr>
+<tr class="codeline" data-linenumber="3634"><td class="num" id="LN3634">3634</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3635"><td class="num" id="LN3635">3635</td><td class="line"> fr_window_go_to_location (window, dir_path, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3636"><td class="num" id="LN3636">3636</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3637"><td class="num" id="LN3637">3637</td><td class="line"> g_free (dir_path);</td></tr>
+<tr class="codeline" data-linenumber="3638"><td class="num" id="LN3638">3638</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3639"><td class="num" id="LN3639">3639</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3640"><td class="num" id="LN3640">3640</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="3641"><td class="num" id="LN3641">3641</td><td class="line">row_activated_cb (GtkTreeView *tree_view,</td></tr>
+<tr class="codeline" data-linenumber="3642"><td class="num" id="LN3642">3642</td><td class="line"> GtkTreePath *path,</td></tr>
+<tr class="codeline" data-linenumber="3643"><td class="num" id="LN3643">3643</td><td class="line"> GtkTreeViewColumn *column,</td></tr>
+<tr class="codeline" data-linenumber="3644"><td class="num" id="LN3644">3644</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="3645"><td class="num" id="LN3645">3645</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3646"><td class="num" id="LN3646">3646</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="3647"><td class="num" id="LN3647">3647</td><td class="line"> FileData *fdata;</td></tr>
+<tr class="codeline" data-linenumber="3648"><td class="num" id="LN3648">3648</td><td class="line"> GtkTreeIter iter;</td></tr>
+<tr class="codeline" data-linenumber="3649"><td class="num" id="LN3649">3649</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3650"><td class="num" id="LN3650">3650</td><td class="line"> <span class='keyword'>if</span> (! gtk_tree_model_get_iter (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3651"><td class="num" id="LN3651">3651</td><td class="line"> &amp;iter,</td></tr>
+<tr class="codeline" data-linenumber="3652"><td class="num" id="LN3652">3652</td><td class="line"> path))</td></tr>
+<tr class="codeline" data-linenumber="3653"><td class="num" id="LN3653">3653</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3654"><td class="num" id="LN3654">3654</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3655"><td class="num" id="LN3655">3655</td><td class="line"> gtk_tree_model_get (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>, &amp;iter,</td></tr>
+<tr class="codeline" data-linenumber="3656"><td class="num" id="LN3656">3656</td><td class="line"> COLUMN_FILE_DATA, &amp;fdata,</td></tr>
+<tr class="codeline" data-linenumber="3657"><td class="num" id="LN3657">3657</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="3658"><td class="num" id="LN3658">3658</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3659"><td class="num" id="LN3659">3659</td><td class="line"> <span class='keyword'>if</span> (! file_data_is_dir (fdata)) {</td></tr>
+<tr class="codeline" data-linenumber="3660"><td class="num" id="LN3660">3660</td><td class="line"> GList *list = g_list_prepend (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, fdata-&gt;original_path);</td></tr>
+<tr class="codeline" data-linenumber="3661"><td class="num" id="LN3661">3661</td><td class="line"> fr_window_open_files (window, list, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3662"><td class="num" id="LN3662">3662</td><td class="line"> g_list_free (list);</td></tr>
+<tr class="codeline" data-linenumber="3663"><td class="num" id="LN3663">3663</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3664"><td class="num" id="LN3664">3664</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (window-&gt;priv-&gt;list_mode == FR_WINDOW_LIST_MODE_AS_DIR) {</td></tr>
+<tr class="codeline" data-linenumber="3665"><td class="num" id="LN3665">3665</td><td class="line"> <span class='keyword'>char</span> *new_dir;</td></tr>
+<tr class="codeline" data-linenumber="3666"><td class="num" id="LN3666">3666</td><td class="line"> new_dir = g_strconcat (fr_window_get_current_location (window),</td></tr>
+<tr class="codeline" data-linenumber="3667"><td class="num" id="LN3667">3667</td><td class="line"> fdata-&gt;list_name,</td></tr>
+<tr class="codeline" data-linenumber="3668"><td class="num" id="LN3668">3668</td><td class="line"> <span class='string_literal'>"/"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3669"><td class="num" id="LN3669">3669</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3670"><td class="num" id="LN3670">3670</td><td class="line"> fr_window_go_to_location (window, new_dir, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3671"><td class="num" id="LN3671">3671</td><td class="line"> g_free (new_dir);</td></tr>
+<tr class="codeline" data-linenumber="3672"><td class="num" id="LN3672">3672</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3673"><td class="num" id="LN3673">3673</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3674"><td class="num" id="LN3674">3674</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3675"><td class="num" id="LN3675">3675</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3676"><td class="num" id="LN3676">3676</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3677"><td class="num" id="LN3677">3677</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="3678"><td class="num" id="LN3678">3678</td><td class="line">file_button_press_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="3679"><td class="num" id="LN3679">3679</td><td class="line"> GdkEventButton *event,</td></tr>
+<tr class="codeline" data-linenumber="3680"><td class="num" id="LN3680">3680</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="3681"><td class="num" id="LN3681">3681</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3682"><td class="num" id="LN3682">3682</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="3683"><td class="num" id="LN3683">3683</td><td class="line"> GtkTreeSelection *selection;</td></tr>
+<tr class="codeline" data-linenumber="3684"><td class="num" id="LN3684">3684</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3685"><td class="num" id="LN3685">3685</td><td class="line"> <span class='keyword'>if</span> (event-&gt;window != gtk_tree_view_get_bin_window (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="3686"><td class="num" id="LN3686">3686</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3687"><td class="num" id="LN3687">3687</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3688"><td class="num" id="LN3688">3688</td><td class="line"> selection = gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3689"><td class="num" id="LN3689">3689</td><td class="line"> <span class='keyword'>if</span> (selection == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3690"><td class="num" id="LN3690">3690</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3691"><td class="num" id="LN3691">3691</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3692"><td class="num" id="LN3692">3692</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;path_clicked != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="3693"><td class="num" id="LN3693">3693</td><td class="line"> gtk_tree_path_free (window-&gt;priv-&gt;path_clicked);</td></tr>
+<tr class="codeline" data-linenumber="3694"><td class="num" id="LN3694">3694</td><td class="line"> window-&gt;priv-&gt;path_clicked = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3695"><td class="num" id="LN3695">3695</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3696"><td class="num" id="LN3696">3696</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3697"><td class="num" id="LN3697">3697</td><td class="line"> <span class='keyword'>if</span> ((event-&gt;type == GDK_BUTTON_PRESS) &amp;&amp; (event-&gt;button == 3)) {</td></tr>
+<tr class="codeline" data-linenumber="3698"><td class="num" id="LN3698">3698</td><td class="line"> GtkTreePath *path;</td></tr>
+<tr class="codeline" data-linenumber="3699"><td class="num" id="LN3699">3699</td><td class="line"> GtkTreeIter iter;</td></tr>
+<tr class="codeline" data-linenumber="3700"><td class="num" id="LN3700">3700</td><td class="line"> <span class='keyword'>int</span> n_selected;</td></tr>
+<tr class="codeline" data-linenumber="3701"><td class="num" id="LN3701">3701</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3702"><td class="num" id="LN3702">3702</td><td class="line"> <span class='keyword'>if</span> (gtk_tree_view_get_path_at_pos (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3703"><td class="num" id="LN3703">3703</td><td class="line"> (<span class='keyword'>int</span>) event-&gt;x, (<span class='keyword'>int</span>) event-&gt;y,</td></tr>
+<tr class="codeline" data-linenumber="3704"><td class="num" id="LN3704">3704</td><td class="line"> &amp;path, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="3705"><td class="num" id="LN3705">3705</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3706"><td class="num" id="LN3706">3706</td><td class="line"> <span class='keyword'>if</span> (! gtk_tree_model_get_iter (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>, &amp;iter, path)) {</td></tr>
+<tr class="codeline" data-linenumber="3707"><td class="num" id="LN3707">3707</td><td class="line"> gtk_tree_path_free (path);</td></tr>
+<tr class="codeline" data-linenumber="3708"><td class="num" id="LN3708">3708</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3709"><td class="num" id="LN3709">3709</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3710"><td class="num" id="LN3710">3710</td><td class="line"> gtk_tree_path_free (path);</td></tr>
+<tr class="codeline" data-linenumber="3711"><td class="num" id="LN3711">3711</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3712"><td class="num" id="LN3712">3712</td><td class="line"> <span class='keyword'>if</span> (! gtk_tree_selection_iter_is_selected (selection, &amp;iter)) {</td></tr>
+<tr class="codeline" data-linenumber="3713"><td class="num" id="LN3713">3713</td><td class="line"> gtk_tree_selection_unselect_all (selection);</td></tr>
+<tr class="codeline" data-linenumber="3714"><td class="num" id="LN3714">3714</td><td class="line"> gtk_tree_selection_select_iter (selection, &amp;iter);</td></tr>
+<tr class="codeline" data-linenumber="3715"><td class="num" id="LN3715">3715</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3716"><td class="num" id="LN3716">3716</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3717"><td class="num" id="LN3717">3717</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="3718"><td class="num" id="LN3718">3718</td><td class="line"> gtk_tree_selection_unselect_all (selection);</td></tr>
+<tr class="codeline" data-linenumber="3719"><td class="num" id="LN3719">3719</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3720"><td class="num" id="LN3720">3720</td><td class="line"> n_selected = fr_window_get_n_selected_files (window);</td></tr>
+<tr class="codeline" data-linenumber="3721"><td class="num" id="LN3721">3721</td><td class="line"> <span class='keyword'>if</span> ((n_selected == 1) &amp;&amp; selection_has_a_dir (window))</td></tr>
+<tr class="codeline" data-linenumber="3722"><td class="num" id="LN3722">3722</td><td class="line"> gtk_menu_popup_at_pointer (<span class='macro'>GTK_MENU (window-&gt;priv-&gt;folder_popup_menu)<span class='macro_popup'>((((GtkMenu*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;folder_popup_menu)), ((gtk_menu_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3723"><td class="num" id="LN3723">3723</td><td class="line"> (<span class='keyword'>const</span> GdkEvent*) event);</td></tr>
+<tr class="codeline" data-linenumber="3724"><td class="num" id="LN3724">3724</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="3725"><td class="num" id="LN3725">3725</td><td class="line"> gtk_menu_popup_at_pointer (<span class='macro'>GTK_MENU (window-&gt;priv-&gt;file_popup_menu)<span class='macro_popup'>((((GtkMenu*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;file_popup_menu)), ((gtk_menu_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3726"><td class="num" id="LN3726">3726</td><td class="line"> (<span class='keyword'>const</span> GdkEvent*) event);</td></tr>
+<tr class="codeline" data-linenumber="3727"><td class="num" id="LN3727">3727</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3728"><td class="num" id="LN3728">3728</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3729"><td class="num" id="LN3729">3729</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> ((event-&gt;type == GDK_BUTTON_PRESS) &amp;&amp; (event-&gt;button == 1)) {</td></tr>
+<tr class="codeline" data-linenumber="3730"><td class="num" id="LN3730">3730</td><td class="line"> GtkTreePath *path = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3731"><td class="num" id="LN3731">3731</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3732"><td class="num" id="LN3732">3732</td><td class="line"> <span class='keyword'>if</span> (! gtk_tree_view_get_path_at_pos (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3733"><td class="num" id="LN3733">3733</td><td class="line"> (<span class='keyword'>int</span>) event-&gt;x, (<span class='keyword'>int</span>) event-&gt;y,</td></tr>
+<tr class="codeline" data-linenumber="3734"><td class="num" id="LN3734">3734</td><td class="line"> &amp;path, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="3735"><td class="num" id="LN3735">3735</td><td class="line"> gtk_tree_selection_unselect_all (selection);</td></tr>
+<tr class="codeline" data-linenumber="3736"><td class="num" id="LN3736">3736</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3737"><td class="num" id="LN3737">3737</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3738"><td class="num" id="LN3738">3738</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;path_clicked != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="3739"><td class="num" id="LN3739">3739</td><td class="line"> gtk_tree_path_free (window-&gt;priv-&gt;path_clicked);</td></tr>
+<tr class="codeline" data-linenumber="3740"><td class="num" id="LN3740">3740</td><td class="line"> window-&gt;priv-&gt;path_clicked = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3741"><td class="num" id="LN3741">3741</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3742"><td class="num" id="LN3742">3742</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3743"><td class="num" id="LN3743">3743</td><td class="line"> <span class='keyword'>if</span> (path != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="3744"><td class="num" id="LN3744">3744</td><td class="line"> window-&gt;priv-&gt;path_clicked = gtk_tree_path_copy (path);</td></tr>
+<tr class="codeline" data-linenumber="3745"><td class="num" id="LN3745">3745</td><td class="line"> gtk_tree_path_free (path);</td></tr>
+<tr class="codeline" data-linenumber="3746"><td class="num" id="LN3746">3746</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3747"><td class="num" id="LN3747">3747</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3748"><td class="num" id="LN3748">3748</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3749"><td class="num" id="LN3749">3749</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3750"><td class="num" id="LN3750">3750</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> ((event-&gt;type == GDK_BUTTON_PRESS) &amp;&amp; (event-&gt;button == 8)) {</td></tr>
+<tr class="codeline" data-linenumber="3751"><td class="num" id="LN3751">3751</td><td class="line"> <span class='comment'>// go back</span></td></tr>
+<tr class="codeline" data-linenumber="3752"><td class="num" id="LN3752">3752</td><td class="line"> fr_window_go_back (window);</td></tr>
+<tr class="codeline" data-linenumber="3753"><td class="num" id="LN3753">3753</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3754"><td class="num" id="LN3754">3754</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3755"><td class="num" id="LN3755">3755</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> ((event-&gt;type == GDK_BUTTON_PRESS) &amp;&amp; (event-&gt;button == 9)) {</td></tr>
+<tr class="codeline" data-linenumber="3756"><td class="num" id="LN3756">3756</td><td class="line"> <span class='comment'>// go forward</span></td></tr>
+<tr class="codeline" data-linenumber="3757"><td class="num" id="LN3757">3757</td><td class="line"> fr_window_go_forward (window);</td></tr>
+<tr class="codeline" data-linenumber="3758"><td class="num" id="LN3758">3758</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3759"><td class="num" id="LN3759">3759</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3760"><td class="num" id="LN3760">3760</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3761"><td class="num" id="LN3761">3761</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3762"><td class="num" id="LN3762">3762</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3763"><td class="num" id="LN3763">3763</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3764"><td class="num" id="LN3764">3764</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="3765"><td class="num" id="LN3765">3765</td><td class="line">file_button_release_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="3766"><td class="num" id="LN3766">3766</td><td class="line"> GdkEventButton *event,</td></tr>
+<tr class="codeline" data-linenumber="3767"><td class="num" id="LN3767">3767</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="3768"><td class="num" id="LN3768">3768</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3769"><td class="num" id="LN3769">3769</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="3770"><td class="num" id="LN3770">3770</td><td class="line"> GtkTreeSelection *selection;</td></tr>
+<tr class="codeline" data-linenumber="3771"><td class="num" id="LN3771">3771</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3772"><td class="num" id="LN3772">3772</td><td class="line"> <span class='keyword'>if</span> (event-&gt;window != gtk_tree_view_get_bin_window (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="3773"><td class="num" id="LN3773">3773</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3774"><td class="num" id="LN3774">3774</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3775"><td class="num" id="LN3775">3775</td><td class="line"> selection = gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3776"><td class="num" id="LN3776">3776</td><td class="line"> <span class='keyword'>if</span> (selection == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3777"><td class="num" id="LN3777">3777</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3778"><td class="num" id="LN3778">3778</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3779"><td class="num" id="LN3779">3779</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;path_clicked == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3780"><td class="num" id="LN3780">3780</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3781"><td class="num" id="LN3781">3781</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3782"><td class="num" id="LN3782">3782</td><td class="line"> <span class='keyword'>if</span> ((event-&gt;type == GDK_BUTTON_RELEASE)</td></tr>
+<tr class="codeline" data-linenumber="3783"><td class="num" id="LN3783">3783</td><td class="line"> &amp;&amp; (event-&gt;button == 1)</td></tr>
+<tr class="codeline" data-linenumber="3784"><td class="num" id="LN3784">3784</td><td class="line"> &amp;&amp; (window-&gt;priv-&gt;path_clicked != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="3785"><td class="num" id="LN3785">3785</td><td class="line"> GtkTreePath *path = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3786"><td class="num" id="LN3786">3786</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3787"><td class="num" id="LN3787">3787</td><td class="line"> <span class='keyword'>if</span> (gtk_tree_view_get_path_at_pos (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3788"><td class="num" id="LN3788">3788</td><td class="line"> (<span class='keyword'>int</span>) event-&gt;x, (<span class='keyword'>int</span>) event-&gt;y,</td></tr>
+<tr class="codeline" data-linenumber="3789"><td class="num" id="LN3789">3789</td><td class="line"> &amp;path, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="3790"><td class="num" id="LN3790">3790</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3791"><td class="num" id="LN3791">3791</td><td class="line"> <span class='keyword'>if</span> ((gtk_tree_path_compare (window-&gt;priv-&gt;path_clicked, path) == 0)</td></tr>
+<tr class="codeline" data-linenumber="3792"><td class="num" id="LN3792">3792</td><td class="line"> &amp;&amp; window-&gt;priv-&gt;single_click</td></tr>
+<tr class="codeline" data-linenumber="3793"><td class="num" id="LN3793">3793</td><td class="line"> &amp;&amp; ! ((event-&gt;state &amp; GDK_CONTROL_MASK) || (event-&gt;state &amp; GDK_SHIFT_MASK))) {</td></tr>
+<tr class="codeline" data-linenumber="3794"><td class="num" id="LN3794">3794</td><td class="line"> gtk_tree_view_set_cursor (<span class='macro'>GTK_TREE_VIEW (widget)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((gtk_tree_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3795"><td class="num" id="LN3795">3795</td><td class="line"> path,</td></tr>
+<tr class="codeline" data-linenumber="3796"><td class="num" id="LN3796">3796</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3797"><td class="num" id="LN3797">3797</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3798"><td class="num" id="LN3798">3798</td><td class="line"> gtk_tree_view_row_activated (<span class='macro'>GTK_TREE_VIEW (widget)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((gtk_tree_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3799"><td class="num" id="LN3799">3799</td><td class="line"> path,</td></tr>
+<tr class="codeline" data-linenumber="3800"><td class="num" id="LN3800">3800</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3801"><td class="num" id="LN3801">3801</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3802"><td class="num" id="LN3802">3802</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3803"><td class="num" id="LN3803">3803</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3804"><td class="num" id="LN3804">3804</td><td class="line"> <span class='keyword'>if</span> (path != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3805"><td class="num" id="LN3805">3805</td><td class="line"> gtk_tree_path_free (path);</td></tr>
+<tr class="codeline" data-linenumber="3806"><td class="num" id="LN3806">3806</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3807"><td class="num" id="LN3807">3807</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3808"><td class="num" id="LN3808">3808</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;path_clicked != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="3809"><td class="num" id="LN3809">3809</td><td class="line"> gtk_tree_path_free (window-&gt;priv-&gt;path_clicked);</td></tr>
+<tr class="codeline" data-linenumber="3810"><td class="num" id="LN3810">3810</td><td class="line"> window-&gt;priv-&gt;path_clicked = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3811"><td class="num" id="LN3811">3811</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3812"><td class="num" id="LN3812">3812</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3813"><td class="num" id="LN3813">3813</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3814"><td class="num" id="LN3814">3814</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3815"><td class="num" id="LN3815">3815</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3816"><td class="num" id="LN3816">3816</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="3817"><td class="num" id="LN3817">3817</td><td class="line">file_motion_notify_callback (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="3818"><td class="num" id="LN3818">3818</td><td class="line"> GdkEventMotion *event,</td></tr>
+<tr class="codeline" data-linenumber="3819"><td class="num" id="LN3819">3819</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3820"><td class="num" id="LN3820">3820</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3821"><td class="num" id="LN3821">3821</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="3822"><td class="num" id="LN3822">3822</td><td class="line"> GdkCursor *cursor;</td></tr>
+<tr class="codeline" data-linenumber="3823"><td class="num" id="LN3823">3823</td><td class="line"> GtkTreePath *last_hover_path;</td></tr>
+<tr class="codeline" data-linenumber="3824"><td class="num" id="LN3824">3824</td><td class="line"> GdkDisplay *display;</td></tr>
+<tr class="codeline" data-linenumber="3825"><td class="num" id="LN3825">3825</td><td class="line"> GtkTreeIter iter;</td></tr>
+<tr class="codeline" data-linenumber="3826"><td class="num" id="LN3826">3826</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3827"><td class="num" id="LN3827">3827</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;single_click)</td></tr>
+<tr class="codeline" data-linenumber="3828"><td class="num" id="LN3828">3828</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3829"><td class="num" id="LN3829">3829</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3830"><td class="num" id="LN3830">3830</td><td class="line"> <span class='keyword'>if</span> (event-&gt;window != gtk_tree_view_get_bin_window (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="3831"><td class="num" id="LN3831">3831</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3832"><td class="num" id="LN3832">3832</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3833"><td class="num" id="LN3833">3833</td><td class="line"> last_hover_path = window-&gt;priv-&gt;list_hover_path;</td></tr>
+<tr class="codeline" data-linenumber="3834"><td class="num" id="LN3834">3834</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3835"><td class="num" id="LN3835">3835</td><td class="line"> gtk_tree_view_get_path_at_pos (<span class='macro'>GTK_TREE_VIEW (widget)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((gtk_tree_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3836"><td class="num" id="LN3836">3836</td><td class="line"> (<span class='keyword'>int</span>) event-&gt;x, (<span class='keyword'>int</span>) event-&gt;y,</td></tr>
+<tr class="codeline" data-linenumber="3837"><td class="num" id="LN3837">3837</td><td class="line"> &amp;window-&gt;priv-&gt;list_hover_path,</td></tr>
+<tr class="codeline" data-linenumber="3838"><td class="num" id="LN3838">3838</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3839"><td class="num" id="LN3839">3839</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3840"><td class="num" id="LN3840">3840</td><td class="line"> display = gtk_widget_get_display (<span class='macro'>GTK_WIDGET (widget)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3841"><td class="num" id="LN3841">3841</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3842"><td class="num" id="LN3842">3842</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;list_hover_path != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3843"><td class="num" id="LN3843">3843</td><td class="line"> cursor = gdk_cursor_new_for_display (display, GDK_HAND2);</td></tr>
+<tr class="codeline" data-linenumber="3844"><td class="num" id="LN3844">3844</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="3845"><td class="num" id="LN3845">3845</td><td class="line"> cursor = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3846"><td class="num" id="LN3846">3846</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3847"><td class="num" id="LN3847">3847</td><td class="line"> gdk_window_set_cursor (event-&gt;window, cursor);</td></tr>
+<tr class="codeline" data-linenumber="3848"><td class="num" id="LN3848">3848</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3849"><td class="num" id="LN3849">3849</td><td class="line"> <span class='comment'>/* only redraw if the hover row has changed */</span></td></tr>
+<tr class="codeline" data-linenumber="3850"><td class="num" id="LN3850">3850</td><td class="line"> <span class='keyword'>if</span> (!(last_hover_path == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; window-&gt;priv-&gt;list_hover_path == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="3851"><td class="num" id="LN3851">3851</td><td class="line"> (!(last_hover_path != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; window-&gt;priv-&gt;list_hover_path != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) ||</td></tr>
+<tr class="codeline" data-linenumber="3852"><td class="num" id="LN3852">3852</td><td class="line"> gtk_tree_path_compare (last_hover_path, window-&gt;priv-&gt;list_hover_path)))</td></tr>
+<tr class="codeline" data-linenumber="3853"><td class="num" id="LN3853">3853</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="3854"><td class="num" id="LN3854">3854</td><td class="line"> <span class='keyword'>if</span> (last_hover_path) {</td></tr>
+<tr class="codeline" data-linenumber="3855"><td class="num" id="LN3855">3855</td><td class="line"> gtk_tree_model_get_iter (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3856"><td class="num" id="LN3856">3856</td><td class="line"> &amp;iter, last_hover_path);</td></tr>
+<tr class="codeline" data-linenumber="3857"><td class="num" id="LN3857">3857</td><td class="line"> gtk_tree_model_row_changed (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3858"><td class="num" id="LN3858">3858</td><td class="line"> last_hover_path, &amp;iter);</td></tr>
+<tr class="codeline" data-linenumber="3859"><td class="num" id="LN3859">3859</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3860"><td class="num" id="LN3860">3860</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3861"><td class="num" id="LN3861">3861</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;list_hover_path) {</td></tr>
+<tr class="codeline" data-linenumber="3862"><td class="num" id="LN3862">3862</td><td class="line"> gtk_tree_model_get_iter (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3863"><td class="num" id="LN3863">3863</td><td class="line"> &amp;iter, window-&gt;priv-&gt;list_hover_path);</td></tr>
+<tr class="codeline" data-linenumber="3864"><td class="num" id="LN3864">3864</td><td class="line"> gtk_tree_model_row_changed (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3865"><td class="num" id="LN3865">3865</td><td class="line"> window-&gt;priv-&gt;list_hover_path, &amp;iter);</td></tr>
+<tr class="codeline" data-linenumber="3866"><td class="num" id="LN3866">3866</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3867"><td class="num" id="LN3867">3867</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3868"><td class="num" id="LN3868">3868</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3869"><td class="num" id="LN3869">3869</td><td class="line"> gtk_tree_path_free (last_hover_path);</td></tr>
+<tr class="codeline" data-linenumber="3870"><td class="num" id="LN3870">3870</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3871"><td class="num" id="LN3871">3871</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3872"><td class="num" id="LN3872">3872</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3873"><td class="num" id="LN3873">3873</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3874"><td class="num" id="LN3874">3874</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="3875"><td class="num" id="LN3875">3875</td><td class="line">file_leave_notify_callback (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="3876"><td class="num" id="LN3876">3876</td><td class="line"> GdkEventCrossing *event,</td></tr>
+<tr class="codeline" data-linenumber="3877"><td class="num" id="LN3877">3877</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3878"><td class="num" id="LN3878">3878</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3879"><td class="num" id="LN3879">3879</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="3880"><td class="num" id="LN3880">3880</td><td class="line"> GtkTreeIter iter;</td></tr>
+<tr class="codeline" data-linenumber="3881"><td class="num" id="LN3881">3881</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3882"><td class="num" id="LN3882">3882</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;single_click &amp;&amp; (window-&gt;priv-&gt;list_hover_path != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="3883"><td class="num" id="LN3883">3883</td><td class="line"> gtk_tree_model_get_iter (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3884"><td class="num" id="LN3884">3884</td><td class="line"> &amp;iter,</td></tr>
+<tr class="codeline" data-linenumber="3885"><td class="num" id="LN3885">3885</td><td class="line"> window-&gt;priv-&gt;list_hover_path);</td></tr>
+<tr class="codeline" data-linenumber="3886"><td class="num" id="LN3886">3886</td><td class="line"> gtk_tree_model_row_changed (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3887"><td class="num" id="LN3887">3887</td><td class="line"> window-&gt;priv-&gt;list_hover_path,</td></tr>
+<tr class="codeline" data-linenumber="3888"><td class="num" id="LN3888">3888</td><td class="line"> &amp;iter);</td></tr>
+<tr class="codeline" data-linenumber="3889"><td class="num" id="LN3889">3889</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3890"><td class="num" id="LN3890">3890</td><td class="line"> gtk_tree_path_free (window-&gt;priv-&gt;list_hover_path);</td></tr>
+<tr class="codeline" data-linenumber="3891"><td class="num" id="LN3891">3891</td><td class="line"> window-&gt;priv-&gt;list_hover_path = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3892"><td class="num" id="LN3892">3892</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3893"><td class="num" id="LN3893">3893</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3894"><td class="num" id="LN3894">3894</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3895"><td class="num" id="LN3895">3895</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3896"><td class="num" id="LN3896">3896</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3897"><td class="num" id="LN3897">3897</td><td class="line"><span class='comment'>/* -- drag and drop -- */</span></td></tr>
+<tr class="codeline" data-linenumber="3898"><td class="num" id="LN3898">3898</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3899"><td class="num" id="LN3899">3899</td><td class="line"><span class='keyword'>static</span> GList *</td></tr>
+<tr class="codeline" data-linenumber="3900"><td class="num" id="LN3900">3900</td><td class="line">get_uri_list_from_selection_data (<span class='keyword'>char</span> *uri_list)</td></tr>
+<tr class="codeline" data-linenumber="3901"><td class="num" id="LN3901">3901</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3902"><td class="num" id="LN3902">3902</td><td class="line"> GList *list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3903"><td class="num" id="LN3903">3903</td><td class="line"> <span class='keyword'>char</span> **uris;</td></tr>
+<tr class="codeline" data-linenumber="3904"><td class="num" id="LN3904">3904</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="3905"><td class="num" id="LN3905">3905</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3906"><td class="num" id="LN3906">3906</td><td class="line"> <span class='keyword'>if</span> (uri_list == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3907"><td class="num" id="LN3907">3907</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3908"><td class="num" id="LN3908">3908</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3909"><td class="num" id="LN3909">3909</td><td class="line"> uris = g_uri_list_extract_uris (uri_list);</td></tr>
+<tr class="codeline" data-linenumber="3910"><td class="num" id="LN3910">3910</td><td class="line"> <span class='keyword'>for</span> (i = 0; uris[i] != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; i++)</td></tr>
+<tr class="codeline" data-linenumber="3911"><td class="num" id="LN3911">3911</td><td class="line"> list = g_list_prepend (list, <span class='macro'>g_strdup (uris[i])<span class='macro_popup'>g_strdup_inline (uris[i])</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3912"><td class="num" id="LN3912">3912</td><td class="line"> g_strfreev (uris);</td></tr>
+<tr class="codeline" data-linenumber="3913"><td class="num" id="LN3913">3913</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3914"><td class="num" id="LN3914">3914</td><td class="line"> <span class='keyword'>return</span> g_list_reverse (list);</td></tr>
+<tr class="codeline" data-linenumber="3915"><td class="num" id="LN3915">3915</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3916"><td class="num" id="LN3916">3916</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3917"><td class="num" id="LN3917">3917</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="3918"><td class="num" id="LN3918">3918</td><td class="line">fr_window_drag_motion (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="3919"><td class="num" id="LN3919">3919</td><td class="line"> GdkDragContext *context,</td></tr>
+<tr class="codeline" data-linenumber="3920"><td class="num" id="LN3920">3920</td><td class="line"> gint x,</td></tr>
+<tr class="codeline" data-linenumber="3921"><td class="num" id="LN3921">3921</td><td class="line"> gint y,</td></tr>
+<tr class="codeline" data-linenumber="3922"><td class="num" id="LN3922">3922</td><td class="line"> guint time,</td></tr>
+<tr class="codeline" data-linenumber="3923"><td class="num" id="LN3923">3923</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3924"><td class="num" id="LN3924">3924</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3925"><td class="num" id="LN3925">3925</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="3926"><td class="num" id="LN3926">3926</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3927"><td class="num" id="LN3927">3927</td><td class="line"> <span class='keyword'>if</span> ((gtk_drag_get_source_widget (context) == window-&gt;priv-&gt;list_view)</td></tr>
+<tr class="codeline" data-linenumber="3928"><td class="num" id="LN3928">3928</td><td class="line"> || (gtk_drag_get_source_widget (context) == window-&gt;priv-&gt;tree_view))</td></tr>
+<tr class="codeline" data-linenumber="3929"><td class="num" id="LN3929">3929</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="3930"><td class="num" id="LN3930">3930</td><td class="line"> gdk_drag_status (context, 0, time);</td></tr>
+<tr class="codeline" data-linenumber="3931"><td class="num" id="LN3931">3931</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3932"><td class="num" id="LN3932">3932</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3933"><td class="num" id="LN3933">3933</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3934"><td class="num" id="LN3934">3934</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3935"><td class="num" id="LN3935">3935</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3936"><td class="num" id="LN3936">3936</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3937"><td class="num" id="LN3937">3937</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> fr_window_paste_from_clipboard_data (FrWindow *window, FrClipboardData *data);</td></tr>
+<tr class="codeline" data-linenumber="3938"><td class="num" id="LN3938">3938</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3939"><td class="num" id="LN3939">3939</td><td class="line"><span class='keyword'>static</span> FrClipboardData*</td></tr>
+<tr class="codeline" data-linenumber="3940"><td class="num" id="LN3940">3940</td><td class="line">get_clipboard_data_from_selection_data (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="3941"><td class="num" id="LN3941">3941</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *data)</td></tr>
+<tr class="codeline" data-linenumber="3942"><td class="num" id="LN3942">3942</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3943"><td class="num" id="LN3943">3943</td><td class="line"> FrClipboardData *clipboard_data;</td></tr>
+<tr class="codeline" data-linenumber="3944"><td class="num" id="LN3944">3944</td><td class="line"> <span class='keyword'>char</span> **uris;</td></tr>
+<tr class="codeline" data-linenumber="3945"><td class="num" id="LN3945">3945</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="3946"><td class="num" id="LN3946">3946</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3947"><td class="num" id="LN3947">3947</td><td class="line"> clipboard_data = fr_clipboard_data_new ();</td></tr>
+<tr class="codeline" data-linenumber="3948"><td class="num" id="LN3948">3948</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3949"><td class="num" id="LN3949">3949</td><td class="line"> uris = g_strsplit (data, <span class='string_literal'>"\r\n"</span>, -1);</td></tr>
+<tr class="codeline" data-linenumber="3950"><td class="num" id="LN3950">3950</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3951"><td class="num" id="LN3951">3951</td><td class="line"> clipboard_data-&gt;archive_filename = <span class='macro'>g_strdup (uris[0])<span class='macro_popup'>g_strdup_inline (uris[0])</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3952"><td class="num" id="LN3952">3952</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;password_for_paste != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3953"><td class="num" id="LN3953">3953</td><td class="line"> clipboard_data-&gt;archive_password = <span class='macro'>g_strdup (window-&gt;priv-&gt;password_for_paste)<span class='macro_popup'>g_strdup_inline (window-&gt;priv-&gt;password_for_paste)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3954"><td class="num" id="LN3954">3954</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (strcmp (uris[1], <span class='string_literal'>""</span>) != 0)</td></tr>
+<tr class="codeline" data-linenumber="3955"><td class="num" id="LN3955">3955</td><td class="line"> clipboard_data-&gt;archive_password = <span class='macro'>g_strdup (uris[1])<span class='macro_popup'>g_strdup_inline (uris[1])</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3956"><td class="num" id="LN3956">3956</td><td class="line"> clipboard_data-&gt;op = (strcmp (uris[2], <span class='string_literal'>"copy"</span>) == 0) ? FR_CLIPBOARD_OP_COPY : FR_CLIPBOARD_OP_CUT;</td></tr>
+<tr class="codeline" data-linenumber="3957"><td class="num" id="LN3957">3957</td><td class="line"> clipboard_data-&gt;base_dir = <span class='macro'>g_strdup (uris[3])<span class='macro_popup'>g_strdup_inline (uris[3])</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3958"><td class="num" id="LN3958">3958</td><td class="line"> <span class='keyword'>for</span> (i = 4; uris[i] != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; i++)</td></tr>
+<tr class="codeline" data-linenumber="3959"><td class="num" id="LN3959">3959</td><td class="line"> <span class='keyword'>if</span> (uris[i][0] != '\0')</td></tr>
+<tr class="codeline" data-linenumber="3960"><td class="num" id="LN3960">3960</td><td class="line"> clipboard_data-&gt;files = g_list_prepend (clipboard_data-&gt;files, <span class='macro'>g_strdup (uris[i])<span class='macro_popup'>g_strdup_inline (uris[i])</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3961"><td class="num" id="LN3961">3961</td><td class="line"> clipboard_data-&gt;files = g_list_reverse (clipboard_data-&gt;files);</td></tr>
+<tr class="codeline" data-linenumber="3962"><td class="num" id="LN3962">3962</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3963"><td class="num" id="LN3963">3963</td><td class="line"> g_strfreev (uris);</td></tr>
+<tr class="codeline" data-linenumber="3964"><td class="num" id="LN3964">3964</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3965"><td class="num" id="LN3965">3965</td><td class="line"> <span class='keyword'>return</span> clipboard_data;</td></tr>
+<tr class="codeline" data-linenumber="3966"><td class="num" id="LN3966">3966</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3967"><td class="num" id="LN3967">3967</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3968"><td class="num" id="LN3968">3968</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3969"><td class="num" id="LN3969">3969</td><td class="line">fr_window_drag_data_received (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="3970"><td class="num" id="LN3970">3970</td><td class="line"> GdkDragContext *context,</td></tr>
+<tr class="codeline" data-linenumber="3971"><td class="num" id="LN3971">3971</td><td class="line"> gint x,</td></tr>
+<tr class="codeline" data-linenumber="3972"><td class="num" id="LN3972">3972</td><td class="line"> gint y,</td></tr>
+<tr class="codeline" data-linenumber="3973"><td class="num" id="LN3973">3973</td><td class="line"> GtkSelectionData *data,</td></tr>
+<tr class="codeline" data-linenumber="3974"><td class="num" id="LN3974">3974</td><td class="line"> guint info,</td></tr>
+<tr class="codeline" data-linenumber="3975"><td class="num" id="LN3975">3975</td><td class="line"> guint time,</td></tr>
+<tr class="codeline" data-linenumber="3976"><td class="num" id="LN3976">3976</td><td class="line"> gpointer extra_data)</td></tr>
+<tr class="codeline" data-linenumber="3977"><td class="num" id="LN3977">3977</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3978"><td class="num" id="LN3978">3978</td><td class="line"> FrWindow *window = extra_data;</td></tr>
+<tr class="codeline" data-linenumber="3979"><td class="num" id="LN3979">3979</td><td class="line"> GList *list;</td></tr>
+<tr class="codeline" data-linenumber="3980"><td class="num" id="LN3980">3980</td><td class="line"> gboolean one_file;</td></tr>
+<tr class="codeline" data-linenumber="3981"><td class="num" id="LN3981">3981</td><td class="line"> gboolean is_an_archive;</td></tr>
+<tr class="codeline" data-linenumber="3982"><td class="num" id="LN3982">3982</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3983"><td class="num" id="LN3983">3983</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 3983, __FUNCTION__</span></span>, <span class='string_literal'>"::DragDataReceived --&gt;\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="3984"><td class="num" id="LN3984">3984</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3985"><td class="num" id="LN3985">3985</td><td class="line"> <span class='keyword'>if</span> ((gtk_drag_get_source_widget (context) == window-&gt;priv-&gt;list_view)</td></tr>
+<tr class="codeline" data-linenumber="3986"><td class="num" id="LN3986">3986</td><td class="line"> || (gtk_drag_get_source_widget (context) == window-&gt;priv-&gt;tree_view))</td></tr>
+<tr class="codeline" data-linenumber="3987"><td class="num" id="LN3987">3987</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="3988"><td class="num" id="LN3988">3988</td><td class="line"> gtk_drag_finish (context, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, time);</td></tr>
+<tr class="codeline" data-linenumber="3989"><td class="num" id="LN3989">3989</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3990"><td class="num" id="LN3990">3990</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3991"><td class="num" id="LN3991">3991</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3992"><td class="num" id="LN3992">3992</td><td class="line"> <span class='keyword'>if</span> (! ((gtk_selection_data_get_length (data) &gt;= 0) &amp;&amp; (gtk_selection_data_get_format (data) == 8))) {</td></tr>
+<tr class="codeline" data-linenumber="3993"><td class="num" id="LN3993">3993</td><td class="line"> gtk_drag_finish (context, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, time);</td></tr>
+<tr class="codeline" data-linenumber="3994"><td class="num" id="LN3994">3994</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3995"><td class="num" id="LN3995">3995</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3996"><td class="num" id="LN3996">3996</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3997"><td class="num" id="LN3997">3997</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;activity_ref &gt; 0) {</td></tr>
+<tr class="codeline" data-linenumber="3998"><td class="num" id="LN3998">3998</td><td class="line"> gtk_drag_finish (context, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, time);</td></tr>
+<tr class="codeline" data-linenumber="3999"><td class="num" id="LN3999">3999</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="4000"><td class="num" id="LN4000">4000</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4001"><td class="num" id="LN4001">4001</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4002"><td class="num" id="LN4002">4002</td><td class="line"> gtk_drag_finish (context, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, time);</td></tr>
+<tr class="codeline" data-linenumber="4003"><td class="num" id="LN4003">4003</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4004"><td class="num" id="LN4004">4004</td><td class="line"> <span class='keyword'>if</span> (gtk_selection_data_get_target (data) == <span class='macro'>XFR_ATOM<span class='macro_popup'>gdk_atom_intern ("XdndEngrampa0", (0))</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4005"><td class="num" id="LN4005">4005</td><td class="line"> FrClipboardData *dnd_data;</td></tr>
+<tr class="codeline" data-linenumber="4006"><td class="num" id="LN4006">4006</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4007"><td class="num" id="LN4007">4007</td><td class="line"> dnd_data = get_clipboard_data_from_selection_data (window, (<span class='keyword'>char</span>*) gtk_selection_data_get_data (data));</td></tr>
+<tr class="codeline" data-linenumber="4008"><td class="num" id="LN4008">4008</td><td class="line"> dnd_data-&gt;current_dir = <span class='macro'>g_strdup (fr_window_get_current_location (window))<span class='macro_popup'>g_strdup_inline (fr_window_get_current_location (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4009"><td class="num" id="LN4009">4009</td><td class="line"> fr_window_paste_from_clipboard_data (window, dnd_data);</td></tr>
+<tr class="codeline" data-linenumber="4010"><td class="num" id="LN4010">4010</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4011"><td class="num" id="LN4011">4011</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="4012"><td class="num" id="LN4012">4012</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4013"><td class="num" id="LN4013">4013</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4014"><td class="num" id="LN4014">4014</td><td class="line"> list = get_uri_list_from_selection_data ((<span class='keyword'>char</span>*) gtk_selection_data_get_data (data));</td></tr>
+<tr class="codeline" data-linenumber="4015"><td class="num" id="LN4015">4015</td><td class="line"> <span class='keyword'>if</span> (list == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4016"><td class="num" id="LN4016">4016</td><td class="line"> GtkWidget *d;</td></tr>
+<tr class="codeline" data-linenumber="4017"><td class="num" id="LN4017">4017</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4018"><td class="num" id="LN4018">4018</td><td class="line"> d = _gtk_error_dialog_new (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4019"><td class="num" id="LN4019">4019</td><td class="line"> GTK_DIALOG_MODAL,</td></tr>
+<tr class="codeline" data-linenumber="4020"><td class="num" id="LN4020">4020</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4021"><td class="num" id="LN4021">4021</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Could not perform the operation"</span>)<span class='macro_popup'>gettext ("Could not perform the operation")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4022"><td class="num" id="LN4022">4022</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4023"><td class="num" id="LN4023">4023</td><td class="line"> gtk_dialog_run (<span class='macro'>GTK_DIALOG (d)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_dialog_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4024"><td class="num" id="LN4024">4024</td><td class="line"> gtk_widget_destroy(d);</td></tr>
+<tr class="codeline" data-linenumber="4025"><td class="num" id="LN4025">4025</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4026"><td class="num" id="LN4026">4026</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="4027"><td class="num" id="LN4027">4027</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4028"><td class="num" id="LN4028">4028</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4029"><td class="num" id="LN4029">4029</td><td class="line"> one_file = (list-&gt;next == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4030"><td class="num" id="LN4030">4030</td><td class="line"> <span class='keyword'>if</span> (one_file)</td></tr>
+<tr class="codeline" data-linenumber="4031"><td class="num" id="LN4031">4031</td><td class="line"> is_an_archive = uri_is_archive (list-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="4032"><td class="num" id="LN4032">4032</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="4033"><td class="num" id="LN4033">4033</td><td class="line"> is_an_archive = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4034"><td class="num" id="LN4034">4034</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4035"><td class="num" id="LN4035">4035</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;archive_present</td></tr>
+<tr class="codeline" data-linenumber="4036"><td class="num" id="LN4036">4036</td><td class="line"> &amp;&amp; (window-&gt;archive != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="4037"><td class="num" id="LN4037">4037</td><td class="line"> &amp;&amp; ! window-&gt;archive-&gt;read_only</td></tr>
+<tr class="codeline" data-linenumber="4038"><td class="num" id="LN4038">4038</td><td class="line"> &amp;&amp; ! window-&gt;archive-&gt;is_compressed_file)</td></tr>
+<tr class="codeline" data-linenumber="4039"><td class="num" id="LN4039">4039</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="4040"><td class="num" id="LN4040">4040</td><td class="line"> <span class='keyword'>if</span> (one_file &amp;&amp; is_an_archive) {</td></tr>
+<tr class="codeline" data-linenumber="4041"><td class="num" id="LN4041">4041</td><td class="line"> GtkWidget *d;</td></tr>
+<tr class="codeline" data-linenumber="4042"><td class="num" id="LN4042">4042</td><td class="line"> gint r;</td></tr>
+<tr class="codeline" data-linenumber="4043"><td class="num" id="LN4043">4043</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4044"><td class="num" id="LN4044">4044</td><td class="line"> d = _gtk_message_dialog_new (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4045"><td class="num" id="LN4045">4045</td><td class="line"> GTK_DIALOG_MODAL,</td></tr>
+<tr class="codeline" data-linenumber="4046"><td class="num" id="LN4046">4046</td><td class="line"> <span class='string_literal'>"dialog-question"</span>,</td></tr>
+<tr class="codeline" data-linenumber="4047"><td class="num" id="LN4047">4047</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Do you want to add this file to the current archive or open it as a new archive?"</span>)<span class='macro_popup'>gettext ("Do you want to add this file to the current archive or open it as a new archive?"<br>)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4048"><td class="num" id="LN4048">4048</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4049"><td class="num" id="LN4049">4049</td><td class="line"> <span class='string_literal'>"gtk-cancel"</span>, GTK_RESPONSE_CANCEL,</td></tr>
+<tr class="codeline" data-linenumber="4050"><td class="num" id="LN4050">4050</td><td class="line"> <span class='string_literal'>"gtk-add"</span>, 0,</td></tr>
+<tr class="codeline" data-linenumber="4051"><td class="num" id="LN4051">4051</td><td class="line"> <span class='string_literal'>"gtk-open"</span>, 1,</td></tr>
+<tr class="codeline" data-linenumber="4052"><td class="num" id="LN4052">4052</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4053"><td class="num" id="LN4053">4053</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4054"><td class="num" id="LN4054">4054</td><td class="line"> gtk_dialog_set_default_response (<span class='macro'>GTK_DIALOG (d)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_dialog_get_type ()))))))</span></span>, 2);</td></tr>
+<tr class="codeline" data-linenumber="4055"><td class="num" id="LN4055">4055</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4056"><td class="num" id="LN4056">4056</td><td class="line"> r = gtk_dialog_run (<span class='macro'>GTK_DIALOG (d)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_dialog_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4057"><td class="num" id="LN4057">4057</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (d)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4058"><td class="num" id="LN4058">4058</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4059"><td class="num" id="LN4059">4059</td><td class="line"> <span class='keyword'>if</span> (r == 0) <span class='comment'>/* Add */</span></td></tr>
+<tr class="codeline" data-linenumber="4060"><td class="num" id="LN4060">4060</td><td class="line"> fr_window_archive_add_dropped_items (window, list, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4061"><td class="num" id="LN4061">4061</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (r == 1) <span class='comment'>/* Open */</span></td></tr>
+<tr class="codeline" data-linenumber="4062"><td class="num" id="LN4062">4062</td><td class="line"> fr_window_archive_open (window, list-&gt;data, <span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4063"><td class="num" id="LN4063">4063</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4064"><td class="num" id="LN4064">4064</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="4065"><td class="num" id="LN4065">4065</td><td class="line"> fr_window_archive_add_dropped_items (window, list, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4066"><td class="num" id="LN4066">4066</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4067"><td class="num" id="LN4067">4067</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="4068"><td class="num" id="LN4068">4068</td><td class="line"> <span class='keyword'>if</span> (one_file &amp;&amp; is_an_archive)</td></tr>
+<tr class="codeline" data-linenumber="4069"><td class="num" id="LN4069">4069</td><td class="line"> fr_window_archive_open (window, list-&gt;data, <span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4070"><td class="num" id="LN4070">4070</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="4071"><td class="num" id="LN4071">4071</td><td class="line"> GtkWidget *d;</td></tr>
+<tr class="codeline" data-linenumber="4072"><td class="num" id="LN4072">4072</td><td class="line"> <span class='keyword'>int</span> r;</td></tr>
+<tr class="codeline" data-linenumber="4073"><td class="num" id="LN4073">4073</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4074"><td class="num" id="LN4074">4074</td><td class="line"> d = _gtk_message_dialog_new (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4075"><td class="num" id="LN4075">4075</td><td class="line"> GTK_DIALOG_MODAL,</td></tr>
+<tr class="codeline" data-linenumber="4076"><td class="num" id="LN4076">4076</td><td class="line"> <span class='string_literal'>"dialog-question"</span>,</td></tr>
+<tr class="codeline" data-linenumber="4077"><td class="num" id="LN4077">4077</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Do you want to create a new archive with these files?"</span>)<span class='macro_popup'>gettext ("Do you want to create a new archive with these files?"<br>)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4078"><td class="num" id="LN4078">4078</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4079"><td class="num" id="LN4079">4079</td><td class="line"> <span class='string_literal'>"gtk-cancel"</span>, GTK_RESPONSE_CANCEL,</td></tr>
+<tr class="codeline" data-linenumber="4080"><td class="num" id="LN4080">4080</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Create _Archive"</span>)<span class='macro_popup'>gettext ("Create _Archive")</span></span>, GTK_RESPONSE_YES,</td></tr>
+<tr class="codeline" data-linenumber="4081"><td class="num" id="LN4081">4081</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4082"><td class="num" id="LN4082">4082</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4083"><td class="num" id="LN4083">4083</td><td class="line"> gtk_dialog_set_default_response (<span class='macro'>GTK_DIALOG (d)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_dialog_get_type ()))))))</span></span>, GTK_RESPONSE_YES);</td></tr>
+<tr class="codeline" data-linenumber="4084"><td class="num" id="LN4084">4084</td><td class="line"> r = gtk_dialog_run (<span class='macro'>GTK_DIALOG (d)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_dialog_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4085"><td class="num" id="LN4085">4085</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (d)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4086"><td class="num" id="LN4086">4086</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4087"><td class="num" id="LN4087">4087</td><td class="line"> <span class='keyword'>if</span> (r == GTK_RESPONSE_YES) {</td></tr>
+<tr class="codeline" data-linenumber="4088"><td class="num" id="LN4088">4088</td><td class="line"> <span class='keyword'>char</span> *first_item;</td></tr>
+<tr class="codeline" data-linenumber="4089"><td class="num" id="LN4089">4089</td><td class="line"> <span class='keyword'>char</span> *folder;</td></tr>
+<tr class="codeline" data-linenumber="4090"><td class="num" id="LN4090">4090</td><td class="line"> <span class='keyword'>char</span> *local_path = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4091"><td class="num" id="LN4091">4091</td><td class="line"> <span class='keyword'>char</span> *utf8_path = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4092"><td class="num" id="LN4092">4092</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *archive_name;</td></tr>
+<tr class="codeline" data-linenumber="4093"><td class="num" id="LN4093">4093</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4094"><td class="num" id="LN4094">4094</td><td class="line"> fr_window_free_batch_data (window);</td></tr>
+<tr class="codeline" data-linenumber="4095"><td class="num" id="LN4095">4095</td><td class="line"> fr_window_append_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="4096"><td class="num" id="LN4096">4096</td><td class="line"> FR_BATCH_ACTION_ADD,</td></tr>
+<tr class="codeline" data-linenumber="4097"><td class="num" id="LN4097">4097</td><td class="line"> path_list_dup (list),</td></tr>
+<tr class="codeline" data-linenumber="4098"><td class="num" id="LN4098">4098</td><td class="line"> (GFreeFunc) path_list_free);</td></tr>
+<tr class="codeline" data-linenumber="4099"><td class="num" id="LN4099">4099</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4100"><td class="num" id="LN4100">4100</td><td class="line"> first_item = (<span class='keyword'>char</span>*) list-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="4101"><td class="num" id="LN4101">4101</td><td class="line"> folder = remove_level_from_path (first_item);</td></tr>
+<tr class="codeline" data-linenumber="4102"><td class="num" id="LN4102">4102</td><td class="line"> <span class='keyword'>if</span> (folder != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="4103"><td class="num" id="LN4103">4103</td><td class="line"> fr_window_set_open_default_dir (window, folder);</td></tr>
+<tr class="codeline" data-linenumber="4104"><td class="num" id="LN4104">4104</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4105"><td class="num" id="LN4105">4105</td><td class="line"> <span class='keyword'>if</span> ((list-&gt;next != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (folder != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="4106"><td class="num" id="LN4106">4106</td><td class="line"> archive_name = file_name_from_path (folder);</td></tr>
+<tr class="codeline" data-linenumber="4107"><td class="num" id="LN4107">4107</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4108"><td class="num" id="LN4108">4108</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="4109"><td class="num" id="LN4109">4109</td><td class="line"> <span class='keyword'>if</span> (uri_is_local (first_item)) {</td></tr>
+<tr class="codeline" data-linenumber="4110"><td class="num" id="LN4110">4110</td><td class="line"> local_path = g_filename_from_uri (first_item, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4111"><td class="num" id="LN4111">4111</td><td class="line"> <span class='keyword'>if</span> (local_path)</td></tr>
+<tr class="codeline" data-linenumber="4112"><td class="num" id="LN4112">4112</td><td class="line"> utf8_path = g_filename_to_utf8 (local_path, -1, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4113"><td class="num" id="LN4113">4113</td><td class="line"> <span class='keyword'>if</span> (!utf8_path)</td></tr>
+<tr class="codeline" data-linenumber="4114"><td class="num" id="LN4114">4114</td><td class="line"> utf8_path= <span class='macro'>g_strdup (first_item)<span class='macro_popup'>g_strdup_inline (first_item)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4115"><td class="num" id="LN4115">4115</td><td class="line"> g_free (local_path);</td></tr>
+<tr class="codeline" data-linenumber="4116"><td class="num" id="LN4116">4116</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4117"><td class="num" id="LN4117">4117</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="4118"><td class="num" id="LN4118">4118</td><td class="line"> utf8_path = <span class='macro'>g_strdup (first_item)<span class='macro_popup'>g_strdup_inline (first_item)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4119"><td class="num" id="LN4119">4119</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4120"><td class="num" id="LN4120">4120</td><td class="line"> archive_name = file_name_from_path (utf8_path);</td></tr>
+<tr class="codeline" data-linenumber="4121"><td class="num" id="LN4121">4121</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4122"><td class="num" id="LN4122">4122</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4123"><td class="num" id="LN4123">4123</td><td class="line"> show_new_archive_dialog (window, archive_name);</td></tr>
+<tr class="codeline" data-linenumber="4124"><td class="num" id="LN4124">4124</td><td class="line"> g_free (utf8_path);</td></tr>
+<tr class="codeline" data-linenumber="4125"><td class="num" id="LN4125">4125</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4126"><td class="num" id="LN4126">4126</td><td class="line"> g_free (folder);</td></tr>
+<tr class="codeline" data-linenumber="4127"><td class="num" id="LN4127">4127</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4128"><td class="num" id="LN4128">4128</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4129"><td class="num" id="LN4129">4129</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4130"><td class="num" id="LN4130">4130</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4131"><td class="num" id="LN4131">4131</td><td class="line"> path_list_free (list);</td></tr>
+<tr class="codeline" data-linenumber="4132"><td class="num" id="LN4132">4132</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4133"><td class="num" id="LN4133">4133</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 4133, __FUNCTION__</span></span>, <span class='string_literal'>"::DragDataReceived &lt;--\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4134"><td class="num" id="LN4134">4134</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4135"><td class="num" id="LN4135">4135</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4136"><td class="num" id="LN4136">4136</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="4137"><td class="num" id="LN4137">4137</td><td class="line">file_list_drag_begin (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="4138"><td class="num" id="LN4138">4138</td><td class="line"> GdkDragContext *context,</td></tr>
+<tr class="codeline" data-linenumber="4139"><td class="num" id="LN4139">4139</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="4140"><td class="num" id="LN4140">4140</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4141"><td class="num" id="LN4141">4141</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="4142"><td class="num" id="LN4142">4142</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4143"><td class="num" id="LN4143">4143</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 4143, __FUNCTION__</span></span>, <span class='string_literal'>"::DragBegin --&gt;\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4144"><td class="num" id="LN4144">4144</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4145"><td class="num" id="LN4145">4145</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;activity_ref &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="4146"><td class="num" id="LN4146">4146</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4147"><td class="num" id="LN4147">4147</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4148"><td class="num" id="LN4148">4148</td><td class="line"> g_free (window-&gt;priv-&gt;drag_destination_folder);</td></tr>
+<tr class="codeline" data-linenumber="4149"><td class="num" id="LN4149">4149</td><td class="line"> window-&gt;priv-&gt;drag_destination_folder = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4150"><td class="num" id="LN4150">4150</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4151"><td class="num" id="LN4151">4151</td><td class="line"> g_free (window-&gt;priv-&gt;drag_base_dir);</td></tr>
+<tr class="codeline" data-linenumber="4152"><td class="num" id="LN4152">4152</td><td class="line"> window-&gt;priv-&gt;drag_base_dir = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4153"><td class="num" id="LN4153">4153</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4154"><td class="num" id="LN4154">4154</td><td class="line"> gdk_property_change (gdk_drag_context_get_source_window (context),</td></tr>
+<tr class="codeline" data-linenumber="4155"><td class="num" id="LN4155">4155</td><td class="line"> <span class='macro'>XDS_ATOM<span class='macro_popup'>gdk_atom_intern ("XdndDirectSave0", (0))</span></span>, <span class='macro'>TEXT_ATOM<span class='macro_popup'>gdk_atom_intern ("text/plain", (0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4156"><td class="num" id="LN4156">4156</td><td class="line"> 8, GDK_PROP_MODE_REPLACE,</td></tr>
+<tr class="codeline" data-linenumber="4157"><td class="num" id="LN4157">4157</td><td class="line"> (guchar *) <span class='macro'>XDS_FILENAME<span class='macro_popup'>"xds.txt"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4158"><td class="num" id="LN4158">4158</td><td class="line"> strlen (<span class='macro'>XDS_FILENAME<span class='macro_popup'>"xds.txt"</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="4159"><td class="num" id="LN4159">4159</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4160"><td class="num" id="LN4160">4160</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4161"><td class="num" id="LN4161">4161</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4162"><td class="num" id="LN4162">4162</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4163"><td class="num" id="LN4163">4163</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4164"><td class="num" id="LN4164">4164</td><td class="line">file_list_drag_end (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="4165"><td class="num" id="LN4165">4165</td><td class="line"> GdkDragContext *context,</td></tr>
+<tr class="codeline" data-linenumber="4166"><td class="num" id="LN4166">4166</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="4167"><td class="num" id="LN4167">4167</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4168"><td class="num" id="LN4168">4168</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="4169"><td class="num" id="LN4169">4169</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4170"><td class="num" id="LN4170">4170</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 4170, __FUNCTION__</span></span>, <span class='string_literal'>"::DragEnd --&gt;\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4171"><td class="num" id="LN4171">4171</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4172"><td class="num" id="LN4172">4172</td><td class="line"> gdk_property_delete (gdk_drag_context_get_source_window (context), <span class='macro'>XDS_ATOM<span class='macro_popup'>gdk_atom_intern ("XdndDirectSave0", (0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4173"><td class="num" id="LN4173">4173</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4174"><td class="num" id="LN4174">4174</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;drag_error != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4175"><td class="num" id="LN4175">4175</td><td class="line"> _gtk_error_dialog_run (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4176"><td class="num" id="LN4176">4176</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Extraction not performed"</span>)<span class='macro_popup'>gettext ("Extraction not performed")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4177"><td class="num" id="LN4177">4177</td><td class="line"> <span class='string_literal'>"%s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="4178"><td class="num" id="LN4178">4178</td><td class="line"> window-&gt;priv-&gt;drag_error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="4179"><td class="num" id="LN4179">4179</td><td class="line"> g_clear_error (&amp;window-&gt;priv-&gt;drag_error);</td></tr>
+<tr class="codeline" data-linenumber="4180"><td class="num" id="LN4180">4180</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4181"><td class="num" id="LN4181">4181</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (window-&gt;priv-&gt;drag_destination_folder != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4182"><td class="num" id="LN4182">4182</td><td class="line"> fr_window_archive_extract (window,</td></tr>
+<tr class="codeline" data-linenumber="4183"><td class="num" id="LN4183">4183</td><td class="line"> window-&gt;priv-&gt;drag_file_list,</td></tr>
+<tr class="codeline" data-linenumber="4184"><td class="num" id="LN4184">4184</td><td class="line"> window-&gt;priv-&gt;drag_destination_folder,</td></tr>
+<tr class="codeline" data-linenumber="4185"><td class="num" id="LN4185">4185</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4186"><td class="num" id="LN4186">4186</td><td class="line"> window-&gt;priv-&gt;drag_base_dir,</td></tr>
+<tr class="codeline" data-linenumber="4187"><td class="num" id="LN4187">4187</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4188"><td class="num" id="LN4188">4188</td><td class="line"> FR_OVERWRITE_ASK,</td></tr>
+<tr class="codeline" data-linenumber="4189"><td class="num" id="LN4189">4189</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4190"><td class="num" id="LN4190">4190</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4191"><td class="num" id="LN4191">4191</td><td class="line"> path_list_free (window-&gt;priv-&gt;drag_file_list);</td></tr>
+<tr class="codeline" data-linenumber="4192"><td class="num" id="LN4192">4192</td><td class="line"> window-&gt;priv-&gt;drag_file_list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4193"><td class="num" id="LN4193">4193</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4194"><td class="num" id="LN4194">4194</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4195"><td class="num" id="LN4195">4195</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 4195, __FUNCTION__</span></span>, <span class='string_literal'>"::DragEnd &lt;--\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4196"><td class="num" id="LN4196">4196</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4197"><td class="num" id="LN4197">4197</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4198"><td class="num" id="LN4198">4198</td><td class="line"><span class='comment'>/* The following three functions taken from bugzilla</span></td></tr>
+<tr class="codeline" data-linenumber="4199"><td class="num" id="LN4199">4199</td><td class="line"> <span class='comment'>* (http://bugzilla.mate.org/attachment.cgi?id=49362&amp;action=view)</span></td></tr>
+<tr class="codeline" data-linenumber="4200"><td class="num" id="LN4200">4200</td><td class="line"> <span class='comment'>* Author: Christian Neumair</span></td></tr>
+<tr class="codeline" data-linenumber="4201"><td class="num" id="LN4201">4201</td><td class="line"> <span class='comment'>* Copyright: 2005 Free Software Foundation, Inc</span></td></tr>
+<tr class="codeline" data-linenumber="4202"><td class="num" id="LN4202">4202</td><td class="line"> <span class='comment'>* License: GPL */</span></td></tr>
+<tr class="codeline" data-linenumber="4203"><td class="num" id="LN4203">4203</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="4204"><td class="num" id="LN4204">4204</td><td class="line">get_xds_atom_value (GdkDragContext *context)</td></tr>
+<tr class="codeline" data-linenumber="4205"><td class="num" id="LN4205">4205</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4206"><td class="num" id="LN4206">4206</td><td class="line"> gint actual_length;</td></tr>
+<tr class="codeline" data-linenumber="4207"><td class="num" id="LN4207">4207</td><td class="line"> <span class='keyword'>char</span> *data;</td></tr>
+<tr class="codeline" data-linenumber="4208"><td class="num" id="LN4208">4208</td><td class="line"> <span class='keyword'>char</span> *ret = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4209"><td class="num" id="LN4209">4209</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4210"><td class="num" id="LN4210">4210</td><td class="line"> <span class='macro'>g_return_val_if_fail (context != NULL, NULL)<span class='macro_popup'>do { if ((context != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "context != NULL"<br>); return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4211"><td class="num" id="LN4211">4211</td><td class="line"> <span class='macro'>g_return_val_if_fail (gdk_drag_context_get_source_window (context) != NULL, NULL)<span class='macro_popup'>do { if ((gdk_drag_context_get_source_window (context) != ((void<br>*)0))) { } else { g_return_if_fail_warning (((gchar*) 0), ((const<br> char*) (__func__)), "gdk_drag_context_get_source_window (context) != NULL"<br>); return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4212"><td class="num" id="LN4212">4212</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4213"><td class="num" id="LN4213">4213</td><td class="line"> <span class='keyword'>if</span> (gdk_property_get (gdk_drag_context_get_source_window (context),</td></tr>
+<tr class="codeline" data-linenumber="4214"><td class="num" id="LN4214">4214</td><td class="line"> <span class='macro'>XDS_ATOM<span class='macro_popup'>gdk_atom_intern ("XdndDirectSave0", (0))</span></span>, <span class='macro'>TEXT_ATOM<span class='macro_popup'>gdk_atom_intern ("text/plain", (0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4215"><td class="num" id="LN4215">4215</td><td class="line"> 0, <span class='macro'>MAX_XDS_ATOM_VAL_LEN<span class='macro_popup'>4096</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4216"><td class="num" id="LN4216">4216</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, &amp;actual_length,</td></tr>
+<tr class="codeline" data-linenumber="4217"><td class="num" id="LN4217">4217</td><td class="line"> (<span class='keyword'>unsigned</span> <span class='keyword'>char</span> **) &amp;data)) {</td></tr>
+<tr class="codeline" data-linenumber="4218"><td class="num" id="LN4218">4218</td><td class="line"> <span class='comment'>/* add not included \0 to the end of the string */</span></td></tr>
+<tr class="codeline" data-linenumber="4219"><td class="num" id="LN4219">4219</td><td class="line"> ret = g_strndup ((gchar *) data, actual_length);</td></tr>
+<tr class="codeline" data-linenumber="4220"><td class="num" id="LN4220">4220</td><td class="line"> g_free (data);</td></tr>
+<tr class="codeline" data-linenumber="4221"><td class="num" id="LN4221">4221</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4222"><td class="num" id="LN4222">4222</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4223"><td class="num" id="LN4223">4223</td><td class="line"> <span class='keyword'>return</span> ret;</td></tr>
+<tr class="codeline" data-linenumber="4224"><td class="num" id="LN4224">4224</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4225"><td class="num" id="LN4225">4225</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4226"><td class="num" id="LN4226">4226</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="4227"><td class="num" id="LN4227">4227</td><td class="line">context_offers_target (GdkDragContext *context,</td></tr>
+<tr class="codeline" data-linenumber="4228"><td class="num" id="LN4228">4228</td><td class="line"> GdkAtom target)</td></tr>
+<tr class="codeline" data-linenumber="4229"><td class="num" id="LN4229">4229</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4230"><td class="num" id="LN4230">4230</td><td class="line"> <span class='keyword'>return</span> (g_list_find (gdk_drag_context_list_targets (context), target) != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4231"><td class="num" id="LN4231">4231</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4232"><td class="num" id="LN4232">4232</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4233"><td class="num" id="LN4233">4233</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="4234"><td class="num" id="LN4234">4234</td><td class="line">caja_xds_dnd_is_valid_xds_context (GdkDragContext *context)</td></tr>
+<tr class="codeline" data-linenumber="4235"><td class="num" id="LN4235">4235</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4236"><td class="num" id="LN4236">4236</td><td class="line"> <span class='keyword'>char</span> *tmp;</td></tr>
+<tr class="codeline" data-linenumber="4237"><td class="num" id="LN4237">4237</td><td class="line"> gboolean ret;</td></tr>
+<tr class="codeline" data-linenumber="4238"><td class="num" id="LN4238">4238</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4239"><td class="num" id="LN4239">4239</td><td class="line"> <span class='macro'>g_return_val_if_fail (context != NULL, FALSE)<span class='macro_popup'>do { if ((context != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "context != NULL"<br>); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4240"><td class="num" id="LN4240">4240</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4241"><td class="num" id="LN4241">4241</td><td class="line"> tmp = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4242"><td class="num" id="LN4242">4242</td><td class="line"> <span class='keyword'>if</span> (context_offers_target (context, <span class='macro'>XDS_ATOM<span class='macro_popup'>gdk_atom_intern ("XdndDirectSave0", (0))</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="4243"><td class="num" id="LN4243">4243</td><td class="line"> tmp = get_xds_atom_value (context);</td></tr>
+<tr class="codeline" data-linenumber="4244"><td class="num" id="LN4244">4244</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4245"><td class="num" id="LN4245">4245</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4246"><td class="num" id="LN4246">4246</td><td class="line"> ret = (tmp != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4247"><td class="num" id="LN4247">4247</td><td class="line"> g_free (tmp);</td></tr>
+<tr class="codeline" data-linenumber="4248"><td class="num" id="LN4248">4248</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4249"><td class="num" id="LN4249">4249</td><td class="line"> <span class='keyword'>return</span> ret;</td></tr>
+<tr class="codeline" data-linenumber="4250"><td class="num" id="LN4250">4250</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4251"><td class="num" id="LN4251">4251</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4252"><td class="num" id="LN4252">4252</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="4253"><td class="num" id="LN4253">4253</td><td class="line">get_selection_data_from_clipboard_data (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="4254"><td class="num" id="LN4254">4254</td><td class="line"> FrClipboardData *data)</td></tr>
+<tr class="codeline" data-linenumber="4255"><td class="num" id="LN4255">4255</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4256"><td class="num" id="LN4256">4256</td><td class="line"> GString *list;</td></tr>
+<tr class="codeline" data-linenumber="4257"><td class="num" id="LN4257">4257</td><td class="line"> <span class='keyword'>char</span> *local_filename;</td></tr>
+<tr class="codeline" data-linenumber="4258"><td class="num" id="LN4258">4258</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="4259"><td class="num" id="LN4259">4259</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4260"><td class="num" id="LN4260">4260</td><td class="line"> list = g_string_new (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4261"><td class="num" id="LN4261">4261</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4262"><td class="num" id="LN4262">4262</td><td class="line"> local_filename = g_file_get_uri (window-&gt;archive-&gt;local_copy);</td></tr>
+<tr class="codeline" data-linenumber="4263"><td class="num" id="LN4263">4263</td><td class="line"> <span class='macro'>g_string_append (list, local_filename)<span class='macro_popup'>(__builtin_constant_p (local_filename) ? __extension__ ({ const<br> char * const __val = (local_filename); g_string_append_len_inline<br> (list, __val, (__val != ((void*)0)) ? (gssize) strlen (((__val<br>) + !(__val))) : (gssize) -1); }) : g_string_append_len_inline<br> (list, local_filename, (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4264"><td class="num" id="LN4264">4264</td><td class="line"> g_free (local_filename);</td></tr>
+<tr class="codeline" data-linenumber="4265"><td class="num" id="LN4265">4265</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4266"><td class="num" id="LN4266">4266</td><td class="line"> <span class='macro'>g_string_append (list, <span class='string_literal'>"\r\n"</span>)<span class='macro_popup'>(__builtin_constant_p ("\r\n") ? __extension__ ({ const char *<br> const __val = ("\r\n"); g_string_append_len_inline (list, __val<br>, (__val != ((void*)0)) ? (gssize) strlen (((__val) + !(__val<br>))) : (gssize) -1); }) : g_string_append_len_inline (list, "\r\n"<br>, (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4267"><td class="num" id="LN4267">4267</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;password != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="4268"><td class="num" id="LN4268">4268</td><td class="line"> <span class='macro'>g_string_append (list, window-&gt;priv-&gt;password)<span class='macro_popup'>(__builtin_constant_p (window-&gt;priv-&gt;password) ? __extension__<br> ({ const char * const __val = (window-&gt;priv-&gt;password)<br>; g_string_append_len_inline (list, __val, (__val != ((void*)<br>0)) ? (gssize) strlen (((__val) + !(__val))) : (gssize) -1); }<br>) : g_string_append_len_inline (list, window-&gt;priv-&gt;password<br>, (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4269"><td class="num" id="LN4269">4269</td><td class="line"> <span class='macro'>g_string_append (list, <span class='string_literal'>"\r\n"</span>)<span class='macro_popup'>(__builtin_constant_p ("\r\n") ? __extension__ ({ const char *<br> const __val = ("\r\n"); g_string_append_len_inline (list, __val<br>, (__val != ((void*)0)) ? (gssize) strlen (((__val) + !(__val<br>))) : (gssize) -1); }) : g_string_append_len_inline (list, "\r\n"<br>, (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4270"><td class="num" id="LN4270">4270</td><td class="line"> <span class='macro'>g_string_append (list, (data-&gt;op == FR_CLIPBOARD_OP_COPY) ? <span class='string_literal'>"copy"</span> : <span class='string_literal'>"cut"</span>)<span class='macro_popup'>(__builtin_constant_p ((data-&gt;op == FR_CLIPBOARD_OP_COPY) ?<br> "copy" : "cut") ? __extension__ ({ const char * const __val =<br> ((data-&gt;op == FR_CLIPBOARD_OP_COPY) ? "copy" : "cut"); g_string_append_len_inline<br> (list, __val, (__val != ((void*)0)) ? (gssize) strlen (((__val<br>) + !(__val))) : (gssize) -1); }) : g_string_append_len_inline<br> (list, (data-&gt;op == FR_CLIPBOARD_OP_COPY) ? "copy" : "cut"<br>, (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4271"><td class="num" id="LN4271">4271</td><td class="line"> <span class='macro'>g_string_append (list, <span class='string_literal'>"\r\n"</span>)<span class='macro_popup'>(__builtin_constant_p ("\r\n") ? __extension__ ({ const char *<br> const __val = ("\r\n"); g_string_append_len_inline (list, __val<br>, (__val != ((void*)0)) ? (gssize) strlen (((__val) + !(__val<br>))) : (gssize) -1); }) : g_string_append_len_inline (list, "\r\n"<br>, (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4272"><td class="num" id="LN4272">4272</td><td class="line"> <span class='macro'>g_string_append (list, data-&gt;base_dir)<span class='macro_popup'>(__builtin_constant_p (data-&gt;base_dir) ? __extension__ ({ const<br> char * const __val = (data-&gt;base_dir); g_string_append_len_inline<br> (list, __val, (__val != ((void*)0)) ? (gssize) strlen (((__val<br>) + !(__val))) : (gssize) -1); }) : g_string_append_len_inline<br> (list, data-&gt;base_dir, (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4273"><td class="num" id="LN4273">4273</td><td class="line"> <span class='macro'>g_string_append (list, <span class='string_literal'>"\r\n"</span>)<span class='macro_popup'>(__builtin_constant_p ("\r\n") ? __extension__ ({ const char *<br> const __val = ("\r\n"); g_string_append_len_inline (list, __val<br>, (__val != ((void*)0)) ? (gssize) strlen (((__val) + !(__val<br>))) : (gssize) -1); }) : g_string_append_len_inline (list, "\r\n"<br>, (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4274"><td class="num" id="LN4274">4274</td><td class="line"> <span class='keyword'>for</span> (scan = data-&gt;files; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="4275"><td class="num" id="LN4275">4275</td><td class="line"> <span class='macro'>g_string_append (list, scan-&gt;data)<span class='macro_popup'>(__builtin_constant_p (scan-&gt;data) ? __extension__ ({ const<br> char * const __val = (scan-&gt;data); g_string_append_len_inline<br> (list, __val, (__val != ((void*)0)) ? (gssize) strlen (((__val<br>) + !(__val))) : (gssize) -1); }) : g_string_append_len_inline<br> (list, scan-&gt;data, (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4276"><td class="num" id="LN4276">4276</td><td class="line"> <span class='macro'>g_string_append (list, <span class='string_literal'>"\r\n"</span>)<span class='macro_popup'>(__builtin_constant_p ("\r\n") ? __extension__ ({ const char *<br> const __val = ("\r\n"); g_string_append_len_inline (list, __val<br>, (__val != ((void*)0)) ? (gssize) strlen (((__val) + !(__val<br>))) : (gssize) -1); }) : g_string_append_len_inline (list, "\r\n"<br>, (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4277"><td class="num" id="LN4277">4277</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4278"><td class="num" id="LN4278">4278</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4279"><td class="num" id="LN4279">4279</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>g_string_free (list, FALSE)<span class='macro_popup'>(__builtin_constant_p ((0)) ? (((0)) ? (g_string_free) ((list<br>), ((0))) : g_string_free_and_steal (list)) : (g_string_free)<br> ((list), ((0))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4280"><td class="num" id="LN4280">4280</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4281"><td class="num" id="LN4281">4281</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4282"><td class="num" id="LN4282">4282</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="4283"><td class="num" id="LN4283">4283</td><td class="line">fr_window_folder_tree_drag_data_get (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="4284"><td class="num" id="LN4284">4284</td><td class="line"> GdkDragContext *context,</td></tr>
+<tr class="codeline" data-linenumber="4285"><td class="num" id="LN4285">4285</td><td class="line"> GtkSelectionData *selection_data,</td></tr>
+<tr class="codeline" data-linenumber="4286"><td class="num" id="LN4286">4286</td><td class="line"> guint info,</td></tr>
+<tr class="codeline" data-linenumber="4287"><td class="num" id="LN4287">4287</td><td class="line"> guint time,</td></tr>
+<tr class="codeline" data-linenumber="4288"><td class="num" id="LN4288">4288</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4289"><td class="num" id="LN4289">4289</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4290"><td class="num" id="LN4290">4290</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="4291"><td class="num" id="LN4291">4291</td><td class="line"> GList *file_list;</td></tr>
+<tr class="codeline" data-linenumber="4292"><td class="num" id="LN4292">4292</td><td class="line"> <span class='keyword'>char</span> *destination;</td></tr>
+<tr class="codeline" data-linenumber="4293"><td class="num" id="LN4293">4293</td><td class="line"> <span class='keyword'>char</span> *destination_folder;</td></tr>
+<tr class="codeline" data-linenumber="4294"><td class="num" id="LN4294">4294</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4295"><td class="num" id="LN4295">4295</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 4295, __FUNCTION__</span></span>, <span class='string_literal'>"::DragDataGet --&gt;\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4296"><td class="num" id="LN4296">4296</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4297"><td class="num" id="LN4297">4297</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;activity_ref &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="4298"><td class="num" id="LN4298">4298</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4299"><td class="num" id="LN4299">4299</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4300"><td class="num" id="LN4300">4300</td><td class="line"> file_list = fr_window_get_folder_tree_selection (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4301"><td class="num" id="LN4301">4301</td><td class="line"> <span class='keyword'>if</span> (file_list == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="4302"><td class="num" id="LN4302">4302</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4303"><td class="num" id="LN4303">4303</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4304"><td class="num" id="LN4304">4304</td><td class="line"> <span class='keyword'>if</span> (gtk_selection_data_get_target (selection_data) == <span class='macro'>XFR_ATOM<span class='macro_popup'>gdk_atom_intern ("XdndEngrampa0", (0))</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4305"><td class="num" id="LN4305">4305</td><td class="line"> FrClipboardData *tmp;</td></tr>
+<tr class="codeline" data-linenumber="4306"><td class="num" id="LN4306">4306</td><td class="line"> <span class='keyword'>char</span> *data;</td></tr>
+<tr class="codeline" data-linenumber="4307"><td class="num" id="LN4307">4307</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4308"><td class="num" id="LN4308">4308</td><td class="line"> tmp = fr_clipboard_data_new ();</td></tr>
+<tr class="codeline" data-linenumber="4309"><td class="num" id="LN4309">4309</td><td class="line"> tmp-&gt;files = file_list;</td></tr>
+<tr class="codeline" data-linenumber="4310"><td class="num" id="LN4310">4310</td><td class="line"> tmp-&gt;op = FR_CLIPBOARD_OP_COPY;</td></tr>
+<tr class="codeline" data-linenumber="4311"><td class="num" id="LN4311">4311</td><td class="line"> tmp-&gt;base_dir = <span class='macro'>g_strdup (fr_window_get_current_location (window))<span class='macro_popup'>g_strdup_inline (fr_window_get_current_location (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4312"><td class="num" id="LN4312">4312</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4313"><td class="num" id="LN4313">4313</td><td class="line"> data = get_selection_data_from_clipboard_data (window, tmp);</td></tr>
+<tr class="codeline" data-linenumber="4314"><td class="num" id="LN4314">4314</td><td class="line"> gtk_selection_data_set (selection_data, <span class='macro'>XFR_ATOM<span class='macro_popup'>gdk_atom_intern ("XdndEngrampa0", (0))</span></span>, 8, (guchar *) data, strlen (data));</td></tr>
+<tr class="codeline" data-linenumber="4315"><td class="num" id="LN4315">4315</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4316"><td class="num" id="LN4316">4316</td><td class="line"> fr_clipboard_data_unref (tmp);</td></tr>
+<tr class="codeline" data-linenumber="4317"><td class="num" id="LN4317">4317</td><td class="line"> g_free (data);</td></tr>
+<tr class="codeline" data-linenumber="4318"><td class="num" id="LN4318">4318</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4319"><td class="num" id="LN4319">4319</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4320"><td class="num" id="LN4320">4320</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4321"><td class="num" id="LN4321">4321</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4322"><td class="num" id="LN4322">4322</td><td class="line"> <span class='keyword'>if</span> (! caja_xds_dnd_is_valid_xds_context (context))</td></tr>
+<tr class="codeline" data-linenumber="4323"><td class="num" id="LN4323">4323</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4324"><td class="num" id="LN4324">4324</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4325"><td class="num" id="LN4325">4325</td><td class="line"> destination = get_xds_atom_value (context);</td></tr>
+<tr class="codeline" data-linenumber="4326"><td class="num" id="LN4326">4326</td><td class="line"> <span class='macro'>g_return_val_if_fail (destination != NULL, FALSE)<span class='macro_popup'>do { if ((destination != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "destination != NULL"<br>); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4327"><td class="num" id="LN4327">4327</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4328"><td class="num" id="LN4328">4328</td><td class="line"> destination_folder = remove_level_from_path (destination);</td></tr>
+<tr class="codeline" data-linenumber="4329"><td class="num" id="LN4329">4329</td><td class="line"> g_free (destination);</td></tr>
+<tr class="codeline" data-linenumber="4330"><td class="num" id="LN4330">4330</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4331"><td class="num" id="LN4331">4331</td><td class="line"> <span class='comment'>/* check whether the extraction can be performed in the destination</span></td></tr>
+<tr class="codeline" data-linenumber="4332"><td class="num" id="LN4332">4332</td><td class="line"> <span class='comment'>* folder */</span></td></tr>
+<tr class="codeline" data-linenumber="4333"><td class="num" id="LN4333">4333</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4334"><td class="num" id="LN4334">4334</td><td class="line"> g_clear_error (&amp;window-&gt;priv-&gt;drag_error);</td></tr>
+<tr class="codeline" data-linenumber="4335"><td class="num" id="LN4335">4335</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4336"><td class="num" id="LN4336">4336</td><td class="line"> <span class='keyword'>if</span> (! check_permissions (destination_folder, <span class='macro'>R_OK<span class='macro_popup'>4</span></span> | <span class='macro'>W_OK<span class='macro_popup'>2</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="4337"><td class="num" id="LN4337">4337</td><td class="line"> <span class='keyword'>char</span> *destination_folder_display_name;</td></tr>
+<tr class="codeline" data-linenumber="4338"><td class="num" id="LN4338">4338</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4339"><td class="num" id="LN4339">4339</td><td class="line"> destination_folder_display_name = g_filename_display_name (destination_folder);</td></tr>
+<tr class="codeline" data-linenumber="4340"><td class="num" id="LN4340">4340</td><td class="line"> window-&gt;priv-&gt;drag_error = g_error_new (<span class='macro'>FR_ERROR<span class='macro_popup'>fr_error_quark ()</span></span>, 0, <span class='macro'>_(<span class='string_literal'>"You don't have the right permissions to extract archives in the folder \"%s\""</span>)<span class='macro_popup'>gettext ("You don't have the right permissions to extract archives in the folder \"%s\""<br>)</span></span>, destination_folder_display_name);</td></tr>
+<tr class="codeline" data-linenumber="4341"><td class="num" id="LN4341">4341</td><td class="line"> g_free (destination_folder_display_name);</td></tr>
+<tr class="codeline" data-linenumber="4342"><td class="num" id="LN4342">4342</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4343"><td class="num" id="LN4343">4343</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4344"><td class="num" id="LN4344">4344</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;drag_error == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4345"><td class="num" id="LN4345">4345</td><td class="line"> g_free (window-&gt;priv-&gt;drag_destination_folder);</td></tr>
+<tr class="codeline" data-linenumber="4346"><td class="num" id="LN4346">4346</td><td class="line"> g_free (window-&gt;priv-&gt;drag_base_dir);</td></tr>
+<tr class="codeline" data-linenumber="4347"><td class="num" id="LN4347">4347</td><td class="line"> path_list_free (window-&gt;priv-&gt;drag_file_list);</td></tr>
+<tr class="codeline" data-linenumber="4348"><td class="num" id="LN4348">4348</td><td class="line"> window-&gt;priv-&gt;drag_destination_folder = <span class='macro'>g_strdup (destination_folder)<span class='macro_popup'>g_strdup_inline (destination_folder)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4349"><td class="num" id="LN4349">4349</td><td class="line"> window-&gt;priv-&gt;drag_base_dir = fr_window_get_selected_folder_in_tree_view (window);</td></tr>
+<tr class="codeline" data-linenumber="4350"><td class="num" id="LN4350">4350</td><td class="line"> window-&gt;priv-&gt;drag_file_list = file_list;</td></tr>
+<tr class="codeline" data-linenumber="4351"><td class="num" id="LN4351">4351</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4352"><td class="num" id="LN4352">4352</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4353"><td class="num" id="LN4353">4353</td><td class="line"> g_free (destination_folder);</td></tr>
+<tr class="codeline" data-linenumber="4354"><td class="num" id="LN4354">4354</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4355"><td class="num" id="LN4355">4355</td><td class="line"> <span class='comment'>/* sends back the response */</span></td></tr>
+<tr class="codeline" data-linenumber="4356"><td class="num" id="LN4356">4356</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4357"><td class="num" id="LN4357">4357</td><td class="line"> gtk_selection_data_set (selection_data, gtk_selection_data_get_target (selection_data), 8, (guchar *) ((window-&gt;priv-&gt;drag_error == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) ? <span class='string_literal'>"S"</span> : <span class='string_literal'>"E"</span>), 1);</td></tr>
+<tr class="codeline" data-linenumber="4358"><td class="num" id="LN4358">4358</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4359"><td class="num" id="LN4359">4359</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 4359, __FUNCTION__</span></span>, <span class='string_literal'>"::DragDataGet &lt;--\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4360"><td class="num" id="LN4360">4360</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4361"><td class="num" id="LN4361">4361</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4362"><td class="num" id="LN4362">4362</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4363"><td class="num" id="LN4363">4363</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4364"><td class="num" id="LN4364">4364</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="4365"><td class="num" id="LN4365">4365</td><td class="line">fr_window_file_list_drag_data_get (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="4366"><td class="num" id="LN4366">4366</td><td class="line"> GdkDragContext *context,</td></tr>
+<tr class="codeline" data-linenumber="4367"><td class="num" id="LN4367">4367</td><td class="line"> GtkSelectionData *selection_data,</td></tr>
+<tr class="codeline" data-linenumber="4368"><td class="num" id="LN4368">4368</td><td class="line"> GList *path_list)</td></tr>
+<tr class="codeline" data-linenumber="4369"><td class="num" id="LN4369">4369</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4370"><td class="num" id="LN4370">4370</td><td class="line"> <span class='keyword'>char</span> *destination;</td></tr>
+<tr class="codeline" data-linenumber="4371"><td class="num" id="LN4371">4371</td><td class="line"> <span class='keyword'>char</span> *destination_folder;</td></tr>
+<tr class="codeline" data-linenumber="4372"><td class="num" id="LN4372">4372</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4373"><td class="num" id="LN4373">4373</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 4373, __FUNCTION__</span></span>, <span class='string_literal'>"::DragDataGet --&gt;\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4374"><td class="num" id="LN4374">4374</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4375"><td class="num" id="LN4375">4375</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;path_clicked != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4376"><td class="num" id="LN4376">4376</td><td class="line"> gtk_tree_path_free (window-&gt;priv-&gt;path_clicked);</td></tr>
+<tr class="codeline" data-linenumber="4377"><td class="num" id="LN4377">4377</td><td class="line"> window-&gt;priv-&gt;path_clicked = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4378"><td class="num" id="LN4378">4378</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4379"><td class="num" id="LN4379">4379</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4380"><td class="num" id="LN4380">4380</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;activity_ref &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="4381"><td class="num" id="LN4381">4381</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4382"><td class="num" id="LN4382">4382</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4383"><td class="num" id="LN4383">4383</td><td class="line"> <span class='keyword'>if</span> (gtk_selection_data_get_target (selection_data) == <span class='macro'>XFR_ATOM<span class='macro_popup'>gdk_atom_intern ("XdndEngrampa0", (0))</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4384"><td class="num" id="LN4384">4384</td><td class="line"> FrClipboardData *tmp;</td></tr>
+<tr class="codeline" data-linenumber="4385"><td class="num" id="LN4385">4385</td><td class="line"> <span class='keyword'>char</span> *data;</td></tr>
+<tr class="codeline" data-linenumber="4386"><td class="num" id="LN4386">4386</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4387"><td class="num" id="LN4387">4387</td><td class="line"> tmp = fr_clipboard_data_new ();</td></tr>
+<tr class="codeline" data-linenumber="4388"><td class="num" id="LN4388">4388</td><td class="line"> tmp-&gt;files = fr_window_get_file_list_selection (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4389"><td class="num" id="LN4389">4389</td><td class="line"> tmp-&gt;op = FR_CLIPBOARD_OP_COPY;</td></tr>
+<tr class="codeline" data-linenumber="4390"><td class="num" id="LN4390">4390</td><td class="line"> tmp-&gt;base_dir = <span class='macro'>g_strdup (fr_window_get_current_location (window))<span class='macro_popup'>g_strdup_inline (fr_window_get_current_location (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4391"><td class="num" id="LN4391">4391</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4392"><td class="num" id="LN4392">4392</td><td class="line"> data = get_selection_data_from_clipboard_data (window, tmp);</td></tr>
+<tr class="codeline" data-linenumber="4393"><td class="num" id="LN4393">4393</td><td class="line"> gtk_selection_data_set (selection_data, <span class='macro'>XFR_ATOM<span class='macro_popup'>gdk_atom_intern ("XdndEngrampa0", (0))</span></span>, 8, (guchar *) data, strlen (data));</td></tr>
+<tr class="codeline" data-linenumber="4394"><td class="num" id="LN4394">4394</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4395"><td class="num" id="LN4395">4395</td><td class="line"> fr_clipboard_data_unref (tmp);</td></tr>
+<tr class="codeline" data-linenumber="4396"><td class="num" id="LN4396">4396</td><td class="line"> g_free (data);</td></tr>
+<tr class="codeline" data-linenumber="4397"><td class="num" id="LN4397">4397</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4398"><td class="num" id="LN4398">4398</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4399"><td class="num" id="LN4399">4399</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4400"><td class="num" id="LN4400">4400</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4401"><td class="num" id="LN4401">4401</td><td class="line"> <span class='keyword'>if</span> (! caja_xds_dnd_is_valid_xds_context (context))</td></tr>
+<tr class="codeline" data-linenumber="4402"><td class="num" id="LN4402">4402</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4403"><td class="num" id="LN4403">4403</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4404"><td class="num" id="LN4404">4404</td><td class="line"> destination = get_xds_atom_value (context);</td></tr>
+<tr class="codeline" data-linenumber="4405"><td class="num" id="LN4405">4405</td><td class="line"> <span class='macro'>g_return_val_if_fail (destination != NULL, FALSE)<span class='macro_popup'>do { if ((destination != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "destination != NULL"<br>); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4406"><td class="num" id="LN4406">4406</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4407"><td class="num" id="LN4407">4407</td><td class="line"> destination_folder = remove_level_from_path (destination);</td></tr>
+<tr class="codeline" data-linenumber="4408"><td class="num" id="LN4408">4408</td><td class="line"> g_free (destination);</td></tr>
+<tr class="codeline" data-linenumber="4409"><td class="num" id="LN4409">4409</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4410"><td class="num" id="LN4410">4410</td><td class="line"> <span class='comment'>/* check whether the extraction can be performed in the destination</span></td></tr>
+<tr class="codeline" data-linenumber="4411"><td class="num" id="LN4411">4411</td><td class="line"> <span class='comment'>* folder */</span></td></tr>
+<tr class="codeline" data-linenumber="4412"><td class="num" id="LN4412">4412</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4413"><td class="num" id="LN4413">4413</td><td class="line"> g_clear_error (&amp;window-&gt;priv-&gt;drag_error);</td></tr>
+<tr class="codeline" data-linenumber="4414"><td class="num" id="LN4414">4414</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4415"><td class="num" id="LN4415">4415</td><td class="line"> <span class='keyword'>if</span> (! check_permissions (destination_folder, <span class='macro'>R_OK<span class='macro_popup'>4</span></span> | <span class='macro'>W_OK<span class='macro_popup'>2</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="4416"><td class="num" id="LN4416">4416</td><td class="line"> <span class='keyword'>char</span> *destination_folder_display_name;</td></tr>
+<tr class="codeline" data-linenumber="4417"><td class="num" id="LN4417">4417</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4418"><td class="num" id="LN4418">4418</td><td class="line"> destination_folder_display_name = g_filename_display_name (destination_folder);</td></tr>
+<tr class="codeline" data-linenumber="4419"><td class="num" id="LN4419">4419</td><td class="line"> window-&gt;priv-&gt;drag_error = g_error_new (<span class='macro'>FR_ERROR<span class='macro_popup'>fr_error_quark ()</span></span>, 0, <span class='macro'>_(<span class='string_literal'>"You don't have the right permissions to extract archives in the folder \"%s\""</span>)<span class='macro_popup'>gettext ("You don't have the right permissions to extract archives in the folder \"%s\""<br>)</span></span>, destination_folder_display_name);</td></tr>
+<tr class="codeline" data-linenumber="4420"><td class="num" id="LN4420">4420</td><td class="line"> g_free (destination_folder_display_name);</td></tr>
+<tr class="codeline" data-linenumber="4421"><td class="num" id="LN4421">4421</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4422"><td class="num" id="LN4422">4422</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4423"><td class="num" id="LN4423">4423</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;drag_error == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4424"><td class="num" id="LN4424">4424</td><td class="line"> g_free (window-&gt;priv-&gt;drag_destination_folder);</td></tr>
+<tr class="codeline" data-linenumber="4425"><td class="num" id="LN4425">4425</td><td class="line"> g_free (window-&gt;priv-&gt;drag_base_dir);</td></tr>
+<tr class="codeline" data-linenumber="4426"><td class="num" id="LN4426">4426</td><td class="line"> path_list_free (window-&gt;priv-&gt;drag_file_list);</td></tr>
+<tr class="codeline" data-linenumber="4427"><td class="num" id="LN4427">4427</td><td class="line"> window-&gt;priv-&gt;drag_destination_folder = <span class='macro'>g_strdup (destination_folder)<span class='macro_popup'>g_strdup_inline (destination_folder)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4428"><td class="num" id="LN4428">4428</td><td class="line"> window-&gt;priv-&gt;drag_base_dir = <span class='macro'>g_strdup (fr_window_get_current_location (window))<span class='macro_popup'>g_strdup_inline (fr_window_get_current_location (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4429"><td class="num" id="LN4429">4429</td><td class="line"> window-&gt;priv-&gt;drag_file_list = fr_window_get_file_list_from_path_list (window, path_list, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4430"><td class="num" id="LN4430">4430</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4431"><td class="num" id="LN4431">4431</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4432"><td class="num" id="LN4432">4432</td><td class="line"> g_free (destination_folder);</td></tr>
+<tr class="codeline" data-linenumber="4433"><td class="num" id="LN4433">4433</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4434"><td class="num" id="LN4434">4434</td><td class="line"> <span class='comment'>/* sends back the response */</span></td></tr>
+<tr class="codeline" data-linenumber="4435"><td class="num" id="LN4435">4435</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4436"><td class="num" id="LN4436">4436</td><td class="line"> gtk_selection_data_set (selection_data, gtk_selection_data_get_target (selection_data), 8, (guchar *) ((window-&gt;priv-&gt;drag_error == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) ? <span class='string_literal'>"S"</span> : <span class='string_literal'>"E"</span>), 1);</td></tr>
+<tr class="codeline" data-linenumber="4437"><td class="num" id="LN4437">4437</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4438"><td class="num" id="LN4438">4438</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 4438, __FUNCTION__</span></span>, <span class='string_literal'>"::DragDataGet &lt;--\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4439"><td class="num" id="LN4439">4439</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4440"><td class="num" id="LN4440">4440</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4441"><td class="num" id="LN4441">4441</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4442"><td class="num" id="LN4442">4442</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4443"><td class="num" id="LN4443">4443</td><td class="line"><span class='comment'>/* -- window_new -- */</span></td></tr>
+<tr class="codeline" data-linenumber="4444"><td class="num" id="LN4444">4444</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4445"><td class="num" id="LN4445">4445</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4446"><td class="num" id="LN4446">4446</td><td class="line">fr_window_deactivate_filter (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4447"><td class="num" id="LN4447">4447</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4448"><td class="num" id="LN4448">4448</td><td class="line"> window-&gt;priv-&gt;filter_mode = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4449"><td class="num" id="LN4449">4449</td><td class="line"> window-&gt;priv-&gt;list_mode = window-&gt;priv-&gt;last_list_mode;</td></tr>
+<tr class="codeline" data-linenumber="4450"><td class="num" id="LN4450">4450</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4451"><td class="num" id="LN4451">4451</td><td class="line"> gtk_entry_set_text (<span class='macro'>GTK_ENTRY (window-&gt;priv-&gt;filter_entry)<span class='macro_popup'>((((GtkEntry*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;filter_entry)), ((gtk_entry_get_type<br> ()))))))</span></span>, <span class='string_literal'>""</span>);</td></tr>
+<tr class="codeline" data-linenumber="4452"><td class="num" id="LN4452">4452</td><td class="line"> fr_window_update_filter_bar_visibility (window);</td></tr>
+<tr class="codeline" data-linenumber="4453"><td class="num" id="LN4453">4453</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4454"><td class="num" id="LN4454">4454</td><td class="line"> gtk_list_store_clear (window-&gt;priv-&gt;list_store);</td></tr>
+<tr class="codeline" data-linenumber="4455"><td class="num" id="LN4455">4455</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4456"><td class="num" id="LN4456">4456</td><td class="line"> fr_window_update_columns_visibility (window);</td></tr>
+<tr class="codeline" data-linenumber="4457"><td class="num" id="LN4457">4457</td><td class="line"> fr_window_update_file_list (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4458"><td class="num" id="LN4458">4458</td><td class="line"> fr_window_update_dir_tree (window);</td></tr>
+<tr class="codeline" data-linenumber="4459"><td class="num" id="LN4459">4459</td><td class="line"> fr_window_update_current_location (window);</td></tr>
+<tr class="codeline" data-linenumber="4460"><td class="num" id="LN4460">4460</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4461"><td class="num" id="LN4461">4461</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4462"><td class="num" id="LN4462">4462</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="4463"><td class="num" id="LN4463">4463</td><td class="line">key_press_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="4464"><td class="num" id="LN4464">4464</td><td class="line"> GdkEventKey *event,</td></tr>
+<tr class="codeline" data-linenumber="4465"><td class="num" id="LN4465">4465</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="4466"><td class="num" id="LN4466">4466</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4467"><td class="num" id="LN4467">4467</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="4468"><td class="num" id="LN4468">4468</td><td class="line"> gboolean retval = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4469"><td class="num" id="LN4469">4469</td><td class="line"> gboolean alt;</td></tr>
+<tr class="codeline" data-linenumber="4470"><td class="num" id="LN4470">4470</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4471"><td class="num" id="LN4471">4471</td><td class="line"> <span class='keyword'>if</span> (gtk_widget_has_focus (window-&gt;priv-&gt;location_entry))</td></tr>
+<tr class="codeline" data-linenumber="4472"><td class="num" id="LN4472">4472</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4473"><td class="num" id="LN4473">4473</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4474"><td class="num" id="LN4474">4474</td><td class="line"> <span class='keyword'>if</span> (gtk_widget_has_focus (window-&gt;priv-&gt;filter_entry)) {</td></tr>
+<tr class="codeline" data-linenumber="4475"><td class="num" id="LN4475">4475</td><td class="line"> <span class='keyword'>switch</span> (event-&gt;keyval) {</td></tr>
+<tr class="codeline" data-linenumber="4476"><td class="num" id="LN4476">4476</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Escape<span class='macro_popup'>0xff1b</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4477"><td class="num" id="LN4477">4477</td><td class="line"> fr_window_deactivate_filter (window);</td></tr>
+<tr class="codeline" data-linenumber="4478"><td class="num" id="LN4478">4478</td><td class="line"> retval = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4479"><td class="num" id="LN4479">4479</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4480"><td class="num" id="LN4480">4480</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="4481"><td class="num" id="LN4481">4481</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4482"><td class="num" id="LN4482">4482</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4483"><td class="num" id="LN4483">4483</td><td class="line"> <span class='keyword'>return</span> retval;</td></tr>
+<tr class="codeline" data-linenumber="4484"><td class="num" id="LN4484">4484</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4485"><td class="num" id="LN4485">4485</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4486"><td class="num" id="LN4486">4486</td><td class="line"> alt = (event-&gt;state &amp; GDK_MOD1_MASK) == GDK_MOD1_MASK;</td></tr>
+<tr class="codeline" data-linenumber="4487"><td class="num" id="LN4487">4487</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4488"><td class="num" id="LN4488">4488</td><td class="line"> <span class='keyword'>switch</span> (event-&gt;keyval) {</td></tr>
+<tr class="codeline" data-linenumber="4489"><td class="num" id="LN4489">4489</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Escape<span class='macro_popup'>0xff1b</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4490"><td class="num" id="LN4490">4490</td><td class="line"> activate_action_stop (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, window);</td></tr>
+<tr class="codeline" data-linenumber="4491"><td class="num" id="LN4491">4491</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;filter_mode)</td></tr>
+<tr class="codeline" data-linenumber="4492"><td class="num" id="LN4492">4492</td><td class="line"> fr_window_deactivate_filter (window);</td></tr>
+<tr class="codeline" data-linenumber="4493"><td class="num" id="LN4493">4493</td><td class="line"> retval = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4494"><td class="num" id="LN4494">4494</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4495"><td class="num" id="LN4495">4495</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4496"><td class="num" id="LN4496">4496</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_F10<span class='macro_popup'>0xffc7</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4497"><td class="num" id="LN4497">4497</td><td class="line"> <span class='keyword'>if</span> (event-&gt;state &amp; GDK_SHIFT_MASK) {</td></tr>
+<tr class="codeline" data-linenumber="4498"><td class="num" id="LN4498">4498</td><td class="line"> GtkTreeSelection *selection;</td></tr>
+<tr class="codeline" data-linenumber="4499"><td class="num" id="LN4499">4499</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4500"><td class="num" id="LN4500">4500</td><td class="line"> selection = gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4501"><td class="num" id="LN4501">4501</td><td class="line"> <span class='keyword'>if</span> (selection == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="4502"><td class="num" id="LN4502">4502</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4503"><td class="num" id="LN4503">4503</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4504"><td class="num" id="LN4504">4504</td><td class="line"> gtk_menu_popup_at_pointer (<span class='macro'>GTK_MENU (window-&gt;priv-&gt;file_popup_menu)<span class='macro_popup'>((((GtkMenu*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;file_popup_menu)), ((gtk_menu_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4505"><td class="num" id="LN4505">4505</td><td class="line"> (<span class='keyword'>const</span> GdkEvent*) event);</td></tr>
+<tr class="codeline" data-linenumber="4506"><td class="num" id="LN4506">4506</td><td class="line"> retval = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4507"><td class="num" id="LN4507">4507</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4508"><td class="num" id="LN4508">4508</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4509"><td class="num" id="LN4509">4509</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4510"><td class="num" id="LN4510">4510</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Up<span class='macro_popup'>0xff52</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4511"><td class="num" id="LN4511">4511</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_KP_Up<span class='macro_popup'>0xff97</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4512"><td class="num" id="LN4512">4512</td><td class="line"> <span class='keyword'>if</span> (alt) {</td></tr>
+<tr class="codeline" data-linenumber="4513"><td class="num" id="LN4513">4513</td><td class="line"> fr_window_go_up_one_level (window);</td></tr>
+<tr class="codeline" data-linenumber="4514"><td class="num" id="LN4514">4514</td><td class="line"> retval = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4515"><td class="num" id="LN4515">4515</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4516"><td class="num" id="LN4516">4516</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4517"><td class="num" id="LN4517">4517</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4518"><td class="num" id="LN4518">4518</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_BackSpace<span class='macro_popup'>0xff08</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4519"><td class="num" id="LN4519">4519</td><td class="line"> fr_window_go_up_one_level (window);</td></tr>
+<tr class="codeline" data-linenumber="4520"><td class="num" id="LN4520">4520</td><td class="line"> retval = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4521"><td class="num" id="LN4521">4521</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4522"><td class="num" id="LN4522">4522</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4523"><td class="num" id="LN4523">4523</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Right<span class='macro_popup'>0xff53</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4524"><td class="num" id="LN4524">4524</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_KP_Right<span class='macro_popup'>0xff98</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4525"><td class="num" id="LN4525">4525</td><td class="line"> <span class='keyword'>if</span> (alt) {</td></tr>
+<tr class="codeline" data-linenumber="4526"><td class="num" id="LN4526">4526</td><td class="line"> fr_window_go_forward (window);</td></tr>
+<tr class="codeline" data-linenumber="4527"><td class="num" id="LN4527">4527</td><td class="line"> retval = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4528"><td class="num" id="LN4528">4528</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4529"><td class="num" id="LN4529">4529</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4530"><td class="num" id="LN4530">4530</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4531"><td class="num" id="LN4531">4531</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Left<span class='macro_popup'>0xff51</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4532"><td class="num" id="LN4532">4532</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_KP_Left<span class='macro_popup'>0xff96</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4533"><td class="num" id="LN4533">4533</td><td class="line"> <span class='keyword'>if</span> (alt) {</td></tr>
+<tr class="codeline" data-linenumber="4534"><td class="num" id="LN4534">4534</td><td class="line"> fr_window_go_back (window);</td></tr>
+<tr class="codeline" data-linenumber="4535"><td class="num" id="LN4535">4535</td><td class="line"> retval = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4536"><td class="num" id="LN4536">4536</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4537"><td class="num" id="LN4537">4537</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4538"><td class="num" id="LN4538">4538</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4539"><td class="num" id="LN4539">4539</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Home<span class='macro_popup'>0xff50</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4540"><td class="num" id="LN4540">4540</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_KP_Home<span class='macro_popup'>0xff95</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4541"><td class="num" id="LN4541">4541</td><td class="line"> <span class='keyword'>if</span> (alt) {</td></tr>
+<tr class="codeline" data-linenumber="4542"><td class="num" id="LN4542">4542</td><td class="line"> fr_window_go_to_location (window, <span class='string_literal'>"/"</span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4543"><td class="num" id="LN4543">4543</td><td class="line"> retval = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4544"><td class="num" id="LN4544">4544</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4545"><td class="num" id="LN4545">4545</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4546"><td class="num" id="LN4546">4546</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4547"><td class="num" id="LN4547">4547</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="4548"><td class="num" id="LN4548">4548</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4549"><td class="num" id="LN4549">4549</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4550"><td class="num" id="LN4550">4550</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4551"><td class="num" id="LN4551">4551</td><td class="line"> <span class='keyword'>return</span> retval;</td></tr>
+<tr class="codeline" data-linenumber="4552"><td class="num" id="LN4552">4552</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4553"><td class="num" id="LN4553">4553</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4554"><td class="num" id="LN4554">4554</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="4555"><td class="num" id="LN4555">4555</td><td class="line">dir_tree_selection_changed_cb (GtkTreeSelection *selection,</td></tr>
+<tr class="codeline" data-linenumber="4556"><td class="num" id="LN4556">4556</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4557"><td class="num" id="LN4557">4557</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4558"><td class="num" id="LN4558">4558</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="4559"><td class="num" id="LN4559">4559</td><td class="line"> GtkTreeIter iter;</td></tr>
+<tr class="codeline" data-linenumber="4560"><td class="num" id="LN4560">4560</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4561"><td class="num" id="LN4561">4561</td><td class="line"> <span class='keyword'>if</span> (gtk_tree_selection_get_selected (selection, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, &amp;iter)) {</td></tr>
+<tr class="codeline" data-linenumber="4562"><td class="num" id="LN4562">4562</td><td class="line"> <span class='keyword'>char</span> *path;</td></tr>
+<tr class="codeline" data-linenumber="4563"><td class="num" id="LN4563">4563</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4564"><td class="num" id="LN4564">4564</td><td class="line"> gtk_tree_model_get (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;tree_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4565"><td class="num" id="LN4565">4565</td><td class="line"> &amp;iter,</td></tr>
+<tr class="codeline" data-linenumber="4566"><td class="num" id="LN4566">4566</td><td class="line"> TREE_COLUMN_PATH, &amp;path,</td></tr>
+<tr class="codeline" data-linenumber="4567"><td class="num" id="LN4567">4567</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="4568"><td class="num" id="LN4568">4568</td><td class="line"> fr_window_go_to_location (window, path, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4569"><td class="num" id="LN4569">4569</td><td class="line"> g_free (path);</td></tr>
+<tr class="codeline" data-linenumber="4570"><td class="num" id="LN4570">4570</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4571"><td class="num" id="LN4571">4571</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4572"><td class="num" id="LN4572">4572</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4573"><td class="num" id="LN4573">4573</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4574"><td class="num" id="LN4574">4574</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4575"><td class="num" id="LN4575">4575</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="4576"><td class="num" id="LN4576">4576</td><td class="line">selection_changed_cb (GtkTreeSelection *selection,</td></tr>
+<tr class="codeline" data-linenumber="4577"><td class="num" id="LN4577">4577</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4578"><td class="num" id="LN4578">4578</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4579"><td class="num" id="LN4579">4579</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="4580"><td class="num" id="LN4580">4580</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4581"><td class="num" id="LN4581">4581</td><td class="line"> fr_window_update_statusbar_list_info (window);</td></tr>
+<tr class="codeline" data-linenumber="4582"><td class="num" id="LN4582">4582</td><td class="line"> fr_window_update_sensitivity (window);</td></tr>
+<tr class="codeline" data-linenumber="4583"><td class="num" id="LN4583">4583</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4584"><td class="num" id="LN4584">4584</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4585"><td class="num" id="LN4585">4585</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4586"><td class="num" id="LN4586">4586</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4587"><td class="num" id="LN4587">4587</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4588"><td class="num" id="LN4588">4588</td><td class="line">fr_window_delete_event_cb (GtkWidget *caller,</td></tr>
+<tr class="codeline" data-linenumber="4589"><td class="num" id="LN4589">4589</td><td class="line"> GdkEvent *event,</td></tr>
+<tr class="codeline" data-linenumber="4590"><td class="num" id="LN4590">4590</td><td class="line"> FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4591"><td class="num" id="LN4591">4591</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4592"><td class="num" id="LN4592">4592</td><td class="line"> fr_window_close (window);</td></tr>
+<tr class="codeline" data-linenumber="4593"><td class="num" id="LN4593">4593</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4594"><td class="num" id="LN4594">4594</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4595"><td class="num" id="LN4595">4595</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="4596"><td class="num" id="LN4596">4596</td><td class="line">is_single_click_policy (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4597"><td class="num" id="LN4597">4597</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4598"><td class="num" id="LN4598">4598</td><td class="line"> gboolean result = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4599"><td class="num" id="LN4599">4599</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4600"><td class="num" id="LN4600">4600</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;settings_caja) {</td></tr>
+<tr class="codeline" data-linenumber="4601"><td class="num" id="LN4601">4601</td><td class="line"> <span class='keyword'>char</span> *value;</td></tr>
+<tr class="codeline" data-linenumber="4602"><td class="num" id="LN4602">4602</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4603"><td class="num" id="LN4603">4603</td><td class="line"> value = g_settings_get_string (window-&gt;priv-&gt;settings_caja, <span class='macro'>CAJA_CLICK_POLICY<span class='macro_popup'>"click-policy"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4604"><td class="num" id="LN4604">4604</td><td class="line"> result = (value != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (strncmp (value, <span class='string_literal'>"single"</span>, 6) == 0);</td></tr>
+<tr class="codeline" data-linenumber="4605"><td class="num" id="LN4605">4605</td><td class="line"> g_free (value);</td></tr>
+<tr class="codeline" data-linenumber="4606"><td class="num" id="LN4606">4606</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4607"><td class="num" id="LN4607">4607</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4608"><td class="num" id="LN4608">4608</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="4609"><td class="num" id="LN4609">4609</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4610"><td class="num" id="LN4610">4610</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4611"><td class="num" id="LN4611">4611</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4612"><td class="num" id="LN4612">4612</td><td class="line">filename_cell_data_func (GtkTreeViewColumn *column,</td></tr>
+<tr class="codeline" data-linenumber="4613"><td class="num" id="LN4613">4613</td><td class="line"> GtkCellRenderer *renderer,</td></tr>
+<tr class="codeline" data-linenumber="4614"><td class="num" id="LN4614">4614</td><td class="line"> GtkTreeModel *model,</td></tr>
+<tr class="codeline" data-linenumber="4615"><td class="num" id="LN4615">4615</td><td class="line"> GtkTreeIter *iter,</td></tr>
+<tr class="codeline" data-linenumber="4616"><td class="num" id="LN4616">4616</td><td class="line"> FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4617"><td class="num" id="LN4617">4617</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4618"><td class="num" id="LN4618">4618</td><td class="line"> <span class='keyword'>char</span> *text;</td></tr>
+<tr class="codeline" data-linenumber="4619"><td class="num" id="LN4619">4619</td><td class="line"> PangoUnderline underline;</td></tr>
+<tr class="codeline" data-linenumber="4620"><td class="num" id="LN4620">4620</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4621"><td class="num" id="LN4621">4621</td><td class="line"> gtk_tree_model_get (model, iter,</td></tr>
+<tr class="codeline" data-linenumber="4622"><td class="num" id="LN4622">4622</td><td class="line"> COLUMN_NAME, &amp;text,</td></tr>
+<tr class="codeline" data-linenumber="4623"><td class="num" id="LN4623">4623</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="4624"><td class="num" id="LN4624">4624</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4625"><td class="num" id="LN4625">4625</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;single_click) {</td></tr>
+<tr class="codeline" data-linenumber="4626"><td class="num" id="LN4626">4626</td><td class="line"> GtkTreePath *path;</td></tr>
+<tr class="codeline" data-linenumber="4627"><td class="num" id="LN4627">4627</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4628"><td class="num" id="LN4628">4628</td><td class="line"> path = gtk_tree_model_get_path (model, iter);</td></tr>
+<tr class="codeline" data-linenumber="4629"><td class="num" id="LN4629">4629</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4630"><td class="num" id="LN4630">4630</td><td class="line"> <span class='keyword'>if</span> ((window-&gt;priv-&gt;list_hover_path == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="4631"><td class="num" id="LN4631">4631</td><td class="line"> || gtk_tree_path_compare (path, window-&gt;priv-&gt;list_hover_path))</td></tr>
+<tr class="codeline" data-linenumber="4632"><td class="num" id="LN4632">4632</td><td class="line"> underline = PANGO_UNDERLINE_NONE;</td></tr>
+<tr class="codeline" data-linenumber="4633"><td class="num" id="LN4633">4633</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="4634"><td class="num" id="LN4634">4634</td><td class="line"> underline = PANGO_UNDERLINE_SINGLE;</td></tr>
+<tr class="codeline" data-linenumber="4635"><td class="num" id="LN4635">4635</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4636"><td class="num" id="LN4636">4636</td><td class="line"> gtk_tree_path_free (path);</td></tr>
+<tr class="codeline" data-linenumber="4637"><td class="num" id="LN4637">4637</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4638"><td class="num" id="LN4638">4638</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="4639"><td class="num" id="LN4639">4639</td><td class="line"> underline = PANGO_UNDERLINE_NONE;</td></tr>
+<tr class="codeline" data-linenumber="4640"><td class="num" id="LN4640">4640</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4641"><td class="num" id="LN4641">4641</td><td class="line"> g_object_set (<span class='macro'>G_OBJECT (renderer)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((renderer)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4642"><td class="num" id="LN4642">4642</td><td class="line"> <span class='string_literal'>"text"</span>, text,</td></tr>
+<tr class="codeline" data-linenumber="4643"><td class="num" id="LN4643">4643</td><td class="line"> <span class='string_literal'>"underline"</span>, underline,</td></tr>
+<tr class="codeline" data-linenumber="4644"><td class="num" id="LN4644">4644</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4645"><td class="num" id="LN4645">4645</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4646"><td class="num" id="LN4646">4646</td><td class="line"> g_free (text);</td></tr>
+<tr class="codeline" data-linenumber="4647"><td class="num" id="LN4647">4647</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4648"><td class="num" id="LN4648">4648</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4649"><td class="num" id="LN4649">4649</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4650"><td class="num" id="LN4650">4650</td><td class="line">add_dir_tree_columns (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="4651"><td class="num" id="LN4651">4651</td><td class="line"> GtkTreeView *treeview)</td></tr>
+<tr class="codeline" data-linenumber="4652"><td class="num" id="LN4652">4652</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4653"><td class="num" id="LN4653">4653</td><td class="line"> GtkCellRenderer *renderer;</td></tr>
+<tr class="codeline" data-linenumber="4654"><td class="num" id="LN4654">4654</td><td class="line"> GtkTreeViewColumn *column;</td></tr>
+<tr class="codeline" data-linenumber="4655"><td class="num" id="LN4655">4655</td><td class="line"> GValue value = { 0, };</td></tr>
+<tr class="codeline" data-linenumber="4656"><td class="num" id="LN4656">4656</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4657"><td class="num" id="LN4657">4657</td><td class="line"> <span class='comment'>/* First column. */</span></td></tr>
+<tr class="codeline" data-linenumber="4658"><td class="num" id="LN4658">4658</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4659"><td class="num" id="LN4659">4659</td><td class="line"> column = gtk_tree_view_column_new ();</td></tr>
+<tr class="codeline" data-linenumber="4660"><td class="num" id="LN4660">4660</td><td class="line"> gtk_tree_view_column_set_title (column, <span class='macro'>_(<span class='string_literal'>"Folders"</span>)<span class='macro_popup'>gettext ("Folders")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4661"><td class="num" id="LN4661">4661</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4662"><td class="num" id="LN4662">4662</td><td class="line"> <span class='comment'>/* icon */</span></td></tr>
+<tr class="codeline" data-linenumber="4663"><td class="num" id="LN4663">4663</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4664"><td class="num" id="LN4664">4664</td><td class="line"> renderer = gtk_cell_renderer_pixbuf_new ();</td></tr>
+<tr class="codeline" data-linenumber="4665"><td class="num" id="LN4665">4665</td><td class="line"> gtk_tree_view_column_pack_start (column, renderer, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4666"><td class="num" id="LN4666">4666</td><td class="line"> gtk_tree_view_column_set_attributes (column, renderer,</td></tr>
+<tr class="codeline" data-linenumber="4667"><td class="num" id="LN4667">4667</td><td class="line"> <span class='string_literal'>"pixbuf"</span>, TREE_COLUMN_ICON,</td></tr>
+<tr class="codeline" data-linenumber="4668"><td class="num" id="LN4668">4668</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4669"><td class="num" id="LN4669">4669</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4670"><td class="num" id="LN4670">4670</td><td class="line"> <span class='comment'>/* name */</span></td></tr>
+<tr class="codeline" data-linenumber="4671"><td class="num" id="LN4671">4671</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4672"><td class="num" id="LN4672">4672</td><td class="line"> renderer = gtk_cell_renderer_text_new ();</td></tr>
+<tr class="codeline" data-linenumber="4673"><td class="num" id="LN4673">4673</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4674"><td class="num" id="LN4674">4674</td><td class="line"> g_value_init (&amp;value, <span class='macro'>PANGO_TYPE_ELLIPSIZE_MODE<span class='macro_popup'>(pango_ellipsize_mode_get_type ())</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4675"><td class="num" id="LN4675">4675</td><td class="line"> g_value_set_enum (&amp;value, PANGO_ELLIPSIZE_END);</td></tr>
+<tr class="codeline" data-linenumber="4676"><td class="num" id="LN4676">4676</td><td class="line"> g_object_set_property (<span class='macro'>G_OBJECT (renderer)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((renderer)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"ellipsize"</span>, &amp;value);</td></tr>
+<tr class="codeline" data-linenumber="4677"><td class="num" id="LN4677">4677</td><td class="line"> g_value_unset (&amp;value);</td></tr>
+<tr class="codeline" data-linenumber="4678"><td class="num" id="LN4678">4678</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4679"><td class="num" id="LN4679">4679</td><td class="line"> gtk_tree_view_column_pack_start (column,</td></tr>
+<tr class="codeline" data-linenumber="4680"><td class="num" id="LN4680">4680</td><td class="line"> renderer,</td></tr>
+<tr class="codeline" data-linenumber="4681"><td class="num" id="LN4681">4681</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4682"><td class="num" id="LN4682">4682</td><td class="line"> gtk_tree_view_column_set_attributes (column, renderer,</td></tr>
+<tr class="codeline" data-linenumber="4683"><td class="num" id="LN4683">4683</td><td class="line"> <span class='string_literal'>"text"</span>, TREE_COLUMN_NAME,</td></tr>
+<tr class="codeline" data-linenumber="4684"><td class="num" id="LN4684">4684</td><td class="line"> <span class='string_literal'>"weight"</span>, TREE_COLUMN_WEIGHT,</td></tr>
+<tr class="codeline" data-linenumber="4685"><td class="num" id="LN4685">4685</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4686"><td class="num" id="LN4686">4686</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4687"><td class="num" id="LN4687">4687</td><td class="line"> gtk_tree_view_column_set_sizing (column, GTK_TREE_VIEW_COLUMN_AUTOSIZE);</td></tr>
+<tr class="codeline" data-linenumber="4688"><td class="num" id="LN4688">4688</td><td class="line"> gtk_tree_view_column_set_sort_column_id (column, TREE_COLUMN_NAME);</td></tr>
+<tr class="codeline" data-linenumber="4689"><td class="num" id="LN4689">4689</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4690"><td class="num" id="LN4690">4690</td><td class="line"> gtk_tree_view_append_column (<span class='macro'>GTK_TREE_VIEW (treeview)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((treeview)), ((gtk_tree_view_get_type ()))))))</span></span>, column);</td></tr>
+<tr class="codeline" data-linenumber="4691"><td class="num" id="LN4691">4691</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4692"><td class="num" id="LN4692">4692</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4693"><td class="num" id="LN4693">4693</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4694"><td class="num" id="LN4694">4694</td><td class="line">add_file_list_columns (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="4695"><td class="num" id="LN4695">4695</td><td class="line"> GtkTreeView *treeview)</td></tr>
+<tr class="codeline" data-linenumber="4696"><td class="num" id="LN4696">4696</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4697"><td class="num" id="LN4697">4697</td><td class="line"> <span class='keyword'>static</span> <span class='keyword'>const</span> <span class='keyword'>char</span> *titles[] = {<span class='macro'>NC_(<span class='string_literal'>"File"</span>, <span class='string_literal'>"Size"</span>)<span class='macro_popup'>("Size")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4698"><td class="num" id="LN4698">4698</td><td class="line"> <span class='macro'>NC_(<span class='string_literal'>"File"</span>, <span class='string_literal'>"Type"</span>)<span class='macro_popup'>("Type")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4699"><td class="num" id="LN4699">4699</td><td class="line"> <span class='macro'>NC_(<span class='string_literal'>"File"</span>, <span class='string_literal'>"Date Modified"</span>)<span class='macro_popup'>("Date Modified")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4700"><td class="num" id="LN4700">4700</td><td class="line"> <span class='macro'>NC_(<span class='string_literal'>"File"</span>, <span class='string_literal'>"Location"</span>)<span class='macro_popup'>("Location")</span></span>};</td></tr>
+<tr class="codeline" data-linenumber="4701"><td class="num" id="LN4701">4701</td><td class="line"> GtkCellRenderer *renderer;</td></tr>
+<tr class="codeline" data-linenumber="4702"><td class="num" id="LN4702">4702</td><td class="line"> GtkTreeViewColumn *column;</td></tr>
+<tr class="codeline" data-linenumber="4703"><td class="num" id="LN4703">4703</td><td class="line"> GValue value = { 0, };</td></tr>
+<tr class="codeline" data-linenumber="4704"><td class="num" id="LN4704">4704</td><td class="line"> <span class='keyword'>int</span> i, j, w;</td></tr>
+<tr class="codeline" data-linenumber="4705"><td class="num" id="LN4705">4705</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4706"><td class="num" id="LN4706">4706</td><td class="line"> <span class='comment'>/* First column. */</span></td></tr>
+<tr class="codeline" data-linenumber="4707"><td class="num" id="LN4707">4707</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4708"><td class="num" id="LN4708">4708</td><td class="line"> window-&gt;priv-&gt;filename_column = column = gtk_tree_view_column_new ();</td></tr>
+<tr class="codeline" data-linenumber="4709"><td class="num" id="LN4709">4709</td><td class="line"> gtk_tree_view_column_set_title (column, <span class='macro'>C_(<span class='string_literal'>"File"</span>, <span class='string_literal'>"Name"</span>)<span class='macro_popup'>g_dpgettext (((void*)0), "File" "\004" "Name", strlen ("File"<br>) + 1)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4710"><td class="num" id="LN4710">4710</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4711"><td class="num" id="LN4711">4711</td><td class="line"> <span class='comment'>/* emblem */</span></td></tr>
+<tr class="codeline" data-linenumber="4712"><td class="num" id="LN4712">4712</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4713"><td class="num" id="LN4713">4713</td><td class="line"> renderer = gtk_cell_renderer_pixbuf_new ();</td></tr>
+<tr class="codeline" data-linenumber="4714"><td class="num" id="LN4714">4714</td><td class="line"> gtk_tree_view_column_pack_end (column, renderer, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4715"><td class="num" id="LN4715">4715</td><td class="line"> gtk_tree_view_column_set_attributes (column, renderer,</td></tr>
+<tr class="codeline" data-linenumber="4716"><td class="num" id="LN4716">4716</td><td class="line"> <span class='string_literal'>"pixbuf"</span>, COLUMN_EMBLEM,</td></tr>
+<tr class="codeline" data-linenumber="4717"><td class="num" id="LN4717">4717</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4718"><td class="num" id="LN4718">4718</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4719"><td class="num" id="LN4719">4719</td><td class="line"> <span class='comment'>/* icon */</span></td></tr>
+<tr class="codeline" data-linenumber="4720"><td class="num" id="LN4720">4720</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4721"><td class="num" id="LN4721">4721</td><td class="line"> renderer = gtk_cell_renderer_pixbuf_new ();</td></tr>
+<tr class="codeline" data-linenumber="4722"><td class="num" id="LN4722">4722</td><td class="line"> gtk_tree_view_column_pack_start (column, renderer, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4723"><td class="num" id="LN4723">4723</td><td class="line"> gtk_tree_view_column_set_attributes (column, renderer,</td></tr>
+<tr class="codeline" data-linenumber="4724"><td class="num" id="LN4724">4724</td><td class="line"> <span class='string_literal'>"pixbuf"</span>, COLUMN_ICON,</td></tr>
+<tr class="codeline" data-linenumber="4725"><td class="num" id="LN4725">4725</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4726"><td class="num" id="LN4726">4726</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4727"><td class="num" id="LN4727">4727</td><td class="line"> <span class='comment'>/* name */</span></td></tr>
+<tr class="codeline" data-linenumber="4728"><td class="num" id="LN4728">4728</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4729"><td class="num" id="LN4729">4729</td><td class="line"> window-&gt;priv-&gt;single_click = is_single_click_policy (window);</td></tr>
+<tr class="codeline" data-linenumber="4730"><td class="num" id="LN4730">4730</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4731"><td class="num" id="LN4731">4731</td><td class="line"> renderer = gtk_cell_renderer_text_new ();</td></tr>
+<tr class="codeline" data-linenumber="4732"><td class="num" id="LN4732">4732</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4733"><td class="num" id="LN4733">4733</td><td class="line"> g_value_init (&amp;value, <span class='macro'>PANGO_TYPE_ELLIPSIZE_MODE<span class='macro_popup'>(pango_ellipsize_mode_get_type ())</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4734"><td class="num" id="LN4734">4734</td><td class="line"> g_value_set_enum (&amp;value, PANGO_ELLIPSIZE_END);</td></tr>
+<tr class="codeline" data-linenumber="4735"><td class="num" id="LN4735">4735</td><td class="line"> g_object_set_property (<span class='macro'>G_OBJECT (renderer)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((renderer)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"ellipsize"</span>, &amp;value);</td></tr>
+<tr class="codeline" data-linenumber="4736"><td class="num" id="LN4736">4736</td><td class="line"> g_value_unset (&amp;value);</td></tr>
+<tr class="codeline" data-linenumber="4737"><td class="num" id="LN4737">4737</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4738"><td class="num" id="LN4738">4738</td><td class="line"> gtk_tree_view_column_pack_start (column,</td></tr>
+<tr class="codeline" data-linenumber="4739"><td class="num" id="LN4739">4739</td><td class="line"> renderer,</td></tr>
+<tr class="codeline" data-linenumber="4740"><td class="num" id="LN4740">4740</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4741"><td class="num" id="LN4741">4741</td><td class="line"> gtk_tree_view_column_set_attributes (column, renderer,</td></tr>
+<tr class="codeline" data-linenumber="4742"><td class="num" id="LN4742">4742</td><td class="line"> <span class='string_literal'>"text"</span>, COLUMN_NAME,</td></tr>
+<tr class="codeline" data-linenumber="4743"><td class="num" id="LN4743">4743</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4744"><td class="num" id="LN4744">4744</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4745"><td class="num" id="LN4745">4745</td><td class="line"> gtk_tree_view_column_set_sizing (column, GTK_TREE_VIEW_COLUMN_FIXED);</td></tr>
+<tr class="codeline" data-linenumber="4746"><td class="num" id="LN4746">4746</td><td class="line"> w = g_settings_get_int (window-&gt;priv-&gt;settings_listing, <span class='macro'>PREF_LISTING_NAME_COLUMN_WIDTH<span class='macro_popup'>"name-column-width"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4747"><td class="num" id="LN4747">4747</td><td class="line"> <span class='keyword'>if</span> (w &lt;= 0)</td></tr>
+<tr class="codeline" data-linenumber="4748"><td class="num" id="LN4748">4748</td><td class="line"> w = <span class='macro'>DEFAULT_NAME_COLUMN_WIDTH<span class='macro_popup'>250</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4749"><td class="num" id="LN4749">4749</td><td class="line"> gtk_tree_view_column_set_fixed_width (column, w);</td></tr>
+<tr class="codeline" data-linenumber="4750"><td class="num" id="LN4750">4750</td><td class="line"> gtk_tree_view_column_set_resizable (column, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4751"><td class="num" id="LN4751">4751</td><td class="line"> gtk_tree_view_column_set_sort_column_id (column, COLUMN_NAME);</td></tr>
+<tr class="codeline" data-linenumber="4752"><td class="num" id="LN4752">4752</td><td class="line"> gtk_tree_view_column_set_cell_data_func (column, renderer,</td></tr>
+<tr class="codeline" data-linenumber="4753"><td class="num" id="LN4753">4753</td><td class="line"> (GtkTreeCellDataFunc) filename_cell_data_func,</td></tr>
+<tr class="codeline" data-linenumber="4754"><td class="num" id="LN4754">4754</td><td class="line"> window, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4755"><td class="num" id="LN4755">4755</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4756"><td class="num" id="LN4756">4756</td><td class="line"> gtk_tree_view_append_column (<span class='macro'>GTK_TREE_VIEW (treeview)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((treeview)), ((gtk_tree_view_get_type ()))))))</span></span>, column);</td></tr>
+<tr class="codeline" data-linenumber="4757"><td class="num" id="LN4757">4757</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4758"><td class="num" id="LN4758">4758</td><td class="line"> <span class='comment'>/* Other columns */</span></td></tr>
+<tr class="codeline" data-linenumber="4759"><td class="num" id="LN4759">4759</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4760"><td class="num" id="LN4760">4760</td><td class="line"> <span class='keyword'>for</span> (j = 0, i = COLUMN_SIZE; i &lt; NUMBER_OF_COLUMNS; i++, j++) {</td></tr>
+<tr class="codeline" data-linenumber="4761"><td class="num" id="LN4761">4761</td><td class="line"> GValue value_oc = { 0, };</td></tr>
+<tr class="codeline" data-linenumber="4762"><td class="num" id="LN4762">4762</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4763"><td class="num" id="LN4763">4763</td><td class="line"> renderer = gtk_cell_renderer_text_new ();</td></tr>
+<tr class="codeline" data-linenumber="4764"><td class="num" id="LN4764">4764</td><td class="line"> column = gtk_tree_view_column_new_with_attributes (g_dpgettext2 (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='string_literal'>"File"</span>, titles[j]),</td></tr>
+<tr class="codeline" data-linenumber="4765"><td class="num" id="LN4765">4765</td><td class="line"> renderer,</td></tr>
+<tr class="codeline" data-linenumber="4766"><td class="num" id="LN4766">4766</td><td class="line"> <span class='string_literal'>"text"</span>, i,</td></tr>
+<tr class="codeline" data-linenumber="4767"><td class="num" id="LN4767">4767</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4768"><td class="num" id="LN4768">4768</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4769"><td class="num" id="LN4769">4769</td><td class="line"> gtk_tree_view_column_set_sizing (column, GTK_TREE_VIEW_COLUMN_FIXED);</td></tr>
+<tr class="codeline" data-linenumber="4770"><td class="num" id="LN4770">4770</td><td class="line"> gtk_tree_view_column_set_fixed_width (column, <span class='macro'>OTHER_COLUMNS_WIDTH<span class='macro_popup'>100</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4771"><td class="num" id="LN4771">4771</td><td class="line"> gtk_tree_view_column_set_resizable (column, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4772"><td class="num" id="LN4772">4772</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4773"><td class="num" id="LN4773">4773</td><td class="line"> gtk_tree_view_column_set_sort_column_id (column, i);</td></tr>
+<tr class="codeline" data-linenumber="4774"><td class="num" id="LN4774">4774</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4775"><td class="num" id="LN4775">4775</td><td class="line"> g_value_init (&amp;value_oc, <span class='macro'>PANGO_TYPE_ELLIPSIZE_MODE<span class='macro_popup'>(pango_ellipsize_mode_get_type ())</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4776"><td class="num" id="LN4776">4776</td><td class="line"> g_value_set_enum (&amp;value_oc, PANGO_ELLIPSIZE_END);</td></tr>
+<tr class="codeline" data-linenumber="4777"><td class="num" id="LN4777">4777</td><td class="line"> g_object_set_property (<span class='macro'>G_OBJECT (renderer)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((renderer)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"ellipsize"</span>, &amp;value_oc);</td></tr>
+<tr class="codeline" data-linenumber="4778"><td class="num" id="LN4778">4778</td><td class="line"> g_value_unset (&amp;value_oc);</td></tr>
+<tr class="codeline" data-linenumber="4779"><td class="num" id="LN4779">4779</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4780"><td class="num" id="LN4780">4780</td><td class="line"> gtk_tree_view_append_column (treeview, column);</td></tr>
+<tr class="codeline" data-linenumber="4781"><td class="num" id="LN4781">4781</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4782"><td class="num" id="LN4782">4782</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4783"><td class="num" id="LN4783">4783</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4784"><td class="num" id="LN4784">4784</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="4785"><td class="num" id="LN4785">4785</td><td class="line">name_column_sort_func (GtkTreeModel *model,</td></tr>
+<tr class="codeline" data-linenumber="4786"><td class="num" id="LN4786">4786</td><td class="line"> GtkTreeIter *a,</td></tr>
+<tr class="codeline" data-linenumber="4787"><td class="num" id="LN4787">4787</td><td class="line"> GtkTreeIter *b,</td></tr>
+<tr class="codeline" data-linenumber="4788"><td class="num" id="LN4788">4788</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4789"><td class="num" id="LN4789">4789</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4790"><td class="num" id="LN4790">4790</td><td class="line"> FileData *fdata1, *fdata2;</td></tr>
+<tr class="codeline" data-linenumber="4791"><td class="num" id="LN4791">4791</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4792"><td class="num" id="LN4792">4792</td><td class="line"> gtk_tree_model_get (model, a, COLUMN_FILE_DATA, &amp;fdata1, -1);</td></tr>
+<tr class="codeline" data-linenumber="4793"><td class="num" id="LN4793">4793</td><td class="line"> gtk_tree_model_get (model, b, COLUMN_FILE_DATA, &amp;fdata2, -1);</td></tr>
+<tr class="codeline" data-linenumber="4794"><td class="num" id="LN4794">4794</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4795"><td class="num" id="LN4795">4795</td><td class="line"> <span class='keyword'>return</span> sort_by_name (&amp;fdata1, &amp;fdata2);</td></tr>
+<tr class="codeline" data-linenumber="4796"><td class="num" id="LN4796">4796</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4797"><td class="num" id="LN4797">4797</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4798"><td class="num" id="LN4798">4798</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="4799"><td class="num" id="LN4799">4799</td><td class="line">size_column_sort_func (GtkTreeModel *model,</td></tr>
+<tr class="codeline" data-linenumber="4800"><td class="num" id="LN4800">4800</td><td class="line"> GtkTreeIter *a,</td></tr>
+<tr class="codeline" data-linenumber="4801"><td class="num" id="LN4801">4801</td><td class="line"> GtkTreeIter *b,</td></tr>
+<tr class="codeline" data-linenumber="4802"><td class="num" id="LN4802">4802</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4803"><td class="num" id="LN4803">4803</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4804"><td class="num" id="LN4804">4804</td><td class="line"> FileData *fdata1, *fdata2;</td></tr>
+<tr class="codeline" data-linenumber="4805"><td class="num" id="LN4805">4805</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4806"><td class="num" id="LN4806">4806</td><td class="line"> gtk_tree_model_get (model, a, COLUMN_FILE_DATA, &amp;fdata1, -1);</td></tr>
+<tr class="codeline" data-linenumber="4807"><td class="num" id="LN4807">4807</td><td class="line"> gtk_tree_model_get (model, b, COLUMN_FILE_DATA, &amp;fdata2, -1);</td></tr>
+<tr class="codeline" data-linenumber="4808"><td class="num" id="LN4808">4808</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4809"><td class="num" id="LN4809">4809</td><td class="line"> <span class='keyword'>return</span> sort_by_size (&amp;fdata1, &amp;fdata2);</td></tr>
+<tr class="codeline" data-linenumber="4810"><td class="num" id="LN4810">4810</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4811"><td class="num" id="LN4811">4811</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4812"><td class="num" id="LN4812">4812</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="4813"><td class="num" id="LN4813">4813</td><td class="line">type_column_sort_func (GtkTreeModel *model,</td></tr>
+<tr class="codeline" data-linenumber="4814"><td class="num" id="LN4814">4814</td><td class="line"> GtkTreeIter *a,</td></tr>
+<tr class="codeline" data-linenumber="4815"><td class="num" id="LN4815">4815</td><td class="line"> GtkTreeIter *b,</td></tr>
+<tr class="codeline" data-linenumber="4816"><td class="num" id="LN4816">4816</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4817"><td class="num" id="LN4817">4817</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4818"><td class="num" id="LN4818">4818</td><td class="line"> FileData *fdata1, *fdata2;</td></tr>
+<tr class="codeline" data-linenumber="4819"><td class="num" id="LN4819">4819</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4820"><td class="num" id="LN4820">4820</td><td class="line"> gtk_tree_model_get (model, a, COLUMN_FILE_DATA, &amp;fdata1, -1);</td></tr>
+<tr class="codeline" data-linenumber="4821"><td class="num" id="LN4821">4821</td><td class="line"> gtk_tree_model_get (model, b, COLUMN_FILE_DATA, &amp;fdata2, -1);</td></tr>
+<tr class="codeline" data-linenumber="4822"><td class="num" id="LN4822">4822</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4823"><td class="num" id="LN4823">4823</td><td class="line"> <span class='keyword'>return</span> sort_by_type (&amp;fdata1, &amp;fdata2);</td></tr>
+<tr class="codeline" data-linenumber="4824"><td class="num" id="LN4824">4824</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4825"><td class="num" id="LN4825">4825</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4826"><td class="num" id="LN4826">4826</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="4827"><td class="num" id="LN4827">4827</td><td class="line">time_column_sort_func (GtkTreeModel *model,</td></tr>
+<tr class="codeline" data-linenumber="4828"><td class="num" id="LN4828">4828</td><td class="line"> GtkTreeIter *a,</td></tr>
+<tr class="codeline" data-linenumber="4829"><td class="num" id="LN4829">4829</td><td class="line"> GtkTreeIter *b,</td></tr>
+<tr class="codeline" data-linenumber="4830"><td class="num" id="LN4830">4830</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4831"><td class="num" id="LN4831">4831</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4832"><td class="num" id="LN4832">4832</td><td class="line"> FileData *fdata1, *fdata2;</td></tr>
+<tr class="codeline" data-linenumber="4833"><td class="num" id="LN4833">4833</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4834"><td class="num" id="LN4834">4834</td><td class="line"> gtk_tree_model_get (model, a, COLUMN_FILE_DATA, &amp;fdata1, -1);</td></tr>
+<tr class="codeline" data-linenumber="4835"><td class="num" id="LN4835">4835</td><td class="line"> gtk_tree_model_get (model, b, COLUMN_FILE_DATA, &amp;fdata2, -1);</td></tr>
+<tr class="codeline" data-linenumber="4836"><td class="num" id="LN4836">4836</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4837"><td class="num" id="LN4837">4837</td><td class="line"> <span class='keyword'>return</span> sort_by_time (&amp;fdata1, &amp;fdata2);</td></tr>
+<tr class="codeline" data-linenumber="4838"><td class="num" id="LN4838">4838</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4839"><td class="num" id="LN4839">4839</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4840"><td class="num" id="LN4840">4840</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="4841"><td class="num" id="LN4841">4841</td><td class="line">path_column_sort_func (GtkTreeModel *model,</td></tr>
+<tr class="codeline" data-linenumber="4842"><td class="num" id="LN4842">4842</td><td class="line"> GtkTreeIter *a,</td></tr>
+<tr class="codeline" data-linenumber="4843"><td class="num" id="LN4843">4843</td><td class="line"> GtkTreeIter *b,</td></tr>
+<tr class="codeline" data-linenumber="4844"><td class="num" id="LN4844">4844</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4845"><td class="num" id="LN4845">4845</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4846"><td class="num" id="LN4846">4846</td><td class="line"> FileData *fdata1, *fdata2;</td></tr>
+<tr class="codeline" data-linenumber="4847"><td class="num" id="LN4847">4847</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4848"><td class="num" id="LN4848">4848</td><td class="line"> gtk_tree_model_get (model, a, COLUMN_FILE_DATA, &amp;fdata1, -1);</td></tr>
+<tr class="codeline" data-linenumber="4849"><td class="num" id="LN4849">4849</td><td class="line"> gtk_tree_model_get (model, b, COLUMN_FILE_DATA, &amp;fdata2, -1);</td></tr>
+<tr class="codeline" data-linenumber="4850"><td class="num" id="LN4850">4850</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4851"><td class="num" id="LN4851">4851</td><td class="line"> <span class='keyword'>return</span> sort_by_path (&amp;fdata1, &amp;fdata2);</td></tr>
+<tr class="codeline" data-linenumber="4852"><td class="num" id="LN4852">4852</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4853"><td class="num" id="LN4853">4853</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4854"><td class="num" id="LN4854">4854</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="4855"><td class="num" id="LN4855">4855</td><td class="line">no_sort_column_sort_func (GtkTreeModel *model,</td></tr>
+<tr class="codeline" data-linenumber="4856"><td class="num" id="LN4856">4856</td><td class="line"> GtkTreeIter *a,</td></tr>
+<tr class="codeline" data-linenumber="4857"><td class="num" id="LN4857">4857</td><td class="line"> GtkTreeIter *b,</td></tr>
+<tr class="codeline" data-linenumber="4858"><td class="num" id="LN4858">4858</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4859"><td class="num" id="LN4859">4859</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4860"><td class="num" id="LN4860">4860</td><td class="line"> <span class='keyword'>return</span> -1;</td></tr>
+<tr class="codeline" data-linenumber="4861"><td class="num" id="LN4861">4861</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4862"><td class="num" id="LN4862">4862</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4863"><td class="num" id="LN4863">4863</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4864"><td class="num" id="LN4864">4864</td><td class="line">sort_column_changed_cb (GtkTreeSortable *sortable,</td></tr>
+<tr class="codeline" data-linenumber="4865"><td class="num" id="LN4865">4865</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4866"><td class="num" id="LN4866">4866</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4867"><td class="num" id="LN4867">4867</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="4868"><td class="num" id="LN4868">4868</td><td class="line"> GtkSortType order;</td></tr>
+<tr class="codeline" data-linenumber="4869"><td class="num" id="LN4869">4869</td><td class="line"> <span class='keyword'>int</span> column_id;</td></tr>
+<tr class="codeline" data-linenumber="4870"><td class="num" id="LN4870">4870</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4871"><td class="num" id="LN4871">4871</td><td class="line"> <span class='keyword'>if</span> (! gtk_tree_sortable_get_sort_column_id (sortable,</td></tr>
+<tr class="codeline" data-linenumber="4872"><td class="num" id="LN4872">4872</td><td class="line"> &amp;column_id,</td></tr>
+<tr class="codeline" data-linenumber="4873"><td class="num" id="LN4873">4873</td><td class="line"> &amp;order))</td></tr>
+<tr class="codeline" data-linenumber="4874"><td class="num" id="LN4874">4874</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="4875"><td class="num" id="LN4875">4875</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4876"><td class="num" id="LN4876">4876</td><td class="line"> window-&gt;priv-&gt;sort_method = get_sort_method_from_column (column_id);</td></tr>
+<tr class="codeline" data-linenumber="4877"><td class="num" id="LN4877">4877</td><td class="line"> window-&gt;priv-&gt;sort_type = order;</td></tr>
+<tr class="codeline" data-linenumber="4878"><td class="num" id="LN4878">4878</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4879"><td class="num" id="LN4879">4879</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4880"><td class="num" id="LN4880">4880</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="4881"><td class="num" id="LN4881">4881</td><td class="line">fr_window_show_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="4882"><td class="num" id="LN4882">4882</td><td class="line"> FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4883"><td class="num" id="LN4883">4883</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4884"><td class="num" id="LN4884">4884</td><td class="line"> fr_window_update_current_location (window);</td></tr>
+<tr class="codeline" data-linenumber="4885"><td class="num" id="LN4885">4885</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4886"><td class="num" id="LN4886">4886</td><td class="line"> set_active (window, <span class='string_literal'>"ViewToolbar"</span>, g_settings_get_boolean (window-&gt;priv-&gt;settings_ui, <span class='macro'>PREF_UI_VIEW_TOOLBAR<span class='macro_popup'>"view-toolbar"</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="4887"><td class="num" id="LN4887">4887</td><td class="line"> set_active (window, <span class='string_literal'>"ViewStatusbar"</span>, g_settings_get_boolean (window-&gt;priv-&gt;settings_ui, <span class='macro'>PREF_UI_VIEW_STATUSBAR<span class='macro_popup'>"view-statusbar"</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="4888"><td class="num" id="LN4888">4888</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4889"><td class="num" id="LN4889">4889</td><td class="line"> window-&gt;priv-&gt;view_folders = g_settings_get_boolean (window-&gt;priv-&gt;settings_ui, <span class='macro'>PREF_UI_VIEW_FOLDERS<span class='macro_popup'>"view-folders"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4890"><td class="num" id="LN4890">4890</td><td class="line"> set_active (window, <span class='string_literal'>"ViewFolders"</span>, window-&gt;priv-&gt;view_folders);</td></tr>
+<tr class="codeline" data-linenumber="4891"><td class="num" id="LN4891">4891</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4892"><td class="num" id="LN4892">4892</td><td class="line"> fr_window_update_filter_bar_visibility (window);</td></tr>
+<tr class="codeline" data-linenumber="4893"><td class="num" id="LN4893">4893</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4894"><td class="num" id="LN4894">4894</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4895"><td class="num" id="LN4895">4895</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4896"><td class="num" id="LN4896">4896</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4897"><td class="num" id="LN4897">4897</td><td class="line"><span class='comment'>/* preferences changes notification callbacks */</span></td></tr>
+<tr class="codeline" data-linenumber="4898"><td class="num" id="LN4898">4898</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4899"><td class="num" id="LN4899">4899</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4900"><td class="num" id="LN4900">4900</td><td class="line">pref_history_len_changed (GSettings *settings,</td></tr>
+<tr class="codeline" data-linenumber="4901"><td class="num" id="LN4901">4901</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *key,</td></tr>
+<tr class="codeline" data-linenumber="4902"><td class="num" id="LN4902">4902</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4903"><td class="num" id="LN4903">4903</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4904"><td class="num" id="LN4904">4904</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="4905"><td class="num" id="LN4905">4905</td><td class="line"> <span class='keyword'>int</span> limit;</td></tr>
+<tr class="codeline" data-linenumber="4906"><td class="num" id="LN4906">4906</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4907"><td class="num" id="LN4907">4907</td><td class="line"> limit = g_settings_get_int (settings, <span class='macro'>PREF_UI_HISTORY_LEN<span class='macro_popup'>"history-len"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4908"><td class="num" id="LN4908">4908</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4909"><td class="num" id="LN4909">4909</td><td class="line"> gtk_recent_chooser_set_limit (<span class='macro'>GTK_RECENT_CHOOSER (window-&gt;priv-&gt;menubar_recentmenu)<span class='macro_popup'>((((GtkRecentChooser*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((window-&gt;priv-&gt;menubar_recentmenu)), (<br>(gtk_recent_chooser_get_type ()))))))</span></span>, limit);</td></tr>
+<tr class="codeline" data-linenumber="4910"><td class="num" id="LN4910">4910</td><td class="line"> gtk_recent_chooser_set_limit (<span class='macro'>GTK_RECENT_CHOOSER (window-&gt;priv-&gt;toolbar_recentmenu)<span class='macro_popup'>((((GtkRecentChooser*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((window-&gt;priv-&gt;toolbar_recentmenu)), (<br>(gtk_recent_chooser_get_type ()))))))</span></span>, limit);</td></tr>
+<tr class="codeline" data-linenumber="4911"><td class="num" id="LN4911">4911</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4912"><td class="num" id="LN4912">4912</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4913"><td class="num" id="LN4913">4913</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4914"><td class="num" id="LN4914">4914</td><td class="line">pref_view_toolbar_changed (GSettings *settings,</td></tr>
+<tr class="codeline" data-linenumber="4915"><td class="num" id="LN4915">4915</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *key,</td></tr>
+<tr class="codeline" data-linenumber="4916"><td class="num" id="LN4916">4916</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4917"><td class="num" id="LN4917">4917</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4918"><td class="num" id="LN4918">4918</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="4919"><td class="num" id="LN4919">4919</td><td class="line"> fr_window_set_toolbar_visibility (window, g_settings_get_boolean (settings, key));</td></tr>
+<tr class="codeline" data-linenumber="4920"><td class="num" id="LN4920">4920</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4921"><td class="num" id="LN4921">4921</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4922"><td class="num" id="LN4922">4922</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4923"><td class="num" id="LN4923">4923</td><td class="line">pref_view_statusbar_changed (GSettings *settings,</td></tr>
+<tr class="codeline" data-linenumber="4924"><td class="num" id="LN4924">4924</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *key,</td></tr>
+<tr class="codeline" data-linenumber="4925"><td class="num" id="LN4925">4925</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4926"><td class="num" id="LN4926">4926</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4927"><td class="num" id="LN4927">4927</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="4928"><td class="num" id="LN4928">4928</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4929"><td class="num" id="LN4929">4929</td><td class="line"> fr_window_set_statusbar_visibility (window, g_settings_get_boolean (settings, key));</td></tr>
+<tr class="codeline" data-linenumber="4930"><td class="num" id="LN4930">4930</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4931"><td class="num" id="LN4931">4931</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4932"><td class="num" id="LN4932">4932</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4933"><td class="num" id="LN4933">4933</td><td class="line">pref_view_folders_changed (GSettings *settings,</td></tr>
+<tr class="codeline" data-linenumber="4934"><td class="num" id="LN4934">4934</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *key,</td></tr>
+<tr class="codeline" data-linenumber="4935"><td class="num" id="LN4935">4935</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4936"><td class="num" id="LN4936">4936</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4937"><td class="num" id="LN4937">4937</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="4938"><td class="num" id="LN4938">4938</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4939"><td class="num" id="LN4939">4939</td><td class="line"> fr_window_set_folders_visibility (window, g_settings_get_boolean (settings, key));</td></tr>
+<tr class="codeline" data-linenumber="4940"><td class="num" id="LN4940">4940</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4941"><td class="num" id="LN4941">4941</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4942"><td class="num" id="LN4942">4942</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4943"><td class="num" id="LN4943">4943</td><td class="line">pref_show_field_changed (GSettings *settings,</td></tr>
+<tr class="codeline" data-linenumber="4944"><td class="num" id="LN4944">4944</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *key,</td></tr>
+<tr class="codeline" data-linenumber="4945"><td class="num" id="LN4945">4945</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4946"><td class="num" id="LN4946">4946</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4947"><td class="num" id="LN4947">4947</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="4948"><td class="num" id="LN4948">4948</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4949"><td class="num" id="LN4949">4949</td><td class="line"> fr_window_update_columns_visibility (window);</td></tr>
+<tr class="codeline" data-linenumber="4950"><td class="num" id="LN4950">4950</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4951"><td class="num" id="LN4951">4951</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4952"><td class="num" id="LN4952">4952</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4953"><td class="num" id="LN4953">4953</td><td class="line">pref_click_policy_changed (GSettings *settings,</td></tr>
+<tr class="codeline" data-linenumber="4954"><td class="num" id="LN4954">4954</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *key,</td></tr>
+<tr class="codeline" data-linenumber="4955"><td class="num" id="LN4955">4955</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4956"><td class="num" id="LN4956">4956</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4957"><td class="num" id="LN4957">4957</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="4958"><td class="num" id="LN4958">4958</td><td class="line"> GdkWindow *win = gtk_tree_view_get_bin_window (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4959"><td class="num" id="LN4959">4959</td><td class="line"> GdkDisplay *display;</td></tr>
+<tr class="codeline" data-linenumber="4960"><td class="num" id="LN4960">4960</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4961"><td class="num" id="LN4961">4961</td><td class="line"> window-&gt;priv-&gt;single_click = is_single_click_policy (window);</td></tr>
+<tr class="codeline" data-linenumber="4962"><td class="num" id="LN4962">4962</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4963"><td class="num" id="LN4963">4963</td><td class="line"> gdk_window_set_cursor (win, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4964"><td class="num" id="LN4964">4964</td><td class="line"> display = gtk_widget_get_display (<span class='macro'>GTK_WIDGET (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_widget_get_type (<br>)))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4965"><td class="num" id="LN4965">4965</td><td class="line"> <span class='keyword'>if</span> (display != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="4966"><td class="num" id="LN4966">4966</td><td class="line"> gdk_display_flush (display);</td></tr>
+<tr class="codeline" data-linenumber="4967"><td class="num" id="LN4967">4967</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4968"><td class="num" id="LN4968">4968</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4969"><td class="num" id="LN4969">4969</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4970"><td class="num" id="LN4970">4970</td><td class="line">pref_use_mime_icons_changed (GSettings *settings,</td></tr>
+<tr class="codeline" data-linenumber="4971"><td class="num" id="LN4971">4971</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *key,</td></tr>
+<tr class="codeline" data-linenumber="4972"><td class="num" id="LN4972">4972</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="4973"><td class="num" id="LN4973">4973</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4974"><td class="num" id="LN4974">4974</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="4975"><td class="num" id="LN4975">4975</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4976"><td class="num" id="LN4976">4976</td><td class="line"> <span class='keyword'>if</span> (tree_pixbuf_hash != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4977"><td class="num" id="LN4977">4977</td><td class="line"> g_hash_table_foreach (tree_pixbuf_hash,</td></tr>
+<tr class="codeline" data-linenumber="4978"><td class="num" id="LN4978">4978</td><td class="line"> gh_unref_pixbuf,</td></tr>
+<tr class="codeline" data-linenumber="4979"><td class="num" id="LN4979">4979</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4980"><td class="num" id="LN4980">4980</td><td class="line"> g_hash_table_destroy (tree_pixbuf_hash);</td></tr>
+<tr class="codeline" data-linenumber="4981"><td class="num" id="LN4981">4981</td><td class="line"> tree_pixbuf_hash = g_hash_table_new (g_str_hash, g_str_equal);</td></tr>
+<tr class="codeline" data-linenumber="4982"><td class="num" id="LN4982">4982</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4983"><td class="num" id="LN4983">4983</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4984"><td class="num" id="LN4984">4984</td><td class="line"> fr_window_update_file_list (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4985"><td class="num" id="LN4985">4985</td><td class="line"> fr_window_update_dir_tree (window);</td></tr>
+<tr class="codeline" data-linenumber="4986"><td class="num" id="LN4986">4986</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4987"><td class="num" id="LN4987">4987</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4988"><td class="num" id="LN4988">4988</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4989"><td class="num" id="LN4989">4989</td><td class="line">theme_changed_cb (GtkIconTheme *theme, FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4990"><td class="num" id="LN4990">4990</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4991"><td class="num" id="LN4991">4991</td><td class="line"> file_list_icon_size = _gtk_widget_lookup_for_size (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>, <span class='macro'>FILE_LIST_ICON_SIZE<span class='macro_popup'>GTK_ICON_SIZE_LARGE_TOOLBAR</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4992"><td class="num" id="LN4992">4992</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4993"><td class="num" id="LN4993">4993</td><td class="line"> <span class='keyword'>if</span> (tree_pixbuf_hash != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4994"><td class="num" id="LN4994">4994</td><td class="line"> g_hash_table_foreach (tree_pixbuf_hash,</td></tr>
+<tr class="codeline" data-linenumber="4995"><td class="num" id="LN4995">4995</td><td class="line"> gh_unref_pixbuf,</td></tr>
+<tr class="codeline" data-linenumber="4996"><td class="num" id="LN4996">4996</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4997"><td class="num" id="LN4997">4997</td><td class="line"> g_hash_table_destroy (tree_pixbuf_hash);</td></tr>
+<tr class="codeline" data-linenumber="4998"><td class="num" id="LN4998">4998</td><td class="line"> tree_pixbuf_hash = g_hash_table_new (g_str_hash, g_str_equal);</td></tr>
+<tr class="codeline" data-linenumber="4999"><td class="num" id="LN4999">4999</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5000"><td class="num" id="LN5000">5000</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5001"><td class="num" id="LN5001">5001</td><td class="line"> fr_window_update_file_list (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5002"><td class="num" id="LN5002">5002</td><td class="line"> fr_window_update_dir_tree (window);</td></tr>
+<tr class="codeline" data-linenumber="5003"><td class="num" id="LN5003">5003</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5004"><td class="num" id="LN5004">5004</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5005"><td class="num" id="LN5005">5005</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="5006"><td class="num" id="LN5006">5006</td><td class="line">fr_window_stoppable_cb (FrCommand *command,</td></tr>
+<tr class="codeline" data-linenumber="5007"><td class="num" id="LN5007">5007</td><td class="line"> gboolean stoppable,</td></tr>
+<tr class="codeline" data-linenumber="5008"><td class="num" id="LN5008">5008</td><td class="line"> FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5009"><td class="num" id="LN5009">5009</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5010"><td class="num" id="LN5010">5010</td><td class="line"> window-&gt;priv-&gt;stoppable = stoppable;</td></tr>
+<tr class="codeline" data-linenumber="5011"><td class="num" id="LN5011">5011</td><td class="line"> set_sensitive (window, <span class='string_literal'>"stop_item"</span>, stoppable);</td></tr>
+<tr class="codeline" data-linenumber="5012"><td class="num" id="LN5012">5012</td><td class="line"> set_sensitive (window, <span class='string_literal'>"tool_stop_item"</span>, stoppable);</td></tr>
+<tr class="codeline" data-linenumber="5013"><td class="num" id="LN5013">5013</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_dialog != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="5014"><td class="num" id="LN5014">5014</td><td class="line"> gtk_dialog_set_response_sensitive (<span class='macro'>GTK_DIALOG (window-&gt;priv-&gt;progress_dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_dialog)), ((gtk_dialog_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5015"><td class="num" id="LN5015">5015</td><td class="line"> GTK_RESPONSE_OK,</td></tr>
+<tr class="codeline" data-linenumber="5016"><td class="num" id="LN5016">5016</td><td class="line"> stoppable);</td></tr>
+<tr class="codeline" data-linenumber="5017"><td class="num" id="LN5017">5017</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5018"><td class="num" id="LN5018">5018</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5019"><td class="num" id="LN5019">5019</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5020"><td class="num" id="LN5020">5020</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="5021"><td class="num" id="LN5021">5021</td><td class="line">fr_window_fake_load (FrArchive *archive,</td></tr>
+<tr class="codeline" data-linenumber="5022"><td class="num" id="LN5022">5022</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="5023"><td class="num" id="LN5023">5023</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5024"><td class="num" id="LN5024">5024</td><td class="line"> <span class='comment'>/* fake loads are disabled to allow exact progress dialogs (#153281) */</span></td></tr>
+<tr class="codeline" data-linenumber="5025"><td class="num" id="LN5025">5025</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5026"><td class="num" id="LN5026">5026</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5027"><td class="num" id="LN5027">5027</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5028"><td class="num" id="LN5028">5028</td><td class="line"><span class='directive'>#if 0</span></td></tr>
+<tr class="codeline" data-linenumber="5029"><td class="num" id="LN5029">5029</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="5030"><td class="num" id="LN5030">5030</td><td class="line"> gboolean add_after_opening = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5031"><td class="num" id="LN5031">5031</td><td class="line"> gboolean extract_after_opening = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5032"><td class="num" id="LN5032">5032</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="5033"><td class="num" id="LN5033">5033</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5034"><td class="num" id="LN5034">5034</td><td class="line"> <span class='comment'>/* fake loads are used only in batch mode to avoid unnecessary</span></td></tr>
+<tr class="codeline" data-linenumber="5035"><td class="num" id="LN5035">5035</td><td class="line"> <span class='comment'>* archive loadings. */</span></td></tr>
+<tr class="codeline" data-linenumber="5036"><td class="num" id="LN5036">5036</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5037"><td class="num" id="LN5037">5037</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;batch_mode)</td></tr>
+<tr class="codeline" data-linenumber="5038"><td class="num" id="LN5038">5038</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5039"><td class="num" id="LN5039">5039</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5040"><td class="num" id="LN5040">5040</td><td class="line"> <span class='comment'>/* Check whether there is an ADD or EXTRACT action in the batch list. */</span></td></tr>
+<tr class="codeline" data-linenumber="5041"><td class="num" id="LN5041">5041</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5042"><td class="num" id="LN5042">5042</td><td class="line"> <span class='keyword'>for</span> (scan = window-&gt;priv-&gt;batch_action; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="5043"><td class="num" id="LN5043">5043</td><td class="line"> FRBatchAction *action;</td></tr>
+<tr class="codeline" data-linenumber="5044"><td class="num" id="LN5044">5044</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5045"><td class="num" id="LN5045">5045</td><td class="line"> action = (FRBatchAction *) scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="5046"><td class="num" id="LN5046">5046</td><td class="line"> <span class='keyword'>if</span> (action-&gt;type == FR_BATCH_ACTION_ADD) {</td></tr>
+<tr class="codeline" data-linenumber="5047"><td class="num" id="LN5047">5047</td><td class="line"> add_after_opening = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5048"><td class="num" id="LN5048">5048</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5049"><td class="num" id="LN5049">5049</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5050"><td class="num" id="LN5050">5050</td><td class="line"> <span class='keyword'>if</span> ((action-&gt;type == FR_BATCH_ACTION_EXTRACT)</td></tr>
+<tr class="codeline" data-linenumber="5051"><td class="num" id="LN5051">5051</td><td class="line"> || (action-&gt;type == FR_BATCH_ACTION_EXTRACT_HERE)</td></tr>
+<tr class="codeline" data-linenumber="5052"><td class="num" id="LN5052">5052</td><td class="line"> || (action-&gt;type == FR_BATCH_ACTION_EXTRACT_INTERACT))</td></tr>
+<tr class="codeline" data-linenumber="5053"><td class="num" id="LN5053">5053</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="5054"><td class="num" id="LN5054">5054</td><td class="line"> extract_after_opening = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5055"><td class="num" id="LN5055">5055</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5056"><td class="num" id="LN5056">5056</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5057"><td class="num" id="LN5057">5057</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5058"><td class="num" id="LN5058">5058</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5059"><td class="num" id="LN5059">5059</td><td class="line"> <span class='comment'>/* use fake load when in batch mode and the archive type supports all</span></td></tr>
+<tr class="codeline" data-linenumber="5060"><td class="num" id="LN5060">5060</td><td class="line"> <span class='comment'>* of the required features */</span></td></tr>
+<tr class="codeline" data-linenumber="5061"><td class="num" id="LN5061">5061</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5062"><td class="num" id="LN5062">5062</td><td class="line"> <span class='keyword'>return</span> (window-&gt;priv-&gt;batch_mode</td></tr>
+<tr class="codeline" data-linenumber="5063"><td class="num" id="LN5063">5063</td><td class="line"> &amp;&amp; ! (add_after_opening &amp;&amp; window-&gt;priv-&gt;update_dropped_files &amp;&amp; ! archive-&gt;command-&gt;propAddCanUpdate)</td></tr>
+<tr class="codeline" data-linenumber="5064"><td class="num" id="LN5064">5064</td><td class="line"> &amp;&amp; ! (add_after_opening &amp;&amp; ! window-&gt;priv-&gt;update_dropped_files &amp;&amp; ! archive-&gt;command-&gt;propAddCanReplace)</td></tr>
+<tr class="codeline" data-linenumber="5065"><td class="num" id="LN5065">5065</td><td class="line"> &amp;&amp; ! (extract_after_opening &amp;&amp; !archive-&gt;command-&gt;propCanExtractAll));</td></tr>
+<tr class="codeline" data-linenumber="5066"><td class="num" id="LN5066">5066</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="5067"><td class="num" id="LN5067">5067</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5068"><td class="num" id="LN5068">5068</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5069"><td class="num" id="LN5069">5069</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5070"><td class="num" id="LN5070">5070</td><td class="line">menu_item_select_cb (GtkMenuItem *proxy,</td></tr>
+<tr class="codeline" data-linenumber="5071"><td class="num" id="LN5071">5071</td><td class="line"> FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5072"><td class="num" id="LN5072">5072</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5073"><td class="num" id="LN5073">5073</td><td class="line"> <span class='keyword'>char</span> *message;</td></tr>
+<tr class="codeline" data-linenumber="5074"><td class="num" id="LN5074">5074</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5075"><td class="num" id="LN5075">5075</td><td class="line"> message = gtk_widget_get_tooltip_text (<span class='macro'>GTK_WIDGET (proxy)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((proxy)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5076"><td class="num" id="LN5076">5076</td><td class="line"> <span class='keyword'>if</span> (message) {</td></tr>
+<tr class="codeline" data-linenumber="5077"><td class="num" id="LN5077">5077</td><td class="line"> gtk_statusbar_push (<span class='macro'>GTK_STATUSBAR (window-&gt;priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;statusbar)), ((gtk_statusbar_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5078"><td class="num" id="LN5078">5078</td><td class="line"> window-&gt;priv-&gt;help_message_cid, message);</td></tr>
+<tr class="codeline" data-linenumber="5079"><td class="num" id="LN5079">5079</td><td class="line"> g_free (message);</td></tr>
+<tr class="codeline" data-linenumber="5080"><td class="num" id="LN5080">5080</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5081"><td class="num" id="LN5081">5081</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5082"><td class="num" id="LN5082">5082</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5083"><td class="num" id="LN5083">5083</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5084"><td class="num" id="LN5084">5084</td><td class="line">menu_item_deselect_cb (GtkMenuItem *proxy,</td></tr>
+<tr class="codeline" data-linenumber="5085"><td class="num" id="LN5085">5085</td><td class="line"> FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5086"><td class="num" id="LN5086">5086</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5087"><td class="num" id="LN5087">5087</td><td class="line"> gtk_statusbar_pop (<span class='macro'>GTK_STATUSBAR (window-&gt;priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;statusbar)), ((gtk_statusbar_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5088"><td class="num" id="LN5088">5088</td><td class="line"> window-&gt;priv-&gt;help_message_cid);</td></tr>
+<tr class="codeline" data-linenumber="5089"><td class="num" id="LN5089">5089</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5090"><td class="num" id="LN5090">5090</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5091"><td class="num" id="LN5091">5091</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5092"><td class="num" id="LN5092">5092</td><td class="line">view_all_files_selected_toggled (GtkMenuItem *menuitem,</td></tr>
+<tr class="codeline" data-linenumber="5093"><td class="num" id="LN5093">5093</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="5094"><td class="num" id="LN5094">5094</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5095"><td class="num" id="LN5095">5095</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="5096"><td class="num" id="LN5096">5096</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5097"><td class="num" id="LN5097">5097</td><td class="line"> <span class='keyword'>if</span> (gtk_check_menu_item_get_active (<span class='macro'>GTK_CHECK_MENU_ITEM (menuitem)<span class='macro_popup'>((((GtkCheckMenuItem*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((menuitem)), ((gtk_check_menu_item_get_type (<br>)))))))</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="5098"><td class="num" id="LN5098">5098</td><td class="line"> fr_window_set_list_mode (window, FR_WINDOW_LIST_MODE_FLAT);</td></tr>
+<tr class="codeline" data-linenumber="5099"><td class="num" id="LN5099">5099</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="5100"><td class="num" id="LN5100">5100</td><td class="line"> fr_window_set_list_mode (window, FR_WINDOW_LIST_MODE_AS_DIR);</td></tr>
+<tr class="codeline" data-linenumber="5101"><td class="num" id="LN5101">5101</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5102"><td class="num" id="LN5102">5102</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5103"><td class="num" id="LN5103">5103</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5104"><td class="num" id="LN5104">5104</td><td class="line">recent_chooser_item_activated_cb (GtkRecentChooser *chooser,</td></tr>
+<tr class="codeline" data-linenumber="5105"><td class="num" id="LN5105">5105</td><td class="line"> FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5106"><td class="num" id="LN5106">5106</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5107"><td class="num" id="LN5107">5107</td><td class="line"> <span class='keyword'>char</span> *uri;</td></tr>
+<tr class="codeline" data-linenumber="5108"><td class="num" id="LN5108">5108</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5109"><td class="num" id="LN5109">5109</td><td class="line"> uri = gtk_recent_chooser_get_current_uri (chooser);</td></tr>
+<tr class="codeline" data-linenumber="5110"><td class="num" id="LN5110">5110</td><td class="line"> <span class='keyword'>if</span> (uri != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="5111"><td class="num" id="LN5111">5111</td><td class="line"> fr_window_archive_open (window, uri, <span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5112"><td class="num" id="LN5112">5112</td><td class="line"> g_free (uri);</td></tr>
+<tr class="codeline" data-linenumber="5113"><td class="num" id="LN5113">5113</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5114"><td class="num" id="LN5114">5114</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5115"><td class="num" id="LN5115">5115</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5116"><td class="num" id="LN5116">5116</td><td class="line"><span class='keyword'>static</span> GtkWidget *</td></tr>
+<tr class="codeline" data-linenumber="5117"><td class="num" id="LN5117">5117</td><td class="line">fr_window_create_recent_chooser (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5118"><td class="num" id="LN5118">5118</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5119"><td class="num" id="LN5119">5119</td><td class="line"> GtkRecentManager *manager;</td></tr>
+<tr class="codeline" data-linenumber="5120"><td class="num" id="LN5120">5120</td><td class="line"> GtkRecentFilter *filter;</td></tr>
+<tr class="codeline" data-linenumber="5121"><td class="num" id="LN5121">5121</td><td class="line"> GtkWidget *menu;</td></tr>
+<tr class="codeline" data-linenumber="5122"><td class="num" id="LN5122">5122</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="5123"><td class="num" id="LN5123">5123</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5124"><td class="num" id="LN5124">5124</td><td class="line"> manager = gtk_recent_manager_get_default ();</td></tr>
+<tr class="codeline" data-linenumber="5125"><td class="num" id="LN5125">5125</td><td class="line"> menu = gtk_recent_chooser_menu_new_for_manager (manager);</td></tr>
+<tr class="codeline" data-linenumber="5126"><td class="num" id="LN5126">5126</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5127"><td class="num" id="LN5127">5127</td><td class="line"> filter = gtk_recent_filter_new ();</td></tr>
+<tr class="codeline" data-linenumber="5128"><td class="num" id="LN5128">5128</td><td class="line"> gtk_recent_filter_set_name (filter, <span class='macro'>_(<span class='string_literal'>"All archives"</span>)<span class='macro_popup'>gettext ("All archives")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5129"><td class="num" id="LN5129">5129</td><td class="line"> <span class='keyword'>for</span> (i = 0; open_type[i] != -1; i++)</td></tr>
+<tr class="codeline" data-linenumber="5130"><td class="num" id="LN5130">5130</td><td class="line"> gtk_recent_filter_add_mime_type (filter, mime_type_desc[open_type[i]].mime_type);</td></tr>
+<tr class="codeline" data-linenumber="5131"><td class="num" id="LN5131">5131</td><td class="line"> gtk_recent_filter_add_application (filter, <span class='string_literal'>"Engrampa"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5132"><td class="num" id="LN5132">5132</td><td class="line"> gtk_recent_chooser_add_filter (<span class='macro'>GTK_RECENT_CHOOSER (menu)<span class='macro_popup'>((((GtkRecentChooser*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((menu)), ((gtk_recent_chooser_get_type ())))<br>)))</span></span>, filter);</td></tr>
+<tr class="codeline" data-linenumber="5133"><td class="num" id="LN5133">5133</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5134"><td class="num" id="LN5134">5134</td><td class="line"> gtk_recent_chooser_set_local_only (<span class='macro'>GTK_RECENT_CHOOSER (menu)<span class='macro_popup'>((((GtkRecentChooser*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((menu)), ((gtk_recent_chooser_get_type ())))<br>)))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5135"><td class="num" id="LN5135">5135</td><td class="line"> gtk_recent_chooser_set_limit (<span class='macro'>GTK_RECENT_CHOOSER (menu)<span class='macro_popup'>((((GtkRecentChooser*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((menu)), ((gtk_recent_chooser_get_type ())))<br>)))</span></span>, g_settings_get_int (window-&gt;priv-&gt;settings_ui, <span class='macro'>PREF_UI_HISTORY_LEN<span class='macro_popup'>"history-len"</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="5136"><td class="num" id="LN5136">5136</td><td class="line"> gtk_recent_chooser_set_show_not_found (<span class='macro'>GTK_RECENT_CHOOSER (menu)<span class='macro_popup'>((((GtkRecentChooser*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((menu)), ((gtk_recent_chooser_get_type ())))<br>)))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5137"><td class="num" id="LN5137">5137</td><td class="line"> gtk_recent_chooser_set_sort_type (<span class='macro'>GTK_RECENT_CHOOSER (menu)<span class='macro_popup'>((((GtkRecentChooser*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((menu)), ((gtk_recent_chooser_get_type ())))<br>)))</span></span>, GTK_RECENT_SORT_MRU);</td></tr>
+<tr class="codeline" data-linenumber="5138"><td class="num" id="LN5138">5138</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5139"><td class="num" id="LN5139">5139</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (menu),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((menu)), (((GType) ((20) &lt;&lt; (2)))))<br>)))), ("item_activated"), (((GCallback) (recent_chooser_item_activated_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5140"><td class="num" id="LN5140">5140</td><td class="line"> <span class='string_literal'><span class='macro'>"item_activated"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((menu)), (((GType) ((20) &lt;&lt; (2)))))<br>)))), ("item_activated"), (((GCallback) (recent_chooser_item_activated_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5141"><td class="num" id="LN5141">5141</td><td class="line"> <span class='macro'>G_CALLBACK (recent_chooser_item_activated_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((menu)), (((GType) ((20) &lt;&lt; (2)))))<br>)))), ("item_activated"), (((GCallback) (recent_chooser_item_activated_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5142"><td class="num" id="LN5142">5142</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((menu)), (((GType) ((20) &lt;&lt; (2)))))<br>)))), ("item_activated"), (((GCallback) (recent_chooser_item_activated_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5143"><td class="num" id="LN5143">5143</td><td class="line"> <span class='keyword'>return</span> menu;</td></tr>
+<tr class="codeline" data-linenumber="5144"><td class="num" id="LN5144">5144</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5145"><td class="num" id="LN5145">5145</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5146"><td class="num" id="LN5146">5146</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5147"><td class="num" id="LN5147">5147</td><td class="line">close_sidepane_button_clicked_cb (GtkButton *button,</td></tr>
+<tr class="codeline" data-linenumber="5148"><td class="num" id="LN5148">5148</td><td class="line"> FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5149"><td class="num" id="LN5149">5149</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5150"><td class="num" id="LN5150">5150</td><td class="line"> fr_window_set_folders_visibility (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5151"><td class="num" id="LN5151">5151</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5152"><td class="num" id="LN5152">5152</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5153"><td class="num" id="LN5153">5153</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5154"><td class="num" id="LN5154">5154</td><td class="line">fr_window_activate_filter (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5155"><td class="num" id="LN5155">5155</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5156"><td class="num" id="LN5156">5156</td><td class="line"> GtkTreeView *tree_view = <span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5157"><td class="num" id="LN5157">5157</td><td class="line"> GtkTreeViewColumn *column;</td></tr>
+<tr class="codeline" data-linenumber="5158"><td class="num" id="LN5158">5158</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5159"><td class="num" id="LN5159">5159</td><td class="line"> fr_window_update_filter_bar_visibility (window);</td></tr>
+<tr class="codeline" data-linenumber="5160"><td class="num" id="LN5160">5160</td><td class="line"> window-&gt;priv-&gt;list_mode = FR_WINDOW_LIST_MODE_FLAT;</td></tr>
+<tr class="codeline" data-linenumber="5161"><td class="num" id="LN5161">5161</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5162"><td class="num" id="LN5162">5162</td><td class="line"> gtk_list_store_clear (window-&gt;priv-&gt;list_store);</td></tr>
+<tr class="codeline" data-linenumber="5163"><td class="num" id="LN5163">5163</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5164"><td class="num" id="LN5164">5164</td><td class="line"> column = gtk_tree_view_get_column (tree_view, 4);</td></tr>
+<tr class="codeline" data-linenumber="5165"><td class="num" id="LN5165">5165</td><td class="line"> gtk_tree_view_column_set_visible (column, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5166"><td class="num" id="LN5166">5166</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5167"><td class="num" id="LN5167">5167</td><td class="line"> fr_window_update_file_list (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5168"><td class="num" id="LN5168">5168</td><td class="line"> fr_window_update_dir_tree (window);</td></tr>
+<tr class="codeline" data-linenumber="5169"><td class="num" id="LN5169">5169</td><td class="line"> fr_window_update_current_location (window);</td></tr>
+<tr class="codeline" data-linenumber="5170"><td class="num" id="LN5170">5170</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5171"><td class="num" id="LN5171">5171</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5172"><td class="num" id="LN5172">5172</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5173"><td class="num" id="LN5173">5173</td><td class="line">filter_entry_activate_cb (GtkEntry *entry,</td></tr>
+<tr class="codeline" data-linenumber="5174"><td class="num" id="LN5174">5174</td><td class="line"> FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5175"><td class="num" id="LN5175">5175</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5176"><td class="num" id="LN5176">5176</td><td class="line"> fr_window_activate_filter (window);</td></tr>
+<tr class="codeline" data-linenumber="5177"><td class="num" id="LN5177">5177</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5178"><td class="num" id="LN5178">5178</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5179"><td class="num" id="LN5179">5179</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5180"><td class="num" id="LN5180">5180</td><td class="line">filter_entry_icon_release_cb (GtkEntry *entry,</td></tr>
+<tr class="codeline" data-linenumber="5181"><td class="num" id="LN5181">5181</td><td class="line"> GtkEntryIconPosition icon_pos,</td></tr>
+<tr class="codeline" data-linenumber="5182"><td class="num" id="LN5182">5182</td><td class="line"> GdkEventButton *event,</td></tr>
+<tr class="codeline" data-linenumber="5183"><td class="num" id="LN5183">5183</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="5184"><td class="num" id="LN5184">5184</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5185"><td class="num" id="LN5185">5185</td><td class="line"> FrWindow *window = <span class='macro'>FR_WINDOW (user_data)<span class='macro_popup'>((((FrWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((fr_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5186"><td class="num" id="LN5186">5186</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5187"><td class="num" id="LN5187">5187</td><td class="line"> <span class='keyword'>if</span> ((event-&gt;button == 1) &amp;&amp; (icon_pos == GTK_ENTRY_ICON_SECONDARY))</td></tr>
+<tr class="codeline" data-linenumber="5188"><td class="num" id="LN5188">5188</td><td class="line"> fr_window_deactivate_filter (window);</td></tr>
+<tr class="codeline" data-linenumber="5189"><td class="num" id="LN5189">5189</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5190"><td class="num" id="LN5190">5190</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5191"><td class="num" id="LN5191">5191</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5192"><td class="num" id="LN5192">5192</td><td class="line">fr_window_attach (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="5193"><td class="num" id="LN5193">5193</td><td class="line"> GtkWidget *child,</td></tr>
+<tr class="codeline" data-linenumber="5194"><td class="num" id="LN5194">5194</td><td class="line"> FrWindowArea area)</td></tr>
+<tr class="codeline" data-linenumber="5195"><td class="num" id="LN5195">5195</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5196"><td class="num" id="LN5196">5196</td><td class="line"> <span class='keyword'>int</span> position;</td></tr>
+<tr class="codeline" data-linenumber="5197"><td class="num" id="LN5197">5197</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5198"><td class="num" id="LN5198">5198</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5199"><td class="num" id="LN5199">5199</td><td class="line"> <span class='macro'>g_return_if_fail (FR_IS_WINDOW (window))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((fr_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning (((gchar*) 0), ((const char*<br>) (__func__)), "FR_IS_WINDOW (window)"); return; } } while (0<br>)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5200"><td class="num" id="LN5200">5200</td><td class="line"> <span class='macro'>g_return_if_fail (child != NULL)<span class='macro_popup'>do { if ((child != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "child != NULL");<br> return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5201"><td class="num" id="LN5201">5201</td><td class="line"> <span class='macro'>g_return_if_fail (GTK_IS_WIDGET (child))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((child)); GType __t = ((gtk_widget_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning (((gchar*) 0), ((const char*<br>) (__func__)), "GTK_IS_WIDGET (child)"); return; } } while (0<br>)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5202"><td class="num" id="LN5202">5202</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5203"><td class="num" id="LN5203">5203</td><td class="line"> <span class='keyword'>switch</span> (area) {</td></tr>
+<tr class="codeline" data-linenumber="5204"><td class="num" id="LN5204">5204</td><td class="line"> <span class='keyword'>case</span> FR_WINDOW_AREA_MENUBAR:</td></tr>
+<tr class="codeline" data-linenumber="5205"><td class="num" id="LN5205">5205</td><td class="line"> position = 0;</td></tr>
+<tr class="codeline" data-linenumber="5206"><td class="num" id="LN5206">5206</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5207"><td class="num" id="LN5207">5207</td><td class="line"> <span class='keyword'>case</span> FR_WINDOW_AREA_TOOLBAR:</td></tr>
+<tr class="codeline" data-linenumber="5208"><td class="num" id="LN5208">5208</td><td class="line"> position = 1;</td></tr>
+<tr class="codeline" data-linenumber="5209"><td class="num" id="LN5209">5209</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5210"><td class="num" id="LN5210">5210</td><td class="line"> <span class='keyword'>case</span> FR_WINDOW_AREA_LOCATIONBAR:</td></tr>
+<tr class="codeline" data-linenumber="5211"><td class="num" id="LN5211">5211</td><td class="line"> position = 2;</td></tr>
+<tr class="codeline" data-linenumber="5212"><td class="num" id="LN5212">5212</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5213"><td class="num" id="LN5213">5213</td><td class="line"> <span class='keyword'>case</span> FR_WINDOW_AREA_CONTENTS:</td></tr>
+<tr class="codeline" data-linenumber="5214"><td class="num" id="LN5214">5214</td><td class="line"> position = 3;</td></tr>
+<tr class="codeline" data-linenumber="5215"><td class="num" id="LN5215">5215</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;contents != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="5216"><td class="num" id="LN5216">5216</td><td class="line"> gtk_widget_destroy (window-&gt;priv-&gt;contents);</td></tr>
+<tr class="codeline" data-linenumber="5217"><td class="num" id="LN5217">5217</td><td class="line"> window-&gt;priv-&gt;contents = child;</td></tr>
+<tr class="codeline" data-linenumber="5218"><td class="num" id="LN5218">5218</td><td class="line"> gtk_widget_set_vexpand (child, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5219"><td class="num" id="LN5219">5219</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5220"><td class="num" id="LN5220">5220</td><td class="line"> <span class='keyword'>case</span> FR_WINDOW_AREA_FILTERBAR:</td></tr>
+<tr class="codeline" data-linenumber="5221"><td class="num" id="LN5221">5221</td><td class="line"> position = 4;</td></tr>
+<tr class="codeline" data-linenumber="5222"><td class="num" id="LN5222">5222</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5223"><td class="num" id="LN5223">5223</td><td class="line"> <span class='keyword'>case</span> FR_WINDOW_AREA_STATUSBAR:</td></tr>
+<tr class="codeline" data-linenumber="5224"><td class="num" id="LN5224">5224</td><td class="line"> position = 5;</td></tr>
+<tr class="codeline" data-linenumber="5225"><td class="num" id="LN5225">5225</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5226"><td class="num" id="LN5226">5226</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="5227"><td class="num" id="LN5227">5227</td><td class="line"> g_critical (<span class='string_literal'>"%s: area not recognized!"</span>, <span class='macro'>G_STRFUNC<span class='macro_popup'>((const char*) (__func__))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5228"><td class="num" id="LN5228">5228</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="5229"><td class="num" id="LN5229">5229</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5230"><td class="num" id="LN5230">5230</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5231"><td class="num" id="LN5231">5231</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5232"><td class="num" id="LN5232">5232</td><td class="line"> gtk_widget_set_hexpand (child, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5233"><td class="num" id="LN5233">5233</td><td class="line"> gtk_grid_attach (<span class='macro'>GTK_GRID (window-&gt;priv-&gt;layout)<span class='macro_popup'>((((GtkGrid*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;layout)), ((gtk_grid_get_type ()))))<br>))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5234"><td class="num" id="LN5234">5234</td><td class="line"> child,</td></tr>
+<tr class="codeline" data-linenumber="5235"><td class="num" id="LN5235">5235</td><td class="line"> 0, position,</td></tr>
+<tr class="codeline" data-linenumber="5236"><td class="num" id="LN5236">5236</td><td class="line"> 1, 1);</td></tr>
+<tr class="codeline" data-linenumber="5237"><td class="num" id="LN5237">5237</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5238"><td class="num" id="LN5238">5238</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5239"><td class="num" id="LN5239">5239</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5240"><td class="num" id="LN5240">5240</td><td class="line">fr_window_construct (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5241"><td class="num" id="LN5241">5241</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5242"><td class="num" id="LN5242">5242</td><td class="line"> GtkWidget *menubar;</td></tr>
+<tr class="codeline" data-linenumber="5243"><td class="num" id="LN5243">5243</td><td class="line"> GtkWidget *toolbar;</td></tr>
+<tr class="codeline" data-linenumber="5244"><td class="num" id="LN5244">5244</td><td class="line"> GtkWidget *list_scrolled_window;</td></tr>
+<tr class="codeline" data-linenumber="5245"><td class="num" id="LN5245">5245</td><td class="line"> GtkWidget *location_box;</td></tr>
+<tr class="codeline" data-linenumber="5246"><td class="num" id="LN5246">5246</td><td class="line"> GtkStatusbar *statusbar;</td></tr>
+<tr class="codeline" data-linenumber="5247"><td class="num" id="LN5247">5247</td><td class="line"> GtkWidget *statusbar_box;</td></tr>
+<tr class="codeline" data-linenumber="5248"><td class="num" id="LN5248">5248</td><td class="line"> GtkWidget *filter_box;</td></tr>
+<tr class="codeline" data-linenumber="5249"><td class="num" id="LN5249">5249</td><td class="line"> GtkWidget *tree_scrolled_window;</td></tr>
+<tr class="codeline" data-linenumber="5250"><td class="num" id="LN5250">5250</td><td class="line"> GtkWidget *sidepane_title;</td></tr>
+<tr class="codeline" data-linenumber="5251"><td class="num" id="LN5251">5251</td><td class="line"> GtkWidget *sidepane_title_box;</td></tr>
+<tr class="codeline" data-linenumber="5252"><td class="num" id="LN5252">5252</td><td class="line"> GtkWidget *sidepane_title_label;</td></tr>
+<tr class="codeline" data-linenumber="5253"><td class="num" id="LN5253">5253</td><td class="line"> GtkWidget *close_sidepane_button;</td></tr>
+<tr class="codeline" data-linenumber="5254"><td class="num" id="LN5254">5254</td><td class="line"> GtkWidget *menu_radio_files;</td></tr>
+<tr class="codeline" data-linenumber="5255"><td class="num" id="LN5255">5255</td><td class="line"> GtkWidget *menuitem;</td></tr>
+<tr class="codeline" data-linenumber="5256"><td class="num" id="LN5256">5256</td><td class="line"> GtkTreeSelection *selection;</td></tr>
+<tr class="codeline" data-linenumber="5257"><td class="num" id="LN5257">5257</td><td class="line"> GActionGroup *actions;</td></tr>
+<tr class="codeline" data-linenumber="5258"><td class="num" id="LN5258">5258</td><td class="line"> GSimpleAction *action;</td></tr>
+<tr class="codeline" data-linenumber="5259"><td class="num" id="LN5259">5259</td><td class="line"> GtkAccelGroup *accel_group;</td></tr>
+<tr class="codeline" data-linenumber="5260"><td class="num" id="LN5260">5260</td><td class="line"> GtkBuilder *ui;</td></tr>
+<tr class="codeline" data-linenumber="5261"><td class="num" id="LN5261">5261</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5262"><td class="num" id="LN5262">5262</td><td class="line"> GSettingsSchemaSource *schema_source;</td></tr>
+<tr class="codeline" data-linenumber="5263"><td class="num" id="LN5263">5263</td><td class="line"> GSettingsSchema *caja_schema;</td></tr>
+<tr class="codeline" data-linenumber="5264"><td class="num" id="LN5264">5264</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5265"><td class="num" id="LN5265">5265</td><td class="line"> <span class='comment'>/* data common to all windows. */</span></td></tr>
+<tr class="codeline" data-linenumber="5266"><td class="num" id="LN5266">5266</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5267"><td class="num" id="LN5267">5267</td><td class="line"> <span class='keyword'>if</span> (tree_pixbuf_hash == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="5268"><td class="num" id="LN5268">5268</td><td class="line"> tree_pixbuf_hash = g_hash_table_new (g_str_hash, g_str_equal);</td></tr>
+<tr class="codeline" data-linenumber="5269"><td class="num" id="LN5269">5269</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5270"><td class="num" id="LN5270">5270</td><td class="line"> <span class='keyword'>if</span> (icon_theme == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="5271"><td class="num" id="LN5271">5271</td><td class="line"> icon_theme = gtk_icon_theme_get_default ();</td></tr>
+<tr class="codeline" data-linenumber="5272"><td class="num" id="LN5272">5272</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5273"><td class="num" id="LN5273">5273</td><td class="line"> <span class='comment'>/* Create the settings objects */</span></td></tr>
+<tr class="codeline" data-linenumber="5274"><td class="num" id="LN5274">5274</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5275"><td class="num" id="LN5275">5275</td><td class="line"> window-&gt;priv-&gt;settings_listing = g_settings_new (<span class='macro'>ENGRAMPA_SCHEMA_LISTING<span class='macro_popup'>"org.mate.engrampa" ".listing"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5276"><td class="num" id="LN5276">5276</td><td class="line"> window-&gt;priv-&gt;settings_ui = g_settings_new (<span class='macro'>ENGRAMPA_SCHEMA_UI<span class='macro_popup'>"org.mate.engrampa" ".ui"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5277"><td class="num" id="LN5277">5277</td><td class="line"> window-&gt;priv-&gt;settings_general = g_settings_new (<span class='macro'>ENGRAMPA_SCHEMA_GENERAL<span class='macro_popup'>"org.mate.engrampa" ".general"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5278"><td class="num" id="LN5278">5278</td><td class="line"> window-&gt;priv-&gt;settings_dialogs = g_settings_new (<span class='macro'>ENGRAMPA_SCHEMA_DIALOGS<span class='macro_popup'>"org.mate.engrampa" ".dialogs"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5279"><td class="num" id="LN5279">5279</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5280"><td class="num" id="LN5280">5280</td><td class="line"> schema_source = g_settings_schema_source_get_default ();</td></tr>
+<tr class="codeline" data-linenumber="5281"><td class="num" id="LN5281">5281</td><td class="line"> caja_schema = g_settings_schema_source_lookup (schema_source, <span class='macro'>CAJA_SCHEMA<span class='macro_popup'>"org.mate.caja.preferences"</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5282"><td class="num" id="LN5282">5282</td><td class="line"> <span class='keyword'>if</span> (caja_schema) {</td></tr>
+<tr class="codeline" data-linenumber="5283"><td class="num" id="LN5283">5283</td><td class="line"> window-&gt;priv-&gt;settings_caja = g_settings_new (<span class='macro'>CAJA_SCHEMA<span class='macro_popup'>"org.mate.caja.preferences"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5284"><td class="num" id="LN5284">5284</td><td class="line"> g_settings_schema_unref (caja_schema);</td></tr>
+<tr class="codeline" data-linenumber="5285"><td class="num" id="LN5285">5285</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5286"><td class="num" id="LN5286">5286</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5287"><td class="num" id="LN5287">5287</td><td class="line"> <span class='comment'>/* Create the application. */</span></td></tr>
+<tr class="codeline" data-linenumber="5288"><td class="num" id="LN5288">5288</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5289"><td class="num" id="LN5289">5289</td><td class="line"> window-&gt;priv-&gt;layout = gtk_grid_new ();</td></tr>
+<tr class="codeline" data-linenumber="5290"><td class="num" id="LN5290">5290</td><td class="line"> gtk_container_add (<span class='macro'>GTK_CONTAINER (window)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_container_get_type ()))))))</span></span>, window-&gt;priv-&gt;layout);</td></tr>
+<tr class="codeline" data-linenumber="5291"><td class="num" id="LN5291">5291</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;layout);</td></tr>
+<tr class="codeline" data-linenumber="5292"><td class="num" id="LN5292">5292</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5293"><td class="num" id="LN5293">5293</td><td class="line"> gtk_window_set_title (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>, <span class='macro'>_(<span class='string_literal'>"Archive Manager"</span>)<span class='macro_popup'>gettext ("Archive Manager")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5294"><td class="num" id="LN5294">5294</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5295"><td class="num" id="LN5295">5295</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("delete_event"), (((GCallback) (fr_window_delete_event_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5296"><td class="num" id="LN5296">5296</td><td class="line"> <span class='string_literal'><span class='macro'>"delete_event"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("delete_event"), (((GCallback) (fr_window_delete_event_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5297"><td class="num" id="LN5297">5297</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_delete_event_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("delete_event"), (((GCallback) (fr_window_delete_event_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5298"><td class="num" id="LN5298">5298</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("delete_event"), (((GCallback) (fr_window_delete_event_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5299"><td class="num" id="LN5299">5299</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5300"><td class="num" id="LN5300">5300</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("show"), (((GCallback) (fr_window_show_cb))), (window<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5301"><td class="num" id="LN5301">5301</td><td class="line"> <span class='string_literal'><span class='macro'>"show"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("show"), (((GCallback) (fr_window_show_cb))), (window<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5302"><td class="num" id="LN5302">5302</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_show_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("show"), (((GCallback) (fr_window_show_cb))), (window<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5303"><td class="num" id="LN5303">5303</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("show"), (((GCallback) (fr_window_show_cb))), (window<br>), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5304"><td class="num" id="LN5304">5304</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5305"><td class="num" id="LN5305">5305</td><td class="line"> window-&gt;priv-&gt;theme_changed_handler_id =</td></tr>
+<tr class="codeline" data-linenumber="5306"><td class="num" id="LN5306">5306</td><td class="line"> <span class='macro'>g_signal_connect (icon_theme,<span class='macro_popup'>g_signal_connect_data ((icon_theme), ("changed"), (((GCallback<br>) (theme_changed_cb))), (window), ((void*)0), (GConnectFlags)<br> 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5307"><td class="num" id="LN5307">5307</td><td class="line"> <span class='string_literal'><span class='macro'>"changed"</span>,<span class='macro_popup'>g_signal_connect_data ((icon_theme), ("changed"), (((GCallback<br>) (theme_changed_cb))), (window), ((void*)0), (GConnectFlags)<br> 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5308"><td class="num" id="LN5308">5308</td><td class="line"> <span class='macro'>G_CALLBACK (theme_changed_cb),<span class='macro_popup'>g_signal_connect_data ((icon_theme), ("changed"), (((GCallback<br>) (theme_changed_cb))), (window), ((void*)0), (GConnectFlags)<br> 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5309"><td class="num" id="LN5309">5309</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((icon_theme), ("changed"), (((GCallback<br>) (theme_changed_cb))), (window), ((void*)0), (GConnectFlags)<br> 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5310"><td class="num" id="LN5310">5310</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5311"><td class="num" id="LN5311">5311</td><td class="line"> file_list_icon_size = _gtk_widget_lookup_for_size (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>, <span class='macro'>FILE_LIST_ICON_SIZE<span class='macro_popup'>GTK_ICON_SIZE_LARGE_TOOLBAR</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5312"><td class="num" id="LN5312">5312</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5313"><td class="num" id="LN5313">5313</td><td class="line"> gtk_window_set_default_size (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5314"><td class="num" id="LN5314">5314</td><td class="line"> g_settings_get_int (window-&gt;priv-&gt;settings_ui, <span class='macro'>PREF_UI_WINDOW_WIDTH<span class='macro_popup'>"window-width"</span></span>),</td></tr>
+<tr class="codeline" data-linenumber="5315"><td class="num" id="LN5315">5315</td><td class="line"> g_settings_get_int (window-&gt;priv-&gt;settings_ui, <span class='macro'>PREF_UI_WINDOW_HEIGHT<span class='macro_popup'>"window-height"</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="5316"><td class="num" id="LN5316">5316</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5317"><td class="num" id="LN5317">5317</td><td class="line"> gtk_drag_dest_set (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5318"><td class="num" id="LN5318">5318</td><td class="line"> GTK_DEST_DEFAULT_ALL,</td></tr>
+<tr class="codeline" data-linenumber="5319"><td class="num" id="LN5319">5319</td><td class="line"> target_table, <span class='macro'>G_N_ELEMENTS (target_table)<span class='macro_popup'>(sizeof (target_table) / sizeof ((target_table)[0]))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5320"><td class="num" id="LN5320">5320</td><td class="line"> GDK_ACTION_COPY);</td></tr>
+<tr class="codeline" data-linenumber="5321"><td class="num" id="LN5321">5321</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5322"><td class="num" id="LN5322">5322</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("drag_data_received"), (((GCallback) (fr_window_drag_data_received<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5323"><td class="num" id="LN5323">5323</td><td class="line"> <span class='string_literal'><span class='macro'>"drag_data_received"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("drag_data_received"), (((GCallback) (fr_window_drag_data_received<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5324"><td class="num" id="LN5324">5324</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_drag_data_received),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("drag_data_received"), (((GCallback) (fr_window_drag_data_received<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5325"><td class="num" id="LN5325">5325</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("drag_data_received"), (((GCallback) (fr_window_drag_data_received<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5326"><td class="num" id="LN5326">5326</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("drag_motion"), (((GCallback) (fr_window_drag_motion<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5327"><td class="num" id="LN5327">5327</td><td class="line"> <span class='string_literal'><span class='macro'>"drag_motion"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("drag_motion"), (((GCallback) (fr_window_drag_motion<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5328"><td class="num" id="LN5328">5328</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_drag_motion),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("drag_motion"), (((GCallback) (fr_window_drag_motion<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5329"><td class="num" id="LN5329">5329</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("drag_motion"), (((GCallback) (fr_window_drag_motion<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5330"><td class="num" id="LN5330">5330</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5331"><td class="num" id="LN5331">5331</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("key_press_event"), (((GCallback) (key_press_cb))), (<br>window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5332"><td class="num" id="LN5332">5332</td><td class="line"> <span class='string_literal'><span class='macro'>"key_press_event"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("key_press_event"), (((GCallback) (key_press_cb))), (<br>window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5333"><td class="num" id="LN5333">5333</td><td class="line"> <span class='macro'>G_CALLBACK (key_press_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("key_press_event"), (((GCallback) (key_press_cb))), (<br>window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5334"><td class="num" id="LN5334">5334</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("key_press_event"), (((GCallback) (key_press_cb))), (<br>window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5335"><td class="num" id="LN5335">5335</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5336"><td class="num" id="LN5336">5336</td><td class="line"> <span class='comment'>/* Initialize Data. */</span></td></tr>
+<tr class="codeline" data-linenumber="5337"><td class="num" id="LN5337">5337</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5338"><td class="num" id="LN5338">5338</td><td class="line"> window-&gt;archive = fr_archive_new ();</td></tr>
+<tr class="codeline" data-linenumber="5339"><td class="num" id="LN5339">5339</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("start"), (((GCallback) (action_started))), (window<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5340"><td class="num" id="LN5340">5340</td><td class="line"> <span class='string_literal'><span class='macro'>"start"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("start"), (((GCallback) (action_started))), (window<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5341"><td class="num" id="LN5341">5341</td><td class="line"> <span class='macro'>G_CALLBACK (action_started),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("start"), (((GCallback) (action_started))), (window<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5342"><td class="num" id="LN5342">5342</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("start"), (((GCallback) (action_started))), (window<br>), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5343"><td class="num" id="LN5343">5343</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("done"), (((GCallback) (action_performed))), (<br>window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5344"><td class="num" id="LN5344">5344</td><td class="line"> <span class='string_literal'><span class='macro'>"done"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("done"), (((GCallback) (action_performed))), (<br>window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5345"><td class="num" id="LN5345">5345</td><td class="line"> <span class='macro'>G_CALLBACK (action_performed),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("done"), (((GCallback) (action_performed))), (<br>window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5346"><td class="num" id="LN5346">5346</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("done"), (((GCallback) (action_performed))), (<br>window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5347"><td class="num" id="LN5347">5347</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("progress"), (((GCallback) (fr_window_progress_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5348"><td class="num" id="LN5348">5348</td><td class="line"> <span class='string_literal'><span class='macro'>"progress"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("progress"), (((GCallback) (fr_window_progress_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5349"><td class="num" id="LN5349">5349</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_progress_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("progress"), (((GCallback) (fr_window_progress_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5350"><td class="num" id="LN5350">5350</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("progress"), (((GCallback) (fr_window_progress_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5351"><td class="num" id="LN5351">5351</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("message"), (((GCallback) (fr_window_message_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5352"><td class="num" id="LN5352">5352</td><td class="line"> <span class='string_literal'><span class='macro'>"message"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("message"), (((GCallback) (fr_window_message_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5353"><td class="num" id="LN5353">5353</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_message_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("message"), (((GCallback) (fr_window_message_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5354"><td class="num" id="LN5354">5354</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("message"), (((GCallback) (fr_window_message_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5355"><td class="num" id="LN5355">5355</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("stoppable"), (((GCallback) (fr_window_stoppable_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5356"><td class="num" id="LN5356">5356</td><td class="line"> <span class='string_literal'><span class='macro'>"stoppable"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("stoppable"), (((GCallback) (fr_window_stoppable_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5357"><td class="num" id="LN5357">5357</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_stoppable_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("stoppable"), (((GCallback) (fr_window_stoppable_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5358"><td class="num" id="LN5358">5358</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("stoppable"), (((GCallback) (fr_window_stoppable_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5359"><td class="num" id="LN5359">5359</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("working_archive"), (((GCallback) (fr_window_working_archive_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5360"><td class="num" id="LN5360">5360</td><td class="line"> <span class='string_literal'><span class='macro'>"working_archive"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("working_archive"), (((GCallback) (fr_window_working_archive_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5361"><td class="num" id="LN5361">5361</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_working_archive_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("working_archive"), (((GCallback) (fr_window_working_archive_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5362"><td class="num" id="LN5362">5362</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("working_archive"), (((GCallback) (fr_window_working_archive_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5363"><td class="num" id="LN5363">5363</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5364"><td class="num" id="LN5364">5364</td><td class="line"> fr_archive_set_fake_load_func (window-&gt;archive,</td></tr>
+<tr class="codeline" data-linenumber="5365"><td class="num" id="LN5365">5365</td><td class="line"> fr_window_fake_load,</td></tr>
+<tr class="codeline" data-linenumber="5366"><td class="num" id="LN5366">5366</td><td class="line"> window);</td></tr>
+<tr class="codeline" data-linenumber="5367"><td class="num" id="LN5367">5367</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5368"><td class="num" id="LN5368">5368</td><td class="line"> window-&gt;priv-&gt;sort_method = g_settings_get_enum (window-&gt;priv-&gt;settings_listing, <span class='macro'>PREF_LISTING_SORT_METHOD<span class='macro_popup'>"sort-method"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5369"><td class="num" id="LN5369">5369</td><td class="line"> window-&gt;priv-&gt;sort_type = g_settings_get_enum (window-&gt;priv-&gt;settings_listing, <span class='macro'>PREF_LISTING_SORT_TYPE<span class='macro_popup'>"sort-type"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5370"><td class="num" id="LN5370">5370</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5371"><td class="num" id="LN5371">5371</td><td class="line"> window-&gt;priv-&gt;list_mode = window-&gt;priv-&gt;last_list_mode = g_settings_get_enum (window-&gt;priv-&gt;settings_listing, <span class='macro'>PREF_LISTING_LIST_MODE<span class='macro_popup'>"list-mode"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5372"><td class="num" id="LN5372">5372</td><td class="line"> g_settings_set_boolean (window-&gt;priv-&gt;settings_listing, <span class='macro'>PREF_LISTING_SHOW_PATH<span class='macro_popup'>"show-path"</span></span>, (window-&gt;priv-&gt;list_mode == FR_WINDOW_LIST_MODE_FLAT));</td></tr>
+<tr class="codeline" data-linenumber="5373"><td class="num" id="LN5373">5373</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5374"><td class="num" id="LN5374">5374</td><td class="line"> window-&gt;priv-&gt;history = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5375"><td class="num" id="LN5375">5375</td><td class="line"> window-&gt;priv-&gt;history_current = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5376"><td class="num" id="LN5376">5376</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5377"><td class="num" id="LN5377">5377</td><td class="line"> window-&gt;priv-&gt;action = FR_ACTION_NONE;</td></tr>
+<tr class="codeline" data-linenumber="5378"><td class="num" id="LN5378">5378</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5379"><td class="num" id="LN5379">5379</td><td class="line"> window-&gt;priv-&gt;open_default_dir = <span class='macro'>g_strdup (get_home_uri ())<span class='macro_popup'>g_strdup_inline (get_home_uri ())</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5380"><td class="num" id="LN5380">5380</td><td class="line"> window-&gt;priv-&gt;add_default_dir = <span class='macro'>g_strdup (get_home_uri ())<span class='macro_popup'>g_strdup_inline (get_home_uri ())</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5381"><td class="num" id="LN5381">5381</td><td class="line"> window-&gt;priv-&gt;extract_default_dir = <span class='macro'>g_strdup (get_home_uri ())<span class='macro_popup'>g_strdup_inline (get_home_uri ())</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5382"><td class="num" id="LN5382">5382</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5383"><td class="num" id="LN5383">5383</td><td class="line"> window-&gt;priv-&gt;give_focus_to_the_list = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5384"><td class="num" id="LN5384">5384</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5385"><td class="num" id="LN5385">5385</td><td class="line"> window-&gt;priv-&gt;activity_ref = 0;</td></tr>
+<tr class="codeline" data-linenumber="5386"><td class="num" id="LN5386">5386</td><td class="line"> window-&gt;priv-&gt;activity_timeout_handle = 0;</td></tr>
+<tr class="codeline" data-linenumber="5387"><td class="num" id="LN5387">5387</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5388"><td class="num" id="LN5388">5388</td><td class="line"> window-&gt;priv-&gt;update_timeout_handle = 0;</td></tr>
+<tr class="codeline" data-linenumber="5389"><td class="num" id="LN5389">5389</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5390"><td class="num" id="LN5390">5390</td><td class="line"> window-&gt;priv-&gt;archive_present = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5391"><td class="num" id="LN5391">5391</td><td class="line"> window-&gt;priv-&gt;archive_new = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5392"><td class="num" id="LN5392">5392</td><td class="line"> window-&gt;priv-&gt;archive_uri = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5393"><td class="num" id="LN5393">5393</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5394"><td class="num" id="LN5394">5394</td><td class="line"> window-&gt;priv-&gt;drag_destination_folder = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5395"><td class="num" id="LN5395">5395</td><td class="line"> window-&gt;priv-&gt;drag_base_dir = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5396"><td class="num" id="LN5396">5396</td><td class="line"> window-&gt;priv-&gt;drag_error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5397"><td class="num" id="LN5397">5397</td><td class="line"> window-&gt;priv-&gt;drag_file_list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5398"><td class="num" id="LN5398">5398</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5399"><td class="num" id="LN5399">5399</td><td class="line"> window-&gt;priv-&gt;batch_mode = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5400"><td class="num" id="LN5400">5400</td><td class="line"> window-&gt;priv-&gt;batch_action_list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5401"><td class="num" id="LN5401">5401</td><td class="line"> window-&gt;priv-&gt;batch_action = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5402"><td class="num" id="LN5402">5402</td><td class="line"> window-&gt;priv-&gt;extract_interact_use_default_dir = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5403"><td class="num" id="LN5403">5403</td><td class="line"> window-&gt;priv-&gt;non_interactive = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5404"><td class="num" id="LN5404">5404</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5405"><td class="num" id="LN5405">5405</td><td class="line"> window-&gt;priv-&gt;password = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5406"><td class="num" id="LN5406">5406</td><td class="line"> window-&gt;priv-&gt;compression = g_settings_get_enum (window-&gt;priv-&gt;settings_general, <span class='macro'>PREF_GENERAL_COMPRESSION_LEVEL<span class='macro_popup'>"compression-level"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5407"><td class="num" id="LN5407">5407</td><td class="line"> window-&gt;priv-&gt;encrypt_header = g_settings_get_boolean (window-&gt;priv-&gt;settings_general, <span class='macro'>PREF_GENERAL_ENCRYPT_HEADER<span class='macro_popup'>"encrypt-header"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5408"><td class="num" id="LN5408">5408</td><td class="line"> window-&gt;priv-&gt;volume_size = 0;</td></tr>
+<tr class="codeline" data-linenumber="5409"><td class="num" id="LN5409">5409</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5410"><td class="num" id="LN5410">5410</td><td class="line"> window-&gt;priv-&gt;convert_data.converting = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5411"><td class="num" id="LN5411">5411</td><td class="line"> window-&gt;priv-&gt;convert_data.temp_dir = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5412"><td class="num" id="LN5412">5412</td><td class="line"> window-&gt;priv-&gt;convert_data.new_archive = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5413"><td class="num" id="LN5413">5413</td><td class="line"> window-&gt;priv-&gt;convert_data.password = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5414"><td class="num" id="LN5414">5414</td><td class="line"> window-&gt;priv-&gt;convert_data.encrypt_header = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5415"><td class="num" id="LN5415">5415</td><td class="line"> window-&gt;priv-&gt;convert_data.volume_size = 0;</td></tr>
+<tr class="codeline" data-linenumber="5416"><td class="num" id="LN5416">5416</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5417"><td class="num" id="LN5417">5417</td><td class="line"> window-&gt;priv-&gt;stoppable = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5418"><td class="num" id="LN5418">5418</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5419"><td class="num" id="LN5419">5419</td><td class="line"> window-&gt;priv-&gt;batch_adding_one_file = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5420"><td class="num" id="LN5420">5420</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5421"><td class="num" id="LN5421">5421</td><td class="line"> window-&gt;priv-&gt;path_clicked = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5422"><td class="num" id="LN5422">5422</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5423"><td class="num" id="LN5423">5423</td><td class="line"> window-&gt;priv-&gt;current_view_length = 0;</td></tr>
+<tr class="codeline" data-linenumber="5424"><td class="num" id="LN5424">5424</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5425"><td class="num" id="LN5425">5425</td><td class="line"> window-&gt;priv-&gt;current_batch_action.type = FR_BATCH_ACTION_NONE;</td></tr>
+<tr class="codeline" data-linenumber="5426"><td class="num" id="LN5426">5426</td><td class="line"> window-&gt;priv-&gt;current_batch_action.data = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5427"><td class="num" id="LN5427">5427</td><td class="line"> window-&gt;priv-&gt;current_batch_action.free_func = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5428"><td class="num" id="LN5428">5428</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5429"><td class="num" id="LN5429">5429</td><td class="line"> window-&gt;priv-&gt;pd_last_archive = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5430"><td class="num" id="LN5430">5430</td><td class="line"> window-&gt;priv-&gt;pd_last_message = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5431"><td class="num" id="LN5431">5431</td><td class="line"> window-&gt;priv-&gt;pd_last_fraction = 0.0;</td></tr>
+<tr class="codeline" data-linenumber="5432"><td class="num" id="LN5432">5432</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5433"><td class="num" id="LN5433">5433</td><td class="line"> <span class='comment'>/* Create the widgets. */</span></td></tr>
+<tr class="codeline" data-linenumber="5434"><td class="num" id="LN5434">5434</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5435"><td class="num" id="LN5435">5435</td><td class="line"> <span class='comment'>/* * File list. */</span></td></tr>
+<tr class="codeline" data-linenumber="5436"><td class="num" id="LN5436">5436</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5437"><td class="num" id="LN5437">5437</td><td class="line"> window-&gt;priv-&gt;list_store = fr_list_model_new (NUMBER_OF_COLUMNS,</td></tr>
+<tr class="codeline" data-linenumber="5438"><td class="num" id="LN5438">5438</td><td class="line"> <span class='macro'>G_TYPE_POINTER<span class='macro_popup'>((GType) ((17) &lt;&lt; (2)))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5439"><td class="num" id="LN5439">5439</td><td class="line"> <span class='macro'>GDK_TYPE_PIXBUF<span class='macro_popup'>(gdk_pixbuf_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5440"><td class="num" id="LN5440">5440</td><td class="line"> <span class='macro'>G_TYPE_STRING<span class='macro_popup'>((GType) ((16) &lt;&lt; (2)))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5441"><td class="num" id="LN5441">5441</td><td class="line"> <span class='macro'>GDK_TYPE_PIXBUF<span class='macro_popup'>(gdk_pixbuf_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5442"><td class="num" id="LN5442">5442</td><td class="line"> <span class='macro'>G_TYPE_STRING<span class='macro_popup'>((GType) ((16) &lt;&lt; (2)))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5443"><td class="num" id="LN5443">5443</td><td class="line"> <span class='macro'>G_TYPE_STRING<span class='macro_popup'>((GType) ((16) &lt;&lt; (2)))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5444"><td class="num" id="LN5444">5444</td><td class="line"> <span class='macro'>G_TYPE_STRING<span class='macro_popup'>((GType) ((16) &lt;&lt; (2)))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5445"><td class="num" id="LN5445">5445</td><td class="line"> <span class='macro'>G_TYPE_STRING<span class='macro_popup'>((GType) ((16) &lt;&lt; (2)))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5446"><td class="num" id="LN5446">5446</td><td class="line"> g_object_set_data (<span class='macro'>G_OBJECT (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), (((GType) ((20) &lt;&lt;<br> (2))))))))</span></span>, <span class='string_literal'>"FrWindow"</span>, window);</td></tr>
+<tr class="codeline" data-linenumber="5447"><td class="num" id="LN5447">5447</td><td class="line"> window-&gt;priv-&gt;list_view = gtk_tree_view_new_with_model (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5448"><td class="num" id="LN5448">5448</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5449"><td class="num" id="LN5449">5449</td><td class="line"> add_file_list_columns (window, <span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5450"><td class="num" id="LN5450">5450</td><td class="line"> gtk_tree_view_set_enable_search (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5451"><td class="num" id="LN5451">5451</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5452"><td class="num" id="LN5452">5452</td><td class="line"> gtk_tree_view_set_search_column (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5453"><td class="num" id="LN5453">5453</td><td class="line"> COLUMN_NAME);</td></tr>
+<tr class="codeline" data-linenumber="5454"><td class="num" id="LN5454">5454</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5455"><td class="num" id="LN5455">5455</td><td class="line"> gtk_tree_sortable_set_sort_func (<span class='macro'>GTK_TREE_SORTABLE (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeSortable*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_sortable_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5456"><td class="num" id="LN5456">5456</td><td class="line"> COLUMN_NAME, name_column_sort_func,</td></tr>
+<tr class="codeline" data-linenumber="5457"><td class="num" id="LN5457">5457</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5458"><td class="num" id="LN5458">5458</td><td class="line"> gtk_tree_sortable_set_sort_func (<span class='macro'>GTK_TREE_SORTABLE (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeSortable*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_sortable_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5459"><td class="num" id="LN5459">5459</td><td class="line"> COLUMN_SIZE, size_column_sort_func,</td></tr>
+<tr class="codeline" data-linenumber="5460"><td class="num" id="LN5460">5460</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5461"><td class="num" id="LN5461">5461</td><td class="line"> gtk_tree_sortable_set_sort_func (<span class='macro'>GTK_TREE_SORTABLE (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeSortable*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_sortable_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5462"><td class="num" id="LN5462">5462</td><td class="line"> COLUMN_TYPE, type_column_sort_func,</td></tr>
+<tr class="codeline" data-linenumber="5463"><td class="num" id="LN5463">5463</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5464"><td class="num" id="LN5464">5464</td><td class="line"> gtk_tree_sortable_set_sort_func (<span class='macro'>GTK_TREE_SORTABLE (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeSortable*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_sortable_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5465"><td class="num" id="LN5465">5465</td><td class="line"> COLUMN_TIME, time_column_sort_func,</td></tr>
+<tr class="codeline" data-linenumber="5466"><td class="num" id="LN5466">5466</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5467"><td class="num" id="LN5467">5467</td><td class="line"> gtk_tree_sortable_set_sort_func (<span class='macro'>GTK_TREE_SORTABLE (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeSortable*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_sortable_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5468"><td class="num" id="LN5468">5468</td><td class="line"> COLUMN_PATH, path_column_sort_func,</td></tr>
+<tr class="codeline" data-linenumber="5469"><td class="num" id="LN5469">5469</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5470"><td class="num" id="LN5470">5470</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5471"><td class="num" id="LN5471">5471</td><td class="line"> gtk_tree_sortable_set_default_sort_func (<span class='macro'>GTK_TREE_SORTABLE (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeSortable*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_sortable_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5472"><td class="num" id="LN5472">5472</td><td class="line"> no_sort_column_sort_func,</td></tr>
+<tr class="codeline" data-linenumber="5473"><td class="num" id="LN5473">5473</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5474"><td class="num" id="LN5474">5474</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5475"><td class="num" id="LN5475">5475</td><td class="line"> selection = gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5476"><td class="num" id="LN5476">5476</td><td class="line"> gtk_tree_selection_set_mode (selection, GTK_SELECTION_MULTIPLE);</td></tr>
+<tr class="codeline" data-linenumber="5477"><td class="num" id="LN5477">5477</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5478"><td class="num" id="LN5478">5478</td><td class="line"> <span class='macro'>g_signal_connect (selection,<span class='macro_popup'>g_signal_connect_data ((selection), ("changed"), (((GCallback<br>) (selection_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5479"><td class="num" id="LN5479">5479</td><td class="line"> <span class='string_literal'><span class='macro'>"changed"</span>,<span class='macro_popup'>g_signal_connect_data ((selection), ("changed"), (((GCallback<br>) (selection_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5480"><td class="num" id="LN5480">5480</td><td class="line"> <span class='macro'>G_CALLBACK (selection_changed_cb),<span class='macro_popup'>g_signal_connect_data ((selection), ("changed"), (((GCallback<br>) (selection_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5481"><td class="num" id="LN5481">5481</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((selection), ("changed"), (((GCallback<br>) (selection_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5482"><td class="num" id="LN5482">5482</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;list_view),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("row_activated"), (((GCallback<br>) (row_activated_cb))), (window), ((void*)0), (GConnectFlags)<br> 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5483"><td class="num" id="LN5483">5483</td><td class="line"> <span class='string_literal'><span class='macro'>"row_activated"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("row_activated"), (((GCallback<br>) (row_activated_cb))), (window), ((void*)0), (GConnectFlags)<br> 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5484"><td class="num" id="LN5484">5484</td><td class="line"> <span class='macro'>G_CALLBACK (row_activated_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("row_activated"), (((GCallback<br>) (row_activated_cb))), (window), ((void*)0), (GConnectFlags)<br> 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5485"><td class="num" id="LN5485">5485</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("row_activated"), (((GCallback<br>) (row_activated_cb))), (window), ((void*)0), (GConnectFlags)<br> 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5486"><td class="num" id="LN5486">5486</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5487"><td class="num" id="LN5487">5487</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;list_view),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("button_press_event"), (((GCallback<br>) (file_button_press_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5488"><td class="num" id="LN5488">5488</td><td class="line"> <span class='string_literal'><span class='macro'>"button_press_event"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("button_press_event"), (((GCallback<br>) (file_button_press_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5489"><td class="num" id="LN5489">5489</td><td class="line"> <span class='macro'>G_CALLBACK (file_button_press_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("button_press_event"), (((GCallback<br>) (file_button_press_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5490"><td class="num" id="LN5490">5490</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("button_press_event"), (((GCallback<br>) (file_button_press_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5491"><td class="num" id="LN5491">5491</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;list_view),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("button_release_event"), (((GCallback<br>) (file_button_release_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5492"><td class="num" id="LN5492">5492</td><td class="line"> <span class='string_literal'><span class='macro'>"button_release_event"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("button_release_event"), (((GCallback<br>) (file_button_release_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5493"><td class="num" id="LN5493">5493</td><td class="line"> <span class='macro'>G_CALLBACK (file_button_release_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("button_release_event"), (((GCallback<br>) (file_button_release_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5494"><td class="num" id="LN5494">5494</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("button_release_event"), (((GCallback<br>) (file_button_release_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5495"><td class="num" id="LN5495">5495</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;list_view),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("motion_notify_event"), (((GCallback<br>) (file_motion_notify_callback))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5496"><td class="num" id="LN5496">5496</td><td class="line"> <span class='string_literal'><span class='macro'>"motion_notify_event"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("motion_notify_event"), (((GCallback<br>) (file_motion_notify_callback))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5497"><td class="num" id="LN5497">5497</td><td class="line"> <span class='macro'>G_CALLBACK (file_motion_notify_callback),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("motion_notify_event"), (((GCallback<br>) (file_motion_notify_callback))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5498"><td class="num" id="LN5498">5498</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("motion_notify_event"), (((GCallback<br>) (file_motion_notify_callback))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5499"><td class="num" id="LN5499">5499</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;list_view),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("leave_notify_event"), (((GCallback<br>) (file_leave_notify_callback))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5500"><td class="num" id="LN5500">5500</td><td class="line"> <span class='string_literal'><span class='macro'>"leave_notify_event"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("leave_notify_event"), (((GCallback<br>) (file_leave_notify_callback))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5501"><td class="num" id="LN5501">5501</td><td class="line"> <span class='macro'>G_CALLBACK (file_leave_notify_callback),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("leave_notify_event"), (((GCallback<br>) (file_leave_notify_callback))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5502"><td class="num" id="LN5502">5502</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("leave_notify_event"), (((GCallback<br>) (file_leave_notify_callback))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5503"><td class="num" id="LN5503">5503</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5504"><td class="num" id="LN5504">5504</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;list_store),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_store)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("sort_column_changed"), (((GCallback<br>) (sort_column_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5505"><td class="num" id="LN5505">5505</td><td class="line"> <span class='string_literal'><span class='macro'>"sort_column_changed"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_store)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("sort_column_changed"), (((GCallback<br>) (sort_column_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5506"><td class="num" id="LN5506">5506</td><td class="line"> <span class='macro'>G_CALLBACK (sort_column_changed_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_store)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("sort_column_changed"), (((GCallback<br>) (sort_column_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5507"><td class="num" id="LN5507">5507</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_store)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("sort_column_changed"), (((GCallback<br>) (sort_column_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5508"><td class="num" id="LN5508">5508</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5509"><td class="num" id="LN5509">5509</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;list_view),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_begin"), (((GCallback) (<br>file_list_drag_begin))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5510"><td class="num" id="LN5510">5510</td><td class="line"> <span class='string_literal'><span class='macro'>"drag_begin"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_begin"), (((GCallback) (<br>file_list_drag_begin))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5511"><td class="num" id="LN5511">5511</td><td class="line"> <span class='macro'>G_CALLBACK (file_list_drag_begin),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_begin"), (((GCallback) (<br>file_list_drag_begin))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5512"><td class="num" id="LN5512">5512</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_begin"), (((GCallback) (<br>file_list_drag_begin))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5513"><td class="num" id="LN5513">5513</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;list_view),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_end"), (((GCallback) (file_list_drag_end<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5514"><td class="num" id="LN5514">5514</td><td class="line"> <span class='string_literal'><span class='macro'>"drag_end"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_end"), (((GCallback) (file_list_drag_end<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5515"><td class="num" id="LN5515">5515</td><td class="line"> <span class='macro'>G_CALLBACK (file_list_drag_end),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_end"), (((GCallback) (file_list_drag_end<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5516"><td class="num" id="LN5516">5516</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;list_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_end"), (((GCallback) (file_list_drag_end<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5517"><td class="num" id="LN5517">5517</td><td class="line"> egg_tree_multi_drag_add_drag_support (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5518"><td class="num" id="LN5518">5518</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5519"><td class="num" id="LN5519">5519</td><td class="line"> list_scrolled_window = gtk_scrolled_window_new (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5520"><td class="num" id="LN5520">5520</td><td class="line"> gtk_scrolled_window_set_policy (<span class='macro'>GTK_SCROLLED_WINDOW (list_scrolled_window)<span class='macro_popup'>((((GtkScrolledWindow*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((list_scrolled_window)), ((gtk_scrolled_window_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5521"><td class="num" id="LN5521">5521</td><td class="line"> GTK_POLICY_AUTOMATIC,</td></tr>
+<tr class="codeline" data-linenumber="5522"><td class="num" id="LN5522">5522</td><td class="line"> GTK_POLICY_AUTOMATIC);</td></tr>
+<tr class="codeline" data-linenumber="5523"><td class="num" id="LN5523">5523</td><td class="line"> gtk_scrolled_window_set_shadow_type (<span class='macro'>GTK_SCROLLED_WINDOW (list_scrolled_window)<span class='macro_popup'>((((GtkScrolledWindow*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((list_scrolled_window)), ((gtk_scrolled_window_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5524"><td class="num" id="LN5524">5524</td><td class="line"> GTK_SHADOW_IN);</td></tr>
+<tr class="codeline" data-linenumber="5525"><td class="num" id="LN5525">5525</td><td class="line"> gtk_container_add (<span class='macro'>GTK_CONTAINER (list_scrolled_window)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((list_scrolled_window)), ((gtk_container_get_type ())))))<br>)</span></span>, window-&gt;priv-&gt;list_view);</td></tr>
+<tr class="codeline" data-linenumber="5526"><td class="num" id="LN5526">5526</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5527"><td class="num" id="LN5527">5527</td><td class="line"> <span class='comment'>/* filter bar */</span></td></tr>
+<tr class="codeline" data-linenumber="5528"><td class="num" id="LN5528">5528</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5529"><td class="num" id="LN5529">5529</td><td class="line"> window-&gt;priv-&gt;filter_bar = filter_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);</td></tr>
+<tr class="codeline" data-linenumber="5530"><td class="num" id="LN5530">5530</td><td class="line"> gtk_container_set_border_width (<span class='macro'>GTK_CONTAINER (filter_box)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((filter_box)), ((gtk_container_get_type ()))))))</span></span>, 3);</td></tr>
+<tr class="codeline" data-linenumber="5531"><td class="num" id="LN5531">5531</td><td class="line"> fr_window_attach (<span class='macro'>FR_WINDOW (window)<span class='macro_popup'>((((FrWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((fr_window_get_type ()))))))</span></span>, window-&gt;priv-&gt;filter_bar, FR_WINDOW_AREA_FILTERBAR);</td></tr>
+<tr class="codeline" data-linenumber="5532"><td class="num" id="LN5532">5532</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5533"><td class="num" id="LN5533">5533</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (filter_box)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((filter_box)), ((gtk_box_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5534"><td class="num" id="LN5534">5534</td><td class="line"> gtk_label_new (<span class='macro'>_(<span class='string_literal'>"Find:"</span>)<span class='macro_popup'>gettext ("Find:")</span></span>), <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="5535"><td class="num" id="LN5535">5535</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5536"><td class="num" id="LN5536">5536</td><td class="line"> <span class='comment'>/* * filter entry */</span></td></tr>
+<tr class="codeline" data-linenumber="5537"><td class="num" id="LN5537">5537</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5538"><td class="num" id="LN5538">5538</td><td class="line"> window-&gt;priv-&gt;filter_entry = <span class='macro'>GTK_WIDGET (gtk_entry_new ())<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_entry_new ())), ((gtk_widget_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5539"><td class="num" id="LN5539">5539</td><td class="line"> gtk_entry_set_icon_from_icon_name (<span class='macro'>GTK_ENTRY (window-&gt;priv-&gt;filter_entry)<span class='macro_popup'>((((GtkEntry*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;filter_entry)), ((gtk_entry_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5540"><td class="num" id="LN5540">5540</td><td class="line"> GTK_ENTRY_ICON_SECONDARY,</td></tr>
+<tr class="codeline" data-linenumber="5541"><td class="num" id="LN5541">5541</td><td class="line"> <span class='string_literal'>"edit-clear"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5542"><td class="num" id="LN5542">5542</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5543"><td class="num" id="LN5543">5543</td><td class="line"> gtk_widget_set_size_request (window-&gt;priv-&gt;filter_entry, 300, -1);</td></tr>
+<tr class="codeline" data-linenumber="5544"><td class="num" id="LN5544">5544</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (filter_box)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((filter_box)), ((gtk_box_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5545"><td class="num" id="LN5545">5545</td><td class="line"> window-&gt;priv-&gt;filter_entry, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 6);</td></tr>
+<tr class="codeline" data-linenumber="5546"><td class="num" id="LN5546">5546</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5547"><td class="num" id="LN5547">5547</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;filter_entry),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;filter_entry)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("activate"), (((GCallback) (filter_entry_activate_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5548"><td class="num" id="LN5548">5548</td><td class="line"> <span class='string_literal'><span class='macro'>"activate"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;filter_entry)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("activate"), (((GCallback) (filter_entry_activate_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5549"><td class="num" id="LN5549">5549</td><td class="line"> <span class='macro'>G_CALLBACK (filter_entry_activate_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;filter_entry)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("activate"), (((GCallback) (filter_entry_activate_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5550"><td class="num" id="LN5550">5550</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;filter_entry)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("activate"), (((GCallback) (filter_entry_activate_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5551"><td class="num" id="LN5551">5551</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;filter_entry),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;filter_entry)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("icon-release"), (((GCallback)<br> (filter_entry_icon_release_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5552"><td class="num" id="LN5552">5552</td><td class="line"> <span class='string_literal'><span class='macro'>"icon-release"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;filter_entry)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("icon-release"), (((GCallback)<br> (filter_entry_icon_release_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5553"><td class="num" id="LN5553">5553</td><td class="line"> <span class='macro'>G_CALLBACK (filter_entry_icon_release_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;filter_entry)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("icon-release"), (((GCallback)<br> (filter_entry_icon_release_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5554"><td class="num" id="LN5554">5554</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;filter_entry)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("icon-release"), (((GCallback)<br> (filter_entry_icon_release_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5555"><td class="num" id="LN5555">5555</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5556"><td class="num" id="LN5556">5556</td><td class="line"> gtk_widget_show_all (filter_box);</td></tr>
+<tr class="codeline" data-linenumber="5557"><td class="num" id="LN5557">5557</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5558"><td class="num" id="LN5558">5558</td><td class="line"> <span class='comment'>/* tree view */</span></td></tr>
+<tr class="codeline" data-linenumber="5559"><td class="num" id="LN5559">5559</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5560"><td class="num" id="LN5560">5560</td><td class="line"> window-&gt;priv-&gt;tree_store = gtk_tree_store_new (TREE_NUMBER_OF_COLUMNS,</td></tr>
+<tr class="codeline" data-linenumber="5561"><td class="num" id="LN5561">5561</td><td class="line"> <span class='macro'>G_TYPE_STRING<span class='macro_popup'>((GType) ((16) &lt;&lt; (2)))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5562"><td class="num" id="LN5562">5562</td><td class="line"> <span class='macro'>GDK_TYPE_PIXBUF<span class='macro_popup'>(gdk_pixbuf_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5563"><td class="num" id="LN5563">5563</td><td class="line"> <span class='macro'>G_TYPE_STRING<span class='macro_popup'>((GType) ((16) &lt;&lt; (2)))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5564"><td class="num" id="LN5564">5564</td><td class="line"> <span class='macro'>PANGO_TYPE_WEIGHT<span class='macro_popup'>(pango_weight_get_type ())</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5565"><td class="num" id="LN5565">5565</td><td class="line"> window-&gt;priv-&gt;tree_view = gtk_tree_view_new_with_model (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;tree_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5566"><td class="num" id="LN5566">5566</td><td class="line"> gtk_tree_view_set_headers_visible (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;tree_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5567"><td class="num" id="LN5567">5567</td><td class="line"> add_dir_tree_columns (window, <span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;tree_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5568"><td class="num" id="LN5568">5568</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5569"><td class="num" id="LN5569">5569</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;tree_view),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("button_press_event"), (((GCallback<br>) (dir_tree_button_press_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5570"><td class="num" id="LN5570">5570</td><td class="line"> <span class='string_literal'><span class='macro'>"button_press_event"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("button_press_event"), (((GCallback<br>) (dir_tree_button_press_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5571"><td class="num" id="LN5571">5571</td><td class="line"> <span class='macro'>G_CALLBACK (dir_tree_button_press_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("button_press_event"), (((GCallback<br>) (dir_tree_button_press_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5572"><td class="num" id="LN5572">5572</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("button_press_event"), (((GCallback<br>) (dir_tree_button_press_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5573"><td class="num" id="LN5573">5573</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5574"><td class="num" id="LN5574">5574</td><td class="line"> selection = gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;tree_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;tree_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5575"><td class="num" id="LN5575">5575</td><td class="line"> <span class='macro'>g_signal_connect (selection,<span class='macro_popup'>g_signal_connect_data ((selection), ("changed"), (((GCallback<br>) (dir_tree_selection_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5576"><td class="num" id="LN5576">5576</td><td class="line"> <span class='string_literal'><span class='macro'>"changed"</span>,<span class='macro_popup'>g_signal_connect_data ((selection), ("changed"), (((GCallback<br>) (dir_tree_selection_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5577"><td class="num" id="LN5577">5577</td><td class="line"> <span class='macro'>G_CALLBACK (dir_tree_selection_changed_cb),<span class='macro_popup'>g_signal_connect_data ((selection), ("changed"), (((GCallback<br>) (dir_tree_selection_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5578"><td class="num" id="LN5578">5578</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((selection), ("changed"), (((GCallback<br>) (dir_tree_selection_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5579"><td class="num" id="LN5579">5579</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5580"><td class="num" id="LN5580">5580</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;tree_view),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_begin"), (((GCallback) (<br>file_list_drag_begin))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5581"><td class="num" id="LN5581">5581</td><td class="line"> <span class='string_literal'><span class='macro'>"drag_begin"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_begin"), (((GCallback) (<br>file_list_drag_begin))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5582"><td class="num" id="LN5582">5582</td><td class="line"> <span class='macro'>G_CALLBACK (file_list_drag_begin),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_begin"), (((GCallback) (<br>file_list_drag_begin))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5583"><td class="num" id="LN5583">5583</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_begin"), (((GCallback) (<br>file_list_drag_begin))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5584"><td class="num" id="LN5584">5584</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;tree_view),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_end"), (((GCallback) (file_list_drag_end<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5585"><td class="num" id="LN5585">5585</td><td class="line"> <span class='string_literal'><span class='macro'>"drag_end"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_end"), (((GCallback) (file_list_drag_end<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5586"><td class="num" id="LN5586">5586</td><td class="line"> <span class='macro'>G_CALLBACK (file_list_drag_end),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_end"), (((GCallback) (file_list_drag_end<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5587"><td class="num" id="LN5587">5587</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_end"), (((GCallback) (file_list_drag_end<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5588"><td class="num" id="LN5588">5588</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;tree_view),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_data_get"), (((GCallback<br>) (fr_window_folder_tree_drag_data_get))), (window), ((void*)<br>0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5589"><td class="num" id="LN5589">5589</td><td class="line"> <span class='string_literal'><span class='macro'>"drag_data_get"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_data_get"), (((GCallback<br>) (fr_window_folder_tree_drag_data_get))), (window), ((void*)<br>0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5590"><td class="num" id="LN5590">5590</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_folder_tree_drag_data_get),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_data_get"), (((GCallback<br>) (fr_window_folder_tree_drag_data_get))), (window), ((void*)<br>0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5591"><td class="num" id="LN5591">5591</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;tree_view)), (((GType<br>) ((20) &lt;&lt; (2))))))))), ("drag_data_get"), (((GCallback<br>) (fr_window_folder_tree_drag_data_get))), (window), ((void*)<br>0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5592"><td class="num" id="LN5592">5592</td><td class="line"> gtk_drag_source_set (window-&gt;priv-&gt;tree_view,</td></tr>
+<tr class="codeline" data-linenumber="5593"><td class="num" id="LN5593">5593</td><td class="line"> GDK_BUTTON1_MASK,</td></tr>
+<tr class="codeline" data-linenumber="5594"><td class="num" id="LN5594">5594</td><td class="line"> folder_tree_targets, <span class='macro'>G_N_ELEMENTS (folder_tree_targets)<span class='macro_popup'>(sizeof (folder_tree_targets) / sizeof ((folder_tree_targets)<br>[0]))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5595"><td class="num" id="LN5595">5595</td><td class="line"> GDK_ACTION_COPY);</td></tr>
+<tr class="codeline" data-linenumber="5596"><td class="num" id="LN5596">5596</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5597"><td class="num" id="LN5597">5597</td><td class="line"> tree_scrolled_window = gtk_scrolled_window_new (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5598"><td class="num" id="LN5598">5598</td><td class="line"> gtk_scrolled_window_set_policy (<span class='macro'>GTK_SCROLLED_WINDOW (tree_scrolled_window)<span class='macro_popup'>((((GtkScrolledWindow*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((tree_scrolled_window)), ((gtk_scrolled_window_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5599"><td class="num" id="LN5599">5599</td><td class="line"> GTK_POLICY_AUTOMATIC,</td></tr>
+<tr class="codeline" data-linenumber="5600"><td class="num" id="LN5600">5600</td><td class="line"> GTK_POLICY_AUTOMATIC);</td></tr>
+<tr class="codeline" data-linenumber="5601"><td class="num" id="LN5601">5601</td><td class="line"> gtk_scrolled_window_set_shadow_type (<span class='macro'>GTK_SCROLLED_WINDOW (tree_scrolled_window)<span class='macro_popup'>((((GtkScrolledWindow*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((tree_scrolled_window)), ((gtk_scrolled_window_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5602"><td class="num" id="LN5602">5602</td><td class="line"> GTK_SHADOW_IN);</td></tr>
+<tr class="codeline" data-linenumber="5603"><td class="num" id="LN5603">5603</td><td class="line"> gtk_container_add (<span class='macro'>GTK_CONTAINER (tree_scrolled_window)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((tree_scrolled_window)), ((gtk_container_get_type ())))))<br>)</span></span>, window-&gt;priv-&gt;tree_view);</td></tr>
+<tr class="codeline" data-linenumber="5604"><td class="num" id="LN5604">5604</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5605"><td class="num" id="LN5605">5605</td><td class="line"> <span class='comment'>/* side pane */</span></td></tr>
+<tr class="codeline" data-linenumber="5606"><td class="num" id="LN5606">5606</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5607"><td class="num" id="LN5607">5607</td><td class="line"> window-&gt;priv-&gt;sidepane = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);</td></tr>
+<tr class="codeline" data-linenumber="5608"><td class="num" id="LN5608">5608</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5609"><td class="num" id="LN5609">5609</td><td class="line"> sidepane_title = gtk_frame_new (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5610"><td class="num" id="LN5610">5610</td><td class="line"> gtk_frame_set_shadow_type (<span class='macro'>GTK_FRAME (sidepane_title)<span class='macro_popup'>((((GtkFrame*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((sidepane_title)), ((gtk_frame_get_type ()))))))</span></span>, GTK_SHADOW_ETCHED_IN);</td></tr>
+<tr class="codeline" data-linenumber="5611"><td class="num" id="LN5611">5611</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5612"><td class="num" id="LN5612">5612</td><td class="line"> sidepane_title_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);</td></tr>
+<tr class="codeline" data-linenumber="5613"><td class="num" id="LN5613">5613</td><td class="line"> gtk_container_set_border_width (<span class='macro'>GTK_CONTAINER (sidepane_title_box)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((sidepane_title_box)), ((gtk_container_get_type ()))))))</span></span>, 2);</td></tr>
+<tr class="codeline" data-linenumber="5614"><td class="num" id="LN5614">5614</td><td class="line"> gtk_container_add (<span class='macro'>GTK_CONTAINER (sidepane_title)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((sidepane_title)), ((gtk_container_get_type ()))))))</span></span>, sidepane_title_box);</td></tr>
+<tr class="codeline" data-linenumber="5615"><td class="num" id="LN5615">5615</td><td class="line"> sidepane_title_label = gtk_label_new (<span class='macro'>_(<span class='string_literal'>"Folders"</span>)<span class='macro_popup'>gettext ("Folders")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5616"><td class="num" id="LN5616">5616</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5617"><td class="num" id="LN5617">5617</td><td class="line"> gtk_label_set_xalign (<span class='macro'>GTK_LABEL (sidepane_title_label)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((sidepane_title_label)), ((gtk_label_get_type ()))))))</span></span>, 0.0);</td></tr>
+<tr class="codeline" data-linenumber="5618"><td class="num" id="LN5618">5618</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (sidepane_title_box)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((sidepane_title_box)), ((gtk_box_get_type ()))))))</span></span>, sidepane_title_label, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="5619"><td class="num" id="LN5619">5619</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5620"><td class="num" id="LN5620">5620</td><td class="line"> close_sidepane_button = gtk_button_new ();</td></tr>
+<tr class="codeline" data-linenumber="5621"><td class="num" id="LN5621">5621</td><td class="line"> gtk_container_add (<span class='macro'>GTK_CONTAINER (close_sidepane_button)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((close_sidepane_button)), ((gtk_container_get_type ()))))<br>))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5622"><td class="num" id="LN5622">5622</td><td class="line"> gtk_image_new_from_icon_name (<span class='string_literal'>"window-close"</span>,</td></tr>
+<tr class="codeline" data-linenumber="5623"><td class="num" id="LN5623">5623</td><td class="line"> GTK_ICON_SIZE_MENU));</td></tr>
+<tr class="codeline" data-linenumber="5624"><td class="num" id="LN5624">5624</td><td class="line"> gtk_button_set_relief (<span class='macro'>GTK_BUTTON (close_sidepane_button)<span class='macro_popup'>((((GtkButton*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((close_sidepane_button)), ((gtk_button_get_type ()))))))</span></span>, GTK_RELIEF_NONE);</td></tr>
+<tr class="codeline" data-linenumber="5625"><td class="num" id="LN5625">5625</td><td class="line"> gtk_widget_set_tooltip_text (close_sidepane_button, <span class='macro'>_(<span class='string_literal'>"Close the folders pane"</span>)<span class='macro_popup'>gettext ("Close the folders pane")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5626"><td class="num" id="LN5626">5626</td><td class="line"> <span class='macro'>g_signal_connect (close_sidepane_button,<span class='macro_popup'>g_signal_connect_data ((close_sidepane_button), ("clicked"), (<br>((GCallback) (close_sidepane_button_clicked_cb))), (window), (<br>(void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5627"><td class="num" id="LN5627">5627</td><td class="line"> <span class='string_literal'><span class='macro'>"clicked"</span>,<span class='macro_popup'>g_signal_connect_data ((close_sidepane_button), ("clicked"), (<br>((GCallback) (close_sidepane_button_clicked_cb))), (window), (<br>(void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5628"><td class="num" id="LN5628">5628</td><td class="line"> <span class='macro'>G_CALLBACK (close_sidepane_button_clicked_cb),<span class='macro_popup'>g_signal_connect_data ((close_sidepane_button), ("clicked"), (<br>((GCallback) (close_sidepane_button_clicked_cb))), (window), (<br>(void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5629"><td class="num" id="LN5629">5629</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((close_sidepane_button), ("clicked"), (<br>((GCallback) (close_sidepane_button_clicked_cb))), (window), (<br>(void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5630"><td class="num" id="LN5630">5630</td><td class="line"> gtk_box_pack_end (<span class='macro'>GTK_BOX (sidepane_title_box)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((sidepane_title_box)), ((gtk_box_get_type ()))))))</span></span>, close_sidepane_button, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="5631"><td class="num" id="LN5631">5631</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5632"><td class="num" id="LN5632">5632</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (window-&gt;priv-&gt;sidepane)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;sidepane)), ((gtk_box_get_type ())))<br>)))</span></span>, sidepane_title, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="5633"><td class="num" id="LN5633">5633</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (window-&gt;priv-&gt;sidepane)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;sidepane)), ((gtk_box_get_type ())))<br>)))</span></span>, tree_scrolled_window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="5634"><td class="num" id="LN5634">5634</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5635"><td class="num" id="LN5635">5635</td><td class="line"> <span class='comment'>/* main content */</span></td></tr>
+<tr class="codeline" data-linenumber="5636"><td class="num" id="LN5636">5636</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5637"><td class="num" id="LN5637">5637</td><td class="line"> window-&gt;priv-&gt;paned = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL);</td></tr>
+<tr class="codeline" data-linenumber="5638"><td class="num" id="LN5638">5638</td><td class="line"> gtk_paned_pack1 (<span class='macro'>GTK_PANED (window-&gt;priv-&gt;paned)<span class='macro_popup'>((((GtkPaned*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;paned)), ((gtk_paned_get_type ()))))<br>))</span></span>, window-&gt;priv-&gt;sidepane, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5639"><td class="num" id="LN5639">5639</td><td class="line"> gtk_paned_pack2 (<span class='macro'>GTK_PANED (window-&gt;priv-&gt;paned)<span class='macro_popup'>((((GtkPaned*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;paned)), ((gtk_paned_get_type ()))))<br>))</span></span>, list_scrolled_window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5640"><td class="num" id="LN5640">5640</td><td class="line"> gtk_paned_set_position (<span class='macro'>GTK_PANED (window-&gt;priv-&gt;paned)<span class='macro_popup'>((((GtkPaned*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;paned)), ((gtk_paned_get_type ()))))<br>))</span></span>, g_settings_get_int (window-&gt;priv-&gt;settings_ui, <span class='macro'>PREF_UI_SIDEBAR_WIDTH<span class='macro_popup'>"sidebar-width"</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="5641"><td class="num" id="LN5641">5641</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5642"><td class="num" id="LN5642">5642</td><td class="line"> fr_window_attach (<span class='macro'>FR_WINDOW (window)<span class='macro_popup'>((((FrWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((fr_window_get_type ()))))))</span></span>, window-&gt;priv-&gt;paned, FR_WINDOW_AREA_CONTENTS);</td></tr>
+<tr class="codeline" data-linenumber="5643"><td class="num" id="LN5643">5643</td><td class="line"> gtk_widget_show_all (window-&gt;priv-&gt;paned);</td></tr>
+<tr class="codeline" data-linenumber="5644"><td class="num" id="LN5644">5644</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5645"><td class="num" id="LN5645">5645</td><td class="line"> <span class='comment'>/* Build the menu and the toolbar. */</span></td></tr>
+<tr class="codeline" data-linenumber="5646"><td class="num" id="LN5646">5646</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5647"><td class="num" id="LN5647">5647</td><td class="line"> window-&gt;priv-&gt;ui_manager = ui = gtk_builder_new ();</td></tr>
+<tr class="codeline" data-linenumber="5648"><td class="num" id="LN5648">5648</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5649"><td class="num" id="LN5649">5649</td><td class="line"> window-&gt;priv-&gt;actions = actions = (GActionGroup*)g_simple_action_group_new ();</td></tr>
+<tr class="codeline" data-linenumber="5650"><td class="num" id="LN5650">5650</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5651"><td class="num" id="LN5651">5651</td><td class="line"> <span class='comment'>/* other actions */</span></td></tr>
+<tr class="codeline" data-linenumber="5652"><td class="num" id="LN5652">5652</td><td class="line"> g_action_map_add_action_entries (<span class='macro'>G_ACTION_MAP (actions)<span class='macro_popup'>((((GActionMap*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((actions)), ((g_action_map_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5653"><td class="num" id="LN5653">5653</td><td class="line"> action_entries, <span class='macro'>G_N_ELEMENTS (action_entries)<span class='macro_popup'>(sizeof (action_entries) / sizeof ((action_entries)[0]))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5654"><td class="num" id="LN5654">5654</td><td class="line"> window);</td></tr>
+<tr class="codeline" data-linenumber="5655"><td class="num" id="LN5655">5655</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5656"><td class="num" id="LN5656">5656</td><td class="line"> accel_group = gtk_accel_group_new ();</td></tr>
+<tr class="codeline" data-linenumber="5657"><td class="num" id="LN5657">5657</td><td class="line"> gtk_widget_insert_action_group (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>, <span class='string_literal'>"win"</span>, actions);</td></tr>
+<tr class="codeline" data-linenumber="5658"><td class="num" id="LN5658">5658</td><td class="line"> gtk_window_add_accel_group (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>, accel_group);</td></tr>
+<tr class="codeline" data-linenumber="5659"><td class="num" id="LN5659">5659</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5660"><td class="num" id="LN5660">5660</td><td class="line"> <span class='comment'>/* Add a hidden short cut Ctrl-Q for power users */</span></td></tr>
+<tr class="codeline" data-linenumber="5661"><td class="num" id="LN5661">5661</td><td class="line"> gtk_accel_group_connect (accel_group,</td></tr>
+<tr class="codeline" data-linenumber="5662"><td class="num" id="LN5662">5662</td><td class="line"> <span class='macro'>GDK_KEY_q<span class='macro_popup'>0x071</span></span>, GDK_CONTROL_MASK, 0,</td></tr>
+<tr class="codeline" data-linenumber="5663"><td class="num" id="LN5663">5663</td><td class="line"> g_cclosure_new_swap (<span class='macro'>G_CALLBACK (fr_window_close)<span class='macro_popup'>((GCallback) (fr_window_close))</span></span>, window, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="5664"><td class="num" id="LN5664">5664</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5665"><td class="num" id="LN5665">5665</td><td class="line"> <span class='keyword'>if</span> (! gtk_builder_add_from_resource (ui, <span class='macro'>ENGRAMPA_RESOURCE_UI_PATH<span class='macro_popup'>"/org/mate/Engrampa/ui"</span></span> <span class='macro'>G_DIR_SEPARATOR_S<span class='macro_popup'>"/"</span></span> <span class='string_literal'>"menus-toolbars.ui"</span>, &amp;error)) {</td></tr>
+<tr class="codeline" data-linenumber="5666"><td class="num" id="LN5666">5666</td><td class="line"> g_message (<span class='string_literal'>"building menus failed: %s"</span>, error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="5667"><td class="num" id="LN5667">5667</td><td class="line"> g_error_free (error);</td></tr>
+<tr class="codeline" data-linenumber="5668"><td class="num" id="LN5668">5668</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5669"><td class="num" id="LN5669">5669</td><td class="line"> <span class='comment'>/*Add shortcut keys*/</span></td></tr>
+<tr class="codeline" data-linenumber="5670"><td class="num" id="LN5670">5670</td><td class="line"> <span class='keyword'>for</span> (gulong i = 0; i &lt; <span class='macro'>G_N_ELEMENTS (menu_keybindings)<span class='macro_popup'>(sizeof (menu_keybindings) / sizeof ((menu_keybindings)[0]))</span></span>; i++)</td></tr>
+<tr class="codeline" data-linenumber="5671"><td class="num" id="LN5671">5671</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="5672"><td class="num" id="LN5672">5672</td><td class="line"> menuitem = (GtkWidget*)gtk_builder_get_object (ui, menu_keybindings[i].widget_id);</td></tr>
+<tr class="codeline" data-linenumber="5673"><td class="num" id="LN5673">5673</td><td class="line"> gtk_widget_add_accelerator (menuitem, <span class='string_literal'>"activate"</span>, accel_group,</td></tr>
+<tr class="codeline" data-linenumber="5674"><td class="num" id="LN5674">5674</td><td class="line"> menu_keybindings[i].keyval,</td></tr>
+<tr class="codeline" data-linenumber="5675"><td class="num" id="LN5675">5675</td><td class="line"> menu_keybindings[i].modifier,</td></tr>
+<tr class="codeline" data-linenumber="5676"><td class="num" id="LN5676">5676</td><td class="line"> GTK_ACCEL_VISIBLE);</td></tr>
+<tr class="codeline" data-linenumber="5677"><td class="num" id="LN5677">5677</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5678"><td class="num" id="LN5678">5678</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5679"><td class="num" id="LN5679">5679</td><td class="line"> gtk_builder_add_callback_symbols (ui,</td></tr>
+<tr class="codeline" data-linenumber="5680"><td class="num" id="LN5680">5680</td><td class="line"> <span class='string_literal'>"menu_item_select_cb"</span>, <span class='macro'>G_CALLBACK (menu_item_select_cb)<span class='macro_popup'>((GCallback) (menu_item_select_cb))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5681"><td class="num" id="LN5681">5681</td><td class="line"> <span class='string_literal'>"menu_item_deselect_cb"</span>, <span class='macro'>G_CALLBACK (menu_item_deselect_cb)<span class='macro_popup'>((GCallback) (menu_item_deselect_cb))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5682"><td class="num" id="LN5682">5682</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5683"><td class="num" id="LN5683">5683</td><td class="line"> gtk_builder_connect_signals (ui, window);</td></tr>
+<tr class="codeline" data-linenumber="5684"><td class="num" id="LN5684">5684</td><td class="line"> <span class='comment'>/* open recent toolbar item action */</span></td></tr>
+<tr class="codeline" data-linenumber="5685"><td class="num" id="LN5685">5685</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5686"><td class="num" id="LN5686">5686</td><td class="line"> window-&gt;priv-&gt;menubar_recentmenu = fr_window_create_recent_chooser (window);</td></tr>
+<tr class="codeline" data-linenumber="5687"><td class="num" id="LN5687">5687</td><td class="line"> menuitem = (GtkWidget *)gtk_builder_get_object (ui, <span class='string_literal'>"open_recent_item"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5688"><td class="num" id="LN5688">5688</td><td class="line"> gtk_menu_item_set_submenu (<span class='macro'>GTK_MENU_ITEM (menuitem)<span class='macro_popup'>((((GtkMenuItem*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((menuitem)), ((gtk_menu_item_get_type ()))))))</span></span>, window-&gt;priv-&gt;menubar_recentmenu);</td></tr>
+<tr class="codeline" data-linenumber="5689"><td class="num" id="LN5689">5689</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5690"><td class="num" id="LN5690">5690</td><td class="line"> <span class='comment'>/* open recent toolbar item action */</span></td></tr>
+<tr class="codeline" data-linenumber="5691"><td class="num" id="LN5691">5691</td><td class="line"> menuitem = (GtkWidget *)gtk_builder_get_object (ui, <span class='string_literal'>"tool_open_recent_item"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5692"><td class="num" id="LN5692">5692</td><td class="line"> window-&gt;priv-&gt;toolbar_recentmenu = fr_window_create_recent_chooser (window);</td></tr>
+<tr class="codeline" data-linenumber="5693"><td class="num" id="LN5693">5693</td><td class="line"> gtk_menu_tool_button_set_menu (<span class='macro'>GTK_MENU_TOOL_BUTTON (menuitem)<span class='macro_popup'>((((GtkMenuToolButton*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((menuitem)), ((gtk_menu_tool_button_get_type<br> ()))))))</span></span>, window-&gt;priv-&gt;toolbar_recentmenu);</td></tr>
+<tr class="codeline" data-linenumber="5694"><td class="num" id="LN5694">5694</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5695"><td class="num" id="LN5695">5695</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;list_mode == FR_WINDOW_LIST_MODE_FLAT)</td></tr>
+<tr class="codeline" data-linenumber="5696"><td class="num" id="LN5696">5696</td><td class="line"> action = g_simple_action_new_stateful (<span class='string_literal'>"ViewAllFiles"</span>, <span class='macro'>G_VARIANT_TYPE (<span class='string_literal'>"s"</span>)<span class='macro_popup'>(g_variant_type_checked_ (("s")))</span></span>, g_variant_new_string (<span class='string_literal'>"files"</span>));</td></tr>
+<tr class="codeline" data-linenumber="5697"><td class="num" id="LN5697">5697</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="5698"><td class="num" id="LN5698">5698</td><td class="line"> action = g_simple_action_new_stateful (<span class='string_literal'>"ViewAllFiles"</span>, <span class='macro'>G_VARIANT_TYPE (<span class='string_literal'>"s"</span>)<span class='macro_popup'>(g_variant_type_checked_ (("s")))</span></span>, g_variant_new_string (<span class='string_literal'>"folder"</span>));</td></tr>
+<tr class="codeline" data-linenumber="5699"><td class="num" id="LN5699">5699</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5700"><td class="num" id="LN5700">5700</td><td class="line"> g_action_map_add_action (<span class='macro'>G_ACTION_MAP (actions)<span class='macro_popup'>((((GActionMap*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((actions)), ((g_action_map_get_type ()))))))</span></span>, <span class='macro'>G_ACTION (action)<span class='macro_popup'>((((GAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((g_action_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5701"><td class="num" id="LN5701">5701</td><td class="line"> g_object_unref (action);</td></tr>
+<tr class="codeline" data-linenumber="5702"><td class="num" id="LN5702">5702</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5703"><td class="num" id="LN5703">5703</td><td class="line"> menubar = (GtkWidget *)gtk_builder_get_object (ui, <span class='string_literal'>"engrampamenubar"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5704"><td class="num" id="LN5704">5704</td><td class="line"> fr_window_attach (<span class='macro'>FR_WINDOW (window)<span class='macro_popup'>((((FrWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((fr_window_get_type ()))))))</span></span>, menubar, FR_WINDOW_AREA_MENUBAR);</td></tr>
+<tr class="codeline" data-linenumber="5705"><td class="num" id="LN5705">5705</td><td class="line"> gtk_widget_show (menubar);</td></tr>
+<tr class="codeline" data-linenumber="5706"><td class="num" id="LN5706">5706</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5707"><td class="num" id="LN5707">5707</td><td class="line"> window-&gt;priv-&gt;toolbar = toolbar = (GtkWidget *)gtk_builder_get_object (ui, <span class='string_literal'>"engrampatoolbar"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5708"><td class="num" id="LN5708">5708</td><td class="line"> gtk_toolbar_set_show_arrow (<span class='macro'>GTK_TOOLBAR (toolbar)<span class='macro_popup'>((((GtkToolbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((toolbar)), ((gtk_toolbar_get_type ()))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5709"><td class="num" id="LN5709">5709</td><td class="line"> gtk_style_context_add_class (gtk_widget_get_style_context (toolbar), <span class='macro'>GTK_STYLE_CLASS_PRIMARY_TOOLBAR<span class='macro_popup'>"primary-toolbar"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5710"><td class="num" id="LN5710">5710</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5711"><td class="num" id="LN5711">5711</td><td class="line"> <span class='comment'>/* location bar */</span></td></tr>
+<tr class="codeline" data-linenumber="5712"><td class="num" id="LN5712">5712</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5713"><td class="num" id="LN5713">5713</td><td class="line"> window-&gt;priv-&gt;location_bar = (GtkWidget *)gtk_builder_get_object (ui, <span class='string_literal'>"locationbar"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5714"><td class="num" id="LN5714">5714</td><td class="line"> gtk_toolbar_set_show_arrow (<span class='macro'>GTK_TOOLBAR (window-&gt;priv-&gt;location_bar)<span class='macro_popup'>((((GtkToolbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;location_bar)), ((gtk_toolbar_get_type<br> ()))))))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5715"><td class="num" id="LN5715">5715</td><td class="line"> gtk_toolbar_set_style (<span class='macro'>GTK_TOOLBAR (window-&gt;priv-&gt;location_bar)<span class='macro_popup'>((((GtkToolbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;location_bar)), ((gtk_toolbar_get_type<br> ()))))))</span></span>, GTK_TOOLBAR_BOTH_HORIZ);</td></tr>
+<tr class="codeline" data-linenumber="5716"><td class="num" id="LN5716">5716</td><td class="line"> gtk_style_context_add_class (gtk_widget_get_style_context (window-&gt;priv-&gt;location_bar), <span class='macro'>GTK_STYLE_CLASS_TOOLBAR<span class='macro_popup'>"toolbar"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5717"><td class="num" id="LN5717">5717</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5718"><td class="num" id="LN5718">5718</td><td class="line"> init_engramp_menu_popup (window, ui);</td></tr>
+<tr class="codeline" data-linenumber="5719"><td class="num" id="LN5719">5719</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5720"><td class="num" id="LN5720">5720</td><td class="line"> <span class='comment'>/* file list mode */</span></td></tr>
+<tr class="codeline" data-linenumber="5721"><td class="num" id="LN5721">5721</td><td class="line"> menu_radio_files = (GtkWidget *)gtk_builder_get_object (ui, <span class='string_literal'>"view_all_files_item"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5722"><td class="num" id="LN5722">5722</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (menu_radio_files),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((menu_radio_files)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("toggled"), (((GCallback) (view_all_files_selected_toggled<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5723"><td class="num" id="LN5723">5723</td><td class="line"> <span class='string_literal'><span class='macro'>"toggled"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((menu_radio_files)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("toggled"), (((GCallback) (view_all_files_selected_toggled<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5724"><td class="num" id="LN5724">5724</td><td class="line"> <span class='macro'>G_CALLBACK (view_all_files_selected_toggled),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((menu_radio_files)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("toggled"), (((GCallback) (view_all_files_selected_toggled<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5725"><td class="num" id="LN5725">5725</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((menu_radio_files)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("toggled"), (((GCallback) (view_all_files_selected_toggled<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5726"><td class="num" id="LN5726">5726</td><td class="line"> <span class='comment'>/* current location */</span></td></tr>
+<tr class="codeline" data-linenumber="5727"><td class="num" id="LN5727">5727</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5728"><td class="num" id="LN5728">5728</td><td class="line"> location_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);</td></tr>
+<tr class="codeline" data-linenumber="5729"><td class="num" id="LN5729">5729</td><td class="line"> <span class='comment'>/* Translators: after the colon there is a folder name. */</span></td></tr>
+<tr class="codeline" data-linenumber="5730"><td class="num" id="LN5730">5730</td><td class="line"> window-&gt;priv-&gt;location_label = gtk_label_new_with_mnemonic (<span class='macro'>_(<span class='string_literal'>"_Location:"</span>)<span class='macro_popup'>gettext ("_Location:")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5731"><td class="num" id="LN5731">5731</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (location_box)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((location_box)), ((gtk_box_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5732"><td class="num" id="LN5732">5732</td><td class="line"> window-&gt;priv-&gt;location_label, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 5);</td></tr>
+<tr class="codeline" data-linenumber="5733"><td class="num" id="LN5733">5733</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5734"><td class="num" id="LN5734">5734</td><td class="line"> window-&gt;priv-&gt;location_entry = gtk_entry_new ();</td></tr>
+<tr class="codeline" data-linenumber="5735"><td class="num" id="LN5735">5735</td><td class="line"> gtk_entry_set_icon_from_icon_name (<span class='macro'>GTK_ENTRY (window-&gt;priv-&gt;location_entry)<span class='macro_popup'>((((GtkEntry*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;location_entry)), ((gtk_entry_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5736"><td class="num" id="LN5736">5736</td><td class="line"> GTK_ENTRY_ICON_PRIMARY,</td></tr>
+<tr class="codeline" data-linenumber="5737"><td class="num" id="LN5737">5737</td><td class="line"> <span class='string_literal'>"folder"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5738"><td class="num" id="LN5738">5738</td><td class="line"> gtk_label_set_mnemonic_widget (<span class='macro'>GTK_LABEL (window-&gt;priv-&gt;location_label)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;location_label)), ((gtk_label_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5739"><td class="num" id="LN5739">5739</td><td class="line"> window-&gt;priv-&gt;location_entry);</td></tr>
+<tr class="codeline" data-linenumber="5740"><td class="num" id="LN5740">5740</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5741"><td class="num" id="LN5741">5741</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (location_box)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((location_box)), ((gtk_box_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5742"><td class="num" id="LN5742">5742</td><td class="line"> window-&gt;priv-&gt;location_entry, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 5);</td></tr>
+<tr class="codeline" data-linenumber="5743"><td class="num" id="LN5743">5743</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5744"><td class="num" id="LN5744">5744</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;location_entry),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;location_entry)), ((<br>(GType) ((20) &lt;&lt; (2))))))))), ("key_press_event"), (((GCallback<br>) (location_entry_key_press_event_cb))), (window), ((void*)0)<br>, (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5745"><td class="num" id="LN5745">5745</td><td class="line"> <span class='string_literal'><span class='macro'>"key_press_event"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;location_entry)), ((<br>(GType) ((20) &lt;&lt; (2))))))))), ("key_press_event"), (((GCallback<br>) (location_entry_key_press_event_cb))), (window), ((void*)0)<br>, (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5746"><td class="num" id="LN5746">5746</td><td class="line"> <span class='macro'>G_CALLBACK (location_entry_key_press_event_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;location_entry)), ((<br>(GType) ((20) &lt;&lt; (2))))))))), ("key_press_event"), (((GCallback<br>) (location_entry_key_press_event_cb))), (window), ((void*)0)<br>, (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5747"><td class="num" id="LN5747">5747</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;location_entry)), ((<br>(GType) ((20) &lt;&lt; (2))))))))), ("key_press_event"), (((GCallback<br>) (location_entry_key_press_event_cb))), (window), ((void*)0)<br>, (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5748"><td class="num" id="LN5748">5748</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5749"><td class="num" id="LN5749">5749</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="5750"><td class="num" id="LN5750">5750</td><td class="line"> GtkToolItem *tool_item;</td></tr>
+<tr class="codeline" data-linenumber="5751"><td class="num" id="LN5751">5751</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5752"><td class="num" id="LN5752">5752</td><td class="line"> tool_item = gtk_separator_tool_item_new ();</td></tr>
+<tr class="codeline" data-linenumber="5753"><td class="num" id="LN5753">5753</td><td class="line"> gtk_widget_show_all (<span class='macro'>GTK_WIDGET (tool_item)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((tool_item)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5754"><td class="num" id="LN5754">5754</td><td class="line"> gtk_toolbar_insert (<span class='macro'>GTK_TOOLBAR (window-&gt;priv-&gt;location_bar)<span class='macro_popup'>((((GtkToolbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;location_bar)), ((gtk_toolbar_get_type<br> ()))))))</span></span>, tool_item, -1);</td></tr>
+<tr class="codeline" data-linenumber="5755"><td class="num" id="LN5755">5755</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5756"><td class="num" id="LN5756">5756</td><td class="line"> tool_item = gtk_tool_item_new ();</td></tr>
+<tr class="codeline" data-linenumber="5757"><td class="num" id="LN5757">5757</td><td class="line"> gtk_tool_item_set_expand (tool_item, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5758"><td class="num" id="LN5758">5758</td><td class="line"> gtk_container_add (<span class='macro'>GTK_CONTAINER (tool_item)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((tool_item)), ((gtk_container_get_type ()))))))</span></span>, location_box);</td></tr>
+<tr class="codeline" data-linenumber="5759"><td class="num" id="LN5759">5759</td><td class="line"> gtk_widget_show_all (<span class='macro'>GTK_WIDGET (tool_item)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((tool_item)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5760"><td class="num" id="LN5760">5760</td><td class="line"> gtk_toolbar_insert (<span class='macro'>GTK_TOOLBAR (window-&gt;priv-&gt;location_bar)<span class='macro_popup'>((((GtkToolbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;location_bar)), ((gtk_toolbar_get_type<br> ()))))))</span></span>, tool_item, -1);</td></tr>
+<tr class="codeline" data-linenumber="5761"><td class="num" id="LN5761">5761</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5762"><td class="num" id="LN5762">5762</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5763"><td class="num" id="LN5763">5763</td><td class="line"> fr_window_attach (<span class='macro'>FR_WINDOW (window)<span class='macro_popup'>((((FrWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((fr_window_get_type ()))))))</span></span>, window-&gt;priv-&gt;location_bar, FR_WINDOW_AREA_LOCATIONBAR);</td></tr>
+<tr class="codeline" data-linenumber="5764"><td class="num" id="LN5764">5764</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;list_mode == FR_WINDOW_LIST_MODE_FLAT)</td></tr>
+<tr class="codeline" data-linenumber="5765"><td class="num" id="LN5765">5765</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;location_bar);</td></tr>
+<tr class="codeline" data-linenumber="5766"><td class="num" id="LN5766">5766</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="5767"><td class="num" id="LN5767">5767</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;location_bar);</td></tr>
+<tr class="codeline" data-linenumber="5768"><td class="num" id="LN5768">5768</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5769"><td class="num" id="LN5769">5769</td><td class="line"> <span class='comment'>/**/</span></td></tr>
+<tr class="codeline" data-linenumber="5770"><td class="num" id="LN5770">5770</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5771"><td class="num" id="LN5771">5771</td><td class="line"> fr_window_attach (<span class='macro'>FR_WINDOW (window)<span class='macro_popup'>((((FrWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((fr_window_get_type ()))))))</span></span>, window-&gt;priv-&gt;toolbar, FR_WINDOW_AREA_TOOLBAR);</td></tr>
+<tr class="codeline" data-linenumber="5772"><td class="num" id="LN5772">5772</td><td class="line"> <span class='keyword'>if</span> (g_settings_get_boolean (window-&gt;priv-&gt;settings_ui, <span class='macro'>PREF_UI_VIEW_TOOLBAR<span class='macro_popup'>"view-toolbar"</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="5773"><td class="num" id="LN5773">5773</td><td class="line"> gtk_widget_show (toolbar);</td></tr>
+<tr class="codeline" data-linenumber="5774"><td class="num" id="LN5774">5774</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="5775"><td class="num" id="LN5775">5775</td><td class="line"> gtk_widget_hide (toolbar);</td></tr>
+<tr class="codeline" data-linenumber="5776"><td class="num" id="LN5776">5776</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5777"><td class="num" id="LN5777">5777</td><td class="line"> window-&gt;priv-&gt;file_popup_menu = (GtkWidget *)gtk_builder_get_object (ui, <span class='string_literal'>"FilePopupMenu"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5778"><td class="num" id="LN5778">5778</td><td class="line"> window-&gt;priv-&gt;folder_popup_menu = (GtkWidget *)gtk_builder_get_object (ui, <span class='string_literal'>"FolderPopupMenu"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5779"><td class="num" id="LN5779">5779</td><td class="line"> window-&gt;priv-&gt;sidebar_folder_popup_menu = (GtkWidget *)gtk_builder_get_object (ui, <span class='string_literal'>"SidebarFolderPopupMenu"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5780"><td class="num" id="LN5780">5780</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5781"><td class="num" id="LN5781">5781</td><td class="line"> <span class='comment'>/* Create the statusbar. */</span></td></tr>
+<tr class="codeline" data-linenumber="5782"><td class="num" id="LN5782">5782</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5783"><td class="num" id="LN5783">5783</td><td class="line"> window-&gt;priv-&gt;statusbar = gtk_statusbar_new ();</td></tr>
+<tr class="codeline" data-linenumber="5784"><td class="num" id="LN5784">5784</td><td class="line"> window-&gt;priv-&gt;help_message_cid = gtk_statusbar_get_context_id (<span class='macro'>GTK_STATUSBAR (window-&gt;priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;statusbar)), ((gtk_statusbar_get_type<br> ()))))))</span></span>, <span class='string_literal'>"help_message"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5785"><td class="num" id="LN5785">5785</td><td class="line"> window-&gt;priv-&gt;list_info_cid = gtk_statusbar_get_context_id (<span class='macro'>GTK_STATUSBAR (window-&gt;priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;statusbar)), ((gtk_statusbar_get_type<br> ()))))))</span></span>, <span class='string_literal'>"list_info"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5786"><td class="num" id="LN5786">5786</td><td class="line"> window-&gt;priv-&gt;progress_cid = gtk_statusbar_get_context_id (<span class='macro'>GTK_STATUSBAR (window-&gt;priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;statusbar)), ((gtk_statusbar_get_type<br> ()))))))</span></span>, <span class='string_literal'>"progress"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5787"><td class="num" id="LN5787">5787</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5788"><td class="num" id="LN5788">5788</td><td class="line"> statusbar = <span class='macro'>GTK_STATUSBAR (window-&gt;priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;statusbar)), ((gtk_statusbar_get_type<br> ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5789"><td class="num" id="LN5789">5789</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5790"><td class="num" id="LN5790">5790</td><td class="line"> <span class='comment'>/*reduce size of statusbar */</span></td></tr>
+<tr class="codeline" data-linenumber="5791"><td class="num" id="LN5791">5791</td><td class="line"> gtk_widget_set_margin_top (<span class='macro'>GTK_WIDGET (statusbar)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((statusbar)), ((gtk_widget_get_type ()))))))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="5792"><td class="num" id="LN5792">5792</td><td class="line"> gtk_widget_set_margin_bottom (<span class='macro'>GTK_WIDGET (statusbar)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((statusbar)), ((gtk_widget_get_type ()))))))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="5793"><td class="num" id="LN5793">5793</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5794"><td class="num" id="LN5794">5794</td><td class="line"> statusbar_box = gtk_statusbar_get_message_area (statusbar);</td></tr>
+<tr class="codeline" data-linenumber="5795"><td class="num" id="LN5795">5795</td><td class="line"> gtk_box_set_homogeneous (<span class='macro'>GTK_BOX (statusbar_box)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((statusbar_box)), ((gtk_box_get_type ()))))))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5796"><td class="num" id="LN5796">5796</td><td class="line"> gtk_box_set_spacing (<span class='macro'>GTK_BOX (statusbar_box)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((statusbar_box)), ((gtk_box_get_type ()))))))</span></span>, 4);</td></tr>
+<tr class="codeline" data-linenumber="5797"><td class="num" id="LN5797">5797</td><td class="line"> gtk_box_set_child_packing (<span class='macro'>GTK_BOX (statusbar_box)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((statusbar_box)), ((gtk_box_get_type ()))))))</span></span>, gtk_statusbar_get_message_area (statusbar), <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0, GTK_PACK_START );</td></tr>
+<tr class="codeline" data-linenumber="5798"><td class="num" id="LN5798">5798</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5799"><td class="num" id="LN5799">5799</td><td class="line"> window-&gt;priv-&gt;progress_bar = gtk_progress_bar_new ();</td></tr>
+<tr class="codeline" data-linenumber="5800"><td class="num" id="LN5800">5800</td><td class="line"> gtk_progress_bar_set_pulse_step (<span class='macro'>GTK_PROGRESS_BAR (window-&gt;priv-&gt;progress_bar)<span class='macro_popup'>((((GtkProgressBar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_bar)), ((gtk_progress_bar_get_type<br> ()))))))</span></span>, <span class='macro'>ACTIVITY_PULSE_STEP<span class='macro_popup'>(0.033)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5801"><td class="num" id="LN5801">5801</td><td class="line"> gtk_widget_set_size_request (window-&gt;priv-&gt;progress_bar, -1, <span class='macro'>PROGRESS_BAR_HEIGHT<span class='macro_popup'>10</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5802"><td class="num" id="LN5802">5802</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="5803"><td class="num" id="LN5803">5803</td><td class="line"> GtkWidget *vbox;</td></tr>
+<tr class="codeline" data-linenumber="5804"><td class="num" id="LN5804">5804</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5805"><td class="num" id="LN5805">5805</td><td class="line"> vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);</td></tr>
+<tr class="codeline" data-linenumber="5806"><td class="num" id="LN5806">5806</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (statusbar_box)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((statusbar_box)), ((gtk_box_get_type ()))))))</span></span>, vbox, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="5807"><td class="num" id="LN5807">5807</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (vbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((vbox)), ((gtk_box_get_type ()))))))</span></span>, window-&gt;priv-&gt;progress_bar, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 1);</td></tr>
+<tr class="codeline" data-linenumber="5808"><td class="num" id="LN5808">5808</td><td class="line"> gtk_widget_show (vbox);</td></tr>
+<tr class="codeline" data-linenumber="5809"><td class="num" id="LN5809">5809</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5810"><td class="num" id="LN5810">5810</td><td class="line"> gtk_widget_show (statusbar_box);</td></tr>
+<tr class="codeline" data-linenumber="5811"><td class="num" id="LN5811">5811</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5812"><td class="num" id="LN5812">5812</td><td class="line"> fr_window_attach (<span class='macro'>FR_WINDOW (window)<span class='macro_popup'>((((FrWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((fr_window_get_type ()))))))</span></span>, window-&gt;priv-&gt;statusbar, FR_WINDOW_AREA_STATUSBAR);</td></tr>
+<tr class="codeline" data-linenumber="5813"><td class="num" id="LN5813">5813</td><td class="line"> <span class='keyword'>if</span> (g_settings_get_boolean (window-&gt;priv-&gt;settings_ui, <span class='macro'>PREF_UI_VIEW_STATUSBAR<span class='macro_popup'>"view-statusbar"</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="5814"><td class="num" id="LN5814">5814</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;statusbar);</td></tr>
+<tr class="codeline" data-linenumber="5815"><td class="num" id="LN5815">5815</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="5816"><td class="num" id="LN5816">5816</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;statusbar);</td></tr>
+<tr class="codeline" data-linenumber="5817"><td class="num" id="LN5817">5817</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5818"><td class="num" id="LN5818">5818</td><td class="line"> <span class='comment'>/**/</span></td></tr>
+<tr class="codeline" data-linenumber="5819"><td class="num" id="LN5819">5819</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5820"><td class="num" id="LN5820">5820</td><td class="line"> fr_window_update_title (window);</td></tr>
+<tr class="codeline" data-linenumber="5821"><td class="num" id="LN5821">5821</td><td class="line"> fr_window_update_sensitivity (window);</td></tr>
+<tr class="codeline" data-linenumber="5822"><td class="num" id="LN5822">5822</td><td class="line"> fr_window_update_file_list (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5823"><td class="num" id="LN5823">5823</td><td class="line"> fr_window_update_dir_tree (window);</td></tr>
+<tr class="codeline" data-linenumber="5824"><td class="num" id="LN5824">5824</td><td class="line"> fr_window_update_current_location (window);</td></tr>
+<tr class="codeline" data-linenumber="5825"><td class="num" id="LN5825">5825</td><td class="line"> fr_window_update_columns_visibility (window);</td></tr>
+<tr class="codeline" data-linenumber="5826"><td class="num" id="LN5826">5826</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5827"><td class="num" id="LN5827">5827</td><td class="line"> <span class='comment'>/* Add notification callbacks. */</span></td></tr>
+<tr class="codeline" data-linenumber="5828"><td class="num" id="LN5828">5828</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5829"><td class="num" id="LN5829">5829</td><td class="line"> <span class='macro'>g_signal_connect (window-&gt;priv-&gt;settings_ui,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "history-len"), (((GCallback) (pref_history_len_changed))), (<br>window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5830"><td class="num" id="LN5830">5830</td><td class="line"> <span class='string_literal'><span class='macro'>"changed::"</span> PREF_UI_HISTORY_LEN,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "history-len"), (((GCallback) (pref_history_len_changed))), (<br>window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5831"><td class="num" id="LN5831">5831</td><td class="line"> <span class='macro'>G_CALLBACK (pref_history_len_changed),<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "history-len"), (((GCallback) (pref_history_len_changed))), (<br>window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5832"><td class="num" id="LN5832">5832</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "history-len"), (((GCallback) (pref_history_len_changed))), (<br>window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5833"><td class="num" id="LN5833">5833</td><td class="line"> <span class='macro'>g_signal_connect (window-&gt;priv-&gt;settings_ui,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "view-toolbar"), (((GCallback) (pref_view_toolbar_changed)))<br>, (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5834"><td class="num" id="LN5834">5834</td><td class="line"> <span class='string_literal'><span class='macro'>"changed::"</span> PREF_UI_VIEW_TOOLBAR,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "view-toolbar"), (((GCallback) (pref_view_toolbar_changed)))<br>, (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5835"><td class="num" id="LN5835">5835</td><td class="line"> <span class='macro'>G_CALLBACK (pref_view_toolbar_changed),<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "view-toolbar"), (((GCallback) (pref_view_toolbar_changed)))<br>, (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5836"><td class="num" id="LN5836">5836</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "view-toolbar"), (((GCallback) (pref_view_toolbar_changed)))<br>, (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5837"><td class="num" id="LN5837">5837</td><td class="line"> <span class='macro'>g_signal_connect (window-&gt;priv-&gt;settings_ui,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "view-statusbar"), (((GCallback) (pref_view_statusbar_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5838"><td class="num" id="LN5838">5838</td><td class="line"> <span class='string_literal'><span class='macro'>"changed::"</span> PREF_UI_VIEW_STATUSBAR,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "view-statusbar"), (((GCallback) (pref_view_statusbar_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5839"><td class="num" id="LN5839">5839</td><td class="line"> <span class='macro'>G_CALLBACK (pref_view_statusbar_changed),<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "view-statusbar"), (((GCallback) (pref_view_statusbar_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5840"><td class="num" id="LN5840">5840</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "view-statusbar"), (((GCallback) (pref_view_statusbar_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5841"><td class="num" id="LN5841">5841</td><td class="line"> <span class='macro'>g_signal_connect (window-&gt;priv-&gt;settings_ui,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "view-folders"), (((GCallback) (pref_view_folders_changed)))<br>, (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5842"><td class="num" id="LN5842">5842</td><td class="line"> <span class='string_literal'><span class='macro'>"changed::"</span> PREF_UI_VIEW_FOLDERS,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "view-folders"), (((GCallback) (pref_view_folders_changed)))<br>, (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5843"><td class="num" id="LN5843">5843</td><td class="line"> <span class='macro'>G_CALLBACK (pref_view_folders_changed),<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "view-folders"), (((GCallback) (pref_view_folders_changed)))<br>, (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5844"><td class="num" id="LN5844">5844</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_ui), ("changed::"<br> "view-folders"), (((GCallback) (pref_view_folders_changed)))<br>, (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5845"><td class="num" id="LN5845">5845</td><td class="line"> <span class='macro'>g_signal_connect (window-&gt;priv-&gt;settings_listing,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-type"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5846"><td class="num" id="LN5846">5846</td><td class="line"> <span class='string_literal'><span class='macro'>"changed::"</span> PREF_LISTING_SHOW_TYPE,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-type"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5847"><td class="num" id="LN5847">5847</td><td class="line"> <span class='macro'>G_CALLBACK (pref_show_field_changed),<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-type"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5848"><td class="num" id="LN5848">5848</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-type"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5849"><td class="num" id="LN5849">5849</td><td class="line"> <span class='macro'>g_signal_connect (window-&gt;priv-&gt;settings_listing,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-size"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5850"><td class="num" id="LN5850">5850</td><td class="line"> <span class='string_literal'><span class='macro'>"changed::"</span> PREF_LISTING_SHOW_SIZE,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-size"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5851"><td class="num" id="LN5851">5851</td><td class="line"> <span class='macro'>G_CALLBACK (pref_show_field_changed),<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-size"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5852"><td class="num" id="LN5852">5852</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-size"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5853"><td class="num" id="LN5853">5853</td><td class="line"> <span class='macro'>g_signal_connect (window-&gt;priv-&gt;settings_listing,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-time"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5854"><td class="num" id="LN5854">5854</td><td class="line"> <span class='string_literal'><span class='macro'>"changed::"</span> PREF_LISTING_SHOW_TIME,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-time"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5855"><td class="num" id="LN5855">5855</td><td class="line"> <span class='macro'>G_CALLBACK (pref_show_field_changed),<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-time"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5856"><td class="num" id="LN5856">5856</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-time"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5857"><td class="num" id="LN5857">5857</td><td class="line"> <span class='macro'>g_signal_connect (window-&gt;priv-&gt;settings_listing,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-path"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5858"><td class="num" id="LN5858">5858</td><td class="line"> <span class='string_literal'><span class='macro'>"changed::"</span> PREF_LISTING_SHOW_PATH,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-path"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5859"><td class="num" id="LN5859">5859</td><td class="line"> <span class='macro'>G_CALLBACK (pref_show_field_changed),<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-path"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5860"><td class="num" id="LN5860">5860</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "show-path"), (((GCallback) (pref_show_field_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5861"><td class="num" id="LN5861">5861</td><td class="line"> <span class='macro'>g_signal_connect (window-&gt;priv-&gt;settings_listing,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "use-mime-icons"), (((GCallback) (pref_use_mime_icons_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5862"><td class="num" id="LN5862">5862</td><td class="line"> <span class='string_literal'><span class='macro'>"changed::"</span> PREF_LISTING_USE_MIME_ICONS,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "use-mime-icons"), (((GCallback) (pref_use_mime_icons_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5863"><td class="num" id="LN5863">5863</td><td class="line"> <span class='macro'>G_CALLBACK (pref_use_mime_icons_changed),<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "use-mime-icons"), (((GCallback) (pref_use_mime_icons_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5864"><td class="num" id="LN5864">5864</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_listing)<br>, ("changed::" "use-mime-icons"), (((GCallback) (pref_use_mime_icons_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5865"><td class="num" id="LN5865">5865</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5866"><td class="num" id="LN5866">5866</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;settings_caja)</td></tr>
+<tr class="codeline" data-linenumber="5867"><td class="num" id="LN5867">5867</td><td class="line"> <span class='macro'>g_signal_connect (window-&gt;priv-&gt;settings_caja,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_caja), (<br>"changed::" "click-policy"), (((GCallback) (pref_click_policy_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5868"><td class="num" id="LN5868">5868</td><td class="line"> <span class='string_literal'><span class='macro'>"changed::"</span> CAJA_CLICK_POLICY,<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_caja), (<br>"changed::" "click-policy"), (((GCallback) (pref_click_policy_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5869"><td class="num" id="LN5869">5869</td><td class="line"> <span class='macro'>G_CALLBACK (pref_click_policy_changed),<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_caja), (<br>"changed::" "click-policy"), (((GCallback) (pref_click_policy_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5870"><td class="num" id="LN5870">5870</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((window-&gt;priv-&gt;settings_caja), (<br>"changed::" "click-policy"), (((GCallback) (pref_click_policy_changed<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5871"><td class="num" id="LN5871">5871</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5872"><td class="num" id="LN5872">5872</td><td class="line"> <span class='comment'>/* Give focus to the list. */</span></td></tr>
+<tr class="codeline" data-linenumber="5873"><td class="num" id="LN5873">5873</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5874"><td class="num" id="LN5874">5874</td><td class="line"> gtk_widget_grab_focus (window-&gt;priv-&gt;list_view);</td></tr>
+<tr class="codeline" data-linenumber="5875"><td class="num" id="LN5875">5875</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5876"><td class="num" id="LN5876">5876</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5877"><td class="num" id="LN5877">5877</td><td class="line">GtkWidget *</td></tr>
+<tr class="codeline" data-linenumber="5878"><td class="num" id="LN5878">5878</td><td class="line">fr_window_new (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="5879"><td class="num" id="LN5879">5879</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5880"><td class="num" id="LN5880">5880</td><td class="line"> GtkWidget *window;</td></tr>
+<tr class="codeline" data-linenumber="5881"><td class="num" id="LN5881">5881</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5882"><td class="num" id="LN5882">5882</td><td class="line"> window = g_object_new (<span class='macro'>FR_TYPE_WINDOW<span class='macro_popup'>(fr_window_get_type ())</span></span>, <span class='string_literal'>"application"</span>, g_application_get_default (), <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5883"><td class="num" id="LN5883">5883</td><td class="line"> fr_window_construct ((FrWindow*) window);</td></tr>
+<tr class="codeline" data-linenumber="5884"><td class="num" id="LN5884">5884</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5885"><td class="num" id="LN5885">5885</td><td class="line"> <span class='keyword'>return</span> window;</td></tr>
+<tr class="codeline" data-linenumber="5886"><td class="num" id="LN5886">5886</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5887"><td class="num" id="LN5887">5887</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5888"><td class="num" id="LN5888">5888</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5889"><td class="num" id="LN5889">5889</td><td class="line">fr_window_set_archive_uri (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="5890"><td class="num" id="LN5890">5890</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *uri)</td></tr>
+<tr class="codeline" data-linenumber="5891"><td class="num" id="LN5891">5891</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5892"><td class="num" id="LN5892">5892</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;archive_uri != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="5893"><td class="num" id="LN5893">5893</td><td class="line"> g_free (window-&gt;priv-&gt;archive_uri);</td></tr>
+<tr class="codeline" data-linenumber="5894"><td class="num" id="LN5894">5894</td><td class="line"> window-&gt;priv-&gt;archive_uri = <span class='macro'>g_strdup (uri)<span class='macro_popup'>g_strdup_inline (uri)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5895"><td class="num" id="LN5895">5895</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5896"><td class="num" id="LN5896">5896</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5897"><td class="num" id="LN5897">5897</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="5898"><td class="num" id="LN5898">5898</td><td class="line">fr_window_archive_new (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="5899"><td class="num" id="LN5899">5899</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *uri)</td></tr>
+<tr class="codeline" data-linenumber="5900"><td class="num" id="LN5900">5900</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5901"><td class="num" id="LN5901">5901</td><td class="line"> <span class='macro'>g_return_val_if_fail (window != NULL, FALSE)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5902"><td class="num" id="LN5902">5902</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5903"><td class="num" id="LN5903">5903</td><td class="line"> <span class='keyword'>if</span> (! fr_archive_create (window-&gt;archive, uri)) {</td></tr>
+<tr class="codeline" data-linenumber="5904"><td class="num" id="LN5904">5904</td><td class="line"> GtkWindow *file_sel = g_object_get_data (<span class='macro'>G_OBJECT (window)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"fr_file_sel"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5905"><td class="num" id="LN5905">5905</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5906"><td class="num" id="LN5906">5906</td><td class="line"> window-&gt;priv-&gt;load_error_parent_window = file_sel;</td></tr>
+<tr class="codeline" data-linenumber="5907"><td class="num" id="LN5907">5907</td><td class="line"> fr_archive_action_completed (window-&gt;archive,</td></tr>
+<tr class="codeline" data-linenumber="5908"><td class="num" id="LN5908">5908</td><td class="line"> FR_ACTION_CREATING_NEW_ARCHIVE,</td></tr>
+<tr class="codeline" data-linenumber="5909"><td class="num" id="LN5909">5909</td><td class="line"> FR_PROC_ERROR_GENERIC,</td></tr>
+<tr class="codeline" data-linenumber="5910"><td class="num" id="LN5910">5910</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Archive type not supported."</span>)<span class='macro_popup'>gettext ("Archive type not supported.")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5911"><td class="num" id="LN5911">5911</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5912"><td class="num" id="LN5912">5912</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5913"><td class="num" id="LN5913">5913</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5914"><td class="num" id="LN5914">5914</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5915"><td class="num" id="LN5915">5915</td><td class="line"> fr_window_set_archive_uri (window, uri);</td></tr>
+<tr class="codeline" data-linenumber="5916"><td class="num" id="LN5916">5916</td><td class="line"> window-&gt;priv-&gt;archive_present = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5917"><td class="num" id="LN5917">5917</td><td class="line"> window-&gt;priv-&gt;archive_new = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5918"><td class="num" id="LN5918">5918</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5919"><td class="num" id="LN5919">5919</td><td class="line"> fr_archive_action_completed (window-&gt;archive,</td></tr>
+<tr class="codeline" data-linenumber="5920"><td class="num" id="LN5920">5920</td><td class="line"> FR_ACTION_CREATING_NEW_ARCHIVE,</td></tr>
+<tr class="codeline" data-linenumber="5921"><td class="num" id="LN5921">5921</td><td class="line"> FR_PROC_ERROR_NONE,</td></tr>
+<tr class="codeline" data-linenumber="5922"><td class="num" id="LN5922">5922</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5923"><td class="num" id="LN5923">5923</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5924"><td class="num" id="LN5924">5924</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5925"><td class="num" id="LN5925">5925</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5926"><td class="num" id="LN5926">5926</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5927"><td class="num" id="LN5927">5927</td><td class="line">FrWindow *</td></tr>
+<tr class="codeline" data-linenumber="5928"><td class="num" id="LN5928">5928</td><td class="line">fr_window_archive_open (FrWindow *current_window,</td></tr>
+<tr class="codeline" data-linenumber="5929"><td class="num" id="LN5929">5929</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *uri,</td></tr>
+<tr class="codeline" data-linenumber="5930"><td class="num" id="LN5930">5930</td><td class="line"> GtkWindow *parent)</td></tr>
+<tr class="codeline" data-linenumber="5931"><td class="num" id="LN5931">5931</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5932"><td class="num" id="LN5932">5932</td><td class="line"> FrWindow *window = current_window;</td></tr>
+<tr class="codeline" data-linenumber="5933"><td class="num" id="LN5933">5933</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5934"><td class="num" id="LN5934">5934</td><td class="line"> <span class='keyword'>if</span> (current_window-&gt;priv-&gt;archive_present)</td></tr>
+<tr class="codeline" data-linenumber="5935"><td class="num" id="LN5935">5935</td><td class="line"> window = (FrWindow *) fr_window_new ();</td></tr>
+<tr class="codeline" data-linenumber="5936"><td class="num" id="LN5936">5936</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5937"><td class="num" id="LN5937">5937</td><td class="line"> <span class='macro'>g_return_val_if_fail (window != NULL, FALSE)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5938"><td class="num" id="LN5938">5938</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5939"><td class="num" id="LN5939">5939</td><td class="line"> fr_window_archive_close (window);</td></tr>
+<tr class="codeline" data-linenumber="5940"><td class="num" id="LN5940">5940</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5941"><td class="num" id="LN5941">5941</td><td class="line"> fr_window_set_archive_uri (window, uri);</td></tr>
+<tr class="codeline" data-linenumber="5942"><td class="num" id="LN5942">5942</td><td class="line"> window-&gt;priv-&gt;archive_present = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5943"><td class="num" id="LN5943">5943</td><td class="line"> window-&gt;priv-&gt;give_focus_to_the_list = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5944"><td class="num" id="LN5944">5944</td><td class="line"> window-&gt;priv-&gt;load_error_parent_window = parent;</td></tr>
+<tr class="codeline" data-linenumber="5945"><td class="num" id="LN5945">5945</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5946"><td class="num" id="LN5946">5946</td><td class="line"> fr_window_set_current_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="5947"><td class="num" id="LN5947">5947</td><td class="line"> FR_BATCH_ACTION_LOAD,</td></tr>
+<tr class="codeline" data-linenumber="5948"><td class="num" id="LN5948">5948</td><td class="line"> <span class='macro'>g_strdup (window-&gt;priv-&gt;archive_uri)<span class='macro_popup'>g_strdup_inline (window-&gt;priv-&gt;archive_uri)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5949"><td class="num" id="LN5949">5949</td><td class="line"> (GFreeFunc) g_free);</td></tr>
+<tr class="codeline" data-linenumber="5950"><td class="num" id="LN5950">5950</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5951"><td class="num" id="LN5951">5951</td><td class="line"> fr_archive_load (window-&gt;archive, window-&gt;priv-&gt;archive_uri, window-&gt;priv-&gt;password);</td></tr>
+<tr class="codeline" data-linenumber="5952"><td class="num" id="LN5952">5952</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5953"><td class="num" id="LN5953">5953</td><td class="line"> <span class='keyword'>return</span> window;</td></tr>
+<tr class="codeline" data-linenumber="5954"><td class="num" id="LN5954">5954</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5955"><td class="num" id="LN5955">5955</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5956"><td class="num" id="LN5956">5956</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5957"><td class="num" id="LN5957">5957</td><td class="line">fr_window_archive_close (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5958"><td class="num" id="LN5958">5958</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5959"><td class="num" id="LN5959">5959</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5960"><td class="num" id="LN5960">5960</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5961"><td class="num" id="LN5961">5961</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;archive_new &amp;&amp; ! window-&gt;priv-&gt;archive_present)</td></tr>
+<tr class="codeline" data-linenumber="5962"><td class="num" id="LN5962">5962</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="5963"><td class="num" id="LN5963">5963</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5964"><td class="num" id="LN5964">5964</td><td class="line"> fr_window_free_open_files (window);</td></tr>
+<tr class="codeline" data-linenumber="5965"><td class="num" id="LN5965">5965</td><td class="line"> fr_clipboard_data_unref (window-&gt;priv-&gt;copy_data);</td></tr>
+<tr class="codeline" data-linenumber="5966"><td class="num" id="LN5966">5966</td><td class="line"> window-&gt;priv-&gt;copy_data = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5967"><td class="num" id="LN5967">5967</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5968"><td class="num" id="LN5968">5968</td><td class="line"> fr_window_set_password (window, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5969"><td class="num" id="LN5969">5969</td><td class="line"> fr_window_set_volume_size(window, 0);</td></tr>
+<tr class="codeline" data-linenumber="5970"><td class="num" id="LN5970">5970</td><td class="line"> fr_window_history_clear (window);</td></tr>
+<tr class="codeline" data-linenumber="5971"><td class="num" id="LN5971">5971</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5972"><td class="num" id="LN5972">5972</td><td class="line"> window-&gt;priv-&gt;archive_new = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5973"><td class="num" id="LN5973">5973</td><td class="line"> window-&gt;priv-&gt;archive_present = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5974"><td class="num" id="LN5974">5974</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5975"><td class="num" id="LN5975">5975</td><td class="line"> fr_window_update_title (window);</td></tr>
+<tr class="codeline" data-linenumber="5976"><td class="num" id="LN5976">5976</td><td class="line"> fr_window_update_sensitivity (window);</td></tr>
+<tr class="codeline" data-linenumber="5977"><td class="num" id="LN5977">5977</td><td class="line"> fr_window_update_file_list (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5978"><td class="num" id="LN5978">5978</td><td class="line"> fr_window_update_dir_tree (window);</td></tr>
+<tr class="codeline" data-linenumber="5979"><td class="num" id="LN5979">5979</td><td class="line"> fr_window_update_current_location (window);</td></tr>
+<tr class="codeline" data-linenumber="5980"><td class="num" id="LN5980">5980</td><td class="line"> fr_window_update_statusbar_list_info (window);</td></tr>
+<tr class="codeline" data-linenumber="5981"><td class="num" id="LN5981">5981</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5982"><td class="num" id="LN5982">5982</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5983"><td class="num" id="LN5983">5983</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="5984"><td class="num" id="LN5984">5984</td><td class="line">fr_window_get_archive_uri (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5985"><td class="num" id="LN5985">5985</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5986"><td class="num" id="LN5986">5986</td><td class="line"> <span class='macro'>g_return_val_if_fail (window != NULL, NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5987"><td class="num" id="LN5987">5987</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5988"><td class="num" id="LN5988">5988</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;archive_uri;</td></tr>
+<tr class="codeline" data-linenumber="5989"><td class="num" id="LN5989">5989</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5990"><td class="num" id="LN5990">5990</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5991"><td class="num" id="LN5991">5991</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="5992"><td class="num" id="LN5992">5992</td><td class="line">fr_window_get_paste_archive_uri (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5993"><td class="num" id="LN5993">5993</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5994"><td class="num" id="LN5994">5994</td><td class="line"> <span class='macro'>g_return_val_if_fail (window != NULL, NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5995"><td class="num" id="LN5995">5995</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5996"><td class="num" id="LN5996">5996</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;clipboard_data != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="5997"><td class="num" id="LN5997">5997</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;clipboard_data-&gt;archive_filename;</td></tr>
+<tr class="codeline" data-linenumber="5998"><td class="num" id="LN5998">5998</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="5999"><td class="num" id="LN5999">5999</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6000"><td class="num" id="LN6000">6000</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6001"><td class="num" id="LN6001">6001</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6002"><td class="num" id="LN6002">6002</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="6003"><td class="num" id="LN6003">6003</td><td class="line">fr_window_archive_is_present (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="6004"><td class="num" id="LN6004">6004</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6005"><td class="num" id="LN6005">6005</td><td class="line"> <span class='macro'>g_return_val_if_fail (window != NULL, FALSE)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6006"><td class="num" id="LN6006">6006</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6007"><td class="num" id="LN6007">6007</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;archive_present;</td></tr>
+<tr class="codeline" data-linenumber="6008"><td class="num" id="LN6008">6008</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6009"><td class="num" id="LN6009">6009</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6010"><td class="num" id="LN6010">6010</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span> {</td></tr>
+<tr class="codeline" data-linenumber="6011"><td class="num" id="LN6011">6011</td><td class="line"> <span class='keyword'>char</span> *uri;</td></tr>
+<tr class="codeline" data-linenumber="6012"><td class="num" id="LN6012">6012</td><td class="line"> <span class='keyword'>char</span> *password;</td></tr>
+<tr class="codeline" data-linenumber="6013"><td class="num" id="LN6013">6013</td><td class="line"> gboolean encrypt_header;</td></tr>
+<tr class="codeline" data-linenumber="6014"><td class="num" id="LN6014">6014</td><td class="line"> guint volume_size;</td></tr>
+<tr class="codeline" data-linenumber="6015"><td class="num" id="LN6015">6015</td><td class="line">} SaveAsData;</td></tr>
+<tr class="codeline" data-linenumber="6016"><td class="num" id="LN6016">6016</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6017"><td class="num" id="LN6017">6017</td><td class="line"><span class='keyword'>static</span> SaveAsData *</td></tr>
+<tr class="codeline" data-linenumber="6018"><td class="num" id="LN6018">6018</td><td class="line">save_as_data_new (<span class='keyword'>const</span> <span class='keyword'>char</span> *uri,</td></tr>
+<tr class="codeline" data-linenumber="6019"><td class="num" id="LN6019">6019</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *password,</td></tr>
+<tr class="codeline" data-linenumber="6020"><td class="num" id="LN6020">6020</td><td class="line"> gboolean encrypt_header,</td></tr>
+<tr class="codeline" data-linenumber="6021"><td class="num" id="LN6021">6021</td><td class="line"> guint volume_size)</td></tr>
+<tr class="codeline" data-linenumber="6022"><td class="num" id="LN6022">6022</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6023"><td class="num" id="LN6023">6023</td><td class="line"> SaveAsData *sdata;</td></tr>
+<tr class="codeline" data-linenumber="6024"><td class="num" id="LN6024">6024</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6025"><td class="num" id="LN6025">6025</td><td class="line"> sdata = <span class='macro'>g_new0 (SaveAsData, 1)<span class='macro_popup'>((SaveAsData *) g_malloc0_n ((1), sizeof (SaveAsData)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6026"><td class="num" id="LN6026">6026</td><td class="line"> <span class='keyword'>if</span> (uri != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="6027"><td class="num" id="LN6027">6027</td><td class="line"> sdata-&gt;uri = <span class='macro'>g_strdup (uri)<span class='macro_popup'>g_strdup_inline (uri)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6028"><td class="num" id="LN6028">6028</td><td class="line"> <span class='keyword'>if</span> (password != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="6029"><td class="num" id="LN6029">6029</td><td class="line"> sdata-&gt;password = <span class='macro'>g_strdup (password)<span class='macro_popup'>g_strdup_inline (password)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6030"><td class="num" id="LN6030">6030</td><td class="line"> sdata-&gt;encrypt_header = encrypt_header;</td></tr>
+<tr class="codeline" data-linenumber="6031"><td class="num" id="LN6031">6031</td><td class="line"> sdata-&gt;volume_size = volume_size;</td></tr>
+<tr class="codeline" data-linenumber="6032"><td class="num" id="LN6032">6032</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6033"><td class="num" id="LN6033">6033</td><td class="line"> <span class='keyword'>return</span> sdata;</td></tr>
+<tr class="codeline" data-linenumber="6034"><td class="num" id="LN6034">6034</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6035"><td class="num" id="LN6035">6035</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6036"><td class="num" id="LN6036">6036</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6037"><td class="num" id="LN6037">6037</td><td class="line">save_as_data_free (SaveAsData *sdata)</td></tr>
+<tr class="codeline" data-linenumber="6038"><td class="num" id="LN6038">6038</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6039"><td class="num" id="LN6039">6039</td><td class="line"> <span class='keyword'>if</span> (sdata == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="6040"><td class="num" id="LN6040">6040</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6041"><td class="num" id="LN6041">6041</td><td class="line"> g_free (sdata-&gt;uri);</td></tr>
+<tr class="codeline" data-linenumber="6042"><td class="num" id="LN6042">6042</td><td class="line"> g_free (sdata-&gt;password);</td></tr>
+<tr class="codeline" data-linenumber="6043"><td class="num" id="LN6043">6043</td><td class="line"> g_free (sdata);</td></tr>
+<tr class="codeline" data-linenumber="6044"><td class="num" id="LN6044">6044</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6045"><td class="num" id="LN6045">6045</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6046"><td class="num" id="LN6046">6046</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6047"><td class="num" id="LN6047">6047</td><td class="line">fr_window_archive_save_as (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6048"><td class="num" id="LN6048">6048</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *uri,</td></tr>
+<tr class="codeline" data-linenumber="6049"><td class="num" id="LN6049">6049</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *password,</td></tr>
+<tr class="codeline" data-linenumber="6050"><td class="num" id="LN6050">6050</td><td class="line"> gboolean encrypt_header,</td></tr>
+<tr class="codeline" data-linenumber="6051"><td class="num" id="LN6051">6051</td><td class="line"> guint volume_size)</td></tr>
+<tr class="codeline" data-linenumber="6052"><td class="num" id="LN6052">6052</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6053"><td class="num" id="LN6053">6053</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6054"><td class="num" id="LN6054">6054</td><td class="line"> <span class='macro'>g_return_if_fail (uri != NULL)<span class='macro_popup'>do { if ((uri != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "uri != NULL"); return<br>; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6055"><td class="num" id="LN6055">6055</td><td class="line"> <span class='macro'>g_return_if_fail (window-&gt;archive != NULL)<span class='macro_popup'>do { if ((window-&gt;archive != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window-&gt;archive != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6056"><td class="num" id="LN6056">6056</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6057"><td class="num" id="LN6057">6057</td><td class="line"> fr_window_convert_data_free (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6058"><td class="num" id="LN6058">6058</td><td class="line"> window-&gt;priv-&gt;convert_data.new_file = <span class='macro'>g_strdup (uri)<span class='macro_popup'>g_strdup_inline (uri)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6059"><td class="num" id="LN6059">6059</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6060"><td class="num" id="LN6060">6060</td><td class="line"> <span class='comment'>/* create the new archive */</span></td></tr>
+<tr class="codeline" data-linenumber="6061"><td class="num" id="LN6061">6061</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6062"><td class="num" id="LN6062">6062</td><td class="line"> window-&gt;priv-&gt;convert_data.new_archive = fr_archive_new ();</td></tr>
+<tr class="codeline" data-linenumber="6063"><td class="num" id="LN6063">6063</td><td class="line"> <span class='keyword'>if</span> (! fr_archive_create (window-&gt;priv-&gt;convert_data.new_archive, uri)) {</td></tr>
+<tr class="codeline" data-linenumber="6064"><td class="num" id="LN6064">6064</td><td class="line"> GtkWidget *d;</td></tr>
+<tr class="codeline" data-linenumber="6065"><td class="num" id="LN6065">6065</td><td class="line"> <span class='keyword'>char</span> *utf8_name;</td></tr>
+<tr class="codeline" data-linenumber="6066"><td class="num" id="LN6066">6066</td><td class="line"> <span class='keyword'>char</span> *message;</td></tr>
+<tr class="codeline" data-linenumber="6067"><td class="num" id="LN6067">6067</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6068"><td class="num" id="LN6068">6068</td><td class="line"> utf8_name = g_uri_display_basename (uri);</td></tr>
+<tr class="codeline" data-linenumber="6069"><td class="num" id="LN6069">6069</td><td class="line"> message = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Could not save the archive \"%s\""</span>)<span class='macro_popup'>gettext ("Could not save the archive \"%s\"")</span></span>, utf8_name);</td></tr>
+<tr class="codeline" data-linenumber="6070"><td class="num" id="LN6070">6070</td><td class="line"> g_free (utf8_name);</td></tr>
+<tr class="codeline" data-linenumber="6071"><td class="num" id="LN6071">6071</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6072"><td class="num" id="LN6072">6072</td><td class="line"> d = _gtk_error_dialog_new (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6073"><td class="num" id="LN6073">6073</td><td class="line"> GTK_DIALOG_DESTROY_WITH_PARENT,</td></tr>
+<tr class="codeline" data-linenumber="6074"><td class="num" id="LN6074">6074</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6075"><td class="num" id="LN6075">6075</td><td class="line"> message,</td></tr>
+<tr class="codeline" data-linenumber="6076"><td class="num" id="LN6076">6076</td><td class="line"> <span class='string_literal'>"%s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="6077"><td class="num" id="LN6077">6077</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Archive type not supported."</span>)<span class='macro_popup'>gettext ("Archive type not supported.")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6078"><td class="num" id="LN6078">6078</td><td class="line"> gtk_dialog_run (<span class='macro'>GTK_DIALOG (d)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_dialog_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6079"><td class="num" id="LN6079">6079</td><td class="line"> gtk_widget_destroy (d);</td></tr>
+<tr class="codeline" data-linenumber="6080"><td class="num" id="LN6080">6080</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6081"><td class="num" id="LN6081">6081</td><td class="line"> g_free (message);</td></tr>
+<tr class="codeline" data-linenumber="6082"><td class="num" id="LN6082">6082</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6083"><td class="num" id="LN6083">6083</td><td class="line"> g_object_unref (window-&gt;priv-&gt;convert_data.new_archive);</td></tr>
+<tr class="codeline" data-linenumber="6084"><td class="num" id="LN6084">6084</td><td class="line"> window-&gt;priv-&gt;convert_data.new_archive = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6085"><td class="num" id="LN6085">6085</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6086"><td class="num" id="LN6086">6086</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6087"><td class="num" id="LN6087">6087</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6088"><td class="num" id="LN6088">6088</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6089"><td class="num" id="LN6089">6089</td><td class="line"> <span class='macro'>g_return_if_fail (window-&gt;priv-&gt;convert_data.new_archive-&gt;command != NULL)<span class='macro_popup'>do { if ((window-&gt;priv-&gt;convert_data.new_archive-&gt;command<br> != ((void*)0))) { } else { g_return_if_fail_warning (((gchar<br>*) 0), ((const char*) (__func__)), "window-&gt;priv-&gt;convert_data.new_archive-&gt;command != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6090"><td class="num" id="LN6090">6090</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6091"><td class="num" id="LN6091">6091</td><td class="line"> <span class='keyword'>if</span> (password != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="6092"><td class="num" id="LN6092">6092</td><td class="line"> window-&gt;priv-&gt;convert_data.password = <span class='macro'>g_strdup (password)<span class='macro_popup'>g_strdup_inline (password)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6093"><td class="num" id="LN6093">6093</td><td class="line"> window-&gt;priv-&gt;convert_data.encrypt_header = encrypt_header;</td></tr>
+<tr class="codeline" data-linenumber="6094"><td class="num" id="LN6094">6094</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6095"><td class="num" id="LN6095">6095</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="6096"><td class="num" id="LN6096">6096</td><td class="line"> window-&gt;priv-&gt;convert_data.encrypt_header = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6097"><td class="num" id="LN6097">6097</td><td class="line"> window-&gt;priv-&gt;convert_data.volume_size = volume_size;</td></tr>
+<tr class="codeline" data-linenumber="6098"><td class="num" id="LN6098">6098</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6099"><td class="num" id="LN6099">6099</td><td class="line"> fr_window_set_current_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="6100"><td class="num" id="LN6100">6100</td><td class="line"> FR_BATCH_ACTION_SAVE_AS,</td></tr>
+<tr class="codeline" data-linenumber="6101"><td class="num" id="LN6101">6101</td><td class="line"> save_as_data_new (uri, password, encrypt_header, volume_size),</td></tr>
+<tr class="codeline" data-linenumber="6102"><td class="num" id="LN6102">6102</td><td class="line"> (GFreeFunc) save_as_data_free);</td></tr>
+<tr class="codeline" data-linenumber="6103"><td class="num" id="LN6103">6103</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6104"><td class="num" id="LN6104">6104</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;convert_data.new_archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("start"), (((GCallback<br>) (action_started))), (window), ((void*)0), (GConnectFlags) 0<br>)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6105"><td class="num" id="LN6105">6105</td><td class="line"> <span class='string_literal'><span class='macro'>"start"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("start"), (((GCallback<br>) (action_started))), (window), ((void*)0), (GConnectFlags) 0<br>)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6106"><td class="num" id="LN6106">6106</td><td class="line"> <span class='macro'>G_CALLBACK (action_started),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("start"), (((GCallback<br>) (action_started))), (window), ((void*)0), (GConnectFlags) 0<br>)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6107"><td class="num" id="LN6107">6107</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("start"), (((GCallback<br>) (action_started))), (window), ((void*)0), (GConnectFlags) 0<br>)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6108"><td class="num" id="LN6108">6108</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;convert_data.new_archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("done"), (((GCallback<br>) (convert__action_performed))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6109"><td class="num" id="LN6109">6109</td><td class="line"> <span class='string_literal'><span class='macro'>"done"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("done"), (((GCallback<br>) (convert__action_performed))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6110"><td class="num" id="LN6110">6110</td><td class="line"> <span class='macro'>G_CALLBACK (convert__action_performed),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("done"), (((GCallback<br>) (convert__action_performed))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6111"><td class="num" id="LN6111">6111</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("done"), (((GCallback<br>) (convert__action_performed))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6112"><td class="num" id="LN6112">6112</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;convert_data.new_archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("progress"), (((GCallback<br>) (fr_window_progress_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6113"><td class="num" id="LN6113">6113</td><td class="line"> <span class='string_literal'><span class='macro'>"progress"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("progress"), (((GCallback<br>) (fr_window_progress_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6114"><td class="num" id="LN6114">6114</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_progress_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("progress"), (((GCallback<br>) (fr_window_progress_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6115"><td class="num" id="LN6115">6115</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("progress"), (((GCallback<br>) (fr_window_progress_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6116"><td class="num" id="LN6116">6116</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;convert_data.new_archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("message"), (((GCallback<br>) (fr_window_message_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6117"><td class="num" id="LN6117">6117</td><td class="line"> <span class='string_literal'><span class='macro'>"message"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("message"), (((GCallback<br>) (fr_window_message_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6118"><td class="num" id="LN6118">6118</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_message_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("message"), (((GCallback<br>) (fr_window_message_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6119"><td class="num" id="LN6119">6119</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("message"), (((GCallback<br>) (fr_window_message_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6120"><td class="num" id="LN6120">6120</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;convert_data.new_archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("stoppable"), (((GCallback<br>) (fr_window_stoppable_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6121"><td class="num" id="LN6121">6121</td><td class="line"> <span class='string_literal'><span class='macro'>"stoppable"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("stoppable"), (((GCallback<br>) (fr_window_stoppable_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6122"><td class="num" id="LN6122">6122</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_stoppable_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("stoppable"), (((GCallback<br>) (fr_window_stoppable_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6123"><td class="num" id="LN6123">6123</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;convert_data.new_archive<br>)), (((GType) ((20) &lt;&lt; (2))))))))), ("stoppable"), (((GCallback<br>) (fr_window_stoppable_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6124"><td class="num" id="LN6124">6124</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6125"><td class="num" id="LN6125">6125</td><td class="line"> window-&gt;priv-&gt;convert_data.converting = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6126"><td class="num" id="LN6126">6126</td><td class="line"> window-&gt;priv-&gt;convert_data.temp_dir = get_temp_work_dir (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6127"><td class="num" id="LN6127">6127</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6128"><td class="num" id="LN6128">6128</td><td class="line"> fr_process_clear (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="6129"><td class="num" id="LN6129">6129</td><td class="line"> fr_archive_extract_to_local (window-&gt;archive,</td></tr>
+<tr class="codeline" data-linenumber="6130"><td class="num" id="LN6130">6130</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6131"><td class="num" id="LN6131">6131</td><td class="line"> window-&gt;priv-&gt;convert_data.temp_dir,</td></tr>
+<tr class="codeline" data-linenumber="6132"><td class="num" id="LN6132">6132</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6133"><td class="num" id="LN6133">6133</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6134"><td class="num" id="LN6134">6134</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6135"><td class="num" id="LN6135">6135</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6136"><td class="num" id="LN6136">6136</td><td class="line"> window-&gt;priv-&gt;password);</td></tr>
+<tr class="codeline" data-linenumber="6137"><td class="num" id="LN6137">6137</td><td class="line"> fr_process_start (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="6138"><td class="num" id="LN6138">6138</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6139"><td class="num" id="LN6139">6139</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6140"><td class="num" id="LN6140">6140</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6141"><td class="num" id="LN6141">6141</td><td class="line">fr_window_archive_reload (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="6142"><td class="num" id="LN6142">6142</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6143"><td class="num" id="LN6143">6143</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6144"><td class="num" id="LN6144">6144</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6145"><td class="num" id="LN6145">6145</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;activity_ref &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="6146"><td class="num" id="LN6146">6146</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6147"><td class="num" id="LN6147">6147</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;archive_new)</td></tr>
+<tr class="codeline" data-linenumber="6148"><td class="num" id="LN6148">6148</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6149"><td class="num" id="LN6149">6149</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6150"><td class="num" id="LN6150">6150</td><td class="line"> fr_archive_reload (window-&gt;archive, window-&gt;priv-&gt;password);</td></tr>
+<tr class="codeline" data-linenumber="6151"><td class="num" id="LN6151">6151</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6152"><td class="num" id="LN6152">6152</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6153"><td class="num" id="LN6153">6153</td><td class="line"><span class='comment'>/**/</span></td></tr>
+<tr class="codeline" data-linenumber="6154"><td class="num" id="LN6154">6154</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6155"><td class="num" id="LN6155">6155</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6156"><td class="num" id="LN6156">6156</td><td class="line">fr_window_archive_add_files (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6157"><td class="num" id="LN6157">6157</td><td class="line"> GList *file_list, <span class='comment'>/* GFile list */</span></td></tr>
+<tr class="codeline" data-linenumber="6158"><td class="num" id="LN6158">6158</td><td class="line"> gboolean update)</td></tr>
+<tr class="codeline" data-linenumber="6159"><td class="num" id="LN6159">6159</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6160"><td class="num" id="LN6160">6160</td><td class="line"> GFile *base;</td></tr>
+<tr class="codeline" data-linenumber="6161"><td class="num" id="LN6161">6161</td><td class="line"> <span class='keyword'>char</span> *base_dir;</td></tr>
+<tr class="codeline" data-linenumber="6162"><td class="num" id="LN6162">6162</td><td class="line"> <span class='keyword'>int</span> base_len;</td></tr>
+<tr class="codeline" data-linenumber="6163"><td class="num" id="LN6163">6163</td><td class="line"> GList *files = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6164"><td class="num" id="LN6164">6164</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="6165"><td class="num" id="LN6165">6165</td><td class="line"> <span class='keyword'>char</span> *base_uri;</td></tr>
+<tr class="codeline" data-linenumber="6166"><td class="num" id="LN6166">6166</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6167"><td class="num" id="LN6167">6167</td><td class="line"> base = g_file_get_parent ((GFile *) file_list-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="6168"><td class="num" id="LN6168">6168</td><td class="line"> base_dir = g_file_get_path (base);</td></tr>
+<tr class="codeline" data-linenumber="6169"><td class="num" id="LN6169">6169</td><td class="line"> base_len = 0;</td></tr>
+<tr class="codeline" data-linenumber="6170"><td class="num" id="LN6170">6170</td><td class="line"> <span class='keyword'>if</span> (strcmp (base_dir, <span class='string_literal'>"/"</span>) != 0)</td></tr>
+<tr class="codeline" data-linenumber="6171"><td class="num" id="LN6171">6171</td><td class="line"> base_len = strlen (base_dir);</td></tr>
+<tr class="codeline" data-linenumber="6172"><td class="num" id="LN6172">6172</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6173"><td class="num" id="LN6173">6173</td><td class="line"> <span class='keyword'>for</span> (scan = file_list; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="6174"><td class="num" id="LN6174">6174</td><td class="line"> GFile *file = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="6175"><td class="num" id="LN6175">6175</td><td class="line"> <span class='keyword'>char</span> *path;</td></tr>
+<tr class="codeline" data-linenumber="6176"><td class="num" id="LN6176">6176</td><td class="line"> <span class='keyword'>char</span> *rel_path;</td></tr>
+<tr class="codeline" data-linenumber="6177"><td class="num" id="LN6177">6177</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6178"><td class="num" id="LN6178">6178</td><td class="line"> path = g_file_get_path (file);</td></tr>
+<tr class="codeline" data-linenumber="6179"><td class="num" id="LN6179">6179</td><td class="line"> rel_path = <span class='macro'>g_strdup (path + base_len + 1)<span class='macro_popup'>g_strdup_inline (path + base_len + 1)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6180"><td class="num" id="LN6180">6180</td><td class="line"> files = g_list_prepend (files, rel_path);</td></tr>
+<tr class="codeline" data-linenumber="6181"><td class="num" id="LN6181">6181</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6182"><td class="num" id="LN6182">6182</td><td class="line"> g_free (path);</td></tr>
+<tr class="codeline" data-linenumber="6183"><td class="num" id="LN6183">6183</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6184"><td class="num" id="LN6184">6184</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6185"><td class="num" id="LN6185">6185</td><td class="line"> base_uri = g_file_get_uri (base);</td></tr>
+<tr class="codeline" data-linenumber="6186"><td class="num" id="LN6186">6186</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6187"><td class="num" id="LN6187">6187</td><td class="line"> fr_archive_add_files (window-&gt;archive,</td></tr>
+<tr class="codeline" data-linenumber="6188"><td class="num" id="LN6188">6188</td><td class="line"> files,</td></tr>
+<tr class="codeline" data-linenumber="6189"><td class="num" id="LN6189">6189</td><td class="line"> base_uri,</td></tr>
+<tr class="codeline" data-linenumber="6190"><td class="num" id="LN6190">6190</td><td class="line"> fr_window_get_current_location (window),</td></tr>
+<tr class="codeline" data-linenumber="6191"><td class="num" id="LN6191">6191</td><td class="line"> update,</td></tr>
+<tr class="codeline" data-linenumber="6192"><td class="num" id="LN6192">6192</td><td class="line"> window-&gt;priv-&gt;password,</td></tr>
+<tr class="codeline" data-linenumber="6193"><td class="num" id="LN6193">6193</td><td class="line"> window-&gt;priv-&gt;encrypt_header,</td></tr>
+<tr class="codeline" data-linenumber="6194"><td class="num" id="LN6194">6194</td><td class="line"> window-&gt;priv-&gt;compression,</td></tr>
+<tr class="codeline" data-linenumber="6195"><td class="num" id="LN6195">6195</td><td class="line"> window-&gt;priv-&gt;volume_size);</td></tr>
+<tr class="codeline" data-linenumber="6196"><td class="num" id="LN6196">6196</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6197"><td class="num" id="LN6197">6197</td><td class="line"> g_free (base_uri);</td></tr>
+<tr class="codeline" data-linenumber="6198"><td class="num" id="LN6198">6198</td><td class="line"> path_list_free (files);</td></tr>
+<tr class="codeline" data-linenumber="6199"><td class="num" id="LN6199">6199</td><td class="line"> g_free (base_dir);</td></tr>
+<tr class="codeline" data-linenumber="6200"><td class="num" id="LN6200">6200</td><td class="line"> g_object_unref (base);</td></tr>
+<tr class="codeline" data-linenumber="6201"><td class="num" id="LN6201">6201</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6202"><td class="num" id="LN6202">6202</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6203"><td class="num" id="LN6203">6203</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6204"><td class="num" id="LN6204">6204</td><td class="line">fr_window_archive_add_with_wildcard (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6205"><td class="num" id="LN6205">6205</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *include_files,</td></tr>
+<tr class="codeline" data-linenumber="6206"><td class="num" id="LN6206">6206</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *exclude_files,</td></tr>
+<tr class="codeline" data-linenumber="6207"><td class="num" id="LN6207">6207</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *exclude_folders,</td></tr>
+<tr class="codeline" data-linenumber="6208"><td class="num" id="LN6208">6208</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *base_dir,</td></tr>
+<tr class="codeline" data-linenumber="6209"><td class="num" id="LN6209">6209</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *dest_dir,</td></tr>
+<tr class="codeline" data-linenumber="6210"><td class="num" id="LN6210">6210</td><td class="line"> gboolean update,</td></tr>
+<tr class="codeline" data-linenumber="6211"><td class="num" id="LN6211">6211</td><td class="line"> gboolean follow_links)</td></tr>
+<tr class="codeline" data-linenumber="6212"><td class="num" id="LN6212">6212</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6213"><td class="num" id="LN6213">6213</td><td class="line"> fr_archive_add_with_wildcard (window-&gt;archive,</td></tr>
+<tr class="codeline" data-linenumber="6214"><td class="num" id="LN6214">6214</td><td class="line"> include_files,</td></tr>
+<tr class="codeline" data-linenumber="6215"><td class="num" id="LN6215">6215</td><td class="line"> exclude_files,</td></tr>
+<tr class="codeline" data-linenumber="6216"><td class="num" id="LN6216">6216</td><td class="line"> exclude_folders,</td></tr>
+<tr class="codeline" data-linenumber="6217"><td class="num" id="LN6217">6217</td><td class="line"> base_dir,</td></tr>
+<tr class="codeline" data-linenumber="6218"><td class="num" id="LN6218">6218</td><td class="line"> (dest_dir == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)? fr_window_get_current_location (window): dest_dir,</td></tr>
+<tr class="codeline" data-linenumber="6219"><td class="num" id="LN6219">6219</td><td class="line"> update,</td></tr>
+<tr class="codeline" data-linenumber="6220"><td class="num" id="LN6220">6220</td><td class="line"> follow_links,</td></tr>
+<tr class="codeline" data-linenumber="6221"><td class="num" id="LN6221">6221</td><td class="line"> window-&gt;priv-&gt;password,</td></tr>
+<tr class="codeline" data-linenumber="6222"><td class="num" id="LN6222">6222</td><td class="line"> window-&gt;priv-&gt;encrypt_header,</td></tr>
+<tr class="codeline" data-linenumber="6223"><td class="num" id="LN6223">6223</td><td class="line"> window-&gt;priv-&gt;compression,</td></tr>
+<tr class="codeline" data-linenumber="6224"><td class="num" id="LN6224">6224</td><td class="line"> window-&gt;priv-&gt;volume_size);</td></tr>
+<tr class="codeline" data-linenumber="6225"><td class="num" id="LN6225">6225</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6226"><td class="num" id="LN6226">6226</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6227"><td class="num" id="LN6227">6227</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6228"><td class="num" id="LN6228">6228</td><td class="line">fr_window_archive_add_directory (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6229"><td class="num" id="LN6229">6229</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *directory,</td></tr>
+<tr class="codeline" data-linenumber="6230"><td class="num" id="LN6230">6230</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *base_dir,</td></tr>
+<tr class="codeline" data-linenumber="6231"><td class="num" id="LN6231">6231</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *dest_dir,</td></tr>
+<tr class="codeline" data-linenumber="6232"><td class="num" id="LN6232">6232</td><td class="line"> gboolean update)</td></tr>
+<tr class="codeline" data-linenumber="6233"><td class="num" id="LN6233">6233</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6234"><td class="num" id="LN6234">6234</td><td class="line"> fr_archive_add_directory (window-&gt;archive,</td></tr>
+<tr class="codeline" data-linenumber="6235"><td class="num" id="LN6235">6235</td><td class="line"> directory,</td></tr>
+<tr class="codeline" data-linenumber="6236"><td class="num" id="LN6236">6236</td><td class="line"> base_dir,</td></tr>
+<tr class="codeline" data-linenumber="6237"><td class="num" id="LN6237">6237</td><td class="line"> (dest_dir == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)? fr_window_get_current_location (window): dest_dir,</td></tr>
+<tr class="codeline" data-linenumber="6238"><td class="num" id="LN6238">6238</td><td class="line"> update,</td></tr>
+<tr class="codeline" data-linenumber="6239"><td class="num" id="LN6239">6239</td><td class="line"> window-&gt;priv-&gt;password,</td></tr>
+<tr class="codeline" data-linenumber="6240"><td class="num" id="LN6240">6240</td><td class="line"> window-&gt;priv-&gt;encrypt_header,</td></tr>
+<tr class="codeline" data-linenumber="6241"><td class="num" id="LN6241">6241</td><td class="line"> window-&gt;priv-&gt;compression,</td></tr>
+<tr class="codeline" data-linenumber="6242"><td class="num" id="LN6242">6242</td><td class="line"> window-&gt;priv-&gt;volume_size);</td></tr>
+<tr class="codeline" data-linenumber="6243"><td class="num" id="LN6243">6243</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6244"><td class="num" id="LN6244">6244</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6245"><td class="num" id="LN6245">6245</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6246"><td class="num" id="LN6246">6246</td><td class="line">fr_window_archive_add_items (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6247"><td class="num" id="LN6247">6247</td><td class="line"> GList *item_list,</td></tr>
+<tr class="codeline" data-linenumber="6248"><td class="num" id="LN6248">6248</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *base_dir,</td></tr>
+<tr class="codeline" data-linenumber="6249"><td class="num" id="LN6249">6249</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *dest_dir,</td></tr>
+<tr class="codeline" data-linenumber="6250"><td class="num" id="LN6250">6250</td><td class="line"> gboolean update)</td></tr>
+<tr class="codeline" data-linenumber="6251"><td class="num" id="LN6251">6251</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6252"><td class="num" id="LN6252">6252</td><td class="line"> fr_archive_add_items (window-&gt;archive,</td></tr>
+<tr class="codeline" data-linenumber="6253"><td class="num" id="LN6253">6253</td><td class="line"> item_list,</td></tr>
+<tr class="codeline" data-linenumber="6254"><td class="num" id="LN6254">6254</td><td class="line"> base_dir,</td></tr>
+<tr class="codeline" data-linenumber="6255"><td class="num" id="LN6255">6255</td><td class="line"> (dest_dir == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)? fr_window_get_current_location (window): dest_dir,</td></tr>
+<tr class="codeline" data-linenumber="6256"><td class="num" id="LN6256">6256</td><td class="line"> update,</td></tr>
+<tr class="codeline" data-linenumber="6257"><td class="num" id="LN6257">6257</td><td class="line"> window-&gt;priv-&gt;password,</td></tr>
+<tr class="codeline" data-linenumber="6258"><td class="num" id="LN6258">6258</td><td class="line"> window-&gt;priv-&gt;encrypt_header,</td></tr>
+<tr class="codeline" data-linenumber="6259"><td class="num" id="LN6259">6259</td><td class="line"> window-&gt;priv-&gt;compression,</td></tr>
+<tr class="codeline" data-linenumber="6260"><td class="num" id="LN6260">6260</td><td class="line"> window-&gt;priv-&gt;volume_size);</td></tr>
+<tr class="codeline" data-linenumber="6261"><td class="num" id="LN6261">6261</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6262"><td class="num" id="LN6262">6262</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6263"><td class="num" id="LN6263">6263</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6264"><td class="num" id="LN6264">6264</td><td class="line">fr_window_archive_add_dropped_items (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6265"><td class="num" id="LN6265">6265</td><td class="line"> GList *item_list,</td></tr>
+<tr class="codeline" data-linenumber="6266"><td class="num" id="LN6266">6266</td><td class="line"> gboolean update)</td></tr>
+<tr class="codeline" data-linenumber="6267"><td class="num" id="LN6267">6267</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6268"><td class="num" id="LN6268">6268</td><td class="line"> fr_archive_add_dropped_items (window-&gt;archive,</td></tr>
+<tr class="codeline" data-linenumber="6269"><td class="num" id="LN6269">6269</td><td class="line"> item_list,</td></tr>
+<tr class="codeline" data-linenumber="6270"><td class="num" id="LN6270">6270</td><td class="line"> fr_window_get_current_location (window),</td></tr>
+<tr class="codeline" data-linenumber="6271"><td class="num" id="LN6271">6271</td><td class="line"> fr_window_get_current_location (window),</td></tr>
+<tr class="codeline" data-linenumber="6272"><td class="num" id="LN6272">6272</td><td class="line"> update,</td></tr>
+<tr class="codeline" data-linenumber="6273"><td class="num" id="LN6273">6273</td><td class="line"> window-&gt;priv-&gt;password,</td></tr>
+<tr class="codeline" data-linenumber="6274"><td class="num" id="LN6274">6274</td><td class="line"> window-&gt;priv-&gt;encrypt_header,</td></tr>
+<tr class="codeline" data-linenumber="6275"><td class="num" id="LN6275">6275</td><td class="line"> window-&gt;priv-&gt;compression,</td></tr>
+<tr class="codeline" data-linenumber="6276"><td class="num" id="LN6276">6276</td><td class="line"> window-&gt;priv-&gt;volume_size);</td></tr>
+<tr class="codeline" data-linenumber="6277"><td class="num" id="LN6277">6277</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6278"><td class="num" id="LN6278">6278</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6279"><td class="num" id="LN6279">6279</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6280"><td class="num" id="LN6280">6280</td><td class="line">remove_data_free (GList *rdata)</td></tr>
+<tr class="codeline" data-linenumber="6281"><td class="num" id="LN6281">6281</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6282"><td class="num" id="LN6282">6282</td><td class="line"> g_list_free_full(rdata, g_free);</td></tr>
+<tr class="codeline" data-linenumber="6283"><td class="num" id="LN6283">6283</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6284"><td class="num" id="LN6284">6284</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6285"><td class="num" id="LN6285">6285</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6286"><td class="num" id="LN6286">6286</td><td class="line">fr_window_archive_remove (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6287"><td class="num" id="LN6287">6287</td><td class="line"> GList *file_list)</td></tr>
+<tr class="codeline" data-linenumber="6288"><td class="num" id="LN6288">6288</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6289"><td class="num" id="LN6289">6289</td><td class="line"> <span class='keyword'>char</span> *password;</td></tr>
+<tr class="codeline" data-linenumber="6290"><td class="num" id="LN6290">6290</td><td class="line"> GList *remove_list;</td></tr>
+<tr class="codeline" data-linenumber="6291"><td class="num" id="LN6291">6291</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6292"><td class="num" id="LN6292">6292</td><td class="line"> fr_window_clipboard_remove_file_list (window, file_list);</td></tr>
+<tr class="codeline" data-linenumber="6293"><td class="num" id="LN6293">6293</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6294"><td class="num" id="LN6294">6294</td><td class="line"> fr_process_clear (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="6295"><td class="num" id="LN6295">6295</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6296"><td class="num" id="LN6296">6296</td><td class="line"> remove_list = g_list_copy_deep (file_list, (GCopyFunc) g_strdup, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6297"><td class="num" id="LN6297">6297</td><td class="line"> fr_window_set_current_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="6298"><td class="num" id="LN6298">6298</td><td class="line"> FR_BATCH_ACTION_DELETE,</td></tr>
+<tr class="codeline" data-linenumber="6299"><td class="num" id="LN6299">6299</td><td class="line"> remove_list,</td></tr>
+<tr class="codeline" data-linenumber="6300"><td class="num" id="LN6300">6300</td><td class="line"> (GFreeFunc) remove_data_free);</td></tr>
+<tr class="codeline" data-linenumber="6301"><td class="num" id="LN6301">6301</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6302"><td class="num" id="LN6302">6302</td><td class="line"> password = window-&gt;priv-&gt;password;</td></tr>
+<tr class="codeline" data-linenumber="6303"><td class="num" id="LN6303">6303</td><td class="line"> <span class='keyword'>if</span> (password != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; password[0] != '\0')</td></tr>
+<tr class="codeline" data-linenumber="6304"><td class="num" id="LN6304">6304</td><td class="line"> g_object_set (window-&gt;archive-&gt;command, <span class='string_literal'>"password"</span>, password, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6305"><td class="num" id="LN6305">6305</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6306"><td class="num" id="LN6306">6306</td><td class="line"> fr_archive_remove (window-&gt;archive, remove_list, window-&gt;priv-&gt;compression);</td></tr>
+<tr class="codeline" data-linenumber="6307"><td class="num" id="LN6307">6307</td><td class="line"> fr_process_start (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="6308"><td class="num" id="LN6308">6308</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6309"><td class="num" id="LN6309">6309</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6310"><td class="num" id="LN6310">6310</td><td class="line"><span class='comment'>/* -- window_archive_extract -- */</span></td></tr>
+<tr class="codeline" data-linenumber="6311"><td class="num" id="LN6311">6311</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6312"><td class="num" id="LN6312">6312</td><td class="line"><span class='keyword'>static</span> ExtractData*</td></tr>
+<tr class="codeline" data-linenumber="6313"><td class="num" id="LN6313">6313</td><td class="line">extract_data_new (GList *file_list,</td></tr>
+<tr class="codeline" data-linenumber="6314"><td class="num" id="LN6314">6314</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *extract_to_dir,</td></tr>
+<tr class="codeline" data-linenumber="6315"><td class="num" id="LN6315">6315</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *sub_dir,</td></tr>
+<tr class="codeline" data-linenumber="6316"><td class="num" id="LN6316">6316</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *base_dir,</td></tr>
+<tr class="codeline" data-linenumber="6317"><td class="num" id="LN6317">6317</td><td class="line"> gboolean skip_older,</td></tr>
+<tr class="codeline" data-linenumber="6318"><td class="num" id="LN6318">6318</td><td class="line"> FrOverwrite overwrite,</td></tr>
+<tr class="codeline" data-linenumber="6319"><td class="num" id="LN6319">6319</td><td class="line"> gboolean junk_paths,</td></tr>
+<tr class="codeline" data-linenumber="6320"><td class="num" id="LN6320">6320</td><td class="line"> gboolean extract_here,</td></tr>
+<tr class="codeline" data-linenumber="6321"><td class="num" id="LN6321">6321</td><td class="line"> gboolean ask_to_open_destination)</td></tr>
+<tr class="codeline" data-linenumber="6322"><td class="num" id="LN6322">6322</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6323"><td class="num" id="LN6323">6323</td><td class="line"> ExtractData *edata;</td></tr>
+<tr class="codeline" data-linenumber="6324"><td class="num" id="LN6324">6324</td><td class="line"> <span class='keyword'>int</span> i = 1;</td></tr>
+<tr class="codeline" data-linenumber="6325"><td class="num" id="LN6325">6325</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6326"><td class="num" id="LN6326">6326</td><td class="line"> edata = <span class='macro'>g_new0 (ExtractData, 1)<span class='macro_popup'>((ExtractData *) g_malloc0_n ((1), sizeof (ExtractData)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6327"><td class="num" id="LN6327">6327</td><td class="line"> edata-&gt;file_list = path_list_dup (file_list);</td></tr>
+<tr class="codeline" data-linenumber="6328"><td class="num" id="LN6328">6328</td><td class="line"> <span class='keyword'>if</span> (sub_dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="6329"><td class="num" id="LN6329">6329</td><td class="line"> edata-&gt;sub_dir = <span class='macro'>g_strdup (sub_dir)<span class='macro_popup'>g_strdup_inline (sub_dir)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6330"><td class="num" id="LN6330">6330</td><td class="line"> <span class='keyword'>if</span> (extract_to_dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; sub_dir == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="6331"><td class="num" id="LN6331">6331</td><td class="line"> edata-&gt;extract_to_dir = <span class='macro'>g_strdup (extract_to_dir)<span class='macro_popup'>g_strdup_inline (extract_to_dir)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6332"><td class="num" id="LN6332">6332</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> (extract_to_dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; sub_dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="6333"><td class="num" id="LN6333">6333</td><td class="line"> edata-&gt;extract_to_dir = g_build_filename (extract_to_dir, sub_dir, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6334"><td class="num" id="LN6334">6334</td><td class="line"> <span class='keyword'>while</span> (uri_exists (edata-&gt;extract_to_dir) &amp;&amp; uri_is_file (edata-&gt;extract_to_dir)) {</td></tr>
+<tr class="codeline" data-linenumber="6335"><td class="num" id="LN6335">6335</td><td class="line"> g_free (edata-&gt;extract_to_dir);</td></tr>
+<tr class="codeline" data-linenumber="6336"><td class="num" id="LN6336">6336</td><td class="line"> edata-&gt;extract_to_dir = g_strdup_printf (<span class='string_literal'>"%s/%s_%d"</span>, extract_to_dir, sub_dir, i++);</td></tr>
+<tr class="codeline" data-linenumber="6337"><td class="num" id="LN6337">6337</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6338"><td class="num" id="LN6338">6338</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6339"><td class="num" id="LN6339">6339</td><td class="line"> edata-&gt;skip_older = skip_older;</td></tr>
+<tr class="codeline" data-linenumber="6340"><td class="num" id="LN6340">6340</td><td class="line"> edata-&gt;overwrite = overwrite;</td></tr>
+<tr class="codeline" data-linenumber="6341"><td class="num" id="LN6341">6341</td><td class="line"> edata-&gt;junk_paths = junk_paths;</td></tr>
+<tr class="codeline" data-linenumber="6342"><td class="num" id="LN6342">6342</td><td class="line"> <span class='keyword'>if</span> (base_dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="6343"><td class="num" id="LN6343">6343</td><td class="line"> edata-&gt;base_dir = <span class='macro'>g_strdup (base_dir)<span class='macro_popup'>g_strdup_inline (base_dir)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6344"><td class="num" id="LN6344">6344</td><td class="line"> edata-&gt;extract_here = extract_here;</td></tr>
+<tr class="codeline" data-linenumber="6345"><td class="num" id="LN6345">6345</td><td class="line"> edata-&gt;ask_to_open_destination = ask_to_open_destination;</td></tr>
+<tr class="codeline" data-linenumber="6346"><td class="num" id="LN6346">6346</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6347"><td class="num" id="LN6347">6347</td><td class="line"> <span class='keyword'>return</span> edata;</td></tr>
+<tr class="codeline" data-linenumber="6348"><td class="num" id="LN6348">6348</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6349"><td class="num" id="LN6349">6349</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6350"><td class="num" id="LN6350">6350</td><td class="line"><span class='keyword'>static</span> ExtractData*</td></tr>
+<tr class="codeline" data-linenumber="6351"><td class="num" id="LN6351">6351</td><td class="line">extract_to_data_new (<span class='keyword'>const</span> <span class='keyword'>char</span> *extract_to_dir)</td></tr>
+<tr class="codeline" data-linenumber="6352"><td class="num" id="LN6352">6352</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6353"><td class="num" id="LN6353">6353</td><td class="line"> <span class='keyword'>return</span> extract_data_new (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6354"><td class="num" id="LN6354">6354</td><td class="line"> extract_to_dir,</td></tr>
+<tr class="codeline" data-linenumber="6355"><td class="num" id="LN6355">6355</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6356"><td class="num" id="LN6356">6356</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6357"><td class="num" id="LN6357">6357</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6358"><td class="num" id="LN6358">6358</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6359"><td class="num" id="LN6359">6359</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6360"><td class="num" id="LN6360">6360</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6361"><td class="num" id="LN6361">6361</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6362"><td class="num" id="LN6362">6362</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6363"><td class="num" id="LN6363">6363</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6364"><td class="num" id="LN6364">6364</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6365"><td class="num" id="LN6365">6365</td><td class="line">extract_data_free (ExtractData *edata)</td></tr>
+<tr class="codeline" data-linenumber="6366"><td class="num" id="LN6366">6366</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6367"><td class="num" id="LN6367">6367</td><td class="line"> <span class='macro'>g_return_if_fail (edata != NULL)<span class='macro_popup'>do { if ((edata != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "edata != NULL");<br> return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6368"><td class="num" id="LN6368">6368</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6369"><td class="num" id="LN6369">6369</td><td class="line"> path_list_free (edata-&gt;file_list);</td></tr>
+<tr class="codeline" data-linenumber="6370"><td class="num" id="LN6370">6370</td><td class="line"> g_free (edata-&gt;extract_to_dir);</td></tr>
+<tr class="codeline" data-linenumber="6371"><td class="num" id="LN6371">6371</td><td class="line"> g_free (edata-&gt;sub_dir);</td></tr>
+<tr class="codeline" data-linenumber="6372"><td class="num" id="LN6372">6372</td><td class="line"> g_free (edata-&gt;base_dir);</td></tr>
+<tr class="codeline" data-linenumber="6373"><td class="num" id="LN6373">6373</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6374"><td class="num" id="LN6374">6374</td><td class="line"> g_free (edata);</td></tr>
+<tr class="codeline" data-linenumber="6375"><td class="num" id="LN6375">6375</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6376"><td class="num" id="LN6376">6376</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6377"><td class="num" id="LN6377">6377</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="6378"><td class="num" id="LN6378">6378</td><td class="line">archive_is_encrypted (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6379"><td class="num" id="LN6379">6379</td><td class="line"> GList *file_list)</td></tr>
+<tr class="codeline" data-linenumber="6380"><td class="num" id="LN6380">6380</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6381"><td class="num" id="LN6381">6381</td><td class="line"> gboolean encrypted = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6382"><td class="num" id="LN6382">6382</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6383"><td class="num" id="LN6383">6383</td><td class="line"> <span class='keyword'>if</span> (file_list == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="6384"><td class="num" id="LN6384">6384</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="6385"><td class="num" id="LN6385">6385</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6386"><td class="num" id="LN6386">6386</td><td class="line"> <span class='keyword'>for</span> (i = 0; ! encrypted &amp;&amp; i &lt; window-&gt;archive-&gt;command-&gt;files-&gt;len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="6387"><td class="num" id="LN6387">6387</td><td class="line"> FileData *fdata = <span class='macro'>g_ptr_array_index (window-&gt;archive-&gt;command-&gt;files, i)<span class='macro_popup'>((window-&gt;archive-&gt;command-&gt;files)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6388"><td class="num" id="LN6388">6388</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6389"><td class="num" id="LN6389">6389</td><td class="line"> <span class='keyword'>if</span> (fdata-&gt;encrypted)</td></tr>
+<tr class="codeline" data-linenumber="6390"><td class="num" id="LN6390">6390</td><td class="line"> encrypted = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6391"><td class="num" id="LN6391">6391</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6392"><td class="num" id="LN6392">6392</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6393"><td class="num" id="LN6393">6393</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="6394"><td class="num" id="LN6394">6394</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6395"><td class="num" id="LN6395">6395</td><td class="line"> GHashTable *file_hash;</td></tr>
+<tr class="codeline" data-linenumber="6396"><td class="num" id="LN6396">6396</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="6397"><td class="num" id="LN6397">6397</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="6398"><td class="num" id="LN6398">6398</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6399"><td class="num" id="LN6399">6399</td><td class="line"> file_hash = g_hash_table_new (g_str_hash, g_str_equal);</td></tr>
+<tr class="codeline" data-linenumber="6400"><td class="num" id="LN6400">6400</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; window-&gt;archive-&gt;command-&gt;files-&gt;len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="6401"><td class="num" id="LN6401">6401</td><td class="line"> FileData *fdata = <span class='macro'>g_ptr_array_index (window-&gt;archive-&gt;command-&gt;files, i)<span class='macro_popup'>((window-&gt;archive-&gt;command-&gt;files)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6402"><td class="num" id="LN6402">6402</td><td class="line"> g_hash_table_insert (file_hash, fdata-&gt;original_path, fdata);</td></tr>
+<tr class="codeline" data-linenumber="6403"><td class="num" id="LN6403">6403</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6404"><td class="num" id="LN6404">6404</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6405"><td class="num" id="LN6405">6405</td><td class="line"> <span class='keyword'>for</span> (scan = file_list; ! encrypted &amp;&amp; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="6406"><td class="num" id="LN6406">6406</td><td class="line"> <span class='keyword'>char</span> *filename = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="6407"><td class="num" id="LN6407">6407</td><td class="line"> FileData *fdata;</td></tr>
+<tr class="codeline" data-linenumber="6408"><td class="num" id="LN6408">6408</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6409"><td class="num" id="LN6409">6409</td><td class="line"> fdata = g_hash_table_lookup (file_hash, filename);</td></tr>
+<tr class="codeline" data-linenumber="6410"><td class="num" id="LN6410">6410</td><td class="line"> <span class='macro'>g_return_val_if_fail (fdata != NULL, FALSE)<span class='macro_popup'>do { if ((fdata != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "fdata != NULL");<br> return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6411"><td class="num" id="LN6411">6411</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6412"><td class="num" id="LN6412">6412</td><td class="line"> <span class='keyword'>if</span> (fdata-&gt;encrypted)</td></tr>
+<tr class="codeline" data-linenumber="6413"><td class="num" id="LN6413">6413</td><td class="line"> encrypted = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6414"><td class="num" id="LN6414">6414</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6415"><td class="num" id="LN6415">6415</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6416"><td class="num" id="LN6416">6416</td><td class="line"> g_hash_table_destroy (file_hash);</td></tr>
+<tr class="codeline" data-linenumber="6417"><td class="num" id="LN6417">6417</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6418"><td class="num" id="LN6418">6418</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6419"><td class="num" id="LN6419">6419</td><td class="line"> <span class='keyword'>return</span> encrypted;</td></tr>
+<tr class="codeline" data-linenumber="6420"><td class="num" id="LN6420">6420</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6421"><td class="num" id="LN6421">6421</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6422"><td class="num" id="LN6422">6422</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="6423"><td class="num" id="LN6423">6423</td><td class="line">archive_extract_check_disk_space_full (GPtrArray *files,</td></tr>
+<tr class="codeline" data-linenumber="6424"><td class="num" id="LN6424">6424</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *extract_to_dir)</td></tr>
+<tr class="codeline" data-linenumber="6425"><td class="num" id="LN6425">6425</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6426"><td class="num" id="LN6426">6426</td><td class="line"> guint64 freespace;</td></tr>
+<tr class="codeline" data-linenumber="6427"><td class="num" id="LN6427">6427</td><td class="line"> guint64 archive_size = 0;</td></tr>
+<tr class="codeline" data-linenumber="6428"><td class="num" id="LN6428">6428</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="6429"><td class="num" id="LN6429">6429</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6430"><td class="num" id="LN6430">6430</td><td class="line"> freespace = get_dest_free_space (g_filename_from_uri (extract_to_dir, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="6431"><td class="num" id="LN6431">6431</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6432"><td class="num" id="LN6432">6432</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt;files-&gt;len; i++)</td></tr>
+<tr class="codeline" data-linenumber="6433"><td class="num" id="LN6433">6433</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="6434"><td class="num" id="LN6434">6434</td><td class="line"> FileData *fdata = <span class='macro'>g_ptr_array_index (files, i)<span class='macro_popup'>((files)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6435"><td class="num" id="LN6435">6435</td><td class="line"> archive_size += fdata-&gt;size;</td></tr>
+<tr class="codeline" data-linenumber="6436"><td class="num" id="LN6436">6436</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6437"><td class="num" id="LN6437">6437</td><td class="line"> <span class='comment'>/* When the decompressed target file is less than 100MB,</span></td></tr>
+<tr class="codeline" data-linenumber="6438"><td class="num" id="LN6438">6438</td><td class="line"> <span class='comment'>2 * (target file size) needs to disk space</span></td></tr>
+<tr class="codeline" data-linenumber="6439"><td class="num" id="LN6439">6439</td><td class="line"> <span class='comment'>and when it is greater than 100MB,</span></td></tr>
+<tr class="codeline" data-linenumber="6440"><td class="num" id="LN6440">6440</td><td class="line"> <span class='comment'>100MB + (target file size) needs to disk space */</span></td></tr>
+<tr class="codeline" data-linenumber="6441"><td class="num" id="LN6441">6441</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6442"><td class="num" id="LN6442">6442</td><td class="line"> <span class='keyword'>if</span> (archive_size &lt;= 1024 * 1024 * 100)</td></tr>
+<tr class="codeline" data-linenumber="6443"><td class="num" id="LN6443">6443</td><td class="line"> archive_size = archive_size * 2;</td></tr>
+<tr class="codeline" data-linenumber="6444"><td class="num" id="LN6444">6444</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="6445"><td class="num" id="LN6445">6445</td><td class="line"> archive_size += 1024 * 1024 * 100;</td></tr>
+<tr class="codeline" data-linenumber="6446"><td class="num" id="LN6446">6446</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6447"><td class="num" id="LN6447">6447</td><td class="line"> <span class='keyword'>return</span> freespace &lt; archive_size * 2;</td></tr>
+<tr class="codeline" data-linenumber="6448"><td class="num" id="LN6448">6448</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6449"><td class="num" id="LN6449">6449</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6450"><td class="num" id="LN6450">6450</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6451"><td class="num" id="LN6451">6451</td><td class="line">fr_window_archive_extract_here (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6452"><td class="num" id="LN6452">6452</td><td class="line"> gboolean skip_older,</td></tr>
+<tr class="codeline" data-linenumber="6453"><td class="num" id="LN6453">6453</td><td class="line"> FrOverwrite overwrite,</td></tr>
+<tr class="codeline" data-linenumber="6454"><td class="num" id="LN6454">6454</td><td class="line"> gboolean junk_paths)</td></tr>
+<tr class="codeline" data-linenumber="6455"><td class="num" id="LN6455">6455</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6456"><td class="num" id="LN6456">6456</td><td class="line"> ExtractData *edata;</td></tr>
+<tr class="codeline" data-linenumber="6457"><td class="num" id="LN6457">6457</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6458"><td class="num" id="LN6458">6458</td><td class="line"> edata = extract_data_new (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6459"><td class="num" id="LN6459">6459</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6460"><td class="num" id="LN6460">6460</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6461"><td class="num" id="LN6461">6461</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6462"><td class="num" id="LN6462">6462</td><td class="line"> skip_older,</td></tr>
+<tr class="codeline" data-linenumber="6463"><td class="num" id="LN6463">6463</td><td class="line"> overwrite,</td></tr>
+<tr class="codeline" data-linenumber="6464"><td class="num" id="LN6464">6464</td><td class="line"> junk_paths,</td></tr>
+<tr class="codeline" data-linenumber="6465"><td class="num" id="LN6465">6465</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6466"><td class="num" id="LN6466">6466</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6467"><td class="num" id="LN6467">6467</td><td class="line"> fr_window_set_current_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="6468"><td class="num" id="LN6468">6468</td><td class="line"> FR_BATCH_ACTION_EXTRACT,</td></tr>
+<tr class="codeline" data-linenumber="6469"><td class="num" id="LN6469">6469</td><td class="line"> edata,</td></tr>
+<tr class="codeline" data-linenumber="6470"><td class="num" id="LN6470">6470</td><td class="line"> (GFreeFunc) extract_data_free);</td></tr>
+<tr class="codeline" data-linenumber="6471"><td class="num" id="LN6471">6471</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6472"><td class="num" id="LN6472">6472</td><td class="line"> <span class='keyword'>if</span> (archive_is_encrypted (window, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (window-&gt;priv-&gt;password == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="6473"><td class="num" id="LN6473">6473</td><td class="line"> dlg_ask_password (window);</td></tr>
+<tr class="codeline" data-linenumber="6474"><td class="num" id="LN6474">6474</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6475"><td class="num" id="LN6475">6475</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6476"><td class="num" id="LN6476">6476</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6477"><td class="num" id="LN6477">6477</td><td class="line"> window-&gt;priv-&gt;ask_to_open_destination_after_extraction = edata-&gt;ask_to_open_destination;</td></tr>
+<tr class="codeline" data-linenumber="6478"><td class="num" id="LN6478">6478</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6479"><td class="num" id="LN6479">6479</td><td class="line"> fr_process_clear (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="6480"><td class="num" id="LN6480">6480</td><td class="line"> <span class='keyword'>if</span> (fr_archive_extract_here (window-&gt;archive,</td></tr>
+<tr class="codeline" data-linenumber="6481"><td class="num" id="LN6481">6481</td><td class="line"> edata-&gt;skip_older,</td></tr>
+<tr class="codeline" data-linenumber="6482"><td class="num" id="LN6482">6482</td><td class="line"> edata-&gt;overwrite,</td></tr>
+<tr class="codeline" data-linenumber="6483"><td class="num" id="LN6483">6483</td><td class="line"> edata-&gt;junk_paths,</td></tr>
+<tr class="codeline" data-linenumber="6484"><td class="num" id="LN6484">6484</td><td class="line"> window-&gt;priv-&gt;password))</td></tr>
+<tr class="codeline" data-linenumber="6485"><td class="num" id="LN6485">6485</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="6486"><td class="num" id="LN6486">6486</td><td class="line"> fr_process_start (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="6487"><td class="num" id="LN6487">6487</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6488"><td class="num" id="LN6488">6488</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6489"><td class="num" id="LN6489">6489</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6490"><td class="num" id="LN6490">6490</td><td class="line"><span class='comment'>/* -- fr_window_archive_extract -- */</span></td></tr>
+<tr class="codeline" data-linenumber="6491"><td class="num" id="LN6491">6491</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6492"><td class="num" id="LN6492">6492</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span> {</td></tr>
+<tr class="codeline" data-linenumber="6493"><td class="num" id="LN6493">6493</td><td class="line"> FrWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="6494"><td class="num" id="LN6494">6494</td><td class="line"> ExtractData *edata;</td></tr>
+<tr class="codeline" data-linenumber="6495"><td class="num" id="LN6495">6495</td><td class="line"> GList *current_file;</td></tr>
+<tr class="codeline" data-linenumber="6496"><td class="num" id="LN6496">6496</td><td class="line"> gboolean extract_all;</td></tr>
+<tr class="codeline" data-linenumber="6497"><td class="num" id="LN6497">6497</td><td class="line">} OverwriteData;</td></tr>
+<tr class="codeline" data-linenumber="6498"><td class="num" id="LN6498">6498</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6499"><td class="num" id="LN6499">6499</td><td class="line"><span class='directive'>#define <span class='macro'>_FR_RESPONSE_OVERWRITE_YES_ALL<span class='macro_popup'>100</span></span> 100</span></td></tr>
+<tr class="codeline" data-linenumber="6500"><td class="num" id="LN6500">6500</td><td class="line"><span class='directive'>#define <span class='macro'>_FR_RESPONSE_OVERWRITE_YES<span class='macro_popup'>101</span></span> 101</span></td></tr>
+<tr class="codeline" data-linenumber="6501"><td class="num" id="LN6501">6501</td><td class="line"><span class='directive'>#define <span class='macro'>_FR_RESPONSE_OVERWRITE_NO<span class='macro_popup'>102</span></span> 102</span></td></tr>
+<tr class="codeline" data-linenumber="6502"><td class="num" id="LN6502">6502</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6503"><td class="num" id="LN6503">6503</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6504"><td class="num" id="LN6504">6504</td><td class="line">_fr_window_archive_extract_from_edata (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6505"><td class="num" id="LN6505">6505</td><td class="line"> ExtractData *edata)</td></tr>
+<tr class="codeline" data-linenumber="6506"><td class="num" id="LN6506">6506</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6507"><td class="num" id="LN6507">6507</td><td class="line"> window-&gt;priv-&gt;ask_to_open_destination_after_extraction = edata-&gt;ask_to_open_destination;</td></tr>
+<tr class="codeline" data-linenumber="6508"><td class="num" id="LN6508">6508</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6509"><td class="num" id="LN6509">6509</td><td class="line"> fr_process_clear (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="6510"><td class="num" id="LN6510">6510</td><td class="line"> fr_archive_extract (window-&gt;archive,</td></tr>
+<tr class="codeline" data-linenumber="6511"><td class="num" id="LN6511">6511</td><td class="line"> edata-&gt;file_list,</td></tr>
+<tr class="codeline" data-linenumber="6512"><td class="num" id="LN6512">6512</td><td class="line"> edata-&gt;extract_to_dir,</td></tr>
+<tr class="codeline" data-linenumber="6513"><td class="num" id="LN6513">6513</td><td class="line"> edata-&gt;base_dir,</td></tr>
+<tr class="codeline" data-linenumber="6514"><td class="num" id="LN6514">6514</td><td class="line"> edata-&gt;skip_older,</td></tr>
+<tr class="codeline" data-linenumber="6515"><td class="num" id="LN6515">6515</td><td class="line"> edata-&gt;overwrite == FR_OVERWRITE_YES,</td></tr>
+<tr class="codeline" data-linenumber="6516"><td class="num" id="LN6516">6516</td><td class="line"> edata-&gt;junk_paths,</td></tr>
+<tr class="codeline" data-linenumber="6517"><td class="num" id="LN6517">6517</td><td class="line"> window-&gt;priv-&gt;password);</td></tr>
+<tr class="codeline" data-linenumber="6518"><td class="num" id="LN6518">6518</td><td class="line"> fr_process_start (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="6519"><td class="num" id="LN6519">6519</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6520"><td class="num" id="LN6520">6520</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6521"><td class="num" id="LN6521">6521</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> _fr_window_ask_overwrite_dialog (OverwriteData *odata);</td></tr>
+<tr class="codeline" data-linenumber="6522"><td class="num" id="LN6522">6522</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6523"><td class="num" id="LN6523">6523</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6524"><td class="num" id="LN6524">6524</td><td class="line">overwrite_dialog_response_cb (GtkDialog *dialog,</td></tr>
+<tr class="codeline" data-linenumber="6525"><td class="num" id="LN6525">6525</td><td class="line"> <span class='keyword'>int</span> response_id,</td></tr>
+<tr class="codeline" data-linenumber="6526"><td class="num" id="LN6526">6526</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="6527"><td class="num" id="LN6527">6527</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6528"><td class="num" id="LN6528">6528</td><td class="line"> OverwriteData *odata = user_data;</td></tr>
+<tr class="codeline" data-linenumber="6529"><td class="num" id="LN6529">6529</td><td class="line"> gboolean do_not_extract = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6530"><td class="num" id="LN6530">6530</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6531"><td class="num" id="LN6531">6531</td><td class="line"> <span class='keyword'>switch</span> (response_id) {</td></tr>
+<tr class="codeline" data-linenumber="6532"><td class="num" id="LN6532">6532</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>_FR_RESPONSE_OVERWRITE_YES_ALL<span class='macro_popup'>100</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="6533"><td class="num" id="LN6533">6533</td><td class="line"> odata-&gt;edata-&gt;overwrite = FR_OVERWRITE_YES;</td></tr>
+<tr class="codeline" data-linenumber="6534"><td class="num" id="LN6534">6534</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="6535"><td class="num" id="LN6535">6535</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6536"><td class="num" id="LN6536">6536</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>_FR_RESPONSE_OVERWRITE_YES<span class='macro_popup'>101</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="6537"><td class="num" id="LN6537">6537</td><td class="line"> odata-&gt;current_file = odata-&gt;current_file-&gt;next;</td></tr>
+<tr class="codeline" data-linenumber="6538"><td class="num" id="LN6538">6538</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="6539"><td class="num" id="LN6539">6539</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6540"><td class="num" id="LN6540">6540</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>_FR_RESPONSE_OVERWRITE_NO<span class='macro_popup'>102</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="6541"><td class="num" id="LN6541">6541</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="6542"><td class="num" id="LN6542">6542</td><td class="line"> <span class='comment'>/* remove the file from the list to extract */</span></td></tr>
+<tr class="codeline" data-linenumber="6543"><td class="num" id="LN6543">6543</td><td class="line"> GList *next = odata-&gt;current_file-&gt;next;</td></tr>
+<tr class="codeline" data-linenumber="6544"><td class="num" id="LN6544">6544</td><td class="line"> odata-&gt;edata-&gt;file_list = g_list_remove_link (odata-&gt;edata-&gt;file_list, odata-&gt;current_file);</td></tr>
+<tr class="codeline" data-linenumber="6545"><td class="num" id="LN6545">6545</td><td class="line"> path_list_free (odata-&gt;current_file);</td></tr>
+<tr class="codeline" data-linenumber="6546"><td class="num" id="LN6546">6546</td><td class="line"> odata-&gt;current_file = next;</td></tr>
+<tr class="codeline" data-linenumber="6547"><td class="num" id="LN6547">6547</td><td class="line"> odata-&gt;extract_all = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6548"><td class="num" id="LN6548">6548</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6549"><td class="num" id="LN6549">6549</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="6550"><td class="num" id="LN6550">6550</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6551"><td class="num" id="LN6551">6551</td><td class="line"> <span class='keyword'>case</span> GTK_RESPONSE_DELETE_EVENT:</td></tr>
+<tr class="codeline" data-linenumber="6552"><td class="num" id="LN6552">6552</td><td class="line"> <span class='keyword'>case</span> GTK_RESPONSE_CANCEL:</td></tr>
+<tr class="codeline" data-linenumber="6553"><td class="num" id="LN6553">6553</td><td class="line"> do_not_extract = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6554"><td class="num" id="LN6554">6554</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="6555"><td class="num" id="LN6555">6555</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6556"><td class="num" id="LN6556">6556</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="6557"><td class="num" id="LN6557">6557</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="6558"><td class="num" id="LN6558">6558</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6559"><td class="num" id="LN6559">6559</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6560"><td class="num" id="LN6560">6560</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (dialog)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6561"><td class="num" id="LN6561">6561</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6562"><td class="num" id="LN6562">6562</td><td class="line"> <span class='keyword'>if</span> (do_not_extract) {</td></tr>
+<tr class="codeline" data-linenumber="6563"><td class="num" id="LN6563">6563</td><td class="line"> fr_window_stop_batch (odata-&gt;window);</td></tr>
+<tr class="codeline" data-linenumber="6564"><td class="num" id="LN6564">6564</td><td class="line"> g_free (odata);</td></tr>
+<tr class="codeline" data-linenumber="6565"><td class="num" id="LN6565">6565</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6566"><td class="num" id="LN6566">6566</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6567"><td class="num" id="LN6567">6567</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6568"><td class="num" id="LN6568">6568</td><td class="line"> _fr_window_ask_overwrite_dialog (odata);</td></tr>
+<tr class="codeline" data-linenumber="6569"><td class="num" id="LN6569">6569</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6570"><td class="num" id="LN6570">6570</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6571"><td class="num" id="LN6571">6571</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6572"><td class="num" id="LN6572">6572</td><td class="line">_fr_window_ask_overwrite_dialog (OverwriteData *odata)</td></tr>
+<tr class="codeline" data-linenumber="6573"><td class="num" id="LN6573">6573</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6574"><td class="num" id="LN6574">6574</td><td class="line"> <span class='keyword'>while</span> ((odata-&gt;edata-&gt;overwrite == FR_OVERWRITE_ASK) &amp;&amp; (odata-&gt;current_file != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="6575"><td class="num" id="LN6575">6575</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *base_name;</td></tr>
+<tr class="codeline" data-linenumber="6576"><td class="num" id="LN6576">6576</td><td class="line"> <span class='keyword'>char</span> *e_base_name;</td></tr>
+<tr class="codeline" data-linenumber="6577"><td class="num" id="LN6577">6577</td><td class="line"> <span class='keyword'>char</span> *dest_uri;</td></tr>
+<tr class="codeline" data-linenumber="6578"><td class="num" id="LN6578">6578</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="6579"><td class="num" id="LN6579">6579</td><td class="line"> GFileInfo *info;</td></tr>
+<tr class="codeline" data-linenumber="6580"><td class="num" id="LN6580">6580</td><td class="line"> GFileType file_type;</td></tr>
+<tr class="codeline" data-linenumber="6581"><td class="num" id="LN6581">6581</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6582"><td class="num" id="LN6582">6582</td><td class="line"> base_name = _g_path_get_base_name ((<span class='keyword'>char</span> *) odata-&gt;current_file-&gt;data, odata-&gt;edata-&gt;base_dir, odata-&gt;edata-&gt;junk_paths);</td></tr>
+<tr class="codeline" data-linenumber="6583"><td class="num" id="LN6583">6583</td><td class="line"> e_base_name = g_uri_escape_string (base_name, <span class='macro'>G_URI_RESERVED_CHARS_ALLOWED_IN_PATH<span class='macro_popup'>"!$&amp;'()*+,;=" ":@" "/"</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6584"><td class="num" id="LN6584">6584</td><td class="line"> dest_uri = g_strdup_printf (<span class='string_literal'>"%s/%s"</span>, odata-&gt;edata-&gt;extract_to_dir, e_base_name);</td></tr>
+<tr class="codeline" data-linenumber="6585"><td class="num" id="LN6585">6585</td><td class="line"> file = g_file_new_for_uri (dest_uri);</td></tr>
+<tr class="codeline" data-linenumber="6586"><td class="num" id="LN6586">6586</td><td class="line"> info = g_file_query_info (file,</td></tr>
+<tr class="codeline" data-linenumber="6587"><td class="num" id="LN6587">6587</td><td class="line"> <span class='macro'>G_FILE_ATTRIBUTE_STANDARD_TYPE<span class='macro_popup'>"standard::type"</span></span> <span class='string_literal'>","</span> <span class='macro'>G_FILE_ATTRIBUTE_STANDARD_NAME<span class='macro_popup'>"standard::name"</span></span> <span class='string_literal'>","</span> <span class='macro'>G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME<span class='macro_popup'>"standard::display-name"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6588"><td class="num" id="LN6588">6588</td><td class="line"> G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,</td></tr>
+<tr class="codeline" data-linenumber="6589"><td class="num" id="LN6589">6589</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6590"><td class="num" id="LN6590">6590</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6591"><td class="num" id="LN6591">6591</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6592"><td class="num" id="LN6592">6592</td><td class="line"> g_free (dest_uri);</td></tr>
+<tr class="codeline" data-linenumber="6593"><td class="num" id="LN6593">6593</td><td class="line"> g_free (e_base_name);</td></tr>
+<tr class="codeline" data-linenumber="6594"><td class="num" id="LN6594">6594</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6595"><td class="num" id="LN6595">6595</td><td class="line"> <span class='keyword'>if</span> (info == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="6596"><td class="num" id="LN6596">6596</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="6597"><td class="num" id="LN6597">6597</td><td class="line"> odata-&gt;current_file = odata-&gt;current_file-&gt;next;</td></tr>
+<tr class="codeline" data-linenumber="6598"><td class="num" id="LN6598">6598</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="6599"><td class="num" id="LN6599">6599</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6600"><td class="num" id="LN6600">6600</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6601"><td class="num" id="LN6601">6601</td><td class="line"> file_type = g_file_info_get_file_type (info);</td></tr>
+<tr class="codeline" data-linenumber="6602"><td class="num" id="LN6602">6602</td><td class="line"> <span class='keyword'>if</span> ((file_type != G_FILE_TYPE_UNKNOWN) &amp;&amp; (file_type != G_FILE_TYPE_DIRECTORY)) {</td></tr>
+<tr class="codeline" data-linenumber="6603"><td class="num" id="LN6603">6603</td><td class="line"> <span class='keyword'>char</span> *msg;</td></tr>
+<tr class="codeline" data-linenumber="6604"><td class="num" id="LN6604">6604</td><td class="line"> GFile *parent;</td></tr>
+<tr class="codeline" data-linenumber="6605"><td class="num" id="LN6605">6605</td><td class="line"> <span class='keyword'>char</span> *parent_name;</td></tr>
+<tr class="codeline" data-linenumber="6606"><td class="num" id="LN6606">6606</td><td class="line"> <span class='keyword'>char</span> *details;</td></tr>
+<tr class="codeline" data-linenumber="6607"><td class="num" id="LN6607">6607</td><td class="line"> GtkWidget *d;</td></tr>
+<tr class="codeline" data-linenumber="6608"><td class="num" id="LN6608">6608</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6609"><td class="num" id="LN6609">6609</td><td class="line"> msg = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Replace file \"%s\"?"</span>)<span class='macro_popup'>gettext ("Replace file \"%s\"?")</span></span>, g_file_info_get_display_name (info));</td></tr>
+<tr class="codeline" data-linenumber="6610"><td class="num" id="LN6610">6610</td><td class="line"> parent = g_file_get_parent (file);</td></tr>
+<tr class="codeline" data-linenumber="6611"><td class="num" id="LN6611">6611</td><td class="line"> parent_name = g_file_get_parse_name (parent);</td></tr>
+<tr class="codeline" data-linenumber="6612"><td class="num" id="LN6612">6612</td><td class="line"> details = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Another file with the same name already exists in \"%s\"."</span>)<span class='macro_popup'>gettext ("Another file with the same name already exists in \"%s\"."<br>)</span></span>, parent_name);</td></tr>
+<tr class="codeline" data-linenumber="6613"><td class="num" id="LN6613">6613</td><td class="line"> d = _gtk_message_dialog_new (<span class='macro'>GTK_WINDOW (odata-&gt;window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((odata-&gt;window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6614"><td class="num" id="LN6614">6614</td><td class="line"> GTK_DIALOG_MODAL,</td></tr>
+<tr class="codeline" data-linenumber="6615"><td class="num" id="LN6615">6615</td><td class="line"> <span class='string_literal'>"dialog-question"</span>,</td></tr>
+<tr class="codeline" data-linenumber="6616"><td class="num" id="LN6616">6616</td><td class="line"> msg,</td></tr>
+<tr class="codeline" data-linenumber="6617"><td class="num" id="LN6617">6617</td><td class="line"> details,</td></tr>
+<tr class="codeline" data-linenumber="6618"><td class="num" id="LN6618">6618</td><td class="line"> <span class='string_literal'>"gtk-cancel"</span>, GTK_RESPONSE_CANCEL,</td></tr>
+<tr class="codeline" data-linenumber="6619"><td class="num" id="LN6619">6619</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Replace _All"</span>)<span class='macro_popup'>gettext ("Replace _All")</span></span>, <span class='macro'>_FR_RESPONSE_OVERWRITE_YES_ALL<span class='macro_popup'>100</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6620"><td class="num" id="LN6620">6620</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"_Skip"</span>)<span class='macro_popup'>gettext ("_Skip")</span></span>, <span class='macro'>_FR_RESPONSE_OVERWRITE_NO<span class='macro_popup'>102</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6621"><td class="num" id="LN6621">6621</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"_Replace"</span>)<span class='macro_popup'>gettext ("_Replace")</span></span>, <span class='macro'>_FR_RESPONSE_OVERWRITE_YES<span class='macro_popup'>101</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6622"><td class="num" id="LN6622">6622</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6623"><td class="num" id="LN6623">6623</td><td class="line"> gtk_dialog_set_default_response (<span class='macro'>GTK_DIALOG (d)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_dialog_get_type ()))))))</span></span>, <span class='macro'>_FR_RESPONSE_OVERWRITE_YES<span class='macro_popup'>101</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6624"><td class="num" id="LN6624">6624</td><td class="line"> <span class='macro'>g_signal_connect (d,<span class='macro_popup'>g_signal_connect_data ((d), ("response"), (((GCallback) (overwrite_dialog_response_cb<br>))), (odata), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6625"><td class="num" id="LN6625">6625</td><td class="line"> <span class='string_literal'><span class='macro'>"response"</span>,<span class='macro_popup'>g_signal_connect_data ((d), ("response"), (((GCallback) (overwrite_dialog_response_cb<br>))), (odata), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6626"><td class="num" id="LN6626">6626</td><td class="line"> <span class='macro'>G_CALLBACK (overwrite_dialog_response_cb),<span class='macro_popup'>g_signal_connect_data ((d), ("response"), (((GCallback) (overwrite_dialog_response_cb<br>))), (odata), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="6627"><td class="num" id="LN6627">6627</td><td class="line"> <span class='macro'>odata)<span class='macro_popup'>g_signal_connect_data ((d), ("response"), (((GCallback) (overwrite_dialog_response_cb<br>))), (odata), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6628"><td class="num" id="LN6628">6628</td><td class="line"> gtk_widget_show (d);</td></tr>
+<tr class="codeline" data-linenumber="6629"><td class="num" id="LN6629">6629</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6630"><td class="num" id="LN6630">6630</td><td class="line"> g_free (parent_name);</td></tr>
+<tr class="codeline" data-linenumber="6631"><td class="num" id="LN6631">6631</td><td class="line"> g_object_unref (parent);</td></tr>
+<tr class="codeline" data-linenumber="6632"><td class="num" id="LN6632">6632</td><td class="line"> g_object_unref (info);</td></tr>
+<tr class="codeline" data-linenumber="6633"><td class="num" id="LN6633">6633</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="6634"><td class="num" id="LN6634">6634</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6635"><td class="num" id="LN6635">6635</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6636"><td class="num" id="LN6636">6636</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6637"><td class="num" id="LN6637">6637</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="6638"><td class="num" id="LN6638">6638</td><td class="line"> odata-&gt;current_file = odata-&gt;current_file-&gt;next;</td></tr>
+<tr class="codeline" data-linenumber="6639"><td class="num" id="LN6639">6639</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6640"><td class="num" id="LN6640">6640</td><td class="line"> g_object_unref (info);</td></tr>
+<tr class="codeline" data-linenumber="6641"><td class="num" id="LN6641">6641</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="6642"><td class="num" id="LN6642">6642</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6643"><td class="num" id="LN6643">6643</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6644"><td class="num" id="LN6644">6644</td><td class="line"> <span class='keyword'>if</span> (odata-&gt;edata-&gt;file_list != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="6645"><td class="num" id="LN6645">6645</td><td class="line"> <span class='comment'>/* speed optimization: passing NULL when extracting all the</span></td></tr>
+<tr class="codeline" data-linenumber="6646"><td class="num" id="LN6646">6646</td><td class="line"> <span class='comment'>* files is faster if the command supports the</span></td></tr>
+<tr class="codeline" data-linenumber="6647"><td class="num" id="LN6647">6647</td><td class="line"> <span class='comment'>* propCanExtractAll property. */</span></td></tr>
+<tr class="codeline" data-linenumber="6648"><td class="num" id="LN6648">6648</td><td class="line"> <span class='keyword'>if</span> (odata-&gt;extract_all) {</td></tr>
+<tr class="codeline" data-linenumber="6649"><td class="num" id="LN6649">6649</td><td class="line"> path_list_free (odata-&gt;edata-&gt;file_list);</td></tr>
+<tr class="codeline" data-linenumber="6650"><td class="num" id="LN6650">6650</td><td class="line"> odata-&gt;edata-&gt;file_list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6651"><td class="num" id="LN6651">6651</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6652"><td class="num" id="LN6652">6652</td><td class="line"> odata-&gt;edata-&gt;overwrite = FR_OVERWRITE_YES;</td></tr>
+<tr class="codeline" data-linenumber="6653"><td class="num" id="LN6653">6653</td><td class="line"> _fr_window_archive_extract_from_edata (odata-&gt;window, odata-&gt;edata);</td></tr>
+<tr class="codeline" data-linenumber="6654"><td class="num" id="LN6654">6654</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6655"><td class="num" id="LN6655">6655</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="6656"><td class="num" id="LN6656">6656</td><td class="line"> GtkWidget *d;</td></tr>
+<tr class="codeline" data-linenumber="6657"><td class="num" id="LN6657">6657</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6658"><td class="num" id="LN6658">6658</td><td class="line"> d = _gtk_message_dialog_new (<span class='macro'>GTK_WINDOW (odata-&gt;window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((odata-&gt;window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6659"><td class="num" id="LN6659">6659</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="6660"><td class="num" id="LN6660">6660</td><td class="line"> <span class='string_literal'>"dialog-warning"</span>,</td></tr>
+<tr class="codeline" data-linenumber="6661"><td class="num" id="LN6661">6661</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Extraction not performed"</span>)<span class='macro_popup'>gettext ("Extraction not performed")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6662"><td class="num" id="LN6662">6662</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6663"><td class="num" id="LN6663">6663</td><td class="line"> <span class='string_literal'>"gtk-ok"</span>, GTK_RESPONSE_OK,</td></tr>
+<tr class="codeline" data-linenumber="6664"><td class="num" id="LN6664">6664</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6665"><td class="num" id="LN6665">6665</td><td class="line"> gtk_dialog_set_default_response (<span class='macro'>GTK_DIALOG (d)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_dialog_get_type ()))))))</span></span>, GTK_RESPONSE_OK);</td></tr>
+<tr class="codeline" data-linenumber="6666"><td class="num" id="LN6666">6666</td><td class="line"> fr_window_show_error_dialog (odata-&gt;window, d, <span class='macro'>GTK_WINDOW (odata-&gt;window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((odata-&gt;window)), ((gtk_window_get_type ()))))))</span></span>, <span class='macro'>_(<span class='string_literal'>"Extraction not performed"</span>)<span class='macro_popup'>gettext ("Extraction not performed")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6667"><td class="num" id="LN6667">6667</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6668"><td class="num" id="LN6668">6668</td><td class="line"> fr_window_stop_batch (odata-&gt;window);</td></tr>
+<tr class="codeline" data-linenumber="6669"><td class="num" id="LN6669">6669</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6670"><td class="num" id="LN6670">6670</td><td class="line"> g_free (odata);</td></tr>
+<tr class="codeline" data-linenumber="6671"><td class="num" id="LN6671">6671</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6672"><td class="num" id="LN6672">6672</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6673"><td class="num" id="LN6673">6673</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6674"><td class="num" id="LN6674">6674</td><td class="line">fr_window_archive_extract (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6675"><td class="num" id="LN6675">6675</td><td class="line"> GList *file_list,</td></tr>
+<tr class="codeline" data-linenumber="6676"><td class="num" id="LN6676">6676</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *extract_to_dir,</td></tr>
+<tr class="codeline" data-linenumber="6677"><td class="num" id="LN6677">6677</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *sub_dir,</td></tr>
+<tr class="codeline" data-linenumber="6678"><td class="num" id="LN6678">6678</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *base_dir,</td></tr>
+<tr class="codeline" data-linenumber="6679"><td class="num" id="LN6679">6679</td><td class="line"> gboolean skip_older,</td></tr>
+<tr class="codeline" data-linenumber="6680"><td class="num" id="LN6680">6680</td><td class="line"> FrOverwrite overwrite,</td></tr>
+<tr class="codeline" data-linenumber="6681"><td class="num" id="LN6681">6681</td><td class="line"> gboolean junk_paths,</td></tr>
+<tr class="codeline" data-linenumber="6682"><td class="num" id="LN6682">6682</td><td class="line"> gboolean ask_to_open_destination)</td></tr>
+<tr class="codeline" data-linenumber="6683"><td class="num" id="LN6683">6683</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6684"><td class="num" id="LN6684">6684</td><td class="line"> ExtractData *edata;</td></tr>
+<tr class="codeline" data-linenumber="6685"><td class="num" id="LN6685">6685</td><td class="line"> gboolean do_not_extract = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6686"><td class="num" id="LN6686">6686</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6687"><td class="num" id="LN6687">6687</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6688"><td class="num" id="LN6688">6688</td><td class="line"> edata = extract_data_new (file_list,</td></tr>
+<tr class="codeline" data-linenumber="6689"><td class="num" id="LN6689">6689</td><td class="line"> extract_to_dir,</td></tr>
+<tr class="codeline" data-linenumber="6690"><td class="num" id="LN6690">6690</td><td class="line"> sub_dir,</td></tr>
+<tr class="codeline" data-linenumber="6691"><td class="num" id="LN6691">6691</td><td class="line"> base_dir,</td></tr>
+<tr class="codeline" data-linenumber="6692"><td class="num" id="LN6692">6692</td><td class="line"> skip_older,</td></tr>
+<tr class="codeline" data-linenumber="6693"><td class="num" id="LN6693">6693</td><td class="line"> overwrite,</td></tr>
+<tr class="codeline" data-linenumber="6694"><td class="num" id="LN6694">6694</td><td class="line"> junk_paths,</td></tr>
+<tr class="codeline" data-linenumber="6695"><td class="num" id="LN6695">6695</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6696"><td class="num" id="LN6696">6696</td><td class="line"> ask_to_open_destination);</td></tr>
+<tr class="codeline" data-linenumber="6697"><td class="num" id="LN6697">6697</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6698"><td class="num" id="LN6698">6698</td><td class="line"> fr_window_set_current_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="6699"><td class="num" id="LN6699">6699</td><td class="line"> FR_BATCH_ACTION_EXTRACT,</td></tr>
+<tr class="codeline" data-linenumber="6700"><td class="num" id="LN6700">6700</td><td class="line"> edata,</td></tr>
+<tr class="codeline" data-linenumber="6701"><td class="num" id="LN6701">6701</td><td class="line"> (GFreeFunc) extract_data_free);</td></tr>
+<tr class="codeline" data-linenumber="6702"><td class="num" id="LN6702">6702</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6703"><td class="num" id="LN6703">6703</td><td class="line"> <span class='keyword'>if</span> (archive_extract_check_disk_space_full (window-&gt;archive-&gt;command-&gt;files, extract_to_dir))</td></tr>
+<tr class="codeline" data-linenumber="6704"><td class="num" id="LN6704">6704</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="6705"><td class="num" id="LN6705">6705</td><td class="line"> GtkWidget *d;</td></tr>
+<tr class="codeline" data-linenumber="6706"><td class="num" id="LN6706">6706</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6707"><td class="num" id="LN6707">6707</td><td class="line"> d = _gtk_error_dialog_new (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6708"><td class="num" id="LN6708">6708</td><td class="line"> GTK_DIALOG_MODAL,</td></tr>
+<tr class="codeline" data-linenumber="6709"><td class="num" id="LN6709">6709</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6710"><td class="num" id="LN6710">6710</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Insufficient remaining disk space"</span>)<span class='macro_popup'>gettext ("Insufficient remaining disk space")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6711"><td class="num" id="LN6711">6711</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6712"><td class="num" id="LN6712">6712</td><td class="line"> gtk_dialog_run (<span class='macro'>GTK_DIALOG (d)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_dialog_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6713"><td class="num" id="LN6713">6713</td><td class="line"> gtk_widget_destroy(d);</td></tr>
+<tr class="codeline" data-linenumber="6714"><td class="num" id="LN6714">6714</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6715"><td class="num" id="LN6715">6715</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6716"><td class="num" id="LN6716">6716</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6717"><td class="num" id="LN6717">6717</td><td class="line"> <span class='keyword'>if</span> (archive_is_encrypted (window, edata-&gt;file_list) &amp;&amp; (window-&gt;priv-&gt;password == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="6718"><td class="num" id="LN6718">6718</td><td class="line"> dlg_ask_password (window);</td></tr>
+<tr class="codeline" data-linenumber="6719"><td class="num" id="LN6719">6719</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6720"><td class="num" id="LN6720">6720</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6721"><td class="num" id="LN6721">6721</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6722"><td class="num" id="LN6722">6722</td><td class="line"> <span class='keyword'>if</span> (! uri_is_dir (edata-&gt;extract_to_dir)) {</td></tr>
+<tr class="codeline" data-linenumber="6723"><td class="num" id="LN6723">6723</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6724"><td class="num" id="LN6724">6724</td><td class="line"> <span class='comment'>/* There is nothing to ask if the destination doesn't exist. */</span></td></tr>
+<tr class="codeline" data-linenumber="6725"><td class="num" id="LN6725">6725</td><td class="line"> <span class='keyword'>if</span> (edata-&gt;overwrite == FR_OVERWRITE_ASK)</td></tr>
+<tr class="codeline" data-linenumber="6726"><td class="num" id="LN6726">6726</td><td class="line"> edata-&gt;overwrite = FR_OVERWRITE_YES;</td></tr>
+<tr class="codeline" data-linenumber="6727"><td class="num" id="LN6727">6727</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6728"><td class="num" id="LN6728">6728</td><td class="line"> <span class='keyword'>if</span> (! ForceDirectoryCreation) {</td></tr>
+<tr class="codeline" data-linenumber="6729"><td class="num" id="LN6729">6729</td><td class="line"> GtkWidget *d;</td></tr>
+<tr class="codeline" data-linenumber="6730"><td class="num" id="LN6730">6730</td><td class="line"> <span class='keyword'>int</span> r;</td></tr>
+<tr class="codeline" data-linenumber="6731"><td class="num" id="LN6731">6731</td><td class="line"> <span class='keyword'>char</span> *folder_name;</td></tr>
+<tr class="codeline" data-linenumber="6732"><td class="num" id="LN6732">6732</td><td class="line"> <span class='keyword'>char</span> *msg;</td></tr>
+<tr class="codeline" data-linenumber="6733"><td class="num" id="LN6733">6733</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6734"><td class="num" id="LN6734">6734</td><td class="line"> folder_name = g_filename_display_name (edata-&gt;extract_to_dir);</td></tr>
+<tr class="codeline" data-linenumber="6735"><td class="num" id="LN6735">6735</td><td class="line"> msg = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Destination folder \"%s\" does not exist.\n\nDo you want to create it?"</span>)<span class='macro_popup'>gettext ("Destination folder \"%s\" does not exist.\n\nDo you want to create it?"<br>)</span></span>, folder_name);</td></tr>
+<tr class="codeline" data-linenumber="6736"><td class="num" id="LN6736">6736</td><td class="line"> g_free (folder_name);</td></tr>
+<tr class="codeline" data-linenumber="6737"><td class="num" id="LN6737">6737</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6738"><td class="num" id="LN6738">6738</td><td class="line"> d = _gtk_message_dialog_new (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6739"><td class="num" id="LN6739">6739</td><td class="line"> GTK_DIALOG_MODAL,</td></tr>
+<tr class="codeline" data-linenumber="6740"><td class="num" id="LN6740">6740</td><td class="line"> <span class='string_literal'>"dialog-question"</span>,</td></tr>
+<tr class="codeline" data-linenumber="6741"><td class="num" id="LN6741">6741</td><td class="line"> msg,</td></tr>
+<tr class="codeline" data-linenumber="6742"><td class="num" id="LN6742">6742</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6743"><td class="num" id="LN6743">6743</td><td class="line"> <span class='string_literal'>"gtk-cancel"</span>, GTK_RESPONSE_CANCEL,</td></tr>
+<tr class="codeline" data-linenumber="6744"><td class="num" id="LN6744">6744</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Create _Folder"</span>)<span class='macro_popup'>gettext ("Create _Folder")</span></span>, GTK_RESPONSE_YES,</td></tr>
+<tr class="codeline" data-linenumber="6745"><td class="num" id="LN6745">6745</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6746"><td class="num" id="LN6746">6746</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6747"><td class="num" id="LN6747">6747</td><td class="line"> gtk_dialog_set_default_response (<span class='macro'>GTK_DIALOG (d)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_dialog_get_type ()))))))</span></span>, GTK_RESPONSE_YES);</td></tr>
+<tr class="codeline" data-linenumber="6748"><td class="num" id="LN6748">6748</td><td class="line"> r = gtk_dialog_run (<span class='macro'>GTK_DIALOG (d)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_dialog_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6749"><td class="num" id="LN6749">6749</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (d)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6750"><td class="num" id="LN6750">6750</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6751"><td class="num" id="LN6751">6751</td><td class="line"> g_free (msg);</td></tr>
+<tr class="codeline" data-linenumber="6752"><td class="num" id="LN6752">6752</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6753"><td class="num" id="LN6753">6753</td><td class="line"> <span class='keyword'>if</span> (r != GTK_RESPONSE_YES)</td></tr>
+<tr class="codeline" data-linenumber="6754"><td class="num" id="LN6754">6754</td><td class="line"> do_not_extract = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6755"><td class="num" id="LN6755">6755</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6756"><td class="num" id="LN6756">6756</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6757"><td class="num" id="LN6757">6757</td><td class="line"> <span class='keyword'>if</span> (! do_not_extract &amp;&amp; ! ensure_dir_exists (edata-&gt;extract_to_dir, 0755, &amp;error)) {</td></tr>
+<tr class="codeline" data-linenumber="6758"><td class="num" id="LN6758">6758</td><td class="line"> GtkWidget *d;</td></tr>
+<tr class="codeline" data-linenumber="6759"><td class="num" id="LN6759">6759</td><td class="line"> <span class='keyword'>char</span> *details;</td></tr>
+<tr class="codeline" data-linenumber="6760"><td class="num" id="LN6760">6760</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6761"><td class="num" id="LN6761">6761</td><td class="line"> details = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Could not create the destination folder: %s."</span>)<span class='macro_popup'>gettext ("Could not create the destination folder: %s.")</span></span>, error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="6762"><td class="num" id="LN6762">6762</td><td class="line"> d = _gtk_error_dialog_new (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6763"><td class="num" id="LN6763">6763</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="6764"><td class="num" id="LN6764">6764</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6765"><td class="num" id="LN6765">6765</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Extraction not performed"</span>)<span class='macro_popup'>gettext ("Extraction not performed")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6766"><td class="num" id="LN6766">6766</td><td class="line"> <span class='string_literal'>"%s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="6767"><td class="num" id="LN6767">6767</td><td class="line"> details);</td></tr>
+<tr class="codeline" data-linenumber="6768"><td class="num" id="LN6768">6768</td><td class="line"> g_clear_error (&amp;error);</td></tr>
+<tr class="codeline" data-linenumber="6769"><td class="num" id="LN6769">6769</td><td class="line"> fr_window_show_error_dialog (window, d, <span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>, details);</td></tr>
+<tr class="codeline" data-linenumber="6770"><td class="num" id="LN6770">6770</td><td class="line"> fr_window_stop_batch (window);</td></tr>
+<tr class="codeline" data-linenumber="6771"><td class="num" id="LN6771">6771</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6772"><td class="num" id="LN6772">6772</td><td class="line"> g_free (details);</td></tr>
+<tr class="codeline" data-linenumber="6773"><td class="num" id="LN6773">6773</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6774"><td class="num" id="LN6774">6774</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6775"><td class="num" id="LN6775">6775</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6776"><td class="num" id="LN6776">6776</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6777"><td class="num" id="LN6777">6777</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6778"><td class="num" id="LN6778">6778</td><td class="line"> <span class='keyword'>if</span> (do_not_extract) {</td></tr>
+<tr class="codeline" data-linenumber="6779"><td class="num" id="LN6779">6779</td><td class="line"> GtkWidget *d;</td></tr>
+<tr class="codeline" data-linenumber="6780"><td class="num" id="LN6780">6780</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6781"><td class="num" id="LN6781">6781</td><td class="line"> d = _gtk_message_dialog_new (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6782"><td class="num" id="LN6782">6782</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="6783"><td class="num" id="LN6783">6783</td><td class="line"> <span class='string_literal'>"dialog-warning"</span>,</td></tr>
+<tr class="codeline" data-linenumber="6784"><td class="num" id="LN6784">6784</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Extraction not performed"</span>)<span class='macro_popup'>gettext ("Extraction not performed")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6785"><td class="num" id="LN6785">6785</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6786"><td class="num" id="LN6786">6786</td><td class="line"> <span class='string_literal'>"gtk-ok"</span>, GTK_RESPONSE_OK,</td></tr>
+<tr class="codeline" data-linenumber="6787"><td class="num" id="LN6787">6787</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6788"><td class="num" id="LN6788">6788</td><td class="line"> gtk_dialog_set_default_response (<span class='macro'>GTK_DIALOG (d)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((d)), ((gtk_dialog_get_type ()))))))</span></span>, GTK_RESPONSE_OK);</td></tr>
+<tr class="codeline" data-linenumber="6789"><td class="num" id="LN6789">6789</td><td class="line"> fr_window_show_error_dialog (window, d, <span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>, <span class='macro'>_(<span class='string_literal'>"Extraction not performed"</span>)<span class='macro_popup'>gettext ("Extraction not performed")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6790"><td class="num" id="LN6790">6790</td><td class="line"> fr_window_stop_batch (window);</td></tr>
+<tr class="codeline" data-linenumber="6791"><td class="num" id="LN6791">6791</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6792"><td class="num" id="LN6792">6792</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6793"><td class="num" id="LN6793">6793</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6794"><td class="num" id="LN6794">6794</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6795"><td class="num" id="LN6795">6795</td><td class="line"> <span class='keyword'>if</span> (edata-&gt;overwrite == FR_OVERWRITE_ASK) {</td></tr>
+<tr class="codeline" data-linenumber="6796"><td class="num" id="LN6796">6796</td><td class="line"> OverwriteData *odata;</td></tr>
+<tr class="codeline" data-linenumber="6797"><td class="num" id="LN6797">6797</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6798"><td class="num" id="LN6798">6798</td><td class="line"> odata = <span class='macro'>g_new0 (OverwriteData, 1)<span class='macro_popup'>((OverwriteData *) g_malloc0_n ((1), sizeof (OverwriteData)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6799"><td class="num" id="LN6799">6799</td><td class="line"> odata-&gt;window = window;</td></tr>
+<tr class="codeline" data-linenumber="6800"><td class="num" id="LN6800">6800</td><td class="line"> odata-&gt;edata = edata;</td></tr>
+<tr class="codeline" data-linenumber="6801"><td class="num" id="LN6801">6801</td><td class="line"> odata-&gt;extract_all = (edata-&gt;file_list == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) || (g_list_length (edata-&gt;file_list) == window-&gt;archive-&gt;command-&gt;files-&gt;len);</td></tr>
+<tr class="codeline" data-linenumber="6802"><td class="num" id="LN6802">6802</td><td class="line"> <span class='keyword'>if</span> (edata-&gt;file_list == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="6803"><td class="num" id="LN6803">6803</td><td class="line"> edata-&gt;file_list = fr_window_get_file_list (window);</td></tr>
+<tr class="codeline" data-linenumber="6804"><td class="num" id="LN6804">6804</td><td class="line"> odata-&gt;current_file = odata-&gt;edata-&gt;file_list;</td></tr>
+<tr class="codeline" data-linenumber="6805"><td class="num" id="LN6805">6805</td><td class="line"> _fr_window_ask_overwrite_dialog (odata);</td></tr>
+<tr class="codeline" data-linenumber="6806"><td class="num" id="LN6806">6806</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6807"><td class="num" id="LN6807">6807</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="6808"><td class="num" id="LN6808">6808</td><td class="line"> _fr_window_archive_extract_from_edata (window, edata);</td></tr>
+<tr class="codeline" data-linenumber="6809"><td class="num" id="LN6809">6809</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6810"><td class="num" id="LN6810">6810</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6811"><td class="num" id="LN6811">6811</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6812"><td class="num" id="LN6812">6812</td><td class="line">fr_window_archive_test (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="6813"><td class="num" id="LN6813">6813</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6814"><td class="num" id="LN6814">6814</td><td class="line"> fr_window_set_current_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="6815"><td class="num" id="LN6815">6815</td><td class="line"> FR_BATCH_ACTION_TEST,</td></tr>
+<tr class="codeline" data-linenumber="6816"><td class="num" id="LN6816">6816</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="6817"><td class="num" id="LN6817">6817</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6818"><td class="num" id="LN6818">6818</td><td class="line"> fr_archive_test (window-&gt;archive, window-&gt;priv-&gt;password);</td></tr>
+<tr class="codeline" data-linenumber="6819"><td class="num" id="LN6819">6819</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6820"><td class="num" id="LN6820">6820</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6821"><td class="num" id="LN6821">6821</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6822"><td class="num" id="LN6822">6822</td><td class="line">fr_window_set_password (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6823"><td class="num" id="LN6823">6823</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *password)</td></tr>
+<tr class="codeline" data-linenumber="6824"><td class="num" id="LN6824">6824</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6825"><td class="num" id="LN6825">6825</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6826"><td class="num" id="LN6826">6826</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6827"><td class="num" id="LN6827">6827</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;password != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="6828"><td class="num" id="LN6828">6828</td><td class="line"> g_free (window-&gt;priv-&gt;password);</td></tr>
+<tr class="codeline" data-linenumber="6829"><td class="num" id="LN6829">6829</td><td class="line"> window-&gt;priv-&gt;password = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6830"><td class="num" id="LN6830">6830</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6831"><td class="num" id="LN6831">6831</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6832"><td class="num" id="LN6832">6832</td><td class="line"> <span class='keyword'>if</span> ((password != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (password[0] != '\0'))</td></tr>
+<tr class="codeline" data-linenumber="6833"><td class="num" id="LN6833">6833</td><td class="line"> window-&gt;priv-&gt;password = <span class='macro'>g_strdup (password)<span class='macro_popup'>g_strdup_inline (password)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6834"><td class="num" id="LN6834">6834</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6835"><td class="num" id="LN6835">6835</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6836"><td class="num" id="LN6836">6836</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6837"><td class="num" id="LN6837">6837</td><td class="line">fr_window_set_password_for_paste (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6838"><td class="num" id="LN6838">6838</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *password)</td></tr>
+<tr class="codeline" data-linenumber="6839"><td class="num" id="LN6839">6839</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6840"><td class="num" id="LN6840">6840</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6841"><td class="num" id="LN6841">6841</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6842"><td class="num" id="LN6842">6842</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;password_for_paste != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="6843"><td class="num" id="LN6843">6843</td><td class="line"> g_free (window-&gt;priv-&gt;password_for_paste);</td></tr>
+<tr class="codeline" data-linenumber="6844"><td class="num" id="LN6844">6844</td><td class="line"> window-&gt;priv-&gt;password_for_paste = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6845"><td class="num" id="LN6845">6845</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6846"><td class="num" id="LN6846">6846</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6847"><td class="num" id="LN6847">6847</td><td class="line"> <span class='keyword'>if</span> ((password != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (password[0] != '\0'))</td></tr>
+<tr class="codeline" data-linenumber="6848"><td class="num" id="LN6848">6848</td><td class="line"> window-&gt;priv-&gt;password_for_paste = <span class='macro'>g_strdup (password)<span class='macro_popup'>g_strdup_inline (password)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6849"><td class="num" id="LN6849">6849</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6850"><td class="num" id="LN6850">6850</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6851"><td class="num" id="LN6851">6851</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="6852"><td class="num" id="LN6852">6852</td><td class="line">fr_window_get_password (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="6853"><td class="num" id="LN6853">6853</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6854"><td class="num" id="LN6854">6854</td><td class="line"> <span class='macro'>g_return_val_if_fail (window != NULL, NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6855"><td class="num" id="LN6855">6855</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6856"><td class="num" id="LN6856">6856</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;password;</td></tr>
+<tr class="codeline" data-linenumber="6857"><td class="num" id="LN6857">6857</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6858"><td class="num" id="LN6858">6858</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6859"><td class="num" id="LN6859">6859</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6860"><td class="num" id="LN6860">6860</td><td class="line">fr_window_set_encrypt_header (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6861"><td class="num" id="LN6861">6861</td><td class="line"> gboolean encrypt_header)</td></tr>
+<tr class="codeline" data-linenumber="6862"><td class="num" id="LN6862">6862</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6863"><td class="num" id="LN6863">6863</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6864"><td class="num" id="LN6864">6864</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6865"><td class="num" id="LN6865">6865</td><td class="line"> window-&gt;priv-&gt;encrypt_header = encrypt_header;</td></tr>
+<tr class="codeline" data-linenumber="6866"><td class="num" id="LN6866">6866</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6867"><td class="num" id="LN6867">6867</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6868"><td class="num" id="LN6868">6868</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="6869"><td class="num" id="LN6869">6869</td><td class="line">fr_window_get_encrypt_header (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="6870"><td class="num" id="LN6870">6870</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6871"><td class="num" id="LN6871">6871</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;encrypt_header;</td></tr>
+<tr class="codeline" data-linenumber="6872"><td class="num" id="LN6872">6872</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6873"><td class="num" id="LN6873">6873</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6874"><td class="num" id="LN6874">6874</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6875"><td class="num" id="LN6875">6875</td><td class="line">fr_window_set_compression (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6876"><td class="num" id="LN6876">6876</td><td class="line"> FrCompression compression)</td></tr>
+<tr class="codeline" data-linenumber="6877"><td class="num" id="LN6877">6877</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6878"><td class="num" id="LN6878">6878</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6879"><td class="num" id="LN6879">6879</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6880"><td class="num" id="LN6880">6880</td><td class="line"> window-&gt;priv-&gt;compression = compression;</td></tr>
+<tr class="codeline" data-linenumber="6881"><td class="num" id="LN6881">6881</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6882"><td class="num" id="LN6882">6882</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6883"><td class="num" id="LN6883">6883</td><td class="line">FrCompression</td></tr>
+<tr class="codeline" data-linenumber="6884"><td class="num" id="LN6884">6884</td><td class="line">fr_window_get_compression (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="6885"><td class="num" id="LN6885">6885</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6886"><td class="num" id="LN6886">6886</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;compression;</td></tr>
+<tr class="codeline" data-linenumber="6887"><td class="num" id="LN6887">6887</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6888"><td class="num" id="LN6888">6888</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6889"><td class="num" id="LN6889">6889</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6890"><td class="num" id="LN6890">6890</td><td class="line">fr_window_set_volume_size (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6891"><td class="num" id="LN6891">6891</td><td class="line"> guint volume_size)</td></tr>
+<tr class="codeline" data-linenumber="6892"><td class="num" id="LN6892">6892</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6893"><td class="num" id="LN6893">6893</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6894"><td class="num" id="LN6894">6894</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6895"><td class="num" id="LN6895">6895</td><td class="line"> window-&gt;priv-&gt;volume_size = volume_size;</td></tr>
+<tr class="codeline" data-linenumber="6896"><td class="num" id="LN6896">6896</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6897"><td class="num" id="LN6897">6897</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6898"><td class="num" id="LN6898">6898</td><td class="line">guint</td></tr>
+<tr class="codeline" data-linenumber="6899"><td class="num" id="LN6899">6899</td><td class="line">fr_window_get_volume_size (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="6900"><td class="num" id="LN6900">6900</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6901"><td class="num" id="LN6901">6901</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;volume_size;</td></tr>
+<tr class="codeline" data-linenumber="6902"><td class="num" id="LN6902">6902</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6903"><td class="num" id="LN6903">6903</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6904"><td class="num" id="LN6904">6904</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6905"><td class="num" id="LN6905">6905</td><td class="line">fr_window_go_to_location (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6906"><td class="num" id="LN6906">6906</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *path,</td></tr>
+<tr class="codeline" data-linenumber="6907"><td class="num" id="LN6907">6907</td><td class="line"> gboolean force_update)</td></tr>
+<tr class="codeline" data-linenumber="6908"><td class="num" id="LN6908">6908</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6909"><td class="num" id="LN6909">6909</td><td class="line"> <span class='keyword'>char</span> *dir;</td></tr>
+<tr class="codeline" data-linenumber="6910"><td class="num" id="LN6910">6910</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6911"><td class="num" id="LN6911">6911</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6912"><td class="num" id="LN6912">6912</td><td class="line"> <span class='macro'>g_return_if_fail (path != NULL)<span class='macro_popup'>do { if ((path != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "path != NULL"); return<br>; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6913"><td class="num" id="LN6913">6913</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6914"><td class="num" id="LN6914">6914</td><td class="line"> <span class='keyword'>if</span> (force_update) {</td></tr>
+<tr class="codeline" data-linenumber="6915"><td class="num" id="LN6915">6915</td><td class="line"> g_free (window-&gt;priv-&gt;last_location);</td></tr>
+<tr class="codeline" data-linenumber="6916"><td class="num" id="LN6916">6916</td><td class="line"> window-&gt;priv-&gt;last_location = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6917"><td class="num" id="LN6917">6917</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6918"><td class="num" id="LN6918">6918</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6919"><td class="num" id="LN6919">6919</td><td class="line"> <span class='keyword'>if</span> (path[strlen (path) - 1] != '/')</td></tr>
+<tr class="codeline" data-linenumber="6920"><td class="num" id="LN6920">6920</td><td class="line"> dir = g_strconcat (path, <span class='string_literal'>"/"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6921"><td class="num" id="LN6921">6921</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="6922"><td class="num" id="LN6922">6922</td><td class="line"> dir = <span class='macro'>g_strdup (path)<span class='macro_popup'>g_strdup_inline (path)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6923"><td class="num" id="LN6923">6923</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6924"><td class="num" id="LN6924">6924</td><td class="line"> <span class='keyword'>if</span> ((window-&gt;priv-&gt;last_location == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) || (strcmp (window-&gt;priv-&gt;last_location, dir) != 0)) {</td></tr>
+<tr class="codeline" data-linenumber="6925"><td class="num" id="LN6925">6925</td><td class="line"> g_free (window-&gt;priv-&gt;last_location);</td></tr>
+<tr class="codeline" data-linenumber="6926"><td class="num" id="LN6926">6926</td><td class="line"> window-&gt;priv-&gt;last_location = dir;</td></tr>
+<tr class="codeline" data-linenumber="6927"><td class="num" id="LN6927">6927</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6928"><td class="num" id="LN6928">6928</td><td class="line"> fr_window_history_add (window, dir);</td></tr>
+<tr class="codeline" data-linenumber="6929"><td class="num" id="LN6929">6929</td><td class="line"> fr_window_update_file_list (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6930"><td class="num" id="LN6930">6930</td><td class="line"> fr_window_update_current_location (window);</td></tr>
+<tr class="codeline" data-linenumber="6931"><td class="num" id="LN6931">6931</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6932"><td class="num" id="LN6932">6932</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="6933"><td class="num" id="LN6933">6933</td><td class="line"> g_free (dir);</td></tr>
+<tr class="codeline" data-linenumber="6934"><td class="num" id="LN6934">6934</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6935"><td class="num" id="LN6935">6935</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6936"><td class="num" id="LN6936">6936</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="6937"><td class="num" id="LN6937">6937</td><td class="line">fr_window_get_current_location (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="6938"><td class="num" id="LN6938">6938</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6939"><td class="num" id="LN6939">6939</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;history_current == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="6940"><td class="num" id="LN6940">6940</td><td class="line"> fr_window_history_add (window, <span class='string_literal'>"/"</span>);</td></tr>
+<tr class="codeline" data-linenumber="6941"><td class="num" id="LN6941">6941</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;history_current-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="6942"><td class="num" id="LN6942">6942</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="6943"><td class="num" id="LN6943">6943</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="6944"><td class="num" id="LN6944">6944</td><td class="line"> <span class='keyword'>return</span> (<span class='keyword'>const</span> <span class='keyword'>char</span>*) window-&gt;priv-&gt;history_current-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="6945"><td class="num" id="LN6945">6945</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6946"><td class="num" id="LN6946">6946</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6947"><td class="num" id="LN6947">6947</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6948"><td class="num" id="LN6948">6948</td><td class="line">fr_window_go_up_one_level (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="6949"><td class="num" id="LN6949">6949</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6950"><td class="num" id="LN6950">6950</td><td class="line"> <span class='keyword'>char</span> *parent_dir;</td></tr>
+<tr class="codeline" data-linenumber="6951"><td class="num" id="LN6951">6951</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6952"><td class="num" id="LN6952">6952</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6953"><td class="num" id="LN6953">6953</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6954"><td class="num" id="LN6954">6954</td><td class="line"> parent_dir = get_parent_dir (fr_window_get_current_location (window));</td></tr>
+<tr class="codeline" data-linenumber="6955"><td class="num" id="LN6955">6955</td><td class="line"> fr_window_go_to_location (window, parent_dir, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6956"><td class="num" id="LN6956">6956</td><td class="line"> g_free (parent_dir);</td></tr>
+<tr class="codeline" data-linenumber="6957"><td class="num" id="LN6957">6957</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6958"><td class="num" id="LN6958">6958</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6959"><td class="num" id="LN6959">6959</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6960"><td class="num" id="LN6960">6960</td><td class="line">fr_window_go_back (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="6961"><td class="num" id="LN6961">6961</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6962"><td class="num" id="LN6962">6962</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6963"><td class="num" id="LN6963">6963</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6964"><td class="num" id="LN6964">6964</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;history == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="6965"><td class="num" id="LN6965">6965</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6966"><td class="num" id="LN6966">6966</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;history_current == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="6967"><td class="num" id="LN6967">6967</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6968"><td class="num" id="LN6968">6968</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;history_current-&gt;next == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="6969"><td class="num" id="LN6969">6969</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6970"><td class="num" id="LN6970">6970</td><td class="line"> window-&gt;priv-&gt;history_current = window-&gt;priv-&gt;history_current-&gt;next;</td></tr>
+<tr class="codeline" data-linenumber="6971"><td class="num" id="LN6971">6971</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6972"><td class="num" id="LN6972">6972</td><td class="line"> fr_window_go_to_location (window, window-&gt;priv-&gt;history_current-&gt;data, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6973"><td class="num" id="LN6973">6973</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6974"><td class="num" id="LN6974">6974</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6975"><td class="num" id="LN6975">6975</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6976"><td class="num" id="LN6976">6976</td><td class="line">fr_window_go_forward (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="6977"><td class="num" id="LN6977">6977</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6978"><td class="num" id="LN6978">6978</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6979"><td class="num" id="LN6979">6979</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6980"><td class="num" id="LN6980">6980</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;history == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="6981"><td class="num" id="LN6981">6981</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6982"><td class="num" id="LN6982">6982</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;history_current == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="6983"><td class="num" id="LN6983">6983</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6984"><td class="num" id="LN6984">6984</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;history_current-&gt;prev == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="6985"><td class="num" id="LN6985">6985</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="6986"><td class="num" id="LN6986">6986</td><td class="line"> window-&gt;priv-&gt;history_current = window-&gt;priv-&gt;history_current-&gt;prev;</td></tr>
+<tr class="codeline" data-linenumber="6987"><td class="num" id="LN6987">6987</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6988"><td class="num" id="LN6988">6988</td><td class="line"> fr_window_go_to_location (window, window-&gt;priv-&gt;history_current-&gt;data, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="6989"><td class="num" id="LN6989">6989</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="6990"><td class="num" id="LN6990">6990</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6991"><td class="num" id="LN6991">6991</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="6992"><td class="num" id="LN6992">6992</td><td class="line">fr_window_set_list_mode (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="6993"><td class="num" id="LN6993">6993</td><td class="line"> FrWindowListMode list_mode)</td></tr>
+<tr class="codeline" data-linenumber="6994"><td class="num" id="LN6994">6994</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="6995"><td class="num" id="LN6995">6995</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="6996"><td class="num" id="LN6996">6996</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="6997"><td class="num" id="LN6997">6997</td><td class="line"> window-&gt;priv-&gt;list_mode = window-&gt;priv-&gt;last_list_mode = list_mode;</td></tr>
+<tr class="codeline" data-linenumber="6998"><td class="num" id="LN6998">6998</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;list_mode == FR_WINDOW_LIST_MODE_FLAT) {</td></tr>
+<tr class="codeline" data-linenumber="6999"><td class="num" id="LN6999">6999</td><td class="line"> fr_window_history_clear (window);</td></tr>
+<tr class="codeline" data-linenumber="7000"><td class="num" id="LN7000">7000</td><td class="line"> fr_window_history_add (window, <span class='string_literal'>"/"</span>);</td></tr>
+<tr class="codeline" data-linenumber="7001"><td class="num" id="LN7001">7001</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7002"><td class="num" id="LN7002">7002</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7003"><td class="num" id="LN7003">7003</td><td class="line"> g_settings_set_enum (window-&gt;priv-&gt;settings_listing, <span class='macro'>PREF_LISTING_LIST_MODE<span class='macro_popup'>"list-mode"</span></span>, window-&gt;priv-&gt;last_list_mode);</td></tr>
+<tr class="codeline" data-linenumber="7004"><td class="num" id="LN7004">7004</td><td class="line"> g_settings_set_boolean (window-&gt;priv-&gt;settings_listing, <span class='macro'>PREF_LISTING_SHOW_PATH<span class='macro_popup'>"show-path"</span></span>, (window-&gt;priv-&gt;list_mode == FR_WINDOW_LIST_MODE_FLAT));</td></tr>
+<tr class="codeline" data-linenumber="7005"><td class="num" id="LN7005">7005</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7006"><td class="num" id="LN7006">7006</td><td class="line"> fr_window_update_file_list (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7007"><td class="num" id="LN7007">7007</td><td class="line"> fr_window_update_dir_tree (window);</td></tr>
+<tr class="codeline" data-linenumber="7008"><td class="num" id="LN7008">7008</td><td class="line"> fr_window_update_current_location (window);</td></tr>
+<tr class="codeline" data-linenumber="7009"><td class="num" id="LN7009">7009</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7010"><td class="num" id="LN7010">7010</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7011"><td class="num" id="LN7011">7011</td><td class="line">GtkTreeModel *</td></tr>
+<tr class="codeline" data-linenumber="7012"><td class="num" id="LN7012">7012</td><td class="line">fr_window_get_list_store (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="7013"><td class="num" id="LN7013">7013</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7014"><td class="num" id="LN7014">7014</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;list_store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_store)), ((gtk_tree_model_get_type<br> ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7015"><td class="num" id="LN7015">7015</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7016"><td class="num" id="LN7016">7016</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7017"><td class="num" id="LN7017">7017</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7018"><td class="num" id="LN7018">7018</td><td class="line">fr_window_find (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="7019"><td class="num" id="LN7019">7019</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7020"><td class="num" id="LN7020">7020</td><td class="line"> window-&gt;priv-&gt;filter_mode = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7021"><td class="num" id="LN7021">7021</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;filter_bar);</td></tr>
+<tr class="codeline" data-linenumber="7022"><td class="num" id="LN7022">7022</td><td class="line"> gtk_widget_grab_focus (window-&gt;priv-&gt;filter_entry);</td></tr>
+<tr class="codeline" data-linenumber="7023"><td class="num" id="LN7023">7023</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7024"><td class="num" id="LN7024">7024</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7025"><td class="num" id="LN7025">7025</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7026"><td class="num" id="LN7026">7026</td><td class="line">fr_window_select_all (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="7027"><td class="num" id="LN7027">7027</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7028"><td class="num" id="LN7028">7028</td><td class="line"> gtk_tree_selection_select_all (gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="7029"><td class="num" id="LN7029">7029</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7030"><td class="num" id="LN7030">7030</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7031"><td class="num" id="LN7031">7031</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7032"><td class="num" id="LN7032">7032</td><td class="line">fr_window_unselect_all (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="7033"><td class="num" id="LN7033">7033</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7034"><td class="num" id="LN7034">7034</td><td class="line"> gtk_tree_selection_unselect_all (gtk_tree_view_get_selection (<span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="7035"><td class="num" id="LN7035">7035</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7036"><td class="num" id="LN7036">7036</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7037"><td class="num" id="LN7037">7037</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7038"><td class="num" id="LN7038">7038</td><td class="line">fr_window_stop (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="7039"><td class="num" id="LN7039">7039</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7040"><td class="num" id="LN7040">7040</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;stoppable)</td></tr>
+<tr class="codeline" data-linenumber="7041"><td class="num" id="LN7041">7041</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="7042"><td class="num" id="LN7042">7042</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7043"><td class="num" id="LN7043">7043</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;activity_ref &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="7044"><td class="num" id="LN7044">7044</td><td class="line"> fr_archive_stop (window-&gt;archive);</td></tr>
+<tr class="codeline" data-linenumber="7045"><td class="num" id="LN7045">7045</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7046"><td class="num" id="LN7046">7046</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;convert_data.converting)</td></tr>
+<tr class="codeline" data-linenumber="7047"><td class="num" id="LN7047">7047</td><td class="line"> fr_window_convert_data_free (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7048"><td class="num" id="LN7048">7048</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7049"><td class="num" id="LN7049">7049</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7050"><td class="num" id="LN7050">7050</td><td class="line"><span class='comment'>/* -- start/stop activity mode -- */</span></td></tr>
+<tr class="codeline" data-linenumber="7051"><td class="num" id="LN7051">7051</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7052"><td class="num" id="LN7052">7052</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="7053"><td class="num" id="LN7053">7053</td><td class="line">activity_cb (gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="7054"><td class="num" id="LN7054">7054</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7055"><td class="num" id="LN7055">7055</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="7056"><td class="num" id="LN7056">7056</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7057"><td class="num" id="LN7057">7057</td><td class="line"> <span class='keyword'>if</span> ((window-&gt;priv-&gt;pd_progress_bar != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; window-&gt;priv-&gt;progress_pulse)</td></tr>
+<tr class="codeline" data-linenumber="7058"><td class="num" id="LN7058">7058</td><td class="line"> gtk_progress_bar_pulse (<span class='macro'>GTK_PROGRESS_BAR (window-&gt;priv-&gt;pd_progress_bar)<span class='macro_popup'>((((GtkProgressBar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;pd_progress_bar)), ((gtk_progress_bar_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7059"><td class="num" id="LN7059">7059</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_pulse)</td></tr>
+<tr class="codeline" data-linenumber="7060"><td class="num" id="LN7060">7060</td><td class="line"> gtk_progress_bar_pulse (<span class='macro'>GTK_PROGRESS_BAR (window-&gt;priv-&gt;progress_bar)<span class='macro_popup'>((((GtkProgressBar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_bar)), ((gtk_progress_bar_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7061"><td class="num" id="LN7061">7061</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7062"><td class="num" id="LN7062">7062</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7063"><td class="num" id="LN7063">7063</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7064"><td class="num" id="LN7064">7064</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7065"><td class="num" id="LN7065">7065</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7066"><td class="num" id="LN7066">7066</td><td class="line">fr_window_start_activity_mode (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="7067"><td class="num" id="LN7067">7067</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7068"><td class="num" id="LN7068">7068</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7069"><td class="num" id="LN7069">7069</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7070"><td class="num" id="LN7070">7070</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;activity_ref++ &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="7071"><td class="num" id="LN7071">7071</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="7072"><td class="num" id="LN7072">7072</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7073"><td class="num" id="LN7073">7073</td><td class="line"> window-&gt;priv-&gt;activity_timeout_handle = g_timeout_add (<span class='macro'>ACTIVITY_DELAY<span class='macro_popup'>100</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7074"><td class="num" id="LN7074">7074</td><td class="line"> activity_cb,</td></tr>
+<tr class="codeline" data-linenumber="7075"><td class="num" id="LN7075">7075</td><td class="line"> window);</td></tr>
+<tr class="codeline" data-linenumber="7076"><td class="num" id="LN7076">7076</td><td class="line"> fr_window_update_sensitivity (window);</td></tr>
+<tr class="codeline" data-linenumber="7077"><td class="num" id="LN7077">7077</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7078"><td class="num" id="LN7078">7078</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7079"><td class="num" id="LN7079">7079</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7080"><td class="num" id="LN7080">7080</td><td class="line">fr_window_stop_activity_mode (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="7081"><td class="num" id="LN7081">7081</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7082"><td class="num" id="LN7082">7082</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7083"><td class="num" id="LN7083">7083</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7084"><td class="num" id="LN7084">7084</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;activity_ref == 0)</td></tr>
+<tr class="codeline" data-linenumber="7085"><td class="num" id="LN7085">7085</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="7086"><td class="num" id="LN7086">7086</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7087"><td class="num" id="LN7087">7087</td><td class="line"> window-&gt;priv-&gt;activity_ref--;</td></tr>
+<tr class="codeline" data-linenumber="7088"><td class="num" id="LN7088">7088</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7089"><td class="num" id="LN7089">7089</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;activity_ref &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="7090"><td class="num" id="LN7090">7090</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="7091"><td class="num" id="LN7091">7091</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7092"><td class="num" id="LN7092">7092</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;activity_timeout_handle == 0)</td></tr>
+<tr class="codeline" data-linenumber="7093"><td class="num" id="LN7093">7093</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="7094"><td class="num" id="LN7094">7094</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7095"><td class="num" id="LN7095">7095</td><td class="line"> g_source_remove (window-&gt;priv-&gt;activity_timeout_handle);</td></tr>
+<tr class="codeline" data-linenumber="7096"><td class="num" id="LN7096">7096</td><td class="line"> window-&gt;priv-&gt;activity_timeout_handle = 0;</td></tr>
+<tr class="codeline" data-linenumber="7097"><td class="num" id="LN7097">7097</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7098"><td class="num" id="LN7098">7098</td><td class="line"> <span class='keyword'>if</span> (! gtk_widget_get_realized (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="7099"><td class="num" id="LN7099">7099</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="7100"><td class="num" id="LN7100">7100</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7101"><td class="num" id="LN7101">7101</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_dialog != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="7102"><td class="num" id="LN7102">7102</td><td class="line"> gtk_progress_bar_set_fraction (<span class='macro'>GTK_PROGRESS_BAR (window-&gt;priv-&gt;pd_progress_bar)<span class='macro_popup'>((((GtkProgressBar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;pd_progress_bar)), ((gtk_progress_bar_get_type<br> ()))))))</span></span>, 0.0);</td></tr>
+<tr class="codeline" data-linenumber="7103"><td class="num" id="LN7103">7103</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7104"><td class="num" id="LN7104">7104</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;batch_mode) {</td></tr>
+<tr class="codeline" data-linenumber="7105"><td class="num" id="LN7105">7105</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_bar != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="7106"><td class="num" id="LN7106">7106</td><td class="line"> gtk_progress_bar_set_fraction (<span class='macro'>GTK_PROGRESS_BAR (window-&gt;priv-&gt;progress_bar)<span class='macro_popup'>((((GtkProgressBar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_bar)), ((gtk_progress_bar_get_type<br> ()))))))</span></span>, 0.0);</td></tr>
+<tr class="codeline" data-linenumber="7107"><td class="num" id="LN7107">7107</td><td class="line"> fr_window_update_sensitivity (window);</td></tr>
+<tr class="codeline" data-linenumber="7108"><td class="num" id="LN7108">7108</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7109"><td class="num" id="LN7109">7109</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7110"><td class="num" id="LN7110">7110</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7111"><td class="num" id="LN7111">7111</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="7112"><td class="num" id="LN7112">7112</td><td class="line">last_output_window__unrealize_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="7113"><td class="num" id="LN7113">7113</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="7114"><td class="num" id="LN7114">7114</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7115"><td class="num" id="LN7115">7115</td><td class="line"> pref_util_save_window_geometry (<span class='macro'>GTK_WINDOW (widget)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((gtk_window_get_type ()))))))</span></span>, <span class='macro'>LAST_OUTPUT_DIALOG_NAME<span class='macro_popup'>"last-output"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7116"><td class="num" id="LN7116">7116</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7117"><td class="num" id="LN7117">7117</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7118"><td class="num" id="LN7118">7118</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7119"><td class="num" id="LN7119">7119</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7120"><td class="num" id="LN7120">7120</td><td class="line">fr_window_view_last_output_print(GtkTextBuffer *text_buffer,</td></tr>
+<tr class="codeline" data-linenumber="7121"><td class="num" id="LN7121">7121</td><td class="line"> GtkTextIter *iter,</td></tr>
+<tr class="codeline" data-linenumber="7122"><td class="num" id="LN7122">7122</td><td class="line"> GList *scan)</td></tr>
+<tr class="codeline" data-linenumber="7123"><td class="num" id="LN7123">7123</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7124"><td class="num" id="LN7124">7124</td><td class="line"> <span class='keyword'>for</span> (; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="7125"><td class="num" id="LN7125">7125</td><td class="line"> <span class='keyword'>char</span> *line = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="7126"><td class="num" id="LN7126">7126</td><td class="line"> <span class='keyword'>char</span> *utf8_line;</td></tr>
+<tr class="codeline" data-linenumber="7127"><td class="num" id="LN7127">7127</td><td class="line"> gsize bytes_written;</td></tr>
+<tr class="codeline" data-linenumber="7128"><td class="num" id="LN7128">7128</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7129"><td class="num" id="LN7129">7129</td><td class="line"> utf8_line = g_locale_to_utf8 (line, -1, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, &amp;bytes_written, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7130"><td class="num" id="LN7130">7130</td><td class="line"> gtk_text_buffer_insert_with_tags_by_name (text_buffer,</td></tr>
+<tr class="codeline" data-linenumber="7131"><td class="num" id="LN7131">7131</td><td class="line"> iter,</td></tr>
+<tr class="codeline" data-linenumber="7132"><td class="num" id="LN7132">7132</td><td class="line"> utf8_line,</td></tr>
+<tr class="codeline" data-linenumber="7133"><td class="num" id="LN7133">7133</td><td class="line"> bytes_written,</td></tr>
+<tr class="codeline" data-linenumber="7134"><td class="num" id="LN7134">7134</td><td class="line"> <span class='string_literal'>"monospace"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7135"><td class="num" id="LN7135">7135</td><td class="line"> g_free (utf8_line);</td></tr>
+<tr class="codeline" data-linenumber="7136"><td class="num" id="LN7136">7136</td><td class="line"> gtk_text_buffer_insert (text_buffer, iter, <span class='string_literal'>"\n"</span>, 1);</td></tr>
+<tr class="codeline" data-linenumber="7137"><td class="num" id="LN7137">7137</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7138"><td class="num" id="LN7138">7138</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7139"><td class="num" id="LN7139">7139</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7140"><td class="num" id="LN7140">7140</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7141"><td class="num" id="LN7141">7141</td><td class="line">fr_window_view_last_output (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="7142"><td class="num" id="LN7142">7142</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *title)</td></tr>
+<tr class="codeline" data-linenumber="7143"><td class="num" id="LN7143">7143</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7144"><td class="num" id="LN7144">7144</td><td class="line"> GtkWidget *dialog;</td></tr>
+<tr class="codeline" data-linenumber="7145"><td class="num" id="LN7145">7145</td><td class="line"> GtkWidget *vbox;</td></tr>
+<tr class="codeline" data-linenumber="7146"><td class="num" id="LN7146">7146</td><td class="line"> GtkWidget *text_view;</td></tr>
+<tr class="codeline" data-linenumber="7147"><td class="num" id="LN7147">7147</td><td class="line"> GtkWidget *scrolled;</td></tr>
+<tr class="codeline" data-linenumber="7148"><td class="num" id="LN7148">7148</td><td class="line"> GtkTextBuffer *text_buffer;</td></tr>
+<tr class="codeline" data-linenumber="7149"><td class="num" id="LN7149">7149</td><td class="line"> GtkTextIter iter;</td></tr>
+<tr class="codeline" data-linenumber="7150"><td class="num" id="LN7150">7150</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7151"><td class="num" id="LN7151">7151</td><td class="line"> <span class='keyword'>if</span> (title == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="7152"><td class="num" id="LN7152">7152</td><td class="line"> title = <span class='macro'>_(<span class='string_literal'>"Last Output"</span>)<span class='macro_popup'>gettext ("Last Output")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7153"><td class="num" id="LN7153">7153</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7154"><td class="num" id="LN7154">7154</td><td class="line"> dialog = gtk_dialog_new_with_buttons (title,</td></tr>
+<tr class="codeline" data-linenumber="7155"><td class="num" id="LN7155">7155</td><td class="line"> <span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7156"><td class="num" id="LN7156">7156</td><td class="line"> <span class='comment'>/* Make this dialog modal, otherwise with most WMs</span></td></tr>
+<tr class="codeline" data-linenumber="7157"><td class="num" id="LN7157">7157</td><td class="line"> <span class='comment'>* the focus can’t be regained without the mouse. */</span></td></tr>
+<tr class="codeline" data-linenumber="7158"><td class="num" id="LN7158">7158</td><td class="line"> GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,</td></tr>
+<tr class="codeline" data-linenumber="7159"><td class="num" id="LN7159">7159</td><td class="line"> <span class='string_literal'>"gtk-close"</span>, GTK_RESPONSE_CLOSE,</td></tr>
+<tr class="codeline" data-linenumber="7160"><td class="num" id="LN7160">7160</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7161"><td class="num" id="LN7161">7161</td><td class="line"> gtk_dialog_set_default_response (<span class='macro'>GTK_DIALOG (dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_dialog_get_type ()))))))</span></span>, GTK_RESPONSE_CLOSE);</td></tr>
+<tr class="codeline" data-linenumber="7162"><td class="num" id="LN7162">7162</td><td class="line"> gtk_window_set_resizable (<span class='macro'>GTK_WINDOW (dialog)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_window_get_type ()))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7163"><td class="num" id="LN7163">7163</td><td class="line"> gtk_widget_set_size_request (dialog, 500, 300);</td></tr>
+<tr class="codeline" data-linenumber="7164"><td class="num" id="LN7164">7164</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7165"><td class="num" id="LN7165">7165</td><td class="line"> <span class='comment'>/* Add text */</span></td></tr>
+<tr class="codeline" data-linenumber="7166"><td class="num" id="LN7166">7166</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7167"><td class="num" id="LN7167">7167</td><td class="line"> scrolled = gtk_scrolled_window_new (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7168"><td class="num" id="LN7168">7168</td><td class="line"> gtk_scrolled_window_set_policy (<span class='macro'>GTK_SCROLLED_WINDOW (scrolled)<span class='macro_popup'>((((GtkScrolledWindow*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((scrolled)), ((gtk_scrolled_window_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7169"><td class="num" id="LN7169">7169</td><td class="line"> GTK_POLICY_AUTOMATIC,</td></tr>
+<tr class="codeline" data-linenumber="7170"><td class="num" id="LN7170">7170</td><td class="line"> GTK_POLICY_AUTOMATIC);</td></tr>
+<tr class="codeline" data-linenumber="7171"><td class="num" id="LN7171">7171</td><td class="line"> gtk_scrolled_window_set_shadow_type (<span class='macro'>GTK_SCROLLED_WINDOW (scrolled)<span class='macro_popup'>((((GtkScrolledWindow*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((scrolled)), ((gtk_scrolled_window_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7172"><td class="num" id="LN7172">7172</td><td class="line"> GTK_SHADOW_ETCHED_IN);</td></tr>
+<tr class="codeline" data-linenumber="7173"><td class="num" id="LN7173">7173</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7174"><td class="num" id="LN7174">7174</td><td class="line"> text_buffer = gtk_text_buffer_new (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7175"><td class="num" id="LN7175">7175</td><td class="line"> gtk_text_buffer_create_tag (text_buffer, <span class='string_literal'>"monospace"</span>,</td></tr>
+<tr class="codeline" data-linenumber="7176"><td class="num" id="LN7176">7176</td><td class="line"> <span class='string_literal'>"family"</span>, <span class='string_literal'>"monospace"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7177"><td class="num" id="LN7177">7177</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7178"><td class="num" id="LN7178">7178</td><td class="line"> text_view = gtk_text_view_new_with_buffer (text_buffer);</td></tr>
+<tr class="codeline" data-linenumber="7179"><td class="num" id="LN7179">7179</td><td class="line"> g_object_unref (text_buffer);</td></tr>
+<tr class="codeline" data-linenumber="7180"><td class="num" id="LN7180">7180</td><td class="line"> gtk_text_view_set_editable (<span class='macro'>GTK_TEXT_VIEW (text_view)<span class='macro_popup'>((((GtkTextView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((text_view)), ((gtk_text_view_get_type ()))))))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7181"><td class="num" id="LN7181">7181</td><td class="line"> <span class='comment'>/* Although this isn’t an editable text area, we do want the</span></td></tr>
+<tr class="codeline" data-linenumber="7182"><td class="num" id="LN7182">7182</td><td class="line"> <span class='comment'>* cursor for accessibility purposes. */</span></td></tr>
+<tr class="codeline" data-linenumber="7183"><td class="num" id="LN7183">7183</td><td class="line"> gtk_text_view_set_cursor_visible (<span class='macro'>GTK_TEXT_VIEW (text_view)<span class='macro_popup'>((((GtkTextView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((text_view)), ((gtk_text_view_get_type ()))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7184"><td class="num" id="LN7184">7184</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7185"><td class="num" id="LN7185">7185</td><td class="line"> <span class='comment'>/**/</span></td></tr>
+<tr class="codeline" data-linenumber="7186"><td class="num" id="LN7186">7186</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7187"><td class="num" id="LN7187">7187</td><td class="line"> vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);</td></tr>
+<tr class="codeline" data-linenumber="7188"><td class="num" id="LN7188">7188</td><td class="line"> gtk_container_set_border_width (<span class='macro'>GTK_CONTAINER (vbox)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((vbox)), ((gtk_container_get_type ()))))))</span></span>, 5);</td></tr>
+<tr class="codeline" data-linenumber="7189"><td class="num" id="LN7189">7189</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7190"><td class="num" id="LN7190">7190</td><td class="line"> gtk_container_add (<span class='macro'>GTK_CONTAINER (scrolled)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((scrolled)), ((gtk_container_get_type ()))))))</span></span>, text_view);</td></tr>
+<tr class="codeline" data-linenumber="7191"><td class="num" id="LN7191">7191</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (vbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((vbox)), ((gtk_box_get_type ()))))))</span></span>, scrolled,</td></tr>
+<tr class="codeline" data-linenumber="7192"><td class="num" id="LN7192">7192</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="7193"><td class="num" id="LN7193">7193</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7194"><td class="num" id="LN7194">7194</td><td class="line"> gtk_widget_show_all (vbox);</td></tr>
+<tr class="codeline" data-linenumber="7195"><td class="num" id="LN7195">7195</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog)))<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_dialog_get_content_area (((((GtkDialog*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((dialog)), ((gtk_dialog_get_type ()))))))<br>))), ((gtk_box_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7196"><td class="num" id="LN7196">7196</td><td class="line"> vbox,</td></tr>
+<tr class="codeline" data-linenumber="7197"><td class="num" id="LN7197">7197</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="7198"><td class="num" id="LN7198">7198</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7199"><td class="num" id="LN7199">7199</td><td class="line"> <span class='comment'>/* signals */</span></td></tr>
+<tr class="codeline" data-linenumber="7200"><td class="num" id="LN7200">7200</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7201"><td class="num" id="LN7201">7201</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (dialog),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((dialog)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("response"), (((GCallback) (gtk_widget_destroy))), (<br>((void*)0)), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7202"><td class="num" id="LN7202">7202</td><td class="line"> <span class='string_literal'><span class='macro'>"response"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((dialog)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("response"), (((GCallback) (gtk_widget_destroy))), (<br>((void*)0)), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7203"><td class="num" id="LN7203">7203</td><td class="line"> <span class='macro'>G_CALLBACK (gtk_widget_destroy),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((dialog)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("response"), (((GCallback) (gtk_widget_destroy))), (<br>((void*)0)), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7204"><td class="num" id="LN7204">7204</td><td class="line"> <span class='macro'>NULL)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((dialog)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("response"), (((GCallback) (gtk_widget_destroy))), (<br>((void*)0)), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7205"><td class="num" id="LN7205">7205</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7206"><td class="num" id="LN7206">7206</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (dialog),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((dialog)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("unrealize"), (((GCallback) (last_output_window__unrealize_cb<br>))), (((void*)0)), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7207"><td class="num" id="LN7207">7207</td><td class="line"> <span class='string_literal'><span class='macro'>"unrealize"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((dialog)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("unrealize"), (((GCallback) (last_output_window__unrealize_cb<br>))), (((void*)0)), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7208"><td class="num" id="LN7208">7208</td><td class="line"> <span class='macro'>G_CALLBACK (last_output_window__unrealize_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((dialog)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("unrealize"), (((GCallback) (last_output_window__unrealize_cb<br>))), (((void*)0)), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7209"><td class="num" id="LN7209">7209</td><td class="line"> <span class='macro'>NULL)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((dialog)), (((GType) ((20) &lt;&lt; (2)))<br>)))))), ("unrealize"), (((GCallback) (last_output_window__unrealize_cb<br>))), (((void*)0)), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7210"><td class="num" id="LN7210">7210</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7211"><td class="num" id="LN7211">7211</td><td class="line"> gtk_text_buffer_get_iter_at_offset (text_buffer, &amp;iter, 0);</td></tr>
+<tr class="codeline" data-linenumber="7212"><td class="num" id="LN7212">7212</td><td class="line"> <span class='comment'>/* Show STDOUT of process */</span></td></tr>
+<tr class="codeline" data-linenumber="7213"><td class="num" id="LN7213">7213</td><td class="line"> fr_window_view_last_output_print(text_buffer, &amp;iter, window-&gt;archive-&gt;process-&gt;out.raw);</td></tr>
+<tr class="codeline" data-linenumber="7214"><td class="num" id="LN7214">7214</td><td class="line"> <span class='comment'>/* Show STDERR of process */</span></td></tr>
+<tr class="codeline" data-linenumber="7215"><td class="num" id="LN7215">7215</td><td class="line"> fr_window_view_last_output_print(text_buffer, &amp;iter, window-&gt;archive-&gt;process-&gt;err.raw);</td></tr>
+<tr class="codeline" data-linenumber="7216"><td class="num" id="LN7216">7216</td><td class="line"> <span class='comment'>/* place the cursor at the start */</span></td></tr>
+<tr class="codeline" data-linenumber="7217"><td class="num" id="LN7217">7217</td><td class="line"> gtk_text_buffer_get_iter_at_offset (text_buffer, &amp;iter, 0);</td></tr>
+<tr class="codeline" data-linenumber="7218"><td class="num" id="LN7218">7218</td><td class="line"> gtk_text_buffer_place_cursor(text_buffer, &amp;iter);</td></tr>
+<tr class="codeline" data-linenumber="7219"><td class="num" id="LN7219">7219</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7220"><td class="num" id="LN7220">7220</td><td class="line"> <span class='comment'>/**/</span></td></tr>
+<tr class="codeline" data-linenumber="7221"><td class="num" id="LN7221">7221</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7222"><td class="num" id="LN7222">7222</td><td class="line"> pref_util_restore_window_geometry (<span class='macro'>GTK_WINDOW (dialog)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_window_get_type ()))))))</span></span>, <span class='macro'>LAST_OUTPUT_DIALOG_NAME<span class='macro_popup'>"last-output"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7223"><td class="num" id="LN7223">7223</td><td class="line"> gtk_widget_grab_focus (text_view);</td></tr>
+<tr class="codeline" data-linenumber="7224"><td class="num" id="LN7224">7224</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7225"><td class="num" id="LN7225">7225</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7226"><td class="num" id="LN7226">7226</td><td class="line"><span class='comment'>/* -- fr_window_rename_selection -- */</span></td></tr>
+<tr class="codeline" data-linenumber="7227"><td class="num" id="LN7227">7227</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7228"><td class="num" id="LN7228">7228</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span> {</td></tr>
+<tr class="codeline" data-linenumber="7229"><td class="num" id="LN7229">7229</td><td class="line"> <span class='keyword'>char</span> *path_to_rename;</td></tr>
+<tr class="codeline" data-linenumber="7230"><td class="num" id="LN7230">7230</td><td class="line"> <span class='keyword'>char</span> *old_name;</td></tr>
+<tr class="codeline" data-linenumber="7231"><td class="num" id="LN7231">7231</td><td class="line"> <span class='keyword'>char</span> *new_name;</td></tr>
+<tr class="codeline" data-linenumber="7232"><td class="num" id="LN7232">7232</td><td class="line"> <span class='keyword'>char</span> *current_dir;</td></tr>
+<tr class="codeline" data-linenumber="7233"><td class="num" id="LN7233">7233</td><td class="line"> gboolean is_dir;</td></tr>
+<tr class="codeline" data-linenumber="7234"><td class="num" id="LN7234">7234</td><td class="line"> gboolean dir_in_archive;</td></tr>
+<tr class="codeline" data-linenumber="7235"><td class="num" id="LN7235">7235</td><td class="line"> <span class='keyword'>char</span> *original_path;</td></tr>
+<tr class="codeline" data-linenumber="7236"><td class="num" id="LN7236">7236</td><td class="line">} RenameData;</td></tr>
+<tr class="codeline" data-linenumber="7237"><td class="num" id="LN7237">7237</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7238"><td class="num" id="LN7238">7238</td><td class="line"><span id="start46"><span class='keyword'>static</span></span> RenameData*</td></tr>
+<tr class="codeline" data-linenumber="7239"><td class="num" id="LN7239">7239</td><td class="line">rename_data_new (<span class='keyword'>const</span> <span class='keyword'>char</span> *path_to_rename,</td></tr>
+<tr class="codeline" data-linenumber="7240"><td class="num" id="LN7240">7240</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *old_name,</td></tr>
+<tr class="codeline" data-linenumber="7241"><td class="num" id="LN7241">7241</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *new_name,</td></tr>
+<tr class="codeline" data-linenumber="7242"><td class="num" id="LN7242">7242</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *current_dir,</td></tr>
+<tr class="codeline" data-linenumber="7243"><td class="num" id="LN7243">7243</td><td class="line"> gboolean is_dir,</td></tr>
+<tr class="codeline" data-linenumber="7244"><td class="num" id="LN7244">7244</td><td class="line"> gboolean dir_in_archive,</td></tr>
+<tr class="codeline" data-linenumber="7245"><td class="num" id="LN7245">7245</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *original_path)</td></tr>
+<tr class="codeline" data-linenumber="7246"><td class="num" id="LN7246">7246</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7247"><td class="num" id="LN7247">7247</td><td class="line"> <span id="start45"><span id="end46">RenameData</span></span> *rdata;</td></tr>
+<tr class="codeline" data-linenumber="7248"><td class="num" id="LN7248">7248</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7249"><td class="num" id="LN7249">7249</td><td class="line"> <span id="start44"><span id="end45">rdata</span></span> = <span class="mrange"><span class='macro'>g_new0</span> (RenameData, 1)<span class='macro_popup'>((RenameData *) g_malloc0_n ((1), sizeof (RenameData)))</span></span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path5" class="msg msgEvent" style="margin-left:17ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">5</div></td><td><div class="PathNav"><a href="#Path4" title="Previous event (4)">&#x2190;</a></div></td><td>Null pointer value stored to field 'old_name'</td><td><div class="PathNav"><a href="#Path6" title="Next event (6)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="7250"><td class="num" id="LN7250">7250</td><td class="line"> rdata-&gt;path_to_rename = <span class='macro'>g_strdup (path_to_rename)<span class='macro_popup'>g_strdup_inline (path_to_rename)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7251"><td class="num" id="LN7251">7251</td><td class="line"> <span id="start43"><span id="end44"><span class='keyword'>if</span></span></span> (<span id="start42"><span class="mrange"><span id="end43">old_name</span></span> != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span></span>)</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path6" class="msg msgEvent" style="margin-left:13ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">6</div></td><td><div class="PathNav"><a href="#Path5" title="Previous event (5)">&#x2190;</a></div></td><td>Assuming 'old_name' is equal to NULL</td><td><div class="PathNav"><a href="#Path7" title="Next event (7)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path7" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">7</div></td><td><div class="PathNav"><a href="#Path6" title="Previous event (6)">&#x2190;</a></div></td><td>Taking false branch</td><td><div class="PathNav"><a href="#Path8" title="Next event (8)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="7252"><td class="num" id="LN7252">7252</td><td class="line"> rdata-&gt;old_name = <span class='macro'>g_strdup (old_name)<span class='macro_popup'>g_strdup_inline (old_name)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7253"><td class="num" id="LN7253">7253</td><td class="line"> <span id="start41"><span id="end42"><span class='keyword'>if</span></span></span> (<span id="start40"><span class="mrange"><span id="end41">new_name</span></span> != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span></span>)</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path8" class="msg msgEvent" style="margin-left:13ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">8</div></td><td><div class="PathNav"><a href="#Path7" title="Previous event (7)">&#x2190;</a></div></td><td>Assuming 'new_name' is equal to NULL</td><td><div class="PathNav"><a href="#Path9" title="Next event (9)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path9" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">9</div></td><td><div class="PathNav"><a href="#Path8" title="Previous event (8)">&#x2190;</a></div></td><td>Taking false branch</td><td><div class="PathNav"><a href="#Path10" title="Next event (10)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="7254"><td class="num" id="LN7254">7254</td><td class="line"> rdata-&gt;new_name = <span class='macro'>g_strdup (new_name)<span class='macro_popup'>g_strdup_inline (new_name)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7255"><td class="num" id="LN7255">7255</td><td class="line"> <span id="start39"><span id="end40"><span class='keyword'>if</span></span></span> (<span id="start38"><span class="mrange"><span id="end39">current_dir</span></span> != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span></span>)</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path10" class="msg msgEvent" style="margin-left:13ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">10</div></td><td><div class="PathNav"><a href="#Path9" title="Previous event (9)">&#x2190;</a></div></td><td>Assuming 'current_dir' is not equal to NULL</td><td><div class="PathNav"><a href="#Path11" title="Next event (11)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path11" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">11</div></td><td><div class="PathNav"><a href="#Path10" title="Previous event (10)">&#x2190;</a></div></td><td>Taking true branch</td><td><div class="PathNav"><a href="#Path12" title="Next event (12)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="7256"><td class="num" id="LN7256">7256</td><td class="line"> <span id="start35"><span id="end36"><span id="start37"><span id="end38">rdata</span></span></span></span>-&gt;current_dir = <span id="start36"><span id="end37"><span class='macro'>g_strdup</span></span> (current_dir)<span class='macro_popup'>g_strdup_inline (current_dir)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7257"><td class="num" id="LN7257">7257</td><td class="line"> <span id="start34"><span id="end35">rdata</span></span>-&gt;is_dir = is_dir;</td></tr>
+<tr class="codeline" data-linenumber="7258"><td class="num" id="LN7258">7258</td><td class="line"> rdata-&gt;dir_in_archive = dir_in_archive;</td></tr>
+<tr class="codeline" data-linenumber="7259"><td class="num" id="LN7259">7259</td><td class="line"> <span id="start33"><span id="end34"><span class='keyword'>if</span></span></span> (<span id="start32"><span class="mrange"><span id="end33">original_path</span></span> != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span></span>)</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path12" class="msg msgEvent" style="margin-left:13ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">12</div></td><td><div class="PathNav"><a href="#Path11" title="Previous event (11)">&#x2190;</a></div></td><td>Assuming 'original_path' is equal to NULL</td><td><div class="PathNav"><a href="#Path13" title="Next event (13)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path13" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">13</div></td><td><div class="PathNav"><a href="#Path12" title="Previous event (12)">&#x2190;</a></div></td><td>Taking false branch</td><td><div class="PathNav"><a href="#Path14" title="Next event (14)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="7260"><td class="num" id="LN7260">7260</td><td class="line"> rdata-&gt;original_path = <span class='macro'>g_strdup (original_path)<span class='macro_popup'>g_strdup_inline (original_path)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7261"><td class="num" id="LN7261">7261</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7262"><td class="num" id="LN7262">7262</td><td class="line"> <span id="end30"><span id="start31"><span id="end32"><span class='keyword'>return</span></span></span></span> <span id="start30"><span id="end31">rdata</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7263"><td class="num" id="LN7263">7263</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7264"><td class="num" id="LN7264">7264</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7265"><td class="num" id="LN7265">7265</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7266"><td class="num" id="LN7266">7266</td><td class="line">rename_data_free (RenameData *rdata)</td></tr>
+<tr class="codeline" data-linenumber="7267"><td class="num" id="LN7267">7267</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7268"><td class="num" id="LN7268">7268</td><td class="line"> <span class='macro'>g_return_if_fail (rdata != NULL)<span class='macro_popup'>do { if ((rdata != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "rdata != NULL");<br> return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7269"><td class="num" id="LN7269">7269</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7270"><td class="num" id="LN7270">7270</td><td class="line"> g_free (rdata-&gt;path_to_rename);</td></tr>
+<tr class="codeline" data-linenumber="7271"><td class="num" id="LN7271">7271</td><td class="line"> g_free (rdata-&gt;old_name);</td></tr>
+<tr class="codeline" data-linenumber="7272"><td class="num" id="LN7272">7272</td><td class="line"> g_free (rdata-&gt;new_name);</td></tr>
+<tr class="codeline" data-linenumber="7273"><td class="num" id="LN7273">7273</td><td class="line"> g_free (rdata-&gt;current_dir);</td></tr>
+<tr class="codeline" data-linenumber="7274"><td class="num" id="LN7274">7274</td><td class="line"> g_free (rdata-&gt;original_path);</td></tr>
+<tr class="codeline" data-linenumber="7275"><td class="num" id="LN7275">7275</td><td class="line"> g_free (rdata);</td></tr>
+<tr class="codeline" data-linenumber="7276"><td class="num" id="LN7276">7276</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7277"><td class="num" id="LN7277">7277</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7278"><td class="num" id="LN7278">7278</td><td class="line"><span id="start49"><span class='keyword'>static</span></span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7279"><td class="num" id="LN7279">7279</td><td class="line">rename_selection (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="7280"><td class="num" id="LN7280">7280</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *path_to_rename,</td></tr>
+<tr class="codeline" data-linenumber="7281"><td class="num" id="LN7281">7281</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *old_name,</td></tr>
+<tr class="codeline" data-linenumber="7282"><td class="num" id="LN7282">7282</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *new_name,</td></tr>
+<tr class="codeline" data-linenumber="7283"><td class="num" id="LN7283">7283</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *current_dir,</td></tr>
+<tr class="codeline" data-linenumber="7284"><td class="num" id="LN7284">7284</td><td class="line"> gboolean is_dir,</td></tr>
+<tr class="codeline" data-linenumber="7285"><td class="num" id="LN7285">7285</td><td class="line"> gboolean dir_in_archive,</td></tr>
+<tr class="codeline" data-linenumber="7286"><td class="num" id="LN7286">7286</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *original_path)</td></tr>
+<tr class="codeline" data-linenumber="7287"><td class="num" id="LN7287">7287</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7288"><td class="num" id="LN7288">7288</td><td class="line"> <span id="start48"><span id="end49">FrArchive</span></span> *archive = window-&gt;archive;</td></tr>
+<tr class="codeline" data-linenumber="7289"><td class="num" id="LN7289">7289</td><td class="line"> RenameData *rdata;</td></tr>
+<tr class="codeline" data-linenumber="7290"><td class="num" id="LN7290">7290</td><td class="line"> <span class='keyword'>char</span> *tmp_dir;</td></tr>
+<tr class="codeline" data-linenumber="7291"><td class="num" id="LN7291">7291</td><td class="line"> GList *file_list;</td></tr>
+<tr class="codeline" data-linenumber="7292"><td class="num" id="LN7292">7292</td><td class="line"> gboolean added_dir;</td></tr>
+<tr class="codeline" data-linenumber="7293"><td class="num" id="LN7293">7293</td><td class="line"> <span class='keyword'>char</span> *new_dirname;</td></tr>
+<tr class="codeline" data-linenumber="7294"><td class="num" id="LN7294">7294</td><td class="line"> GList *new_file_list;</td></tr>
+<tr class="codeline" data-linenumber="7295"><td class="num" id="LN7295">7295</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="7296"><td class="num" id="LN7296">7296</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7297"><td class="num" id="LN7297">7297</td><td class="line"> <span id="start28"><span id="end29"><span id="start47"><span id="end48">rdata</span></span></span></span> = <span id="start29"><span class="mrange"><span class="mrange"><span id="end47">rename_data_new</span></span> (path_to_rename,</td></tr></span>
+<tr><td class="num"></td><td class="line"><div id="Path4" class="msg msgEvent" style="margin-left:17ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">4</div></td><td><div class="PathNav"><a href="#Path3" title="Previous event (3)">&#x2190;</a></div></td><td>Calling 'rename_data_new'</td><td><div class="PathNav"><a href="#Path5" title="Next event (5)">&#x2192;</a></div></td></tr></table></div></td></tr></span>
+<tr><td class="num"></td><td class="line"><div id="Path14" class="msg msgEvent" style="margin-left:17ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">14</div></td><td><div class="PathNav"><a href="#Path13" title="Previous event (13)">&#x2190;</a></div></td><td>Returning from 'rename_data_new'</td><td><div class="PathNav"><a href="#Path15" title="Next event (15)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="7298"><td class="num" id="LN7298">7298</td><td class="line"> <span class="mrange"><span class="mrange">old_name,</td></tr></span></span>
+<tr class="codeline" data-linenumber="7299"><td class="num" id="LN7299">7299</td><td class="line"> <span class="mrange"><span class="mrange">new_name,</td></tr></span></span>
+<tr class="codeline" data-linenumber="7300"><td class="num" id="LN7300">7300</td><td class="line"> <span class="mrange"><span class="mrange">current_dir,</td></tr></span></span>
+<tr class="codeline" data-linenumber="7301"><td class="num" id="LN7301">7301</td><td class="line"> <span class="mrange"><span class="mrange">is_dir,</td></tr></span></span>
+<tr class="codeline" data-linenumber="7302"><td class="num" id="LN7302">7302</td><td class="line"> <span class="mrange"><span class="mrange">dir_in_archive,</td></tr></span></span>
+<tr class="codeline" data-linenumber="7303"><td class="num" id="LN7303">7303</td><td class="line"> <span class="mrange"><span class="mrange">original_path)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7304"><td class="num" id="LN7304">7304</td><td class="line"> <span id="start23"><span class="mrange"><span class="mrange"><span id="end28">fr_window_set_current_batch_action</span></span> (window,</td></tr></span>
+<tr><td class="num"></td><td class="line"><div id="Path15" class="msg msgEvent" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">15</div></td><td><div class="PathNav"><a href="#Path14" title="Previous event (14)">&#x2190;</a></div></td><td>Calling 'fr_window_set_current_batch_action'</td><td><div class="PathNav"><a href="#Path16" title="Next event (16)">&#x2192;</a></div></td></tr></table></div></td></tr></span>
+<tr><td class="num"></td><td class="line"><div id="Path17" class="msg msgEvent" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">17</div></td><td><div class="PathNav"><a href="#Path16" title="Previous event (16)">&#x2190;</a></div></td><td>Returning from 'fr_window_set_current_batch_action'</td><td><div class="PathNav"><a href="#Path18" title="Next event (18)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="7305"><td class="num" id="LN7305">7305</td><td class="line"> <span class="mrange"><span class="mrange">FR_BATCH_ACTION_RENAME,</td></tr></span></span>
+<tr class="codeline" data-linenumber="7306"><td class="num" id="LN7306">7306</td><td class="line"> <span class="mrange"><span class="mrange">rdata,</td></tr></span></span>
+<tr class="codeline" data-linenumber="7307"><td class="num" id="LN7307">7307</td><td class="line"> <span class="mrange"><span class="mrange">(GFreeFunc) rename_data_free)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7308"><td class="num" id="LN7308">7308</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7309"><td class="num" id="LN7309">7309</td><td class="line"> fr_process_clear (archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="7310"><td class="num" id="LN7310">7310</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7311"><td class="num" id="LN7311">7311</td><td class="line"> tmp_dir = get_temp_work_dir (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7312"><td class="num" id="LN7312">7312</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7313"><td class="num" id="LN7313">7313</td><td class="line"> <span id="start22"><span id="end23"><span class='keyword'>if</span></span></span> (<span id="start21"><span class="mrange"><span id="end22">is_dir</span></span></span>)</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path18" class="msg msgEvent" style="margin-left:13ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">18</div></td><td><div class="PathNav"><a href="#Path17" title="Previous event (17)">&#x2190;</a></div></td><td>Assuming 'is_dir' is 0</td><td><div class="PathNav"><a href="#Path19" title="Next event (19)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path19" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">19</div></td><td><div class="PathNav"><a href="#Path18" title="Previous event (18)">&#x2190;</a></div></td><td>Taking false branch</td><td><div class="PathNav"><a href="#Path20" title="Next event (20)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="7314"><td class="num" id="LN7314">7314</td><td class="line"> file_list = get_dir_list_from_path (window, rdata-&gt;path_to_rename);</td></tr>
+<tr class="codeline" data-linenumber="7315"><td class="num" id="LN7315">7315</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="7316"><td class="num" id="LN7316">7316</td><td class="line"> <span id="start18"><span id="end19"><span id="start20"><span id="end21">file_list</span></span></span></span> = g_list_append (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span id="start19"><span id="end20"><span class='macro'>g_strdup</span></span> (rdata-&gt;path_to_rename)<span class='macro_popup'>g_strdup_inline (rdata-&gt;path_to_rename)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7317"><td class="num" id="LN7317">7317</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7318"><td class="num" id="LN7318">7318</td><td class="line"> <span id="start17"><span id="end18">fr_archive_extract_to_local</span></span> (archive,</td></tr>
+<tr class="codeline" data-linenumber="7319"><td class="num" id="LN7319">7319</td><td class="line"> file_list,</td></tr>
+<tr class="codeline" data-linenumber="7320"><td class="num" id="LN7320">7320</td><td class="line"> tmp_dir,</td></tr>
+<tr class="codeline" data-linenumber="7321"><td class="num" id="LN7321">7321</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7322"><td class="num" id="LN7322">7322</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7323"><td class="num" id="LN7323">7323</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7324"><td class="num" id="LN7324">7324</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7325"><td class="num" id="LN7325">7325</td><td class="line"> window-&gt;priv-&gt;password);</td></tr>
+<tr class="codeline" data-linenumber="7326"><td class="num" id="LN7326">7326</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7327"><td class="num" id="LN7327">7327</td><td class="line"> <span class='comment'>/* temporarily add the dir to rename to the list if it's stored in the</span></td></tr>
+<tr class="codeline" data-linenumber="7328"><td class="num" id="LN7328">7328</td><td class="line"> <span class='comment'>* archive, this way it will be removed from the archive... */</span></td></tr>
+<tr class="codeline" data-linenumber="7329"><td class="num" id="LN7329">7329</td><td class="line"> added_dir = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7330"><td class="num" id="LN7330">7330</td><td class="line"> <span id="start16"><span id="end17"><span class='keyword'>if</span></span></span> (<span id="start15"><span id="end16"><span class='variable'>is_dir<table class='variable_popup'><tbody><tr><td valign='top'><div class='PathIndex PathIndexPopUp'>19.1</div></td><td>'is_dir' is 0</td></tr></tbody></table></span></span></span> &amp;&amp; dir_in_archive &amp;&amp; ! g_list_find_custom (file_list, original_path, (GCompareFunc) strcmp)) {</td></tr>
+<tr class="codeline" data-linenumber="7331"><td class="num" id="LN7331">7331</td><td class="line"> file_list = g_list_prepend (file_list, <span class='macro'>g_strdup (original_path)<span class='macro_popup'>g_strdup_inline (original_path)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7332"><td class="num" id="LN7332">7332</td><td class="line"> added_dir = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7333"><td class="num" id="LN7333">7333</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7334"><td class="num" id="LN7334">7334</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7335"><td class="num" id="LN7335">7335</td><td class="line"> <span id="start14"><span id="end15">fr_archive_remove</span></span> (archive, file_list, window-&gt;priv-&gt;compression);</td></tr>
+<tr class="codeline" data-linenumber="7336"><td class="num" id="LN7336">7336</td><td class="line"> fr_window_clipboard_remove_file_list (window, file_list);</td></tr>
+<tr class="codeline" data-linenumber="7337"><td class="num" id="LN7337">7337</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7338"><td class="num" id="LN7338">7338</td><td class="line"> <span class='comment'>/* ...and remove it from the list again */</span></td></tr>
+<tr class="codeline" data-linenumber="7339"><td class="num" id="LN7339">7339</td><td class="line"> <span id="start13"><span id="end14"><span class='keyword'>if</span></span></span> (<span id="start12"><span id="end13"><span class='variable'>added_dir<table class='variable_popup'><tbody><tr><td valign='top'><div class='PathIndex PathIndexPopUp'>19.2</div></td><td>'added_dir' is 0</td></tr></tbody></table></span></span></span>) {</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path20" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">20</div></td><td><div class="PathNav"><a href="#Path19" title="Previous event (19)">&#x2190;</a></div></td><td>Taking false branch</td><td><div class="PathNav"><a href="#Path21" title="Next event (21)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="7340"><td class="num" id="LN7340">7340</td><td class="line"> GList *tmp;</td></tr>
+<tr class="codeline" data-linenumber="7341"><td class="num" id="LN7341">7341</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7342"><td class="num" id="LN7342">7342</td><td class="line"> tmp = file_list;</td></tr>
+<tr class="codeline" data-linenumber="7343"><td class="num" id="LN7343">7343</td><td class="line"> file_list = g_list_remove_link (file_list, tmp);</td></tr>
+<tr class="codeline" data-linenumber="7344"><td class="num" id="LN7344">7344</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7345"><td class="num" id="LN7345">7345</td><td class="line"> g_free (tmp-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="7346"><td class="num" id="LN7346">7346</td><td class="line"> g_list_free (tmp);</td></tr>
+<tr class="codeline" data-linenumber="7347"><td class="num" id="LN7347">7347</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7348"><td class="num" id="LN7348">7348</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7349"><td class="num" id="LN7349">7349</td><td class="line"> <span class='comment'>/* rename the files. */</span></td></tr>
+<tr class="codeline" data-linenumber="7350"><td class="num" id="LN7350">7350</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7351"><td class="num" id="LN7351">7351</td><td class="line"> <span id="start9"><span id="end10"><span id="start11"><span id="end12">new_dirname</span></span></span></span> = g_build_filename (<span id="start10"><span id="end11">rdata</span></span>-&gt;current_dir + 1, rdata-&gt;new_name, <span class='string_literal'>"/"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7352"><td class="num" id="LN7352">7352</td><td class="line"> <span id="start8"><span id="end9">new_file_list</span></span> = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7353"><td class="num" id="LN7353">7353</td><td class="line"> <span class='keyword'>if</span> (rdata-&gt;<span id="start7"><span id="end8"><span class='variable'>is_dir<table class='variable_popup'><tbody><tr><td valign='top'><div class='PathIndex PathIndexPopUp'>20.1</div></td><td>Field 'is_dir' is 0</td></tr></tbody></table></span></span></span>) {</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path21" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">21</div></td><td><div class="PathNav"><a href="#Path20" title="Previous event (20)">&#x2190;</a></div></td><td>Taking false branch</td><td><div class="PathNav"><a href="#Path22" title="Next event (22)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="7354"><td class="num" id="LN7354">7354</td><td class="line"> <span class='keyword'>char</span> *old_path;</td></tr>
+<tr class="codeline" data-linenumber="7355"><td class="num" id="LN7355">7355</td><td class="line"> <span class='keyword'>char</span> *new_path;</td></tr>
+<tr class="codeline" data-linenumber="7356"><td class="num" id="LN7356">7356</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7357"><td class="num" id="LN7357">7357</td><td class="line"> old_path = g_build_filename (tmp_dir, rdata-&gt;current_dir, rdata-&gt;old_name, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7358"><td class="num" id="LN7358">7358</td><td class="line"> new_path = g_build_filename (tmp_dir, rdata-&gt;current_dir, rdata-&gt;new_name, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7359"><td class="num" id="LN7359">7359</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7360"><td class="num" id="LN7360">7360</td><td class="line"> fr_process_begin_command (archive-&gt;process, <span class='string_literal'>"mv"</span>);</td></tr>
+<tr class="codeline" data-linenumber="7361"><td class="num" id="LN7361">7361</td><td class="line"> fr_process_add_arg (archive-&gt;process, <span class='string_literal'>"-f"</span>);</td></tr>
+<tr class="codeline" data-linenumber="7362"><td class="num" id="LN7362">7362</td><td class="line"> fr_process_add_arg (archive-&gt;process, old_path);</td></tr>
+<tr class="codeline" data-linenumber="7363"><td class="num" id="LN7363">7363</td><td class="line"> fr_process_add_arg (archive-&gt;process, new_path);</td></tr>
+<tr class="codeline" data-linenumber="7364"><td class="num" id="LN7364">7364</td><td class="line"> fr_process_end_command (archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="7365"><td class="num" id="LN7365">7365</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7366"><td class="num" id="LN7366">7366</td><td class="line"> g_free (old_path);</td></tr>
+<tr class="codeline" data-linenumber="7367"><td class="num" id="LN7367">7367</td><td class="line"> g_free (new_path);</td></tr>
+<tr class="codeline" data-linenumber="7368"><td class="num" id="LN7368">7368</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7369"><td class="num" id="LN7369">7369</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7370"><td class="num" id="LN7370">7370</td><td class="line"> <span id="start6"><span id="end7"><span class='keyword'>for</span></span></span> (scan = <span id="start5"><span id="end6">file_list</span></span>; <span id="start4"><span id="end5">scan</span></span>; scan = scan-&gt;next) {</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path22" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">22</div></td><td><div class="PathNav"><a href="#Path21" title="Previous event (21)">&#x2190;</a></div></td><td>Loop condition is true. Entering loop body</td><td><div class="PathNav"><a href="#EndPath" title="Next event (23)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="7371"><td class="num" id="LN7371">7371</td><td class="line"> <span id="start1"><span id="end2"><span id="start3"><span id="end4"><span class='keyword'>const</span></span></span></span></span> <span class='keyword'>char</span> *current_dir_relative = <span id="start2"><span id="end3">rdata</span></span>-&gt;current_dir + 1;</td></tr>
+<tr class="codeline" data-linenumber="7372"><td class="num" id="LN7372">7372</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *filename = (<span class='keyword'>char</span>*) scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="7373"><td class="num" id="LN7373">7373</td><td class="line"> <span class='keyword'>char</span> *old_path = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, *common = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, *new_path = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7374"><td class="num" id="LN7374">7374</td><td class="line"> <span class='keyword'>char</span> *new_filename;</td></tr>
+<tr class="codeline" data-linenumber="7375"><td class="num" id="LN7375">7375</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7376"><td class="num" id="LN7376">7376</td><td class="line"> old_path = g_build_filename (tmp_dir, filename, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7377"><td class="num" id="LN7377">7377</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7378"><td class="num" id="LN7378">7378</td><td class="line"> <span id="start0"><span id="end1"><span class='keyword'>if</span></span></span> (strlen (filename) &gt; (strlen (rdata-&gt;current_dir) + <span id="end0">strlen</span> (<span class="mrange">rdata-&gt;old_name</span>)))</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:72ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">23</div></td><td><div class="PathNav"><a href="#Path22" title="Previous event (22)">&#x2190;</a></div></td><td>Null pointer passed to 1st parameter expecting 'nonnull'</td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="7379"><td class="num" id="LN7379">7379</td><td class="line"> common = <span class='macro'>g_strdup (filename + strlen (rdata-&gt;current_dir) + strlen (rdata-&gt;old_name))<span class='macro_popup'>g_strdup_inline (filename + strlen (rdata-&gt;current_dir) + strlen<br> (rdata-&gt;old_name))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7380"><td class="num" id="LN7380">7380</td><td class="line"> new_path = g_build_filename (tmp_dir, rdata-&gt;current_dir, rdata-&gt;new_name, common, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7381"><td class="num" id="LN7381">7381</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7382"><td class="num" id="LN7382">7382</td><td class="line"> <span class='keyword'>if</span> (! rdata-&gt;is_dir) {</td></tr>
+<tr class="codeline" data-linenumber="7383"><td class="num" id="LN7383">7383</td><td class="line"> fr_process_begin_command (archive-&gt;process, <span class='string_literal'>"mv"</span>);</td></tr>
+<tr class="codeline" data-linenumber="7384"><td class="num" id="LN7384">7384</td><td class="line"> fr_process_add_arg (archive-&gt;process, <span class='string_literal'>"-f"</span>);</td></tr>
+<tr class="codeline" data-linenumber="7385"><td class="num" id="LN7385">7385</td><td class="line"> fr_process_add_arg (archive-&gt;process, old_path);</td></tr>
+<tr class="codeline" data-linenumber="7386"><td class="num" id="LN7386">7386</td><td class="line"> fr_process_add_arg (archive-&gt;process, new_path);</td></tr>
+<tr class="codeline" data-linenumber="7387"><td class="num" id="LN7387">7387</td><td class="line"> fr_process_end_command (archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="7388"><td class="num" id="LN7388">7388</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7389"><td class="num" id="LN7389">7389</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7390"><td class="num" id="LN7390">7390</td><td class="line"> new_filename = g_build_filename (current_dir_relative, rdata-&gt;new_name, common, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7391"><td class="num" id="LN7391">7391</td><td class="line"> new_file_list = g_list_prepend (new_file_list, new_filename);</td></tr>
+<tr class="codeline" data-linenumber="7392"><td class="num" id="LN7392">7392</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7393"><td class="num" id="LN7393">7393</td><td class="line"> g_free (old_path);</td></tr>
+<tr class="codeline" data-linenumber="7394"><td class="num" id="LN7394">7394</td><td class="line"> g_free (common);</td></tr>
+<tr class="codeline" data-linenumber="7395"><td class="num" id="LN7395">7395</td><td class="line"> g_free (new_path);</td></tr>
+<tr class="codeline" data-linenumber="7396"><td class="num" id="LN7396">7396</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7397"><td class="num" id="LN7397">7397</td><td class="line"> new_file_list = g_list_reverse (new_file_list);</td></tr>
+<tr class="codeline" data-linenumber="7398"><td class="num" id="LN7398">7398</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7399"><td class="num" id="LN7399">7399</td><td class="line"> <span class='comment'>/* FIXME: this is broken for tar archives.</span></td></tr>
+<tr class="codeline" data-linenumber="7400"><td class="num" id="LN7400">7400</td><td class="line"> <span class='comment'>if (is_dir &amp;&amp; dir_in_archive &amp;&amp; ! g_list_find_custom (new_file_list, new_dirname, (GCompareFunc) strcmp))</span></td></tr>
+<tr class="codeline" data-linenumber="7401"><td class="num" id="LN7401">7401</td><td class="line"> <span class='comment'>new_file_list = g_list_prepend (new_file_list, g_build_filename (rdata-&gt;current_dir + 1, rdata-&gt;new_name, NULL));</span></td></tr>
+<tr class="codeline" data-linenumber="7402"><td class="num" id="LN7402">7402</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="7403"><td class="num" id="LN7403">7403</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7404"><td class="num" id="LN7404">7404</td><td class="line"> fr_archive_add (archive,</td></tr>
+<tr class="codeline" data-linenumber="7405"><td class="num" id="LN7405">7405</td><td class="line"> new_file_list,</td></tr>
+<tr class="codeline" data-linenumber="7406"><td class="num" id="LN7406">7406</td><td class="line"> tmp_dir,</td></tr>
+<tr class="codeline" data-linenumber="7407"><td class="num" id="LN7407">7407</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7408"><td class="num" id="LN7408">7408</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7409"><td class="num" id="LN7409">7409</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7410"><td class="num" id="LN7410">7410</td><td class="line"> window-&gt;priv-&gt;password,</td></tr>
+<tr class="codeline" data-linenumber="7411"><td class="num" id="LN7411">7411</td><td class="line"> window-&gt;priv-&gt;encrypt_header,</td></tr>
+<tr class="codeline" data-linenumber="7412"><td class="num" id="LN7412">7412</td><td class="line"> window-&gt;priv-&gt;compression,</td></tr>
+<tr class="codeline" data-linenumber="7413"><td class="num" id="LN7413">7413</td><td class="line"> window-&gt;priv-&gt;volume_size);</td></tr>
+<tr class="codeline" data-linenumber="7414"><td class="num" id="LN7414">7414</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7415"><td class="num" id="LN7415">7415</td><td class="line"> g_free (new_dirname);</td></tr>
+<tr class="codeline" data-linenumber="7416"><td class="num" id="LN7416">7416</td><td class="line"> path_list_free (new_file_list);</td></tr>
+<tr class="codeline" data-linenumber="7417"><td class="num" id="LN7417">7417</td><td class="line"> path_list_free (file_list);</td></tr>
+<tr class="codeline" data-linenumber="7418"><td class="num" id="LN7418">7418</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7419"><td class="num" id="LN7419">7419</td><td class="line"> <span class='comment'>/* remove the tmp dir */</span></td></tr>
+<tr class="codeline" data-linenumber="7420"><td class="num" id="LN7420">7420</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7421"><td class="num" id="LN7421">7421</td><td class="line"> fr_process_begin_command (archive-&gt;process, <span class='string_literal'>"rm"</span>);</td></tr>
+<tr class="codeline" data-linenumber="7422"><td class="num" id="LN7422">7422</td><td class="line"> fr_process_set_working_dir (archive-&gt;process, g_get_tmp_dir ());</td></tr>
+<tr class="codeline" data-linenumber="7423"><td class="num" id="LN7423">7423</td><td class="line"> fr_process_set_sticky (archive-&gt;process, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7424"><td class="num" id="LN7424">7424</td><td class="line"> fr_process_add_arg (archive-&gt;process, <span class='string_literal'>"-rf"</span>);</td></tr>
+<tr class="codeline" data-linenumber="7425"><td class="num" id="LN7425">7425</td><td class="line"> fr_process_add_arg (archive-&gt;process, tmp_dir);</td></tr>
+<tr class="codeline" data-linenumber="7426"><td class="num" id="LN7426">7426</td><td class="line"> fr_process_end_command (archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="7427"><td class="num" id="LN7427">7427</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7428"><td class="num" id="LN7428">7428</td><td class="line"> fr_process_start (archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="7429"><td class="num" id="LN7429">7429</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7430"><td class="num" id="LN7430">7430</td><td class="line"> g_free (tmp_dir);</td></tr>
+<tr class="codeline" data-linenumber="7431"><td class="num" id="LN7431">7431</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7432"><td class="num" id="LN7432">7432</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7433"><td class="num" id="LN7433">7433</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="7434"><td class="num" id="LN7434">7434</td><td class="line">valid_name (<span class='keyword'>const</span> <span class='keyword'>char</span> *new_name,</td></tr>
+<tr class="codeline" data-linenumber="7435"><td class="num" id="LN7435">7435</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *old_name,</td></tr>
+<tr class="codeline" data-linenumber="7436"><td class="num" id="LN7436">7436</td><td class="line"> <span class='keyword'>char</span> **reason)</td></tr>
+<tr class="codeline" data-linenumber="7437"><td class="num" id="LN7437">7437</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7438"><td class="num" id="LN7438">7438</td><td class="line"> <span class='keyword'>char</span> *utf8_new_name;</td></tr>
+<tr class="codeline" data-linenumber="7439"><td class="num" id="LN7439">7439</td><td class="line"> gboolean retval = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7440"><td class="num" id="LN7440">7440</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7441"><td class="num" id="LN7441">7441</td><td class="line"> new_name = eat_spaces (new_name);</td></tr>
+<tr class="codeline" data-linenumber="7442"><td class="num" id="LN7442">7442</td><td class="line"> utf8_new_name = g_filename_display_name (new_name);</td></tr>
+<tr class="codeline" data-linenumber="7443"><td class="num" id="LN7443">7443</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7444"><td class="num" id="LN7444">7444</td><td class="line"> <span class='keyword'>if</span> (*new_name == '\0') {</td></tr>
+<tr class="codeline" data-linenumber="7445"><td class="num" id="LN7445">7445</td><td class="line"> <span class='comment'>/* Translators: the name references to a filename. This message can appear when renaming a file. */</span></td></tr>
+<tr class="codeline" data-linenumber="7446"><td class="num" id="LN7446">7446</td><td class="line"> *reason = <span class='macro'>g_strdup (_(<span class='string_literal'>"New name is void, please type a name."</span>))<span class='macro_popup'>g_strdup_inline (gettext ("New name is void, please type a name."<br>))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7447"><td class="num" id="LN7447">7447</td><td class="line"> retval = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7448"><td class="num" id="LN7448">7448</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7449"><td class="num" id="LN7449">7449</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (strcmp (new_name, old_name) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="7450"><td class="num" id="LN7450">7450</td><td class="line"> <span class='comment'>/* Translators: the name references to a filename. This message can appear when renaming a file. */</span></td></tr>
+<tr class="codeline" data-linenumber="7451"><td class="num" id="LN7451">7451</td><td class="line"> *reason = <span class='macro'>g_strdup (_(<span class='string_literal'>"New name is the same as old one, please type other name."</span>))<span class='macro_popup'>g_strdup_inline (gettext ("New name is the same as old one, please type other name."<br>))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7452"><td class="num" id="LN7452">7452</td><td class="line"> retval = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7453"><td class="num" id="LN7453">7453</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7454"><td class="num" id="LN7454">7454</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (strchrs (new_name, <span class='macro'>BAD_CHARS<span class='macro_popup'>"/\\*"</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="7455"><td class="num" id="LN7455">7455</td><td class="line"> <span class='comment'>/* Translators: the %s references to a filename. This message can appear when renaming a file. */</span></td></tr>
+<tr class="codeline" data-linenumber="7456"><td class="num" id="LN7456">7456</td><td class="line"> *reason = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Name \"%s\" is not valid because it contains at least one of the following characters: %s, please type other name."</span>)<span class='macro_popup'>gettext ("Name \"%s\" is not valid because it contains at least one of the following characters: %s, please type other name."<br>)</span></span>, utf8_new_name, <span class='macro'>BAD_CHARS<span class='macro_popup'>"/\\*"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7457"><td class="num" id="LN7457">7457</td><td class="line"> retval = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7458"><td class="num" id="LN7458">7458</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7459"><td class="num" id="LN7459">7459</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7460"><td class="num" id="LN7460">7460</td><td class="line"> g_free (utf8_new_name);</td></tr>
+<tr class="codeline" data-linenumber="7461"><td class="num" id="LN7461">7461</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7462"><td class="num" id="LN7462">7462</td><td class="line"> <span class='keyword'>return</span> retval;</td></tr>
+<tr class="codeline" data-linenumber="7463"><td class="num" id="LN7463">7463</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7464"><td class="num" id="LN7464">7464</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7465"><td class="num" id="LN7465">7465</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="7466"><td class="num" id="LN7466">7466</td><td class="line">name_is_present (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="7467"><td class="num" id="LN7467">7467</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *current_dir,</td></tr>
+<tr class="codeline" data-linenumber="7468"><td class="num" id="LN7468">7468</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *new_name,</td></tr>
+<tr class="codeline" data-linenumber="7469"><td class="num" id="LN7469">7469</td><td class="line"> <span class='keyword'>char</span> **reason)</td></tr>
+<tr class="codeline" data-linenumber="7470"><td class="num" id="LN7470">7470</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7471"><td class="num" id="LN7471">7471</td><td class="line"> gboolean retval = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7472"><td class="num" id="LN7472">7472</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="7473"><td class="num" id="LN7473">7473</td><td class="line"> <span class='keyword'>char</span> *new_filename;</td></tr>
+<tr class="codeline" data-linenumber="7474"><td class="num" id="LN7474">7474</td><td class="line"> <span class='keyword'>int</span> new_filename_l;</td></tr>
+<tr class="codeline" data-linenumber="7475"><td class="num" id="LN7475">7475</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7476"><td class="num" id="LN7476">7476</td><td class="line"> *reason = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7477"><td class="num" id="LN7477">7477</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7478"><td class="num" id="LN7478">7478</td><td class="line"> new_filename = g_build_filename (current_dir, new_name, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7479"><td class="num" id="LN7479">7479</td><td class="line"> new_filename_l = strlen (new_filename);</td></tr>
+<tr class="codeline" data-linenumber="7480"><td class="num" id="LN7480">7480</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7481"><td class="num" id="LN7481">7481</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; window-&gt;archive-&gt;command-&gt;files-&gt;len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="7482"><td class="num" id="LN7482">7482</td><td class="line"> FileData *fdata = <span class='macro'>g_ptr_array_index (window-&gt;archive-&gt;command-&gt;files, i)<span class='macro_popup'>((window-&gt;archive-&gt;command-&gt;files)-&gt;pdata)[i]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7483"><td class="num" id="LN7483">7483</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *filename = fdata-&gt;full_path;</td></tr>
+<tr class="codeline" data-linenumber="7484"><td class="num" id="LN7484">7484</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7485"><td class="num" id="LN7485">7485</td><td class="line"> <span class='keyword'>if</span> ((strncmp (filename, new_filename, new_filename_l) == 0)</td></tr>
+<tr class="codeline" data-linenumber="7486"><td class="num" id="LN7486">7486</td><td class="line"> &amp;&amp; ((filename[new_filename_l] == '\0')</td></tr>
+<tr class="codeline" data-linenumber="7487"><td class="num" id="LN7487">7487</td><td class="line"> || (filename[new_filename_l] == <span class='macro'>G_DIR_SEPARATOR<span class='macro_popup'>'/'</span></span>))) {</td></tr>
+<tr class="codeline" data-linenumber="7488"><td class="num" id="LN7488">7488</td><td class="line"> <span class='keyword'>char</span> *utf8_name = g_filename_display_name (new_name);</td></tr>
+<tr class="codeline" data-linenumber="7489"><td class="num" id="LN7489">7489</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7490"><td class="num" id="LN7490">7490</td><td class="line"> <span class='keyword'>if</span> (filename[new_filename_l] == <span class='macro'>G_DIR_SEPARATOR<span class='macro_popup'>'/'</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="7491"><td class="num" id="LN7491">7491</td><td class="line"> *reason = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"A folder named \"%s\" already exists.\n\n%s"</span>)<span class='macro_popup'>gettext ("A folder named \"%s\" already exists.\n\n%s")</span></span>, utf8_name, <span class='macro'>_(<span class='string_literal'>"Please use a different name."</span>)<span class='macro_popup'>gettext ("Please use a different name.")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7492"><td class="num" id="LN7492">7492</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="7493"><td class="num" id="LN7493">7493</td><td class="line"> *reason = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"A file named \"%s\" already exists.\n\n%s"</span>)<span class='macro_popup'>gettext ("A file named \"%s\" already exists.\n\n%s")</span></span>, utf8_name, <span class='macro'>_(<span class='string_literal'>"Please use a different name."</span>)<span class='macro_popup'>gettext ("Please use a different name.")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7494"><td class="num" id="LN7494">7494</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7495"><td class="num" id="LN7495">7495</td><td class="line"> retval = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7496"><td class="num" id="LN7496">7496</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="7497"><td class="num" id="LN7497">7497</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7498"><td class="num" id="LN7498">7498</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7499"><td class="num" id="LN7499">7499</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7500"><td class="num" id="LN7500">7500</td><td class="line"> g_free (new_filename);</td></tr>
+<tr class="codeline" data-linenumber="7501"><td class="num" id="LN7501">7501</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7502"><td class="num" id="LN7502">7502</td><td class="line"> <span class='keyword'>return</span> retval;</td></tr>
+<tr class="codeline" data-linenumber="7503"><td class="num" id="LN7503">7503</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7504"><td class="num" id="LN7504">7504</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7505"><td class="num" id="LN7505">7505</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7506"><td class="num" id="LN7506">7506</td><td class="line">fr_window_rename_selection (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="7507"><td class="num" id="LN7507">7507</td><td class="line"> gboolean from_sidebar)</td></tr>
+<tr class="codeline" data-linenumber="7508"><td class="num" id="LN7508">7508</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7509"><td class="num" id="LN7509">7509</td><td class="line"> <span class='keyword'>char</span> *path_to_rename;</td></tr>
+<tr class="codeline" data-linenumber="7510"><td class="num" id="LN7510">7510</td><td class="line"> <span class='keyword'>char</span> *parent_dir;</td></tr>
+<tr class="codeline" data-linenumber="7511"><td class="num" id="LN7511">7511</td><td class="line"> <span class='keyword'>char</span> *old_name;</td></tr>
+<tr class="codeline" data-linenumber="7512"><td class="num" id="LN7512">7512</td><td class="line"> gboolean renaming_dir = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7513"><td class="num" id="LN7513">7513</td><td class="line"> gboolean dir_in_archive = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7514"><td class="num" id="LN7514">7514</td><td class="line"> <span class='keyword'>char</span> *original_path = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7515"><td class="num" id="LN7515">7515</td><td class="line"> <span class='keyword'>char</span> *utf8_old_name;</td></tr>
+<tr class="codeline" data-linenumber="7516"><td class="num" id="LN7516">7516</td><td class="line"> <span class='keyword'>char</span> *utf8_new_name;</td></tr>
+<tr class="codeline" data-linenumber="7517"><td class="num" id="LN7517">7517</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7518"><td class="num" id="LN7518">7518</td><td class="line"> <span class='keyword'>if</span> (from_sidebar) {</td></tr>
+<tr class="codeline" data-linenumber="7519"><td class="num" id="LN7519">7519</td><td class="line"> path_to_rename = fr_window_get_selected_folder_in_tree_view (window);</td></tr>
+<tr class="codeline" data-linenumber="7520"><td class="num" id="LN7520">7520</td><td class="line"> <span class='keyword'>if</span> (path_to_rename == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="7521"><td class="num" id="LN7521">7521</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="7522"><td class="num" id="LN7522">7522</td><td class="line"> parent_dir = remove_level_from_path (path_to_rename);</td></tr>
+<tr class="codeline" data-linenumber="7523"><td class="num" id="LN7523">7523</td><td class="line"> old_name = <span class='macro'>g_strdup (file_name_from_path (path_to_rename))<span class='macro_popup'>g_strdup_inline (file_name_from_path (path_to_rename))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7524"><td class="num" id="LN7524">7524</td><td class="line"> renaming_dir = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7525"><td class="num" id="LN7525">7525</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7526"><td class="num" id="LN7526">7526</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="7527"><td class="num" id="LN7527">7527</td><td class="line"> FileData *selected_item;</td></tr>
+<tr class="codeline" data-linenumber="7528"><td class="num" id="LN7528">7528</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7529"><td class="num" id="LN7529">7529</td><td class="line"> selected_item = fr_window_get_selected_item_from_file_list (window);</td></tr>
+<tr class="codeline" data-linenumber="7530"><td class="num" id="LN7530">7530</td><td class="line"> <span class='keyword'>if</span> (selected_item == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="7531"><td class="num" id="LN7531">7531</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="7532"><td class="num" id="LN7532">7532</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7533"><td class="num" id="LN7533">7533</td><td class="line"> renaming_dir = file_data_is_dir (selected_item);</td></tr>
+<tr class="codeline" data-linenumber="7534"><td class="num" id="LN7534">7534</td><td class="line"> dir_in_archive = selected_item-&gt;dir;</td></tr>
+<tr class="codeline" data-linenumber="7535"><td class="num" id="LN7535">7535</td><td class="line"> original_path = <span class='macro'>g_strdup (selected_item-&gt;original_path)<span class='macro_popup'>g_strdup_inline (selected_item-&gt;original_path)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7536"><td class="num" id="LN7536">7536</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7537"><td class="num" id="LN7537">7537</td><td class="line"> <span class='keyword'>if</span> (renaming_dir &amp;&amp; ! dir_in_archive) {</td></tr>
+<tr class="codeline" data-linenumber="7538"><td class="num" id="LN7538">7538</td><td class="line"> parent_dir = <span class='macro'>g_strdup (fr_window_get_current_location (window))<span class='macro_popup'>g_strdup_inline (fr_window_get_current_location (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7539"><td class="num" id="LN7539">7539</td><td class="line"> old_name = <span class='macro'>g_strdup (selected_item-&gt;list_name)<span class='macro_popup'>g_strdup_inline (selected_item-&gt;list_name)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7540"><td class="num" id="LN7540">7540</td><td class="line"> path_to_rename = g_build_filename (parent_dir, old_name, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7541"><td class="num" id="LN7541">7541</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7542"><td class="num" id="LN7542">7542</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="7543"><td class="num" id="LN7543">7543</td><td class="line"> <span class='keyword'>if</span> (renaming_dir) {</td></tr>
+<tr class="codeline" data-linenumber="7544"><td class="num" id="LN7544">7544</td><td class="line"> path_to_rename = remove_ending_separator (selected_item-&gt;full_path);</td></tr>
+<tr class="codeline" data-linenumber="7545"><td class="num" id="LN7545">7545</td><td class="line"> parent_dir = remove_level_from_path (path_to_rename);</td></tr>
+<tr class="codeline" data-linenumber="7546"><td class="num" id="LN7546">7546</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7547"><td class="num" id="LN7547">7547</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="7548"><td class="num" id="LN7548">7548</td><td class="line"> path_to_rename = <span class='macro'>g_strdup (selected_item-&gt;original_path)<span class='macro_popup'>g_strdup_inline (selected_item-&gt;original_path)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7549"><td class="num" id="LN7549">7549</td><td class="line"> parent_dir = remove_level_from_path (selected_item-&gt;full_path);</td></tr>
+<tr class="codeline" data-linenumber="7550"><td class="num" id="LN7550">7550</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7551"><td class="num" id="LN7551">7551</td><td class="line"> old_name = <span class='macro'>g_strdup (selected_item-&gt;name)<span class='macro_popup'>g_strdup_inline (selected_item-&gt;name)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7552"><td class="num" id="LN7552">7552</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7553"><td class="num" id="LN7553">7553</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7554"><td class="num" id="LN7554">7554</td><td class="line"> file_data_free (selected_item);</td></tr>
+<tr class="codeline" data-linenumber="7555"><td class="num" id="LN7555">7555</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7556"><td class="num" id="LN7556">7556</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7557"><td class="num" id="LN7557">7557</td><td class="line"> retry__rename_selection:</td></tr>
+<tr class="codeline" data-linenumber="7558"><td class="num" id="LN7558">7558</td><td class="line"> utf8_old_name = g_locale_to_utf8 (old_name, -1 ,0 ,0 ,0);</td></tr>
+<tr class="codeline" data-linenumber="7559"><td class="num" id="LN7559">7559</td><td class="line"> utf8_new_name = _gtk_request_dialog_run (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7560"><td class="num" id="LN7560">7560</td><td class="line"> (GTK_DIALOG_DESTROY_WITH_PARENT</td></tr>
+<tr class="codeline" data-linenumber="7561"><td class="num" id="LN7561">7561</td><td class="line"> | GTK_DIALOG_MODAL),</td></tr>
+<tr class="codeline" data-linenumber="7562"><td class="num" id="LN7562">7562</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Rename"</span>)<span class='macro_popup'>gettext ("Rename")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7563"><td class="num" id="LN7563">7563</td><td class="line"> (renaming_dir ? <span class='macro'>_(<span class='string_literal'>"_New folder name:"</span>)<span class='macro_popup'>gettext ("_New folder name:")</span></span> : <span class='macro'>_(<span class='string_literal'>"_New file name:"</span>)<span class='macro_popup'>gettext ("_New file name:")</span></span>),</td></tr>
+<tr class="codeline" data-linenumber="7564"><td class="num" id="LN7564">7564</td><td class="line"> utf8_old_name,</td></tr>
+<tr class="codeline" data-linenumber="7565"><td class="num" id="LN7565">7565</td><td class="line"> 1024,</td></tr>
+<tr class="codeline" data-linenumber="7566"><td class="num" id="LN7566">7566</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"_Cancel"</span>)<span class='macro_popup'>gettext ("_Cancel")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7567"><td class="num" id="LN7567">7567</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"_Rename"</span>)<span class='macro_popup'>gettext ("_Rename")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7568"><td class="num" id="LN7568">7568</td><td class="line"> g_free (utf8_old_name);</td></tr>
+<tr class="codeline" data-linenumber="7569"><td class="num" id="LN7569">7569</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7570"><td class="num" id="LN7570">7570</td><td class="line"> <span class='keyword'>if</span> (utf8_new_name != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="7571"><td class="num" id="LN7571">7571</td><td class="line"> <span class='keyword'>char</span> *new_name;</td></tr>
+<tr class="codeline" data-linenumber="7572"><td class="num" id="LN7572">7572</td><td class="line"> <span class='keyword'>char</span> *reason = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7573"><td class="num" id="LN7573">7573</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7574"><td class="num" id="LN7574">7574</td><td class="line"> new_name = g_filename_from_utf8 (utf8_new_name, -1, 0, 0, 0);</td></tr>
+<tr class="codeline" data-linenumber="7575"><td class="num" id="LN7575">7575</td><td class="line"> g_free (utf8_new_name);</td></tr>
+<tr class="codeline" data-linenumber="7576"><td class="num" id="LN7576">7576</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7577"><td class="num" id="LN7577">7577</td><td class="line"> <span class='keyword'>if</span> (! valid_name (new_name, old_name, &amp;reason)) {</td></tr>
+<tr class="codeline" data-linenumber="7578"><td class="num" id="LN7578">7578</td><td class="line"> <span class='keyword'>char</span> *utf8_name = g_filename_display_name (new_name);</td></tr>
+<tr class="codeline" data-linenumber="7579"><td class="num" id="LN7579">7579</td><td class="line"> GtkWidget *dlg;</td></tr>
+<tr class="codeline" data-linenumber="7580"><td class="num" id="LN7580">7580</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7581"><td class="num" id="LN7581">7581</td><td class="line"> dlg = _gtk_error_dialog_new (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7582"><td class="num" id="LN7582">7582</td><td class="line"> GTK_DIALOG_DESTROY_WITH_PARENT,</td></tr>
+<tr class="codeline" data-linenumber="7583"><td class="num" id="LN7583">7583</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7584"><td class="num" id="LN7584">7584</td><td class="line"> (renaming_dir ? <span class='macro'>_(<span class='string_literal'>"Could not rename the folder"</span>)<span class='macro_popup'>gettext ("Could not rename the folder")</span></span> : <span class='macro'>_(<span class='string_literal'>"Could not rename the file"</span>)<span class='macro_popup'>gettext ("Could not rename the file")</span></span>),</td></tr>
+<tr class="codeline" data-linenumber="7585"><td class="num" id="LN7585">7585</td><td class="line"> <span class='string_literal'>"%s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="7586"><td class="num" id="LN7586">7586</td><td class="line"> reason);</td></tr>
+<tr class="codeline" data-linenumber="7587"><td class="num" id="LN7587">7587</td><td class="line"> gtk_dialog_run (<span class='macro'>GTK_DIALOG (dlg)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dlg)), ((gtk_dialog_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7588"><td class="num" id="LN7588">7588</td><td class="line"> gtk_widget_destroy (dlg);</td></tr>
+<tr class="codeline" data-linenumber="7589"><td class="num" id="LN7589">7589</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7590"><td class="num" id="LN7590">7590</td><td class="line"> g_free (reason);</td></tr>
+<tr class="codeline" data-linenumber="7591"><td class="num" id="LN7591">7591</td><td class="line"> g_free (utf8_name);</td></tr>
+<tr class="codeline" data-linenumber="7592"><td class="num" id="LN7592">7592</td><td class="line"> g_free (new_name);</td></tr>
+<tr class="codeline" data-linenumber="7593"><td class="num" id="LN7593">7593</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7594"><td class="num" id="LN7594">7594</td><td class="line"> <span class='keyword'>goto</span> retry__rename_selection;</td></tr>
+<tr class="codeline" data-linenumber="7595"><td class="num" id="LN7595">7595</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7596"><td class="num" id="LN7596">7596</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7597"><td class="num" id="LN7597">7597</td><td class="line"> <span class='keyword'>if</span> (name_is_present (window, parent_dir, new_name, &amp;reason)) {</td></tr>
+<tr class="codeline" data-linenumber="7598"><td class="num" id="LN7598">7598</td><td class="line"> GtkWidget *dlg;</td></tr>
+<tr class="codeline" data-linenumber="7599"><td class="num" id="LN7599">7599</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7600"><td class="num" id="LN7600">7600</td><td class="line"> dlg = _gtk_message_dialog_new (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7601"><td class="num" id="LN7601">7601</td><td class="line"> GTK_DIALOG_MODAL,</td></tr>
+<tr class="codeline" data-linenumber="7602"><td class="num" id="LN7602">7602</td><td class="line"> <span class='string_literal'>"dialog-question"</span>,</td></tr>
+<tr class="codeline" data-linenumber="7603"><td class="num" id="LN7603">7603</td><td class="line"> (renaming_dir ? <span class='macro'>_(<span class='string_literal'>"Could not rename the folder"</span>)<span class='macro_popup'>gettext ("Could not rename the folder")</span></span> : <span class='macro'>_(<span class='string_literal'>"Could not rename the file"</span>)<span class='macro_popup'>gettext ("Could not rename the file")</span></span>),</td></tr>
+<tr class="codeline" data-linenumber="7604"><td class="num" id="LN7604">7604</td><td class="line"> reason,</td></tr>
+<tr class="codeline" data-linenumber="7605"><td class="num" id="LN7605">7605</td><td class="line"> <span class='string_literal'>"gtk-close"</span>, GTK_RESPONSE_OK,</td></tr>
+<tr class="codeline" data-linenumber="7606"><td class="num" id="LN7606">7606</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7607"><td class="num" id="LN7607">7607</td><td class="line"> gtk_dialog_run (<span class='macro'>GTK_DIALOG (dlg)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dlg)), ((gtk_dialog_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7608"><td class="num" id="LN7608">7608</td><td class="line"> gtk_widget_destroy (dlg);</td></tr>
+<tr class="codeline" data-linenumber="7609"><td class="num" id="LN7609">7609</td><td class="line"> g_free (reason);</td></tr>
+<tr class="codeline" data-linenumber="7610"><td class="num" id="LN7610">7610</td><td class="line"> g_free (new_name);</td></tr>
+<tr class="codeline" data-linenumber="7611"><td class="num" id="LN7611">7611</td><td class="line"> <span class='keyword'>goto</span> retry__rename_selection;</td></tr>
+<tr class="codeline" data-linenumber="7612"><td class="num" id="LN7612">7612</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7613"><td class="num" id="LN7613">7613</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7614"><td class="num" id="LN7614">7614</td><td class="line"> rename_selection (window,</td></tr>
+<tr class="codeline" data-linenumber="7615"><td class="num" id="LN7615">7615</td><td class="line"> path_to_rename,</td></tr>
+<tr class="codeline" data-linenumber="7616"><td class="num" id="LN7616">7616</td><td class="line"> old_name,</td></tr>
+<tr class="codeline" data-linenumber="7617"><td class="num" id="LN7617">7617</td><td class="line"> new_name,</td></tr>
+<tr class="codeline" data-linenumber="7618"><td class="num" id="LN7618">7618</td><td class="line"> parent_dir,</td></tr>
+<tr class="codeline" data-linenumber="7619"><td class="num" id="LN7619">7619</td><td class="line"> renaming_dir,</td></tr>
+<tr class="codeline" data-linenumber="7620"><td class="num" id="LN7620">7620</td><td class="line"> dir_in_archive,</td></tr>
+<tr class="codeline" data-linenumber="7621"><td class="num" id="LN7621">7621</td><td class="line"> original_path);</td></tr>
+<tr class="codeline" data-linenumber="7622"><td class="num" id="LN7622">7622</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7623"><td class="num" id="LN7623">7623</td><td class="line"> g_free (new_name);</td></tr>
+<tr class="codeline" data-linenumber="7624"><td class="num" id="LN7624">7624</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7625"><td class="num" id="LN7625">7625</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7626"><td class="num" id="LN7626">7626</td><td class="line"> g_free (old_name);</td></tr>
+<tr class="codeline" data-linenumber="7627"><td class="num" id="LN7627">7627</td><td class="line"> g_free (parent_dir);</td></tr>
+<tr class="codeline" data-linenumber="7628"><td class="num" id="LN7628">7628</td><td class="line"> g_free (path_to_rename);</td></tr>
+<tr class="codeline" data-linenumber="7629"><td class="num" id="LN7629">7629</td><td class="line"> g_free (original_path);</td></tr>
+<tr class="codeline" data-linenumber="7630"><td class="num" id="LN7630">7630</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7631"><td class="num" id="LN7631">7631</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7632"><td class="num" id="LN7632">7632</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7633"><td class="num" id="LN7633">7633</td><td class="line">fr_clipboard_get (GtkClipboard *clipboard,</td></tr>
+<tr class="codeline" data-linenumber="7634"><td class="num" id="LN7634">7634</td><td class="line"> GtkSelectionData *selection_data,</td></tr>
+<tr class="codeline" data-linenumber="7635"><td class="num" id="LN7635">7635</td><td class="line"> guint info,</td></tr>
+<tr class="codeline" data-linenumber="7636"><td class="num" id="LN7636">7636</td><td class="line"> gpointer user_data_or_owner)</td></tr>
+<tr class="codeline" data-linenumber="7637"><td class="num" id="LN7637">7637</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7638"><td class="num" id="LN7638">7638</td><td class="line"> FrWindow *window = user_data_or_owner;</td></tr>
+<tr class="codeline" data-linenumber="7639"><td class="num" id="LN7639">7639</td><td class="line"> <span class='keyword'>char</span> *data;</td></tr>
+<tr class="codeline" data-linenumber="7640"><td class="num" id="LN7640">7640</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7641"><td class="num" id="LN7641">7641</td><td class="line"> <span class='keyword'>if</span> (gtk_selection_data_get_target (selection_data) != <span class='macro'>FR_SPECIAL_URI_LIST<span class='macro_popup'>(gdk_atom_intern_static_string ("application/engrampa-uri-list"<br>))</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="7642"><td class="num" id="LN7642">7642</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="7643"><td class="num" id="LN7643">7643</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7644"><td class="num" id="LN7644">7644</td><td class="line"> data = get_selection_data_from_clipboard_data (window, window-&gt;priv-&gt;copy_data);</td></tr>
+<tr class="codeline" data-linenumber="7645"><td class="num" id="LN7645">7645</td><td class="line"> gtk_selection_data_set (selection_data,</td></tr>
+<tr class="codeline" data-linenumber="7646"><td class="num" id="LN7646">7646</td><td class="line"> gtk_selection_data_get_target (selection_data),</td></tr>
+<tr class="codeline" data-linenumber="7647"><td class="num" id="LN7647">7647</td><td class="line"> 8,</td></tr>
+<tr class="codeline" data-linenumber="7648"><td class="num" id="LN7648">7648</td><td class="line"> (guchar *) data,</td></tr>
+<tr class="codeline" data-linenumber="7649"><td class="num" id="LN7649">7649</td><td class="line"> strlen (data));</td></tr>
+<tr class="codeline" data-linenumber="7650"><td class="num" id="LN7650">7650</td><td class="line"> g_free (data);</td></tr>
+<tr class="codeline" data-linenumber="7651"><td class="num" id="LN7651">7651</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7652"><td class="num" id="LN7652">7652</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7653"><td class="num" id="LN7653">7653</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7654"><td class="num" id="LN7654">7654</td><td class="line">fr_clipboard_clear (GtkClipboard *clipboard,</td></tr>
+<tr class="codeline" data-linenumber="7655"><td class="num" id="LN7655">7655</td><td class="line"> gpointer user_data_or_owner)</td></tr>
+<tr class="codeline" data-linenumber="7656"><td class="num" id="LN7656">7656</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7657"><td class="num" id="LN7657">7657</td><td class="line"> FrWindow *window = user_data_or_owner;</td></tr>
+<tr class="codeline" data-linenumber="7658"><td class="num" id="LN7658">7658</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7659"><td class="num" id="LN7659">7659</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;copy_data != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="7660"><td class="num" id="LN7660">7660</td><td class="line"> fr_clipboard_data_unref (window-&gt;priv-&gt;copy_data);</td></tr>
+<tr class="codeline" data-linenumber="7661"><td class="num" id="LN7661">7661</td><td class="line"> window-&gt;priv-&gt;copy_data = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7662"><td class="num" id="LN7662">7662</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7663"><td class="num" id="LN7663">7663</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7664"><td class="num" id="LN7664">7664</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7665"><td class="num" id="LN7665">7665</td><td class="line">GList *</td></tr>
+<tr class="codeline" data-linenumber="7666"><td class="num" id="LN7666">7666</td><td class="line">fr_window_get_selection (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="7667"><td class="num" id="LN7667">7667</td><td class="line"> gboolean from_sidebar,</td></tr>
+<tr class="codeline" data-linenumber="7668"><td class="num" id="LN7668">7668</td><td class="line"> <span class='keyword'>char</span> **return_base_dir)</td></tr>
+<tr class="codeline" data-linenumber="7669"><td class="num" id="LN7669">7669</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7670"><td class="num" id="LN7670">7670</td><td class="line"> GList *files;</td></tr>
+<tr class="codeline" data-linenumber="7671"><td class="num" id="LN7671">7671</td><td class="line"> <span class='keyword'>char</span> *base_dir;</td></tr>
+<tr class="codeline" data-linenumber="7672"><td class="num" id="LN7672">7672</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7673"><td class="num" id="LN7673">7673</td><td class="line"> <span class='keyword'>if</span> (from_sidebar) {</td></tr>
+<tr class="codeline" data-linenumber="7674"><td class="num" id="LN7674">7674</td><td class="line"> <span class='keyword'>char</span> *selected_folder;</td></tr>
+<tr class="codeline" data-linenumber="7675"><td class="num" id="LN7675">7675</td><td class="line"> <span class='keyword'>char</span> *parent_folder;</td></tr>
+<tr class="codeline" data-linenumber="7676"><td class="num" id="LN7676">7676</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7677"><td class="num" id="LN7677">7677</td><td class="line"> files = fr_window_get_folder_tree_selection (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7678"><td class="num" id="LN7678">7678</td><td class="line"> selected_folder = fr_window_get_selected_folder_in_tree_view (window);</td></tr>
+<tr class="codeline" data-linenumber="7679"><td class="num" id="LN7679">7679</td><td class="line"> parent_folder = remove_level_from_path (selected_folder);</td></tr>
+<tr class="codeline" data-linenumber="7680"><td class="num" id="LN7680">7680</td><td class="line"> <span class='keyword'>if</span> (parent_folder == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="7681"><td class="num" id="LN7681">7681</td><td class="line"> base_dir = <span class='macro'>g_strdup (<span class='string_literal'>"/"</span>)<span class='macro_popup'>g_strdup_inline ("/")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7682"><td class="num" id="LN7682">7682</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (parent_folder[strlen (parent_folder) - 1] == '/')</td></tr>
+<tr class="codeline" data-linenumber="7683"><td class="num" id="LN7683">7683</td><td class="line"> base_dir = <span class='macro'>g_strdup (parent_folder)<span class='macro_popup'>g_strdup_inline (parent_folder)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7684"><td class="num" id="LN7684">7684</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="7685"><td class="num" id="LN7685">7685</td><td class="line"> base_dir = g_strconcat (parent_folder, <span class='string_literal'>"/"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7686"><td class="num" id="LN7686">7686</td><td class="line"> g_free (selected_folder);</td></tr>
+<tr class="codeline" data-linenumber="7687"><td class="num" id="LN7687">7687</td><td class="line"> g_free (parent_folder);</td></tr>
+<tr class="codeline" data-linenumber="7688"><td class="num" id="LN7688">7688</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7689"><td class="num" id="LN7689">7689</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="7690"><td class="num" id="LN7690">7690</td><td class="line"> files = fr_window_get_file_list_selection (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7691"><td class="num" id="LN7691">7691</td><td class="line"> base_dir = <span class='macro'>g_strdup (fr_window_get_current_location (window))<span class='macro_popup'>g_strdup_inline (fr_window_get_current_location (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7692"><td class="num" id="LN7692">7692</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7693"><td class="num" id="LN7693">7693</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7694"><td class="num" id="LN7694">7694</td><td class="line"> <span class='keyword'>if</span> (return_base_dir)</td></tr>
+<tr class="codeline" data-linenumber="7695"><td class="num" id="LN7695">7695</td><td class="line"> *return_base_dir = base_dir;</td></tr>
+<tr class="codeline" data-linenumber="7696"><td class="num" id="LN7696">7696</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="7697"><td class="num" id="LN7697">7697</td><td class="line"> g_free (base_dir);</td></tr>
+<tr class="codeline" data-linenumber="7698"><td class="num" id="LN7698">7698</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7699"><td class="num" id="LN7699">7699</td><td class="line"> <span class='keyword'>return</span> files;</td></tr>
+<tr class="codeline" data-linenumber="7700"><td class="num" id="LN7700">7700</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7701"><td class="num" id="LN7701">7701</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7702"><td class="num" id="LN7702">7702</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7703"><td class="num" id="LN7703">7703</td><td class="line">fr_window_copy_or_cut_selection (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="7704"><td class="num" id="LN7704">7704</td><td class="line"> FRClipboardOp op,</td></tr>
+<tr class="codeline" data-linenumber="7705"><td class="num" id="LN7705">7705</td><td class="line"> gboolean from_sidebar)</td></tr>
+<tr class="codeline" data-linenumber="7706"><td class="num" id="LN7706">7706</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7707"><td class="num" id="LN7707">7707</td><td class="line"> GList *files;</td></tr>
+<tr class="codeline" data-linenumber="7708"><td class="num" id="LN7708">7708</td><td class="line"> <span class='keyword'>char</span> *base_dir;</td></tr>
+<tr class="codeline" data-linenumber="7709"><td class="num" id="LN7709">7709</td><td class="line"> GtkClipboard *clipboard;</td></tr>
+<tr class="codeline" data-linenumber="7710"><td class="num" id="LN7710">7710</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7711"><td class="num" id="LN7711">7711</td><td class="line"> files = fr_window_get_selection (window, from_sidebar, &amp;base_dir);</td></tr>
+<tr class="codeline" data-linenumber="7712"><td class="num" id="LN7712">7712</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7713"><td class="num" id="LN7713">7713</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;copy_data != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="7714"><td class="num" id="LN7714">7714</td><td class="line"> fr_clipboard_data_unref (window-&gt;priv-&gt;copy_data);</td></tr>
+<tr class="codeline" data-linenumber="7715"><td class="num" id="LN7715">7715</td><td class="line"> window-&gt;priv-&gt;copy_data = fr_clipboard_data_new ();</td></tr>
+<tr class="codeline" data-linenumber="7716"><td class="num" id="LN7716">7716</td><td class="line"> window-&gt;priv-&gt;copy_data-&gt;files = files;</td></tr>
+<tr class="codeline" data-linenumber="7717"><td class="num" id="LN7717">7717</td><td class="line"> window-&gt;priv-&gt;copy_data-&gt;op = op;</td></tr>
+<tr class="codeline" data-linenumber="7718"><td class="num" id="LN7718">7718</td><td class="line"> window-&gt;priv-&gt;copy_data-&gt;base_dir = base_dir;</td></tr>
+<tr class="codeline" data-linenumber="7719"><td class="num" id="LN7719">7719</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7720"><td class="num" id="LN7720">7720</td><td class="line"> clipboard = gtk_clipboard_get (<span class='macro'>FR_CLIPBOARD<span class='macro_popup'>(gdk_atom_intern_static_string ("_RNGRAMPA_SPECIAL_CLIPBOARD"<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7721"><td class="num" id="LN7721">7721</td><td class="line"> gtk_clipboard_set_with_owner (clipboard,</td></tr>
+<tr class="codeline" data-linenumber="7722"><td class="num" id="LN7722">7722</td><td class="line"> clipboard_targets,</td></tr>
+<tr class="codeline" data-linenumber="7723"><td class="num" id="LN7723">7723</td><td class="line"> <span class='macro'>G_N_ELEMENTS (clipboard_targets)<span class='macro_popup'>(sizeof (clipboard_targets) / sizeof ((clipboard_targets)[0])<br>)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7724"><td class="num" id="LN7724">7724</td><td class="line"> fr_clipboard_get,</td></tr>
+<tr class="codeline" data-linenumber="7725"><td class="num" id="LN7725">7725</td><td class="line"> fr_clipboard_clear,</td></tr>
+<tr class="codeline" data-linenumber="7726"><td class="num" id="LN7726">7726</td><td class="line"> <span class='macro'>G_OBJECT (window)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7727"><td class="num" id="LN7727">7727</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7728"><td class="num" id="LN7728">7728</td><td class="line"> fr_window_update_sensitivity (window);</td></tr>
+<tr class="codeline" data-linenumber="7729"><td class="num" id="LN7729">7729</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7730"><td class="num" id="LN7730">7730</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7731"><td class="num" id="LN7731">7731</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7732"><td class="num" id="LN7732">7732</td><td class="line">fr_window_copy_selection (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="7733"><td class="num" id="LN7733">7733</td><td class="line"> gboolean from_sidebar)</td></tr>
+<tr class="codeline" data-linenumber="7734"><td class="num" id="LN7734">7734</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7735"><td class="num" id="LN7735">7735</td><td class="line"> fr_window_copy_or_cut_selection (window, FR_CLIPBOARD_OP_COPY, from_sidebar);</td></tr>
+<tr class="codeline" data-linenumber="7736"><td class="num" id="LN7736">7736</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7737"><td class="num" id="LN7737">7737</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7738"><td class="num" id="LN7738">7738</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7739"><td class="num" id="LN7739">7739</td><td class="line">fr_window_cut_selection (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="7740"><td class="num" id="LN7740">7740</td><td class="line"> gboolean from_sidebar)</td></tr>
+<tr class="codeline" data-linenumber="7741"><td class="num" id="LN7741">7741</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7742"><td class="num" id="LN7742">7742</td><td class="line"> fr_window_copy_or_cut_selection (window, FR_CLIPBOARD_OP_CUT, from_sidebar);</td></tr>
+<tr class="codeline" data-linenumber="7743"><td class="num" id="LN7743">7743</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7744"><td class="num" id="LN7744">7744</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7745"><td class="num" id="LN7745">7745</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="7746"><td class="num" id="LN7746">7746</td><td class="line">always_fake_load (FrArchive *archive,</td></tr>
+<tr class="codeline" data-linenumber="7747"><td class="num" id="LN7747">7747</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="7748"><td class="num" id="LN7748">7748</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7749"><td class="num" id="LN7749">7749</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7750"><td class="num" id="LN7750">7750</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7751"><td class="num" id="LN7751">7751</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7752"><td class="num" id="LN7752">7752</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7753"><td class="num" id="LN7753">7753</td><td class="line">add_pasted_files (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="7754"><td class="num" id="LN7754">7754</td><td class="line"> FrClipboardData *data)</td></tr>
+<tr class="codeline" data-linenumber="7755"><td class="num" id="LN7755">7755</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7756"><td class="num" id="LN7756">7756</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *current_dir_relative = data-&gt;current_dir + 1;</td></tr>
+<tr class="codeline" data-linenumber="7757"><td class="num" id="LN7757">7757</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="7758"><td class="num" id="LN7758">7758</td><td class="line"> GList *new_file_list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7759"><td class="num" id="LN7759">7759</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7760"><td class="num" id="LN7760">7760</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;password_for_paste != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="7761"><td class="num" id="LN7761">7761</td><td class="line"> g_free (window-&gt;priv-&gt;password_for_paste);</td></tr>
+<tr class="codeline" data-linenumber="7762"><td class="num" id="LN7762">7762</td><td class="line"> window-&gt;priv-&gt;password_for_paste = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7763"><td class="num" id="LN7763">7763</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7764"><td class="num" id="LN7764">7764</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7765"><td class="num" id="LN7765">7765</td><td class="line"> fr_process_clear (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="7766"><td class="num" id="LN7766">7766</td><td class="line"> <span class='keyword'>for</span> (scan = data-&gt;files; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="7767"><td class="num" id="LN7767">7767</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *old_name = (<span class='keyword'>char</span>*) scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="7768"><td class="num" id="LN7768">7768</td><td class="line"> <span class='keyword'>char</span> *new_name = g_build_filename (current_dir_relative, old_name + strlen (data-&gt;base_dir) - 1, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7769"><td class="num" id="LN7769">7769</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7770"><td class="num" id="LN7770">7770</td><td class="line"> <span class='comment'>/* skip folders */</span></td></tr>
+<tr class="codeline" data-linenumber="7771"><td class="num" id="LN7771">7771</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7772"><td class="num" id="LN7772">7772</td><td class="line"> <span class='keyword'>if</span> ((strcmp (old_name, new_name) != 0)</td></tr>
+<tr class="codeline" data-linenumber="7773"><td class="num" id="LN7773">7773</td><td class="line"> &amp;&amp; (old_name[strlen (old_name) - 1] != '/'))</td></tr>
+<tr class="codeline" data-linenumber="7774"><td class="num" id="LN7774">7774</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="7775"><td class="num" id="LN7775">7775</td><td class="line"> fr_process_begin_command (window-&gt;archive-&gt;process, <span class='string_literal'>"mv"</span>);</td></tr>
+<tr class="codeline" data-linenumber="7776"><td class="num" id="LN7776">7776</td><td class="line"> fr_process_set_working_dir (window-&gt;archive-&gt;process, data-&gt;tmp_dir);</td></tr>
+<tr class="codeline" data-linenumber="7777"><td class="num" id="LN7777">7777</td><td class="line"> fr_process_add_arg (window-&gt;archive-&gt;process, <span class='string_literal'>"-f"</span>);</td></tr>
+<tr class="codeline" data-linenumber="7778"><td class="num" id="LN7778">7778</td><td class="line"> <span class='keyword'>if</span> (old_name[0] == '/')</td></tr>
+<tr class="codeline" data-linenumber="7779"><td class="num" id="LN7779">7779</td><td class="line"> old_name = old_name + 1;</td></tr>
+<tr class="codeline" data-linenumber="7780"><td class="num" id="LN7780">7780</td><td class="line"> fr_process_add_arg (window-&gt;archive-&gt;process, old_name);</td></tr>
+<tr class="codeline" data-linenumber="7781"><td class="num" id="LN7781">7781</td><td class="line"> fr_process_add_arg (window-&gt;archive-&gt;process, new_name);</td></tr>
+<tr class="codeline" data-linenumber="7782"><td class="num" id="LN7782">7782</td><td class="line"> fr_process_end_command (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="7783"><td class="num" id="LN7783">7783</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7784"><td class="num" id="LN7784">7784</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7785"><td class="num" id="LN7785">7785</td><td class="line"> new_file_list = g_list_prepend (new_file_list, new_name);</td></tr>
+<tr class="codeline" data-linenumber="7786"><td class="num" id="LN7786">7786</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7787"><td class="num" id="LN7787">7787</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7788"><td class="num" id="LN7788">7788</td><td class="line"> fr_archive_add (window-&gt;archive,</td></tr>
+<tr class="codeline" data-linenumber="7789"><td class="num" id="LN7789">7789</td><td class="line"> new_file_list,</td></tr>
+<tr class="codeline" data-linenumber="7790"><td class="num" id="LN7790">7790</td><td class="line"> data-&gt;tmp_dir,</td></tr>
+<tr class="codeline" data-linenumber="7791"><td class="num" id="LN7791">7791</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7792"><td class="num" id="LN7792">7792</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7793"><td class="num" id="LN7793">7793</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7794"><td class="num" id="LN7794">7794</td><td class="line"> window-&gt;priv-&gt;password,</td></tr>
+<tr class="codeline" data-linenumber="7795"><td class="num" id="LN7795">7795</td><td class="line"> window-&gt;priv-&gt;encrypt_header,</td></tr>
+<tr class="codeline" data-linenumber="7796"><td class="num" id="LN7796">7796</td><td class="line"> window-&gt;priv-&gt;compression,</td></tr>
+<tr class="codeline" data-linenumber="7797"><td class="num" id="LN7797">7797</td><td class="line"> window-&gt;priv-&gt;volume_size);</td></tr>
+<tr class="codeline" data-linenumber="7798"><td class="num" id="LN7798">7798</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7799"><td class="num" id="LN7799">7799</td><td class="line"> path_list_free (new_file_list);</td></tr>
+<tr class="codeline" data-linenumber="7800"><td class="num" id="LN7800">7800</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7801"><td class="num" id="LN7801">7801</td><td class="line"> <span class='comment'>/* remove the tmp dir */</span></td></tr>
+<tr class="codeline" data-linenumber="7802"><td class="num" id="LN7802">7802</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7803"><td class="num" id="LN7803">7803</td><td class="line"> fr_process_begin_command (window-&gt;archive-&gt;process, <span class='string_literal'>"rm"</span>);</td></tr>
+<tr class="codeline" data-linenumber="7804"><td class="num" id="LN7804">7804</td><td class="line"> fr_process_set_working_dir (window-&gt;archive-&gt;process, g_get_tmp_dir ());</td></tr>
+<tr class="codeline" data-linenumber="7805"><td class="num" id="LN7805">7805</td><td class="line"> fr_process_set_sticky (window-&gt;archive-&gt;process, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7806"><td class="num" id="LN7806">7806</td><td class="line"> fr_process_add_arg (window-&gt;archive-&gt;process, <span class='string_literal'>"-rf"</span>);</td></tr>
+<tr class="codeline" data-linenumber="7807"><td class="num" id="LN7807">7807</td><td class="line"> fr_process_add_arg (window-&gt;archive-&gt;process, data-&gt;tmp_dir);</td></tr>
+<tr class="codeline" data-linenumber="7808"><td class="num" id="LN7808">7808</td><td class="line"> fr_process_end_command (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="7809"><td class="num" id="LN7809">7809</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7810"><td class="num" id="LN7810">7810</td><td class="line"> fr_process_start (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="7811"><td class="num" id="LN7811">7811</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7812"><td class="num" id="LN7812">7812</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7813"><td class="num" id="LN7813">7813</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7814"><td class="num" id="LN7814">7814</td><td class="line">copy_from_archive_action_performed_cb (FrArchive *archive,</td></tr>
+<tr class="codeline" data-linenumber="7815"><td class="num" id="LN7815">7815</td><td class="line"> FrAction action,</td></tr>
+<tr class="codeline" data-linenumber="7816"><td class="num" id="LN7816">7816</td><td class="line"> FrProcError *error,</td></tr>
+<tr class="codeline" data-linenumber="7817"><td class="num" id="LN7817">7817</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="7818"><td class="num" id="LN7818">7818</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7819"><td class="num" id="LN7819">7819</td><td class="line"> FrWindow *window = data;</td></tr>
+<tr class="codeline" data-linenumber="7820"><td class="num" id="LN7820">7820</td><td class="line"> gboolean <span class='macro'>UNUSED_VARIABLE<span class='macro_popup'>__attribute__ ((unused))</span></span> continue_batch = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7821"><td class="num" id="LN7821">7821</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7822"><td class="num" id="LN7822">7822</td><td class="line"><span class='directive'>#ifdef MATE_ENABLE_DEBUG</span></td></tr>
+<tr class="codeline" data-linenumber="7823"><td class="num" id="LN7823">7823</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 7823, __FUNCTION__</span></span>, <span class='string_literal'>"%s [DONE] (FR::Window)\n"</span>, get_action_name (action));</td></tr>
+<tr class="codeline" data-linenumber="7824"><td class="num" id="LN7824">7824</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="7825"><td class="num" id="LN7825">7825</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7826"><td class="num" id="LN7826">7826</td><td class="line"> fr_window_stop_activity_mode (window);</td></tr>
+<tr class="codeline" data-linenumber="7827"><td class="num" id="LN7827">7827</td><td class="line"> fr_window_pop_message (window);</td></tr>
+<tr class="codeline" data-linenumber="7828"><td class="num" id="LN7828">7828</td><td class="line"> close_progress_dialog (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7829"><td class="num" id="LN7829">7829</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7830"><td class="num" id="LN7830">7830</td><td class="line"> <span class='keyword'>if</span> (error-&gt;type == FR_PROC_ERROR_ASK_PASSWORD) {</td></tr>
+<tr class="codeline" data-linenumber="7831"><td class="num" id="LN7831">7831</td><td class="line"> dlg_ask_password_for_paste_operation (window);</td></tr>
+<tr class="codeline" data-linenumber="7832"><td class="num" id="LN7832">7832</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="7833"><td class="num" id="LN7833">7833</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7834"><td class="num" id="LN7834">7834</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7835"><td class="num" id="LN7835">7835</td><td class="line"> (<span class='keyword'>void</span>) handle_errors (window, archive, action, error);</td></tr>
+<tr class="codeline" data-linenumber="7836"><td class="num" id="LN7836">7836</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7837"><td class="num" id="LN7837">7837</td><td class="line"> <span class='keyword'>if</span> (error-&gt;type != FR_PROC_ERROR_NONE) {</td></tr>
+<tr class="codeline" data-linenumber="7838"><td class="num" id="LN7838">7838</td><td class="line"> fr_clipboard_data_unref (window-&gt;priv-&gt;clipboard_data);</td></tr>
+<tr class="codeline" data-linenumber="7839"><td class="num" id="LN7839">7839</td><td class="line"> window-&gt;priv-&gt;clipboard_data = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7840"><td class="num" id="LN7840">7840</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="7841"><td class="num" id="LN7841">7841</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7842"><td class="num" id="LN7842">7842</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7843"><td class="num" id="LN7843">7843</td><td class="line"> <span class='keyword'>switch</span> (action) {</td></tr>
+<tr class="codeline" data-linenumber="7844"><td class="num" id="LN7844">7844</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_LISTING_CONTENT:</td></tr>
+<tr class="codeline" data-linenumber="7845"><td class="num" id="LN7845">7845</td><td class="line"> fr_process_clear (window-&gt;priv-&gt;copy_from_archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="7846"><td class="num" id="LN7846">7846</td><td class="line"> fr_archive_extract_to_local (window-&gt;priv-&gt;copy_from_archive,</td></tr>
+<tr class="codeline" data-linenumber="7847"><td class="num" id="LN7847">7847</td><td class="line"> window-&gt;priv-&gt;clipboard_data-&gt;files,</td></tr>
+<tr class="codeline" data-linenumber="7848"><td class="num" id="LN7848">7848</td><td class="line"> window-&gt;priv-&gt;clipboard_data-&gt;tmp_dir,</td></tr>
+<tr class="codeline" data-linenumber="7849"><td class="num" id="LN7849">7849</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7850"><td class="num" id="LN7850">7850</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7851"><td class="num" id="LN7851">7851</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7852"><td class="num" id="LN7852">7852</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7853"><td class="num" id="LN7853">7853</td><td class="line"> window-&gt;priv-&gt;clipboard_data-&gt;archive_password);</td></tr>
+<tr class="codeline" data-linenumber="7854"><td class="num" id="LN7854">7854</td><td class="line"> fr_process_start (window-&gt;priv-&gt;copy_from_archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="7855"><td class="num" id="LN7855">7855</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="7856"><td class="num" id="LN7856">7856</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7857"><td class="num" id="LN7857">7857</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_EXTRACTING_FILES:</td></tr>
+<tr class="codeline" data-linenumber="7858"><td class="num" id="LN7858">7858</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;clipboard_data-&gt;op == FR_CLIPBOARD_OP_CUT) {</td></tr>
+<tr class="codeline" data-linenumber="7859"><td class="num" id="LN7859">7859</td><td class="line"> fr_process_clear (window-&gt;priv-&gt;copy_from_archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="7860"><td class="num" id="LN7860">7860</td><td class="line"> fr_archive_remove (window-&gt;priv-&gt;copy_from_archive,</td></tr>
+<tr class="codeline" data-linenumber="7861"><td class="num" id="LN7861">7861</td><td class="line"> window-&gt;priv-&gt;clipboard_data-&gt;files,</td></tr>
+<tr class="codeline" data-linenumber="7862"><td class="num" id="LN7862">7862</td><td class="line"> window-&gt;priv-&gt;compression);</td></tr>
+<tr class="codeline" data-linenumber="7863"><td class="num" id="LN7863">7863</td><td class="line"> fr_process_start (window-&gt;priv-&gt;copy_from_archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="7864"><td class="num" id="LN7864">7864</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7865"><td class="num" id="LN7865">7865</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="7866"><td class="num" id="LN7866">7866</td><td class="line"> add_pasted_files (window, window-&gt;priv-&gt;clipboard_data);</td></tr>
+<tr class="codeline" data-linenumber="7867"><td class="num" id="LN7867">7867</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="7868"><td class="num" id="LN7868">7868</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7869"><td class="num" id="LN7869">7869</td><td class="line"> <span class='keyword'>case</span> FR_ACTION_DELETING_FILES:</td></tr>
+<tr class="codeline" data-linenumber="7870"><td class="num" id="LN7870">7870</td><td class="line"> add_pasted_files (window, window-&gt;priv-&gt;clipboard_data);</td></tr>
+<tr class="codeline" data-linenumber="7871"><td class="num" id="LN7871">7871</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="7872"><td class="num" id="LN7872">7872</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7873"><td class="num" id="LN7873">7873</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="7874"><td class="num" id="LN7874">7874</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="7875"><td class="num" id="LN7875">7875</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7876"><td class="num" id="LN7876">7876</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7877"><td class="num" id="LN7877">7877</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7878"><td class="num" id="LN7878">7878</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7879"><td class="num" id="LN7879">7879</td><td class="line">fr_window_paste_from_clipboard_data (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="7880"><td class="num" id="LN7880">7880</td><td class="line"> FrClipboardData *data)</td></tr>
+<tr class="codeline" data-linenumber="7881"><td class="num" id="LN7881">7881</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7882"><td class="num" id="LN7882">7882</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *current_dir_relative;</td></tr>
+<tr class="codeline" data-linenumber="7883"><td class="num" id="LN7883">7883</td><td class="line"> GHashTable *created_dirs;</td></tr>
+<tr class="codeline" data-linenumber="7884"><td class="num" id="LN7884">7884</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="7885"><td class="num" id="LN7885">7885</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7886"><td class="num" id="LN7886">7886</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;password_for_paste != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="7887"><td class="num" id="LN7887">7887</td><td class="line"> fr_clipboard_data_set_password (data, window-&gt;priv-&gt;password_for_paste);</td></tr>
+<tr class="codeline" data-linenumber="7888"><td class="num" id="LN7888">7888</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7889"><td class="num" id="LN7889">7889</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;clipboard_data != data) {</td></tr>
+<tr class="codeline" data-linenumber="7890"><td class="num" id="LN7890">7890</td><td class="line"> fr_clipboard_data_unref (window-&gt;priv-&gt;clipboard_data);</td></tr>
+<tr class="codeline" data-linenumber="7891"><td class="num" id="LN7891">7891</td><td class="line"> window-&gt;priv-&gt;clipboard_data = data;</td></tr>
+<tr class="codeline" data-linenumber="7892"><td class="num" id="LN7892">7892</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7893"><td class="num" id="LN7893">7893</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7894"><td class="num" id="LN7894">7894</td><td class="line"> fr_window_set_current_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="7895"><td class="num" id="LN7895">7895</td><td class="line"> FR_BATCH_ACTION_PASTE,</td></tr>
+<tr class="codeline" data-linenumber="7896"><td class="num" id="LN7896">7896</td><td class="line"> fr_clipboard_data_ref (data),</td></tr>
+<tr class="codeline" data-linenumber="7897"><td class="num" id="LN7897">7897</td><td class="line"> (GFreeFunc) fr_clipboard_data_unref);</td></tr>
+<tr class="codeline" data-linenumber="7898"><td class="num" id="LN7898">7898</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7899"><td class="num" id="LN7899">7899</td><td class="line"> current_dir_relative = data-&gt;current_dir + 1;</td></tr>
+<tr class="codeline" data-linenumber="7900"><td class="num" id="LN7900">7900</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7901"><td class="num" id="LN7901">7901</td><td class="line"> data-&gt;tmp_dir = get_temp_work_dir (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7902"><td class="num" id="LN7902">7902</td><td class="line"> created_dirs = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7903"><td class="num" id="LN7903">7903</td><td class="line"> <span class='keyword'>for</span> (scan = data-&gt;files; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="7904"><td class="num" id="LN7904">7904</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *old_name = (<span class='keyword'>char</span>*) scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="7905"><td class="num" id="LN7905">7905</td><td class="line"> <span class='keyword'>char</span> *new_name = g_build_filename (current_dir_relative, old_name + strlen (data-&gt;base_dir) - 1, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7906"><td class="num" id="LN7906">7906</td><td class="line"> <span class='keyword'>char</span> *dir = remove_level_from_path (new_name);</td></tr>
+<tr class="codeline" data-linenumber="7907"><td class="num" id="LN7907">7907</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7908"><td class="num" id="LN7908">7908</td><td class="line"> <span class='keyword'>if</span> ((dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (g_hash_table_lookup (created_dirs, dir) == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="7909"><td class="num" id="LN7909">7909</td><td class="line"> <span class='keyword'>char</span> *dir_path;</td></tr>
+<tr class="codeline" data-linenumber="7910"><td class="num" id="LN7910">7910</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7911"><td class="num" id="LN7911">7911</td><td class="line"> dir_path = g_build_filename (data-&gt;tmp_dir, dir, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7912"><td class="num" id="LN7912">7912</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 7912, __FUNCTION__</span></span>, <span class='string_literal'>"mktree %s\n"</span>, dir_path);</td></tr>
+<tr class="codeline" data-linenumber="7913"><td class="num" id="LN7913">7913</td><td class="line"> make_directory_tree_from_path (dir_path, 0700, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7914"><td class="num" id="LN7914">7914</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7915"><td class="num" id="LN7915">7915</td><td class="line"> g_free (dir_path);</td></tr>
+<tr class="codeline" data-linenumber="7916"><td class="num" id="LN7916">7916</td><td class="line"> g_hash_table_replace (created_dirs, <span class='macro'>g_strdup (dir)<span class='macro_popup'>g_strdup_inline (dir)</span></span>, <span class='string_literal'>"1"</span>);</td></tr>
+<tr class="codeline" data-linenumber="7917"><td class="num" id="LN7917">7917</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7918"><td class="num" id="LN7918">7918</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7919"><td class="num" id="LN7919">7919</td><td class="line"> g_free (dir);</td></tr>
+<tr class="codeline" data-linenumber="7920"><td class="num" id="LN7920">7920</td><td class="line"> g_free (new_name);</td></tr>
+<tr class="codeline" data-linenumber="7921"><td class="num" id="LN7921">7921</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7922"><td class="num" id="LN7922">7922</td><td class="line"> g_hash_table_destroy (created_dirs);</td></tr>
+<tr class="codeline" data-linenumber="7923"><td class="num" id="LN7923">7923</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7924"><td class="num" id="LN7924">7924</td><td class="line"> <span class='comment'>/**/</span></td></tr>
+<tr class="codeline" data-linenumber="7925"><td class="num" id="LN7925">7925</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7926"><td class="num" id="LN7926">7926</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;copy_from_archive == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="7927"><td class="num" id="LN7927">7927</td><td class="line"> window-&gt;priv-&gt;copy_from_archive = fr_archive_new ();</td></tr>
+<tr class="codeline" data-linenumber="7928"><td class="num" id="LN7928">7928</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;copy_from_archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("start"), (((GCallback<br>) (action_started))), (window), ((void*)0), (GConnectFlags) 0<br>)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7929"><td class="num" id="LN7929">7929</td><td class="line"> <span class='string_literal'><span class='macro'>"start"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("start"), (((GCallback<br>) (action_started))), (window), ((void*)0), (GConnectFlags) 0<br>)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7930"><td class="num" id="LN7930">7930</td><td class="line"> <span class='macro'>G_CALLBACK (action_started),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("start"), (((GCallback<br>) (action_started))), (window), ((void*)0), (GConnectFlags) 0<br>)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7931"><td class="num" id="LN7931">7931</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("start"), (((GCallback<br>) (action_started))), (window), ((void*)0), (GConnectFlags) 0<br>)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7932"><td class="num" id="LN7932">7932</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;copy_from_archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("done"), (((GCallback<br>) (copy_from_archive_action_performed_cb))), (window), ((void<br>*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7933"><td class="num" id="LN7933">7933</td><td class="line"> <span class='string_literal'><span class='macro'>"done"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("done"), (((GCallback<br>) (copy_from_archive_action_performed_cb))), (window), ((void<br>*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7934"><td class="num" id="LN7934">7934</td><td class="line"> <span class='macro'>G_CALLBACK (copy_from_archive_action_performed_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("done"), (((GCallback<br>) (copy_from_archive_action_performed_cb))), (window), ((void<br>*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7935"><td class="num" id="LN7935">7935</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("done"), (((GCallback<br>) (copy_from_archive_action_performed_cb))), (window), ((void<br>*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7936"><td class="num" id="LN7936">7936</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;copy_from_archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("progress"), (((GCallback<br>) (fr_window_progress_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7937"><td class="num" id="LN7937">7937</td><td class="line"> <span class='string_literal'><span class='macro'>"progress"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("progress"), (((GCallback<br>) (fr_window_progress_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7938"><td class="num" id="LN7938">7938</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_progress_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("progress"), (((GCallback<br>) (fr_window_progress_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7939"><td class="num" id="LN7939">7939</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("progress"), (((GCallback<br>) (fr_window_progress_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7940"><td class="num" id="LN7940">7940</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;copy_from_archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("message"), (((GCallback<br>) (fr_window_message_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7941"><td class="num" id="LN7941">7941</td><td class="line"> <span class='string_literal'><span class='macro'>"message"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("message"), (((GCallback<br>) (fr_window_message_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7942"><td class="num" id="LN7942">7942</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_message_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("message"), (((GCallback<br>) (fr_window_message_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7943"><td class="num" id="LN7943">7943</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("message"), (((GCallback<br>) (fr_window_message_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7944"><td class="num" id="LN7944">7944</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;priv-&gt;copy_from_archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("stoppable"), (((GCallback<br>) (fr_window_stoppable_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7945"><td class="num" id="LN7945">7945</td><td class="line"> <span class='string_literal'><span class='macro'>"stoppable"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("stoppable"), (((GCallback<br>) (fr_window_stoppable_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7946"><td class="num" id="LN7946">7946</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_stoppable_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("stoppable"), (((GCallback<br>) (fr_window_stoppable_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="7947"><td class="num" id="LN7947">7947</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;priv-&gt;copy_from_archive)),<br> (((GType) ((20) &lt;&lt; (2))))))))), ("stoppable"), (((GCallback<br>) (fr_window_stoppable_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7948"><td class="num" id="LN7948">7948</td><td class="line"> fr_archive_set_fake_load_func (window-&gt;priv-&gt;copy_from_archive, always_fake_load, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7949"><td class="num" id="LN7949">7949</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="7950"><td class="num" id="LN7950">7950</td><td class="line"> fr_archive_load_local (window-&gt;priv-&gt;copy_from_archive,</td></tr>
+<tr class="codeline" data-linenumber="7951"><td class="num" id="LN7951">7951</td><td class="line"> data-&gt;archive_filename,</td></tr>
+<tr class="codeline" data-linenumber="7952"><td class="num" id="LN7952">7952</td><td class="line"> data-&gt;archive_password);</td></tr>
+<tr class="codeline" data-linenumber="7953"><td class="num" id="LN7953">7953</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7954"><td class="num" id="LN7954">7954</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7955"><td class="num" id="LN7955">7955</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7956"><td class="num" id="LN7956">7956</td><td class="line">fr_window_paste_selection_to (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="7957"><td class="num" id="LN7957">7957</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *current_dir)</td></tr>
+<tr class="codeline" data-linenumber="7958"><td class="num" id="LN7958">7958</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7959"><td class="num" id="LN7959">7959</td><td class="line"> GtkClipboard *clipboard;</td></tr>
+<tr class="codeline" data-linenumber="7960"><td class="num" id="LN7960">7960</td><td class="line"> GtkSelectionData *selection_data;</td></tr>
+<tr class="codeline" data-linenumber="7961"><td class="num" id="LN7961">7961</td><td class="line"> FrClipboardData *paste_data;</td></tr>
+<tr class="codeline" data-linenumber="7962"><td class="num" id="LN7962">7962</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7963"><td class="num" id="LN7963">7963</td><td class="line"> clipboard = gtk_clipboard_get (<span class='macro'>FR_CLIPBOARD<span class='macro_popup'>(gdk_atom_intern_static_string ("_RNGRAMPA_SPECIAL_CLIPBOARD"<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7964"><td class="num" id="LN7964">7964</td><td class="line"> selection_data = gtk_clipboard_wait_for_contents (clipboard, <span class='macro'>FR_SPECIAL_URI_LIST<span class='macro_popup'>(gdk_atom_intern_static_string ("application/engrampa-uri-list"<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7965"><td class="num" id="LN7965">7965</td><td class="line"> <span class='keyword'>if</span> (selection_data == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="7966"><td class="num" id="LN7966">7966</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="7967"><td class="num" id="LN7967">7967</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7968"><td class="num" id="LN7968">7968</td><td class="line"> paste_data = get_clipboard_data_from_selection_data (window, (<span class='keyword'>char</span>*) gtk_selection_data_get_data (selection_data));</td></tr>
+<tr class="codeline" data-linenumber="7969"><td class="num" id="LN7969">7969</td><td class="line"> paste_data-&gt;current_dir = <span class='macro'>g_strdup (current_dir)<span class='macro_popup'>g_strdup_inline (current_dir)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="7970"><td class="num" id="LN7970">7970</td><td class="line"> fr_window_paste_from_clipboard_data (window, paste_data);</td></tr>
+<tr class="codeline" data-linenumber="7971"><td class="num" id="LN7971">7971</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7972"><td class="num" id="LN7972">7972</td><td class="line"> gtk_selection_data_free (selection_data);</td></tr>
+<tr class="codeline" data-linenumber="7973"><td class="num" id="LN7973">7973</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="7974"><td class="num" id="LN7974">7974</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7975"><td class="num" id="LN7975">7975</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="7976"><td class="num" id="LN7976">7976</td><td class="line">fr_window_paste_selection (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="7977"><td class="num" id="LN7977">7977</td><td class="line"> gboolean from_sidebar)</td></tr>
+<tr class="codeline" data-linenumber="7978"><td class="num" id="LN7978">7978</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="7979"><td class="num" id="LN7979">7979</td><td class="line"> <span class='keyword'>char</span> *utf8_path, *utf8_old_path, *destination;</td></tr>
+<tr class="codeline" data-linenumber="7980"><td class="num" id="LN7980">7980</td><td class="line"> <span class='keyword'>char</span> *current_dir;</td></tr>
+<tr class="codeline" data-linenumber="7981"><td class="num" id="LN7981">7981</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7982"><td class="num" id="LN7982">7982</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;list_mode == FR_WINDOW_LIST_MODE_FLAT)</td></tr>
+<tr class="codeline" data-linenumber="7983"><td class="num" id="LN7983">7983</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="7984"><td class="num" id="LN7984">7984</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7985"><td class="num" id="LN7985">7985</td><td class="line"> <span class='comment'>/**/</span></td></tr>
+<tr class="codeline" data-linenumber="7986"><td class="num" id="LN7986">7986</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="7987"><td class="num" id="LN7987">7987</td><td class="line"> utf8_old_path = g_filename_to_utf8 (fr_window_get_current_location (window), -1, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7988"><td class="num" id="LN7988">7988</td><td class="line"> utf8_path = _gtk_request_dialog_run (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7989"><td class="num" id="LN7989">7989</td><td class="line"> (GTK_DIALOG_DESTROY_WITH_PARENT</td></tr>
+<tr class="codeline" data-linenumber="7990"><td class="num" id="LN7990">7990</td><td class="line"> | GTK_DIALOG_MODAL),</td></tr>
+<tr class="codeline" data-linenumber="7991"><td class="num" id="LN7991">7991</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Paste Selection"</span>)<span class='macro_popup'>gettext ("Paste Selection")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7992"><td class="num" id="LN7992">7992</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"_Destination folder:"</span>)<span class='macro_popup'>gettext ("_Destination folder:")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7993"><td class="num" id="LN7993">7993</td><td class="line"> utf8_old_path,</td></tr>
+<tr class="codeline" data-linenumber="7994"><td class="num" id="LN7994">7994</td><td class="line"> 1024,</td></tr>
+<tr class="codeline" data-linenumber="7995"><td class="num" id="LN7995">7995</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"_Cancel"</span>)<span class='macro_popup'>gettext ("_Cancel")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="7996"><td class="num" id="LN7996">7996</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"_Paste"</span>)<span class='macro_popup'>gettext ("_Paste")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="7997"><td class="num" id="LN7997">7997</td><td class="line"> g_free (utf8_old_path);</td></tr>
+<tr class="codeline" data-linenumber="7998"><td class="num" id="LN7998">7998</td><td class="line"> <span class='keyword'>if</span> (utf8_path == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="7999"><td class="num" id="LN7999">7999</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="8000"><td class="num" id="LN8000">8000</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8001"><td class="num" id="LN8001">8001</td><td class="line"> destination = g_filename_from_utf8 (utf8_path, -1, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8002"><td class="num" id="LN8002">8002</td><td class="line"> g_free (utf8_path);</td></tr>
+<tr class="codeline" data-linenumber="8003"><td class="num" id="LN8003">8003</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8004"><td class="num" id="LN8004">8004</td><td class="line"> <span class='keyword'>if</span> (destination[0] != '/')</td></tr>
+<tr class="codeline" data-linenumber="8005"><td class="num" id="LN8005">8005</td><td class="line"> current_dir = build_uri (fr_window_get_current_location (window), destination, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8006"><td class="num" id="LN8006">8006</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="8007"><td class="num" id="LN8007">8007</td><td class="line"> current_dir = <span class='macro'>g_strdup (destination)<span class='macro_popup'>g_strdup_inline (destination)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8008"><td class="num" id="LN8008">8008</td><td class="line"> g_free (destination);</td></tr>
+<tr class="codeline" data-linenumber="8009"><td class="num" id="LN8009">8009</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8010"><td class="num" id="LN8010">8010</td><td class="line"> fr_window_paste_selection_to (window, current_dir);</td></tr>
+<tr class="codeline" data-linenumber="8011"><td class="num" id="LN8011">8011</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8012"><td class="num" id="LN8012">8012</td><td class="line"> g_free (current_dir);</td></tr>
+<tr class="codeline" data-linenumber="8013"><td class="num" id="LN8013">8013</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8014"><td class="num" id="LN8014">8014</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8015"><td class="num" id="LN8015">8015</td><td class="line"><span class='comment'>/* -- fr_window_open_files -- */</span></td></tr>
+<tr class="codeline" data-linenumber="8016"><td class="num" id="LN8016">8016</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8017"><td class="num" id="LN8017">8017</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8018"><td class="num" id="LN8018">8018</td><td class="line">fr_window_open_files_with_command (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8019"><td class="num" id="LN8019">8019</td><td class="line"> GList *file_list,</td></tr>
+<tr class="codeline" data-linenumber="8020"><td class="num" id="LN8020">8020</td><td class="line"> <span class='keyword'>char</span> *command)</td></tr>
+<tr class="codeline" data-linenumber="8021"><td class="num" id="LN8021">8021</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8022"><td class="num" id="LN8022">8022</td><td class="line"> GAppInfo *app;</td></tr>
+<tr class="codeline" data-linenumber="8023"><td class="num" id="LN8023">8023</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8024"><td class="num" id="LN8024">8024</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8025"><td class="num" id="LN8025">8025</td><td class="line"> app = g_app_info_create_from_commandline (command, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, G_APP_INFO_CREATE_NONE, &amp;error);</td></tr>
+<tr class="codeline" data-linenumber="8026"><td class="num" id="LN8026">8026</td><td class="line"> <span class='keyword'>if</span> (error != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="8027"><td class="num" id="LN8027">8027</td><td class="line"> _gtk_error_dialog_run (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8028"><td class="num" id="LN8028">8028</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Could not perform the operation"</span>)<span class='macro_popup'>gettext ("Could not perform the operation")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8029"><td class="num" id="LN8029">8029</td><td class="line"> <span class='string_literal'>"%s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="8030"><td class="num" id="LN8030">8030</td><td class="line"> error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="8031"><td class="num" id="LN8031">8031</td><td class="line"> g_clear_error (&amp;error);</td></tr>
+<tr class="codeline" data-linenumber="8032"><td class="num" id="LN8032">8032</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="8033"><td class="num" id="LN8033">8033</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8034"><td class="num" id="LN8034">8034</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8035"><td class="num" id="LN8035">8035</td><td class="line"> fr_window_open_files_with_application (window, file_list, app);</td></tr>
+<tr class="codeline" data-linenumber="8036"><td class="num" id="LN8036">8036</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8037"><td class="num" id="LN8037">8037</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8038"><td class="num" id="LN8038">8038</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8039"><td class="num" id="LN8039">8039</td><td class="line">fr_window_open_files_with_application (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8040"><td class="num" id="LN8040">8040</td><td class="line"> GList *file_list,</td></tr>
+<tr class="codeline" data-linenumber="8041"><td class="num" id="LN8041">8041</td><td class="line"> GAppInfo *app)</td></tr>
+<tr class="codeline" data-linenumber="8042"><td class="num" id="LN8042">8042</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8043"><td class="num" id="LN8043">8043</td><td class="line"> GList *uris;</td></tr>
+<tr class="codeline" data-linenumber="8044"><td class="num" id="LN8044">8044</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="8045"><td class="num" id="LN8045">8045</td><td class="line"> GdkAppLaunchContext *context;</td></tr>
+<tr class="codeline" data-linenumber="8046"><td class="num" id="LN8046">8046</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8047"><td class="num" id="LN8047">8047</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8048"><td class="num" id="LN8048">8048</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;activity_ref &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="8049"><td class="num" id="LN8049">8049</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="8050"><td class="num" id="LN8050">8050</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8051"><td class="num" id="LN8051">8051</td><td class="line"> <span class='macro'>g_assert (file_list != NULL)<span class='macro_popup'>do { if (file_list != ((void*)0)) ; else g_assertion_message_expr<br> (((gchar*) 0), "fr-window.c", 8051, ((const char*) (__func__<br>)), "file_list != NULL"); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8052"><td class="num" id="LN8052">8052</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8053"><td class="num" id="LN8053">8053</td><td class="line"> uris = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8054"><td class="num" id="LN8054">8054</td><td class="line"> <span class='keyword'>for</span> (scan = file_list; scan; scan = scan-&gt;next)</td></tr>
+<tr class="codeline" data-linenumber="8055"><td class="num" id="LN8055">8055</td><td class="line"> uris = g_list_prepend (uris, g_filename_to_uri (scan-&gt;data, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="8056"><td class="num" id="LN8056">8056</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8057"><td class="num" id="LN8057">8057</td><td class="line"> context = gdk_display_get_app_launch_context (gtk_widget_get_display (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="8058"><td class="num" id="LN8058">8058</td><td class="line"> gdk_app_launch_context_set_screen (context, gtk_widget_get_screen (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="8059"><td class="num" id="LN8059">8059</td><td class="line"> gdk_app_launch_context_set_timestamp (context, 0);</td></tr>
+<tr class="codeline" data-linenumber="8060"><td class="num" id="LN8060">8060</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8061"><td class="num" id="LN8061">8061</td><td class="line"> <span class='keyword'>if</span> (! g_app_info_launch_uris (app, uris, <span class='macro'>G_APP_LAUNCH_CONTEXT (context)<span class='macro_popup'>((((GAppLaunchContext*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((context)), ((g_app_launch_context_get_type<br> ()))))))</span></span>, &amp;error)) {</td></tr>
+<tr class="codeline" data-linenumber="8062"><td class="num" id="LN8062">8062</td><td class="line"> _gtk_error_dialog_run (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8063"><td class="num" id="LN8063">8063</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Could not perform the operation"</span>)<span class='macro_popup'>gettext ("Could not perform the operation")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8064"><td class="num" id="LN8064">8064</td><td class="line"> <span class='string_literal'>"%s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="8065"><td class="num" id="LN8065">8065</td><td class="line"> error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="8066"><td class="num" id="LN8066">8066</td><td class="line"> g_clear_error (&amp;error);</td></tr>
+<tr class="codeline" data-linenumber="8067"><td class="num" id="LN8067">8067</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8068"><td class="num" id="LN8068">8068</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8069"><td class="num" id="LN8069">8069</td><td class="line"> g_object_unref (context);</td></tr>
+<tr class="codeline" data-linenumber="8070"><td class="num" id="LN8070">8070</td><td class="line"> path_list_free (uris);</td></tr>
+<tr class="codeline" data-linenumber="8071"><td class="num" id="LN8071">8071</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8072"><td class="num" id="LN8072">8072</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8073"><td class="num" id="LN8073">8073</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span> {</td></tr>
+<tr class="codeline" data-linenumber="8074"><td class="num" id="LN8074">8074</td><td class="line"> FrWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="8075"><td class="num" id="LN8075">8075</td><td class="line"> GList *file_list;</td></tr>
+<tr class="codeline" data-linenumber="8076"><td class="num" id="LN8076">8076</td><td class="line"> gboolean ask_application;</td></tr>
+<tr class="codeline" data-linenumber="8077"><td class="num" id="LN8077">8077</td><td class="line"> CommandData *cdata;</td></tr>
+<tr class="codeline" data-linenumber="8078"><td class="num" id="LN8078">8078</td><td class="line">} OpenFilesData;</td></tr>
+<tr class="codeline" data-linenumber="8079"><td class="num" id="LN8079">8079</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8080"><td class="num" id="LN8080">8080</td><td class="line"><span class='keyword'>static</span> OpenFilesData*</td></tr>
+<tr class="codeline" data-linenumber="8081"><td class="num" id="LN8081">8081</td><td class="line">open_files_data_new (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8082"><td class="num" id="LN8082">8082</td><td class="line"> GList *file_list,</td></tr>
+<tr class="codeline" data-linenumber="8083"><td class="num" id="LN8083">8083</td><td class="line"> gboolean ask_application)</td></tr>
+<tr class="codeline" data-linenumber="8084"><td class="num" id="LN8084">8084</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8085"><td class="num" id="LN8085">8085</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8086"><td class="num" id="LN8086">8086</td><td class="line"> OpenFilesData *odata;</td></tr>
+<tr class="codeline" data-linenumber="8087"><td class="num" id="LN8087">8087</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="8088"><td class="num" id="LN8088">8088</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8089"><td class="num" id="LN8089">8089</td><td class="line"> odata = <span class='macro'>g_new0 (OpenFilesData, 1)<span class='macro_popup'>((OpenFilesData *) g_malloc0_n ((1), sizeof (OpenFilesData)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8090"><td class="num" id="LN8090">8090</td><td class="line"> odata-&gt;window = window;</td></tr>
+<tr class="codeline" data-linenumber="8091"><td class="num" id="LN8091">8091</td><td class="line"> odata-&gt;file_list = path_list_dup (file_list);</td></tr>
+<tr class="codeline" data-linenumber="8092"><td class="num" id="LN8092">8092</td><td class="line"> odata-&gt;ask_application = ask_application;</td></tr>
+<tr class="codeline" data-linenumber="8093"><td class="num" id="LN8093">8093</td><td class="line"> odata-&gt;cdata = <span class='macro'>g_new0 (CommandData, 1)<span class='macro_popup'>((CommandData *) g_malloc0_n ((1), sizeof (CommandData)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8094"><td class="num" id="LN8094">8094</td><td class="line"> odata-&gt;cdata-&gt;temp_dir = get_temp_work_dir (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8095"><td class="num" id="LN8095">8095</td><td class="line"> odata-&gt;cdata-&gt;file_list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8096"><td class="num" id="LN8096">8096</td><td class="line"> <span class='keyword'>for</span> (scan = file_list; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="8097"><td class="num" id="LN8097">8097</td><td class="line"> <span class='keyword'>char</span> *file = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="8098"><td class="num" id="LN8098">8098</td><td class="line"> <span class='keyword'>char</span> *filename;</td></tr>
+<tr class="codeline" data-linenumber="8099"><td class="num" id="LN8099">8099</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8100"><td class="num" id="LN8100">8100</td><td class="line"> filename = g_strconcat (odata-&gt;cdata-&gt;temp_dir,</td></tr>
+<tr class="codeline" data-linenumber="8101"><td class="num" id="LN8101">8101</td><td class="line"> <span class='string_literal'>"/"</span>,</td></tr>
+<tr class="codeline" data-linenumber="8102"><td class="num" id="LN8102">8102</td><td class="line"> file,</td></tr>
+<tr class="codeline" data-linenumber="8103"><td class="num" id="LN8103">8103</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8104"><td class="num" id="LN8104">8104</td><td class="line"> odata-&gt;cdata-&gt;file_list = g_list_prepend (odata-&gt;cdata-&gt;file_list, filename);</td></tr>
+<tr class="codeline" data-linenumber="8105"><td class="num" id="LN8105">8105</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8106"><td class="num" id="LN8106">8106</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8107"><td class="num" id="LN8107">8107</td><td class="line"> <span class='comment'>/* Add to CommandList so the cdata is released on exit. */</span></td></tr>
+<tr class="codeline" data-linenumber="8108"><td class="num" id="LN8108">8108</td><td class="line"> CommandList = g_list_prepend (CommandList, odata-&gt;cdata);</td></tr>
+<tr class="codeline" data-linenumber="8109"><td class="num" id="LN8109">8109</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8110"><td class="num" id="LN8110">8110</td><td class="line"> <span class='keyword'>return</span> odata;</td></tr>
+<tr class="codeline" data-linenumber="8111"><td class="num" id="LN8111">8111</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8112"><td class="num" id="LN8112">8112</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8113"><td class="num" id="LN8113">8113</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8114"><td class="num" id="LN8114">8114</td><td class="line">open_files_data_free (OpenFilesData *odata)</td></tr>
+<tr class="codeline" data-linenumber="8115"><td class="num" id="LN8115">8115</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8116"><td class="num" id="LN8116">8116</td><td class="line"> <span class='macro'>g_return_if_fail (odata != NULL)<span class='macro_popup'>do { if ((odata != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "odata != NULL");<br> return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8117"><td class="num" id="LN8117">8117</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8118"><td class="num" id="LN8118">8118</td><td class="line"> path_list_free (odata-&gt;file_list);</td></tr>
+<tr class="codeline" data-linenumber="8119"><td class="num" id="LN8119">8119</td><td class="line"> g_free (odata);</td></tr>
+<tr class="codeline" data-linenumber="8120"><td class="num" id="LN8120">8120</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8121"><td class="num" id="LN8121">8121</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8122"><td class="num" id="LN8122">8122</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8123"><td class="num" id="LN8123">8123</td><td class="line">fr_window_update_dialog_closed (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="8124"><td class="num" id="LN8124">8124</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8125"><td class="num" id="LN8125">8125</td><td class="line"> window-&gt;priv-&gt;update_dialog = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8126"><td class="num" id="LN8126">8126</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8127"><td class="num" id="LN8127">8127</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8128"><td class="num" id="LN8128">8128</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="8129"><td class="num" id="LN8129">8129</td><td class="line">fr_window_update_files (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8130"><td class="num" id="LN8130">8130</td><td class="line"> GList *file_list)</td></tr>
+<tr class="codeline" data-linenumber="8131"><td class="num" id="LN8131">8131</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8132"><td class="num" id="LN8132">8132</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="8133"><td class="num" id="LN8133">8133</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8134"><td class="num" id="LN8134">8134</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;activity_ref &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="8135"><td class="num" id="LN8135">8135</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8136"><td class="num" id="LN8136">8136</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8137"><td class="num" id="LN8137">8137</td><td class="line"> <span class='keyword'>if</span> (window-&gt;archive-&gt;read_only)</td></tr>
+<tr class="codeline" data-linenumber="8138"><td class="num" id="LN8138">8138</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8139"><td class="num" id="LN8139">8139</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8140"><td class="num" id="LN8140">8140</td><td class="line"> fr_process_clear (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="8141"><td class="num" id="LN8141">8141</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8142"><td class="num" id="LN8142">8142</td><td class="line"> <span class='keyword'>for</span> (scan = file_list; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="8143"><td class="num" id="LN8143">8143</td><td class="line"> OpenFile *file = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="8144"><td class="num" id="LN8144">8144</td><td class="line"> GList *local_file_list;</td></tr>
+<tr class="codeline" data-linenumber="8145"><td class="num" id="LN8145">8145</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8146"><td class="num" id="LN8146">8146</td><td class="line"> local_file_list = g_list_append (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, file-&gt;path);</td></tr>
+<tr class="codeline" data-linenumber="8147"><td class="num" id="LN8147">8147</td><td class="line"> fr_archive_add (window-&gt;archive,</td></tr>
+<tr class="codeline" data-linenumber="8148"><td class="num" id="LN8148">8148</td><td class="line"> local_file_list,</td></tr>
+<tr class="codeline" data-linenumber="8149"><td class="num" id="LN8149">8149</td><td class="line"> file-&gt;temp_dir,</td></tr>
+<tr class="codeline" data-linenumber="8150"><td class="num" id="LN8150">8150</td><td class="line"> <span class='string_literal'>"/"</span>,</td></tr>
+<tr class="codeline" data-linenumber="8151"><td class="num" id="LN8151">8151</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8152"><td class="num" id="LN8152">8152</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8153"><td class="num" id="LN8153">8153</td><td class="line"> window-&gt;priv-&gt;password,</td></tr>
+<tr class="codeline" data-linenumber="8154"><td class="num" id="LN8154">8154</td><td class="line"> window-&gt;priv-&gt;encrypt_header,</td></tr>
+<tr class="codeline" data-linenumber="8155"><td class="num" id="LN8155">8155</td><td class="line"> window-&gt;priv-&gt;compression,</td></tr>
+<tr class="codeline" data-linenumber="8156"><td class="num" id="LN8156">8156</td><td class="line"> window-&gt;priv-&gt;volume_size);</td></tr>
+<tr class="codeline" data-linenumber="8157"><td class="num" id="LN8157">8157</td><td class="line"> g_list_free (local_file_list);</td></tr>
+<tr class="codeline" data-linenumber="8158"><td class="num" id="LN8158">8158</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8159"><td class="num" id="LN8159">8159</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8160"><td class="num" id="LN8160">8160</td><td class="line"> fr_process_start (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="8161"><td class="num" id="LN8161">8161</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8162"><td class="num" id="LN8162">8162</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8163"><td class="num" id="LN8163">8163</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8164"><td class="num" id="LN8164">8164</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8165"><td class="num" id="LN8165">8165</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8166"><td class="num" id="LN8166">8166</td><td class="line">open_file_modified_cb (GFileMonitor *monitor,</td></tr>
+<tr class="codeline" data-linenumber="8167"><td class="num" id="LN8167">8167</td><td class="line"> GFile *monitor_file,</td></tr>
+<tr class="codeline" data-linenumber="8168"><td class="num" id="LN8168">8168</td><td class="line"> GFile *other_file,</td></tr>
+<tr class="codeline" data-linenumber="8169"><td class="num" id="LN8169">8169</td><td class="line"> GFileMonitorEvent event_type,</td></tr>
+<tr class="codeline" data-linenumber="8170"><td class="num" id="LN8170">8170</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="8171"><td class="num" id="LN8171">8171</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8172"><td class="num" id="LN8172">8172</td><td class="line"> FrWindow *window = user_data;</td></tr>
+<tr class="codeline" data-linenumber="8173"><td class="num" id="LN8173">8173</td><td class="line"> <span class='keyword'>char</span> *monitor_uri;</td></tr>
+<tr class="codeline" data-linenumber="8174"><td class="num" id="LN8174">8174</td><td class="line"> OpenFile *file;</td></tr>
+<tr class="codeline" data-linenumber="8175"><td class="num" id="LN8175">8175</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="8176"><td class="num" id="LN8176">8176</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8177"><td class="num" id="LN8177">8177</td><td class="line"> <span class='keyword'>if</span> ((event_type != G_FILE_MONITOR_EVENT_CHANGED)</td></tr>
+<tr class="codeline" data-linenumber="8178"><td class="num" id="LN8178">8178</td><td class="line"> &amp;&amp; (event_type != G_FILE_MONITOR_EVENT_CREATED))</td></tr>
+<tr class="codeline" data-linenumber="8179"><td class="num" id="LN8179">8179</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="8180"><td class="num" id="LN8180">8180</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="8181"><td class="num" id="LN8181">8181</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8182"><td class="num" id="LN8182">8182</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8183"><td class="num" id="LN8183">8183</td><td class="line"> monitor_uri = g_file_get_uri (monitor_file);</td></tr>
+<tr class="codeline" data-linenumber="8184"><td class="num" id="LN8184">8184</td><td class="line"> file = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8185"><td class="num" id="LN8185">8185</td><td class="line"> <span class='keyword'>for</span> (scan = window-&gt;priv-&gt;open_files; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="8186"><td class="num" id="LN8186">8186</td><td class="line"> OpenFile *test = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="8187"><td class="num" id="LN8187">8187</td><td class="line"> <span class='keyword'>if</span> (uricmp (test-&gt;extracted_uri, monitor_uri) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="8188"><td class="num" id="LN8188">8188</td><td class="line"> file = test;</td></tr>
+<tr class="codeline" data-linenumber="8189"><td class="num" id="LN8189">8189</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8190"><td class="num" id="LN8190">8190</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8191"><td class="num" id="LN8191">8191</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8192"><td class="num" id="LN8192">8192</td><td class="line"> g_free (monitor_uri);</td></tr>
+<tr class="codeline" data-linenumber="8193"><td class="num" id="LN8193">8193</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8194"><td class="num" id="LN8194">8194</td><td class="line"> <span class='macro'>g_return_if_fail (file != NULL)<span class='macro_popup'>do { if ((file != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "file != NULL"); return<br>; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8195"><td class="num" id="LN8195">8195</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8196"><td class="num" id="LN8196">8196</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;update_dialog == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="8197"><td class="num" id="LN8197">8197</td><td class="line"> window-&gt;priv-&gt;update_dialog = dlg_update (window);</td></tr>
+<tr class="codeline" data-linenumber="8198"><td class="num" id="LN8198">8198</td><td class="line"> dlg_update_add_file (window-&gt;priv-&gt;update_dialog, file);</td></tr>
+<tr class="codeline" data-linenumber="8199"><td class="num" id="LN8199">8199</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8200"><td class="num" id="LN8200">8200</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8201"><td class="num" id="LN8201">8201</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8202"><td class="num" id="LN8202">8202</td><td class="line">fr_window_monitor_open_file (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8203"><td class="num" id="LN8203">8203</td><td class="line"> OpenFile *file)</td></tr>
+<tr class="codeline" data-linenumber="8204"><td class="num" id="LN8204">8204</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8205"><td class="num" id="LN8205">8205</td><td class="line"> GFile *f;</td></tr>
+<tr class="codeline" data-linenumber="8206"><td class="num" id="LN8206">8206</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8207"><td class="num" id="LN8207">8207</td><td class="line"> window-&gt;priv-&gt;open_files = g_list_prepend (window-&gt;priv-&gt;open_files, file);</td></tr>
+<tr class="codeline" data-linenumber="8208"><td class="num" id="LN8208">8208</td><td class="line"> f = g_file_new_for_uri (file-&gt;extracted_uri);</td></tr>
+<tr class="codeline" data-linenumber="8209"><td class="num" id="LN8209">8209</td><td class="line"> file-&gt;monitor = g_file_monitor_file (f, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8210"><td class="num" id="LN8210">8210</td><td class="line"> <span class='macro'>g_signal_connect (file-&gt;monitor,<span class='macro_popup'>g_signal_connect_data ((file-&gt;monitor), ("changed"), (((GCallback<br>) (open_file_modified_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="8211"><td class="num" id="LN8211">8211</td><td class="line"> <span class='string_literal'><span class='macro'>"changed"</span>,<span class='macro_popup'>g_signal_connect_data ((file-&gt;monitor), ("changed"), (((GCallback<br>) (open_file_modified_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="8212"><td class="num" id="LN8212">8212</td><td class="line"> <span class='macro'>G_CALLBACK (open_file_modified_cb),<span class='macro_popup'>g_signal_connect_data ((file-&gt;monitor), ("changed"), (((GCallback<br>) (open_file_modified_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="8213"><td class="num" id="LN8213">8213</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((file-&gt;monitor), ("changed"), (((GCallback<br>) (open_file_modified_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8214"><td class="num" id="LN8214">8214</td><td class="line"> g_object_unref (f);</td></tr>
+<tr class="codeline" data-linenumber="8215"><td class="num" id="LN8215">8215</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8216"><td class="num" id="LN8216">8216</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8217"><td class="num" id="LN8217">8217</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8218"><td class="num" id="LN8218">8218</td><td class="line">monitor_extracted_files (OpenFilesData *odata)</td></tr>
+<tr class="codeline" data-linenumber="8219"><td class="num" id="LN8219">8219</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8220"><td class="num" id="LN8220">8220</td><td class="line"> FrWindow *window = odata-&gt;window;</td></tr>
+<tr class="codeline" data-linenumber="8221"><td class="num" id="LN8221">8221</td><td class="line"> GList *scan1, *scan2;</td></tr>
+<tr class="codeline" data-linenumber="8222"><td class="num" id="LN8222">8222</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8223"><td class="num" id="LN8223">8223</td><td class="line"> <span class='keyword'>for</span> (scan1 = odata-&gt;file_list, scan2 = odata-&gt;cdata-&gt;file_list;</td></tr>
+<tr class="codeline" data-linenumber="8224"><td class="num" id="LN8224">8224</td><td class="line"> scan1 &amp;&amp; scan2;</td></tr>
+<tr class="codeline" data-linenumber="8225"><td class="num" id="LN8225">8225</td><td class="line"> scan1 = scan1-&gt;next, scan2 = scan2-&gt;next)</td></tr>
+<tr class="codeline" data-linenumber="8226"><td class="num" id="LN8226">8226</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="8227"><td class="num" id="LN8227">8227</td><td class="line"> OpenFile *ofile;</td></tr>
+<tr class="codeline" data-linenumber="8228"><td class="num" id="LN8228">8228</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *file = scan1-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="8229"><td class="num" id="LN8229">8229</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *extracted_path = scan2-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="8230"><td class="num" id="LN8230">8230</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8231"><td class="num" id="LN8231">8231</td><td class="line"> ofile = open_file_new (file, extracted_path, odata-&gt;cdata-&gt;temp_dir);</td></tr>
+<tr class="codeline" data-linenumber="8232"><td class="num" id="LN8232">8232</td><td class="line"> <span class='keyword'>if</span> (ofile != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="8233"><td class="num" id="LN8233">8233</td><td class="line"> fr_window_monitor_open_file (window, ofile);</td></tr>
+<tr class="codeline" data-linenumber="8234"><td class="num" id="LN8234">8234</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8235"><td class="num" id="LN8235">8235</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8236"><td class="num" id="LN8236">8236</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8237"><td class="num" id="LN8237">8237</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="8238"><td class="num" id="LN8238">8238</td><td class="line">fr_window_open_extracted_files (OpenFilesData *odata)</td></tr>
+<tr class="codeline" data-linenumber="8239"><td class="num" id="LN8239">8239</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8240"><td class="num" id="LN8240">8240</td><td class="line"> GList *file_list = odata-&gt;cdata-&gt;file_list;</td></tr>
+<tr class="codeline" data-linenumber="8241"><td class="num" id="LN8241">8241</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *first_file;</td></tr>
+<tr class="codeline" data-linenumber="8242"><td class="num" id="LN8242">8242</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *first_mime_type;</td></tr>
+<tr class="codeline" data-linenumber="8243"><td class="num" id="LN8243">8243</td><td class="line"> GAppInfo *app;</td></tr>
+<tr class="codeline" data-linenumber="8244"><td class="num" id="LN8244">8244</td><td class="line"> GList *files_to_open = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8245"><td class="num" id="LN8245">8245</td><td class="line"> GdkAppLaunchContext *context;</td></tr>
+<tr class="codeline" data-linenumber="8246"><td class="num" id="LN8246">8246</td><td class="line"> gboolean result;</td></tr>
+<tr class="codeline" data-linenumber="8247"><td class="num" id="LN8247">8247</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8248"><td class="num" id="LN8248">8248</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8249"><td class="num" id="LN8249">8249</td><td class="line"> <span class='macro'>g_return_val_if_fail (file_list != NULL, FALSE)<span class='macro_popup'>do { if ((file_list != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "file_list != NULL"<br>); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8250"><td class="num" id="LN8250">8250</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8251"><td class="num" id="LN8251">8251</td><td class="line"> first_file = (<span class='keyword'>char</span>*) file_list-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="8252"><td class="num" id="LN8252">8252</td><td class="line"> <span class='keyword'>if</span> (first_file == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="8253"><td class="num" id="LN8253">8253</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8254"><td class="num" id="LN8254">8254</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8255"><td class="num" id="LN8255">8255</td><td class="line"> <span class='keyword'>if</span> (! odata-&gt;window-&gt;archive-&gt;read_only)</td></tr>
+<tr class="codeline" data-linenumber="8256"><td class="num" id="LN8256">8256</td><td class="line"> monitor_extracted_files (odata);</td></tr>
+<tr class="codeline" data-linenumber="8257"><td class="num" id="LN8257">8257</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8258"><td class="num" id="LN8258">8258</td><td class="line"> <span class='keyword'>if</span> (odata-&gt;ask_application) {</td></tr>
+<tr class="codeline" data-linenumber="8259"><td class="num" id="LN8259">8259</td><td class="line"> dlg_open_with (odata-&gt;window, file_list);</td></tr>
+<tr class="codeline" data-linenumber="8260"><td class="num" id="LN8260">8260</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8261"><td class="num" id="LN8261">8261</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8262"><td class="num" id="LN8262">8262</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8263"><td class="num" id="LN8263">8263</td><td class="line"> first_mime_type = get_file_mime_type_for_path (first_file, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8264"><td class="num" id="LN8264">8264</td><td class="line"> app = g_app_info_get_default_for_type (first_mime_type, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8265"><td class="num" id="LN8265">8265</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8266"><td class="num" id="LN8266">8266</td><td class="line"> <span class='keyword'>if</span> (app == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="8267"><td class="num" id="LN8267">8267</td><td class="line"> dlg_open_with (odata-&gt;window, file_list);</td></tr>
+<tr class="codeline" data-linenumber="8268"><td class="num" id="LN8268">8268</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8269"><td class="num" id="LN8269">8269</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8270"><td class="num" id="LN8270">8270</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8271"><td class="num" id="LN8271">8271</td><td class="line"> files_to_open = g_list_append (files_to_open, g_filename_to_uri (first_file, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="8272"><td class="num" id="LN8272">8272</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8273"><td class="num" id="LN8273">8273</td><td class="line"> <span class='keyword'>if</span> (g_app_info_supports_files (app)) {</td></tr>
+<tr class="codeline" data-linenumber="8274"><td class="num" id="LN8274">8274</td><td class="line"> GList *scan;</td></tr>
+<tr class="codeline" data-linenumber="8275"><td class="num" id="LN8275">8275</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8276"><td class="num" id="LN8276">8276</td><td class="line"> <span class='keyword'>for</span> (scan = file_list-&gt;next; scan; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="8277"><td class="num" id="LN8277">8277</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *path = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="8278"><td class="num" id="LN8278">8278</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *mime_type;</td></tr>
+<tr class="codeline" data-linenumber="8279"><td class="num" id="LN8279">8279</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8280"><td class="num" id="LN8280">8280</td><td class="line"> mime_type = get_file_mime_type_for_path (path, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8281"><td class="num" id="LN8281">8281</td><td class="line"> <span class='keyword'>if</span> (mime_type == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="8282"><td class="num" id="LN8282">8282</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="8283"><td class="num" id="LN8283">8283</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8284"><td class="num" id="LN8284">8284</td><td class="line"> <span class='keyword'>if</span> (strcmp (mime_type, first_mime_type) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="8285"><td class="num" id="LN8285">8285</td><td class="line"> files_to_open = g_list_append (files_to_open, g_filename_to_uri (path, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="8286"><td class="num" id="LN8286">8286</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8287"><td class="num" id="LN8287">8287</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="8288"><td class="num" id="LN8288">8288</td><td class="line"> GAppInfo *app2;</td></tr>
+<tr class="codeline" data-linenumber="8289"><td class="num" id="LN8289">8289</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8290"><td class="num" id="LN8290">8290</td><td class="line"> app2 = g_app_info_get_default_for_type (mime_type, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8291"><td class="num" id="LN8291">8291</td><td class="line"> <span class='keyword'>if</span> (g_app_info_equal (app, app2))</td></tr>
+<tr class="codeline" data-linenumber="8292"><td class="num" id="LN8292">8292</td><td class="line"> files_to_open = g_list_append (files_to_open, g_filename_to_uri (path, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="8293"><td class="num" id="LN8293">8293</td><td class="line"> g_object_unref (app2);</td></tr>
+<tr class="codeline" data-linenumber="8294"><td class="num" id="LN8294">8294</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8295"><td class="num" id="LN8295">8295</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8296"><td class="num" id="LN8296">8296</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8297"><td class="num" id="LN8297">8297</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8298"><td class="num" id="LN8298">8298</td><td class="line"> context = gdk_display_get_app_launch_context (gtk_widget_get_display (<span class='macro'>GTK_WIDGET (odata-&gt;window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((odata-&gt;window)), ((gtk_widget_get_type ()))))))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="8299"><td class="num" id="LN8299">8299</td><td class="line"> gdk_app_launch_context_set_screen (context, gtk_widget_get_screen (<span class='macro'>GTK_WIDGET (odata-&gt;window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((odata-&gt;window)), ((gtk_widget_get_type ()))))))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="8300"><td class="num" id="LN8300">8300</td><td class="line"> gdk_app_launch_context_set_timestamp (context, 0);</td></tr>
+<tr class="codeline" data-linenumber="8301"><td class="num" id="LN8301">8301</td><td class="line"> result = g_app_info_launch_uris (app, files_to_open, <span class='macro'>G_APP_LAUNCH_CONTEXT (context)<span class='macro_popup'>((((GAppLaunchContext*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((context)), ((g_app_launch_context_get_type<br> ()))))))</span></span>, &amp;error);</td></tr>
+<tr class="codeline" data-linenumber="8302"><td class="num" id="LN8302">8302</td><td class="line"> <span class='keyword'>if</span> (! result) {</td></tr>
+<tr class="codeline" data-linenumber="8303"><td class="num" id="LN8303">8303</td><td class="line"> _gtk_error_dialog_run (<span class='macro'>GTK_WINDOW (odata-&gt;window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((odata-&gt;window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8304"><td class="num" id="LN8304">8304</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Could not perform the operation"</span>)<span class='macro_popup'>gettext ("Could not perform the operation")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8305"><td class="num" id="LN8305">8305</td><td class="line"> <span class='string_literal'>"%s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="8306"><td class="num" id="LN8306">8306</td><td class="line"> error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="8307"><td class="num" id="LN8307">8307</td><td class="line"> g_clear_error (&amp;error);</td></tr>
+<tr class="codeline" data-linenumber="8308"><td class="num" id="LN8308">8308</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8309"><td class="num" id="LN8309">8309</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8310"><td class="num" id="LN8310">8310</td><td class="line"> g_object_unref (context);</td></tr>
+<tr class="codeline" data-linenumber="8311"><td class="num" id="LN8311">8311</td><td class="line"> g_object_unref (app);</td></tr>
+<tr class="codeline" data-linenumber="8312"><td class="num" id="LN8312">8312</td><td class="line"> path_list_free (files_to_open);</td></tr>
+<tr class="codeline" data-linenumber="8313"><td class="num" id="LN8313">8313</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8314"><td class="num" id="LN8314">8314</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="8315"><td class="num" id="LN8315">8315</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8316"><td class="num" id="LN8316">8316</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8317"><td class="num" id="LN8317">8317</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8318"><td class="num" id="LN8318">8318</td><td class="line">fr_window_open_files__extract_done_cb (FrArchive *archive,</td></tr>
+<tr class="codeline" data-linenumber="8319"><td class="num" id="LN8319">8319</td><td class="line"> FrAction action,</td></tr>
+<tr class="codeline" data-linenumber="8320"><td class="num" id="LN8320">8320</td><td class="line"> FrProcError *error,</td></tr>
+<tr class="codeline" data-linenumber="8321"><td class="num" id="LN8321">8321</td><td class="line"> gpointer callback_data)</td></tr>
+<tr class="codeline" data-linenumber="8322"><td class="num" id="LN8322">8322</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8323"><td class="num" id="LN8323">8323</td><td class="line"> OpenFilesData *odata = callback_data;</td></tr>
+<tr class="codeline" data-linenumber="8324"><td class="num" id="LN8324">8324</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8325"><td class="num" id="LN8325">8325</td><td class="line"> g_signal_handlers_disconnect_matched (<span class='macro'>G_OBJECT (archive)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((archive)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8326"><td class="num" id="LN8326">8326</td><td class="line"> G_SIGNAL_MATCH_DATA,</td></tr>
+<tr class="codeline" data-linenumber="8327"><td class="num" id="LN8327">8327</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="8328"><td class="num" id="LN8328">8328</td><td class="line"> 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8329"><td class="num" id="LN8329">8329</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="8330"><td class="num" id="LN8330">8330</td><td class="line"> odata);</td></tr>
+<tr class="codeline" data-linenumber="8331"><td class="num" id="LN8331">8331</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8332"><td class="num" id="LN8332">8332</td><td class="line"> <span class='keyword'>if</span> (error-&gt;type == FR_PROC_ERROR_NONE)</td></tr>
+<tr class="codeline" data-linenumber="8333"><td class="num" id="LN8333">8333</td><td class="line"> fr_window_open_extracted_files (odata);</td></tr>
+<tr class="codeline" data-linenumber="8334"><td class="num" id="LN8334">8334</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8335"><td class="num" id="LN8335">8335</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8336"><td class="num" id="LN8336">8336</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8337"><td class="num" id="LN8337">8337</td><td class="line">fr_window_open_files (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8338"><td class="num" id="LN8338">8338</td><td class="line"> GList *file_list,</td></tr>
+<tr class="codeline" data-linenumber="8339"><td class="num" id="LN8339">8339</td><td class="line"> gboolean ask_application)</td></tr>
+<tr class="codeline" data-linenumber="8340"><td class="num" id="LN8340">8340</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8341"><td class="num" id="LN8341">8341</td><td class="line"> OpenFilesData *odata;</td></tr>
+<tr class="codeline" data-linenumber="8342"><td class="num" id="LN8342">8342</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8343"><td class="num" id="LN8343">8343</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;activity_ref &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="8344"><td class="num" id="LN8344">8344</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="8345"><td class="num" id="LN8345">8345</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8346"><td class="num" id="LN8346">8346</td><td class="line"> odata = open_files_data_new (window, file_list, ask_application);</td></tr>
+<tr class="codeline" data-linenumber="8347"><td class="num" id="LN8347">8347</td><td class="line"> fr_window_set_current_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="8348"><td class="num" id="LN8348">8348</td><td class="line"> FR_BATCH_ACTION_OPEN_FILES,</td></tr>
+<tr class="codeline" data-linenumber="8349"><td class="num" id="LN8349">8349</td><td class="line"> odata,</td></tr>
+<tr class="codeline" data-linenumber="8350"><td class="num" id="LN8350">8350</td><td class="line"> (GFreeFunc) open_files_data_free);</td></tr>
+<tr class="codeline" data-linenumber="8351"><td class="num" id="LN8351">8351</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8352"><td class="num" id="LN8352">8352</td><td class="line"> <span class='macro'>g_signal_connect (G_OBJECT (window-&gt;archive),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("done"), (((GCallback) (fr_window_open_files__extract_done_cb<br>))), (odata), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="8353"><td class="num" id="LN8353">8353</td><td class="line"> <span class='string_literal'><span class='macro'>"done"</span>,<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("done"), (((GCallback) (fr_window_open_files__extract_done_cb<br>))), (odata), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="8354"><td class="num" id="LN8354">8354</td><td class="line"> <span class='macro'>G_CALLBACK (fr_window_open_files__extract_done_cb),<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("done"), (((GCallback) (fr_window_open_files__extract_done_cb<br>))), (odata), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="8355"><td class="num" id="LN8355">8355</td><td class="line"> <span class='macro'>odata)<span class='macro_popup'>g_signal_connect_data ((((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((window-&gt;archive)), (((GType) ((20) &lt;&lt;<br> (2))))))))), ("done"), (((GCallback) (fr_window_open_files__extract_done_cb<br>))), (odata), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8356"><td class="num" id="LN8356">8356</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8357"><td class="num" id="LN8357">8357</td><td class="line"> fr_process_clear (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="8358"><td class="num" id="LN8358">8358</td><td class="line"> fr_archive_extract_to_local (window-&gt;archive,</td></tr>
+<tr class="codeline" data-linenumber="8359"><td class="num" id="LN8359">8359</td><td class="line"> odata-&gt;file_list,</td></tr>
+<tr class="codeline" data-linenumber="8360"><td class="num" id="LN8360">8360</td><td class="line"> odata-&gt;cdata-&gt;temp_dir,</td></tr>
+<tr class="codeline" data-linenumber="8361"><td class="num" id="LN8361">8361</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8362"><td class="num" id="LN8362">8362</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8363"><td class="num" id="LN8363">8363</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8364"><td class="num" id="LN8364">8364</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8365"><td class="num" id="LN8365">8365</td><td class="line"> window-&gt;priv-&gt;password);</td></tr>
+<tr class="codeline" data-linenumber="8366"><td class="num" id="LN8366">8366</td><td class="line"> fr_process_start (window-&gt;archive-&gt;process);</td></tr>
+<tr class="codeline" data-linenumber="8367"><td class="num" id="LN8367">8367</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8368"><td class="num" id="LN8368">8368</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8369"><td class="num" id="LN8369">8369</td><td class="line"><span class='comment'>/**/</span></td></tr>
+<tr class="codeline" data-linenumber="8370"><td class="num" id="LN8370">8370</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8371"><td class="num" id="LN8371">8371</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>char</span>*</td></tr>
+<tr class="codeline" data-linenumber="8372"><td class="num" id="LN8372">8372</td><td class="line">get_default_dir (<span class='keyword'>const</span> <span class='keyword'>char</span> *dir)</td></tr>
+<tr class="codeline" data-linenumber="8373"><td class="num" id="LN8373">8373</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8374"><td class="num" id="LN8374">8374</td><td class="line"> <span class='keyword'>if</span> (! is_temp_dir (dir))</td></tr>
+<tr class="codeline" data-linenumber="8375"><td class="num" id="LN8375">8375</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>g_strdup (dir)<span class='macro_popup'>g_strdup_inline (dir)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8376"><td class="num" id="LN8376">8376</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="8377"><td class="num" id="LN8377">8377</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8378"><td class="num" id="LN8378">8378</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8379"><td class="num" id="LN8379">8379</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8380"><td class="num" id="LN8380">8380</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8381"><td class="num" id="LN8381">8381</td><td class="line">fr_window_set_open_default_dir (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8382"><td class="num" id="LN8382">8382</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *default_dir)</td></tr>
+<tr class="codeline" data-linenumber="8383"><td class="num" id="LN8383">8383</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8384"><td class="num" id="LN8384">8384</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8385"><td class="num" id="LN8385">8385</td><td class="line"> <span class='macro'>g_return_if_fail (default_dir != NULL)<span class='macro_popup'>do { if ((default_dir != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "default_dir != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8386"><td class="num" id="LN8386">8386</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8387"><td class="num" id="LN8387">8387</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;open_default_dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="8388"><td class="num" id="LN8388">8388</td><td class="line"> g_free (window-&gt;priv-&gt;open_default_dir);</td></tr>
+<tr class="codeline" data-linenumber="8389"><td class="num" id="LN8389">8389</td><td class="line"> window-&gt;priv-&gt;open_default_dir = get_default_dir (default_dir);</td></tr>
+<tr class="codeline" data-linenumber="8390"><td class="num" id="LN8390">8390</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8391"><td class="num" id="LN8391">8391</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8392"><td class="num" id="LN8392">8392</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="8393"><td class="num" id="LN8393">8393</td><td class="line">fr_window_get_open_default_dir (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="8394"><td class="num" id="LN8394">8394</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8395"><td class="num" id="LN8395">8395</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;open_default_dir == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="8396"><td class="num" id="LN8396">8396</td><td class="line"> <span class='keyword'>return</span> get_home_uri ();</td></tr>
+<tr class="codeline" data-linenumber="8397"><td class="num" id="LN8397">8397</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="8398"><td class="num" id="LN8398">8398</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;open_default_dir;</td></tr>
+<tr class="codeline" data-linenumber="8399"><td class="num" id="LN8399">8399</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8400"><td class="num" id="LN8400">8400</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8401"><td class="num" id="LN8401">8401</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8402"><td class="num" id="LN8402">8402</td><td class="line">fr_window_set_add_default_dir (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8403"><td class="num" id="LN8403">8403</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *default_dir)</td></tr>
+<tr class="codeline" data-linenumber="8404"><td class="num" id="LN8404">8404</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8405"><td class="num" id="LN8405">8405</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8406"><td class="num" id="LN8406">8406</td><td class="line"> <span class='macro'>g_return_if_fail (default_dir != NULL)<span class='macro_popup'>do { if ((default_dir != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "default_dir != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8407"><td class="num" id="LN8407">8407</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8408"><td class="num" id="LN8408">8408</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;add_default_dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="8409"><td class="num" id="LN8409">8409</td><td class="line"> g_free (window-&gt;priv-&gt;add_default_dir);</td></tr>
+<tr class="codeline" data-linenumber="8410"><td class="num" id="LN8410">8410</td><td class="line"> window-&gt;priv-&gt;add_default_dir = get_default_dir (default_dir);</td></tr>
+<tr class="codeline" data-linenumber="8411"><td class="num" id="LN8411">8411</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8412"><td class="num" id="LN8412">8412</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8413"><td class="num" id="LN8413">8413</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="8414"><td class="num" id="LN8414">8414</td><td class="line">fr_window_get_add_default_dir (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="8415"><td class="num" id="LN8415">8415</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8416"><td class="num" id="LN8416">8416</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;add_default_dir == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="8417"><td class="num" id="LN8417">8417</td><td class="line"> <span class='keyword'>return</span> get_home_uri ();</td></tr>
+<tr class="codeline" data-linenumber="8418"><td class="num" id="LN8418">8418</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="8419"><td class="num" id="LN8419">8419</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;add_default_dir;</td></tr>
+<tr class="codeline" data-linenumber="8420"><td class="num" id="LN8420">8420</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8421"><td class="num" id="LN8421">8421</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8422"><td class="num" id="LN8422">8422</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8423"><td class="num" id="LN8423">8423</td><td class="line">fr_window_set_extract_default_dir (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8424"><td class="num" id="LN8424">8424</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *default_dir,</td></tr>
+<tr class="codeline" data-linenumber="8425"><td class="num" id="LN8425">8425</td><td class="line"> gboolean freeze)</td></tr>
+<tr class="codeline" data-linenumber="8426"><td class="num" id="LN8426">8426</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8427"><td class="num" id="LN8427">8427</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8428"><td class="num" id="LN8428">8428</td><td class="line"> <span class='macro'>g_return_if_fail (default_dir != NULL)<span class='macro_popup'>do { if ((default_dir != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "default_dir != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8429"><td class="num" id="LN8429">8429</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8430"><td class="num" id="LN8430">8430</td><td class="line"> <span class='comment'>/* do not change this dir while it's used by the non-interactive</span></td></tr>
+<tr class="codeline" data-linenumber="8431"><td class="num" id="LN8431">8431</td><td class="line"> <span class='comment'>* extraction operation. */</span></td></tr>
+<tr class="codeline" data-linenumber="8432"><td class="num" id="LN8432">8432</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;extract_interact_use_default_dir)</td></tr>
+<tr class="codeline" data-linenumber="8433"><td class="num" id="LN8433">8433</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="8434"><td class="num" id="LN8434">8434</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8435"><td class="num" id="LN8435">8435</td><td class="line"> window-&gt;priv-&gt;extract_interact_use_default_dir = freeze;</td></tr>
+<tr class="codeline" data-linenumber="8436"><td class="num" id="LN8436">8436</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8437"><td class="num" id="LN8437">8437</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;extract_default_dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="8438"><td class="num" id="LN8438">8438</td><td class="line"> g_free (window-&gt;priv-&gt;extract_default_dir);</td></tr>
+<tr class="codeline" data-linenumber="8439"><td class="num" id="LN8439">8439</td><td class="line"> window-&gt;priv-&gt;extract_default_dir = get_default_dir (default_dir);</td></tr>
+<tr class="codeline" data-linenumber="8440"><td class="num" id="LN8440">8440</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8441"><td class="num" id="LN8441">8441</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8442"><td class="num" id="LN8442">8442</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="8443"><td class="num" id="LN8443">8443</td><td class="line">fr_window_get_extract_default_dir (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="8444"><td class="num" id="LN8444">8444</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8445"><td class="num" id="LN8445">8445</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;extract_default_dir == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="8446"><td class="num" id="LN8446">8446</td><td class="line"> <span class='keyword'>return</span> get_home_uri ();</td></tr>
+<tr class="codeline" data-linenumber="8447"><td class="num" id="LN8447">8447</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="8448"><td class="num" id="LN8448">8448</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;extract_default_dir;</td></tr>
+<tr class="codeline" data-linenumber="8449"><td class="num" id="LN8449">8449</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8450"><td class="num" id="LN8450">8450</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8451"><td class="num" id="LN8451">8451</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8452"><td class="num" id="LN8452">8452</td><td class="line">fr_window_set_default_dir (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8453"><td class="num" id="LN8453">8453</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *default_dir,</td></tr>
+<tr class="codeline" data-linenumber="8454"><td class="num" id="LN8454">8454</td><td class="line"> gboolean freeze)</td></tr>
+<tr class="codeline" data-linenumber="8455"><td class="num" id="LN8455">8455</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8456"><td class="num" id="LN8456">8456</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8457"><td class="num" id="LN8457">8457</td><td class="line"> <span class='macro'>g_return_if_fail (default_dir != NULL)<span class='macro_popup'>do { if ((default_dir != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "default_dir != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8458"><td class="num" id="LN8458">8458</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8459"><td class="num" id="LN8459">8459</td><td class="line"> window-&gt;priv-&gt;freeze_default_dir = freeze;</td></tr>
+<tr class="codeline" data-linenumber="8460"><td class="num" id="LN8460">8460</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8461"><td class="num" id="LN8461">8461</td><td class="line"> fr_window_set_open_default_dir (window, default_dir);</td></tr>
+<tr class="codeline" data-linenumber="8462"><td class="num" id="LN8462">8462</td><td class="line"> fr_window_set_add_default_dir (window, default_dir);</td></tr>
+<tr class="codeline" data-linenumber="8463"><td class="num" id="LN8463">8463</td><td class="line"> fr_window_set_extract_default_dir (window, default_dir, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8464"><td class="num" id="LN8464">8464</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8465"><td class="num" id="LN8465">8465</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8466"><td class="num" id="LN8466">8466</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8467"><td class="num" id="LN8467">8467</td><td class="line">fr_window_update_columns_visibility (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="8468"><td class="num" id="LN8468">8468</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8469"><td class="num" id="LN8469">8469</td><td class="line"> GtkTreeView *tree_view = <span class='macro'>GTK_TREE_VIEW (window-&gt;priv-&gt;list_view)<span class='macro_popup'>((((GtkTreeView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;list_view)), ((gtk_tree_view_get_type<br> ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8470"><td class="num" id="LN8470">8470</td><td class="line"> GtkTreeViewColumn *column;</td></tr>
+<tr class="codeline" data-linenumber="8471"><td class="num" id="LN8471">8471</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8472"><td class="num" id="LN8472">8472</td><td class="line"> column = gtk_tree_view_get_column (tree_view, 1);</td></tr>
+<tr class="codeline" data-linenumber="8473"><td class="num" id="LN8473">8473</td><td class="line"> gtk_tree_view_column_set_visible (column, g_settings_get_boolean (window-&gt;priv-&gt;settings_listing, <span class='macro'>PREF_LISTING_SHOW_SIZE<span class='macro_popup'>"show-size"</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="8474"><td class="num" id="LN8474">8474</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8475"><td class="num" id="LN8475">8475</td><td class="line"> column = gtk_tree_view_get_column (tree_view, 2);</td></tr>
+<tr class="codeline" data-linenumber="8476"><td class="num" id="LN8476">8476</td><td class="line"> gtk_tree_view_column_set_visible (column, g_settings_get_boolean (window-&gt;priv-&gt;settings_listing, <span class='macro'>PREF_LISTING_SHOW_TYPE<span class='macro_popup'>"show-type"</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="8477"><td class="num" id="LN8477">8477</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8478"><td class="num" id="LN8478">8478</td><td class="line"> column = gtk_tree_view_get_column (tree_view, 3);</td></tr>
+<tr class="codeline" data-linenumber="8479"><td class="num" id="LN8479">8479</td><td class="line"> gtk_tree_view_column_set_visible (column, g_settings_get_boolean (window-&gt;priv-&gt;settings_listing, <span class='macro'>PREF_LISTING_SHOW_TIME<span class='macro_popup'>"show-time"</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="8480"><td class="num" id="LN8480">8480</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8481"><td class="num" id="LN8481">8481</td><td class="line"> column = gtk_tree_view_get_column (tree_view, 4);</td></tr>
+<tr class="codeline" data-linenumber="8482"><td class="num" id="LN8482">8482</td><td class="line"> gtk_tree_view_column_set_visible (column, g_settings_get_boolean (window-&gt;priv-&gt;settings_listing, <span class='macro'>PREF_LISTING_SHOW_PATH<span class='macro_popup'>"show-path"</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="8483"><td class="num" id="LN8483">8483</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8484"><td class="num" id="LN8484">8484</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8485"><td class="num" id="LN8485">8485</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8486"><td class="num" id="LN8486">8486</td><td class="line">fr_window_set_toolbar_visibility (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8487"><td class="num" id="LN8487">8487</td><td class="line"> gboolean visible)</td></tr>
+<tr class="codeline" data-linenumber="8488"><td class="num" id="LN8488">8488</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8489"><td class="num" id="LN8489">8489</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8490"><td class="num" id="LN8490">8490</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8491"><td class="num" id="LN8491">8491</td><td class="line"> <span class='keyword'>if</span> (visible)</td></tr>
+<tr class="codeline" data-linenumber="8492"><td class="num" id="LN8492">8492</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;toolbar);</td></tr>
+<tr class="codeline" data-linenumber="8493"><td class="num" id="LN8493">8493</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="8494"><td class="num" id="LN8494">8494</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;toolbar);</td></tr>
+<tr class="codeline" data-linenumber="8495"><td class="num" id="LN8495">8495</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8496"><td class="num" id="LN8496">8496</td><td class="line"> set_active (window, <span class='string_literal'>"ViewToolbar"</span>, visible);</td></tr>
+<tr class="codeline" data-linenumber="8497"><td class="num" id="LN8497">8497</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8498"><td class="num" id="LN8498">8498</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8499"><td class="num" id="LN8499">8499</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8500"><td class="num" id="LN8500">8500</td><td class="line">fr_window_set_statusbar_visibility (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8501"><td class="num" id="LN8501">8501</td><td class="line"> gboolean visible)</td></tr>
+<tr class="codeline" data-linenumber="8502"><td class="num" id="LN8502">8502</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8503"><td class="num" id="LN8503">8503</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8504"><td class="num" id="LN8504">8504</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8505"><td class="num" id="LN8505">8505</td><td class="line"> <span class='keyword'>if</span> (visible)</td></tr>
+<tr class="codeline" data-linenumber="8506"><td class="num" id="LN8506">8506</td><td class="line"> gtk_widget_show (window-&gt;priv-&gt;statusbar);</td></tr>
+<tr class="codeline" data-linenumber="8507"><td class="num" id="LN8507">8507</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="8508"><td class="num" id="LN8508">8508</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;statusbar);</td></tr>
+<tr class="codeline" data-linenumber="8509"><td class="num" id="LN8509">8509</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8510"><td class="num" id="LN8510">8510</td><td class="line"> set_active (window, <span class='string_literal'>"ViewStatusbar"</span>, visible);</td></tr>
+<tr class="codeline" data-linenumber="8511"><td class="num" id="LN8511">8511</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8512"><td class="num" id="LN8512">8512</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8513"><td class="num" id="LN8513">8513</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8514"><td class="num" id="LN8514">8514</td><td class="line">fr_window_set_folders_visibility (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8515"><td class="num" id="LN8515">8515</td><td class="line"> gboolean value)</td></tr>
+<tr class="codeline" data-linenumber="8516"><td class="num" id="LN8516">8516</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8517"><td class="num" id="LN8517">8517</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8518"><td class="num" id="LN8518">8518</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8519"><td class="num" id="LN8519">8519</td><td class="line"> window-&gt;priv-&gt;view_folders = value;</td></tr>
+<tr class="codeline" data-linenumber="8520"><td class="num" id="LN8520">8520</td><td class="line"> fr_window_update_dir_tree (window);</td></tr>
+<tr class="codeline" data-linenumber="8521"><td class="num" id="LN8521">8521</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8522"><td class="num" id="LN8522">8522</td><td class="line"> set_active (window, <span class='string_literal'>"ViewFolders"</span>, window-&gt;priv-&gt;view_folders);</td></tr>
+<tr class="codeline" data-linenumber="8523"><td class="num" id="LN8523">8523</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8524"><td class="num" id="LN8524">8524</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8525"><td class="num" id="LN8525">8525</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8526"><td class="num" id="LN8526">8526</td><td class="line">fr_window_use_progress_dialog (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8527"><td class="num" id="LN8527">8527</td><td class="line"> gboolean value)</td></tr>
+<tr class="codeline" data-linenumber="8528"><td class="num" id="LN8528">8528</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8529"><td class="num" id="LN8529">8529</td><td class="line"> window-&gt;priv-&gt;use_progress_dialog = value;</td></tr>
+<tr class="codeline" data-linenumber="8530"><td class="num" id="LN8530">8530</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8531"><td class="num" id="LN8531">8531</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8532"><td class="num" id="LN8532">8532</td><td class="line"><span class='comment'>/* -- batch mode procedures -- */</span></td></tr>
+<tr class="codeline" data-linenumber="8533"><td class="num" id="LN8533">8533</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8534"><td class="num" id="LN8534">8534</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> fr_window_exec_current_batch_action (FrWindow *window);</td></tr>
+<tr class="codeline" data-linenumber="8535"><td class="num" id="LN8535">8535</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8536"><td class="num" id="LN8536">8536</td><td class="line"><span id="start57"><span class='keyword'>static</span></span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8537"><td class="num" id="LN8537">8537</td><td class="line">fr_window_exec_batch_action (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8538"><td class="num" id="LN8538">8538</td><td class="line"> FRBatchAction *action)</td></tr>
+<tr class="codeline" data-linenumber="8539"><td class="num" id="LN8539">8539</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8540"><td class="num" id="LN8540">8540</td><td class="line"> <span id="start56"><span id="end57">ExtractData</span></span> *edata;</td></tr>
+<tr class="codeline" data-linenumber="8541"><td class="num" id="LN8541">8541</td><td class="line"> RenameData *rdata;</td></tr>
+<tr class="codeline" data-linenumber="8542"><td class="num" id="LN8542">8542</td><td class="line"> OpenFilesData *odata;</td></tr>
+<tr class="codeline" data-linenumber="8543"><td class="num" id="LN8543">8543</td><td class="line"> SaveAsData *sdata;</td></tr>
+<tr class="codeline" data-linenumber="8544"><td class="num" id="LN8544">8544</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8545"><td class="num" id="LN8545">8545</td><td class="line"> <span id="start55"><span id="end56"><span class='keyword'>switch</span></span></span> (<span id="start54"><span id="end55">action</span></span>-&gt;type) {</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path2" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">2</div></td><td><div class="PathNav"><a href="#Path1" title="Previous event (1)">&#x2190;</a></div></td><td>Control jumps to 'case FR_BATCH_ACTION_RENAME:' at line 8620</td><td><div class="PathNav"><a href="#Path3" title="Next event (3)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="8546"><td class="num" id="LN8546">8546</td><td class="line"> <span class='keyword'>case</span> FR_BATCH_ACTION_LOAD:</td></tr>
+<tr class="codeline" data-linenumber="8547"><td class="num" id="LN8547">8547</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 8547, __FUNCTION__</span></span>, <span class='string_literal'>"[BATCH] LOAD\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="8548"><td class="num" id="LN8548">8548</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8549"><td class="num" id="LN8549">8549</td><td class="line"> <span class='keyword'>if</span> (! uri_exists ((<span class='keyword'>char</span>*) action-&gt;data))</td></tr>
+<tr class="codeline" data-linenumber="8550"><td class="num" id="LN8550">8550</td><td class="line"> fr_window_archive_new (window, (<span class='keyword'>char</span>*) action-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="8551"><td class="num" id="LN8551">8551</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="8552"><td class="num" id="LN8552">8552</td><td class="line"> fr_window_archive_open (window, (<span class='keyword'>char</span>*) action-&gt;data, <span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8553"><td class="num" id="LN8553">8553</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8554"><td class="num" id="LN8554">8554</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8555"><td class="num" id="LN8555">8555</td><td class="line"> <span class='keyword'>case</span> FR_BATCH_ACTION_ADD:</td></tr>
+<tr class="codeline" data-linenumber="8556"><td class="num" id="LN8556">8556</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 8556, __FUNCTION__</span></span>, <span class='string_literal'>"[BATCH] ADD\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="8557"><td class="num" id="LN8557">8557</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8558"><td class="num" id="LN8558">8558</td><td class="line"> fr_window_archive_add_dropped_items (window, (GList*) action-&gt;data, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8559"><td class="num" id="LN8559">8559</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8560"><td class="num" id="LN8560">8560</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8561"><td class="num" id="LN8561">8561</td><td class="line"> <span class='keyword'>case</span> FR_BATCH_ACTION_DELETE:</td></tr>
+<tr class="codeline" data-linenumber="8562"><td class="num" id="LN8562">8562</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 8562, __FUNCTION__</span></span>, <span class='string_literal'>"[BATCH] DELETE\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="8563"><td class="num" id="LN8563">8563</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8564"><td class="num" id="LN8564">8564</td><td class="line"> fr_window_archive_remove (window, (GList*) action-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="8565"><td class="num" id="LN8565">8565</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8566"><td class="num" id="LN8566">8566</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8567"><td class="num" id="LN8567">8567</td><td class="line"> <span class='keyword'>case</span> FR_BATCH_ACTION_OPEN:</td></tr>
+<tr class="codeline" data-linenumber="8568"><td class="num" id="LN8568">8568</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 8568, __FUNCTION__</span></span>, <span class='string_literal'>"[BATCH] OPEN\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="8569"><td class="num" id="LN8569">8569</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8570"><td class="num" id="LN8570">8570</td><td class="line"> fr_window_push_message (window, <span class='macro'>_(<span class='string_literal'>"Add files to an archive"</span>)<span class='macro_popup'>gettext ("Add files to an archive")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8571"><td class="num" id="LN8571">8571</td><td class="line"> dlg_batch_add_files (window, (GList*) action-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="8572"><td class="num" id="LN8572">8572</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8573"><td class="num" id="LN8573">8573</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8574"><td class="num" id="LN8574">8574</td><td class="line"> <span class='keyword'>case</span> FR_BATCH_ACTION_EXTRACT:</td></tr>
+<tr class="codeline" data-linenumber="8575"><td class="num" id="LN8575">8575</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 8575, __FUNCTION__</span></span>, <span class='string_literal'>"[BATCH] EXTRACT\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="8576"><td class="num" id="LN8576">8576</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8577"><td class="num" id="LN8577">8577</td><td class="line"> edata = action-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="8578"><td class="num" id="LN8578">8578</td><td class="line"> fr_window_archive_extract (window,</td></tr>
+<tr class="codeline" data-linenumber="8579"><td class="num" id="LN8579">8579</td><td class="line"> edata-&gt;file_list,</td></tr>
+<tr class="codeline" data-linenumber="8580"><td class="num" id="LN8580">8580</td><td class="line"> edata-&gt;extract_to_dir,</td></tr>
+<tr class="codeline" data-linenumber="8581"><td class="num" id="LN8581">8581</td><td class="line"> edata-&gt;sub_dir,</td></tr>
+<tr class="codeline" data-linenumber="8582"><td class="num" id="LN8582">8582</td><td class="line"> edata-&gt;base_dir,</td></tr>
+<tr class="codeline" data-linenumber="8583"><td class="num" id="LN8583">8583</td><td class="line"> edata-&gt;skip_older,</td></tr>
+<tr class="codeline" data-linenumber="8584"><td class="num" id="LN8584">8584</td><td class="line"> edata-&gt;overwrite,</td></tr>
+<tr class="codeline" data-linenumber="8585"><td class="num" id="LN8585">8585</td><td class="line"> edata-&gt;junk_paths,</td></tr>
+<tr class="codeline" data-linenumber="8586"><td class="num" id="LN8586">8586</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8587"><td class="num" id="LN8587">8587</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8588"><td class="num" id="LN8588">8588</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8589"><td class="num" id="LN8589">8589</td><td class="line"> <span class='keyword'>case</span> FR_BATCH_ACTION_EXTRACT_HERE:</td></tr>
+<tr class="codeline" data-linenumber="8590"><td class="num" id="LN8590">8590</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 8590, __FUNCTION__</span></span>, <span class='string_literal'>"[BATCH] EXTRACT HERE\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="8591"><td class="num" id="LN8591">8591</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8592"><td class="num" id="LN8592">8592</td><td class="line"> fr_window_archive_extract_here (window,</td></tr>
+<tr class="codeline" data-linenumber="8593"><td class="num" id="LN8593">8593</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8594"><td class="num" id="LN8594">8594</td><td class="line"> FR_OVERWRITE_NO,</td></tr>
+<tr class="codeline" data-linenumber="8595"><td class="num" id="LN8595">8595</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8596"><td class="num" id="LN8596">8596</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8597"><td class="num" id="LN8597">8597</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8598"><td class="num" id="LN8598">8598</td><td class="line"> <span class='keyword'>case</span> FR_BATCH_ACTION_EXTRACT_INTERACT:</td></tr>
+<tr class="codeline" data-linenumber="8599"><td class="num" id="LN8599">8599</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 8599, __FUNCTION__</span></span>, <span class='string_literal'>"[BATCH] EXTRACT_INTERACT\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="8600"><td class="num" id="LN8600">8600</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8601"><td class="num" id="LN8601">8601</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;extract_interact_use_default_dir</td></tr>
+<tr class="codeline" data-linenumber="8602"><td class="num" id="LN8602">8602</td><td class="line"> &amp;&amp; (window-&gt;priv-&gt;extract_default_dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="8603"><td class="num" id="LN8603">8603</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="8604"><td class="num" id="LN8604">8604</td><td class="line"> fr_window_archive_extract (window,</td></tr>
+<tr class="codeline" data-linenumber="8605"><td class="num" id="LN8605">8605</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8606"><td class="num" id="LN8606">8606</td><td class="line"> window-&gt;priv-&gt;extract_default_dir,</td></tr>
+<tr class="codeline" data-linenumber="8607"><td class="num" id="LN8607">8607</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8608"><td class="num" id="LN8608">8608</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8609"><td class="num" id="LN8609">8609</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8610"><td class="num" id="LN8610">8610</td><td class="line"> FR_OVERWRITE_ASK,</td></tr>
+<tr class="codeline" data-linenumber="8611"><td class="num" id="LN8611">8611</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8612"><td class="num" id="LN8612">8612</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8613"><td class="num" id="LN8613">8613</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8614"><td class="num" id="LN8614">8614</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="8615"><td class="num" id="LN8615">8615</td><td class="line"> fr_window_push_message (window, <span class='macro'>_(<span class='string_literal'>"Extract archive"</span>)<span class='macro_popup'>gettext ("Extract archive")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8616"><td class="num" id="LN8616">8616</td><td class="line"> dlg_extract (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, window);</td></tr>
+<tr class="codeline" data-linenumber="8617"><td class="num" id="LN8617">8617</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8618"><td class="num" id="LN8618">8618</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8619"><td class="num" id="LN8619">8619</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8620"><td class="num" id="LN8620">8620</td><td class="line"> <span class='keyword'>case</span> FR_BATCH_ACTION_RENAME:</td></tr>
+<tr class="codeline" data-linenumber="8621"><td class="num" id="LN8621">8621</td><td class="line"> <span id="start51"><span id="end52"><span id="start53"><span id="end54">debug</span></span></span></span> (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 8621, __FUNCTION__</span></span>, <span id="start52"><span id="end53"><span class='string_literal'>"[BATCH] RENAME\n"</span>);</td></tr></span></span>
+<tr class="codeline" data-linenumber="8622"><td class="num" id="LN8622">8622</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8623"><td class="num" id="LN8623">8623</td><td class="line"> <span id="start50"><span id="end51">rdata</span></span> = action-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="8624"><td class="num" id="LN8624">8624</td><td class="line"> <span class="mrange"><span id="end50">rename_selection</span> (window,</td></tr></span>
+<tr><td class="num"></td><td class="line"><div id="Path3" class="msg msgEvent" style="margin-left:17ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">3</div></td><td><div class="PathNav"><a href="#Path2" title="Previous event (2)">&#x2190;</a></div></td><td>Calling 'rename_selection'</td><td><div class="PathNav"><a href="#Path4" title="Next event (4)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="8625"><td class="num" id="LN8625">8625</td><td class="line"> <span class="mrange">rdata-&gt;path_to_rename,</td></tr></span>
+<tr class="codeline" data-linenumber="8626"><td class="num" id="LN8626">8626</td><td class="line"> <span class="mrange">rdata-&gt;old_name,</td></tr></span>
+<tr class="codeline" data-linenumber="8627"><td class="num" id="LN8627">8627</td><td class="line"> <span class="mrange">rdata-&gt;new_name,</td></tr></span>
+<tr class="codeline" data-linenumber="8628"><td class="num" id="LN8628">8628</td><td class="line"> <span class="mrange">rdata-&gt;current_dir,</td></tr></span>
+<tr class="codeline" data-linenumber="8629"><td class="num" id="LN8629">8629</td><td class="line"> <span class="mrange">rdata-&gt;is_dir,</td></tr></span>
+<tr class="codeline" data-linenumber="8630"><td class="num" id="LN8630">8630</td><td class="line"> <span class="mrange">rdata-&gt;dir_in_archive,</td></tr></span>
+<tr class="codeline" data-linenumber="8631"><td class="num" id="LN8631">8631</td><td class="line"> <span class="mrange">rdata-&gt;original_path)</span>;</td></tr>
+<tr class="codeline" data-linenumber="8632"><td class="num" id="LN8632">8632</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8633"><td class="num" id="LN8633">8633</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8634"><td class="num" id="LN8634">8634</td><td class="line"> <span class='keyword'>case</span> FR_BATCH_ACTION_PASTE:</td></tr>
+<tr class="codeline" data-linenumber="8635"><td class="num" id="LN8635">8635</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 8635, __FUNCTION__</span></span>, <span class='string_literal'>"[BATCH] PASTE\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="8636"><td class="num" id="LN8636">8636</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8637"><td class="num" id="LN8637">8637</td><td class="line"> fr_window_paste_from_clipboard_data (window, (FrClipboardData*) action-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="8638"><td class="num" id="LN8638">8638</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8639"><td class="num" id="LN8639">8639</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8640"><td class="num" id="LN8640">8640</td><td class="line"> <span class='keyword'>case</span> FR_BATCH_ACTION_OPEN_FILES:</td></tr>
+<tr class="codeline" data-linenumber="8641"><td class="num" id="LN8641">8641</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 8641, __FUNCTION__</span></span>, <span class='string_literal'>"[BATCH] OPEN FILES\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="8642"><td class="num" id="LN8642">8642</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8643"><td class="num" id="LN8643">8643</td><td class="line"> odata = action-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="8644"><td class="num" id="LN8644">8644</td><td class="line"> fr_window_open_files (window, odata-&gt;file_list, odata-&gt;ask_application);</td></tr>
+<tr class="codeline" data-linenumber="8645"><td class="num" id="LN8645">8645</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8646"><td class="num" id="LN8646">8646</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8647"><td class="num" id="LN8647">8647</td><td class="line"> <span class='keyword'>case</span> FR_BATCH_ACTION_SAVE_AS:</td></tr>
+<tr class="codeline" data-linenumber="8648"><td class="num" id="LN8648">8648</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 8648, __FUNCTION__</span></span>, <span class='string_literal'>"[BATCH] SAVE_AS\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="8649"><td class="num" id="LN8649">8649</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8650"><td class="num" id="LN8650">8650</td><td class="line"> sdata = action-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="8651"><td class="num" id="LN8651">8651</td><td class="line"> fr_window_archive_save_as (window,</td></tr>
+<tr class="codeline" data-linenumber="8652"><td class="num" id="LN8652">8652</td><td class="line"> sdata-&gt;uri,</td></tr>
+<tr class="codeline" data-linenumber="8653"><td class="num" id="LN8653">8653</td><td class="line"> sdata-&gt;password,</td></tr>
+<tr class="codeline" data-linenumber="8654"><td class="num" id="LN8654">8654</td><td class="line"> sdata-&gt;encrypt_header,</td></tr>
+<tr class="codeline" data-linenumber="8655"><td class="num" id="LN8655">8655</td><td class="line"> sdata-&gt;volume_size);</td></tr>
+<tr class="codeline" data-linenumber="8656"><td class="num" id="LN8656">8656</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8657"><td class="num" id="LN8657">8657</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8658"><td class="num" id="LN8658">8658</td><td class="line"> <span class='keyword'>case</span> FR_BATCH_ACTION_TEST:</td></tr>
+<tr class="codeline" data-linenumber="8659"><td class="num" id="LN8659">8659</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 8659, __FUNCTION__</span></span>, <span class='string_literal'>"[BATCH] TEST\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="8660"><td class="num" id="LN8660">8660</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8661"><td class="num" id="LN8661">8661</td><td class="line"> fr_window_archive_test (window);</td></tr>
+<tr class="codeline" data-linenumber="8662"><td class="num" id="LN8662">8662</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8663"><td class="num" id="LN8663">8663</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8664"><td class="num" id="LN8664">8664</td><td class="line"> <span class='keyword'>case</span> FR_BATCH_ACTION_CLOSE:</td></tr>
+<tr class="codeline" data-linenumber="8665"><td class="num" id="LN8665">8665</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 8665, __FUNCTION__</span></span>, <span class='string_literal'>"[BATCH] CLOSE\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="8666"><td class="num" id="LN8666">8666</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8667"><td class="num" id="LN8667">8667</td><td class="line"> fr_window_archive_close (window);</td></tr>
+<tr class="codeline" data-linenumber="8668"><td class="num" id="LN8668">8668</td><td class="line"> fr_window_exec_next_batch_action (window);</td></tr>
+<tr class="codeline" data-linenumber="8669"><td class="num" id="LN8669">8669</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8670"><td class="num" id="LN8670">8670</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8671"><td class="num" id="LN8671">8671</td><td class="line"> <span class='keyword'>case</span> FR_BATCH_ACTION_QUIT:</td></tr>
+<tr class="codeline" data-linenumber="8672"><td class="num" id="LN8672">8672</td><td class="line"> debug (<span class='macro'>DEBUG_INFO<span class='macro_popup'>"fr-window.c", 8672, __FUNCTION__</span></span>, <span class='string_literal'>"[BATCH] QUIT\n"</span>);</td></tr>
+<tr class="codeline" data-linenumber="8673"><td class="num" id="LN8673">8673</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8674"><td class="num" id="LN8674">8674</td><td class="line"> g_signal_emit (window,</td></tr>
+<tr class="codeline" data-linenumber="8675"><td class="num" id="LN8675">8675</td><td class="line"> fr_window_signals[READY],</td></tr>
+<tr class="codeline" data-linenumber="8676"><td class="num" id="LN8676">8676</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="8677"><td class="num" id="LN8677">8677</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8678"><td class="num" id="LN8678">8678</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8679"><td class="num" id="LN8679">8679</td><td class="line"> <span class='keyword'>if</span> ((window-&gt;priv-&gt;progress_dialog != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (gtk_widget_get_parent (window-&gt;priv-&gt;progress_dialog) != <span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="8680"><td class="num" id="LN8680">8680</td><td class="line"> gtk_widget_destroy (window-&gt;priv-&gt;progress_dialog);</td></tr>
+<tr class="codeline" data-linenumber="8681"><td class="num" id="LN8681">8681</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8682"><td class="num" id="LN8682">8682</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8683"><td class="num" id="LN8683">8683</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8684"><td class="num" id="LN8684">8684</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="8685"><td class="num" id="LN8685">8685</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="8686"><td class="num" id="LN8686">8686</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8687"><td class="num" id="LN8687">8687</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8688"><td class="num" id="LN8688">8688</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8689"><td class="num" id="LN8689">8689</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8690"><td class="num" id="LN8690">8690</td><td class="line">fr_window_reset_current_batch_action (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="8691"><td class="num" id="LN8691">8691</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8692"><td class="num" id="LN8692">8692</td><td class="line"> FRBatchAction *adata = &amp;window-&gt;priv-&gt;current_batch_action;</td></tr>
+<tr class="codeline" data-linenumber="8693"><td class="num" id="LN8693">8693</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8694"><td class="num" id="LN8694">8694</td><td class="line"> <span class='keyword'>if</span> ((adata-&gt;data != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (adata-&gt;free_func != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="8695"><td class="num" id="LN8695">8695</td><td class="line"> (*adata-&gt;free_func) (adata-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="8696"><td class="num" id="LN8696">8696</td><td class="line"> adata-&gt;type = FR_BATCH_ACTION_NONE;</td></tr>
+<tr class="codeline" data-linenumber="8697"><td class="num" id="LN8697">8697</td><td class="line"> adata-&gt;data = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8698"><td class="num" id="LN8698">8698</td><td class="line"> adata-&gt;free_func = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8699"><td class="num" id="LN8699">8699</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8700"><td class="num" id="LN8700">8700</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8701"><td class="num" id="LN8701">8701</td><td class="line"><span id="start27"><span class='keyword'>void</span></td></tr></span>
+<tr class="codeline" data-linenumber="8702"><td class="num" id="LN8702">8702</td><td class="line">fr_window_set_current_batch_action (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8703"><td class="num" id="LN8703">8703</td><td class="line"> FrBatchActionType action,</td></tr>
+<tr class="codeline" data-linenumber="8704"><td class="num" id="LN8704">8704</td><td class="line"> <span class='keyword'>void</span> *data,</td></tr>
+<tr class="codeline" data-linenumber="8705"><td class="num" id="LN8705">8705</td><td class="line"> GFreeFunc free_func)</td></tr>
+<tr class="codeline" data-linenumber="8706"><td class="num" id="LN8706">8706</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8707"><td class="num" id="LN8707">8707</td><td class="line"> <span id="start26"><span id="end27">FRBatchAction</span></span> *adata = &amp;window-&gt;priv-&gt;current_batch_action;</td></tr>
+<tr class="codeline" data-linenumber="8708"><td class="num" id="LN8708">8708</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8709"><td class="num" id="LN8709">8709</td><td class="line"> fr_window_reset_current_batch_action (window);</td></tr>
+<tr class="codeline" data-linenumber="8710"><td class="num" id="LN8710">8710</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8711"><td class="num" id="LN8711">8711</td><td class="line"> adata-&gt;type = action;</td></tr>
+<tr class="codeline" data-linenumber="8712"><td class="num" id="LN8712">8712</td><td class="line"> adata-&gt;data = data;</td></tr>
+<tr class="codeline" data-linenumber="8713"><td class="num" id="LN8713">8713</td><td class="line"> <span id="end24"><span id="start25"><span id="end26">adata</span></span></span>-&gt;free_func = free_func;</td></tr>
+<tr class="codeline" data-linenumber="8714"><td class="num" id="LN8714">8714</td><td class="line"><span id="start24"><span id="end25">}</td></tr></span>
+<tr><td class="num"></td><td class="line"><div id="Path16" class="msg msgEvent" style="margin-left:1ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">16</div></td><td><div class="PathNav"><a href="#Path15" title="Previous event (15)">&#x2190;</a></div></td><td>Returning without writing to 'data-&gt;old_name'</td><td><div class="PathNav"><a href="#Path17" title="Next event (17)">&#x2192;</a></div></td></tr></table></div></td></tr></span>
+<tr class="codeline" data-linenumber="8715"><td class="num" id="LN8715">8715</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8716"><td class="num" id="LN8716">8716</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8717"><td class="num" id="LN8717">8717</td><td class="line">fr_window_restart_current_batch_action (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="8718"><td class="num" id="LN8718">8718</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8719"><td class="num" id="LN8719">8719</td><td class="line"> <span class="mrange">fr_window_exec_batch_action (window, &amp;window-&gt;priv-&gt;current_batch_action)</span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path1" class="msg msgEvent" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">1</div></td><td>Calling 'fr_window_exec_batch_action'</td><td><div class="PathNav"><a href="#Path2" title="Next event (2)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="8720"><td class="num" id="LN8720">8720</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8721"><td class="num" id="LN8721">8721</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8722"><td class="num" id="LN8722">8722</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8723"><td class="num" id="LN8723">8723</td><td class="line">fr_window_append_batch_action (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8724"><td class="num" id="LN8724">8724</td><td class="line"> FrBatchActionType action,</td></tr>
+<tr class="codeline" data-linenumber="8725"><td class="num" id="LN8725">8725</td><td class="line"> <span class='keyword'>void</span> *data,</td></tr>
+<tr class="codeline" data-linenumber="8726"><td class="num" id="LN8726">8726</td><td class="line"> GFreeFunc free_func)</td></tr>
+<tr class="codeline" data-linenumber="8727"><td class="num" id="LN8727">8727</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8728"><td class="num" id="LN8728">8728</td><td class="line"> FRBatchAction *a_desc;</td></tr>
+<tr class="codeline" data-linenumber="8729"><td class="num" id="LN8729">8729</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8730"><td class="num" id="LN8730">8730</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8731"><td class="num" id="LN8731">8731</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8732"><td class="num" id="LN8732">8732</td><td class="line"> a_desc = <span class='macro'>g_new0 (FRBatchAction, 1)<span class='macro_popup'>((FRBatchAction *) g_malloc0_n ((1), sizeof (FRBatchAction)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8733"><td class="num" id="LN8733">8733</td><td class="line"> a_desc-&gt;type = action;</td></tr>
+<tr class="codeline" data-linenumber="8734"><td class="num" id="LN8734">8734</td><td class="line"> a_desc-&gt;data = data;</td></tr>
+<tr class="codeline" data-linenumber="8735"><td class="num" id="LN8735">8735</td><td class="line"> a_desc-&gt;free_func = free_func;</td></tr>
+<tr class="codeline" data-linenumber="8736"><td class="num" id="LN8736">8736</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8737"><td class="num" id="LN8737">8737</td><td class="line"> window-&gt;priv-&gt;batch_action_list = g_list_append (window-&gt;priv-&gt;batch_action_list, a_desc);</td></tr>
+<tr class="codeline" data-linenumber="8738"><td class="num" id="LN8738">8738</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8739"><td class="num" id="LN8739">8739</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8740"><td class="num" id="LN8740">8740</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8741"><td class="num" id="LN8741">8741</td><td class="line">fr_window_exec_current_batch_action (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="8742"><td class="num" id="LN8742">8742</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8743"><td class="num" id="LN8743">8743</td><td class="line"> FRBatchAction *action;</td></tr>
+<tr class="codeline" data-linenumber="8744"><td class="num" id="LN8744">8744</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8745"><td class="num" id="LN8745">8745</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;batch_action == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="8746"><td class="num" id="LN8746">8746</td><td class="line"> window-&gt;priv-&gt;batch_mode = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8747"><td class="num" id="LN8747">8747</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="8748"><td class="num" id="LN8748">8748</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8749"><td class="num" id="LN8749">8749</td><td class="line"> action = (FRBatchAction *) window-&gt;priv-&gt;batch_action-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="8750"><td class="num" id="LN8750">8750</td><td class="line"> fr_window_exec_batch_action (window, action);</td></tr>
+<tr class="codeline" data-linenumber="8751"><td class="num" id="LN8751">8751</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8752"><td class="num" id="LN8752">8752</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8753"><td class="num" id="LN8753">8753</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8754"><td class="num" id="LN8754">8754</td><td class="line">fr_window_exec_next_batch_action (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="8755"><td class="num" id="LN8755">8755</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8756"><td class="num" id="LN8756">8756</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;batch_action != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="8757"><td class="num" id="LN8757">8757</td><td class="line"> window-&gt;priv-&gt;batch_action = <span class='macro'>g_list_next (window-&gt;priv-&gt;batch_action)<span class='macro_popup'>((window-&gt;priv-&gt;batch_action) ? (((GList *)(window-&gt;<br>priv-&gt;batch_action))-&gt;next) : ((void*)0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8758"><td class="num" id="LN8758">8758</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="8759"><td class="num" id="LN8759">8759</td><td class="line"> window-&gt;priv-&gt;batch_action = window-&gt;priv-&gt;batch_action_list;</td></tr>
+<tr class="codeline" data-linenumber="8760"><td class="num" id="LN8760">8760</td><td class="line"> fr_window_exec_current_batch_action (window);</td></tr>
+<tr class="codeline" data-linenumber="8761"><td class="num" id="LN8761">8761</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8762"><td class="num" id="LN8762">8762</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8763"><td class="num" id="LN8763">8763</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8764"><td class="num" id="LN8764">8764</td><td class="line">fr_window_start_batch (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="8765"><td class="num" id="LN8765">8765</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8766"><td class="num" id="LN8766">8766</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8767"><td class="num" id="LN8767">8767</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8768"><td class="num" id="LN8768">8768</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;batch_mode)</td></tr>
+<tr class="codeline" data-linenumber="8769"><td class="num" id="LN8769">8769</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="8770"><td class="num" id="LN8770">8770</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8771"><td class="num" id="LN8771">8771</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;batch_action_list == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="8772"><td class="num" id="LN8772">8772</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="8773"><td class="num" id="LN8773">8773</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8774"><td class="num" id="LN8774">8774</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;progress_dialog != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="8775"><td class="num" id="LN8775">8775</td><td class="line"> gtk_window_set_title (<span class='macro'>GTK_WINDOW (window-&gt;priv-&gt;progress_dialog)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;progress_dialog)), ((gtk_window_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8776"><td class="num" id="LN8776">8776</td><td class="line"> window-&gt;priv-&gt;batch_title);</td></tr>
+<tr class="codeline" data-linenumber="8777"><td class="num" id="LN8777">8777</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8778"><td class="num" id="LN8778">8778</td><td class="line"> window-&gt;priv-&gt;batch_mode = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8779"><td class="num" id="LN8779">8779</td><td class="line"> window-&gt;priv-&gt;batch_action = window-&gt;priv-&gt;batch_action_list;</td></tr>
+<tr class="codeline" data-linenumber="8780"><td class="num" id="LN8780">8780</td><td class="line"> window-&gt;archive-&gt;can_create_compressed_file = window-&gt;priv-&gt;batch_adding_one_file;</td></tr>
+<tr class="codeline" data-linenumber="8781"><td class="num" id="LN8781">8781</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8782"><td class="num" id="LN8782">8782</td><td class="line"> fr_window_exec_current_batch_action (window);</td></tr>
+<tr class="codeline" data-linenumber="8783"><td class="num" id="LN8783">8783</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8784"><td class="num" id="LN8784">8784</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8785"><td class="num" id="LN8785">8785</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8786"><td class="num" id="LN8786">8786</td><td class="line">fr_window_stop_batch (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="8787"><td class="num" id="LN8787">8787</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8788"><td class="num" id="LN8788">8788</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;non_interactive)</td></tr>
+<tr class="codeline" data-linenumber="8789"><td class="num" id="LN8789">8789</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="8790"><td class="num" id="LN8790">8790</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8791"><td class="num" id="LN8791">8791</td><td class="line"> window-&gt;priv-&gt;extract_interact_use_default_dir = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8792"><td class="num" id="LN8792">8792</td><td class="line"> window-&gt;archive-&gt;can_create_compressed_file = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8793"><td class="num" id="LN8793">8793</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8794"><td class="num" id="LN8794">8794</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;batch_mode) {</td></tr>
+<tr class="codeline" data-linenumber="8795"><td class="num" id="LN8795">8795</td><td class="line"> <span class='keyword'>if</span> (! window-&gt;priv-&gt;showing_error_dialog) {</td></tr>
+<tr class="codeline" data-linenumber="8796"><td class="num" id="LN8796">8796</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8797"><td class="num" id="LN8797">8797</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="8798"><td class="num" id="LN8798">8798</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8799"><td class="num" id="LN8799">8799</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8800"><td class="num" id="LN8800">8800</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="8801"><td class="num" id="LN8801">8801</td><td class="line"> gtk_window_present (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8802"><td class="num" id="LN8802">8802</td><td class="line"> fr_window_archive_close (window);</td></tr>
+<tr class="codeline" data-linenumber="8803"><td class="num" id="LN8803">8803</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="8804"><td class="num" id="LN8804">8804</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8805"><td class="num" id="LN8805">8805</td><td class="line"> window-&gt;priv-&gt;batch_mode = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8806"><td class="num" id="LN8806">8806</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8807"><td class="num" id="LN8807">8807</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8808"><td class="num" id="LN8808">8808</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8809"><td class="num" id="LN8809">8809</td><td class="line">fr_window_resume_batch (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="8810"><td class="num" id="LN8810">8810</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8811"><td class="num" id="LN8811">8811</td><td class="line"> fr_window_exec_current_batch_action (window);</td></tr>
+<tr class="codeline" data-linenumber="8812"><td class="num" id="LN8812">8812</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8813"><td class="num" id="LN8813">8813</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8814"><td class="num" id="LN8814">8814</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="8815"><td class="num" id="LN8815">8815</td><td class="line">fr_window_is_batch_mode (FrWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="8816"><td class="num" id="LN8816">8816</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8817"><td class="num" id="LN8817">8817</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;batch_mode;</td></tr>
+<tr class="codeline" data-linenumber="8818"><td class="num" id="LN8818">8818</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8819"><td class="num" id="LN8819">8819</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8820"><td class="num" id="LN8820">8820</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8821"><td class="num" id="LN8821">8821</td><td class="line">fr_window_new_batch (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8822"><td class="num" id="LN8822">8822</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *title)</td></tr>
+<tr class="codeline" data-linenumber="8823"><td class="num" id="LN8823">8823</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8824"><td class="num" id="LN8824">8824</td><td class="line"> fr_window_free_batch_data (window);</td></tr>
+<tr class="codeline" data-linenumber="8825"><td class="num" id="LN8825">8825</td><td class="line"> window-&gt;priv-&gt;non_interactive = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8826"><td class="num" id="LN8826">8826</td><td class="line"> g_free (window-&gt;priv-&gt;batch_title);</td></tr>
+<tr class="codeline" data-linenumber="8827"><td class="num" id="LN8827">8827</td><td class="line"> window-&gt;priv-&gt;batch_title = <span class='macro'>g_strdup (title)<span class='macro_popup'>g_strdup_inline (title)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8828"><td class="num" id="LN8828">8828</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8829"><td class="num" id="LN8829">8829</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8830"><td class="num" id="LN8830">8830</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8831"><td class="num" id="LN8831">8831</td><td class="line">fr_window_set_batch__extract_here (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8832"><td class="num" id="LN8832">8832</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *filename)</td></tr>
+<tr class="codeline" data-linenumber="8833"><td class="num" id="LN8833">8833</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8834"><td class="num" id="LN8834">8834</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8835"><td class="num" id="LN8835">8835</td><td class="line"> <span class='macro'>g_return_if_fail (filename != NULL)<span class='macro_popup'>do { if ((filename != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "filename != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8836"><td class="num" id="LN8836">8836</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8837"><td class="num" id="LN8837">8837</td><td class="line"> fr_window_append_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="8838"><td class="num" id="LN8838">8838</td><td class="line"> FR_BATCH_ACTION_LOAD,</td></tr>
+<tr class="codeline" data-linenumber="8839"><td class="num" id="LN8839">8839</td><td class="line"> <span class='macro'>g_strdup (filename)<span class='macro_popup'>g_strdup_inline (filename)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8840"><td class="num" id="LN8840">8840</td><td class="line"> (GFreeFunc) g_free);</td></tr>
+<tr class="codeline" data-linenumber="8841"><td class="num" id="LN8841">8841</td><td class="line"> fr_window_append_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="8842"><td class="num" id="LN8842">8842</td><td class="line"> FR_BATCH_ACTION_EXTRACT_HERE,</td></tr>
+<tr class="codeline" data-linenumber="8843"><td class="num" id="LN8843">8843</td><td class="line"> extract_to_data_new (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>),</td></tr>
+<tr class="codeline" data-linenumber="8844"><td class="num" id="LN8844">8844</td><td class="line"> (GFreeFunc) extract_data_free);</td></tr>
+<tr class="codeline" data-linenumber="8845"><td class="num" id="LN8845">8845</td><td class="line"> fr_window_append_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="8846"><td class="num" id="LN8846">8846</td><td class="line"> FR_BATCH_ACTION_CLOSE,</td></tr>
+<tr class="codeline" data-linenumber="8847"><td class="num" id="LN8847">8847</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8848"><td class="num" id="LN8848">8848</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8849"><td class="num" id="LN8849">8849</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8850"><td class="num" id="LN8850">8850</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8851"><td class="num" id="LN8851">8851</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8852"><td class="num" id="LN8852">8852</td><td class="line">fr_window_set_batch__extract (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8853"><td class="num" id="LN8853">8853</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *filename,</td></tr>
+<tr class="codeline" data-linenumber="8854"><td class="num" id="LN8854">8854</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *dest_dir)</td></tr>
+<tr class="codeline" data-linenumber="8855"><td class="num" id="LN8855">8855</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8856"><td class="num" id="LN8856">8856</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8857"><td class="num" id="LN8857">8857</td><td class="line"> <span class='macro'>g_return_if_fail (filename != NULL)<span class='macro_popup'>do { if ((filename != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "filename != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8858"><td class="num" id="LN8858">8858</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8859"><td class="num" id="LN8859">8859</td><td class="line"> fr_window_append_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="8860"><td class="num" id="LN8860">8860</td><td class="line"> FR_BATCH_ACTION_LOAD,</td></tr>
+<tr class="codeline" data-linenumber="8861"><td class="num" id="LN8861">8861</td><td class="line"> <span class='macro'>g_strdup (filename)<span class='macro_popup'>g_strdup_inline (filename)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8862"><td class="num" id="LN8862">8862</td><td class="line"> (GFreeFunc) g_free);</td></tr>
+<tr class="codeline" data-linenumber="8863"><td class="num" id="LN8863">8863</td><td class="line"> <span class='keyword'>if</span> (dest_dir != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="8864"><td class="num" id="LN8864">8864</td><td class="line"> fr_window_append_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="8865"><td class="num" id="LN8865">8865</td><td class="line"> FR_BATCH_ACTION_EXTRACT,</td></tr>
+<tr class="codeline" data-linenumber="8866"><td class="num" id="LN8866">8866</td><td class="line"> extract_to_data_new (dest_dir),</td></tr>
+<tr class="codeline" data-linenumber="8867"><td class="num" id="LN8867">8867</td><td class="line"> (GFreeFunc) extract_data_free);</td></tr>
+<tr class="codeline" data-linenumber="8868"><td class="num" id="LN8868">8868</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="8869"><td class="num" id="LN8869">8869</td><td class="line"> fr_window_append_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="8870"><td class="num" id="LN8870">8870</td><td class="line"> FR_BATCH_ACTION_EXTRACT_INTERACT,</td></tr>
+<tr class="codeline" data-linenumber="8871"><td class="num" id="LN8871">8871</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8872"><td class="num" id="LN8872">8872</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8873"><td class="num" id="LN8873">8873</td><td class="line"> fr_window_append_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="8874"><td class="num" id="LN8874">8874</td><td class="line"> FR_BATCH_ACTION_CLOSE,</td></tr>
+<tr class="codeline" data-linenumber="8875"><td class="num" id="LN8875">8875</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8876"><td class="num" id="LN8876">8876</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8877"><td class="num" id="LN8877">8877</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8878"><td class="num" id="LN8878">8878</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8879"><td class="num" id="LN8879">8879</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8880"><td class="num" id="LN8880">8880</td><td class="line">fr_window_set_batch__add (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8881"><td class="num" id="LN8881">8881</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *archive,</td></tr>
+<tr class="codeline" data-linenumber="8882"><td class="num" id="LN8882">8882</td><td class="line"> GList *file_list)</td></tr>
+<tr class="codeline" data-linenumber="8883"><td class="num" id="LN8883">8883</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8884"><td class="num" id="LN8884">8884</td><td class="line"> window-&gt;priv-&gt;batch_adding_one_file = (file_list-&gt;next == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (uri_is_file (file_list-&gt;data));</td></tr>
+<tr class="codeline" data-linenumber="8885"><td class="num" id="LN8885">8885</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8886"><td class="num" id="LN8886">8886</td><td class="line"> <span class='keyword'>if</span> (archive != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="8887"><td class="num" id="LN8887">8887</td><td class="line"> fr_window_append_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="8888"><td class="num" id="LN8888">8888</td><td class="line"> FR_BATCH_ACTION_LOAD,</td></tr>
+<tr class="codeline" data-linenumber="8889"><td class="num" id="LN8889">8889</td><td class="line"> <span class='macro'>g_strdup (archive)<span class='macro_popup'>g_strdup_inline (archive)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8890"><td class="num" id="LN8890">8890</td><td class="line"> (GFreeFunc) g_free);</td></tr>
+<tr class="codeline" data-linenumber="8891"><td class="num" id="LN8891">8891</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="8892"><td class="num" id="LN8892">8892</td><td class="line"> fr_window_append_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="8893"><td class="num" id="LN8893">8893</td><td class="line"> FR_BATCH_ACTION_OPEN,</td></tr>
+<tr class="codeline" data-linenumber="8894"><td class="num" id="LN8894">8894</td><td class="line"> file_list,</td></tr>
+<tr class="codeline" data-linenumber="8895"><td class="num" id="LN8895">8895</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8896"><td class="num" id="LN8896">8896</td><td class="line"> fr_window_append_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="8897"><td class="num" id="LN8897">8897</td><td class="line"> FR_BATCH_ACTION_ADD,</td></tr>
+<tr class="codeline" data-linenumber="8898"><td class="num" id="LN8898">8898</td><td class="line"> file_list,</td></tr>
+<tr class="codeline" data-linenumber="8899"><td class="num" id="LN8899">8899</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8900"><td class="num" id="LN8900">8900</td><td class="line"> fr_window_append_batch_action (window,</td></tr>
+<tr class="codeline" data-linenumber="8901"><td class="num" id="LN8901">8901</td><td class="line"> FR_BATCH_ACTION_CLOSE,</td></tr>
+<tr class="codeline" data-linenumber="8902"><td class="num" id="LN8902">8902</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="8903"><td class="num" id="LN8903">8903</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="8904"><td class="num" id="LN8904">8904</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="8905"><td class="num" id="LN8905">8905</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8906"><td class="num" id="LN8906">8906</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="8907"><td class="num" id="LN8907">8907</td><td class="line">fr_window_set_close_dialog (FrWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="8908"><td class="num" id="LN8908">8908</td><td class="line"> gboolean state)</td></tr>
+<tr class="codeline" data-linenumber="8909"><td class="num" id="LN8909">8909</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="8910"><td class="num" id="LN8910">8910</td><td class="line"> <span class='macro'>g_return_if_fail (window != NULL)<span class='macro_popup'>do { if ((window != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "window != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="8911"><td class="num" id="LN8911">8911</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="8912"><td class="num" id="LN8912">8912</td><td class="line"> window-&gt;priv-&gt;close_dialog = state;</td></tr>
+<tr class="codeline" data-linenumber="8913"><td class="num" id="LN8913">8913</td><td class="line">}</td></tr>
+</table></body></html>
diff --git a/2024-03-27-012041-5213-1@78903120e74d_master/report-4de11e.html b/2024-03-27-012041-5213-1@78903120e74d_master/report-4de11e.html
new file mode 100644
index 0000000..f11f87b
--- /dev/null
+++ b/2024-03-27-012041-5213-1@78903120e74d_master/report-4de11e.html
@@ -0,0 +1,1225 @@
+<!doctype html>
+<html>
+<head>
+<title>glib-utils.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC Out of bound memory access (access exceeds upper limit of memory block) -->
+
+<!-- BUGTYPE Out-of-bound access -->
+
+<!-- BUGCATEGORY Logic error -->
+
+<!-- BUGFILE /rootdir/src/glib-utils.c -->
+
+<!-- FILENAME glib-utils.c -->
+
+<!-- FUNCTIONNAME search_util_get_regexps -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT 4de11eace34e0a8c5a9dada363dbe915 -->
+
+<!-- BUGLINE 351 -->
+
+<!-- BUGCOLUMN 14 -->
+
+<!-- BUGPATHLENGTH 5 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>src/glib-utils.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 351, column 14</a><br />Out of bound memory access (access exceeds upper limit of memory block)</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name glib-utils.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/src -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I .. -I ../mate-submodules/libegg/ -I .. -I .. -D ENGRAMPA_RESOURCE_UI_PATH="/org/mate/Engrampa/ui" -D FR_PREFIX="/usr/local" -D FR_SYSCONFDIR="/usr/local/etc" -D FR_DATADIR="/usr/local/share" -D PRIVDATADIR="/usr/local/share/engrampa/" -D FR_LIBDIR="/usr/local/lib" -D PKG_DATA_DIR="/usr/local/share/engrampa" -D PIXMAPSDIR="/usr/local/share/pixmaps" -D GLADEDIR="" -D LOCALEDIR="/usr/local/share/locale" -D SHDIR="/usr/local/libexec/engrampa/" -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/cairo -I /usr/include/gio-unix-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/libmount -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/fribidi -I /usr/include/sysprof-6 -I /usr/include/libpng16 -I /usr/include/json-glib-1.0 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/libmount -I /usr/include/blkid -I /usr/include/sysprof-6 -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-unused-parameter -fdebug-compilation-dir=/rootdir/src -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2024-03-27-012041-5213-1 -x c glib-utils.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"175": 1, "176": 1, "177": 1, "178": 1, "179": 1, "180": 1, "181": 1, "182": 1, "183": 1, "184": 1, "186": 1, "187": 1, "188": 1, "190": 1, "193": 1, "194": 1, "195": 1, "212": 1, "217": 1, "219": 1, "220": 1, "223": 1, "225": 1, "314": 1, "315": 1, "316": 1, "317": 1, "318": 1, "320": 1, "323": 1, "324": 1, "335": 1, "338": 1, "339": 1, "340": 1, "341": 1, "342": 1, "343": 1, "344": 1, "346": 1, "347": 1, "350": 1, "351": 1, "352": 1, "353": 1, "355": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+ <path class="arrow" id="arrow0"/>
+ <path class="arrow" id="arrow1"/>
+ <path class="arrow" id="arrow2"/>
+ <path class="arrow" id="arrow3"/>
+ <path class="arrow" id="arrow4"/>
+ <path class="arrow" id="arrow5"/>
+ <path class="arrow" id="arrow6"/>
+ <path class="arrow" id="arrow7"/>
+ <path class="arrow" id="arrow8"/>
+ <path class="arrow" id="arrow9"/>
+ <path class="arrow" id="arrow10"/>
+ <path class="arrow" id="arrow11"/>
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 12,8,5,3,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"><span class='comment'>/*</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>* Engrampa</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>* Copyright (C) 2005 Free Software Foundation, Inc.</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>* This program is free software; you can redistribute it and/or modify</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>* it under the terms of the GNU General Public License as published by</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>* the Free Software Foundation; either version 2 of the License, or</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>* (at your option) any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>* This program is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>* GNU General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>* You should have received a copy of the GNU General Public License</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>* along with this program; if not, write to the Free Software</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> <span class='comment'>* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"><span class='directive'>#include &lt;config.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"><span class='directive'>#include &lt;string.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"><span class='directive'>#include &lt;stdio.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#include &lt;glib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"><span class='directive'>#include &lt;glib/gi18n.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"><span class='directive'>#include &lt;glib/gprintf.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#include &lt;glib-object.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"><span class='directive'>#include "glib-utils.h"</span></td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"><span class='directive'>#define <span class='macro'>MAX_PATTERNS<span class='macro_popup'>128</span></span> 128</span></td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"><span class='comment'>/* gobject utils*/</span></td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line">_g_object_unref (gpointer object)</td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"> <span class='keyword'>if</span> (object != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line"> g_object_unref (object);</td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"><span class='comment'>/* string utils */</span></td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line">strchrs (<span class='keyword'>const</span> <span class='keyword'>char</span> *str,</td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *chars)</td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *c;</td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line"> <span class='keyword'>for</span> (c = chars; *c != '\0'; c++)</td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"> <span class='keyword'>if</span> (strchr (str, *c) != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line"><span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line">str_substitute (<span class='keyword'>const</span> <span class='keyword'>char</span> *str,</td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *from_str,</td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *to_str)</td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"> <span class='keyword'>char</span> **tokens;</td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line"> GString *gstr;</td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line"> <span class='keyword'>if</span> (str == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"> <span class='keyword'>if</span> (from_str == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>g_strdup (str)<span class='macro_popup'>g_strdup_inline (str)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line"> <span class='keyword'>if</span> (strcmp (str, from_str) == 0)</td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>g_strdup (to_str)<span class='macro_popup'>g_strdup_inline (to_str)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line"> tokens = g_strsplit (str, from_str, -1);</td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line"> gstr = g_string_new (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line"> <span class='keyword'>for</span> (i = 0; tokens[i] != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; i++) {</td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"> gstr = <span class='macro'>g_string_append (gstr, tokens[i])<span class='macro_popup'>(__builtin_constant_p (tokens[i]) ? __extension__ ({ const char<br> * const __val = (tokens[i]); g_string_append_len_inline (gstr<br>, __val, (__val != ((void*)0)) ? (gssize) strlen (((__val) + !<br>(__val))) : (gssize) -1); }) : g_string_append_len_inline (gstr<br>, tokens[i], (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"> <span class='keyword'>if</span> ((to_str != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (tokens[i+1] != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line"> gstr = <span class='macro'>g_string_append (gstr, to_str)<span class='macro_popup'>(__builtin_constant_p (to_str) ? __extension__ ({ const char *<br> const __val = (to_str); g_string_append_len_inline (gstr, __val<br>, (__val != ((void*)0)) ? (gssize) strlen (((__val) + !(__val<br>))) : (gssize) -1); }) : g_string_append_len_inline (gstr, to_str<br>, (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"> g_strfreev (tokens);</td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>g_string_free (gstr, FALSE)<span class='macro_popup'>(__builtin_constant_p ((0)) ? (((0)) ? (g_string_free) ((gstr<br>), ((0))) : g_string_free_and_steal (gstr)) : (g_string_free)<br> ((gstr), ((0))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"><span class='comment'>/* counts how many characters to escape in @str. */</span></td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line">count_chars_to_escape (<span class='keyword'>const</span> <span class='keyword'>char</span> *str,</td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *meta_chars)</td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line"> <span class='keyword'>int</span> meta_chars_n = strlen (meta_chars);</td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *s;</td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> <span class='keyword'>int</span> n = 0;</td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"> <span class='keyword'>for</span> (s = str; *s != 0; s++) {</td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; meta_chars_n; i++)</td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"> <span class='keyword'>if</span> (*s == meta_chars[i]) {</td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"> n++;</td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"> <span class='keyword'>return</span> n;</td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>char</span>*</td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line">escape_str_common (<span class='keyword'>const</span> <span class='keyword'>char</span> *str,</td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *meta_chars,</td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> prefix,</td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> postfix)</td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> <span class='keyword'>int</span> meta_chars_n = strlen (meta_chars);</td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line"> <span class='keyword'>char</span> *escaped;</td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line"> <span class='keyword'>int</span> i, new_l, extra_chars = 0;</td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *s;</td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line"> <span class='keyword'>char</span> *t;</td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line"> <span class='keyword'>if</span> (str == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"> <span class='keyword'>if</span> (prefix)</td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"> extra_chars++;</td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line"> <span class='keyword'>if</span> (postfix)</td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> extra_chars++;</td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line"> new_l = strlen (str) + (count_chars_to_escape (str, meta_chars) * extra_chars);</td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> escaped = g_malloc (new_l + 1);</td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"> s = str;</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"> t = escaped;</td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"> <span class='keyword'>while</span> (*s) {</td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> gboolean is_bad = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"> <span class='keyword'>for</span> (i = 0; (i &lt; meta_chars_n) &amp;&amp; !is_bad; i++)</td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> is_bad = (*s == meta_chars[i]);</td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line"> <span class='keyword'>if</span> (is_bad &amp;&amp; prefix)</td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line"> *t++ = prefix;</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"> *t++ = *s++;</td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"> <span class='keyword'>if</span> (is_bad &amp;&amp; postfix)</td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line"> *t++ = postfix;</td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"> *t = 0;</td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line"> <span class='keyword'>return</span> escaped;</td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"><span class='comment'>/* escape with backslash the string @str. */</span></td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"><span class='keyword'>char</span>*</td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line">escape_str (<span class='keyword'>const</span> <span class='keyword'>char</span> *str,</td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *meta_chars)</td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"> <span class='keyword'>return</span> escape_str_common (str, meta_chars, '\\', 0);</td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line">g_utf8_strstr (<span class='keyword'>const</span> <span class='keyword'>char</span> *haystack, <span class='keyword'>const</span> <span class='keyword'>char</span> *needle)</td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *s;</td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> gsize i;</td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> gsize haystack_len = g_utf8_strlen (haystack, -1);</td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"> gsize needle_len = g_utf8_strlen (needle, -1);</td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> <span class='keyword'>int</span> needle_size = strlen (needle);</td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> s = haystack;</td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt;= haystack_len - needle_len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> <span class='keyword'>if</span> (strncmp (s, needle, needle_size) == 0)</td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line"> <span class='keyword'>return</span> s;</td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line"> s = <span class='macro'>g_utf8_next_char(s)<span class='macro_popup'>(char *)((s) + g_utf8_skip[*(const guchar *)(s)])</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>char</span>**</td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line">g_utf8_strsplit (<span class='keyword'>const</span> <span class='keyword'>char</span> *string,</td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *delimiter,</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> <span class='keyword'>int</span> max_tokens)</td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"> GSList *string_list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, *slist;</td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"> <span class='keyword'>char</span> **str_array;</td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *s;</td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"> guint n = 0;</td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *remainder;</td></tr>
+<tr class="codeline" data-linenumber="185"><td class="num" id="LN185">185</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="186"><td class="num" id="LN186">186</td><td class="line"> <span class='macro'>g_return_val_if_fail (string != NULL, NULL)<span class='macro_popup'>do { if ((string != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "string != NULL")<br>; return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="187"><td class="num" id="LN187">187</td><td class="line"> <span class='macro'>g_return_val_if_fail (delimiter != NULL, NULL)<span class='macro_popup'>do { if ((delimiter != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "delimiter != NULL"<br>); return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="188"><td class="num" id="LN188">188</td><td class="line"> <span class='macro'>g_return_val_if_fail (delimiter[0] != '\0', NULL)<span class='macro_popup'>do { if ((delimiter[0] != '\0')) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "delimiter[0] != '\\0'"<br>); return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="189"><td class="num" id="LN189">189</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="190"><td class="num" id="LN190">190</td><td class="line"> <span class='keyword'>if</span> (max_tokens &lt; 1)</td></tr>
+<tr class="codeline" data-linenumber="191"><td class="num" id="LN191">191</td><td class="line"> max_tokens = <span class='macro'>G_MAXINT<span class='macro_popup'>2147483647</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="192"><td class="num" id="LN192">192</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="193"><td class="num" id="LN193">193</td><td class="line"> remainder = string;</td></tr>
+<tr class="codeline" data-linenumber="194"><td class="num" id="LN194">194</td><td class="line"> s = g_utf8_strstr (remainder, delimiter);</td></tr>
+<tr class="codeline" data-linenumber="195"><td class="num" id="LN195">195</td><td class="line"> <span class='keyword'>if</span> (s != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="196"><td class="num" id="LN196">196</td><td class="line"> gsize delimiter_size = strlen (delimiter);</td></tr>
+<tr class="codeline" data-linenumber="197"><td class="num" id="LN197">197</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="198"><td class="num" id="LN198">198</td><td class="line"> <span class='keyword'>while</span> (--max_tokens &amp;&amp; (s != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="199"><td class="num" id="LN199">199</td><td class="line"> gsize size = s - remainder;</td></tr>
+<tr class="codeline" data-linenumber="200"><td class="num" id="LN200">200</td><td class="line"> <span class='keyword'>char</span> *new_string;</td></tr>
+<tr class="codeline" data-linenumber="201"><td class="num" id="LN201">201</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="202"><td class="num" id="LN202">202</td><td class="line"> new_string = <span class='macro'>g_new (<span class='keyword'>char</span>, size + 1)<span class='macro_popup'>((char *) g_malloc_n ((size + 1), sizeof (char)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="203"><td class="num" id="LN203">203</td><td class="line"> strncpy (new_string, remainder, size);</td></tr>
+<tr class="codeline" data-linenumber="204"><td class="num" id="LN204">204</td><td class="line"> new_string[size] = 0;</td></tr>
+<tr class="codeline" data-linenumber="205"><td class="num" id="LN205">205</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="206"><td class="num" id="LN206">206</td><td class="line"> string_list = g_slist_prepend (string_list, new_string);</td></tr>
+<tr class="codeline" data-linenumber="207"><td class="num" id="LN207">207</td><td class="line"> n++;</td></tr>
+<tr class="codeline" data-linenumber="208"><td class="num" id="LN208">208</td><td class="line"> remainder = s + delimiter_size;</td></tr>
+<tr class="codeline" data-linenumber="209"><td class="num" id="LN209">209</td><td class="line"> s = g_utf8_strstr (remainder, delimiter);</td></tr>
+<tr class="codeline" data-linenumber="210"><td class="num" id="LN210">210</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="211"><td class="num" id="LN211">211</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="212"><td class="num" id="LN212">212</td><td class="line"> <span class='keyword'>if</span> (*string) {</td></tr>
+<tr class="codeline" data-linenumber="213"><td class="num" id="LN213">213</td><td class="line"> n++;</td></tr>
+<tr class="codeline" data-linenumber="214"><td class="num" id="LN214">214</td><td class="line"> string_list = g_slist_prepend (string_list, <span class='macro'>g_strdup (remainder)<span class='macro_popup'>g_strdup_inline (remainder)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="215"><td class="num" id="LN215">215</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="216"><td class="num" id="LN216">216</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="217"><td class="num" id="LN217">217</td><td class="line"> str_array = <span class='macro'>g_new (<span class='keyword'>char</span>*, n + 1)<span class='macro_popup'>((char* *) g_malloc_n ((n + 1), sizeof (char*)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="218"><td class="num" id="LN218">218</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="219"><td class="num" id="LN219">219</td><td class="line"> str_array[n--] = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="220"><td class="num" id="LN220">220</td><td class="line"> <span class='keyword'>for</span> (slist = string_list; slist; slist = slist-&gt;next)</td></tr>
+<tr class="codeline" data-linenumber="221"><td class="num" id="LN221">221</td><td class="line"> str_array[n--] = slist-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="222"><td class="num" id="LN222">222</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="223"><td class="num" id="LN223">223</td><td class="line"> g_slist_free (string_list);</td></tr>
+<tr class="codeline" data-linenumber="224"><td class="num" id="LN224">224</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="225"><td class="num" id="LN225">225</td><td class="line"> <span class='keyword'>return</span> str_array;</td></tr>
+<tr class="codeline" data-linenumber="226"><td class="num" id="LN226">226</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="227"><td class="num" id="LN227">227</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="228"><td class="num" id="LN228">228</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>char</span>*</td></tr>
+<tr class="codeline" data-linenumber="229"><td class="num" id="LN229">229</td><td class="line">g_utf8_strchug (<span class='keyword'>char</span> *string)</td></tr>
+<tr class="codeline" data-linenumber="230"><td class="num" id="LN230">230</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="231"><td class="num" id="LN231">231</td><td class="line"> <span class='keyword'>char</span> *scan;</td></tr>
+<tr class="codeline" data-linenumber="232"><td class="num" id="LN232">232</td><td class="line"> gunichar c;</td></tr>
+<tr class="codeline" data-linenumber="233"><td class="num" id="LN233">233</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="234"><td class="num" id="LN234">234</td><td class="line"> <span class='macro'>g_return_val_if_fail (string != NULL, NULL)<span class='macro_popup'>do { if ((string != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "string != NULL")<br>; return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="235"><td class="num" id="LN235">235</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="236"><td class="num" id="LN236">236</td><td class="line"> scan = string;</td></tr>
+<tr class="codeline" data-linenumber="237"><td class="num" id="LN237">237</td><td class="line"> c = g_utf8_get_char (scan);</td></tr>
+<tr class="codeline" data-linenumber="238"><td class="num" id="LN238">238</td><td class="line"> <span class='keyword'>while</span> (g_unichar_isspace (c)) {</td></tr>
+<tr class="codeline" data-linenumber="239"><td class="num" id="LN239">239</td><td class="line"> scan = <span class='macro'>g_utf8_next_char (scan)<span class='macro_popup'>(char *)((scan) + g_utf8_skip[*(const guchar *)(scan)])</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="240"><td class="num" id="LN240">240</td><td class="line"> c = g_utf8_get_char (scan);</td></tr>
+<tr class="codeline" data-linenumber="241"><td class="num" id="LN241">241</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="242"><td class="num" id="LN242">242</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="243"><td class="num" id="LN243">243</td><td class="line"> memmove (string, scan, strlen (scan) + 1);</td></tr>
+<tr class="codeline" data-linenumber="244"><td class="num" id="LN244">244</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="245"><td class="num" id="LN245">245</td><td class="line"> <span class='keyword'>return</span> string;</td></tr>
+<tr class="codeline" data-linenumber="246"><td class="num" id="LN246">246</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="247"><td class="num" id="LN247">247</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="248"><td class="num" id="LN248">248</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>char</span>*</td></tr>
+<tr class="codeline" data-linenumber="249"><td class="num" id="LN249">249</td><td class="line">g_utf8_strchomp (<span class='keyword'>char</span> *string)</td></tr>
+<tr class="codeline" data-linenumber="250"><td class="num" id="LN250">250</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="251"><td class="num" id="LN251">251</td><td class="line"> <span class='keyword'>char</span> *scan;</td></tr>
+<tr class="codeline" data-linenumber="252"><td class="num" id="LN252">252</td><td class="line"> gsize len;</td></tr>
+<tr class="codeline" data-linenumber="253"><td class="num" id="LN253">253</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="254"><td class="num" id="LN254">254</td><td class="line"> <span class='macro'>g_return_val_if_fail (string != NULL, NULL)<span class='macro_popup'>do { if ((string != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "string != NULL")<br>; return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="255"><td class="num" id="LN255">255</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="256"><td class="num" id="LN256">256</td><td class="line"> len = g_utf8_strlen (string, -1);</td></tr>
+<tr class="codeline" data-linenumber="257"><td class="num" id="LN257">257</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="258"><td class="num" id="LN258">258</td><td class="line"> <span class='keyword'>if</span> (len == 0)</td></tr>
+<tr class="codeline" data-linenumber="259"><td class="num" id="LN259">259</td><td class="line"> <span class='keyword'>return</span> string;</td></tr>
+<tr class="codeline" data-linenumber="260"><td class="num" id="LN260">260</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="261"><td class="num" id="LN261">261</td><td class="line"> scan = g_utf8_offset_to_pointer (string, len - 1);</td></tr>
+<tr class="codeline" data-linenumber="262"><td class="num" id="LN262">262</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="263"><td class="num" id="LN263">263</td><td class="line"> <span class='keyword'>while</span> (len--) {</td></tr>
+<tr class="codeline" data-linenumber="264"><td class="num" id="LN264">264</td><td class="line"> gunichar c = g_utf8_get_char (scan);</td></tr>
+<tr class="codeline" data-linenumber="265"><td class="num" id="LN265">265</td><td class="line"> <span class='keyword'>if</span> (g_unichar_isspace (c))</td></tr>
+<tr class="codeline" data-linenumber="266"><td class="num" id="LN266">266</td><td class="line"> *scan = '\0';</td></tr>
+<tr class="codeline" data-linenumber="267"><td class="num" id="LN267">267</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="268"><td class="num" id="LN268">268</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="269"><td class="num" id="LN269">269</td><td class="line"> scan = g_utf8_find_prev_char (string, scan);</td></tr>
+<tr class="codeline" data-linenumber="270"><td class="num" id="LN270">270</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="271"><td class="num" id="LN271">271</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="272"><td class="num" id="LN272">272</td><td class="line"> <span class='keyword'>return</span> string;</td></tr>
+<tr class="codeline" data-linenumber="273"><td class="num" id="LN273">273</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="274"><td class="num" id="LN274">274</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="275"><td class="num" id="LN275">275</td><td class="line"><span class='directive'>#define <span class='macro'>g_utf8_strstrip(string)<span class='macro_popup'>g_utf8_strchomp (g_utf8_strchug (string))</span></span> g_utf8_strchomp (g_utf8_strchug (string))</span></td></tr>
+<tr class="codeline" data-linenumber="276"><td class="num" id="LN276">276</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="277"><td class="num" id="LN277">277</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="278"><td class="num" id="LN278">278</td><td class="line">match_regexps (GRegex **regexps,</td></tr>
+<tr class="codeline" data-linenumber="279"><td class="num" id="LN279">279</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *string,</td></tr>
+<tr class="codeline" data-linenumber="280"><td class="num" id="LN280">280</td><td class="line"> GRegexMatchFlags match_options)</td></tr>
+<tr class="codeline" data-linenumber="281"><td class="num" id="LN281">281</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="282"><td class="num" id="LN282">282</td><td class="line"> gboolean matched;</td></tr>
+<tr class="codeline" data-linenumber="283"><td class="num" id="LN283">283</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="284"><td class="num" id="LN284">284</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="285"><td class="num" id="LN285">285</td><td class="line"> <span class='keyword'>if</span> ((regexps == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) || (regexps[0] == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="286"><td class="num" id="LN286">286</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="287"><td class="num" id="LN287">287</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="288"><td class="num" id="LN288">288</td><td class="line"> <span class='keyword'>if</span> (string == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="289"><td class="num" id="LN289">289</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="290"><td class="num" id="LN290">290</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="291"><td class="num" id="LN291">291</td><td class="line"> matched = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="292"><td class="num" id="LN292">292</td><td class="line"> <span class='keyword'>for</span> (i = 0; regexps[i] != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; i++)</td></tr>
+<tr class="codeline" data-linenumber="293"><td class="num" id="LN293">293</td><td class="line"> <span class='keyword'>if</span> (g_regex_match (regexps[i], string, match_options, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="294"><td class="num" id="LN294">294</td><td class="line"> matched = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="295"><td class="num" id="LN295">295</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="296"><td class="num" id="LN296">296</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="297"><td class="num" id="LN297">297</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="298"><td class="num" id="LN298">298</td><td class="line"> <span class='keyword'>return</span> matched;</td></tr>
+<tr class="codeline" data-linenumber="299"><td class="num" id="LN299">299</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="300"><td class="num" id="LN300">300</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="301"><td class="num" id="LN301">301</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="302"><td class="num" id="LN302">302</td><td class="line">free_regexps (GRegex **regexps)</td></tr>
+<tr class="codeline" data-linenumber="303"><td class="num" id="LN303">303</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="304"><td class="num" id="LN304">304</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="305"><td class="num" id="LN305">305</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="306"><td class="num" id="LN306">306</td><td class="line"> <span class='keyword'>if</span> (regexps == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="307"><td class="num" id="LN307">307</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="308"><td class="num" id="LN308">308</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="309"><td class="num" id="LN309">309</td><td class="line"> <span class='keyword'>for</span> (i = 0; regexps[i] != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; i++)</td></tr>
+<tr class="codeline" data-linenumber="310"><td class="num" id="LN310">310</td><td class="line"> g_regex_unref (regexps[i]);</td></tr>
+<tr class="codeline" data-linenumber="311"><td class="num" id="LN311">311</td><td class="line"> g_free (regexps);</td></tr>
+<tr class="codeline" data-linenumber="312"><td class="num" id="LN312">312</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="313"><td class="num" id="LN313">313</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="314"><td class="num" id="LN314">314</td><td class="line"><span class='keyword'>char</span> **</td></tr>
+<tr class="codeline" data-linenumber="315"><td class="num" id="LN315">315</td><td class="line">search_util_get_patterns (<span class='keyword'>const</span> <span class='keyword'>char</span> *pattern_string)</td></tr>
+<tr class="codeline" data-linenumber="316"><td class="num" id="LN316">316</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="317"><td class="num" id="LN317">317</td><td class="line"> <span class='keyword'>char</span> **patterns;</td></tr>
+<tr class="codeline" data-linenumber="318"><td class="num" id="LN318">318</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="319"><td class="num" id="LN319">319</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="320"><td class="num" id="LN320">320</td><td class="line"> <span class='keyword'>if</span> (pattern_string == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="321"><td class="num" id="LN321">321</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="322"><td class="num" id="LN322">322</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="323"><td class="num" id="LN323">323</td><td class="line"> patterns = g_utf8_strsplit (pattern_string, <span class='string_literal'>";"</span>, <span class='macro'>MAX_PATTERNS<span class='macro_popup'>128</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="324"><td class="num" id="LN324">324</td><td class="line"> <span class='keyword'>for</span> (i = 0; patterns[i] != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; i++) {</td></tr>
+<tr class="codeline" data-linenumber="325"><td class="num" id="LN325">325</td><td class="line"> <span class='keyword'>char</span> *p1, *p2;</td></tr>
+<tr class="codeline" data-linenumber="326"><td class="num" id="LN326">326</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="327"><td class="num" id="LN327">327</td><td class="line"> p1 = <span class='macro'>g_utf8_strstrip (patterns[i])<span class='macro_popup'>g_utf8_strchomp (g_utf8_strchug (patterns[i]))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="328"><td class="num" id="LN328">328</td><td class="line"> p2 = str_substitute (p1, <span class='string_literal'>"."</span>, <span class='string_literal'>"\\."</span>);</td></tr>
+<tr class="codeline" data-linenumber="329"><td class="num" id="LN329">329</td><td class="line"> patterns[i] = str_substitute (p2, <span class='string_literal'>"*"</span>, <span class='string_literal'>".*"</span>);</td></tr>
+<tr class="codeline" data-linenumber="330"><td class="num" id="LN330">330</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="331"><td class="num" id="LN331">331</td><td class="line"> g_free (p2);</td></tr>
+<tr class="codeline" data-linenumber="332"><td class="num" id="LN332">332</td><td class="line"> g_free (p1);</td></tr>
+<tr class="codeline" data-linenumber="333"><td class="num" id="LN333">333</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="334"><td class="num" id="LN334">334</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="335"><td class="num" id="LN335">335</td><td class="line"> <span class='keyword'>return</span> patterns;</td></tr>
+<tr class="codeline" data-linenumber="336"><td class="num" id="LN336">336</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="337"><td class="num" id="LN337">337</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="338"><td class="num" id="LN338">338</td><td class="line">GRegex **</td></tr>
+<tr class="codeline" data-linenumber="339"><td class="num" id="LN339">339</td><td class="line">search_util_get_regexps (<span class='keyword'>const</span> <span class='keyword'>char</span> *pattern_string,</td></tr>
+<tr class="codeline" data-linenumber="340"><td class="num" id="LN340">340</td><td class="line"> GRegexCompileFlags compile_options)</td></tr>
+<tr class="codeline" data-linenumber="341"><td class="num" id="LN341">341</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="342"><td class="num" id="LN342">342</td><td class="line"> <span id="start11"><span class='keyword'>char</span></span> **patterns;</td></tr>
+<tr class="codeline" data-linenumber="343"><td class="num" id="LN343">343</td><td class="line"> GRegex **regexps;</td></tr>
+<tr class="codeline" data-linenumber="344"><td class="num" id="LN344">344</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="345"><td class="num" id="LN345">345</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="346"><td class="num" id="LN346">346</td><td class="line"> patterns = search_util_get_patterns (pattern_string);</td></tr>
+<tr class="codeline" data-linenumber="347"><td class="num" id="LN347">347</td><td class="line"> <span id="start10"><span id="end11"><span class='keyword'>if</span></span></span> (<span id="start9"><span id="end10"><span class='variable'>patterns<table class='variable_popup'><tbody><tr><td valign='top'><div class='PathIndex PathIndexPopUp'>0.1</div></td><td>'patterns' is not equal to NULL</td></tr></tbody></table></span></span></span> == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path1" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">1</div></td><td>Taking false branch</td><td><div class="PathNav"><a href="#Path2" title="Next event (2)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="348"><td class="num" id="LN348">348</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="349"><td class="num" id="LN349">349</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="350"><td class="num" id="LN350">350</td><td class="line"> <span id="start6"><span id="end7"><span id="start8"><span id="end9">regexps</span></span></span></span> = <span id="start7"><span id="end8"><span class='macro'>g_new0</span></span> (GRegex*, g_strv_length (patterns) + 1)<span class='macro_popup'>((GRegex* *) g_malloc0_n ((g_strv_length (patterns) + 1), sizeof<br> (GRegex*)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="351"><td class="num" id="LN351">351</td><td class="line"> <span id="start0"><span id="end1"><span id="start5"><span id="end6"><span class='keyword'>for</span></span></span></span></span> (i = 0; <span class="mrange"><span id="end0"><span id="start4"><span class="mrange"><span id="end5">patterns</span></span></span>[i]</span> != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span></span>; i++)</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path2" class="msg msgEvent" style="margin-left:21ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">2</div></td><td><div class="PathNav"><a href="#Path1" title="Previous event (1)">&#x2190;</a></div></td><td>Assuming the condition is true</td><td><div class="PathNav"><a href="#Path3" title="Next event (3)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path3" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">3</div></td><td><div class="PathNav"><a href="#Path2" title="Previous event (2)">&#x2190;</a></div></td><td>Loop condition is true. Entering loop body</td><td><div class="PathNav"><a href="#EndPath" title="Next event (4)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:21ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">4</div></td><td><div class="PathNav"><a href="#Path3" title="Previous event (3)">&#x2190;</a></div></td><td>Out of bound memory access (access exceeds upper limit of memory block)</td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="352"><td class="num" id="LN352">352</td><td class="line"> <span id="start1"><span id="end2"><span id="start3"><span id="end4">regexps</span></span></span></span>[i] = g_regex_new (<span id="start2"><span id="end3">patterns</span></span>[i],</td></tr>
+<tr class="codeline" data-linenumber="353"><td class="num" id="LN353">353</td><td class="line"> G_REGEX_OPTIMIZE | compile_options,</td></tr>
+<tr class="codeline" data-linenumber="354"><td class="num" id="LN354">354</td><td class="line"> G_REGEX_MATCH_NOTEMPTY,</td></tr>
+<tr class="codeline" data-linenumber="355"><td class="num" id="LN355">355</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="356"><td class="num" id="LN356">356</td><td class="line"> g_strfreev (patterns);</td></tr>
+<tr class="codeline" data-linenumber="357"><td class="num" id="LN357">357</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="358"><td class="num" id="LN358">358</td><td class="line"> <span class='keyword'>return</span> regexps;</td></tr>
+<tr class="codeline" data-linenumber="359"><td class="num" id="LN359">359</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="360"><td class="num" id="LN360">360</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="361"><td class="num" id="LN361">361</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="362"><td class="num" id="LN362">362</td><td class="line">eat_spaces (<span class='keyword'>const</span> <span class='keyword'>char</span> *line)</td></tr>
+<tr class="codeline" data-linenumber="363"><td class="num" id="LN363">363</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="364"><td class="num" id="LN364">364</td><td class="line"> <span class='keyword'>if</span> (line == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="365"><td class="num" id="LN365">365</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="366"><td class="num" id="LN366">366</td><td class="line"> <span class='keyword'>while</span> (*line == ' ')</td></tr>
+<tr class="codeline" data-linenumber="367"><td class="num" id="LN367">367</td><td class="line"> line++;</td></tr>
+<tr class="codeline" data-linenumber="368"><td class="num" id="LN368">368</td><td class="line"> <span class='keyword'>return</span> line;</td></tr>
+<tr class="codeline" data-linenumber="369"><td class="num" id="LN369">369</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="370"><td class="num" id="LN370">370</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="371"><td class="num" id="LN371">371</td><td class="line"><span class='keyword'>char</span> **</td></tr>
+<tr class="codeline" data-linenumber="372"><td class="num" id="LN372">372</td><td class="line">split_line (<span class='keyword'>const</span> <span class='keyword'>char</span> *line,</td></tr>
+<tr class="codeline" data-linenumber="373"><td class="num" id="LN373">373</td><td class="line"> <span class='keyword'>int</span> n_fields)</td></tr>
+<tr class="codeline" data-linenumber="374"><td class="num" id="LN374">374</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="375"><td class="num" id="LN375">375</td><td class="line"> <span class='keyword'>char</span> **fields;</td></tr>
+<tr class="codeline" data-linenumber="376"><td class="num" id="LN376">376</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *scan, *field_end;</td></tr>
+<tr class="codeline" data-linenumber="377"><td class="num" id="LN377">377</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="378"><td class="num" id="LN378">378</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="379"><td class="num" id="LN379">379</td><td class="line"> fields = <span class='macro'>g_new0 (<span class='keyword'>char</span> *, n_fields + 1)<span class='macro_popup'>((char * *) g_malloc0_n ((n_fields + 1), sizeof (char *)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="380"><td class="num" id="LN380">380</td><td class="line"> fields[n_fields] = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="381"><td class="num" id="LN381">381</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="382"><td class="num" id="LN382">382</td><td class="line"> scan = eat_spaces (line);</td></tr>
+<tr class="codeline" data-linenumber="383"><td class="num" id="LN383">383</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; n_fields; i++) {</td></tr>
+<tr class="codeline" data-linenumber="384"><td class="num" id="LN384">384</td><td class="line"> <span class='keyword'>if</span> (scan == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="385"><td class="num" id="LN385">385</td><td class="line"> fields[i] = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="386"><td class="num" id="LN386">386</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="387"><td class="num" id="LN387">387</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="388"><td class="num" id="LN388">388</td><td class="line"> field_end = strchr (scan, ' ');</td></tr>
+<tr class="codeline" data-linenumber="389"><td class="num" id="LN389">389</td><td class="line"> <span class='keyword'>if</span> (field_end != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="390"><td class="num" id="LN390">390</td><td class="line"> fields[i] = g_strndup (scan, field_end - scan);</td></tr>
+<tr class="codeline" data-linenumber="391"><td class="num" id="LN391">391</td><td class="line"> scan = eat_spaces (field_end);</td></tr>
+<tr class="codeline" data-linenumber="392"><td class="num" id="LN392">392</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="393"><td class="num" id="LN393">393</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (scan != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; i == n_fields - 1)</td></tr>
+<tr class="codeline" data-linenumber="394"><td class="num" id="LN394">394</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="395"><td class="num" id="LN395">395</td><td class="line"> fields[i] = <span class='macro'>g_strdup (scan)<span class='macro_popup'>g_strdup_inline (scan)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="396"><td class="num" id="LN396">396</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="397"><td class="num" id="LN397">397</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="398"><td class="num" id="LN398">398</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="399"><td class="num" id="LN399">399</td><td class="line"> <span class='keyword'>return</span> fields;</td></tr>
+<tr class="codeline" data-linenumber="400"><td class="num" id="LN400">400</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="401"><td class="num" id="LN401">401</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="402"><td class="num" id="LN402">402</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="403"><td class="num" id="LN403">403</td><td class="line">get_last_field (<span class='keyword'>const</span> <span class='keyword'>char</span> *line,</td></tr>
+<tr class="codeline" data-linenumber="404"><td class="num" id="LN404">404</td><td class="line"> <span class='keyword'>int</span> last_field)</td></tr>
+<tr class="codeline" data-linenumber="405"><td class="num" id="LN405">405</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="406"><td class="num" id="LN406">406</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *field;</td></tr>
+<tr class="codeline" data-linenumber="407"><td class="num" id="LN407">407</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="408"><td class="num" id="LN408">408</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="409"><td class="num" id="LN409">409</td><td class="line"> <span class='keyword'>if</span> (line == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="410"><td class="num" id="LN410">410</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="411"><td class="num" id="LN411">411</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="412"><td class="num" id="LN412">412</td><td class="line"> last_field--;</td></tr>
+<tr class="codeline" data-linenumber="413"><td class="num" id="LN413">413</td><td class="line"> field = eat_spaces (line);</td></tr>
+<tr class="codeline" data-linenumber="414"><td class="num" id="LN414">414</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; last_field; i++) {</td></tr>
+<tr class="codeline" data-linenumber="415"><td class="num" id="LN415">415</td><td class="line"> <span class='keyword'>if</span> (field == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="416"><td class="num" id="LN416">416</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="417"><td class="num" id="LN417">417</td><td class="line"> field = strchr (field, ' ');</td></tr>
+<tr class="codeline" data-linenumber="418"><td class="num" id="LN418">418</td><td class="line"> field = eat_spaces (field);</td></tr>
+<tr class="codeline" data-linenumber="419"><td class="num" id="LN419">419</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="420"><td class="num" id="LN420">420</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="421"><td class="num" id="LN421">421</td><td class="line"> <span class='keyword'>return</span> field;</td></tr>
+<tr class="codeline" data-linenumber="422"><td class="num" id="LN422">422</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="423"><td class="num" id="LN423">423</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="424"><td class="num" id="LN424">424</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="425"><td class="num" id="LN425">425</td><td class="line">debug (<span class='keyword'>const</span> <span class='keyword'>char</span> *file,</td></tr>
+<tr class="codeline" data-linenumber="426"><td class="num" id="LN426">426</td><td class="line"> <span class='keyword'>int</span> line,</td></tr>
+<tr class="codeline" data-linenumber="427"><td class="num" id="LN427">427</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *function,</td></tr>
+<tr class="codeline" data-linenumber="428"><td class="num" id="LN428">428</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *format, ...)</td></tr>
+<tr class="codeline" data-linenumber="429"><td class="num" id="LN429">429</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="430"><td class="num" id="LN430">430</td><td class="line"><span class='directive'>#ifdef MATE_ENABLE_DEBUG</span></td></tr>
+<tr class="codeline" data-linenumber="431"><td class="num" id="LN431">431</td><td class="line"> va_list args;</td></tr>
+<tr class="codeline" data-linenumber="432"><td class="num" id="LN432">432</td><td class="line"> <span class='keyword'>char</span> *str;</td></tr>
+<tr class="codeline" data-linenumber="433"><td class="num" id="LN433">433</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="434"><td class="num" id="LN434">434</td><td class="line"> <span class='macro'>g_return_if_fail (format != NULL)<span class='macro_popup'>do { if ((format != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "format != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="435"><td class="num" id="LN435">435</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="436"><td class="num" id="LN436">436</td><td class="line"> <span class='macro'>va_start (args, format)<span class='macro_popup'>__builtin_va_start(args, format)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="437"><td class="num" id="LN437">437</td><td class="line"> str = g_strdup_vprintf (format, args);</td></tr>
+<tr class="codeline" data-linenumber="438"><td class="num" id="LN438">438</td><td class="line"> <span class='macro'>va_end (args)<span class='macro_popup'>__builtin_va_end(args)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="439"><td class="num" id="LN439">439</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="440"><td class="num" id="LN440">440</td><td class="line"> g_fprintf (<span class='macro'>stderr<span class='macro_popup'>stderr</span></span>, <span class='string_literal'>"[FR] %s:%d (%s):\n\t%s\n"</span>, file, line, function, str);</td></tr>
+<tr class="codeline" data-linenumber="441"><td class="num" id="LN441">441</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="442"><td class="num" id="LN442">442</td><td class="line"> g_free (str);</td></tr>
+<tr class="codeline" data-linenumber="443"><td class="num" id="LN443">443</td><td class="line"><span class='directive'>#else /* ! DEBUG */</span></td></tr>
+<tr class="codeline" data-linenumber="444"><td class="num" id="LN444">444</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="445"><td class="num" id="LN445">445</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="446"><td class="num" id="LN446">446</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="447"><td class="num" id="LN447">447</td><td class="line">GHashTable *static_strings = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="448"><td class="num" id="LN448">448</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="449"><td class="num" id="LN449">449</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="450"><td class="num" id="LN450">450</td><td class="line">get_static_string (<span class='keyword'>const</span> <span class='keyword'>char</span> *s)</td></tr>
+<tr class="codeline" data-linenumber="451"><td class="num" id="LN451">451</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="452"><td class="num" id="LN452">452</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *result;</td></tr>
+<tr class="codeline" data-linenumber="453"><td class="num" id="LN453">453</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="454"><td class="num" id="LN454">454</td><td class="line"> <span class='keyword'>if</span> (s == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="455"><td class="num" id="LN455">455</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="456"><td class="num" id="LN456">456</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="457"><td class="num" id="LN457">457</td><td class="line"> <span class='keyword'>if</span> (static_strings == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="458"><td class="num" id="LN458">458</td><td class="line"> static_strings = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="459"><td class="num" id="LN459">459</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="460"><td class="num" id="LN460">460</td><td class="line"> <span class='keyword'>if</span> (! g_hash_table_lookup_extended (static_strings, s, (gpointer*) &amp;result, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="461"><td class="num" id="LN461">461</td><td class="line"> result = <span class='macro'>g_strdup (s)<span class='macro_popup'>g_strdup_inline (s)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="462"><td class="num" id="LN462">462</td><td class="line"> g_hash_table_insert (static_strings,</td></tr>
+<tr class="codeline" data-linenumber="463"><td class="num" id="LN463">463</td><td class="line"> (gpointer) result,</td></tr>
+<tr class="codeline" data-linenumber="464"><td class="num" id="LN464">464</td><td class="line"> <span class='macro'>GINT_TO_POINTER (1)<span class='macro_popup'>((gpointer) (glong) (1))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="465"><td class="num" id="LN465">465</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="466"><td class="num" id="LN466">466</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="467"><td class="num" id="LN467">467</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="468"><td class="num" id="LN468">468</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="469"><td class="num" id="LN469">469</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="470"><td class="num" id="LN470">470</td><td class="line"><span class='keyword'>char</span>*</td></tr>
+<tr class="codeline" data-linenumber="471"><td class="num" id="LN471">471</td><td class="line">g_uri_display_basename (<span class='keyword'>const</span> <span class='keyword'>char</span> *uri)</td></tr>
+<tr class="codeline" data-linenumber="472"><td class="num" id="LN472">472</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="473"><td class="num" id="LN473">473</td><td class="line"> <span class='keyword'>char</span> *e_name, *name;</td></tr>
+<tr class="codeline" data-linenumber="474"><td class="num" id="LN474">474</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="475"><td class="num" id="LN475">475</td><td class="line"> e_name = g_filename_display_basename (uri);</td></tr>
+<tr class="codeline" data-linenumber="476"><td class="num" id="LN476">476</td><td class="line"> name = g_uri_unescape_string (e_name, <span class='string_literal'>""</span>);</td></tr>
+<tr class="codeline" data-linenumber="477"><td class="num" id="LN477">477</td><td class="line"> g_free (e_name);</td></tr>
+<tr class="codeline" data-linenumber="478"><td class="num" id="LN478">478</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="479"><td class="num" id="LN479">479</td><td class="line"> <span class='keyword'>return</span> name;</td></tr>
+<tr class="codeline" data-linenumber="480"><td class="num" id="LN480">480</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="481"><td class="num" id="LN481">481</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="482"><td class="num" id="LN482">482</td><td class="line"><span class='keyword'>const</span> gchar *</td></tr>
+<tr class="codeline" data-linenumber="483"><td class="num" id="LN483">483</td><td class="line">_g_path_get_file_name (<span class='keyword'>const</span> gchar *file_name)</td></tr>
+<tr class="codeline" data-linenumber="484"><td class="num" id="LN484">484</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="485"><td class="num" id="LN485">485</td><td class="line"> <span class='keyword'>register</span> <span class='keyword'>char</span> *base;</td></tr>
+<tr class="codeline" data-linenumber="486"><td class="num" id="LN486">486</td><td class="line"> <span class='keyword'>register</span> gssize last_char;</td></tr>
+<tr class="codeline" data-linenumber="487"><td class="num" id="LN487">487</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="488"><td class="num" id="LN488">488</td><td class="line"> <span class='keyword'>if</span> (file_name == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="489"><td class="num" id="LN489">489</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="490"><td class="num" id="LN490">490</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="491"><td class="num" id="LN491">491</td><td class="line"> <span class='keyword'>if</span> (file_name[0] == '\0')</td></tr>
+<tr class="codeline" data-linenumber="492"><td class="num" id="LN492">492</td><td class="line"> <span class='keyword'>return</span> <span class='string_literal'>""</span>;</td></tr>
+<tr class="codeline" data-linenumber="493"><td class="num" id="LN493">493</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="494"><td class="num" id="LN494">494</td><td class="line"> last_char = strlen (file_name) - 1;</td></tr>
+<tr class="codeline" data-linenumber="495"><td class="num" id="LN495">495</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="496"><td class="num" id="LN496">496</td><td class="line"> <span class='keyword'>if</span> (file_name [last_char] == <span class='macro'>G_DIR_SEPARATOR<span class='macro_popup'>'/'</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="497"><td class="num" id="LN497">497</td><td class="line"> <span class='keyword'>return</span> <span class='string_literal'>""</span>;</td></tr>
+<tr class="codeline" data-linenumber="498"><td class="num" id="LN498">498</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="499"><td class="num" id="LN499">499</td><td class="line"> base = g_utf8_strrchr (file_name, -1, <span class='macro'>G_DIR_SEPARATOR<span class='macro_popup'>'/'</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="500"><td class="num" id="LN500">500</td><td class="line"> <span class='keyword'>if</span> (! base)</td></tr>
+<tr class="codeline" data-linenumber="501"><td class="num" id="LN501">501</td><td class="line"> <span class='keyword'>return</span> file_name;</td></tr>
+<tr class="codeline" data-linenumber="502"><td class="num" id="LN502">502</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="503"><td class="num" id="LN503">503</td><td class="line"> <span class='keyword'>return</span> base + 1;</td></tr>
+<tr class="codeline" data-linenumber="504"><td class="num" id="LN504">504</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="505"><td class="num" id="LN505">505</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="506"><td class="num" id="LN506">506</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="507"><td class="num" id="LN507">507</td><td class="line">_g_path_get_base_name (<span class='keyword'>const</span> <span class='keyword'>char</span> *path,</td></tr>
+<tr class="codeline" data-linenumber="508"><td class="num" id="LN508">508</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *base_dir,</td></tr>
+<tr class="codeline" data-linenumber="509"><td class="num" id="LN509">509</td><td class="line"> gboolean junk_paths)</td></tr>
+<tr class="codeline" data-linenumber="510"><td class="num" id="LN510">510</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="511"><td class="num" id="LN511">511</td><td class="line"> size_t base_dir_len;</td></tr>
+<tr class="codeline" data-linenumber="512"><td class="num" id="LN512">512</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *base_path;</td></tr>
+<tr class="codeline" data-linenumber="513"><td class="num" id="LN513">513</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="514"><td class="num" id="LN514">514</td><td class="line"> <span class='keyword'>if</span> (junk_paths)</td></tr>
+<tr class="codeline" data-linenumber="515"><td class="num" id="LN515">515</td><td class="line"> <span class='keyword'>return</span> _g_path_get_file_name (path);</td></tr>
+<tr class="codeline" data-linenumber="516"><td class="num" id="LN516">516</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="517"><td class="num" id="LN517">517</td><td class="line"> <span class='keyword'>if</span> (base_dir == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="518"><td class="num" id="LN518">518</td><td class="line"> <span class='keyword'>return</span> (path[0] == '/') ? path + 1 : path;</td></tr>
+<tr class="codeline" data-linenumber="519"><td class="num" id="LN519">519</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="520"><td class="num" id="LN520">520</td><td class="line"> base_dir_len = strlen (base_dir);</td></tr>
+<tr class="codeline" data-linenumber="521"><td class="num" id="LN521">521</td><td class="line"> <span class='keyword'>if</span> (strlen (path) &lt; base_dir_len)</td></tr>
+<tr class="codeline" data-linenumber="522"><td class="num" id="LN522">522</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="523"><td class="num" id="LN523">523</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="524"><td class="num" id="LN524">524</td><td class="line"> base_path = path + base_dir_len;</td></tr>
+<tr class="codeline" data-linenumber="525"><td class="num" id="LN525">525</td><td class="line"> <span class='keyword'>if</span> (path[0] != '/')</td></tr>
+<tr class="codeline" data-linenumber="526"><td class="num" id="LN526">526</td><td class="line"> base_path -= 1;</td></tr>
+<tr class="codeline" data-linenumber="527"><td class="num" id="LN527">527</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="528"><td class="num" id="LN528">528</td><td class="line"> <span class='keyword'>return</span> base_path;</td></tr>
+<tr class="codeline" data-linenumber="529"><td class="num" id="LN529">529</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="530"><td class="num" id="LN530">530</td><td class="line"> </td></tr>
+</table></body></html>
diff --git a/2024-03-27-012041-5213-1@78903120e74d_master/report-5b979e.html b/2024-03-27-012041-5213-1@78903120e74d_master/report-5b979e.html
new file mode 100644
index 0000000..1533fc9
--- /dev/null
+++ b/2024-03-27-012041-5213-1@78903120e74d_master/report-5b979e.html
@@ -0,0 +1,1267 @@
+<!doctype html>
+<html>
+<head>
+<title>glib-utils.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC The left operand of '!=' is a garbage value -->
+
+<!-- BUGTYPE Result of operation is garbage or undefined -->
+
+<!-- BUGCATEGORY Logic error -->
+
+<!-- BUGFILE /rootdir/src/glib-utils.c -->
+
+<!-- FILENAME glib-utils.c -->
+
+<!-- FUNCTIONNAME search_util_get_patterns -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT 5b979ed61b0f4bcbb57d98cef6a27c83 -->
+
+<!-- BUGLINE 324 -->
+
+<!-- BUGCOLUMN 26 -->
+
+<!-- BUGPATHLENGTH 23 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>src/glib-utils.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 324, column 26</a><br />The left operand of '!=' is a garbage value</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name glib-utils.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/src -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I .. -I ../mate-submodules/libegg/ -I .. -I .. -D ENGRAMPA_RESOURCE_UI_PATH="/org/mate/Engrampa/ui" -D FR_PREFIX="/usr/local" -D FR_SYSCONFDIR="/usr/local/etc" -D FR_DATADIR="/usr/local/share" -D PRIVDATADIR="/usr/local/share/engrampa/" -D FR_LIBDIR="/usr/local/lib" -D PKG_DATA_DIR="/usr/local/share/engrampa" -D PIXMAPSDIR="/usr/local/share/pixmaps" -D GLADEDIR="" -D LOCALEDIR="/usr/local/share/locale" -D SHDIR="/usr/local/libexec/engrampa/" -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/cairo -I /usr/include/gio-unix-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/libmount -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/fribidi -I /usr/include/sysprof-6 -I /usr/include/libpng16 -I /usr/include/json-glib-1.0 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/libmount -I /usr/include/blkid -I /usr/include/sysprof-6 -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-unused-parameter -fdebug-compilation-dir=/rootdir/src -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2024-03-27-012041-5213-1 -x c glib-utils.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"175": 1, "176": 1, "177": 1, "178": 1, "179": 1, "180": 1, "181": 1, "182": 1, "183": 1, "184": 1, "186": 1, "187": 1, "188": 1, "190": 1, "193": 1, "194": 1, "195": 1, "212": 1, "213": 1, "214": 1, "217": 1, "219": 1, "220": 1, "223": 1, "225": 1, "314": 1, "315": 1, "316": 1, "317": 1, "318": 1, "320": 1, "323": 1, "324": 1, "338": 1, "339": 1, "340": 1, "341": 1, "342": 1, "343": 1, "344": 1, "346": 1}, "6375": {"308": 1, "309": 1, "310": 1, "311": 1, "314": 1, "321": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+ <path class="arrow" id="arrow0"/>
+ <path class="arrow" id="arrow1"/>
+ <path class="arrow" id="arrow2"/>
+ <path class="arrow" id="arrow3"/>
+ <path class="arrow" id="arrow4"/>
+ <path class="arrow" id="arrow5"/>
+ <path class="arrow" id="arrow6"/>
+ <path class="arrow" id="arrow7"/>
+ <path class="arrow" id="arrow8"/>
+ <path class="arrow" id="arrow9"/>
+ <path class="arrow" id="arrow10"/>
+ <path class="arrow" id="arrow11"/>
+ <path class="arrow" id="arrow12"/>
+ <path class="arrow" id="arrow13"/>
+ <path class="arrow" id="arrow14"/>
+ <path class="arrow" id="arrow15"/>
+ <path class="arrow" id="arrow16"/>
+ <path class="arrow" id="arrow17"/>
+ <path class="arrow" id="arrow18"/>
+ <path class="arrow" id="arrow19"/>
+ <path class="arrow" id="arrow20"/>
+ <path class="arrow" id="arrow21"/>
+ <path class="arrow" id="arrow22"/>
+ <path class="arrow" id="arrow23"/>
+ <path class="arrow" id="arrow24"/>
+ <path class="arrow" id="arrow25"/>
+ <path class="arrow" id="arrow26"/>
+ <path class="arrow" id="arrow27"/>
+ <path class="arrow" id="arrow28"/>
+ <path class="arrow" id="arrow29"/>
+ <path class="arrow" id="arrow30"/>
+ <path class="arrow" id="arrow31"/>
+ <path class="arrow" id="arrow32"/>
+ <path class="arrow" id="arrow33"/>
+ <path class="arrow" id="arrow34"/>
+ <path class="arrow" id="arrow35"/>
+ <path class="arrow" id="arrow36"/>
+ <path class="arrow" id="arrow37"/>
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 38,36,33,31,30,24,24,21,21,19,19,17,14,12,12,11,9,6,4,1,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"><span class='comment'>/*</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>* Engrampa</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>* Copyright (C) 2005 Free Software Foundation, Inc.</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>* This program is free software; you can redistribute it and/or modify</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>* it under the terms of the GNU General Public License as published by</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>* the Free Software Foundation; either version 2 of the License, or</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>* (at your option) any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>* This program is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>* GNU General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>* You should have received a copy of the GNU General Public License</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>* along with this program; if not, write to the Free Software</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> <span class='comment'>* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"><span class='directive'>#include &lt;config.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"><span class='directive'>#include &lt;string.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"><span class='directive'>#include &lt;stdio.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#include &lt;glib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"><span class='directive'>#include &lt;glib/gi18n.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"><span class='directive'>#include &lt;glib/gprintf.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#include &lt;glib-object.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"><span class='directive'>#include "glib-utils.h"</span></td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"><span class='directive'>#define <span class='macro'>MAX_PATTERNS<span class='macro_popup'>128</span></span> 128</span></td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"><span class='comment'>/* gobject utils*/</span></td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line">_g_object_unref (gpointer object)</td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"> <span class='keyword'>if</span> (object != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line"> g_object_unref (object);</td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"><span class='comment'>/* string utils */</span></td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line">strchrs (<span class='keyword'>const</span> <span class='keyword'>char</span> *str,</td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *chars)</td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *c;</td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line"> <span class='keyword'>for</span> (c = chars; *c != '\0'; c++)</td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"> <span class='keyword'>if</span> (strchr (str, *c) != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line"><span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line">str_substitute (<span class='keyword'>const</span> <span class='keyword'>char</span> *str,</td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *from_str,</td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *to_str)</td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"> <span class='keyword'>char</span> **tokens;</td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line"> GString *gstr;</td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line"> <span class='keyword'>if</span> (str == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"> <span class='keyword'>if</span> (from_str == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>g_strdup (str)<span class='macro_popup'>g_strdup_inline (str)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line"> <span class='keyword'>if</span> (strcmp (str, from_str) == 0)</td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>g_strdup (to_str)<span class='macro_popup'>g_strdup_inline (to_str)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line"> tokens = g_strsplit (str, from_str, -1);</td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line"> gstr = g_string_new (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line"> <span class='keyword'>for</span> (i = 0; tokens[i] != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; i++) {</td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"> gstr = <span class='macro'>g_string_append (gstr, tokens[i])<span class='macro_popup'>(__builtin_constant_p (tokens[i]) ? __extension__ ({ const char<br> * const __val = (tokens[i]); g_string_append_len_inline (gstr<br>, __val, (__val != ((void*)0)) ? (gssize) strlen (((__val) + !<br>(__val))) : (gssize) -1); }) : g_string_append_len_inline (gstr<br>, tokens[i], (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"> <span class='keyword'>if</span> ((to_str != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (tokens[i+1] != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line"> gstr = <span class='macro'>g_string_append (gstr, to_str)<span class='macro_popup'>(__builtin_constant_p (to_str) ? __extension__ ({ const char *<br> const __val = (to_str); g_string_append_len_inline (gstr, __val<br>, (__val != ((void*)0)) ? (gssize) strlen (((__val) + !(__val<br>))) : (gssize) -1); }) : g_string_append_len_inline (gstr, to_str<br>, (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"> g_strfreev (tokens);</td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>g_string_free (gstr, FALSE)<span class='macro_popup'>(__builtin_constant_p ((0)) ? (((0)) ? (g_string_free) ((gstr<br>), ((0))) : g_string_free_and_steal (gstr)) : (g_string_free)<br> ((gstr), ((0))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"><span class='comment'>/* counts how many characters to escape in @str. */</span></td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line">count_chars_to_escape (<span class='keyword'>const</span> <span class='keyword'>char</span> *str,</td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *meta_chars)</td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line"> <span class='keyword'>int</span> meta_chars_n = strlen (meta_chars);</td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *s;</td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> <span class='keyword'>int</span> n = 0;</td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"> <span class='keyword'>for</span> (s = str; *s != 0; s++) {</td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; meta_chars_n; i++)</td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"> <span class='keyword'>if</span> (*s == meta_chars[i]) {</td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"> n++;</td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"> <span class='keyword'>return</span> n;</td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>char</span>*</td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line">escape_str_common (<span class='keyword'>const</span> <span class='keyword'>char</span> *str,</td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *meta_chars,</td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> prefix,</td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> postfix)</td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> <span class='keyword'>int</span> meta_chars_n = strlen (meta_chars);</td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line"> <span class='keyword'>char</span> *escaped;</td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line"> <span class='keyword'>int</span> i, new_l, extra_chars = 0;</td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *s;</td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line"> <span class='keyword'>char</span> *t;</td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line"> <span class='keyword'>if</span> (str == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"> <span class='keyword'>if</span> (prefix)</td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"> extra_chars++;</td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line"> <span class='keyword'>if</span> (postfix)</td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> extra_chars++;</td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line"> new_l = strlen (str) + (count_chars_to_escape (str, meta_chars) * extra_chars);</td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> escaped = g_malloc (new_l + 1);</td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"> s = str;</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"> t = escaped;</td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"> <span class='keyword'>while</span> (*s) {</td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> gboolean is_bad = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"> <span class='keyword'>for</span> (i = 0; (i &lt; meta_chars_n) &amp;&amp; !is_bad; i++)</td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> is_bad = (*s == meta_chars[i]);</td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line"> <span class='keyword'>if</span> (is_bad &amp;&amp; prefix)</td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line"> *t++ = prefix;</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"> *t++ = *s++;</td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"> <span class='keyword'>if</span> (is_bad &amp;&amp; postfix)</td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line"> *t++ = postfix;</td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"> *t = 0;</td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line"> <span class='keyword'>return</span> escaped;</td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"><span class='comment'>/* escape with backslash the string @str. */</span></td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"><span class='keyword'>char</span>*</td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line">escape_str (<span class='keyword'>const</span> <span class='keyword'>char</span> *str,</td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *meta_chars)</td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"> <span class='keyword'>return</span> escape_str_common (str, meta_chars, '\\', 0);</td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line">g_utf8_strstr (<span class='keyword'>const</span> <span class='keyword'>char</span> *haystack, <span class='keyword'>const</span> <span class='keyword'>char</span> *needle)</td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *s;</td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> gsize i;</td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> gsize haystack_len = g_utf8_strlen (haystack, -1);</td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"> gsize needle_len = g_utf8_strlen (needle, -1);</td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> <span class='keyword'>int</span> needle_size = strlen (needle);</td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> s = haystack;</td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt;= haystack_len - needle_len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> <span class='keyword'>if</span> (strncmp (s, needle, needle_size) == 0)</td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line"> <span class='keyword'>return</span> s;</td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line"> s = <span class='macro'>g_utf8_next_char(s)<span class='macro_popup'>(char *)((s) + g_utf8_skip[*(const guchar *)(s)])</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"><span id="start29"><span class='keyword'>static</span></span> <span class='keyword'>char</span>**</td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line">g_utf8_strsplit (<span class='keyword'>const</span> <span class='keyword'>char</span> *string,</td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *delimiter,</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> <span class='keyword'>int</span> max_tokens)</td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"> GSList *<span id="start28"><span id="end29">string_list</span></span> = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, *slist;</td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"> <span class='keyword'>char</span> **str_array;</td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *s;</td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"> guint n = 0;</td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line"> <span id="start27"><span id="end28"><span class='keyword'>const</span></span></span> <span class='keyword'>char</span> *remainder;</td></tr>
+<tr class="codeline" data-linenumber="185"><td class="num" id="LN185">185</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="186"><td class="num" id="LN186">186</td><td class="line"> <span id="start25"><span id="start26"><span id="end26"><span id="end27"><span class='macro'>g_return_val_if_fail</span></span></span></span> (string != NULL, NULL)<span class='macro_popup'>do { if ((string != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "string != NULL")<br>; return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path5" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">5</div></td><td><div class="PathNav"><a href="#Path4" title="Previous event (4)">&#x2190;</a></div></td><td>Taking true branch</td><td><div class="PathNav"><a href="#Path6" title="Next event (6)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path6" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">6</div></td><td><div class="PathNav"><a href="#Path5" title="Previous event (5)">&#x2190;</a></div></td><td>Loop condition is false. Exiting loop</td><td><div class="PathNav"><a href="#Path7" title="Next event (7)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="187"><td class="num" id="LN187">187</td><td class="line"> <span id="start22"><span id="start23"><span id="end23"><span id="start24"><span id="end24"><span id="end25"><span class='macro'>g_return_val_if_fail</span></span></span></span></span></span> (delimiter != NULL, NULL)<span class='macro_popup'>do { if ((delimiter != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "delimiter != NULL"<br>); return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path7" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">7</div></td><td><div class="PathNav"><a href="#Path6" title="Previous event (6)">&#x2190;</a></div></td><td>Taking true branch</td><td><div class="PathNav"><a href="#Path8" title="Next event (8)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path8" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">8</div></td><td><div class="PathNav"><a href="#Path7" title="Previous event (7)">&#x2190;</a></div></td><td>Loop condition is false. Exiting loop</td><td><div class="PathNav"><a href="#Path9" title="Next event (9)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="188"><td class="num" id="LN188">188</td><td class="line"> <span id="start20"><span id="start21"><span id="end21"><span id="end22"><span class='macro'>g_return_val_if_fail</span></span></span></span> (delimiter[0] != '\0', NULL)<span class='macro_popup'>do { if ((delimiter[0] != '\0')) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "delimiter[0] != '\\0'"<br>); return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path9" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">9</div></td><td><div class="PathNav"><a href="#Path8" title="Previous event (8)">&#x2190;</a></div></td><td>Taking true branch</td><td><div class="PathNav"><a href="#Path10" title="Next event (10)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path10" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">10</div></td><td><div class="PathNav"><a href="#Path9" title="Previous event (9)">&#x2190;</a></div></td><td>Loop condition is false. Exiting loop</td><td><div class="PathNav"><a href="#Path11" title="Next event (11)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="189"><td class="num" id="LN189">189</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="190"><td class="num" id="LN190">190</td><td class="line"> <span id="start19"><span id="end20"><span class='keyword'>if</span></span></span> (<span id="start18"><span id="end19"><span class='variable'>max_tokens<table class='variable_popup'><tbody><tr><td valign='top'><div class='PathIndex PathIndexPopUp'>10.1</div></td><td>'max_tokens' is >= 1</td></tr></tbody></table></span></span></span> &lt; 1)</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path11" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">11</div></td><td><div class="PathNav"><a href="#Path10" title="Previous event (10)">&#x2190;</a></div></td><td>Taking false branch</td><td><div class="PathNav"><a href="#Path12" title="Next event (12)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="191"><td class="num" id="LN191">191</td><td class="line"> max_tokens = <span class='macro'>G_MAXINT<span class='macro_popup'>2147483647</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="192"><td class="num" id="LN192">192</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="193"><td class="num" id="LN193">193</td><td class="line"> <span id="start15"><span id="end16"><span id="start17"><span id="end18">remainder</span></span></span></span> = <span id="start16"><span id="end17">string</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="194"><td class="num" id="LN194">194</td><td class="line"> s = g_utf8_strstr (remainder, delimiter);</td></tr>
+<tr class="codeline" data-linenumber="195"><td class="num" id="LN195">195</td><td class="line"> <span id="start14"><span id="end15"><span class='keyword'>if</span></span></span> (<span id="start13"><span class="mrange"><span id="end14">s</span></span> != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span></span>) {</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path12" class="msg msgEvent" style="margin-left:13ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">12</div></td><td><div class="PathNav"><a href="#Path11" title="Previous event (11)">&#x2190;</a></div></td><td>Assuming 's' is equal to NULL</td><td><div class="PathNav"><a href="#Path13" title="Next event (13)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path13" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">13</div></td><td><div class="PathNav"><a href="#Path12" title="Previous event (12)">&#x2190;</a></div></td><td>Taking false branch</td><td><div class="PathNav"><a href="#Path14" title="Next event (14)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="196"><td class="num" id="LN196">196</td><td class="line"> gsize delimiter_size = strlen (delimiter);</td></tr>
+<tr class="codeline" data-linenumber="197"><td class="num" id="LN197">197</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="198"><td class="num" id="LN198">198</td><td class="line"> <span class='keyword'>while</span> (--max_tokens &amp;&amp; (s != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="199"><td class="num" id="LN199">199</td><td class="line"> gsize size = s - remainder;</td></tr>
+<tr class="codeline" data-linenumber="200"><td class="num" id="LN200">200</td><td class="line"> <span class='keyword'>char</span> *new_string;</td></tr>
+<tr class="codeline" data-linenumber="201"><td class="num" id="LN201">201</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="202"><td class="num" id="LN202">202</td><td class="line"> new_string = <span class='macro'>g_new (<span class='keyword'>char</span>, size + 1)<span class='macro_popup'>((char *) g_malloc_n ((size + 1), sizeof (char)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="203"><td class="num" id="LN203">203</td><td class="line"> strncpy (new_string, remainder, size);</td></tr>
+<tr class="codeline" data-linenumber="204"><td class="num" id="LN204">204</td><td class="line"> new_string[size] = 0;</td></tr>
+<tr class="codeline" data-linenumber="205"><td class="num" id="LN205">205</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="206"><td class="num" id="LN206">206</td><td class="line"> string_list = g_slist_prepend (string_list, new_string);</td></tr>
+<tr class="codeline" data-linenumber="207"><td class="num" id="LN207">207</td><td class="line"> n++;</td></tr>
+<tr class="codeline" data-linenumber="208"><td class="num" id="LN208">208</td><td class="line"> remainder = s + delimiter_size;</td></tr>
+<tr class="codeline" data-linenumber="209"><td class="num" id="LN209">209</td><td class="line"> s = g_utf8_strstr (remainder, delimiter);</td></tr>
+<tr class="codeline" data-linenumber="210"><td class="num" id="LN210">210</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="211"><td class="num" id="LN211">211</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="212"><td class="num" id="LN212">212</td><td class="line"> <span id="start12"><span id="end13"><span class='keyword'>if</span></span></span> (<span id="start11"><span class="mrange">*</span><span id="end12">string</span></span>) {</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path14" class="msg msgEvent" style="margin-left:13ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">14</div></td><td><div class="PathNav"><a href="#Path13" title="Previous event (13)">&#x2190;</a></div></td><td>Assuming the condition is true</td><td><div class="PathNav"><a href="#Path15" title="Next event (15)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path15" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">15</div></td><td><div class="PathNav"><a href="#Path14" title="Previous event (14)">&#x2190;</a></div></td><td>Taking true branch</td><td><div class="PathNav"><a href="#Path16" title="Next event (16)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="213"><td class="num" id="LN213">213</td><td class="line"> <span id="start10"><span id="end11">n</span></span>++;</td></tr>
+<tr class="codeline" data-linenumber="214"><td class="num" id="LN214">214</td><td class="line"> <span id="start9"><span id="end10">string_list</span></span> = g_slist_prepend (string_list, <span class='macro'>g_strdup (remainder)<span class='macro_popup'>g_strdup_inline (remainder)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="215"><td class="num" id="LN215">215</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="216"><td class="num" id="LN216">216</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="217"><td class="num" id="LN217">217</td><td class="line"> <span id="start8"><span id="end9">str_array</span></span> = <span class="mrange"><span class='macro'>g_new</span> (<span class='keyword'>char</span>*, n + 1)<span class='macro_popup'>((char* *) g_malloc_n ((n + 1), sizeof (char*)))</span></span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path16" class="msg msgEvent" style="margin-left:21ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">16</div></td><td><div class="PathNav"><a href="#Path15" title="Previous event (15)">&#x2190;</a></div></td><td>Storing uninitialized value</td><td><div class="PathNav"><a href="#Path17" title="Next event (17)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="218"><td class="num" id="LN218">218</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="219"><td class="num" id="LN219">219</td><td class="line"> str_array[n--] = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="220"><td class="num" id="LN220">220</td><td class="line"> <span id="start7"><span id="end8"><span class='keyword'>for</span></span></span> (slist = string_list; slist; slist = slist-&gt;next)</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path17" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">17</div></td><td><div class="PathNav"><a href="#Path16" title="Previous event (16)">&#x2190;</a></div></td><td>Loop condition is false. Execution continues on line 223</td><td><div class="PathNav"><a href="#Path18" title="Next event (18)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="221"><td class="num" id="LN221">221</td><td class="line"> str_array[n--] = slist-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="222"><td class="num" id="LN222">222</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="223"><td class="num" id="LN223">223</td><td class="line"> <span id="start4"><span id="end5"><span id="start6"><span id="end7">g_slist_free</span></span></span></span> (<span id="start5"><span id="end6">string_list</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="224"><td class="num" id="LN224">224</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="225"><td class="num" id="LN225">225</td><td class="line"> <span id="end4"><span class='keyword'>return</span></span> str_array;</td></tr>
+<tr class="codeline" data-linenumber="226"><td class="num" id="LN226">226</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="227"><td class="num" id="LN227">227</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="228"><td class="num" id="LN228">228</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>char</span>*</td></tr>
+<tr class="codeline" data-linenumber="229"><td class="num" id="LN229">229</td><td class="line">g_utf8_strchug (<span class='keyword'>char</span> *string)</td></tr>
+<tr class="codeline" data-linenumber="230"><td class="num" id="LN230">230</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="231"><td class="num" id="LN231">231</td><td class="line"> <span class='keyword'>char</span> *scan;</td></tr>
+<tr class="codeline" data-linenumber="232"><td class="num" id="LN232">232</td><td class="line"> gunichar c;</td></tr>
+<tr class="codeline" data-linenumber="233"><td class="num" id="LN233">233</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="234"><td class="num" id="LN234">234</td><td class="line"> <span class='macro'>g_return_val_if_fail (string != NULL, NULL)<span class='macro_popup'>do { if ((string != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "string != NULL")<br>; return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="235"><td class="num" id="LN235">235</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="236"><td class="num" id="LN236">236</td><td class="line"> scan = string;</td></tr>
+<tr class="codeline" data-linenumber="237"><td class="num" id="LN237">237</td><td class="line"> c = g_utf8_get_char (scan);</td></tr>
+<tr class="codeline" data-linenumber="238"><td class="num" id="LN238">238</td><td class="line"> <span class='keyword'>while</span> (g_unichar_isspace (c)) {</td></tr>
+<tr class="codeline" data-linenumber="239"><td class="num" id="LN239">239</td><td class="line"> scan = <span class='macro'>g_utf8_next_char (scan)<span class='macro_popup'>(char *)((scan) + g_utf8_skip[*(const guchar *)(scan)])</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="240"><td class="num" id="LN240">240</td><td class="line"> c = g_utf8_get_char (scan);</td></tr>
+<tr class="codeline" data-linenumber="241"><td class="num" id="LN241">241</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="242"><td class="num" id="LN242">242</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="243"><td class="num" id="LN243">243</td><td class="line"> memmove (string, scan, strlen (scan) + 1);</td></tr>
+<tr class="codeline" data-linenumber="244"><td class="num" id="LN244">244</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="245"><td class="num" id="LN245">245</td><td class="line"> <span class='keyword'>return</span> string;</td></tr>
+<tr class="codeline" data-linenumber="246"><td class="num" id="LN246">246</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="247"><td class="num" id="LN247">247</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="248"><td class="num" id="LN248">248</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>char</span>*</td></tr>
+<tr class="codeline" data-linenumber="249"><td class="num" id="LN249">249</td><td class="line">g_utf8_strchomp (<span class='keyword'>char</span> *string)</td></tr>
+<tr class="codeline" data-linenumber="250"><td class="num" id="LN250">250</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="251"><td class="num" id="LN251">251</td><td class="line"> <span class='keyword'>char</span> *scan;</td></tr>
+<tr class="codeline" data-linenumber="252"><td class="num" id="LN252">252</td><td class="line"> gsize len;</td></tr>
+<tr class="codeline" data-linenumber="253"><td class="num" id="LN253">253</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="254"><td class="num" id="LN254">254</td><td class="line"> <span class='macro'>g_return_val_if_fail (string != NULL, NULL)<span class='macro_popup'>do { if ((string != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "string != NULL")<br>; return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="255"><td class="num" id="LN255">255</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="256"><td class="num" id="LN256">256</td><td class="line"> len = g_utf8_strlen (string, -1);</td></tr>
+<tr class="codeline" data-linenumber="257"><td class="num" id="LN257">257</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="258"><td class="num" id="LN258">258</td><td class="line"> <span class='keyword'>if</span> (len == 0)</td></tr>
+<tr class="codeline" data-linenumber="259"><td class="num" id="LN259">259</td><td class="line"> <span class='keyword'>return</span> string;</td></tr>
+<tr class="codeline" data-linenumber="260"><td class="num" id="LN260">260</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="261"><td class="num" id="LN261">261</td><td class="line"> scan = g_utf8_offset_to_pointer (string, len - 1);</td></tr>
+<tr class="codeline" data-linenumber="262"><td class="num" id="LN262">262</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="263"><td class="num" id="LN263">263</td><td class="line"> <span class='keyword'>while</span> (len--) {</td></tr>
+<tr class="codeline" data-linenumber="264"><td class="num" id="LN264">264</td><td class="line"> gunichar c = g_utf8_get_char (scan);</td></tr>
+<tr class="codeline" data-linenumber="265"><td class="num" id="LN265">265</td><td class="line"> <span class='keyword'>if</span> (g_unichar_isspace (c))</td></tr>
+<tr class="codeline" data-linenumber="266"><td class="num" id="LN266">266</td><td class="line"> *scan = '\0';</td></tr>
+<tr class="codeline" data-linenumber="267"><td class="num" id="LN267">267</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="268"><td class="num" id="LN268">268</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="269"><td class="num" id="LN269">269</td><td class="line"> scan = g_utf8_find_prev_char (string, scan);</td></tr>
+<tr class="codeline" data-linenumber="270"><td class="num" id="LN270">270</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="271"><td class="num" id="LN271">271</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="272"><td class="num" id="LN272">272</td><td class="line"> <span class='keyword'>return</span> string;</td></tr>
+<tr class="codeline" data-linenumber="273"><td class="num" id="LN273">273</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="274"><td class="num" id="LN274">274</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="275"><td class="num" id="LN275">275</td><td class="line"><span class='directive'>#define <span class='macro'>g_utf8_strstrip(string)<span class='macro_popup'>g_utf8_strchomp (g_utf8_strchug (string))</span></span> g_utf8_strchomp (g_utf8_strchug (string))</span></td></tr>
+<tr class="codeline" data-linenumber="276"><td class="num" id="LN276">276</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="277"><td class="num" id="LN277">277</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="278"><td class="num" id="LN278">278</td><td class="line">match_regexps (GRegex **regexps,</td></tr>
+<tr class="codeline" data-linenumber="279"><td class="num" id="LN279">279</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *string,</td></tr>
+<tr class="codeline" data-linenumber="280"><td class="num" id="LN280">280</td><td class="line"> GRegexMatchFlags match_options)</td></tr>
+<tr class="codeline" data-linenumber="281"><td class="num" id="LN281">281</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="282"><td class="num" id="LN282">282</td><td class="line"> gboolean matched;</td></tr>
+<tr class="codeline" data-linenumber="283"><td class="num" id="LN283">283</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="284"><td class="num" id="LN284">284</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="285"><td class="num" id="LN285">285</td><td class="line"> <span class='keyword'>if</span> ((regexps == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) || (regexps[0] == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="286"><td class="num" id="LN286">286</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="287"><td class="num" id="LN287">287</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="288"><td class="num" id="LN288">288</td><td class="line"> <span class='keyword'>if</span> (string == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="289"><td class="num" id="LN289">289</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="290"><td class="num" id="LN290">290</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="291"><td class="num" id="LN291">291</td><td class="line"> matched = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="292"><td class="num" id="LN292">292</td><td class="line"> <span class='keyword'>for</span> (i = 0; regexps[i] != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; i++)</td></tr>
+<tr class="codeline" data-linenumber="293"><td class="num" id="LN293">293</td><td class="line"> <span class='keyword'>if</span> (g_regex_match (regexps[i], string, match_options, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="294"><td class="num" id="LN294">294</td><td class="line"> matched = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="295"><td class="num" id="LN295">295</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="296"><td class="num" id="LN296">296</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="297"><td class="num" id="LN297">297</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="298"><td class="num" id="LN298">298</td><td class="line"> <span class='keyword'>return</span> matched;</td></tr>
+<tr class="codeline" data-linenumber="299"><td class="num" id="LN299">299</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="300"><td class="num" id="LN300">300</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="301"><td class="num" id="LN301">301</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="302"><td class="num" id="LN302">302</td><td class="line">free_regexps (GRegex **regexps)</td></tr>
+<tr class="codeline" data-linenumber="303"><td class="num" id="LN303">303</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="304"><td class="num" id="LN304">304</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="305"><td class="num" id="LN305">305</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="306"><td class="num" id="LN306">306</td><td class="line"> <span class='keyword'>if</span> (regexps == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="307"><td class="num" id="LN307">307</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="308"><td class="num" id="LN308">308</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="309"><td class="num" id="LN309">309</td><td class="line"> <span class='keyword'>for</span> (i = 0; regexps[i] != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; i++)</td></tr>
+<tr class="codeline" data-linenumber="310"><td class="num" id="LN310">310</td><td class="line"> g_regex_unref (regexps[i]);</td></tr>
+<tr class="codeline" data-linenumber="311"><td class="num" id="LN311">311</td><td class="line"> g_free (regexps);</td></tr>
+<tr class="codeline" data-linenumber="312"><td class="num" id="LN312">312</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="313"><td class="num" id="LN313">313</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="314"><td class="num" id="LN314">314</td><td class="line"><span id="start35"><span class='keyword'>char</span></span> **</td></tr>
+<tr class="codeline" data-linenumber="315"><td class="num" id="LN315">315</td><td class="line">search_util_get_patterns (<span class='keyword'>const</span> <span class='keyword'>char</span> *pattern_string)</td></tr>
+<tr class="codeline" data-linenumber="316"><td class="num" id="LN316">316</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="317"><td class="num" id="LN317">317</td><td class="line"> <span id="start34"><span id="end35"><span class='keyword'>char</span></span></span> **patterns;</td></tr>
+<tr class="codeline" data-linenumber="318"><td class="num" id="LN318">318</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="319"><td class="num" id="LN319">319</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="320"><td class="num" id="LN320">320</td><td class="line"> <span id="start33"><span id="end34"><span class='keyword'>if</span></span></span> (<span id="start32"><span class="mrange"><span id="end33">pattern_string</span></span> == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span></span>)</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path2" class="msg msgEvent" style="margin-left:13ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">2</div></td><td><div class="PathNav"><a href="#Path1" title="Previous event (1)">&#x2190;</a></div></td><td>Assuming 'pattern_string' is not equal to NULL</td><td><div class="PathNav"><a href="#Path3" title="Next event (3)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path3" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">3</div></td><td><div class="PathNav"><a href="#Path2" title="Previous event (2)">&#x2190;</a></div></td><td>Taking false branch</td><td><div class="PathNav"><a href="#Path4" title="Next event (4)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="321"><td class="num" id="LN321">321</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="322"><td class="num" id="LN322">322</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="323"><td class="num" id="LN323">323</td><td class="line"> <span id="start2"><span id="end3"><span id="start31"><span id="end32">patterns</span></span></span></span> = <span id="start3"><span class="mrange"><span class="mrange"><span id="end30">g_utf8_strsplit</span></span> (<span id="start30"><span id="end31">pattern_string</span></span>, <span class='string_literal'>";"</span>, <span class='macro'>MAX_PATTERNS<span class='macro_popup'>128</span></span>)</span></span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path4" class="msg msgEvent" style="margin-left:20ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">4</div></td><td><div class="PathNav"><a href="#Path3" title="Previous event (3)">&#x2190;</a></div></td><td>Calling 'g_utf8_strsplit'</td><td><div class="PathNav"><a href="#Path5" title="Next event (5)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path18" class="msg msgEvent" style="margin-left:20ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">18</div></td><td><div class="PathNav"><a href="#Path17" title="Previous event (17)">&#x2190;</a></div></td><td>Returning from 'g_utf8_strsplit'</td><td><div class="PathNav"><a href="#Path19" title="Next event (19)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="324"><td class="num" id="LN324">324</td><td class="line"> <span id="start1"><span id="end2"><span class='keyword'>for</span></span></span> (<span id="start0"><span class="mrange"><span id="end1">i</span></span> = 0</span>; <span class="mrange">patterns[i]</span> <span id="end0">!=</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; i++) {</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path19" class="msg msgEvent" style="margin-left:14ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">19</div></td><td><div class="PathNav"><a href="#Path18" title="Previous event (18)">&#x2190;</a></div></td><td>The value 0 is assigned to 'i'</td><td><div class="PathNav"><a href="#EndPath" title="Next event (20)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:33ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">20</div></td><td><div class="PathNav"><a href="#Path19" title="Previous event (19)">&#x2190;</a></div></td><td>The left operand of '!=' is a garbage value</td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="325"><td class="num" id="LN325">325</td><td class="line"> <span class='keyword'>char</span> *p1, *p2;</td></tr>
+<tr class="codeline" data-linenumber="326"><td class="num" id="LN326">326</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="327"><td class="num" id="LN327">327</td><td class="line"> p1 = <span class='macro'>g_utf8_strstrip (patterns[i])<span class='macro_popup'>g_utf8_strchomp (g_utf8_strchug (patterns[i]))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="328"><td class="num" id="LN328">328</td><td class="line"> p2 = str_substitute (p1, <span class='string_literal'>"."</span>, <span class='string_literal'>"\\."</span>);</td></tr>
+<tr class="codeline" data-linenumber="329"><td class="num" id="LN329">329</td><td class="line"> patterns[i] = str_substitute (p2, <span class='string_literal'>"*"</span>, <span class='string_literal'>".*"</span>);</td></tr>
+<tr class="codeline" data-linenumber="330"><td class="num" id="LN330">330</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="331"><td class="num" id="LN331">331</td><td class="line"> g_free (p2);</td></tr>
+<tr class="codeline" data-linenumber="332"><td class="num" id="LN332">332</td><td class="line"> g_free (p1);</td></tr>
+<tr class="codeline" data-linenumber="333"><td class="num" id="LN333">333</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="334"><td class="num" id="LN334">334</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="335"><td class="num" id="LN335">335</td><td class="line"> <span class='keyword'>return</span> patterns;</td></tr>
+<tr class="codeline" data-linenumber="336"><td class="num" id="LN336">336</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="337"><td class="num" id="LN337">337</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="338"><td class="num" id="LN338">338</td><td class="line">GRegex **</td></tr>
+<tr class="codeline" data-linenumber="339"><td class="num" id="LN339">339</td><td class="line">search_util_get_regexps (<span class='keyword'>const</span> <span class='keyword'>char</span> *pattern_string,</td></tr>
+<tr class="codeline" data-linenumber="340"><td class="num" id="LN340">340</td><td class="line"> GRegexCompileFlags compile_options)</td></tr>
+<tr class="codeline" data-linenumber="341"><td class="num" id="LN341">341</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="342"><td class="num" id="LN342">342</td><td class="line"> <span id="start37"><span class='keyword'>char</span></span> **patterns;</td></tr>
+<tr class="codeline" data-linenumber="343"><td class="num" id="LN343">343</td><td class="line"> GRegex **regexps;</td></tr>
+<tr class="codeline" data-linenumber="344"><td class="num" id="LN344">344</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="345"><td class="num" id="LN345">345</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="346"><td class="num" id="LN346">346</td><td class="line"> <span id="start36"><span id="end37">patterns</span></span> = <span class="mrange"><span id="end36">search_util_get_patterns</span> (pattern_string)</span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path1" class="msg msgEvent" style="margin-left:20ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">1</div></td><td>Calling 'search_util_get_patterns'</td><td><div class="PathNav"><a href="#Path2" title="Next event (2)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="347"><td class="num" id="LN347">347</td><td class="line"> <span class='keyword'>if</span> (patterns == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="348"><td class="num" id="LN348">348</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="349"><td class="num" id="LN349">349</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="350"><td class="num" id="LN350">350</td><td class="line"> regexps = <span class='macro'>g_new0 (GRegex*, g_strv_length (patterns) + 1)<span class='macro_popup'>((GRegex* *) g_malloc0_n ((g_strv_length (patterns) + 1), sizeof<br> (GRegex*)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="351"><td class="num" id="LN351">351</td><td class="line"> <span class='keyword'>for</span> (i = 0; patterns[i] != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; i++)</td></tr>
+<tr class="codeline" data-linenumber="352"><td class="num" id="LN352">352</td><td class="line"> regexps[i] = g_regex_new (patterns[i],</td></tr>
+<tr class="codeline" data-linenumber="353"><td class="num" id="LN353">353</td><td class="line"> G_REGEX_OPTIMIZE | compile_options,</td></tr>
+<tr class="codeline" data-linenumber="354"><td class="num" id="LN354">354</td><td class="line"> G_REGEX_MATCH_NOTEMPTY,</td></tr>
+<tr class="codeline" data-linenumber="355"><td class="num" id="LN355">355</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="356"><td class="num" id="LN356">356</td><td class="line"> g_strfreev (patterns);</td></tr>
+<tr class="codeline" data-linenumber="357"><td class="num" id="LN357">357</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="358"><td class="num" id="LN358">358</td><td class="line"> <span class='keyword'>return</span> regexps;</td></tr>
+<tr class="codeline" data-linenumber="359"><td class="num" id="LN359">359</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="360"><td class="num" id="LN360">360</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="361"><td class="num" id="LN361">361</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="362"><td class="num" id="LN362">362</td><td class="line">eat_spaces (<span class='keyword'>const</span> <span class='keyword'>char</span> *line)</td></tr>
+<tr class="codeline" data-linenumber="363"><td class="num" id="LN363">363</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="364"><td class="num" id="LN364">364</td><td class="line"> <span class='keyword'>if</span> (line == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="365"><td class="num" id="LN365">365</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="366"><td class="num" id="LN366">366</td><td class="line"> <span class='keyword'>while</span> (*line == ' ')</td></tr>
+<tr class="codeline" data-linenumber="367"><td class="num" id="LN367">367</td><td class="line"> line++;</td></tr>
+<tr class="codeline" data-linenumber="368"><td class="num" id="LN368">368</td><td class="line"> <span class='keyword'>return</span> line;</td></tr>
+<tr class="codeline" data-linenumber="369"><td class="num" id="LN369">369</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="370"><td class="num" id="LN370">370</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="371"><td class="num" id="LN371">371</td><td class="line"><span class='keyword'>char</span> **</td></tr>
+<tr class="codeline" data-linenumber="372"><td class="num" id="LN372">372</td><td class="line">split_line (<span class='keyword'>const</span> <span class='keyword'>char</span> *line,</td></tr>
+<tr class="codeline" data-linenumber="373"><td class="num" id="LN373">373</td><td class="line"> <span class='keyword'>int</span> n_fields)</td></tr>
+<tr class="codeline" data-linenumber="374"><td class="num" id="LN374">374</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="375"><td class="num" id="LN375">375</td><td class="line"> <span class='keyword'>char</span> **fields;</td></tr>
+<tr class="codeline" data-linenumber="376"><td class="num" id="LN376">376</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *scan, *field_end;</td></tr>
+<tr class="codeline" data-linenumber="377"><td class="num" id="LN377">377</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="378"><td class="num" id="LN378">378</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="379"><td class="num" id="LN379">379</td><td class="line"> fields = <span class='macro'>g_new0 (<span class='keyword'>char</span> *, n_fields + 1)<span class='macro_popup'>((char * *) g_malloc0_n ((n_fields + 1), sizeof (char *)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="380"><td class="num" id="LN380">380</td><td class="line"> fields[n_fields] = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="381"><td class="num" id="LN381">381</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="382"><td class="num" id="LN382">382</td><td class="line"> scan = eat_spaces (line);</td></tr>
+<tr class="codeline" data-linenumber="383"><td class="num" id="LN383">383</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; n_fields; i++) {</td></tr>
+<tr class="codeline" data-linenumber="384"><td class="num" id="LN384">384</td><td class="line"> <span class='keyword'>if</span> (scan == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="385"><td class="num" id="LN385">385</td><td class="line"> fields[i] = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="386"><td class="num" id="LN386">386</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="387"><td class="num" id="LN387">387</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="388"><td class="num" id="LN388">388</td><td class="line"> field_end = strchr (scan, ' ');</td></tr>
+<tr class="codeline" data-linenumber="389"><td class="num" id="LN389">389</td><td class="line"> <span class='keyword'>if</span> (field_end != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="390"><td class="num" id="LN390">390</td><td class="line"> fields[i] = g_strndup (scan, field_end - scan);</td></tr>
+<tr class="codeline" data-linenumber="391"><td class="num" id="LN391">391</td><td class="line"> scan = eat_spaces (field_end);</td></tr>
+<tr class="codeline" data-linenumber="392"><td class="num" id="LN392">392</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="393"><td class="num" id="LN393">393</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (scan != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; i == n_fields - 1)</td></tr>
+<tr class="codeline" data-linenumber="394"><td class="num" id="LN394">394</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="395"><td class="num" id="LN395">395</td><td class="line"> fields[i] = <span class='macro'>g_strdup (scan)<span class='macro_popup'>g_strdup_inline (scan)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="396"><td class="num" id="LN396">396</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="397"><td class="num" id="LN397">397</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="398"><td class="num" id="LN398">398</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="399"><td class="num" id="LN399">399</td><td class="line"> <span class='keyword'>return</span> fields;</td></tr>
+<tr class="codeline" data-linenumber="400"><td class="num" id="LN400">400</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="401"><td class="num" id="LN401">401</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="402"><td class="num" id="LN402">402</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="403"><td class="num" id="LN403">403</td><td class="line">get_last_field (<span class='keyword'>const</span> <span class='keyword'>char</span> *line,</td></tr>
+<tr class="codeline" data-linenumber="404"><td class="num" id="LN404">404</td><td class="line"> <span class='keyword'>int</span> last_field)</td></tr>
+<tr class="codeline" data-linenumber="405"><td class="num" id="LN405">405</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="406"><td class="num" id="LN406">406</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *field;</td></tr>
+<tr class="codeline" data-linenumber="407"><td class="num" id="LN407">407</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="408"><td class="num" id="LN408">408</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="409"><td class="num" id="LN409">409</td><td class="line"> <span class='keyword'>if</span> (line == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="410"><td class="num" id="LN410">410</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="411"><td class="num" id="LN411">411</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="412"><td class="num" id="LN412">412</td><td class="line"> last_field--;</td></tr>
+<tr class="codeline" data-linenumber="413"><td class="num" id="LN413">413</td><td class="line"> field = eat_spaces (line);</td></tr>
+<tr class="codeline" data-linenumber="414"><td class="num" id="LN414">414</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; last_field; i++) {</td></tr>
+<tr class="codeline" data-linenumber="415"><td class="num" id="LN415">415</td><td class="line"> <span class='keyword'>if</span> (field == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="416"><td class="num" id="LN416">416</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="417"><td class="num" id="LN417">417</td><td class="line"> field = strchr (field, ' ');</td></tr>
+<tr class="codeline" data-linenumber="418"><td class="num" id="LN418">418</td><td class="line"> field = eat_spaces (field);</td></tr>
+<tr class="codeline" data-linenumber="419"><td class="num" id="LN419">419</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="420"><td class="num" id="LN420">420</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="421"><td class="num" id="LN421">421</td><td class="line"> <span class='keyword'>return</span> field;</td></tr>
+<tr class="codeline" data-linenumber="422"><td class="num" id="LN422">422</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="423"><td class="num" id="LN423">423</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="424"><td class="num" id="LN424">424</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="425"><td class="num" id="LN425">425</td><td class="line">debug (<span class='keyword'>const</span> <span class='keyword'>char</span> *file,</td></tr>
+<tr class="codeline" data-linenumber="426"><td class="num" id="LN426">426</td><td class="line"> <span class='keyword'>int</span> line,</td></tr>
+<tr class="codeline" data-linenumber="427"><td class="num" id="LN427">427</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *function,</td></tr>
+<tr class="codeline" data-linenumber="428"><td class="num" id="LN428">428</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *format, ...)</td></tr>
+<tr class="codeline" data-linenumber="429"><td class="num" id="LN429">429</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="430"><td class="num" id="LN430">430</td><td class="line"><span class='directive'>#ifdef MATE_ENABLE_DEBUG</span></td></tr>
+<tr class="codeline" data-linenumber="431"><td class="num" id="LN431">431</td><td class="line"> va_list args;</td></tr>
+<tr class="codeline" data-linenumber="432"><td class="num" id="LN432">432</td><td class="line"> <span class='keyword'>char</span> *str;</td></tr>
+<tr class="codeline" data-linenumber="433"><td class="num" id="LN433">433</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="434"><td class="num" id="LN434">434</td><td class="line"> <span class='macro'>g_return_if_fail (format != NULL)<span class='macro_popup'>do { if ((format != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "format != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="435"><td class="num" id="LN435">435</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="436"><td class="num" id="LN436">436</td><td class="line"> <span class='macro'>va_start (args, format)<span class='macro_popup'>__builtin_va_start(args, format)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="437"><td class="num" id="LN437">437</td><td class="line"> str = g_strdup_vprintf (format, args);</td></tr>
+<tr class="codeline" data-linenumber="438"><td class="num" id="LN438">438</td><td class="line"> <span class='macro'>va_end (args)<span class='macro_popup'>__builtin_va_end(args)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="439"><td class="num" id="LN439">439</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="440"><td class="num" id="LN440">440</td><td class="line"> g_fprintf (<span class='macro'>stderr<span class='macro_popup'>stderr</span></span>, <span class='string_literal'>"[FR] %s:%d (%s):\n\t%s\n"</span>, file, line, function, str);</td></tr>
+<tr class="codeline" data-linenumber="441"><td class="num" id="LN441">441</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="442"><td class="num" id="LN442">442</td><td class="line"> g_free (str);</td></tr>
+<tr class="codeline" data-linenumber="443"><td class="num" id="LN443">443</td><td class="line"><span class='directive'>#else /* ! DEBUG */</span></td></tr>
+<tr class="codeline" data-linenumber="444"><td class="num" id="LN444">444</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="445"><td class="num" id="LN445">445</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="446"><td class="num" id="LN446">446</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="447"><td class="num" id="LN447">447</td><td class="line">GHashTable *static_strings = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="448"><td class="num" id="LN448">448</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="449"><td class="num" id="LN449">449</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="450"><td class="num" id="LN450">450</td><td class="line">get_static_string (<span class='keyword'>const</span> <span class='keyword'>char</span> *s)</td></tr>
+<tr class="codeline" data-linenumber="451"><td class="num" id="LN451">451</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="452"><td class="num" id="LN452">452</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *result;</td></tr>
+<tr class="codeline" data-linenumber="453"><td class="num" id="LN453">453</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="454"><td class="num" id="LN454">454</td><td class="line"> <span class='keyword'>if</span> (s == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="455"><td class="num" id="LN455">455</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="456"><td class="num" id="LN456">456</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="457"><td class="num" id="LN457">457</td><td class="line"> <span class='keyword'>if</span> (static_strings == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="458"><td class="num" id="LN458">458</td><td class="line"> static_strings = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="459"><td class="num" id="LN459">459</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="460"><td class="num" id="LN460">460</td><td class="line"> <span class='keyword'>if</span> (! g_hash_table_lookup_extended (static_strings, s, (gpointer*) &amp;result, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="461"><td class="num" id="LN461">461</td><td class="line"> result = <span class='macro'>g_strdup (s)<span class='macro_popup'>g_strdup_inline (s)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="462"><td class="num" id="LN462">462</td><td class="line"> g_hash_table_insert (static_strings,</td></tr>
+<tr class="codeline" data-linenumber="463"><td class="num" id="LN463">463</td><td class="line"> (gpointer) result,</td></tr>
+<tr class="codeline" data-linenumber="464"><td class="num" id="LN464">464</td><td class="line"> <span class='macro'>GINT_TO_POINTER (1)<span class='macro_popup'>((gpointer) (glong) (1))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="465"><td class="num" id="LN465">465</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="466"><td class="num" id="LN466">466</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="467"><td class="num" id="LN467">467</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="468"><td class="num" id="LN468">468</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="469"><td class="num" id="LN469">469</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="470"><td class="num" id="LN470">470</td><td class="line"><span class='keyword'>char</span>*</td></tr>
+<tr class="codeline" data-linenumber="471"><td class="num" id="LN471">471</td><td class="line">g_uri_display_basename (<span class='keyword'>const</span> <span class='keyword'>char</span> *uri)</td></tr>
+<tr class="codeline" data-linenumber="472"><td class="num" id="LN472">472</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="473"><td class="num" id="LN473">473</td><td class="line"> <span class='keyword'>char</span> *e_name, *name;</td></tr>
+<tr class="codeline" data-linenumber="474"><td class="num" id="LN474">474</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="475"><td class="num" id="LN475">475</td><td class="line"> e_name = g_filename_display_basename (uri);</td></tr>
+<tr class="codeline" data-linenumber="476"><td class="num" id="LN476">476</td><td class="line"> name = g_uri_unescape_string (e_name, <span class='string_literal'>""</span>);</td></tr>
+<tr class="codeline" data-linenumber="477"><td class="num" id="LN477">477</td><td class="line"> g_free (e_name);</td></tr>
+<tr class="codeline" data-linenumber="478"><td class="num" id="LN478">478</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="479"><td class="num" id="LN479">479</td><td class="line"> <span class='keyword'>return</span> name;</td></tr>
+<tr class="codeline" data-linenumber="480"><td class="num" id="LN480">480</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="481"><td class="num" id="LN481">481</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="482"><td class="num" id="LN482">482</td><td class="line"><span class='keyword'>const</span> gchar *</td></tr>
+<tr class="codeline" data-linenumber="483"><td class="num" id="LN483">483</td><td class="line">_g_path_get_file_name (<span class='keyword'>const</span> gchar *file_name)</td></tr>
+<tr class="codeline" data-linenumber="484"><td class="num" id="LN484">484</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="485"><td class="num" id="LN485">485</td><td class="line"> <span class='keyword'>register</span> <span class='keyword'>char</span> *base;</td></tr>
+<tr class="codeline" data-linenumber="486"><td class="num" id="LN486">486</td><td class="line"> <span class='keyword'>register</span> gssize last_char;</td></tr>
+<tr class="codeline" data-linenumber="487"><td class="num" id="LN487">487</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="488"><td class="num" id="LN488">488</td><td class="line"> <span class='keyword'>if</span> (file_name == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="489"><td class="num" id="LN489">489</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="490"><td class="num" id="LN490">490</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="491"><td class="num" id="LN491">491</td><td class="line"> <span class='keyword'>if</span> (file_name[0] == '\0')</td></tr>
+<tr class="codeline" data-linenumber="492"><td class="num" id="LN492">492</td><td class="line"> <span class='keyword'>return</span> <span class='string_literal'>""</span>;</td></tr>
+<tr class="codeline" data-linenumber="493"><td class="num" id="LN493">493</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="494"><td class="num" id="LN494">494</td><td class="line"> last_char = strlen (file_name) - 1;</td></tr>
+<tr class="codeline" data-linenumber="495"><td class="num" id="LN495">495</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="496"><td class="num" id="LN496">496</td><td class="line"> <span class='keyword'>if</span> (file_name [last_char] == <span class='macro'>G_DIR_SEPARATOR<span class='macro_popup'>'/'</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="497"><td class="num" id="LN497">497</td><td class="line"> <span class='keyword'>return</span> <span class='string_literal'>""</span>;</td></tr>
+<tr class="codeline" data-linenumber="498"><td class="num" id="LN498">498</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="499"><td class="num" id="LN499">499</td><td class="line"> base = g_utf8_strrchr (file_name, -1, <span class='macro'>G_DIR_SEPARATOR<span class='macro_popup'>'/'</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="500"><td class="num" id="LN500">500</td><td class="line"> <span class='keyword'>if</span> (! base)</td></tr>
+<tr class="codeline" data-linenumber="501"><td class="num" id="LN501">501</td><td class="line"> <span class='keyword'>return</span> file_name;</td></tr>
+<tr class="codeline" data-linenumber="502"><td class="num" id="LN502">502</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="503"><td class="num" id="LN503">503</td><td class="line"> <span class='keyword'>return</span> base + 1;</td></tr>
+<tr class="codeline" data-linenumber="504"><td class="num" id="LN504">504</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="505"><td class="num" id="LN505">505</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="506"><td class="num" id="LN506">506</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="507"><td class="num" id="LN507">507</td><td class="line">_g_path_get_base_name (<span class='keyword'>const</span> <span class='keyword'>char</span> *path,</td></tr>
+<tr class="codeline" data-linenumber="508"><td class="num" id="LN508">508</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *base_dir,</td></tr>
+<tr class="codeline" data-linenumber="509"><td class="num" id="LN509">509</td><td class="line"> gboolean junk_paths)</td></tr>
+<tr class="codeline" data-linenumber="510"><td class="num" id="LN510">510</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="511"><td class="num" id="LN511">511</td><td class="line"> size_t base_dir_len;</td></tr>
+<tr class="codeline" data-linenumber="512"><td class="num" id="LN512">512</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *base_path;</td></tr>
+<tr class="codeline" data-linenumber="513"><td class="num" id="LN513">513</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="514"><td class="num" id="LN514">514</td><td class="line"> <span class='keyword'>if</span> (junk_paths)</td></tr>
+<tr class="codeline" data-linenumber="515"><td class="num" id="LN515">515</td><td class="line"> <span class='keyword'>return</span> _g_path_get_file_name (path);</td></tr>
+<tr class="codeline" data-linenumber="516"><td class="num" id="LN516">516</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="517"><td class="num" id="LN517">517</td><td class="line"> <span class='keyword'>if</span> (base_dir == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="518"><td class="num" id="LN518">518</td><td class="line"> <span class='keyword'>return</span> (path[0] == '/') ? path + 1 : path;</td></tr>
+<tr class="codeline" data-linenumber="519"><td class="num" id="LN519">519</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="520"><td class="num" id="LN520">520</td><td class="line"> base_dir_len = strlen (base_dir);</td></tr>
+<tr class="codeline" data-linenumber="521"><td class="num" id="LN521">521</td><td class="line"> <span class='keyword'>if</span> (strlen (path) &lt; base_dir_len)</td></tr>
+<tr class="codeline" data-linenumber="522"><td class="num" id="LN522">522</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="523"><td class="num" id="LN523">523</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="524"><td class="num" id="LN524">524</td><td class="line"> base_path = path + base_dir_len;</td></tr>
+<tr class="codeline" data-linenumber="525"><td class="num" id="LN525">525</td><td class="line"> <span class='keyword'>if</span> (path[0] != '/')</td></tr>
+<tr class="codeline" data-linenumber="526"><td class="num" id="LN526">526</td><td class="line"> base_path -= 1;</td></tr>
+<tr class="codeline" data-linenumber="527"><td class="num" id="LN527">527</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="528"><td class="num" id="LN528">528</td><td class="line"> <span class='keyword'>return</span> base_path;</td></tr>
+<tr class="codeline" data-linenumber="529"><td class="num" id="LN529">529</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="530"><td class="num" id="LN530">530</td><td class="line"> </td></tr>
+</table></body></html>
diff --git a/2024-03-27-012041-5213-1@78903120e74d_master/report-8954c3.html b/2024-03-27-012041-5213-1@78903120e74d_master/report-8954c3.html
new file mode 100644
index 0000000..85211c9
--- /dev/null
+++ b/2024-03-27-012041-5213-1@78903120e74d_master/report-8954c3.html
@@ -0,0 +1,1121 @@
+<!doctype html>
+<html>
+<head>
+<title>java-utils.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC Although the value stored to 'i' is used in the enclosing expression, the value is never actually read from 'i' -->
+
+<!-- BUGTYPE Dead nested assignment -->
+
+<!-- BUGCATEGORY Unused code -->
+
+<!-- BUGFILE /rootdir/src/java-utils.c -->
+
+<!-- FILENAME java-utils.c -->
+
+<!-- FUNCTIONNAME get_package_name_from_class_file -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT 8954c34905ea1b5d124f67a03873fa42 -->
+
+<!-- BUGLINE 254 -->
+
+<!-- BUGCOLUMN 7 -->
+
+<!-- BUGPATHLENGTH 1 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>src/java-utils.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 254, column 7</a><br />Although the value stored to 'i' is used in the enclosing expression, the value is never actually read from 'i'</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name java-utils.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/src -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I .. -I ../mate-submodules/libegg/ -I .. -I .. -D ENGRAMPA_RESOURCE_UI_PATH="/org/mate/Engrampa/ui" -D FR_PREFIX="/usr/local" -D FR_SYSCONFDIR="/usr/local/etc" -D FR_DATADIR="/usr/local/share" -D PRIVDATADIR="/usr/local/share/engrampa/" -D FR_LIBDIR="/usr/local/lib" -D PKG_DATA_DIR="/usr/local/share/engrampa" -D PIXMAPSDIR="/usr/local/share/pixmaps" -D GLADEDIR="" -D LOCALEDIR="/usr/local/share/locale" -D SHDIR="/usr/local/libexec/engrampa/" -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/cairo -I /usr/include/gio-unix-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/libmount -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/fribidi -I /usr/include/sysprof-6 -I /usr/include/libpng16 -I /usr/include/json-glib-1.0 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/libmount -I /usr/include/blkid -I /usr/include/sysprof-6 -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-unused-parameter -fdebug-compilation-dir=/rootdir/src -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2024-03-27-012041-5213-1 -x c java-utils.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"254": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 0,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"><span class='comment'>/*</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>* Engrampa</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>* Copyright (C) 2006 The Free Software Foundation, Inc.</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>* This program is free software; you can redistribute it and/or modify</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>* it under the terms of the GNU General Public License as published by</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>* the Free Software Foundation; either version 2 of the License, or</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>* (at your option) any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>* This program is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>* GNU General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>* You should have received a copy of the GNU General Public License</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>* along with this program; if not, write to the Free Software</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> <span class='comment'>* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"><span class='directive'>#include &lt;config.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"><span class='directive'>#include &lt;fcntl.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"><span class='directive'>#include &lt;unistd.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#include &lt;<span class='macro'>errno<span class='macro_popup'>(*__errno_location ())</span></span>.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"><span class='directive'>#include &lt;string.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"><span class='directive'>#include &lt;ctype.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#include &lt;glib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"><span class='directive'>#include "java-utils.h"</span></td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"><span class='comment'>/*</span></td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"> <span class='comment'>* The following code conforms to the JVM specification.(Java 2 Platform)</span></td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"> <span class='comment'>* For further changes to the classfile structure, please update the</span></td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"> <span class='comment'>* following macros.</span></td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line"><span class='comment'>/* Tags that identify structures */</span></td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line"><span class='directive'>#define <span class='macro'>CONST_CLASS<span class='macro_popup'>7</span></span> 7</span></td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line"><span class='directive'>#define <span class='macro'>CONST_FIELDREF<span class='macro_popup'>9</span></span> 9</span></td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"><span class='directive'>#define <span class='macro'>CONST_METHODREF<span class='macro_popup'>10</span></span> 10</span></td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"><span class='directive'>#define <span class='macro'>CONST_INTERFACEMETHODREF<span class='macro_popup'>11</span></span> 11</span></td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"><span class='directive'>#define <span class='macro'>CONST_STRING<span class='macro_popup'>8</span></span> 8</span></td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line"><span class='directive'>#define <span class='macro'>CONST_INTEGER<span class='macro_popup'>3</span></span> 3</span></td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line"><span class='directive'>#define <span class='macro'>CONST_FLOAT<span class='macro_popup'>4</span></span> 4</span></td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"><span class='directive'>#define <span class='macro'>CONST_LONG<span class='macro_popup'>5</span></span> 5</span></td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line"><span class='directive'>#define <span class='macro'>CONST_DOUBLE<span class='macro_popup'>6</span></span> 6</span></td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"><span class='directive'>#define <span class='macro'>CONST_NAMEANDTYPE<span class='macro_popup'>12</span></span> 12</span></td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line"><span class='directive'>#define <span class='macro'>CONST_UTF8<span class='macro_popup'>1</span></span> 1</span></td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"><span class='comment'>/* Sizes of structures */</span></td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line"><span class='directive'>#define <span class='macro'>CONST_FIELDREF_INFO<span class='macro_popup'>4</span></span> 4</span></td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"><span class='directive'>#define <span class='macro'>CONST_METHODREF_INFO<span class='macro_popup'>4</span></span> 4</span></td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line"><span class='directive'>#define <span class='macro'>CONST_INTERFACEMETHODREF_INFO<span class='macro_popup'>4</span></span> 4</span></td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line"><span class='directive'>#define <span class='macro'>CONST_STRING_INFO<span class='macro_popup'>2</span></span> 2</span></td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line"><span class='directive'>#define <span class='macro'>CONST_INTEGER_INFO<span class='macro_popup'>4</span></span> 4</span></td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line"><span class='directive'>#define <span class='macro'>CONST_FLOAT_INFO<span class='macro_popup'>4</span></span> 4</span></td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line"><span class='directive'>#define <span class='macro'>CONST_LONG_INFO<span class='macro_popup'>8</span></span> 8</span></td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"><span class='directive'>#define <span class='macro'>CONST_DOUBLE_INFO<span class='macro_popup'>8</span></span> 8</span></td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line"><span class='directive'>#define <span class='macro'>CONST_NAMEANDTYPE_INFO<span class='macro_popup'>4</span></span> 4</span></td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"><span class='comment'>/* represents the utf8 strings in class file */</span></td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line"><span class='keyword'>struct</span> utf_string</td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"> guint16 index;</td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"> guint16 length;</td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line"> <span class='keyword'>char</span> *str;</td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"><span class='comment'>/* structure that holds class information in a class file */</span></td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"><span class='keyword'>struct</span> class_info</td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line"> guint16 index;</td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line"> guint16 name_index; <span class='comment'>/* index into the utf_strings */</span></td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span> {</td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line"> <span class='keyword'>int</span> fd;</td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"> guint32 magic_no; <span class='comment'>/* 0xCAFEBABE (JVM Specification) :) */</span></td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"> guint16 major; <span class='comment'>/* versions */</span></td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"> guint16 minor;</td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line"> guint16 const_pool_count;</td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"> GSList *const_pool_class; <span class='comment'>/* (const_pool_count - 1) elements of tye 'CONST_class_info' */</span></td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line"> GSList *const_pool_utf; <span class='comment'>/* (const_pool_count - 1) elements of type 'utf_strings' */</span></td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"> guint16 access_flags;</td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line"> guint16 this_class; <span class='comment'>/* the index of the class the file is named after. */</span></td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line"><span class='directive'>#if 0 /* not needed */</span></td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> guint16 super_class;</td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"> guint16 interfaces_count;</td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"> guint16 *interfaces;</td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"> guint16 fields_count;</td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line"> field_info *fields;</td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"> guint16 methods_count;</td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"> method_info *methods;</td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> guint16 attributes_count;</td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"> attribute_info *attributes;</td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line">} JavaClassFile;</td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"><span class='keyword'>static</span> JavaClassFile*</td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line">java_class_file_new (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line"> JavaClassFile *cfile;</td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line"> cfile = <span class='macro'>g_new0 (JavaClassFile, 1)<span class='macro_popup'>((JavaClassFile *) g_malloc0_n ((1), sizeof (JavaClassFile)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line"> cfile-&gt;fd = -1;</td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line"> <span class='keyword'>return</span> cfile;</td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line">java_class_file_free (JavaClassFile *cfile)</td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line"> GSList *scan;</td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"> <span class='keyword'>if</span> (cfile-&gt;const_pool_class != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"> g_slist_free_full (cfile-&gt;const_pool_class, g_free);</td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> <span class='keyword'>for</span> (scan = cfile-&gt;const_pool_utf; scan ; scan = scan-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"> <span class='keyword'>struct</span> utf_string *string = scan-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line"> g_free (string-&gt;str);</td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"> <span class='keyword'>if</span> (cfile-&gt;const_pool_utf != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"> g_slist_free_full (cfile-&gt;const_pool_utf, g_free);</td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> <span class='keyword'>if</span> (cfile-&gt;fd != -1)</td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"> close (cfile-&gt;fd);</td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line"> g_free (cfile);</td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"><span class='comment'>/* The following function loads the utf8 strings and class structures from the</span></td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line"> <span class='comment'>* class file. */</span></td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line">load_constant_pool_utfs (JavaClassFile *cfile)</td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line"> guint8 tag;</td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line"> guint16 i = 0; <span class='comment'>/* should be comparable with const_pool_count */</span></td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"> <span class='keyword'>while</span> ((i &lt; cfile-&gt;const_pool_count - 1) &amp;&amp; (read (cfile-&gt;fd, &amp;tag, 1) != -1)) {</td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"> <span class='keyword'>struct</span> utf_string *txt = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line"> <span class='keyword'>struct</span> class_info *class = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line"> <span class='keyword'>switch</span> (tag) {</td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>CONST_CLASS<span class='macro_popup'>7</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line"> class = <span class='macro'>g_new0 (<span class='keyword'>struct</span> class_info, 1)<span class='macro_popup'>((struct class_info *) g_malloc0_n ((1), sizeof (struct class_info<br>)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line"> class-&gt;index = i + 1;</td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"> <span class='keyword'>if</span> (read (cfile-&gt;fd, &amp;class-&gt;name_index, 2) != 2) {</td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line"> g_free (class);</td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line"> <span class='keyword'>return</span>; <span class='comment'>/* error reading */</span></td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> class-&gt;name_index = <span class='macro'>GUINT16_FROM_BE (class-&gt;name_index)<span class='macro_popup'>(((((guint16) ( (guint16) ((guint16) (class-&gt;name_index) &gt;&gt;<br> 8) | (guint16) ((guint16) (class-&gt;name_index) &lt;&lt; 8)<br>)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> cfile-&gt;const_pool_class = g_slist_append (cfile-&gt;const_pool_class, class);</td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>CONST_FIELDREF<span class='macro_popup'>9</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> lseek (cfile-&gt;fd, <span class='macro'>CONST_FIELDREF_INFO<span class='macro_popup'>4</span></span>, <span class='macro'>SEEK_CUR<span class='macro_popup'>1</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>CONST_METHODREF<span class='macro_popup'>10</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line"> lseek (cfile-&gt;fd, <span class='macro'>CONST_METHODREF_INFO<span class='macro_popup'>4</span></span>, <span class='macro'>SEEK_CUR<span class='macro_popup'>1</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>CONST_INTERFACEMETHODREF<span class='macro_popup'>11</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line"> lseek (cfile-&gt;fd, <span class='macro'>CONST_INTERFACEMETHODREF_INFO<span class='macro_popup'>4</span></span>, <span class='macro'>SEEK_CUR<span class='macro_popup'>1</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>CONST_STRING<span class='macro_popup'>8</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> lseek (cfile-&gt;fd, <span class='macro'>CONST_STRING_INFO<span class='macro_popup'>2</span></span>, <span class='macro'>SEEK_CUR<span class='macro_popup'>1</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>CONST_INTEGER<span class='macro_popup'>3</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"> lseek (cfile-&gt;fd, <span class='macro'>CONST_INTEGER_INFO<span class='macro_popup'>4</span></span>, <span class='macro'>SEEK_CUR<span class='macro_popup'>1</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>CONST_FLOAT<span class='macro_popup'>4</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="185"><td class="num" id="LN185">185</td><td class="line"> lseek (cfile-&gt;fd, <span class='macro'>CONST_FLOAT_INFO<span class='macro_popup'>4</span></span>, <span class='macro'>SEEK_CUR<span class='macro_popup'>1</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="186"><td class="num" id="LN186">186</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="187"><td class="num" id="LN187">187</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="188"><td class="num" id="LN188">188</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>CONST_LONG<span class='macro_popup'>5</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="189"><td class="num" id="LN189">189</td><td class="line"> lseek (cfile-&gt;fd, <span class='macro'>CONST_LONG_INFO<span class='macro_popup'>8</span></span>, <span class='macro'>SEEK_CUR<span class='macro_popup'>1</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="190"><td class="num" id="LN190">190</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="191"><td class="num" id="LN191">191</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="192"><td class="num" id="LN192">192</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>CONST_DOUBLE<span class='macro_popup'>6</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="193"><td class="num" id="LN193">193</td><td class="line"> lseek (cfile-&gt;fd, <span class='macro'>CONST_DOUBLE_INFO<span class='macro_popup'>8</span></span>, <span class='macro'>SEEK_CUR<span class='macro_popup'>1</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="194"><td class="num" id="LN194">194</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="195"><td class="num" id="LN195">195</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="196"><td class="num" id="LN196">196</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>CONST_NAMEANDTYPE<span class='macro_popup'>12</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="197"><td class="num" id="LN197">197</td><td class="line"> lseek (cfile-&gt;fd, <span class='macro'>CONST_NAMEANDTYPE_INFO<span class='macro_popup'>4</span></span>, <span class='macro'>SEEK_CUR<span class='macro_popup'>1</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="198"><td class="num" id="LN198">198</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="199"><td class="num" id="LN199">199</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="200"><td class="num" id="LN200">200</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>CONST_UTF8<span class='macro_popup'>1</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="201"><td class="num" id="LN201">201</td><td class="line"> txt = <span class='macro'>g_new0 (<span class='keyword'>struct</span> utf_string, 1)<span class='macro_popup'>((struct utf_string *) g_malloc0_n ((1), sizeof (struct utf_string<br>)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="202"><td class="num" id="LN202">202</td><td class="line"> txt-&gt;index = i + 1;</td></tr>
+<tr class="codeline" data-linenumber="203"><td class="num" id="LN203">203</td><td class="line"> <span class='keyword'>if</span> (read (cfile-&gt;fd, &amp;(txt-&gt;length), 2) == -1) {</td></tr>
+<tr class="codeline" data-linenumber="204"><td class="num" id="LN204">204</td><td class="line"> g_free (txt);</td></tr>
+<tr class="codeline" data-linenumber="205"><td class="num" id="LN205">205</td><td class="line"> <span class='keyword'>return</span>; <span class='comment'>/* error while reading */</span></td></tr>
+<tr class="codeline" data-linenumber="206"><td class="num" id="LN206">206</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="207"><td class="num" id="LN207">207</td><td class="line"> txt-&gt;length = <span class='macro'>GUINT16_FROM_BE (txt-&gt;length)<span class='macro_popup'>(((((guint16) ( (guint16) ((guint16) (txt-&gt;length) &gt;&gt;<br> 8) | (guint16) ((guint16) (txt-&gt;length) &lt;&lt; 8))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="208"><td class="num" id="LN208">208</td><td class="line"> txt-&gt;str = <span class='macro'>g_new0 (<span class='keyword'>char</span>, txt-&gt;length)<span class='macro_popup'>((char *) g_malloc0_n ((txt-&gt;length), sizeof (char)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="209"><td class="num" id="LN209">209</td><td class="line"> <span class='keyword'>if</span> (read (cfile-&gt;fd, txt-&gt;str, txt-&gt;length) == -1) {</td></tr>
+<tr class="codeline" data-linenumber="210"><td class="num" id="LN210">210</td><td class="line"> g_free (txt);</td></tr>
+<tr class="codeline" data-linenumber="211"><td class="num" id="LN211">211</td><td class="line"> <span class='keyword'>return</span>; <span class='comment'>/* error while reading */</span></td></tr>
+<tr class="codeline" data-linenumber="212"><td class="num" id="LN212">212</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="213"><td class="num" id="LN213">213</td><td class="line"> cfile-&gt;const_pool_utf = g_slist_append (cfile-&gt;const_pool_utf, txt);</td></tr>
+<tr class="codeline" data-linenumber="214"><td class="num" id="LN214">214</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="215"><td class="num" id="LN215">215</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="216"><td class="num" id="LN216">216</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="217"><td class="num" id="LN217">217</td><td class="line"> <span class='keyword'>return</span>; <span class='comment'>/* error - unknown tag in class file */</span></td></tr>
+<tr class="codeline" data-linenumber="218"><td class="num" id="LN218">218</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="219"><td class="num" id="LN219">219</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="220"><td class="num" id="LN220">220</td><td class="line"> i++;</td></tr>
+<tr class="codeline" data-linenumber="221"><td class="num" id="LN221">221</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="222"><td class="num" id="LN222">222</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="223"><td class="num" id="LN223">223</td><td class="line"><span class='directive'>#ifdef MATE_ENABLE_DEBUG</span></td></tr>
+<tr class="codeline" data-linenumber="224"><td class="num" id="LN224">224</td><td class="line"> g_print( <span class='string_literal'>"Number of Entries: %d\n"</span>, i );</td></tr>
+<tr class="codeline" data-linenumber="225"><td class="num" id="LN225">225</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="226"><td class="num" id="LN226">226</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="227"><td class="num" id="LN227">227</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="228"><td class="num" id="LN228">228</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>char</span>*</td></tr>
+<tr class="codeline" data-linenumber="229"><td class="num" id="LN229">229</td><td class="line">close_and_exit (JavaClassFile *cfile)</td></tr>
+<tr class="codeline" data-linenumber="230"><td class="num" id="LN230">230</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="231"><td class="num" id="LN231">231</td><td class="line"> java_class_file_free (cfile);</td></tr>
+<tr class="codeline" data-linenumber="232"><td class="num" id="LN232">232</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="233"><td class="num" id="LN233">233</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="234"><td class="num" id="LN234">234</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="235"><td class="num" id="LN235">235</td><td class="line"><span class='comment'>/* This function extracts the package name from a class file */</span></td></tr>
+<tr class="codeline" data-linenumber="236"><td class="num" id="LN236">236</td><td class="line"><span class='keyword'>char</span>*</td></tr>
+<tr class="codeline" data-linenumber="237"><td class="num" id="LN237">237</td><td class="line">get_package_name_from_class_file (<span class='keyword'>char</span> *fname)</td></tr>
+<tr class="codeline" data-linenumber="238"><td class="num" id="LN238">238</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="239"><td class="num" id="LN239">239</td><td class="line"> <span class='keyword'>char</span> *package = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="240"><td class="num" id="LN240">240</td><td class="line"> JavaClassFile *cfile;</td></tr>
+<tr class="codeline" data-linenumber="241"><td class="num" id="LN241">241</td><td class="line"> guint16 length = 0, end = 0, utf_index = 0;</td></tr>
+<tr class="codeline" data-linenumber="242"><td class="num" id="LN242">242</td><td class="line"> guint32 magic;</td></tr>
+<tr class="codeline" data-linenumber="243"><td class="num" id="LN243">243</td><td class="line"> guint16 major, minor, count;</td></tr>
+<tr class="codeline" data-linenumber="244"><td class="num" id="LN244">244</td><td class="line"> guint i = 0;</td></tr>
+<tr class="codeline" data-linenumber="245"><td class="num" id="LN245">245</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="246"><td class="num" id="LN246">246</td><td class="line"> <span class='keyword'>if</span> (! g_file_test (fname, G_FILE_TEST_EXISTS))</td></tr>
+<tr class="codeline" data-linenumber="247"><td class="num" id="LN247">247</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="248"><td class="num" id="LN248">248</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="249"><td class="num" id="LN249">249</td><td class="line"> cfile = java_class_file_new ();</td></tr>
+<tr class="codeline" data-linenumber="250"><td class="num" id="LN250">250</td><td class="line"> cfile-&gt;fd = open (fname, <span class='macro'>O_RDONLY<span class='macro_popup'>00</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="251"><td class="num" id="LN251">251</td><td class="line"> <span class='keyword'>if</span> (cfile-&gt;fd == -1)</td></tr>
+<tr class="codeline" data-linenumber="252"><td class="num" id="LN252">252</td><td class="line"> <span class='keyword'>return</span> close_and_exit (cfile);</td></tr>
+<tr class="codeline" data-linenumber="253"><td class="num" id="LN253">253</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="254"><td class="num" id="LN254">254</td><td class="line"> <span class='keyword'>if</span> ((i = <span class="mrange">read (cfile-&gt;fd, &amp;magic, 4)</span>) != 4)</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:14ex">Although the value stored to 'i' is used in the enclosing expression, the value is never actually read from 'i'</div></td></tr>
+<tr class="codeline" data-linenumber="255"><td class="num" id="LN255">255</td><td class="line"> <span class='keyword'>return</span> close_and_exit (cfile);</td></tr>
+<tr class="codeline" data-linenumber="256"><td class="num" id="LN256">256</td><td class="line"> cfile-&gt;magic_no = <span class='macro'>GUINT32_FROM_BE (magic)<span class='macro_popup'>(((((guint32) ( (((guint32) (magic) &amp; (guint32) 0x000000ffU<br>) &lt;&lt; 24) | (((guint32) (magic) &amp; (guint32) 0x0000ff00U<br>) &lt;&lt; 8) | (((guint32) (magic) &amp; (guint32) 0x00ff0000U<br>) &gt;&gt; 8) | (((guint32) (magic) &amp; (guint32) 0xff000000U<br>) &gt;&gt; 24))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="257"><td class="num" id="LN257">257</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="258"><td class="num" id="LN258">258</td><td class="line"> <span class='keyword'>if</span> (read (cfile-&gt;fd, &amp;major, 2 ) != 2)</td></tr>
+<tr class="codeline" data-linenumber="259"><td class="num" id="LN259">259</td><td class="line"> <span class='keyword'>return</span> close_and_exit (cfile);</td></tr>
+<tr class="codeline" data-linenumber="260"><td class="num" id="LN260">260</td><td class="line"> cfile-&gt;major = <span class='macro'>GUINT16_FROM_BE (major)<span class='macro_popup'>(((((guint16) ( (guint16) ((guint16) (major) &gt;&gt; 8) | (guint16<br>) ((guint16) (major) &lt;&lt; 8))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="261"><td class="num" id="LN261">261</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="262"><td class="num" id="LN262">262</td><td class="line"> <span class='keyword'>if</span> (read (cfile-&gt;fd, &amp;minor, 2) != 2)</td></tr>
+<tr class="codeline" data-linenumber="263"><td class="num" id="LN263">263</td><td class="line"> <span class='keyword'>return</span> close_and_exit (cfile);</td></tr>
+<tr class="codeline" data-linenumber="264"><td class="num" id="LN264">264</td><td class="line"> cfile-&gt;minor = <span class='macro'>GUINT16_FROM_BE (minor)<span class='macro_popup'>(((((guint16) ( (guint16) ((guint16) (minor) &gt;&gt; 8) | (guint16<br>) ((guint16) (minor) &lt;&lt; 8))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="265"><td class="num" id="LN265">265</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="266"><td class="num" id="LN266">266</td><td class="line"> <span class='keyword'>if</span> (read (cfile-&gt;fd, &amp;count, 2) != 2)</td></tr>
+<tr class="codeline" data-linenumber="267"><td class="num" id="LN267">267</td><td class="line"> <span class='keyword'>return</span> close_and_exit (cfile);</td></tr>
+<tr class="codeline" data-linenumber="268"><td class="num" id="LN268">268</td><td class="line"> cfile-&gt;const_pool_count = <span class='macro'>GUINT16_FROM_BE(count)<span class='macro_popup'>(((((guint16) ( (guint16) ((guint16) (count) &gt;&gt; 8) | (guint16<br>) ((guint16) (count) &lt;&lt; 8))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="269"><td class="num" id="LN269">269</td><td class="line"> load_constant_pool_utfs (cfile);</td></tr>
+<tr class="codeline" data-linenumber="270"><td class="num" id="LN270">270</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="271"><td class="num" id="LN271">271</td><td class="line"> <span class='keyword'>if</span> (read (cfile-&gt;fd, &amp;cfile-&gt;access_flags, 2) != 2)</td></tr>
+<tr class="codeline" data-linenumber="272"><td class="num" id="LN272">272</td><td class="line"> <span class='keyword'>return</span> close_and_exit (cfile);</td></tr>
+<tr class="codeline" data-linenumber="273"><td class="num" id="LN273">273</td><td class="line"> cfile-&gt;access_flags = <span class='macro'>GUINT16_FROM_BE (cfile-&gt;access_flags)<span class='macro_popup'>(((((guint16) ( (guint16) ((guint16) (cfile-&gt;access_flags)<br> &gt;&gt; 8) | (guint16) ((guint16) (cfile-&gt;access_flags) &lt;&lt;<br> 8))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="274"><td class="num" id="LN274">274</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="275"><td class="num" id="LN275">275</td><td class="line"> <span class='keyword'>if</span> (read (cfile-&gt;fd, &amp;cfile-&gt;this_class, 2) != 2)</td></tr>
+<tr class="codeline" data-linenumber="276"><td class="num" id="LN276">276</td><td class="line"> <span class='keyword'>return</span> close_and_exit (cfile);</td></tr>
+<tr class="codeline" data-linenumber="277"><td class="num" id="LN277">277</td><td class="line"> cfile-&gt;this_class = <span class='macro'>GUINT16_FROM_BE(cfile-&gt;this_class)<span class='macro_popup'>(((((guint16) ( (guint16) ((guint16) (cfile-&gt;this_class) &gt;&gt;<br> 8) | (guint16) ((guint16) (cfile-&gt;this_class) &lt;&lt; 8)<br>)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="278"><td class="num" id="LN278">278</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="279"><td class="num" id="LN279">279</td><td class="line"> <span class='comment'>/* now search for the class structure with index = cfile-&gt;this_class */</span></td></tr>
+<tr class="codeline" data-linenumber="280"><td class="num" id="LN280">280</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="281"><td class="num" id="LN281">281</td><td class="line"> <span class='keyword'>for</span> (i = 0; (i &lt; g_slist_length (cfile-&gt;const_pool_class)) &amp;&amp; (utf_index == 0); i++ ) {</td></tr>
+<tr class="codeline" data-linenumber="282"><td class="num" id="LN282">282</td><td class="line"> <span class='keyword'>struct</span> class_info *class = g_slist_nth_data (cfile-&gt;const_pool_class, i);</td></tr>
+<tr class="codeline" data-linenumber="283"><td class="num" id="LN283">283</td><td class="line"> <span class='keyword'>if</span> (class-&gt;index == cfile-&gt;this_class)</td></tr>
+<tr class="codeline" data-linenumber="284"><td class="num" id="LN284">284</td><td class="line"> utf_index = class-&gt;name_index; <span class='comment'>/* terminates loop */</span></td></tr>
+<tr class="codeline" data-linenumber="285"><td class="num" id="LN285">285</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="286"><td class="num" id="LN286">286</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="287"><td class="num" id="LN287">287</td><td class="line"> <span class='comment'>/* now search for the utf8 string with index = utf_index */</span></td></tr>
+<tr class="codeline" data-linenumber="288"><td class="num" id="LN288">288</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="289"><td class="num" id="LN289">289</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; g_slist_length (cfile-&gt;const_pool_utf); i++) {</td></tr>
+<tr class="codeline" data-linenumber="290"><td class="num" id="LN290">290</td><td class="line"> <span class='keyword'>struct</span> utf_string *data = g_slist_nth_data (cfile-&gt;const_pool_utf, i);</td></tr>
+<tr class="codeline" data-linenumber="291"><td class="num" id="LN291">291</td><td class="line"> <span class='keyword'>if</span> (data-&gt;index == utf_index) {</td></tr>
+<tr class="codeline" data-linenumber="292"><td class="num" id="LN292">292</td><td class="line"> package = g_strndup (data-&gt;str, data-&gt;length);</td></tr>
+<tr class="codeline" data-linenumber="293"><td class="num" id="LN293">293</td><td class="line"> length = data-&gt;length;</td></tr>
+<tr class="codeline" data-linenumber="294"><td class="num" id="LN294">294</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="295"><td class="num" id="LN295">295</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="296"><td class="num" id="LN296">296</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="297"><td class="num" id="LN297">297</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="298"><td class="num" id="LN298">298</td><td class="line"> <span class='keyword'>if</span> (package != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="299"><td class="num" id="LN299">299</td><td class="line"> <span class='keyword'>int</span> j;</td></tr>
+<tr class="codeline" data-linenumber="300"><td class="num" id="LN300">300</td><td class="line"> <span class='keyword'>for</span> (j = (<span class='keyword'>int</span>) length; (j &gt;= 0) &amp;&amp; (end == 0); j--)</td></tr>
+<tr class="codeline" data-linenumber="301"><td class="num" id="LN301">301</td><td class="line"> <span class='keyword'>if</span> (package[j] == '/')</td></tr>
+<tr class="codeline" data-linenumber="302"><td class="num" id="LN302">302</td><td class="line"> end = (guint16) j;</td></tr>
+<tr class="codeline" data-linenumber="303"><td class="num" id="LN303">303</td><td class="line"> <span class='keyword'>char</span> *package_padded = g_strndup (package, end);</td></tr>
+<tr class="codeline" data-linenumber="304"><td class="num" id="LN304">304</td><td class="line"> g_free(package);</td></tr>
+<tr class="codeline" data-linenumber="305"><td class="num" id="LN305">305</td><td class="line"> package = package_padded;</td></tr>
+<tr class="codeline" data-linenumber="306"><td class="num" id="LN306">306</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="307"><td class="num" id="LN307">307</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="308"><td class="num" id="LN308">308</td><td class="line"> java_class_file_free (cfile);</td></tr>
+<tr class="codeline" data-linenumber="309"><td class="num" id="LN309">309</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="310"><td class="num" id="LN310">310</td><td class="line"> <span class='keyword'>return</span> package;</td></tr>
+<tr class="codeline" data-linenumber="311"><td class="num" id="LN311">311</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="312"><td class="num" id="LN312">312</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="313"><td class="num" id="LN313">313</td><td class="line"><span class='comment'>/* This function consumes a comment from the java file</span></td></tr>
+<tr class="codeline" data-linenumber="314"><td class="num" id="LN314">314</td><td class="line"> <span class='comment'>* multiline = TRUE implies that comment is multiline */</span></td></tr>
+<tr class="codeline" data-linenumber="315"><td class="num" id="LN315">315</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="316"><td class="num" id="LN316">316</td><td class="line">consume_comment (<span class='keyword'>int</span> fdesc,</td></tr>
+<tr class="codeline" data-linenumber="317"><td class="num" id="LN317">317</td><td class="line"> gboolean multiline)</td></tr>
+<tr class="codeline" data-linenumber="318"><td class="num" id="LN318">318</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="319"><td class="num" id="LN319">319</td><td class="line"> gboolean escaped = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="320"><td class="num" id="LN320">320</td><td class="line"> gboolean star = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="321"><td class="num" id="LN321">321</td><td class="line"> <span class='keyword'>char</span> ch;</td></tr>
+<tr class="codeline" data-linenumber="322"><td class="num" id="LN322">322</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="323"><td class="num" id="LN323">323</td><td class="line"> <span class='keyword'>while</span> (read (fdesc, &amp;ch, 1) == 1) {</td></tr>
+<tr class="codeline" data-linenumber="324"><td class="num" id="LN324">324</td><td class="line"> <span class='keyword'>switch</span> (ch) {</td></tr>
+<tr class="codeline" data-linenumber="325"><td class="num" id="LN325">325</td><td class="line"> <span class='keyword'>case</span> '/':</td></tr>
+<tr class="codeline" data-linenumber="326"><td class="num" id="LN326">326</td><td class="line"> <span class='keyword'>if</span> (escaped)</td></tr>
+<tr class="codeline" data-linenumber="327"><td class="num" id="LN327">327</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="328"><td class="num" id="LN328">328</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (star)</td></tr>
+<tr class="codeline" data-linenumber="329"><td class="num" id="LN329">329</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="330"><td class="num" id="LN330">330</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="331"><td class="num" id="LN331">331</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="332"><td class="num" id="LN332">332</td><td class="line"> <span class='keyword'>case</span> '\n':</td></tr>
+<tr class="codeline" data-linenumber="333"><td class="num" id="LN333">333</td><td class="line"> <span class='keyword'>if</span> (! multiline)</td></tr>
+<tr class="codeline" data-linenumber="334"><td class="num" id="LN334">334</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="335"><td class="num" id="LN335">335</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="336"><td class="num" id="LN336">336</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="337"><td class="num" id="LN337">337</td><td class="line"> <span class='keyword'>case</span> '*':</td></tr>
+<tr class="codeline" data-linenumber="338"><td class="num" id="LN338">338</td><td class="line"> escaped = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="339"><td class="num" id="LN339">339</td><td class="line"> star = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="340"><td class="num" id="LN340">340</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="341"><td class="num" id="LN341">341</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="342"><td class="num" id="LN342">342</td><td class="line"> <span class='keyword'>case</span> '\\':</td></tr>
+<tr class="codeline" data-linenumber="343"><td class="num" id="LN343">343</td><td class="line"> escaped = ! escaped;</td></tr>
+<tr class="codeline" data-linenumber="344"><td class="num" id="LN344">344</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="345"><td class="num" id="LN345">345</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="346"><td class="num" id="LN346">346</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="347"><td class="num" id="LN347">347</td><td class="line"> escaped = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="348"><td class="num" id="LN348">348</td><td class="line"> star = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="349"><td class="num" id="LN349">349</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="350"><td class="num" id="LN350">350</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="351"><td class="num" id="LN351">351</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="352"><td class="num" id="LN352">352</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="353"><td class="num" id="LN353">353</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="354"><td class="num" id="LN354">354</td><td class="line"><span class='comment'>/* This function extracts package name from a java file */</span></td></tr>
+<tr class="codeline" data-linenumber="355"><td class="num" id="LN355">355</td><td class="line"><span class='keyword'>char</span>*</td></tr>
+<tr class="codeline" data-linenumber="356"><td class="num" id="LN356">356</td><td class="line">get_package_name_from_java_file (<span class='keyword'>char</span> *fname)</td></tr>
+<tr class="codeline" data-linenumber="357"><td class="num" id="LN357">357</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="358"><td class="num" id="LN358">358</td><td class="line"> <span class='keyword'>char</span> *package = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="359"><td class="num" id="LN359">359</td><td class="line"> JavaClassFile *cfile;</td></tr>
+<tr class="codeline" data-linenumber="360"><td class="num" id="LN360">360</td><td class="line"> gboolean prev_char_is_bslash = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="361"><td class="num" id="LN361">361</td><td class="line"> gboolean valid_char_found = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="362"><td class="num" id="LN362">362</td><td class="line"> <span class='keyword'>char</span> ch;</td></tr>
+<tr class="codeline" data-linenumber="363"><td class="num" id="LN363">363</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="364"><td class="num" id="LN364">364</td><td class="line"> <span class='keyword'>if</span> (! g_file_test (fname, G_FILE_TEST_EXISTS))</td></tr>
+<tr class="codeline" data-linenumber="365"><td class="num" id="LN365">365</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="366"><td class="num" id="LN366">366</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="367"><td class="num" id="LN367">367</td><td class="line"> cfile = java_class_file_new ();</td></tr>
+<tr class="codeline" data-linenumber="368"><td class="num" id="LN368">368</td><td class="line"> cfile-&gt;fd = open (fname, <span class='macro'>O_RDONLY<span class='macro_popup'>00</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="369"><td class="num" id="LN369">369</td><td class="line"> <span class='keyword'>if</span> (cfile-&gt;fd == -1)</td></tr>
+<tr class="codeline" data-linenumber="370"><td class="num" id="LN370">370</td><td class="line"> <span class='keyword'>return</span> close_and_exit (cfile);</td></tr>
+<tr class="codeline" data-linenumber="371"><td class="num" id="LN371">371</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="372"><td class="num" id="LN372">372</td><td class="line"> <span class='keyword'>while</span> (! valid_char_found &amp;&amp; (read (cfile-&gt;fd, &amp;ch, 1) == 1)) {</td></tr>
+<tr class="codeline" data-linenumber="373"><td class="num" id="LN373">373</td><td class="line"> <span class='keyword'>switch</span> (ch) {</td></tr>
+<tr class="codeline" data-linenumber="374"><td class="num" id="LN374">374</td><td class="line"> <span class='keyword'>case</span> '/':</td></tr>
+<tr class="codeline" data-linenumber="375"><td class="num" id="LN375">375</td><td class="line"> <span class='keyword'>if</span> (prev_char_is_bslash == <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="376"><td class="num" id="LN376">376</td><td class="line"> consume_comment (cfile-&gt;fd, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="377"><td class="num" id="LN377">377</td><td class="line"> prev_char_is_bslash = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="378"><td class="num" id="LN378">378</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="379"><td class="num" id="LN379">379</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="380"><td class="num" id="LN380">380</td><td class="line"> prev_char_is_bslash = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="381"><td class="num" id="LN381">381</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="382"><td class="num" id="LN382">382</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="383"><td class="num" id="LN383">383</td><td class="line"> <span class='keyword'>case</span> '*':</td></tr>
+<tr class="codeline" data-linenumber="384"><td class="num" id="LN384">384</td><td class="line"> <span class='keyword'>if</span> (prev_char_is_bslash == <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="385"><td class="num" id="LN385">385</td><td class="line"> consume_comment (cfile-&gt;fd, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="386"><td class="num" id="LN386">386</td><td class="line"> prev_char_is_bslash = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="387"><td class="num" id="LN387">387</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="388"><td class="num" id="LN388">388</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="389"><td class="num" id="LN389">389</td><td class="line"> <span class='keyword'>case</span> ' ':</td></tr>
+<tr class="codeline" data-linenumber="390"><td class="num" id="LN390">390</td><td class="line"> <span class='keyword'>case</span> '\t':</td></tr>
+<tr class="codeline" data-linenumber="391"><td class="num" id="LN391">391</td><td class="line"> <span class='keyword'>case</span> '\r':</td></tr>
+<tr class="codeline" data-linenumber="392"><td class="num" id="LN392">392</td><td class="line"> <span class='keyword'>case</span> '\n':</td></tr>
+<tr class="codeline" data-linenumber="393"><td class="num" id="LN393">393</td><td class="line"> prev_char_is_bslash = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="394"><td class="num" id="LN394">394</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="395"><td class="num" id="LN395">395</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="396"><td class="num" id="LN396">396</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="397"><td class="num" id="LN397">397</td><td class="line"> prev_char_is_bslash = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="398"><td class="num" id="LN398">398</td><td class="line"> valid_char_found = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="399"><td class="num" id="LN399">399</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="400"><td class="num" id="LN400">400</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="401"><td class="num" id="LN401">401</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="402"><td class="num" id="LN402">402</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="403"><td class="num" id="LN403">403</td><td class="line"> <span class='keyword'>if</span> (ch == 'p') {</td></tr>
+<tr class="codeline" data-linenumber="404"><td class="num" id="LN404">404</td><td class="line"> <span class='keyword'>char</span> first_valid_word[8] = <span class='string_literal'>""</span>;</td></tr>
+<tr class="codeline" data-linenumber="405"><td class="num" id="LN405">405</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="406"><td class="num" id="LN406">406</td><td class="line"> first_valid_word[0] = 'p';</td></tr>
+<tr class="codeline" data-linenumber="407"><td class="num" id="LN407">407</td><td class="line"> <span class='keyword'>if</span> (read (cfile-&gt;fd, &amp;first_valid_word[1], 6) != 6)</td></tr>
+<tr class="codeline" data-linenumber="408"><td class="num" id="LN408">408</td><td class="line"> <span class='keyword'>return</span> close_and_exit (cfile);</td></tr>
+<tr class="codeline" data-linenumber="409"><td class="num" id="LN409">409</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="410"><td class="num" id="LN410">410</td><td class="line"> first_valid_word[7] = 0;</td></tr>
+<tr class="codeline" data-linenumber="411"><td class="num" id="LN411">411</td><td class="line"> <span class='keyword'>if</span> (g_ascii_strcasecmp (first_valid_word, <span class='string_literal'>"package"</span>) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="412"><td class="num" id="LN412">412</td><td class="line"> <span class='keyword'>char</span> buffer[500];</td></tr>
+<tr class="codeline" data-linenumber="413"><td class="num" id="LN413">413</td><td class="line"> <span class='keyword'>int</span> index = 0;</td></tr>
+<tr class="codeline" data-linenumber="414"><td class="num" id="LN414">414</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="415"><td class="num" id="LN415">415</td><td class="line"> <span class='keyword'>while</span> (read (cfile-&gt;fd, &amp;ch, 1) == 1) {</td></tr>
+<tr class="codeline" data-linenumber="416"><td class="num" id="LN416">416</td><td class="line"> <span class='keyword'>if</span> ((ch != ' ') &amp;&amp; (ch != '\t'))</td></tr>
+<tr class="codeline" data-linenumber="417"><td class="num" id="LN417">417</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="418"><td class="num" id="LN418">418</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="419"><td class="num" id="LN419">419</td><td class="line"> <span class='keyword'>do</span> {</td></tr>
+<tr class="codeline" data-linenumber="420"><td class="num" id="LN420">420</td><td class="line"> <span class='keyword'>if</span> (ch == ';')</td></tr>
+<tr class="codeline" data-linenumber="421"><td class="num" id="LN421">421</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="422"><td class="num" id="LN422">422</td><td class="line"> <span class='keyword'>if</span> (ch == '.') {</td></tr>
+<tr class="codeline" data-linenumber="423"><td class="num" id="LN423">423</td><td class="line"> buffer[index++] = '/';</td></tr>
+<tr class="codeline" data-linenumber="424"><td class="num" id="LN424">424</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> (<span class='macro'>isalnum (ch)<span class='macro_popup'>((*__ctype_b_loc ())[(int) ((ch))] &amp; (unsigned short int)<br> _ISalnum)</span></span> != 0) {</td></tr>
+<tr class="codeline" data-linenumber="425"><td class="num" id="LN425">425</td><td class="line"> buffer[index++] = ch;</td></tr>
+<tr class="codeline" data-linenumber="426"><td class="num" id="LN426">426</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> ((ch == '_') || (ch == '$')) {</td></tr>
+<tr class="codeline" data-linenumber="427"><td class="num" id="LN427">427</td><td class="line"> buffer[index++] = ch;</td></tr>
+<tr class="codeline" data-linenumber="428"><td class="num" id="LN428">428</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="429"><td class="num" id="LN429">429</td><td class="line"> index = 0;</td></tr>
+<tr class="codeline" data-linenumber="430"><td class="num" id="LN430">430</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="431"><td class="num" id="LN431">431</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="432"><td class="num" id="LN432">432</td><td class="line"> } <span class='keyword'>while</span> (read (cfile-&gt;fd, &amp;ch, 1) == 1);</td></tr>
+<tr class="codeline" data-linenumber="433"><td class="num" id="LN433">433</td><td class="line"> buffer[index] = 0;</td></tr>
+<tr class="codeline" data-linenumber="434"><td class="num" id="LN434">434</td><td class="line"> package = <span class='macro'>g_strdup (buffer)<span class='macro_popup'>g_strdup_inline (buffer)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="435"><td class="num" id="LN435">435</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="436"><td class="num" id="LN436">436</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="437"><td class="num" id="LN437">437</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="438"><td class="num" id="LN438">438</td><td class="line"> java_class_file_free (cfile);</td></tr>
+<tr class="codeline" data-linenumber="439"><td class="num" id="LN439">439</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="440"><td class="num" id="LN440">440</td><td class="line"> <span class='keyword'>return</span> package;</td></tr>
+<tr class="codeline" data-linenumber="441"><td class="num" id="LN441">441</td><td class="line">}</td></tr>
+</table></body></html>
diff --git a/2024-03-27-012041-5213-1@78903120e74d_master/report-b8f564.html b/2024-03-27-012041-5213-1@78903120e74d_master/report-b8f564.html
new file mode 100644
index 0000000..463bd26
--- /dev/null
+++ b/2024-03-27-012041-5213-1@78903120e74d_master/report-b8f564.html
@@ -0,0 +1,2089 @@
+<!doctype html>
+<html>
+<head>
+<title>eggsmclient-xsmp.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption -->
+
+<!-- BUGTYPE Cast from non-struct type to struct type -->
+
+<!-- BUGCATEGORY Logic error -->
+
+<!-- BUGFILE /rootdir/mate-submodules/libegg/eggsmclient-xsmp.c -->
+
+<!-- FILENAME eggsmclient-xsmp.c -->
+
+<!-- FUNCTIONNAME array_prop -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT b8f564960b65bf4fae4d59c6aee36738 -->
+
+<!-- BUGLINE 1199 -->
+
+<!-- BUGCOLUMN 18 -->
+
+<!-- BUGPATHLENGTH 1 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>mate-submodules/libegg/eggsmclient-xsmp.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 1199, column 18</a><br />Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name eggsmclient-xsmp.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -fhalf-no-semantic-interposition -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/mate-submodules/libegg -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I ../.. -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/cairo -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/blkid -I /usr/include/at-spi-2.0 -I /usr/include/gio-unix-2.0 -I /usr/include/libmount -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/fribidi -I /usr/include/sysprof-6 -I /usr/include/libpng16 -D EGG_SM_CLIENT_BACKEND_XSMP -D G_LOG_DOMAIN="EggSMClient" -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/cairo -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/blkid -I /usr/include/at-spi-2.0 -I /usr/include/gio-unix-2.0 -I /usr/include/libmount -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/fribidi -I /usr/include/sysprof-6 -I /usr/include/libpng16 -D PIC -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-unused-parameter -fdebug-compilation-dir=/rootdir/mate-submodules/libegg -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2024-03-27-012041-5213-1 -x c eggsmclient-xsmp.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"1199": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 0,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/*</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> <span class='comment'>* Copyright (C) 2007 Novell, Inc.</span></td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>* Inspired by various other pieces of code including GsmClient (C)</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>* 2001 Havoc Pennington, MateClient (C) 1998 Carsten Schaar, and twm</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>* session code (C) 1998 The Open Group.</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>* This library is free software; you can redistribute it and/or</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>* modify it under the terms of the GNU Library General Public</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>* License as published by the Free Software Foundation; either</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>* version 2 of the License, or (at your option) any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>* This library is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>* Library General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>* You should have received a copy of the GNU Library General Public</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>* License along with this library; if not, write to the</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> <span class='comment'>* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> <span class='comment'>* Boston, MA 02110-1301, USA.</span></td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"><span class='directive'>#include "config.h"</span></td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#include "eggsmclient.h"</span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"><span class='directive'>#include "eggsmclient-private.h"</span></td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#include "eggdesktopfile.h"</span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"><span class='directive'>#include &lt;<span class='macro'>errno<span class='macro_popup'>(*__errno_location ())</span></span>.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"><span class='directive'>#include &lt;fcntl.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"><span class='directive'>#include &lt;stdlib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"><span class='directive'>#include &lt;string.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"><span class='directive'>#include &lt;unistd.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"><span class='directive'>#include &lt;X11/SM/SMlib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line"><span class='directive'>#include &lt;gtk/gtk.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"><span class='directive'>#include &lt;gdk/gdk.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line"><span class='directive'>#if defined(GDK_WINDOWING_X11) || defined(HAVE_X11)</span></td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"><span class='directive'>#include &lt;gdk/gdkx.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line"><span class='directive'>#define <span class='macro'>EGG_TYPE_SM_CLIENT_XSMP<span class='macro_popup'>(egg_sm_client_xsmp_get_type ())</span></span> (egg_sm_client_xsmp_get_type ())</span></td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line"><span class='directive'>#define <span class='macro'>EGG_SM_CLIENT_XSMP(obj)<span class='macro_popup'>((((EggSMClientXSMP*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((obj)), ((egg_sm_client_xsmp_get_type ()))))))</span></span> (<span class='macro'>G_TYPE_CHECK_INSTANCE_CAST ((obj), EGG_TYPE_SM_CLIENT_XSMP, EggSMClientXSMP)<span class='macro_popup'>(((EggSMClientXSMP*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((obj)), ((egg_sm_client_xsmp_get_type ())))))</span></span>)</span></td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"><span class='directive'>#define <span class='macro'>EGG_SM_CLIENT_XSMP_CLASS(klass)<span class='macro_popup'>((((EggSMClientXSMPClass*) (void *) g_type_check_class_cast (<br>(GTypeClass*) ((klass)), ((egg_sm_client_xsmp_get_type ()))))<br>))</span></span> (<span class='macro'>G_TYPE_CHECK_CLASS_CAST ((klass), EGG_TYPE_SM_CLIENT_XSMP, EggSMClientXSMPClass)<span class='macro_popup'>(((EggSMClientXSMPClass*) (void *) g_type_check_class_cast ((<br>GTypeClass*) ((klass)), ((egg_sm_client_xsmp_get_type ())))))</span></span>)</span></td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line"><span class='directive'>#define <span class='macro'>EGG_IS_SM_CLIENT_XSMP(obj)<span class='macro_popup'>(((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) (<br>(obj)); GType __t = ((egg_sm_client_xsmp_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; }))))</span></span> (<span class='macro'>G_TYPE_CHECK_INSTANCE_TYPE ((obj), EGG_TYPE_SM_CLIENT_XSMP)<span class='macro_popup'>((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) (<br>(obj)); GType __t = ((egg_sm_client_xsmp_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))</span></span>)</span></td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"><span class='directive'>#define <span class='macro'>EGG_IS_SM_CLIENT_XSMP_CLASS(klass)<span class='macro_popup'>(((__extension__ ({ GTypeClass *__class = (GTypeClass*) ((klass<br>)); GType __t = ((egg_sm_client_xsmp_get_type ())); gboolean __r<br>; if (!__class) __r = (0); else if (__class-&gt;g_type == __t<br>) __r = (!(0)); else __r = g_type_check_class_is_a (__class, __t<br>); __r; }))))</span></span> (<span class='macro'>G_TYPE_CHECK_CLASS_TYPE ((klass), EGG_TYPE_SM_CLIENT_XSMP)<span class='macro_popup'>((__extension__ ({ GTypeClass *__class = (GTypeClass*) ((klass<br>)); GType __t = ((egg_sm_client_xsmp_get_type ())); gboolean __r<br>; if (!__class) __r = (0); else if (__class-&gt;g_type == __t<br>) __r = (!(0)); else __r = g_type_check_class_is_a (__class, __t<br>); __r; })))</span></span>)</span></td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line"><span class='directive'>#define <span class='macro'>EGG_SM_CLIENT_XSMP_GET_CLASS(obj)<span class='macro_popup'>((((EggSMClientXSMPClass*) (((GTypeInstance*) ((obj)))-&gt;g_class<br>))))</span></span> (<span class='macro'>G_TYPE_INSTANCE_GET_CLASS ((obj), EGG_TYPE_SM_CLIENT_XSMP, EggSMClientXSMPClass)<span class='macro_popup'>(((EggSMClientXSMPClass*) (((GTypeInstance*) ((obj)))-&gt;g_class<br>)))</span></span>)</span></td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span> _EggSMClientXSMP EggSMClientXSMP;</td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span> _EggSMClientXSMPClass EggSMClientXSMPClass;</td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"><span class='comment'>/* These mostly correspond to the similarly-named states in section</span></td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line"> <span class='comment'>* 9.1 of the XSMP spec. Some of the states there aren't represented</span></td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line"> <span class='comment'>* here, because we don't need them. SHUTDOWN_CANCELLED is slightly</span></td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line"> <span class='comment'>* different from the spec; we use it when the client is IDLE after a</span></td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line"> <span class='comment'>* ShutdownCancelled message, but the application is still interacting</span></td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line"> <span class='comment'>* and doesn't know the shutdown has been cancelled yet.</span></td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>enum</span></td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"> XSMP_STATE_IDLE,</td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line"> XSMP_STATE_SAVE_YOURSELF,</td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line"> XSMP_STATE_INTERACT_REQUEST,</td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"> XSMP_STATE_INTERACT,</td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"> XSMP_STATE_SAVE_YOURSELF_DONE,</td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line"> XSMP_STATE_SHUTDOWN_CANCELLED,</td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line"> XSMP_STATE_CONNECTION_CLOSED</td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line">} EggSMClientXSMPState;</td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>const</span> <span class='keyword'>char</span> *state_names[] =</td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line"> <span class='string_literal'>"idle"</span>,</td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line"> <span class='string_literal'>"save-yourself"</span>,</td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line"> <span class='string_literal'>"interact-request"</span>,</td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"> <span class='string_literal'>"interact"</span>,</td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"> <span class='string_literal'>"save-yourself-done"</span>,</td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line"> <span class='string_literal'>"shutdown-cancelled"</span>,</td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line"> <span class='string_literal'>"connection-closed"</span></td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"><span class='directive'>#define <span class='macro'>EGG_SM_CLIENT_XSMP_STATE(xsmp)<span class='macro_popup'>(state_names[(xsmp)-&gt;state])</span></span> (state_names[(xsmp)-&gt;state])</span></td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line"><span class='keyword'>struct</span> _EggSMClientXSMP</td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"> EggSMClient parent;</td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line"> SmcConn connection;</td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"> <span class='keyword'>char</span> *client_id;</td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line"> EggSMClientXSMPState state;</td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line"> <span class='keyword'>char</span> **restart_command;</td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> gboolean set_restart_command;</td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"> <span class='keyword'>int</span> restart_style;</td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"> <span class='keyword'>char</span> **discard_command;</td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"> gboolean set_discard_command;</td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"> guint idle;</td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> <span class='comment'>/* Current SaveYourself state */</span></td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"> guint expecting_initial_save_yourself : 1;</td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line"> guint need_save_state : 1;</td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"> guint need_quit_requested : 1;</td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line"> guint interact_errors : 1;</td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> guint shutting_down : 1;</td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line"> <span class='comment'>/* Todo list */</span></td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line"> guint waiting_to_set_initial_properties : 1;</td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line"> guint waiting_to_emit_quit : 1;</td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line"> guint waiting_to_emit_quit_cancelled : 1;</td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line"> guint waiting_to_save_myself : 1;</td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"><span class='keyword'>struct</span> _EggSMClientXSMPClass</td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line"> EggSMClientClass parent_class;</td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> sm_client_xsmp_startup (EggSMClient *client,</td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *client_id);</td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> sm_client_xsmp_set_restart_command (EggSMClient *client,</td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> <span class='keyword'>int</span> argc,</td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> **argv);</td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> sm_client_xsmp_set_discard_command (EggSMClient *client,</td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> <span class='keyword'>int</span> argc,</td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> **argv);</td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> sm_client_xsmp_will_quit (EggSMClient *client,</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"> gboolean will_quit);</td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"><span class='keyword'>static</span> gboolean sm_client_xsmp_end_session (EggSMClient *client,</td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> EggSMClientEndStyle style,</td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"> gboolean request_confirmation);</td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> xsmp_save_yourself (SmcConn smc_conn,</td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line"> SmPointer client_data,</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"> <span class='keyword'>int</span> save_style,</td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"> <span class='macro'>Bool<span class='macro_popup'>int</span></span> shutdown,</td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line"> <span class='keyword'>int</span> interact_style,</td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"> <span class='macro'>Bool<span class='macro_popup'>int</span></span> fast);</td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> xsmp_die (SmcConn smc_conn,</td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line"> SmPointer client_data);</td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> xsmp_save_complete (SmcConn smc_conn,</td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line"> SmPointer client_data);</td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> xsmp_shutdown_cancelled (SmcConn smc_conn,</td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"> SmPointer client_data);</td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> xsmp_interact (SmcConn smc_conn,</td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line"> SmPointer client_data);</td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line"><span class='keyword'>static</span> SmProp *array_prop (<span class='keyword'>const</span> <span class='keyword'>char</span> *name,</td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"> ...);</td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line"><span class='keyword'>static</span> SmProp *ptrarray_prop (<span class='keyword'>const</span> <span class='keyword'>char</span> *name,</td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line"> GPtrArray *values);</td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"><span class='keyword'>static</span> SmProp *string_prop (<span class='keyword'>const</span> <span class='keyword'>char</span> *name,</td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *value);</td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line"><span class='keyword'>static</span> SmProp *card8_prop (<span class='keyword'>const</span> <span class='keyword'>char</span> *name,</td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"> <span class='keyword'>unsigned</span> <span class='keyword'>char</span> value);</td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> set_properties (EggSMClientXSMP *xsmp, ...);</td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> delete_properties (EggSMClientXSMP *xsmp, ...);</td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"><span class='keyword'>static</span> GPtrArray *generate_command (<span class='keyword'>char</span> **restart_command,</td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *client_id,</td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *state_file);</td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> save_state (EggSMClientXSMP *xsmp);</td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> do_save_yourself (EggSMClientXSMP *xsmp);</td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> update_pending_events (EggSMClientXSMP *xsmp);</td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> ice_init (<span class='keyword'>void</span>);</td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line"><span class='keyword'>static</span> gboolean process_ice_messages (IceConn ice_conn);</td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> smc_error_handler (SmcConn smc_conn,</td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"> <span class='macro'>Bool<span class='macro_popup'>int</span></span> swap,</td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line"> <span class='keyword'>int</span> offending_minor_opcode,</td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> <span class='keyword'>unsigned</span> <span class='keyword'>long</span> offending_sequence,</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> <span class='keyword'>int</span> error_class,</td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line"> <span class='keyword'>int</span> severity,</td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"> SmPointer values);</td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"><span class='macro'>G_DEFINE_TYPE (EggSMClientXSMP, egg_sm_client_xsmp, EGG_TYPE_SM_CLIENT)<span class='macro_popup'>static void egg_sm_client_xsmp_init (EggSMClientXSMP *self); static<br> void egg_sm_client_xsmp_class_init (EggSMClientXSMPClass *klass<br>); static GType egg_sm_client_xsmp_get_type_once (void); static<br> gpointer egg_sm_client_xsmp_parent_class = ((void*)0); static<br> gint EggSMClientXSMP_private_offset; static void egg_sm_client_xsmp_class_intern_init<br> (gpointer klass) { egg_sm_client_xsmp_parent_class = g_type_class_peek_parent<br> (klass); if (EggSMClientXSMP_private_offset != 0) g_type_class_adjust_private_offset<br> (klass, &amp;EggSMClientXSMP_private_offset); egg_sm_client_xsmp_class_init<br> ((EggSMClientXSMPClass*) klass); } __attribute__ ((__unused__<br>)) static inline gpointer egg_sm_client_xsmp_get_instance_private<br> (EggSMClientXSMP *self) { return (((gpointer) ((guint8*) (self<br>) + (glong) (EggSMClientXSMP_private_offset)))); } GType egg_sm_client_xsmp_get_type<br> (void) { static gsize static_g_define_type_id = 0; if ((__extension__<br> ({ _Static_assert (sizeof *(&amp;static_g_define_type_id) ==<br> sizeof (gpointer), "Expression evaluates to false"); (void) (<br>0 ? (gpointer) *(&amp;static_g_define_type_id) : ((void*)0));<br> (!(__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); __typeof__<br> (*(&amp;static_g_define_type_id)) gapg_temp_newval; __typeof__<br> ((&amp;static_g_define_type_id)) gapg_temp_atomic = (&amp;static_g_define_type_id<br>); __atomic_load (gapg_temp_atomic, &amp;gapg_temp_newval, 5)<br>; gapg_temp_newval; })) &amp;&amp; g_once_init_enter (&amp;static_g_define_type_id<br>)); }))) { GType g_define_type_id = egg_sm_client_xsmp_get_type_once<br> (); (__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); 0 ?<br> (void) (*(&amp;static_g_define_type_id) = (g_define_type_id)<br>) : (void) 0; g_once_init_leave ((&amp;static_g_define_type_id<br>), (gsize) (g_define_type_id)); })); } return static_g_define_type_id<br>; } __attribute__ ((__noinline__)) static GType egg_sm_client_xsmp_get_type_once<br> (void) { GType g_define_type_id = g_type_register_static_simple<br> ((egg_sm_client_get_type ()), g_intern_static_string ("EggSMClientXSMP"<br>), sizeof (EggSMClientXSMPClass), (GClassInitFunc)(void (*)(void<br>)) egg_sm_client_xsmp_class_intern_init, sizeof (EggSMClientXSMP<br>), (GInstanceInitFunc)(void (*)(void)) egg_sm_client_xsmp_init<br>, (GTypeFlags) 0); { {{};} } return g_define_type_id; }</span></span></td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="185"><td class="num" id="LN185">185</td><td class="line">egg_sm_client_xsmp_init (EggSMClientXSMP *xsmp)</td></tr>
+<tr class="codeline" data-linenumber="186"><td class="num" id="LN186">186</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="187"><td class="num" id="LN187">187</td><td class="line"> xsmp-&gt;state = XSMP_STATE_CONNECTION_CLOSED;</td></tr>
+<tr class="codeline" data-linenumber="188"><td class="num" id="LN188">188</td><td class="line"> xsmp-&gt;connection = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="189"><td class="num" id="LN189">189</td><td class="line"> xsmp-&gt;restart_style = <span class='macro'>SmRestartIfRunning<span class='macro_popup'>0</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="190"><td class="num" id="LN190">190</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="191"><td class="num" id="LN191">191</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="192"><td class="num" id="LN192">192</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="193"><td class="num" id="LN193">193</td><td class="line">egg_sm_client_xsmp_class_init (EggSMClientXSMPClass *klass)</td></tr>
+<tr class="codeline" data-linenumber="194"><td class="num" id="LN194">194</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="195"><td class="num" id="LN195">195</td><td class="line"> EggSMClientClass *sm_client_class = EGG_SM_CLIENT_CLASS (klass);</td></tr>
+<tr class="codeline" data-linenumber="196"><td class="num" id="LN196">196</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="197"><td class="num" id="LN197">197</td><td class="line"> sm_client_class-&gt;startup = sm_client_xsmp_startup;</td></tr>
+<tr class="codeline" data-linenumber="198"><td class="num" id="LN198">198</td><td class="line"> sm_client_class-&gt;set_restart_command = sm_client_xsmp_set_restart_command;</td></tr>
+<tr class="codeline" data-linenumber="199"><td class="num" id="LN199">199</td><td class="line"> sm_client_class-&gt;set_discard_command = sm_client_xsmp_set_discard_command;</td></tr>
+<tr class="codeline" data-linenumber="200"><td class="num" id="LN200">200</td><td class="line"> sm_client_class-&gt;will_quit = sm_client_xsmp_will_quit;</td></tr>
+<tr class="codeline" data-linenumber="201"><td class="num" id="LN201">201</td><td class="line"> sm_client_class-&gt;end_session = sm_client_xsmp_end_session;</td></tr>
+<tr class="codeline" data-linenumber="202"><td class="num" id="LN202">202</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="203"><td class="num" id="LN203">203</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="204"><td class="num" id="LN204">204</td><td class="line">EggSMClient *</td></tr>
+<tr class="codeline" data-linenumber="205"><td class="num" id="LN205">205</td><td class="line">egg_sm_client_xsmp_new (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="206"><td class="num" id="LN206">206</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="207"><td class="num" id="LN207">207</td><td class="line"> <span class='keyword'>if</span> (!g_getenv (<span class='string_literal'>"SESSION_MANAGER"</span>))</td></tr>
+<tr class="codeline" data-linenumber="208"><td class="num" id="LN208">208</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="209"><td class="num" id="LN209">209</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="210"><td class="num" id="LN210">210</td><td class="line"> <span class='keyword'>return</span> g_object_new (<span class='macro'>EGG_TYPE_SM_CLIENT_XSMP<span class='macro_popup'>(egg_sm_client_xsmp_get_type ())</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="211"><td class="num" id="LN211">211</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="212"><td class="num" id="LN212">212</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="213"><td class="num" id="LN213">213</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="214"><td class="num" id="LN214">214</td><td class="line">sm_client_xsmp_set_initial_properties (gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="215"><td class="num" id="LN215">215</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="216"><td class="num" id="LN216">216</td><td class="line"> EggSMClientXSMP *xsmp = user_data;</td></tr>
+<tr class="codeline" data-linenumber="217"><td class="num" id="LN217">217</td><td class="line"> EggDesktopFile *desktop_file;</td></tr>
+<tr class="codeline" data-linenumber="218"><td class="num" id="LN218">218</td><td class="line"> GPtrArray *clone, *restart;</td></tr>
+<tr class="codeline" data-linenumber="219"><td class="num" id="LN219">219</td><td class="line"> <span class='keyword'>char</span> pid_str[64];</td></tr>
+<tr class="codeline" data-linenumber="220"><td class="num" id="LN220">220</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="221"><td class="num" id="LN221">221</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;idle)</td></tr>
+<tr class="codeline" data-linenumber="222"><td class="num" id="LN222">222</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="223"><td class="num" id="LN223">223</td><td class="line"> g_source_remove (xsmp-&gt;idle);</td></tr>
+<tr class="codeline" data-linenumber="224"><td class="num" id="LN224">224</td><td class="line"> xsmp-&gt;idle = 0;</td></tr>
+<tr class="codeline" data-linenumber="225"><td class="num" id="LN225">225</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="226"><td class="num" id="LN226">226</td><td class="line"> xsmp-&gt;waiting_to_set_initial_properties = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="227"><td class="num" id="LN227">227</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="228"><td class="num" id="LN228">228</td><td class="line"> <span class='keyword'>if</span> (egg_sm_client_get_mode () == EGG_SM_CLIENT_MODE_NO_RESTART)</td></tr>
+<tr class="codeline" data-linenumber="229"><td class="num" id="LN229">229</td><td class="line"> xsmp-&gt;restart_style = <span class='macro'>SmRestartNever<span class='macro_popup'>3</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="230"><td class="num" id="LN230">230</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="231"><td class="num" id="LN231">231</td><td class="line"> <span class='comment'>/* Parse info out of desktop file */</span></td></tr>
+<tr class="codeline" data-linenumber="232"><td class="num" id="LN232">232</td><td class="line"> desktop_file = egg_get_desktop_file ();</td></tr>
+<tr class="codeline" data-linenumber="233"><td class="num" id="LN233">233</td><td class="line"> <span class='keyword'>if</span> (desktop_file)</td></tr>
+<tr class="codeline" data-linenumber="234"><td class="num" id="LN234">234</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="235"><td class="num" id="LN235">235</td><td class="line"> GError *err = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="236"><td class="num" id="LN236">236</td><td class="line"> <span class='keyword'>char</span> **argv;</td></tr>
+<tr class="codeline" data-linenumber="237"><td class="num" id="LN237">237</td><td class="line"> <span class='keyword'>int</span> argc;</td></tr>
+<tr class="codeline" data-linenumber="238"><td class="num" id="LN238">238</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="239"><td class="num" id="LN239">239</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;restart_style == <span class='macro'>SmRestartIfRunning<span class='macro_popup'>0</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="240"><td class="num" id="LN240">240</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="241"><td class="num" id="LN241">241</td><td class="line"> <span class='keyword'>if</span> (egg_desktop_file_get_boolean (desktop_file,</td></tr>
+<tr class="codeline" data-linenumber="242"><td class="num" id="LN242">242</td><td class="line"> <span class='string_literal'>"X-MATE-AutoRestart"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="243"><td class="num" id="LN243">243</td><td class="line"> xsmp-&gt;restart_style = <span class='macro'>SmRestartImmediately<span class='macro_popup'>2</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="244"><td class="num" id="LN244">244</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="245"><td class="num" id="LN245">245</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="246"><td class="num" id="LN246">246</td><td class="line"> <span class='keyword'>if</span> (!xsmp-&gt;set_restart_command)</td></tr>
+<tr class="codeline" data-linenumber="247"><td class="num" id="LN247">247</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="248"><td class="num" id="LN248">248</td><td class="line"> <span class='keyword'>char</span> *cmdline;</td></tr>
+<tr class="codeline" data-linenumber="249"><td class="num" id="LN249">249</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="250"><td class="num" id="LN250">250</td><td class="line"> cmdline = egg_desktop_file_parse_exec (desktop_file, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, &amp;err);</td></tr>
+<tr class="codeline" data-linenumber="251"><td class="num" id="LN251">251</td><td class="line"> <span class='keyword'>if</span> (cmdline &amp;&amp; g_shell_parse_argv (cmdline, &amp;argc, &amp;argv, &amp;err))</td></tr>
+<tr class="codeline" data-linenumber="252"><td class="num" id="LN252">252</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="253"><td class="num" id="LN253">253</td><td class="line"> egg_sm_client_set_restart_command (EGG_SM_CLIENT (xsmp),</td></tr>
+<tr class="codeline" data-linenumber="254"><td class="num" id="LN254">254</td><td class="line"> argc, (<span class='keyword'>const</span> <span class='keyword'>char</span> **)argv);</td></tr>
+<tr class="codeline" data-linenumber="255"><td class="num" id="LN255">255</td><td class="line"> g_strfreev (argv);</td></tr>
+<tr class="codeline" data-linenumber="256"><td class="num" id="LN256">256</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="257"><td class="num" id="LN257">257</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="258"><td class="num" id="LN258">258</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="259"><td class="num" id="LN259">259</td><td class="line"> g_warning (<span class='string_literal'>"Could not parse Exec line in desktop file: %s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="260"><td class="num" id="LN260">260</td><td class="line"> err-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="261"><td class="num" id="LN261">261</td><td class="line"> g_error_free (err);</td></tr>
+<tr class="codeline" data-linenumber="262"><td class="num" id="LN262">262</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="263"><td class="num" id="LN263">263</td><td class="line"> g_free (cmdline);</td></tr>
+<tr class="codeline" data-linenumber="264"><td class="num" id="LN264">264</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="265"><td class="num" id="LN265">265</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="266"><td class="num" id="LN266">266</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="267"><td class="num" id="LN267">267</td><td class="line"> <span class='keyword'>if</span> (!xsmp-&gt;set_restart_command)</td></tr>
+<tr class="codeline" data-linenumber="268"><td class="num" id="LN268">268</td><td class="line"> xsmp-&gt;restart_command = g_strsplit (g_get_prgname (), <span class='string_literal'>" "</span>, -1);</td></tr>
+<tr class="codeline" data-linenumber="269"><td class="num" id="LN269">269</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="270"><td class="num" id="LN270">270</td><td class="line"> clone = generate_command (xsmp-&gt;restart_command, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="271"><td class="num" id="LN271">271</td><td class="line"> restart = generate_command (xsmp-&gt;restart_command, xsmp-&gt;client_id, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="272"><td class="num" id="LN272">272</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="273"><td class="num" id="LN273">273</td><td class="line"> g_debug (<span class='string_literal'>"Setting initial properties"</span>);</td></tr>
+<tr class="codeline" data-linenumber="274"><td class="num" id="LN274">274</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="275"><td class="num" id="LN275">275</td><td class="line"> <span class='comment'>/* Program, CloneCommand, RestartCommand, and UserID are required.</span></td></tr>
+<tr class="codeline" data-linenumber="276"><td class="num" id="LN276">276</td><td class="line"> <span class='comment'>* ProcessID isn't required, but the SM may be able to do something</span></td></tr>
+<tr class="codeline" data-linenumber="277"><td class="num" id="LN277">277</td><td class="line"> <span class='comment'>* useful with it.</span></td></tr>
+<tr class="codeline" data-linenumber="278"><td class="num" id="LN278">278</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="279"><td class="num" id="LN279">279</td><td class="line"> g_snprintf (pid_str, <span class='keyword'>sizeof</span> (pid_str), <span class='string_literal'>"%lu"</span>, (gulong) getpid ());</td></tr>
+<tr class="codeline" data-linenumber="280"><td class="num" id="LN280">280</td><td class="line"> set_properties (xsmp,</td></tr>
+<tr class="codeline" data-linenumber="281"><td class="num" id="LN281">281</td><td class="line"> string_prop (<span class='macro'>SmProgram<span class='macro_popup'>"Program"</span></span>, g_get_prgname ()),</td></tr>
+<tr class="codeline" data-linenumber="282"><td class="num" id="LN282">282</td><td class="line"> ptrarray_prop (<span class='macro'>SmCloneCommand<span class='macro_popup'>"CloneCommand"</span></span>, clone),</td></tr>
+<tr class="codeline" data-linenumber="283"><td class="num" id="LN283">283</td><td class="line"> ptrarray_prop (<span class='macro'>SmRestartCommand<span class='macro_popup'>"RestartCommand"</span></span>, restart),</td></tr>
+<tr class="codeline" data-linenumber="284"><td class="num" id="LN284">284</td><td class="line"> string_prop (<span class='macro'>SmUserID<span class='macro_popup'>"UserID"</span></span>, g_get_user_name ()),</td></tr>
+<tr class="codeline" data-linenumber="285"><td class="num" id="LN285">285</td><td class="line"> string_prop (<span class='macro'>SmProcessID<span class='macro_popup'>"ProcessID"</span></span>, pid_str),</td></tr>
+<tr class="codeline" data-linenumber="286"><td class="num" id="LN286">286</td><td class="line"> card8_prop (<span class='macro'>SmRestartStyleHint<span class='macro_popup'>"RestartStyleHint"</span></span>, xsmp-&gt;restart_style),</td></tr>
+<tr class="codeline" data-linenumber="287"><td class="num" id="LN287">287</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="288"><td class="num" id="LN288">288</td><td class="line"> g_ptr_array_free (clone, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="289"><td class="num" id="LN289">289</td><td class="line"> g_ptr_array_free (restart, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="290"><td class="num" id="LN290">290</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="291"><td class="num" id="LN291">291</td><td class="line"> <span class='keyword'>if</span> (desktop_file)</td></tr>
+<tr class="codeline" data-linenumber="292"><td class="num" id="LN292">292</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="293"><td class="num" id="LN293">293</td><td class="line"> set_properties (xsmp,</td></tr>
+<tr class="codeline" data-linenumber="294"><td class="num" id="LN294">294</td><td class="line"> string_prop (<span class='string_literal'>"_GSM_DesktopFile"</span>, egg_desktop_file_get_source (desktop_file)),</td></tr>
+<tr class="codeline" data-linenumber="295"><td class="num" id="LN295">295</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="296"><td class="num" id="LN296">296</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="297"><td class="num" id="LN297">297</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="298"><td class="num" id="LN298">298</td><td class="line"> update_pending_events (xsmp);</td></tr>
+<tr class="codeline" data-linenumber="299"><td class="num" id="LN299">299</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="300"><td class="num" id="LN300">300</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="301"><td class="num" id="LN301">301</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="302"><td class="num" id="LN302">302</td><td class="line"><span class='comment'>/* This gets called from two different places: xsmp_die() (when the</span></td></tr>
+<tr class="codeline" data-linenumber="303"><td class="num" id="LN303">303</td><td class="line"> <span class='comment'>* server asks us to disconnect) and process_ice_messages() (when the</span></td></tr>
+<tr class="codeline" data-linenumber="304"><td class="num" id="LN304">304</td><td class="line"> <span class='comment'>* server disconnects unexpectedly).</span></td></tr>
+<tr class="codeline" data-linenumber="305"><td class="num" id="LN305">305</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="306"><td class="num" id="LN306">306</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="307"><td class="num" id="LN307">307</td><td class="line">sm_client_xsmp_disconnect (EggSMClientXSMP *xsmp)</td></tr>
+<tr class="codeline" data-linenumber="308"><td class="num" id="LN308">308</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="309"><td class="num" id="LN309">309</td><td class="line"> SmcConn connection;</td></tr>
+<tr class="codeline" data-linenumber="310"><td class="num" id="LN310">310</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="311"><td class="num" id="LN311">311</td><td class="line"> <span class='keyword'>if</span> (!xsmp-&gt;connection)</td></tr>
+<tr class="codeline" data-linenumber="312"><td class="num" id="LN312">312</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="313"><td class="num" id="LN313">313</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="314"><td class="num" id="LN314">314</td><td class="line"> g_debug (<span class='string_literal'>"Disconnecting"</span>);</td></tr>
+<tr class="codeline" data-linenumber="315"><td class="num" id="LN315">315</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="316"><td class="num" id="LN316">316</td><td class="line"> connection = xsmp-&gt;connection;</td></tr>
+<tr class="codeline" data-linenumber="317"><td class="num" id="LN317">317</td><td class="line"> xsmp-&gt;connection = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="318"><td class="num" id="LN318">318</td><td class="line"> SmcCloseConnection (connection, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="319"><td class="num" id="LN319">319</td><td class="line"> xsmp-&gt;state = XSMP_STATE_CONNECTION_CLOSED;</td></tr>
+<tr class="codeline" data-linenumber="320"><td class="num" id="LN320">320</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="321"><td class="num" id="LN321">321</td><td class="line"> xsmp-&gt;waiting_to_save_myself = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="322"><td class="num" id="LN322">322</td><td class="line"> update_pending_events (xsmp);</td></tr>
+<tr class="codeline" data-linenumber="323"><td class="num" id="LN323">323</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="324"><td class="num" id="LN324">324</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="325"><td class="num" id="LN325">325</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="326"><td class="num" id="LN326">326</td><td class="line">sm_client_xsmp_startup (EggSMClient *client,</td></tr>
+<tr class="codeline" data-linenumber="327"><td class="num" id="LN327">327</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *client_id)</td></tr>
+<tr class="codeline" data-linenumber="328"><td class="num" id="LN328">328</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="329"><td class="num" id="LN329">329</td><td class="line"> EggSMClientXSMP *xsmp = (EggSMClientXSMP *)client;</td></tr>
+<tr class="codeline" data-linenumber="330"><td class="num" id="LN330">330</td><td class="line"> SmcCallbacks callbacks;</td></tr>
+<tr class="codeline" data-linenumber="331"><td class="num" id="LN331">331</td><td class="line"> <span class='keyword'>char</span> *ret_client_id;</td></tr>
+<tr class="codeline" data-linenumber="332"><td class="num" id="LN332">332</td><td class="line"> <span class='keyword'>char</span> error_string_ret[256];</td></tr>
+<tr class="codeline" data-linenumber="333"><td class="num" id="LN333">333</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="334"><td class="num" id="LN334">334</td><td class="line"> xsmp-&gt;client_id = <span class='macro'>g_strdup (client_id)<span class='macro_popup'>g_strdup_inline (client_id)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="335"><td class="num" id="LN335">335</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="336"><td class="num" id="LN336">336</td><td class="line"> ice_init ();</td></tr>
+<tr class="codeline" data-linenumber="337"><td class="num" id="LN337">337</td><td class="line"> SmcSetErrorHandler (smc_error_handler);</td></tr>
+<tr class="codeline" data-linenumber="338"><td class="num" id="LN338">338</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="339"><td class="num" id="LN339">339</td><td class="line"> callbacks.save_yourself.callback = xsmp_save_yourself;</td></tr>
+<tr class="codeline" data-linenumber="340"><td class="num" id="LN340">340</td><td class="line"> callbacks.die.callback = xsmp_die;</td></tr>
+<tr class="codeline" data-linenumber="341"><td class="num" id="LN341">341</td><td class="line"> callbacks.save_complete.callback = xsmp_save_complete;</td></tr>
+<tr class="codeline" data-linenumber="342"><td class="num" id="LN342">342</td><td class="line"> callbacks.shutdown_cancelled.callback = xsmp_shutdown_cancelled;</td></tr>
+<tr class="codeline" data-linenumber="343"><td class="num" id="LN343">343</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="344"><td class="num" id="LN344">344</td><td class="line"> callbacks.save_yourself.client_data = xsmp;</td></tr>
+<tr class="codeline" data-linenumber="345"><td class="num" id="LN345">345</td><td class="line"> callbacks.die.client_data = xsmp;</td></tr>
+<tr class="codeline" data-linenumber="346"><td class="num" id="LN346">346</td><td class="line"> callbacks.save_complete.client_data = xsmp;</td></tr>
+<tr class="codeline" data-linenumber="347"><td class="num" id="LN347">347</td><td class="line"> callbacks.shutdown_cancelled.client_data = xsmp;</td></tr>
+<tr class="codeline" data-linenumber="348"><td class="num" id="LN348">348</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="349"><td class="num" id="LN349">349</td><td class="line"> client_id = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="350"><td class="num" id="LN350">350</td><td class="line"> error_string_ret[0] = '\0';</td></tr>
+<tr class="codeline" data-linenumber="351"><td class="num" id="LN351">351</td><td class="line"> xsmp-&gt;connection =</td></tr>
+<tr class="codeline" data-linenumber="352"><td class="num" id="LN352">352</td><td class="line"> SmcOpenConnection (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, xsmp, <span class='macro'>SmProtoMajor<span class='macro_popup'>1</span></span>, <span class='macro'>SmProtoMinor<span class='macro_popup'>0</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="353"><td class="num" id="LN353">353</td><td class="line"> <span class='macro'>SmcSaveYourselfProcMask<span class='macro_popup'>(1L &lt;&lt; 0)</span></span> | <span class='macro'>SmcDieProcMask<span class='macro_popup'>(1L &lt;&lt; 1)</span></span> |</td></tr>
+<tr class="codeline" data-linenumber="354"><td class="num" id="LN354">354</td><td class="line"> <span class='macro'>SmcSaveCompleteProcMask<span class='macro_popup'>(1L &lt;&lt; 2)</span></span> |</td></tr>
+<tr class="codeline" data-linenumber="355"><td class="num" id="LN355">355</td><td class="line"> <span class='macro'>SmcShutdownCancelledProcMask<span class='macro_popup'>(1L &lt;&lt; 3)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="356"><td class="num" id="LN356">356</td><td class="line"> &amp;callbacks,</td></tr>
+<tr class="codeline" data-linenumber="357"><td class="num" id="LN357">357</td><td class="line"> xsmp-&gt;client_id, &amp;ret_client_id,</td></tr>
+<tr class="codeline" data-linenumber="358"><td class="num" id="LN358">358</td><td class="line"> <span class='keyword'>sizeof</span> (error_string_ret), error_string_ret);</td></tr>
+<tr class="codeline" data-linenumber="359"><td class="num" id="LN359">359</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="360"><td class="num" id="LN360">360</td><td class="line"> <span class='keyword'>if</span> (!xsmp-&gt;connection)</td></tr>
+<tr class="codeline" data-linenumber="361"><td class="num" id="LN361">361</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="362"><td class="num" id="LN362">362</td><td class="line"> g_warning (<span class='string_literal'>"Failed to connect to the session manager: %s\n"</span>,</td></tr>
+<tr class="codeline" data-linenumber="363"><td class="num" id="LN363">363</td><td class="line"> error_string_ret[0] ?</td></tr>
+<tr class="codeline" data-linenumber="364"><td class="num" id="LN364">364</td><td class="line"> error_string_ret : <span class='string_literal'>"no error message given"</span>);</td></tr>
+<tr class="codeline" data-linenumber="365"><td class="num" id="LN365">365</td><td class="line"> xsmp-&gt;state = XSMP_STATE_CONNECTION_CLOSED;</td></tr>
+<tr class="codeline" data-linenumber="366"><td class="num" id="LN366">366</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="367"><td class="num" id="LN367">367</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="368"><td class="num" id="LN368">368</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="369"><td class="num" id="LN369">369</td><td class="line"> <span class='comment'>/* We expect a pointless initial SaveYourself if either (a) we</span></td></tr>
+<tr class="codeline" data-linenumber="370"><td class="num" id="LN370">370</td><td class="line"> <span class='comment'>* didn't have an initial client ID, or (b) we DID have an initial</span></td></tr>
+<tr class="codeline" data-linenumber="371"><td class="num" id="LN371">371</td><td class="line"> <span class='comment'>* client ID, but the server rejected it and gave us a new one.</span></td></tr>
+<tr class="codeline" data-linenumber="372"><td class="num" id="LN372">372</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="373"><td class="num" id="LN373">373</td><td class="line"> <span class='keyword'>if</span> (!xsmp-&gt;client_id ||</td></tr>
+<tr class="codeline" data-linenumber="374"><td class="num" id="LN374">374</td><td class="line"> (ret_client_id &amp;&amp; strcmp (xsmp-&gt;client_id, ret_client_id) != 0))</td></tr>
+<tr class="codeline" data-linenumber="375"><td class="num" id="LN375">375</td><td class="line"> xsmp-&gt;expecting_initial_save_yourself = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="376"><td class="num" id="LN376">376</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="377"><td class="num" id="LN377">377</td><td class="line"> <span class='keyword'>if</span> (ret_client_id)</td></tr>
+<tr class="codeline" data-linenumber="378"><td class="num" id="LN378">378</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="379"><td class="num" id="LN379">379</td><td class="line"> g_free (xsmp-&gt;client_id);</td></tr>
+<tr class="codeline" data-linenumber="380"><td class="num" id="LN380">380</td><td class="line"> xsmp-&gt;client_id = <span class='macro'>g_strdup (ret_client_id)<span class='macro_popup'>g_strdup_inline (ret_client_id)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="381"><td class="num" id="LN381">381</td><td class="line"> free (ret_client_id);</td></tr>
+<tr class="codeline" data-linenumber="382"><td class="num" id="LN382">382</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="383"><td class="num" id="LN383">383</td><td class="line"><span class='directive'>#if defined(GDK_WINDOWING_X11) || defined(HAVE_X11)</span></td></tr>
+<tr class="codeline" data-linenumber="384"><td class="num" id="LN384">384</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>GDK_IS_X11_DISPLAY (gdk_display_get_default ())<span class='macro_popup'>(((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) (<br>(gdk_display_get_default ())); GType __t = ((gdk_x11_display_get_type<br>())); gboolean __r; if (!__inst) __r = (0); else if (__inst-&gt;<br>g_class &amp;&amp; __inst-&gt;g_class-&gt;g_type == __t) __r =<br> (!(0)); else __r = g_type_check_instance_is_a (__inst, __t);<br> __r; }))))</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="385"><td class="num" id="LN385">385</td><td class="line"> gdk_x11_set_sm_client_id (xsmp-&gt;client_id);</td></tr>
+<tr class="codeline" data-linenumber="386"><td class="num" id="LN386">386</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="387"><td class="num" id="LN387">387</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="388"><td class="num" id="LN388">388</td><td class="line"> g_debug (<span class='string_literal'>"Got client ID \"%s\""</span>, xsmp-&gt;client_id);</td></tr>
+<tr class="codeline" data-linenumber="389"><td class="num" id="LN389">389</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="390"><td class="num" id="LN390">390</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="391"><td class="num" id="LN391">391</td><td class="line"> xsmp-&gt;state = XSMP_STATE_IDLE;</td></tr>
+<tr class="codeline" data-linenumber="392"><td class="num" id="LN392">392</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="393"><td class="num" id="LN393">393</td><td class="line"> <span class='comment'>/* Do not set the initial properties until we reach the main loop,</span></td></tr>
+<tr class="codeline" data-linenumber="394"><td class="num" id="LN394">394</td><td class="line"> <span class='comment'>* so that the application has a chance to call</span></td></tr>
+<tr class="codeline" data-linenumber="395"><td class="num" id="LN395">395</td><td class="line"> <span class='comment'>* egg_set_desktop_file(). (This may also help the session manager</span></td></tr>
+<tr class="codeline" data-linenumber="396"><td class="num" id="LN396">396</td><td class="line"> <span class='comment'>* have a better idea of when the application is fully up and</span></td></tr>
+<tr class="codeline" data-linenumber="397"><td class="num" id="LN397">397</td><td class="line"> <span class='comment'>* running.)</span></td></tr>
+<tr class="codeline" data-linenumber="398"><td class="num" id="LN398">398</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="399"><td class="num" id="LN399">399</td><td class="line"> xsmp-&gt;waiting_to_set_initial_properties = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="400"><td class="num" id="LN400">400</td><td class="line"> xsmp-&gt;idle = g_idle_add (sm_client_xsmp_set_initial_properties, client);</td></tr>
+<tr class="codeline" data-linenumber="401"><td class="num" id="LN401">401</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="402"><td class="num" id="LN402">402</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="403"><td class="num" id="LN403">403</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="404"><td class="num" id="LN404">404</td><td class="line">sm_client_xsmp_set_restart_command (EggSMClient *client,</td></tr>
+<tr class="codeline" data-linenumber="405"><td class="num" id="LN405">405</td><td class="line"> <span class='keyword'>int</span> argc,</td></tr>
+<tr class="codeline" data-linenumber="406"><td class="num" id="LN406">406</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> **argv)</td></tr>
+<tr class="codeline" data-linenumber="407"><td class="num" id="LN407">407</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="408"><td class="num" id="LN408">408</td><td class="line"> EggSMClientXSMP *xsmp = (EggSMClientXSMP *)client;</td></tr>
+<tr class="codeline" data-linenumber="409"><td class="num" id="LN409">409</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="410"><td class="num" id="LN410">410</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="411"><td class="num" id="LN411">411</td><td class="line"> g_strfreev (xsmp-&gt;restart_command);</td></tr>
+<tr class="codeline" data-linenumber="412"><td class="num" id="LN412">412</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="413"><td class="num" id="LN413">413</td><td class="line"> xsmp-&gt;restart_command = <span class='macro'>g_new (<span class='keyword'>char</span> *, argc + 1)<span class='macro_popup'>((char * *) g_malloc_n ((argc + 1), sizeof (char *)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="414"><td class="num" id="LN414">414</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; argc; i++)</td></tr>
+<tr class="codeline" data-linenumber="415"><td class="num" id="LN415">415</td><td class="line"> xsmp-&gt;restart_command[i] = <span class='macro'>g_strdup (argv[i])<span class='macro_popup'>g_strdup_inline (argv[i])</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="416"><td class="num" id="LN416">416</td><td class="line"> xsmp-&gt;restart_command[i] = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="417"><td class="num" id="LN417">417</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="418"><td class="num" id="LN418">418</td><td class="line"> xsmp-&gt;set_restart_command = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="419"><td class="num" id="LN419">419</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="420"><td class="num" id="LN420">420</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="421"><td class="num" id="LN421">421</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="422"><td class="num" id="LN422">422</td><td class="line">sm_client_xsmp_set_discard_command (EggSMClient *client,</td></tr>
+<tr class="codeline" data-linenumber="423"><td class="num" id="LN423">423</td><td class="line"> <span class='keyword'>int</span> argc,</td></tr>
+<tr class="codeline" data-linenumber="424"><td class="num" id="LN424">424</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> **argv)</td></tr>
+<tr class="codeline" data-linenumber="425"><td class="num" id="LN425">425</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="426"><td class="num" id="LN426">426</td><td class="line"> EggSMClientXSMP *xsmp = (EggSMClientXSMP *)client;</td></tr>
+<tr class="codeline" data-linenumber="427"><td class="num" id="LN427">427</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="428"><td class="num" id="LN428">428</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="429"><td class="num" id="LN429">429</td><td class="line"> g_strfreev (xsmp-&gt;discard_command);</td></tr>
+<tr class="codeline" data-linenumber="430"><td class="num" id="LN430">430</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="431"><td class="num" id="LN431">431</td><td class="line"> xsmp-&gt;discard_command = <span class='macro'>g_new (<span class='keyword'>char</span> *, argc + 1)<span class='macro_popup'>((char * *) g_malloc_n ((argc + 1), sizeof (char *)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="432"><td class="num" id="LN432">432</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; argc; i++)</td></tr>
+<tr class="codeline" data-linenumber="433"><td class="num" id="LN433">433</td><td class="line"> xsmp-&gt;discard_command[i] = <span class='macro'>g_strdup (argv[i])<span class='macro_popup'>g_strdup_inline (argv[i])</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="434"><td class="num" id="LN434">434</td><td class="line"> xsmp-&gt;discard_command[i] = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="435"><td class="num" id="LN435">435</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="436"><td class="num" id="LN436">436</td><td class="line"> xsmp-&gt;set_discard_command = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="437"><td class="num" id="LN437">437</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="438"><td class="num" id="LN438">438</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="439"><td class="num" id="LN439">439</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="440"><td class="num" id="LN440">440</td><td class="line">sm_client_xsmp_will_quit (EggSMClient *client,</td></tr>
+<tr class="codeline" data-linenumber="441"><td class="num" id="LN441">441</td><td class="line"> gboolean will_quit)</td></tr>
+<tr class="codeline" data-linenumber="442"><td class="num" id="LN442">442</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="443"><td class="num" id="LN443">443</td><td class="line"> EggSMClientXSMP *xsmp = (EggSMClientXSMP *)client;</td></tr>
+<tr class="codeline" data-linenumber="444"><td class="num" id="LN444">444</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="445"><td class="num" id="LN445">445</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;state == XSMP_STATE_CONNECTION_CLOSED)</td></tr>
+<tr class="codeline" data-linenumber="446"><td class="num" id="LN446">446</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="447"><td class="num" id="LN447">447</td><td class="line"> <span class='comment'>/* The session manager has already exited! Schedule a quit</span></td></tr>
+<tr class="codeline" data-linenumber="448"><td class="num" id="LN448">448</td><td class="line"> <span class='comment'>* signal.</span></td></tr>
+<tr class="codeline" data-linenumber="449"><td class="num" id="LN449">449</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="450"><td class="num" id="LN450">450</td><td class="line"> xsmp-&gt;waiting_to_emit_quit = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="451"><td class="num" id="LN451">451</td><td class="line"> update_pending_events (xsmp);</td></tr>
+<tr class="codeline" data-linenumber="452"><td class="num" id="LN452">452</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="453"><td class="num" id="LN453">453</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="454"><td class="num" id="LN454">454</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (xsmp-&gt;state == XSMP_STATE_SHUTDOWN_CANCELLED)</td></tr>
+<tr class="codeline" data-linenumber="455"><td class="num" id="LN455">455</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="456"><td class="num" id="LN456">456</td><td class="line"> <span class='comment'>/* We received a ShutdownCancelled message while the application</span></td></tr>
+<tr class="codeline" data-linenumber="457"><td class="num" id="LN457">457</td><td class="line"> <span class='comment'>* was interacting; Schedule a quit_cancelled signal.</span></td></tr>
+<tr class="codeline" data-linenumber="458"><td class="num" id="LN458">458</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="459"><td class="num" id="LN459">459</td><td class="line"> xsmp-&gt;waiting_to_emit_quit_cancelled = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="460"><td class="num" id="LN460">460</td><td class="line"> update_pending_events (xsmp);</td></tr>
+<tr class="codeline" data-linenumber="461"><td class="num" id="LN461">461</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="462"><td class="num" id="LN462">462</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="463"><td class="num" id="LN463">463</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="464"><td class="num" id="LN464">464</td><td class="line"> <span class='macro'>g_return_if_fail (xsmp-&gt;state == XSMP_STATE_INTERACT)<span class='macro_popup'>do { if ((xsmp-&gt;state == XSMP_STATE_INTERACT)) { } else { g_return_if_fail_warning<br> ("EggSMClient", ((const char*) (__func__)), "xsmp-&gt;state == XSMP_STATE_INTERACT"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="465"><td class="num" id="LN465">465</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="466"><td class="num" id="LN466">466</td><td class="line"> g_debug (<span class='string_literal'>"Sending InteractDone(%s)"</span>, will_quit ? <span class='string_literal'>"False"</span> : <span class='string_literal'>"True"</span>);</td></tr>
+<tr class="codeline" data-linenumber="467"><td class="num" id="LN467">467</td><td class="line"> SmcInteractDone (xsmp-&gt;connection, !will_quit);</td></tr>
+<tr class="codeline" data-linenumber="468"><td class="num" id="LN468">468</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="469"><td class="num" id="LN469">469</td><td class="line"> <span class='keyword'>if</span> (will_quit &amp;&amp; xsmp-&gt;need_save_state)</td></tr>
+<tr class="codeline" data-linenumber="470"><td class="num" id="LN470">470</td><td class="line"> save_state (xsmp);</td></tr>
+<tr class="codeline" data-linenumber="471"><td class="num" id="LN471">471</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="472"><td class="num" id="LN472">472</td><td class="line"> g_debug (<span class='string_literal'>"Sending SaveYourselfDone(%s)"</span>, will_quit ? <span class='string_literal'>"True"</span> : <span class='string_literal'>"False"</span>);</td></tr>
+<tr class="codeline" data-linenumber="473"><td class="num" id="LN473">473</td><td class="line"> SmcSaveYourselfDone (xsmp-&gt;connection, will_quit);</td></tr>
+<tr class="codeline" data-linenumber="474"><td class="num" id="LN474">474</td><td class="line"> xsmp-&gt;state = XSMP_STATE_SAVE_YOURSELF_DONE;</td></tr>
+<tr class="codeline" data-linenumber="475"><td class="num" id="LN475">475</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="476"><td class="num" id="LN476">476</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="477"><td class="num" id="LN477">477</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="478"><td class="num" id="LN478">478</td><td class="line">sm_client_xsmp_end_session (EggSMClient *client,</td></tr>
+<tr class="codeline" data-linenumber="479"><td class="num" id="LN479">479</td><td class="line"> EggSMClientEndStyle style,</td></tr>
+<tr class="codeline" data-linenumber="480"><td class="num" id="LN480">480</td><td class="line"> gboolean request_confirmation)</td></tr>
+<tr class="codeline" data-linenumber="481"><td class="num" id="LN481">481</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="482"><td class="num" id="LN482">482</td><td class="line"> EggSMClientXSMP *xsmp = (EggSMClientXSMP *)client;</td></tr>
+<tr class="codeline" data-linenumber="483"><td class="num" id="LN483">483</td><td class="line"> <span class='keyword'>int</span> save_type;</td></tr>
+<tr class="codeline" data-linenumber="484"><td class="num" id="LN484">484</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="485"><td class="num" id="LN485">485</td><td class="line"> <span class='comment'>/* To end the session via XSMP, we have to send a</span></td></tr>
+<tr class="codeline" data-linenumber="486"><td class="num" id="LN486">486</td><td class="line"> <span class='comment'>* SaveYourselfRequest. We aren't allowed to do that if anything</span></td></tr>
+<tr class="codeline" data-linenumber="487"><td class="num" id="LN487">487</td><td class="line"> <span class='comment'>* else is going on, but we don't want to expose this fact to the</span></td></tr>
+<tr class="codeline" data-linenumber="488"><td class="num" id="LN488">488</td><td class="line"> <span class='comment'>* application. So we do our best to patch things up here...</span></td></tr>
+<tr class="codeline" data-linenumber="489"><td class="num" id="LN489">489</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="490"><td class="num" id="LN490">490</td><td class="line"> <span class='comment'>* In the worst case, this method might block for some length of</span></td></tr>
+<tr class="codeline" data-linenumber="491"><td class="num" id="LN491">491</td><td class="line"> <span class='comment'>* time in process_ice_messages, but the only time that code path is</span></td></tr>
+<tr class="codeline" data-linenumber="492"><td class="num" id="LN492">492</td><td class="line"> <span class='comment'>* honestly likely to get hit is if the application tries to end the</span></td></tr>
+<tr class="codeline" data-linenumber="493"><td class="num" id="LN493">493</td><td class="line"> <span class='comment'>* session as the very first thing it does, in which case it</span></td></tr>
+<tr class="codeline" data-linenumber="494"><td class="num" id="LN494">494</td><td class="line"> <span class='comment'>* probably won't actually block anyway. It's not worth gunking up</span></td></tr>
+<tr class="codeline" data-linenumber="495"><td class="num" id="LN495">495</td><td class="line"> <span class='comment'>* the API to try to deal nicely with the other 0.01% of cases where</span></td></tr>
+<tr class="codeline" data-linenumber="496"><td class="num" id="LN496">496</td><td class="line"> <span class='comment'>* this happens.</span></td></tr>
+<tr class="codeline" data-linenumber="497"><td class="num" id="LN497">497</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="498"><td class="num" id="LN498">498</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="499"><td class="num" id="LN499">499</td><td class="line"> <span class='keyword'>while</span> (xsmp-&gt;state != XSMP_STATE_IDLE ||</td></tr>
+<tr class="codeline" data-linenumber="500"><td class="num" id="LN500">500</td><td class="line"> xsmp-&gt;expecting_initial_save_yourself)</td></tr>
+<tr class="codeline" data-linenumber="501"><td class="num" id="LN501">501</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="502"><td class="num" id="LN502">502</td><td class="line"> <span class='comment'>/* If we're already shutting down, we don't need to do anything. */</span></td></tr>
+<tr class="codeline" data-linenumber="503"><td class="num" id="LN503">503</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;shutting_down)</td></tr>
+<tr class="codeline" data-linenumber="504"><td class="num" id="LN504">504</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="505"><td class="num" id="LN505">505</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="506"><td class="num" id="LN506">506</td><td class="line"> <span class='keyword'>switch</span> (xsmp-&gt;state)</td></tr>
+<tr class="codeline" data-linenumber="507"><td class="num" id="LN507">507</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="508"><td class="num" id="LN508">508</td><td class="line"> <span class='keyword'>case</span> XSMP_STATE_CONNECTION_CLOSED:</td></tr>
+<tr class="codeline" data-linenumber="509"><td class="num" id="LN509">509</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="510"><td class="num" id="LN510">510</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="511"><td class="num" id="LN511">511</td><td class="line"> <span class='keyword'>case</span> XSMP_STATE_SAVE_YOURSELF:</td></tr>
+<tr class="codeline" data-linenumber="512"><td class="num" id="LN512">512</td><td class="line"> <span class='comment'>/* Trying to log out from the save_state callback? Whatever.</span></td></tr>
+<tr class="codeline" data-linenumber="513"><td class="num" id="LN513">513</td><td class="line"> <span class='comment'>* Abort the save_state.</span></td></tr>
+<tr class="codeline" data-linenumber="514"><td class="num" id="LN514">514</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="515"><td class="num" id="LN515">515</td><td class="line"> SmcSaveYourselfDone (xsmp-&gt;connection, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="516"><td class="num" id="LN516">516</td><td class="line"> xsmp-&gt;state = XSMP_STATE_SAVE_YOURSELF_DONE;</td></tr>
+<tr class="codeline" data-linenumber="517"><td class="num" id="LN517">517</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="518"><td class="num" id="LN518">518</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="519"><td class="num" id="LN519">519</td><td class="line"> <span class='keyword'>case</span> XSMP_STATE_INTERACT_REQUEST:</td></tr>
+<tr class="codeline" data-linenumber="520"><td class="num" id="LN520">520</td><td class="line"> <span class='keyword'>case</span> XSMP_STATE_INTERACT:</td></tr>
+<tr class="codeline" data-linenumber="521"><td class="num" id="LN521">521</td><td class="line"> <span class='keyword'>case</span> XSMP_STATE_SHUTDOWN_CANCELLED:</td></tr>
+<tr class="codeline" data-linenumber="522"><td class="num" id="LN522">522</td><td class="line"> <span class='comment'>/* Already in a shutdown-related state, just ignore</span></td></tr>
+<tr class="codeline" data-linenumber="523"><td class="num" id="LN523">523</td><td class="line"> <span class='comment'>* the new shutdown request...</span></td></tr>
+<tr class="codeline" data-linenumber="524"><td class="num" id="LN524">524</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="525"><td class="num" id="LN525">525</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="526"><td class="num" id="LN526">526</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="527"><td class="num" id="LN527">527</td><td class="line"> <span class='keyword'>case</span> XSMP_STATE_IDLE:</td></tr>
+<tr class="codeline" data-linenumber="528"><td class="num" id="LN528">528</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;waiting_to_set_initial_properties)</td></tr>
+<tr class="codeline" data-linenumber="529"><td class="num" id="LN529">529</td><td class="line"> sm_client_xsmp_set_initial_properties (xsmp);</td></tr>
+<tr class="codeline" data-linenumber="530"><td class="num" id="LN530">530</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="531"><td class="num" id="LN531">531</td><td class="line"> <span class='keyword'>if</span> (!xsmp-&gt;expecting_initial_save_yourself)</td></tr>
+<tr class="codeline" data-linenumber="532"><td class="num" id="LN532">532</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="533"><td class="num" id="LN533">533</td><td class="line"> <span class='comment'>/* else fall through */</span></td></tr>
+<tr class="codeline" data-linenumber="534"><td class="num" id="LN534">534</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="535"><td class="num" id="LN535">535</td><td class="line"> <span class='keyword'>case</span> XSMP_STATE_SAVE_YOURSELF_DONE:</td></tr>
+<tr class="codeline" data-linenumber="536"><td class="num" id="LN536">536</td><td class="line"> <span class='comment'>/* We need to wait for some response from the server.*/</span></td></tr>
+<tr class="codeline" data-linenumber="537"><td class="num" id="LN537">537</td><td class="line"> process_ice_messages (SmcGetIceConnection (xsmp-&gt;connection));</td></tr>
+<tr class="codeline" data-linenumber="538"><td class="num" id="LN538">538</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="539"><td class="num" id="LN539">539</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="540"><td class="num" id="LN540">540</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="541"><td class="num" id="LN541">541</td><td class="line"> <span class='comment'>/* Hm... shouldn't happen */</span></td></tr>
+<tr class="codeline" data-linenumber="542"><td class="num" id="LN542">542</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="543"><td class="num" id="LN543">543</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="544"><td class="num" id="LN544">544</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="545"><td class="num" id="LN545">545</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="546"><td class="num" id="LN546">546</td><td class="line"> <span class='comment'>/* xfce4-session will do the wrong thing if we pass SmSaveGlobal and</span></td></tr>
+<tr class="codeline" data-linenumber="547"><td class="num" id="LN547">547</td><td class="line"> <span class='comment'>* the user chooses to save the session. But mate-session will do</span></td></tr>
+<tr class="codeline" data-linenumber="548"><td class="num" id="LN548">548</td><td class="line"> <span class='comment'>* the wrong thing if we pass SmSaveBoth and the user chooses NOT to</span></td></tr>
+<tr class="codeline" data-linenumber="549"><td class="num" id="LN549">549</td><td class="line"> <span class='comment'>* save the session... Sigh.</span></td></tr>
+<tr class="codeline" data-linenumber="550"><td class="num" id="LN550">550</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="551"><td class="num" id="LN551">551</td><td class="line"> <span class='keyword'>if</span> (!strcmp (SmcVendor (xsmp-&gt;connection), <span class='string_literal'>"xfce4-session"</span>))</td></tr>
+<tr class="codeline" data-linenumber="552"><td class="num" id="LN552">552</td><td class="line"> save_type = <span class='macro'>SmSaveBoth<span class='macro_popup'>2</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="553"><td class="num" id="LN553">553</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="554"><td class="num" id="LN554">554</td><td class="line"> save_type = <span class='macro'>SmSaveGlobal<span class='macro_popup'>0</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="555"><td class="num" id="LN555">555</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="556"><td class="num" id="LN556">556</td><td class="line"> g_debug (<span class='string_literal'>"Sending SaveYourselfRequest(SmSaveGlobal, Shutdown, SmInteractStyleAny, %sFast)"</span>, request_confirmation ? <span class='string_literal'>"!"</span> : <span class='string_literal'>""</span>);</td></tr>
+<tr class="codeline" data-linenumber="557"><td class="num" id="LN557">557</td><td class="line"> SmcRequestSaveYourself (xsmp-&gt;connection,</td></tr>
+<tr class="codeline" data-linenumber="558"><td class="num" id="LN558">558</td><td class="line"> save_type,</td></tr>
+<tr class="codeline" data-linenumber="559"><td class="num" id="LN559">559</td><td class="line"> <span class='macro'>True<span class='macro_popup'>1</span></span>, <span class='comment'>/* shutdown */</span></td></tr>
+<tr class="codeline" data-linenumber="560"><td class="num" id="LN560">560</td><td class="line"> <span class='macro'>SmInteractStyleAny<span class='macro_popup'>2</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="561"><td class="num" id="LN561">561</td><td class="line"> !request_confirmation, <span class='comment'>/* fast */</span></td></tr>
+<tr class="codeline" data-linenumber="562"><td class="num" id="LN562">562</td><td class="line"> <span class='macro'>True<span class='macro_popup'>1</span></span> <span class='comment'>/* global */</span>);</td></tr>
+<tr class="codeline" data-linenumber="563"><td class="num" id="LN563">563</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="564"><td class="num" id="LN564">564</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="565"><td class="num" id="LN565">565</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="566"><td class="num" id="LN566">566</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="567"><td class="num" id="LN567">567</td><td class="line">idle_do_pending_events (gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="568"><td class="num" id="LN568">568</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="569"><td class="num" id="LN569">569</td><td class="line"> EggSMClientXSMP *xsmp = data;</td></tr>
+<tr class="codeline" data-linenumber="570"><td class="num" id="LN570">570</td><td class="line"> EggSMClient *client = data;</td></tr>
+<tr class="codeline" data-linenumber="571"><td class="num" id="LN571">571</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="572"><td class="num" id="LN572">572</td><td class="line"> xsmp-&gt;idle = 0;</td></tr>
+<tr class="codeline" data-linenumber="573"><td class="num" id="LN573">573</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="574"><td class="num" id="LN574">574</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;waiting_to_emit_quit)</td></tr>
+<tr class="codeline" data-linenumber="575"><td class="num" id="LN575">575</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="576"><td class="num" id="LN576">576</td><td class="line"> xsmp-&gt;waiting_to_emit_quit = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="577"><td class="num" id="LN577">577</td><td class="line"> egg_sm_client_quit (client);</td></tr>
+<tr class="codeline" data-linenumber="578"><td class="num" id="LN578">578</td><td class="line"> <span class='keyword'>goto</span> out;</td></tr>
+<tr class="codeline" data-linenumber="579"><td class="num" id="LN579">579</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="580"><td class="num" id="LN580">580</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="581"><td class="num" id="LN581">581</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;waiting_to_emit_quit_cancelled)</td></tr>
+<tr class="codeline" data-linenumber="582"><td class="num" id="LN582">582</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="583"><td class="num" id="LN583">583</td><td class="line"> xsmp-&gt;waiting_to_emit_quit_cancelled = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="584"><td class="num" id="LN584">584</td><td class="line"> egg_sm_client_quit_cancelled (client);</td></tr>
+<tr class="codeline" data-linenumber="585"><td class="num" id="LN585">585</td><td class="line"> xsmp-&gt;state = XSMP_STATE_IDLE;</td></tr>
+<tr class="codeline" data-linenumber="586"><td class="num" id="LN586">586</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="587"><td class="num" id="LN587">587</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="588"><td class="num" id="LN588">588</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;waiting_to_save_myself)</td></tr>
+<tr class="codeline" data-linenumber="589"><td class="num" id="LN589">589</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="590"><td class="num" id="LN590">590</td><td class="line"> xsmp-&gt;waiting_to_save_myself = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="591"><td class="num" id="LN591">591</td><td class="line"> do_save_yourself (xsmp);</td></tr>
+<tr class="codeline" data-linenumber="592"><td class="num" id="LN592">592</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="593"><td class="num" id="LN593">593</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="594"><td class="num" id="LN594">594</td><td class="line">out:</td></tr>
+<tr class="codeline" data-linenumber="595"><td class="num" id="LN595">595</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="596"><td class="num" id="LN596">596</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="597"><td class="num" id="LN597">597</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="598"><td class="num" id="LN598">598</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="599"><td class="num" id="LN599">599</td><td class="line">update_pending_events (EggSMClientXSMP *xsmp)</td></tr>
+<tr class="codeline" data-linenumber="600"><td class="num" id="LN600">600</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="601"><td class="num" id="LN601">601</td><td class="line"> gboolean want_idle =</td></tr>
+<tr class="codeline" data-linenumber="602"><td class="num" id="LN602">602</td><td class="line"> xsmp-&gt;waiting_to_emit_quit ||</td></tr>
+<tr class="codeline" data-linenumber="603"><td class="num" id="LN603">603</td><td class="line"> xsmp-&gt;waiting_to_emit_quit_cancelled ||</td></tr>
+<tr class="codeline" data-linenumber="604"><td class="num" id="LN604">604</td><td class="line"> xsmp-&gt;waiting_to_save_myself;</td></tr>
+<tr class="codeline" data-linenumber="605"><td class="num" id="LN605">605</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="606"><td class="num" id="LN606">606</td><td class="line"> <span class='keyword'>if</span> (want_idle)</td></tr>
+<tr class="codeline" data-linenumber="607"><td class="num" id="LN607">607</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="608"><td class="num" id="LN608">608</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;idle == 0)</td></tr>
+<tr class="codeline" data-linenumber="609"><td class="num" id="LN609">609</td><td class="line"> xsmp-&gt;idle = g_idle_add (idle_do_pending_events, xsmp);</td></tr>
+<tr class="codeline" data-linenumber="610"><td class="num" id="LN610">610</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="611"><td class="num" id="LN611">611</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="612"><td class="num" id="LN612">612</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="613"><td class="num" id="LN613">613</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;idle != 0)</td></tr>
+<tr class="codeline" data-linenumber="614"><td class="num" id="LN614">614</td><td class="line"> g_source_remove (xsmp-&gt;idle);</td></tr>
+<tr class="codeline" data-linenumber="615"><td class="num" id="LN615">615</td><td class="line"> xsmp-&gt;idle = 0;</td></tr>
+<tr class="codeline" data-linenumber="616"><td class="num" id="LN616">616</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="617"><td class="num" id="LN617">617</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="618"><td class="num" id="LN618">618</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="619"><td class="num" id="LN619">619</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="620"><td class="num" id="LN620">620</td><td class="line">fix_broken_state (EggSMClientXSMP *xsmp, <span class='keyword'>const</span> <span class='keyword'>char</span> *message,</td></tr>
+<tr class="codeline" data-linenumber="621"><td class="num" id="LN621">621</td><td class="line"> gboolean send_interact_done,</td></tr>
+<tr class="codeline" data-linenumber="622"><td class="num" id="LN622">622</td><td class="line"> gboolean send_save_yourself_done)</td></tr>
+<tr class="codeline" data-linenumber="623"><td class="num" id="LN623">623</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="624"><td class="num" id="LN624">624</td><td class="line"> g_warning (<span class='string_literal'>"Received XSMP %s message in state %s: client or server error"</span>,</td></tr>
+<tr class="codeline" data-linenumber="625"><td class="num" id="LN625">625</td><td class="line"> message, <span class='macro'>EGG_SM_CLIENT_XSMP_STATE (xsmp)<span class='macro_popup'>(state_names[(xsmp)-&gt;state])</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="626"><td class="num" id="LN626">626</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="627"><td class="num" id="LN627">627</td><td class="line"> <span class='comment'>/* Forget any pending SaveYourself plans we had */</span></td></tr>
+<tr class="codeline" data-linenumber="628"><td class="num" id="LN628">628</td><td class="line"> xsmp-&gt;waiting_to_save_myself = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="629"><td class="num" id="LN629">629</td><td class="line"> update_pending_events (xsmp);</td></tr>
+<tr class="codeline" data-linenumber="630"><td class="num" id="LN630">630</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="631"><td class="num" id="LN631">631</td><td class="line"> <span class='keyword'>if</span> (send_interact_done)</td></tr>
+<tr class="codeline" data-linenumber="632"><td class="num" id="LN632">632</td><td class="line"> SmcInteractDone (xsmp-&gt;connection, <span class='macro'>False<span class='macro_popup'>0</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="633"><td class="num" id="LN633">633</td><td class="line"> <span class='keyword'>if</span> (send_save_yourself_done)</td></tr>
+<tr class="codeline" data-linenumber="634"><td class="num" id="LN634">634</td><td class="line"> SmcSaveYourselfDone (xsmp-&gt;connection, <span class='macro'>True<span class='macro_popup'>1</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="635"><td class="num" id="LN635">635</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="636"><td class="num" id="LN636">636</td><td class="line"> xsmp-&gt;state = send_save_yourself_done ? XSMP_STATE_SAVE_YOURSELF_DONE : XSMP_STATE_IDLE;</td></tr>
+<tr class="codeline" data-linenumber="637"><td class="num" id="LN637">637</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="638"><td class="num" id="LN638">638</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="639"><td class="num" id="LN639">639</td><td class="line"><span class='comment'>/* SM callbacks */</span></td></tr>
+<tr class="codeline" data-linenumber="640"><td class="num" id="LN640">640</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="641"><td class="num" id="LN641">641</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="642"><td class="num" id="LN642">642</td><td class="line">xsmp_save_yourself (SmcConn smc_conn,</td></tr>
+<tr class="codeline" data-linenumber="643"><td class="num" id="LN643">643</td><td class="line"> SmPointer client_data,</td></tr>
+<tr class="codeline" data-linenumber="644"><td class="num" id="LN644">644</td><td class="line"> <span class='keyword'>int</span> save_type,</td></tr>
+<tr class="codeline" data-linenumber="645"><td class="num" id="LN645">645</td><td class="line"> <span class='macro'>Bool<span class='macro_popup'>int</span></span> shutdown,</td></tr>
+<tr class="codeline" data-linenumber="646"><td class="num" id="LN646">646</td><td class="line"> <span class='keyword'>int</span> interact_style,</td></tr>
+<tr class="codeline" data-linenumber="647"><td class="num" id="LN647">647</td><td class="line"> <span class='macro'>Bool<span class='macro_popup'>int</span></span> fast)</td></tr>
+<tr class="codeline" data-linenumber="648"><td class="num" id="LN648">648</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="649"><td class="num" id="LN649">649</td><td class="line"> EggSMClientXSMP *xsmp = client_data;</td></tr>
+<tr class="codeline" data-linenumber="650"><td class="num" id="LN650">650</td><td class="line"> gboolean wants_quit_requested;</td></tr>
+<tr class="codeline" data-linenumber="651"><td class="num" id="LN651">651</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="652"><td class="num" id="LN652">652</td><td class="line"> g_debug (<span class='string_literal'>"Received SaveYourself(%s, %s, %s, %s) in state %s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="653"><td class="num" id="LN653">653</td><td class="line"> save_type == <span class='macro'>SmSaveLocal<span class='macro_popup'>1</span></span> ? <span class='string_literal'>"SmSaveLocal"</span> :</td></tr>
+<tr class="codeline" data-linenumber="654"><td class="num" id="LN654">654</td><td class="line"> save_type == <span class='macro'>SmSaveGlobal<span class='macro_popup'>0</span></span> ? <span class='string_literal'>"SmSaveGlobal"</span> : <span class='string_literal'>"SmSaveBoth"</span>,</td></tr>
+<tr class="codeline" data-linenumber="655"><td class="num" id="LN655">655</td><td class="line"> shutdown ? <span class='string_literal'>"Shutdown"</span> : <span class='string_literal'>"!Shutdown"</span>,</td></tr>
+<tr class="codeline" data-linenumber="656"><td class="num" id="LN656">656</td><td class="line"> interact_style == <span class='macro'>SmInteractStyleAny<span class='macro_popup'>2</span></span> ? <span class='string_literal'>"SmInteractStyleAny"</span> :</td></tr>
+<tr class="codeline" data-linenumber="657"><td class="num" id="LN657">657</td><td class="line"> interact_style == <span class='macro'>SmInteractStyleErrors<span class='macro_popup'>1</span></span> ? <span class='string_literal'>"SmInteractStyleErrors"</span> :</td></tr>
+<tr class="codeline" data-linenumber="658"><td class="num" id="LN658">658</td><td class="line"> <span class='string_literal'>"SmInteractStyleNone"</span>, fast ? <span class='string_literal'>"Fast"</span> : <span class='string_literal'>"!Fast"</span>,</td></tr>
+<tr class="codeline" data-linenumber="659"><td class="num" id="LN659">659</td><td class="line"> <span class='macro'>EGG_SM_CLIENT_XSMP_STATE (xsmp)<span class='macro_popup'>(state_names[(xsmp)-&gt;state])</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="660"><td class="num" id="LN660">660</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="661"><td class="num" id="LN661">661</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;state != XSMP_STATE_IDLE &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="662"><td class="num" id="LN662">662</td><td class="line"> xsmp-&gt;state != XSMP_STATE_SHUTDOWN_CANCELLED)</td></tr>
+<tr class="codeline" data-linenumber="663"><td class="num" id="LN663">663</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="664"><td class="num" id="LN664">664</td><td class="line"> fix_broken_state (xsmp, <span class='string_literal'>"SaveYourself"</span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="665"><td class="num" id="LN665">665</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="666"><td class="num" id="LN666">666</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="667"><td class="num" id="LN667">667</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="668"><td class="num" id="LN668">668</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;waiting_to_set_initial_properties)</td></tr>
+<tr class="codeline" data-linenumber="669"><td class="num" id="LN669">669</td><td class="line"> sm_client_xsmp_set_initial_properties (xsmp);</td></tr>
+<tr class="codeline" data-linenumber="670"><td class="num" id="LN670">670</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="671"><td class="num" id="LN671">671</td><td class="line"> <span class='comment'>/* If this is the initial SaveYourself, ignore it; we've already set</span></td></tr>
+<tr class="codeline" data-linenumber="672"><td class="num" id="LN672">672</td><td class="line"> <span class='comment'>* properties and there's no reason to actually save state too.</span></td></tr>
+<tr class="codeline" data-linenumber="673"><td class="num" id="LN673">673</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="674"><td class="num" id="LN674">674</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;expecting_initial_save_yourself)</td></tr>
+<tr class="codeline" data-linenumber="675"><td class="num" id="LN675">675</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="676"><td class="num" id="LN676">676</td><td class="line"> xsmp-&gt;expecting_initial_save_yourself = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="677"><td class="num" id="LN677">677</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="678"><td class="num" id="LN678">678</td><td class="line"> <span class='keyword'>if</span> (save_type == <span class='macro'>SmSaveLocal<span class='macro_popup'>1</span></span> &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="679"><td class="num" id="LN679">679</td><td class="line"> interact_style == <span class='macro'>SmInteractStyleNone<span class='macro_popup'>0</span></span> &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="680"><td class="num" id="LN680">680</td><td class="line"> !shutdown &amp;&amp; !fast)</td></tr>
+<tr class="codeline" data-linenumber="681"><td class="num" id="LN681">681</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="682"><td class="num" id="LN682">682</td><td class="line"> g_debug (<span class='string_literal'>"Sending SaveYourselfDone(True) for initial SaveYourself"</span>);</td></tr>
+<tr class="codeline" data-linenumber="683"><td class="num" id="LN683">683</td><td class="line"> SmcSaveYourselfDone (xsmp-&gt;connection, <span class='macro'>True<span class='macro_popup'>1</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="684"><td class="num" id="LN684">684</td><td class="line"> <span class='comment'>/* As explained in the comment at the end of</span></td></tr>
+<tr class="codeline" data-linenumber="685"><td class="num" id="LN685">685</td><td class="line"> <span class='comment'>* do_save_yourself(), SAVE_YOURSELF_DONE is the correct</span></td></tr>
+<tr class="codeline" data-linenumber="686"><td class="num" id="LN686">686</td><td class="line"> <span class='comment'>* state here, not IDLE.</span></td></tr>
+<tr class="codeline" data-linenumber="687"><td class="num" id="LN687">687</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="688"><td class="num" id="LN688">688</td><td class="line"> xsmp-&gt;state = XSMP_STATE_SAVE_YOURSELF_DONE;</td></tr>
+<tr class="codeline" data-linenumber="689"><td class="num" id="LN689">689</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="690"><td class="num" id="LN690">690</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="691"><td class="num" id="LN691">691</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="692"><td class="num" id="LN692">692</td><td class="line"> g_warning (<span class='string_literal'>"First SaveYourself was not the expected one!"</span>);</td></tr>
+<tr class="codeline" data-linenumber="693"><td class="num" id="LN693">693</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="694"><td class="num" id="LN694">694</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="695"><td class="num" id="LN695">695</td><td class="line"> <span class='comment'>/* Even ignoring the "fast" flag completely, there are still 18</span></td></tr>
+<tr class="codeline" data-linenumber="696"><td class="num" id="LN696">696</td><td class="line"> <span class='comment'>* different combinations of save_type, shutdown and interact_style.</span></td></tr>
+<tr class="codeline" data-linenumber="697"><td class="num" id="LN697">697</td><td class="line"> <span class='comment'>* We interpret them as follows:</span></td></tr>
+<tr class="codeline" data-linenumber="698"><td class="num" id="LN698">698</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="699"><td class="num" id="LN699">699</td><td class="line"> <span class='comment'>* Type Shutdown Interact Interpretation</span></td></tr>
+<tr class="codeline" data-linenumber="700"><td class="num" id="LN700">700</td><td class="line"> <span class='comment'>* G F A/E/N do nothing (1)</span></td></tr>
+<tr class="codeline" data-linenumber="701"><td class="num" id="LN701">701</td><td class="line"> <span class='comment'>* G T N do nothing (1)*</span></td></tr>
+<tr class="codeline" data-linenumber="702"><td class="num" id="LN702">702</td><td class="line"> <span class='comment'>* G T A/E quit_requested (2)</span></td></tr>
+<tr class="codeline" data-linenumber="703"><td class="num" id="LN703">703</td><td class="line"> <span class='comment'>* L/B F A/E/N save_state (3)</span></td></tr>
+<tr class="codeline" data-linenumber="704"><td class="num" id="LN704">704</td><td class="line"> <span class='comment'>* L/B T N save_state (3)*</span></td></tr>
+<tr class="codeline" data-linenumber="705"><td class="num" id="LN705">705</td><td class="line"> <span class='comment'>* L/B T A/E quit_requested, then save_state (4)</span></td></tr>
+<tr class="codeline" data-linenumber="706"><td class="num" id="LN706">706</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="707"><td class="num" id="LN707">707</td><td class="line"> <span class='comment'>* 1. Do nothing, because the SM asked us to do something</span></td></tr>
+<tr class="codeline" data-linenumber="708"><td class="num" id="LN708">708</td><td class="line"> <span class='comment'>* uninteresting (save open files, but then don't quit</span></td></tr>
+<tr class="codeline" data-linenumber="709"><td class="num" id="LN709">709</td><td class="line"> <span class='comment'>* afterward) or rude (save open files without asking the user</span></td></tr>
+<tr class="codeline" data-linenumber="710"><td class="num" id="LN710">710</td><td class="line"> <span class='comment'>* for confirmation).</span></td></tr>
+<tr class="codeline" data-linenumber="711"><td class="num" id="LN711">711</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="712"><td class="num" id="LN712">712</td><td class="line"> <span class='comment'>* 2. Request interaction and then emit ::quit_requested. This</span></td></tr>
+<tr class="codeline" data-linenumber="713"><td class="num" id="LN713">713</td><td class="line"> <span class='comment'>* perhaps isn't quite correct for the SmInteractStyleErrors</span></td></tr>
+<tr class="codeline" data-linenumber="714"><td class="num" id="LN714">714</td><td class="line"> <span class='comment'>* case, but we don't care.</span></td></tr>
+<tr class="codeline" data-linenumber="715"><td class="num" id="LN715">715</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="716"><td class="num" id="LN716">716</td><td class="line"> <span class='comment'>* 3. Emit ::save_state. The SmSaveBoth SaveYourselfs in these</span></td></tr>
+<tr class="codeline" data-linenumber="717"><td class="num" id="LN717">717</td><td class="line"> <span class='comment'>* rows essentially get demoted to SmSaveLocal, because their</span></td></tr>
+<tr class="codeline" data-linenumber="718"><td class="num" id="LN718">718</td><td class="line"> <span class='comment'>* Global halves correspond to "do nothing".</span></td></tr>
+<tr class="codeline" data-linenumber="719"><td class="num" id="LN719">719</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="720"><td class="num" id="LN720">720</td><td class="line"> <span class='comment'>* 4. Request interaction, emit ::quit_requested, and then emit</span></td></tr>
+<tr class="codeline" data-linenumber="721"><td class="num" id="LN721">721</td><td class="line"> <span class='comment'>* ::save_state after interacting. This is the SmSaveBoth</span></td></tr>
+<tr class="codeline" data-linenumber="722"><td class="num" id="LN722">722</td><td class="line"> <span class='comment'>* equivalent of #2, but we also promote SmSaveLocal shutdown</span></td></tr>
+<tr class="codeline" data-linenumber="723"><td class="num" id="LN723">723</td><td class="line"> <span class='comment'>* SaveYourselfs to SmSaveBoth here, because we want to give</span></td></tr>
+<tr class="codeline" data-linenumber="724"><td class="num" id="LN724">724</td><td class="line"> <span class='comment'>* the user a chance to save open files before quitting.</span></td></tr>
+<tr class="codeline" data-linenumber="725"><td class="num" id="LN725">725</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="726"><td class="num" id="LN726">726</td><td class="line"> <span class='comment'>* (* It would be nice if we could do something useful when the</span></td></tr>
+<tr class="codeline" data-linenumber="727"><td class="num" id="LN727">727</td><td class="line"> <span class='comment'>* session manager sends a SaveYourself with shutdown True and</span></td></tr>
+<tr class="codeline" data-linenumber="728"><td class="num" id="LN728">728</td><td class="line"> <span class='comment'>* SmInteractStyleNone. But we can't, so we just pretend it didn't</span></td></tr>
+<tr class="codeline" data-linenumber="729"><td class="num" id="LN729">729</td><td class="line"> <span class='comment'>* even tell us it was shutting down. The docs for ::quit mention</span></td></tr>
+<tr class="codeline" data-linenumber="730"><td class="num" id="LN730">730</td><td class="line"> <span class='comment'>* that it might not always be preceded by ::quit_requested.)</span></td></tr>
+<tr class="codeline" data-linenumber="731"><td class="num" id="LN731">731</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="732"><td class="num" id="LN732">732</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="733"><td class="num" id="LN733">733</td><td class="line"> <span class='comment'>/* As an optimization, we don't actually request interaction and</span></td></tr>
+<tr class="codeline" data-linenumber="734"><td class="num" id="LN734">734</td><td class="line"> <span class='comment'>* emit ::quit_requested if the application isn't listening to the</span></td></tr>
+<tr class="codeline" data-linenumber="735"><td class="num" id="LN735">735</td><td class="line"> <span class='comment'>* signal.</span></td></tr>
+<tr class="codeline" data-linenumber="736"><td class="num" id="LN736">736</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="737"><td class="num" id="LN737">737</td><td class="line"> wants_quit_requested = g_signal_has_handler_pending (xsmp, g_signal_lookup (<span class='string_literal'>"quit_requested"</span>, <span class='macro'>EGG_TYPE_SM_CLIENT<span class='macro_popup'>(egg_sm_client_get_type ())</span></span>), 0, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="738"><td class="num" id="LN738">738</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="739"><td class="num" id="LN739">739</td><td class="line"> xsmp-&gt;need_save_state = (save_type != <span class='macro'>SmSaveGlobal<span class='macro_popup'>0</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="740"><td class="num" id="LN740">740</td><td class="line"> xsmp-&gt;need_quit_requested = (shutdown &amp;&amp; wants_quit_requested &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="741"><td class="num" id="LN741">741</td><td class="line"> interact_style != <span class='macro'>SmInteractStyleNone<span class='macro_popup'>0</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="742"><td class="num" id="LN742">742</td><td class="line"> xsmp-&gt;interact_errors = (interact_style == <span class='macro'>SmInteractStyleErrors<span class='macro_popup'>1</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="743"><td class="num" id="LN743">743</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="744"><td class="num" id="LN744">744</td><td class="line"> xsmp-&gt;shutting_down = shutdown;</td></tr>
+<tr class="codeline" data-linenumber="745"><td class="num" id="LN745">745</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="746"><td class="num" id="LN746">746</td><td class="line"> do_save_yourself (xsmp);</td></tr>
+<tr class="codeline" data-linenumber="747"><td class="num" id="LN747">747</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="748"><td class="num" id="LN748">748</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="749"><td class="num" id="LN749">749</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="750"><td class="num" id="LN750">750</td><td class="line">do_save_yourself (EggSMClientXSMP *xsmp)</td></tr>
+<tr class="codeline" data-linenumber="751"><td class="num" id="LN751">751</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="752"><td class="num" id="LN752">752</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;state == XSMP_STATE_SHUTDOWN_CANCELLED)</td></tr>
+<tr class="codeline" data-linenumber="753"><td class="num" id="LN753">753</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="754"><td class="num" id="LN754">754</td><td class="line"> <span class='comment'>/* The SM cancelled a previous SaveYourself, but we haven't yet</span></td></tr>
+<tr class="codeline" data-linenumber="755"><td class="num" id="LN755">755</td><td class="line"> <span class='comment'>* had a chance to tell the application, so we can't start</span></td></tr>
+<tr class="codeline" data-linenumber="756"><td class="num" id="LN756">756</td><td class="line"> <span class='comment'>* processing this SaveYourself yet.</span></td></tr>
+<tr class="codeline" data-linenumber="757"><td class="num" id="LN757">757</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="758"><td class="num" id="LN758">758</td><td class="line"> xsmp-&gt;waiting_to_save_myself = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="759"><td class="num" id="LN759">759</td><td class="line"> update_pending_events (xsmp);</td></tr>
+<tr class="codeline" data-linenumber="760"><td class="num" id="LN760">760</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="761"><td class="num" id="LN761">761</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="762"><td class="num" id="LN762">762</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="763"><td class="num" id="LN763">763</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;need_quit_requested)</td></tr>
+<tr class="codeline" data-linenumber="764"><td class="num" id="LN764">764</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="765"><td class="num" id="LN765">765</td><td class="line"> xsmp-&gt;state = XSMP_STATE_INTERACT_REQUEST;</td></tr>
+<tr class="codeline" data-linenumber="766"><td class="num" id="LN766">766</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="767"><td class="num" id="LN767">767</td><td class="line"> g_debug (<span class='string_literal'>"Sending InteractRequest(%s)"</span>,</td></tr>
+<tr class="codeline" data-linenumber="768"><td class="num" id="LN768">768</td><td class="line"> xsmp-&gt;interact_errors ? <span class='string_literal'>"Error"</span> : <span class='string_literal'>"Normal"</span>);</td></tr>
+<tr class="codeline" data-linenumber="769"><td class="num" id="LN769">769</td><td class="line"> SmcInteractRequest (xsmp-&gt;connection,</td></tr>
+<tr class="codeline" data-linenumber="770"><td class="num" id="LN770">770</td><td class="line"> xsmp-&gt;interact_errors ? <span class='macro'>SmDialogError<span class='macro_popup'>0</span></span> : <span class='macro'>SmDialogNormal<span class='macro_popup'>1</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="771"><td class="num" id="LN771">771</td><td class="line"> xsmp_interact,</td></tr>
+<tr class="codeline" data-linenumber="772"><td class="num" id="LN772">772</td><td class="line"> xsmp);</td></tr>
+<tr class="codeline" data-linenumber="773"><td class="num" id="LN773">773</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="774"><td class="num" id="LN774">774</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="775"><td class="num" id="LN775">775</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="776"><td class="num" id="LN776">776</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;need_save_state)</td></tr>
+<tr class="codeline" data-linenumber="777"><td class="num" id="LN777">777</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="778"><td class="num" id="LN778">778</td><td class="line"> save_state (xsmp);</td></tr>
+<tr class="codeline" data-linenumber="779"><td class="num" id="LN779">779</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="780"><td class="num" id="LN780">780</td><td class="line"> <span class='comment'>/* Though unlikely, the client could have been disconnected</span></td></tr>
+<tr class="codeline" data-linenumber="781"><td class="num" id="LN781">781</td><td class="line"> <span class='comment'>* while the application was saving its state.</span></td></tr>
+<tr class="codeline" data-linenumber="782"><td class="num" id="LN782">782</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="783"><td class="num" id="LN783">783</td><td class="line"> <span class='keyword'>if</span> (!xsmp-&gt;connection)</td></tr>
+<tr class="codeline" data-linenumber="784"><td class="num" id="LN784">784</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="785"><td class="num" id="LN785">785</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="786"><td class="num" id="LN786">786</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="787"><td class="num" id="LN787">787</td><td class="line"> g_debug (<span class='string_literal'>"Sending SaveYourselfDone(True)"</span>);</td></tr>
+<tr class="codeline" data-linenumber="788"><td class="num" id="LN788">788</td><td class="line"> SmcSaveYourselfDone (xsmp-&gt;connection, <span class='macro'>True<span class='macro_popup'>1</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="789"><td class="num" id="LN789">789</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="790"><td class="num" id="LN790">790</td><td class="line"> <span class='comment'>/* The client state diagram in the XSMP spec says that after a</span></td></tr>
+<tr class="codeline" data-linenumber="791"><td class="num" id="LN791">791</td><td class="line"> <span class='comment'>* non-shutdown SaveYourself, we go directly back to "idle". But</span></td></tr>
+<tr class="codeline" data-linenumber="792"><td class="num" id="LN792">792</td><td class="line"> <span class='comment'>* everything else in both the XSMP spec and the libSM docs</span></td></tr>
+<tr class="codeline" data-linenumber="793"><td class="num" id="LN793">793</td><td class="line"> <span class='comment'>* disagrees.</span></td></tr>
+<tr class="codeline" data-linenumber="794"><td class="num" id="LN794">794</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="795"><td class="num" id="LN795">795</td><td class="line"> xsmp-&gt;state = XSMP_STATE_SAVE_YOURSELF_DONE;</td></tr>
+<tr class="codeline" data-linenumber="796"><td class="num" id="LN796">796</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="797"><td class="num" id="LN797">797</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="798"><td class="num" id="LN798">798</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="799"><td class="num" id="LN799">799</td><td class="line">save_state (EggSMClientXSMP *xsmp)</td></tr>
+<tr class="codeline" data-linenumber="800"><td class="num" id="LN800">800</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="801"><td class="num" id="LN801">801</td><td class="line"> GKeyFile *state_file;</td></tr>
+<tr class="codeline" data-linenumber="802"><td class="num" id="LN802">802</td><td class="line"> <span class='keyword'>char</span> *state_file_path, *data;</td></tr>
+<tr class="codeline" data-linenumber="803"><td class="num" id="LN803">803</td><td class="line"> EggDesktopFile *desktop_file;</td></tr>
+<tr class="codeline" data-linenumber="804"><td class="num" id="LN804">804</td><td class="line"> GPtrArray *restart, *discard;</td></tr>
+<tr class="codeline" data-linenumber="805"><td class="num" id="LN805">805</td><td class="line"> <span class='keyword'>int</span> offset, fd;</td></tr>
+<tr class="codeline" data-linenumber="806"><td class="num" id="LN806">806</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="807"><td class="num" id="LN807">807</td><td class="line"> <span class='comment'>/* We set xsmp-&gt;state before emitting save_state, but our caller is</span></td></tr>
+<tr class="codeline" data-linenumber="808"><td class="num" id="LN808">808</td><td class="line"> <span class='comment'>* responsible for setting it back afterward.</span></td></tr>
+<tr class="codeline" data-linenumber="809"><td class="num" id="LN809">809</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="810"><td class="num" id="LN810">810</td><td class="line"> xsmp-&gt;state = XSMP_STATE_SAVE_YOURSELF;</td></tr>
+<tr class="codeline" data-linenumber="811"><td class="num" id="LN811">811</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="812"><td class="num" id="LN812">812</td><td class="line"> state_file = egg_sm_client_save_state ((EggSMClient *)xsmp);</td></tr>
+<tr class="codeline" data-linenumber="813"><td class="num" id="LN813">813</td><td class="line"> <span class='keyword'>if</span> (!state_file)</td></tr>
+<tr class="codeline" data-linenumber="814"><td class="num" id="LN814">814</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="815"><td class="num" id="LN815">815</td><td class="line"> restart = generate_command (xsmp-&gt;restart_command, xsmp-&gt;client_id, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="816"><td class="num" id="LN816">816</td><td class="line"> set_properties (xsmp,</td></tr>
+<tr class="codeline" data-linenumber="817"><td class="num" id="LN817">817</td><td class="line"> ptrarray_prop (<span class='macro'>SmRestartCommand<span class='macro_popup'>"RestartCommand"</span></span>, restart),</td></tr>
+<tr class="codeline" data-linenumber="818"><td class="num" id="LN818">818</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="819"><td class="num" id="LN819">819</td><td class="line"> g_ptr_array_free (restart, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="820"><td class="num" id="LN820">820</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="821"><td class="num" id="LN821">821</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;set_discard_command)</td></tr>
+<tr class="codeline" data-linenumber="822"><td class="num" id="LN822">822</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="823"><td class="num" id="LN823">823</td><td class="line"> discard = generate_command (xsmp-&gt;discard_command, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="824"><td class="num" id="LN824">824</td><td class="line"> set_properties (xsmp,</td></tr>
+<tr class="codeline" data-linenumber="825"><td class="num" id="LN825">825</td><td class="line"> ptrarray_prop (<span class='macro'>SmDiscardCommand<span class='macro_popup'>"DiscardCommand"</span></span>, discard),</td></tr>
+<tr class="codeline" data-linenumber="826"><td class="num" id="LN826">826</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="827"><td class="num" id="LN827">827</td><td class="line"> g_ptr_array_free (discard, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="828"><td class="num" id="LN828">828</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="829"><td class="num" id="LN829">829</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="830"><td class="num" id="LN830">830</td><td class="line"> delete_properties (xsmp, <span class='macro'>SmDiscardCommand<span class='macro_popup'>"DiscardCommand"</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="831"><td class="num" id="LN831">831</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="832"><td class="num" id="LN832">832</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="833"><td class="num" id="LN833">833</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="834"><td class="num" id="LN834">834</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="835"><td class="num" id="LN835">835</td><td class="line"> desktop_file = egg_get_desktop_file ();</td></tr>
+<tr class="codeline" data-linenumber="836"><td class="num" id="LN836">836</td><td class="line"> <span class='keyword'>if</span> (desktop_file)</td></tr>
+<tr class="codeline" data-linenumber="837"><td class="num" id="LN837">837</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="838"><td class="num" id="LN838">838</td><td class="line"> GKeyFile *merged_file;</td></tr>
+<tr class="codeline" data-linenumber="839"><td class="num" id="LN839">839</td><td class="line"> <span class='keyword'>char</span> *desktop_file_path;</td></tr>
+<tr class="codeline" data-linenumber="840"><td class="num" id="LN840">840</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="841"><td class="num" id="LN841">841</td><td class="line"> merged_file = g_key_file_new ();</td></tr>
+<tr class="codeline" data-linenumber="842"><td class="num" id="LN842">842</td><td class="line"> desktop_file_path =</td></tr>
+<tr class="codeline" data-linenumber="843"><td class="num" id="LN843">843</td><td class="line"> g_filename_from_uri (egg_desktop_file_get_source (desktop_file),</td></tr>
+<tr class="codeline" data-linenumber="844"><td class="num" id="LN844">844</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="845"><td class="num" id="LN845">845</td><td class="line"> <span class='keyword'>if</span> (desktop_file_path &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="846"><td class="num" id="LN846">846</td><td class="line"> g_key_file_load_from_file (merged_file, desktop_file_path,</td></tr>
+<tr class="codeline" data-linenumber="847"><td class="num" id="LN847">847</td><td class="line"> G_KEY_FILE_KEEP_COMMENTS |</td></tr>
+<tr class="codeline" data-linenumber="848"><td class="num" id="LN848">848</td><td class="line"> G_KEY_FILE_KEEP_TRANSLATIONS, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="849"><td class="num" id="LN849">849</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="850"><td class="num" id="LN850">850</td><td class="line"> guint g, k, i;</td></tr>
+<tr class="codeline" data-linenumber="851"><td class="num" id="LN851">851</td><td class="line"> <span class='keyword'>char</span> **groups, **keys, *value, *exec;</td></tr>
+<tr class="codeline" data-linenumber="852"><td class="num" id="LN852">852</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="853"><td class="num" id="LN853">853</td><td class="line"> groups = g_key_file_get_groups (state_file, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="854"><td class="num" id="LN854">854</td><td class="line"> <span class='keyword'>for</span> (g = 0; groups[g]; g++)</td></tr>
+<tr class="codeline" data-linenumber="855"><td class="num" id="LN855">855</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="856"><td class="num" id="LN856">856</td><td class="line"> keys = g_key_file_get_keys (state_file, groups[g], <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="857"><td class="num" id="LN857">857</td><td class="line"> <span class='keyword'>for</span> (k = 0; keys[k]; k++)</td></tr>
+<tr class="codeline" data-linenumber="858"><td class="num" id="LN858">858</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="859"><td class="num" id="LN859">859</td><td class="line"> value = g_key_file_get_value (state_file, groups[g],</td></tr>
+<tr class="codeline" data-linenumber="860"><td class="num" id="LN860">860</td><td class="line"> keys[k], <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="861"><td class="num" id="LN861">861</td><td class="line"> <span class='keyword'>if</span> (value)</td></tr>
+<tr class="codeline" data-linenumber="862"><td class="num" id="LN862">862</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="863"><td class="num" id="LN863">863</td><td class="line"> g_key_file_set_value (merged_file, groups[g],</td></tr>
+<tr class="codeline" data-linenumber="864"><td class="num" id="LN864">864</td><td class="line"> keys[k], value);</td></tr>
+<tr class="codeline" data-linenumber="865"><td class="num" id="LN865">865</td><td class="line"> g_free (value);</td></tr>
+<tr class="codeline" data-linenumber="866"><td class="num" id="LN866">866</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="867"><td class="num" id="LN867">867</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="868"><td class="num" id="LN868">868</td><td class="line"> g_strfreev (keys);</td></tr>
+<tr class="codeline" data-linenumber="869"><td class="num" id="LN869">869</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="870"><td class="num" id="LN870">870</td><td class="line"> g_strfreev (groups);</td></tr>
+<tr class="codeline" data-linenumber="871"><td class="num" id="LN871">871</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="872"><td class="num" id="LN872">872</td><td class="line"> g_key_file_free (state_file);</td></tr>
+<tr class="codeline" data-linenumber="873"><td class="num" id="LN873">873</td><td class="line"> state_file = merged_file;</td></tr>
+<tr class="codeline" data-linenumber="874"><td class="num" id="LN874">874</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="875"><td class="num" id="LN875">875</td><td class="line"> <span class='comment'>/* Update Exec key using "--sm-client-state-file %k" */</span></td></tr>
+<tr class="codeline" data-linenumber="876"><td class="num" id="LN876">876</td><td class="line"> restart = generate_command (xsmp-&gt;restart_command,</td></tr>
+<tr class="codeline" data-linenumber="877"><td class="num" id="LN877">877</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='string_literal'>"%k"</span>);</td></tr>
+<tr class="codeline" data-linenumber="878"><td class="num" id="LN878">878</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; restart-&gt;len; i++)</td></tr>
+<tr class="codeline" data-linenumber="879"><td class="num" id="LN879">879</td><td class="line"> restart-&gt;pdata[i] = g_shell_quote (restart-&gt;pdata[i]);</td></tr>
+<tr class="codeline" data-linenumber="880"><td class="num" id="LN880">880</td><td class="line"> g_ptr_array_add (restart, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="881"><td class="num" id="LN881">881</td><td class="line"> exec = g_strjoinv (<span class='string_literal'>" "</span>, (<span class='keyword'>char</span> **)restart-&gt;pdata);</td></tr>
+<tr class="codeline" data-linenumber="882"><td class="num" id="LN882">882</td><td class="line"> g_strfreev ((<span class='keyword'>char</span> **)restart-&gt;pdata);</td></tr>
+<tr class="codeline" data-linenumber="883"><td class="num" id="LN883">883</td><td class="line"> g_ptr_array_free (restart, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="884"><td class="num" id="LN884">884</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="885"><td class="num" id="LN885">885</td><td class="line"> g_key_file_set_string (state_file, <span class='macro'>EGG_DESKTOP_FILE_GROUP<span class='macro_popup'>"Desktop Entry"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="886"><td class="num" id="LN886">886</td><td class="line"> <span class='macro'>EGG_DESKTOP_FILE_KEY_EXEC<span class='macro_popup'>"Exec"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="887"><td class="num" id="LN887">887</td><td class="line"> exec);</td></tr>
+<tr class="codeline" data-linenumber="888"><td class="num" id="LN888">888</td><td class="line"> g_free (exec);</td></tr>
+<tr class="codeline" data-linenumber="889"><td class="num" id="LN889">889</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="890"><td class="num" id="LN890">890</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="891"><td class="num" id="LN891">891</td><td class="line"> desktop_file = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="892"><td class="num" id="LN892">892</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="893"><td class="num" id="LN893">893</td><td class="line"> g_free (desktop_file_path);</td></tr>
+<tr class="codeline" data-linenumber="894"><td class="num" id="LN894">894</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="895"><td class="num" id="LN895">895</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="896"><td class="num" id="LN896">896</td><td class="line"> <span class='comment'>/* Now write state_file to disk. (We can't use mktemp(), because</span></td></tr>
+<tr class="codeline" data-linenumber="897"><td class="num" id="LN897">897</td><td class="line"> <span class='comment'>* that requires the filename to end with "XXXXXX", and we want</span></td></tr>
+<tr class="codeline" data-linenumber="898"><td class="num" id="LN898">898</td><td class="line"> <span class='comment'>* it to end with ".desktop".)</span></td></tr>
+<tr class="codeline" data-linenumber="899"><td class="num" id="LN899">899</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="900"><td class="num" id="LN900">900</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="901"><td class="num" id="LN901">901</td><td class="line"> data = g_key_file_to_data (state_file, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="902"><td class="num" id="LN902">902</td><td class="line"> g_key_file_free (state_file);</td></tr>
+<tr class="codeline" data-linenumber="903"><td class="num" id="LN903">903</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="904"><td class="num" id="LN904">904</td><td class="line"> offset = 0;</td></tr>
+<tr class="codeline" data-linenumber="905"><td class="num" id="LN905">905</td><td class="line"> <span class='keyword'>while</span> (1)</td></tr>
+<tr class="codeline" data-linenumber="906"><td class="num" id="LN906">906</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="907"><td class="num" id="LN907">907</td><td class="line"> state_file_path = g_strdup_printf (<span class='string_literal'>"%s%csession-state%c%s-%ld.%s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="908"><td class="num" id="LN908">908</td><td class="line"> g_get_user_config_dir (),</td></tr>
+<tr class="codeline" data-linenumber="909"><td class="num" id="LN909">909</td><td class="line"> <span class='macro'>G_DIR_SEPARATOR<span class='macro_popup'>'/'</span></span>, <span class='macro'>G_DIR_SEPARATOR<span class='macro_popup'>'/'</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="910"><td class="num" id="LN910">910</td><td class="line"> g_get_prgname (),</td></tr>
+<tr class="codeline" data-linenumber="911"><td class="num" id="LN911">911</td><td class="line"> (<span class='keyword'>long</span>)time (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) + offset,</td></tr>
+<tr class="codeline" data-linenumber="912"><td class="num" id="LN912">912</td><td class="line"> desktop_file ? <span class='string_literal'>"desktop"</span> : <span class='string_literal'>"state"</span>);</td></tr>
+<tr class="codeline" data-linenumber="913"><td class="num" id="LN913">913</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="914"><td class="num" id="LN914">914</td><td class="line"> fd = open (state_file_path, <span class='macro'>O_WRONLY<span class='macro_popup'>01</span></span> | <span class='macro'>O_CREAT<span class='macro_popup'>0100</span></span> | <span class='macro'>O_EXCL<span class='macro_popup'>0200</span></span>, 0644);</td></tr>
+<tr class="codeline" data-linenumber="915"><td class="num" id="LN915">915</td><td class="line"> <span class='keyword'>if</span> (fd == -1)</td></tr>
+<tr class="codeline" data-linenumber="916"><td class="num" id="LN916">916</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="917"><td class="num" id="LN917">917</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>errno<span class='macro_popup'>(*__errno_location ())</span></span> == <span class='macro'>EEXIST<span class='macro_popup'>17</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="918"><td class="num" id="LN918">918</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="919"><td class="num" id="LN919">919</td><td class="line"> offset++;</td></tr>
+<tr class="codeline" data-linenumber="920"><td class="num" id="LN920">920</td><td class="line"> g_free (state_file_path);</td></tr>
+<tr class="codeline" data-linenumber="921"><td class="num" id="LN921">921</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="922"><td class="num" id="LN922">922</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="923"><td class="num" id="LN923">923</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (<span class='macro'>errno<span class='macro_popup'>(*__errno_location ())</span></span> == <span class='macro'>ENOTDIR<span class='macro_popup'>20</span></span> || <span class='macro'>errno<span class='macro_popup'>(*__errno_location ())</span></span> == <span class='macro'>ENOENT<span class='macro_popup'>2</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="924"><td class="num" id="LN924">924</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="925"><td class="num" id="LN925">925</td><td class="line"> <span class='keyword'>char</span> *sep = strrchr (state_file_path, <span class='macro'>G_DIR_SEPARATOR<span class='macro_popup'>'/'</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="926"><td class="num" id="LN926">926</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="927"><td class="num" id="LN927">927</td><td class="line"> *sep = '\0';</td></tr>
+<tr class="codeline" data-linenumber="928"><td class="num" id="LN928">928</td><td class="line"> <span class='keyword'>if</span> (g_mkdir_with_parents (state_file_path, 0755) != 0)</td></tr>
+<tr class="codeline" data-linenumber="929"><td class="num" id="LN929">929</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="930"><td class="num" id="LN930">930</td><td class="line"> g_warning (<span class='string_literal'>"Could not create directory '%s'"</span>,</td></tr>
+<tr class="codeline" data-linenumber="931"><td class="num" id="LN931">931</td><td class="line"> state_file_path);</td></tr>
+<tr class="codeline" data-linenumber="932"><td class="num" id="LN932">932</td><td class="line"> g_free (state_file_path);</td></tr>
+<tr class="codeline" data-linenumber="933"><td class="num" id="LN933">933</td><td class="line"> state_file_path = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="934"><td class="num" id="LN934">934</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="935"><td class="num" id="LN935">935</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="936"><td class="num" id="LN936">936</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="937"><td class="num" id="LN937">937</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="938"><td class="num" id="LN938">938</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="939"><td class="num" id="LN939">939</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="940"><td class="num" id="LN940">940</td><td class="line"> g_warning (<span class='string_literal'>"Could not create file '%s': %s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="941"><td class="num" id="LN941">941</td><td class="line"> state_file_path, g_strerror (<span class='macro'>errno<span class='macro_popup'>(*__errno_location ())</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="942"><td class="num" id="LN942">942</td><td class="line"> g_free (state_file_path);</td></tr>
+<tr class="codeline" data-linenumber="943"><td class="num" id="LN943">943</td><td class="line"> state_file_path = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="944"><td class="num" id="LN944">944</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="945"><td class="num" id="LN945">945</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="946"><td class="num" id="LN946">946</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="947"><td class="num" id="LN947">947</td><td class="line"> close (fd);</td></tr>
+<tr class="codeline" data-linenumber="948"><td class="num" id="LN948">948</td><td class="line"> g_file_set_contents (state_file_path, data, -1, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="949"><td class="num" id="LN949">949</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="950"><td class="num" id="LN950">950</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="951"><td class="num" id="LN951">951</td><td class="line"> g_free (data);</td></tr>
+<tr class="codeline" data-linenumber="952"><td class="num" id="LN952">952</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="953"><td class="num" id="LN953">953</td><td class="line"> restart = generate_command (xsmp-&gt;restart_command, xsmp-&gt;client_id,</td></tr>
+<tr class="codeline" data-linenumber="954"><td class="num" id="LN954">954</td><td class="line"> state_file_path);</td></tr>
+<tr class="codeline" data-linenumber="955"><td class="num" id="LN955">955</td><td class="line"> set_properties (xsmp,</td></tr>
+<tr class="codeline" data-linenumber="956"><td class="num" id="LN956">956</td><td class="line"> ptrarray_prop (<span class='macro'>SmRestartCommand<span class='macro_popup'>"RestartCommand"</span></span>, restart),</td></tr>
+<tr class="codeline" data-linenumber="957"><td class="num" id="LN957">957</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="958"><td class="num" id="LN958">958</td><td class="line"> g_ptr_array_free (restart, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="959"><td class="num" id="LN959">959</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="960"><td class="num" id="LN960">960</td><td class="line"> <span class='keyword'>if</span> (state_file_path)</td></tr>
+<tr class="codeline" data-linenumber="961"><td class="num" id="LN961">961</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="962"><td class="num" id="LN962">962</td><td class="line"> set_properties (xsmp,</td></tr>
+<tr class="codeline" data-linenumber="963"><td class="num" id="LN963">963</td><td class="line"> array_prop (<span class='macro'>SmDiscardCommand<span class='macro_popup'>"DiscardCommand"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="964"><td class="num" id="LN964">964</td><td class="line"> <span class='string_literal'>"/bin/rm"</span>, <span class='string_literal'>"-rf"</span>, state_file_path,</td></tr>
+<tr class="codeline" data-linenumber="965"><td class="num" id="LN965">965</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>),</td></tr>
+<tr class="codeline" data-linenumber="966"><td class="num" id="LN966">966</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="967"><td class="num" id="LN967">967</td><td class="line"> g_free (state_file_path);</td></tr>
+<tr class="codeline" data-linenumber="968"><td class="num" id="LN968">968</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="969"><td class="num" id="LN969">969</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="970"><td class="num" id="LN970">970</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="971"><td class="num" id="LN971">971</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="972"><td class="num" id="LN972">972</td><td class="line">xsmp_interact (SmcConn smc_conn,</td></tr>
+<tr class="codeline" data-linenumber="973"><td class="num" id="LN973">973</td><td class="line"> SmPointer client_data)</td></tr>
+<tr class="codeline" data-linenumber="974"><td class="num" id="LN974">974</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="975"><td class="num" id="LN975">975</td><td class="line"> EggSMClientXSMP *xsmp = client_data;</td></tr>
+<tr class="codeline" data-linenumber="976"><td class="num" id="LN976">976</td><td class="line"> EggSMClient *client = client_data;</td></tr>
+<tr class="codeline" data-linenumber="977"><td class="num" id="LN977">977</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="978"><td class="num" id="LN978">978</td><td class="line"> g_debug (<span class='string_literal'>"Received Interact message in state %s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="979"><td class="num" id="LN979">979</td><td class="line"> <span class='macro'>EGG_SM_CLIENT_XSMP_STATE (xsmp)<span class='macro_popup'>(state_names[(xsmp)-&gt;state])</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="980"><td class="num" id="LN980">980</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="981"><td class="num" id="LN981">981</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;state != XSMP_STATE_INTERACT_REQUEST)</td></tr>
+<tr class="codeline" data-linenumber="982"><td class="num" id="LN982">982</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="983"><td class="num" id="LN983">983</td><td class="line"> fix_broken_state (xsmp, <span class='string_literal'>"Interact"</span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="984"><td class="num" id="LN984">984</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="985"><td class="num" id="LN985">985</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="986"><td class="num" id="LN986">986</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="987"><td class="num" id="LN987">987</td><td class="line"> xsmp-&gt;state = XSMP_STATE_INTERACT;</td></tr>
+<tr class="codeline" data-linenumber="988"><td class="num" id="LN988">988</td><td class="line"> egg_sm_client_quit_requested (client);</td></tr>
+<tr class="codeline" data-linenumber="989"><td class="num" id="LN989">989</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="990"><td class="num" id="LN990">990</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="991"><td class="num" id="LN991">991</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="992"><td class="num" id="LN992">992</td><td class="line">xsmp_die (SmcConn smc_conn,</td></tr>
+<tr class="codeline" data-linenumber="993"><td class="num" id="LN993">993</td><td class="line"> SmPointer client_data)</td></tr>
+<tr class="codeline" data-linenumber="994"><td class="num" id="LN994">994</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="995"><td class="num" id="LN995">995</td><td class="line"> EggSMClientXSMP *xsmp = client_data;</td></tr>
+<tr class="codeline" data-linenumber="996"><td class="num" id="LN996">996</td><td class="line"> EggSMClient *client = client_data;</td></tr>
+<tr class="codeline" data-linenumber="997"><td class="num" id="LN997">997</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="998"><td class="num" id="LN998">998</td><td class="line"> g_debug (<span class='string_literal'>"Received Die message in state %s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="999"><td class="num" id="LN999">999</td><td class="line"> <span class='macro'>EGG_SM_CLIENT_XSMP_STATE (xsmp)<span class='macro_popup'>(state_names[(xsmp)-&gt;state])</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1000"><td class="num" id="LN1000">1000</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1001"><td class="num" id="LN1001">1001</td><td class="line"> sm_client_xsmp_disconnect (xsmp);</td></tr>
+<tr class="codeline" data-linenumber="1002"><td class="num" id="LN1002">1002</td><td class="line"> egg_sm_client_quit (client);</td></tr>
+<tr class="codeline" data-linenumber="1003"><td class="num" id="LN1003">1003</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1004"><td class="num" id="LN1004">1004</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1005"><td class="num" id="LN1005">1005</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1006"><td class="num" id="LN1006">1006</td><td class="line">xsmp_save_complete (SmcConn smc_conn,</td></tr>
+<tr class="codeline" data-linenumber="1007"><td class="num" id="LN1007">1007</td><td class="line"> SmPointer client_data)</td></tr>
+<tr class="codeline" data-linenumber="1008"><td class="num" id="LN1008">1008</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1009"><td class="num" id="LN1009">1009</td><td class="line"> EggSMClientXSMP *xsmp = client_data;</td></tr>
+<tr class="codeline" data-linenumber="1010"><td class="num" id="LN1010">1010</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1011"><td class="num" id="LN1011">1011</td><td class="line"> g_debug (<span class='string_literal'>"Received SaveComplete message in state %s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="1012"><td class="num" id="LN1012">1012</td><td class="line"> <span class='macro'>EGG_SM_CLIENT_XSMP_STATE (xsmp)<span class='macro_popup'>(state_names[(xsmp)-&gt;state])</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1013"><td class="num" id="LN1013">1013</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1014"><td class="num" id="LN1014">1014</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;state == XSMP_STATE_SAVE_YOURSELF_DONE)</td></tr>
+<tr class="codeline" data-linenumber="1015"><td class="num" id="LN1015">1015</td><td class="line"> xsmp-&gt;state = XSMP_STATE_IDLE;</td></tr>
+<tr class="codeline" data-linenumber="1016"><td class="num" id="LN1016">1016</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1017"><td class="num" id="LN1017">1017</td><td class="line"> fix_broken_state (xsmp, <span class='string_literal'>"SaveComplete"</span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1018"><td class="num" id="LN1018">1018</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1019"><td class="num" id="LN1019">1019</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1020"><td class="num" id="LN1020">1020</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1021"><td class="num" id="LN1021">1021</td><td class="line">xsmp_shutdown_cancelled (SmcConn smc_conn,</td></tr>
+<tr class="codeline" data-linenumber="1022"><td class="num" id="LN1022">1022</td><td class="line"> SmPointer client_data)</td></tr>
+<tr class="codeline" data-linenumber="1023"><td class="num" id="LN1023">1023</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1024"><td class="num" id="LN1024">1024</td><td class="line"> EggSMClientXSMP *xsmp = client_data;</td></tr>
+<tr class="codeline" data-linenumber="1025"><td class="num" id="LN1025">1025</td><td class="line"> EggSMClient *client = client_data;</td></tr>
+<tr class="codeline" data-linenumber="1026"><td class="num" id="LN1026">1026</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1027"><td class="num" id="LN1027">1027</td><td class="line"> g_debug (<span class='string_literal'>"Received ShutdownCancelled message in state %s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="1028"><td class="num" id="LN1028">1028</td><td class="line"> <span class='macro'>EGG_SM_CLIENT_XSMP_STATE (xsmp)<span class='macro_popup'>(state_names[(xsmp)-&gt;state])</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1029"><td class="num" id="LN1029">1029</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1030"><td class="num" id="LN1030">1030</td><td class="line"> xsmp-&gt;shutting_down = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1031"><td class="num" id="LN1031">1031</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1032"><td class="num" id="LN1032">1032</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;state == XSMP_STATE_SAVE_YOURSELF_DONE)</td></tr>
+<tr class="codeline" data-linenumber="1033"><td class="num" id="LN1033">1033</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1034"><td class="num" id="LN1034">1034</td><td class="line"> <span class='comment'>/* We've finished interacting and now the SM has agreed to</span></td></tr>
+<tr class="codeline" data-linenumber="1035"><td class="num" id="LN1035">1035</td><td class="line"> <span class='comment'>* cancel the shutdown.</span></td></tr>
+<tr class="codeline" data-linenumber="1036"><td class="num" id="LN1036">1036</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1037"><td class="num" id="LN1037">1037</td><td class="line"> xsmp-&gt;state = XSMP_STATE_IDLE;</td></tr>
+<tr class="codeline" data-linenumber="1038"><td class="num" id="LN1038">1038</td><td class="line"> egg_sm_client_quit_cancelled (client);</td></tr>
+<tr class="codeline" data-linenumber="1039"><td class="num" id="LN1039">1039</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1040"><td class="num" id="LN1040">1040</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (xsmp-&gt;state == XSMP_STATE_SHUTDOWN_CANCELLED)</td></tr>
+<tr class="codeline" data-linenumber="1041"><td class="num" id="LN1041">1041</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1042"><td class="num" id="LN1042">1042</td><td class="line"> <span class='comment'>/* Hm... ok, so we got a shutdown SaveYourself, which got</span></td></tr>
+<tr class="codeline" data-linenumber="1043"><td class="num" id="LN1043">1043</td><td class="line"> <span class='comment'>* cancelled, but the application was still interacting, so we</span></td></tr>
+<tr class="codeline" data-linenumber="1044"><td class="num" id="LN1044">1044</td><td class="line"> <span class='comment'>* didn't tell it yet, and then *another* SaveYourself arrived,</span></td></tr>
+<tr class="codeline" data-linenumber="1045"><td class="num" id="LN1045">1045</td><td class="line"> <span class='comment'>* which we must still be waiting to tell the app about, except</span></td></tr>
+<tr class="codeline" data-linenumber="1046"><td class="num" id="LN1046">1046</td><td class="line"> <span class='comment'>* that now that SaveYourself has been cancelled too! Dizzy yet?</span></td></tr>
+<tr class="codeline" data-linenumber="1047"><td class="num" id="LN1047">1047</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1048"><td class="num" id="LN1048">1048</td><td class="line"> xsmp-&gt;waiting_to_save_myself = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1049"><td class="num" id="LN1049">1049</td><td class="line"> update_pending_events (xsmp);</td></tr>
+<tr class="codeline" data-linenumber="1050"><td class="num" id="LN1050">1050</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1051"><td class="num" id="LN1051">1051</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1052"><td class="num" id="LN1052">1052</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1053"><td class="num" id="LN1053">1053</td><td class="line"> g_debug (<span class='string_literal'>"Sending SaveYourselfDone(False)"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1054"><td class="num" id="LN1054">1054</td><td class="line"> SmcSaveYourselfDone (xsmp-&gt;connection, <span class='macro'>False<span class='macro_popup'>0</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1055"><td class="num" id="LN1055">1055</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1056"><td class="num" id="LN1056">1056</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;state == XSMP_STATE_INTERACT)</td></tr>
+<tr class="codeline" data-linenumber="1057"><td class="num" id="LN1057">1057</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1058"><td class="num" id="LN1058">1058</td><td class="line"> <span class='comment'>/* The application is currently interacting, so we can't</span></td></tr>
+<tr class="codeline" data-linenumber="1059"><td class="num" id="LN1059">1059</td><td class="line"> <span class='comment'>* tell it about the cancellation yet; we will wait until</span></td></tr>
+<tr class="codeline" data-linenumber="1060"><td class="num" id="LN1060">1060</td><td class="line"> <span class='comment'>* after it calls egg_sm_client_will_quit().</span></td></tr>
+<tr class="codeline" data-linenumber="1061"><td class="num" id="LN1061">1061</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1062"><td class="num" id="LN1062">1062</td><td class="line"> xsmp-&gt;state = XSMP_STATE_SHUTDOWN_CANCELLED;</td></tr>
+<tr class="codeline" data-linenumber="1063"><td class="num" id="LN1063">1063</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1064"><td class="num" id="LN1064">1064</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1065"><td class="num" id="LN1065">1065</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1066"><td class="num" id="LN1066">1066</td><td class="line"> <span class='comment'>/* The shutdown was cancelled before the application got a</span></td></tr>
+<tr class="codeline" data-linenumber="1067"><td class="num" id="LN1067">1067</td><td class="line"> <span class='comment'>* chance to interact.</span></td></tr>
+<tr class="codeline" data-linenumber="1068"><td class="num" id="LN1068">1068</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1069"><td class="num" id="LN1069">1069</td><td class="line"> xsmp-&gt;state = XSMP_STATE_IDLE;</td></tr>
+<tr class="codeline" data-linenumber="1070"><td class="num" id="LN1070">1070</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1071"><td class="num" id="LN1071">1071</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1072"><td class="num" id="LN1072">1072</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1073"><td class="num" id="LN1073">1073</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1074"><td class="num" id="LN1074">1074</td><td class="line"><span class='comment'>/* Utilities */</span></td></tr>
+<tr class="codeline" data-linenumber="1075"><td class="num" id="LN1075">1075</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1076"><td class="num" id="LN1076">1076</td><td class="line"><span class='comment'>/* Create a restart/clone/Exec command based on @restart_command.</span></td></tr>
+<tr class="codeline" data-linenumber="1077"><td class="num" id="LN1077">1077</td><td class="line"> <span class='comment'>* If @client_id is non-%NULL, add "--sm-client-id @client_id".</span></td></tr>
+<tr class="codeline" data-linenumber="1078"><td class="num" id="LN1078">1078</td><td class="line"> <span class='comment'>* If @state_file is non-%NULL, add "--sm-client-state-file @state_file".</span></td></tr>
+<tr class="codeline" data-linenumber="1079"><td class="num" id="LN1079">1079</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="1080"><td class="num" id="LN1080">1080</td><td class="line"> <span class='comment'>* None of the input strings are g_strdup()ed; the caller must keep</span></td></tr>
+<tr class="codeline" data-linenumber="1081"><td class="num" id="LN1081">1081</td><td class="line"> <span class='comment'>* them around until it is done with the returned GPtrArray, and must</span></td></tr>
+<tr class="codeline" data-linenumber="1082"><td class="num" id="LN1082">1082</td><td class="line"> <span class='comment'>* then free the array, but not its contents.</span></td></tr>
+<tr class="codeline" data-linenumber="1083"><td class="num" id="LN1083">1083</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1084"><td class="num" id="LN1084">1084</td><td class="line"><span class='keyword'>static</span> GPtrArray *</td></tr>
+<tr class="codeline" data-linenumber="1085"><td class="num" id="LN1085">1085</td><td class="line">generate_command (<span class='keyword'>char</span> **restart_command, <span class='keyword'>const</span> <span class='keyword'>char</span> *client_id,</td></tr>
+<tr class="codeline" data-linenumber="1086"><td class="num" id="LN1086">1086</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *state_file)</td></tr>
+<tr class="codeline" data-linenumber="1087"><td class="num" id="LN1087">1087</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1088"><td class="num" id="LN1088">1088</td><td class="line"> GPtrArray *cmd;</td></tr>
+<tr class="codeline" data-linenumber="1089"><td class="num" id="LN1089">1089</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="1090"><td class="num" id="LN1090">1090</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1091"><td class="num" id="LN1091">1091</td><td class="line"> cmd = g_ptr_array_new ();</td></tr>
+<tr class="codeline" data-linenumber="1092"><td class="num" id="LN1092">1092</td><td class="line"> g_ptr_array_add (cmd, restart_command[0]);</td></tr>
+<tr class="codeline" data-linenumber="1093"><td class="num" id="LN1093">1093</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1094"><td class="num" id="LN1094">1094</td><td class="line"> <span class='keyword'>if</span> (client_id)</td></tr>
+<tr class="codeline" data-linenumber="1095"><td class="num" id="LN1095">1095</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1096"><td class="num" id="LN1096">1096</td><td class="line"> g_ptr_array_add (cmd, (<span class='keyword'>char</span> *)<span class='string_literal'>"--sm-client-id"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1097"><td class="num" id="LN1097">1097</td><td class="line"> g_ptr_array_add (cmd, (<span class='keyword'>char</span> *)client_id);</td></tr>
+<tr class="codeline" data-linenumber="1098"><td class="num" id="LN1098">1098</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1099"><td class="num" id="LN1099">1099</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1100"><td class="num" id="LN1100">1100</td><td class="line"> <span class='keyword'>if</span> (state_file)</td></tr>
+<tr class="codeline" data-linenumber="1101"><td class="num" id="LN1101">1101</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1102"><td class="num" id="LN1102">1102</td><td class="line"> g_ptr_array_add (cmd, (<span class='keyword'>char</span> *)<span class='string_literal'>"--sm-client-state-file"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1103"><td class="num" id="LN1103">1103</td><td class="line"> g_ptr_array_add (cmd, (<span class='keyword'>char</span> *)state_file);</td></tr>
+<tr class="codeline" data-linenumber="1104"><td class="num" id="LN1104">1104</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1105"><td class="num" id="LN1105">1105</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1106"><td class="num" id="LN1106">1106</td><td class="line"> <span class='keyword'>for</span> (i = 1; restart_command[i]; i++)</td></tr>
+<tr class="codeline" data-linenumber="1107"><td class="num" id="LN1107">1107</td><td class="line"> g_ptr_array_add (cmd, restart_command[i]);</td></tr>
+<tr class="codeline" data-linenumber="1108"><td class="num" id="LN1108">1108</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1109"><td class="num" id="LN1109">1109</td><td class="line"> <span class='keyword'>return</span> cmd;</td></tr>
+<tr class="codeline" data-linenumber="1110"><td class="num" id="LN1110">1110</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1111"><td class="num" id="LN1111">1111</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1112"><td class="num" id="LN1112">1112</td><td class="line"><span class='comment'>/* Takes a NULL-terminated list of SmProp * values, created by</span></td></tr>
+<tr class="codeline" data-linenumber="1113"><td class="num" id="LN1113">1113</td><td class="line"> <span class='comment'>* array_prop, ptrarray_prop, string_prop, card8_prop, sets them, and</span></td></tr>
+<tr class="codeline" data-linenumber="1114"><td class="num" id="LN1114">1114</td><td class="line"> <span class='comment'>* frees them.</span></td></tr>
+<tr class="codeline" data-linenumber="1115"><td class="num" id="LN1115">1115</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1116"><td class="num" id="LN1116">1116</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1117"><td class="num" id="LN1117">1117</td><td class="line">set_properties (EggSMClientXSMP *xsmp, ...)</td></tr>
+<tr class="codeline" data-linenumber="1118"><td class="num" id="LN1118">1118</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1119"><td class="num" id="LN1119">1119</td><td class="line"> GPtrArray *props;</td></tr>
+<tr class="codeline" data-linenumber="1120"><td class="num" id="LN1120">1120</td><td class="line"> SmProp *prop;</td></tr>
+<tr class="codeline" data-linenumber="1121"><td class="num" id="LN1121">1121</td><td class="line"> va_list ap;</td></tr>
+<tr class="codeline" data-linenumber="1122"><td class="num" id="LN1122">1122</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="1123"><td class="num" id="LN1123">1123</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1124"><td class="num" id="LN1124">1124</td><td class="line"> props = g_ptr_array_new ();</td></tr>
+<tr class="codeline" data-linenumber="1125"><td class="num" id="LN1125">1125</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1126"><td class="num" id="LN1126">1126</td><td class="line"> <span class='macro'>va_start (ap, xsmp)<span class='macro_popup'>__builtin_va_start(ap, xsmp)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1127"><td class="num" id="LN1127">1127</td><td class="line"> <span class='keyword'>while</span> ((prop = <span class='macro'>va_arg (ap, SmProp *)<span class='macro_popup'>__builtin_va_arg(ap, SmProp *)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="1128"><td class="num" id="LN1128">1128</td><td class="line"> g_ptr_array_add (props, prop);</td></tr>
+<tr class="codeline" data-linenumber="1129"><td class="num" id="LN1129">1129</td><td class="line"> <span class='macro'>va_end (ap)<span class='macro_popup'>__builtin_va_end(ap)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1130"><td class="num" id="LN1130">1130</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1131"><td class="num" id="LN1131">1131</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;connection)</td></tr>
+<tr class="codeline" data-linenumber="1132"><td class="num" id="LN1132">1132</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1133"><td class="num" id="LN1133">1133</td><td class="line"> SmcSetProperties (xsmp-&gt;connection, props-&gt;len,</td></tr>
+<tr class="codeline" data-linenumber="1134"><td class="num" id="LN1134">1134</td><td class="line"> (SmProp **)props-&gt;pdata);</td></tr>
+<tr class="codeline" data-linenumber="1135"><td class="num" id="LN1135">1135</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1136"><td class="num" id="LN1136">1136</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1137"><td class="num" id="LN1137">1137</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; props-&gt;len; i++)</td></tr>
+<tr class="codeline" data-linenumber="1138"><td class="num" id="LN1138">1138</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1139"><td class="num" id="LN1139">1139</td><td class="line"> prop = props-&gt;pdata[i];</td></tr>
+<tr class="codeline" data-linenumber="1140"><td class="num" id="LN1140">1140</td><td class="line"> g_free (prop-&gt;vals);</td></tr>
+<tr class="codeline" data-linenumber="1141"><td class="num" id="LN1141">1141</td><td class="line"> g_free (prop);</td></tr>
+<tr class="codeline" data-linenumber="1142"><td class="num" id="LN1142">1142</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1143"><td class="num" id="LN1143">1143</td><td class="line"> g_ptr_array_free (props, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1144"><td class="num" id="LN1144">1144</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1145"><td class="num" id="LN1145">1145</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1146"><td class="num" id="LN1146">1146</td><td class="line"><span class='comment'>/* Takes a NULL-terminated list of property names and deletes them. */</span></td></tr>
+<tr class="codeline" data-linenumber="1147"><td class="num" id="LN1147">1147</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1148"><td class="num" id="LN1148">1148</td><td class="line">delete_properties (EggSMClientXSMP *xsmp, ...)</td></tr>
+<tr class="codeline" data-linenumber="1149"><td class="num" id="LN1149">1149</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1150"><td class="num" id="LN1150">1150</td><td class="line"> GPtrArray *props;</td></tr>
+<tr class="codeline" data-linenumber="1151"><td class="num" id="LN1151">1151</td><td class="line"> <span class='keyword'>char</span> *prop;</td></tr>
+<tr class="codeline" data-linenumber="1152"><td class="num" id="LN1152">1152</td><td class="line"> va_list ap;</td></tr>
+<tr class="codeline" data-linenumber="1153"><td class="num" id="LN1153">1153</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1154"><td class="num" id="LN1154">1154</td><td class="line"> <span class='keyword'>if</span> (!xsmp-&gt;connection)</td></tr>
+<tr class="codeline" data-linenumber="1155"><td class="num" id="LN1155">1155</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1156"><td class="num" id="LN1156">1156</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1157"><td class="num" id="LN1157">1157</td><td class="line"> props = g_ptr_array_new ();</td></tr>
+<tr class="codeline" data-linenumber="1158"><td class="num" id="LN1158">1158</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1159"><td class="num" id="LN1159">1159</td><td class="line"> <span class='macro'>va_start (ap, xsmp)<span class='macro_popup'>__builtin_va_start(ap, xsmp)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1160"><td class="num" id="LN1160">1160</td><td class="line"> <span class='keyword'>while</span> ((prop = <span class='macro'>va_arg (ap, <span class='keyword'>char</span> *)<span class='macro_popup'>__builtin_va_arg(ap, char *)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="1161"><td class="num" id="LN1161">1161</td><td class="line"> g_ptr_array_add (props, prop);</td></tr>
+<tr class="codeline" data-linenumber="1162"><td class="num" id="LN1162">1162</td><td class="line"> <span class='macro'>va_end (ap)<span class='macro_popup'>__builtin_va_end(ap)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1163"><td class="num" id="LN1163">1163</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1164"><td class="num" id="LN1164">1164</td><td class="line"> SmcDeleteProperties (xsmp-&gt;connection, props-&gt;len,</td></tr>
+<tr class="codeline" data-linenumber="1165"><td class="num" id="LN1165">1165</td><td class="line"> (<span class='keyword'>char</span> **)props-&gt;pdata);</td></tr>
+<tr class="codeline" data-linenumber="1166"><td class="num" id="LN1166">1166</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1167"><td class="num" id="LN1167">1167</td><td class="line"> g_ptr_array_free (props, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1168"><td class="num" id="LN1168">1168</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1169"><td class="num" id="LN1169">1169</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1170"><td class="num" id="LN1170">1170</td><td class="line"><span class='comment'>/* Takes an array of strings and creates a LISTofARRAY8 property. The</span></td></tr>
+<tr class="codeline" data-linenumber="1171"><td class="num" id="LN1171">1171</td><td class="line"> <span class='comment'>* strings are neither dupped nor freed; they need to remain valid</span></td></tr>
+<tr class="codeline" data-linenumber="1172"><td class="num" id="LN1172">1172</td><td class="line"> <span class='comment'>* until you're done with the SmProp.</span></td></tr>
+<tr class="codeline" data-linenumber="1173"><td class="num" id="LN1173">1173</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1174"><td class="num" id="LN1174">1174</td><td class="line"><span class='keyword'>static</span> SmProp *</td></tr>
+<tr class="codeline" data-linenumber="1175"><td class="num" id="LN1175">1175</td><td class="line">array_prop (<span class='keyword'>const</span> <span class='keyword'>char</span> *name, ...)</td></tr>
+<tr class="codeline" data-linenumber="1176"><td class="num" id="LN1176">1176</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1177"><td class="num" id="LN1177">1177</td><td class="line"> SmProp *prop;</td></tr>
+<tr class="codeline" data-linenumber="1178"><td class="num" id="LN1178">1178</td><td class="line"> SmPropValue pv;</td></tr>
+<tr class="codeline" data-linenumber="1179"><td class="num" id="LN1179">1179</td><td class="line"> GArray *vals;</td></tr>
+<tr class="codeline" data-linenumber="1180"><td class="num" id="LN1180">1180</td><td class="line"> <span class='keyword'>char</span> *value;</td></tr>
+<tr class="codeline" data-linenumber="1181"><td class="num" id="LN1181">1181</td><td class="line"> va_list ap;</td></tr>
+<tr class="codeline" data-linenumber="1182"><td class="num" id="LN1182">1182</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1183"><td class="num" id="LN1183">1183</td><td class="line"> prop = <span class='macro'>g_new (SmProp, 1)<span class='macro_popup'>((SmProp *) g_malloc_n ((1), sizeof (SmProp)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1184"><td class="num" id="LN1184">1184</td><td class="line"> prop-&gt;name = (<span class='keyword'>char</span> *)name;</td></tr>
+<tr class="codeline" data-linenumber="1185"><td class="num" id="LN1185">1185</td><td class="line"> prop-&gt;type = (<span class='keyword'>char</span> *)<span class='macro'>SmLISTofARRAY8<span class='macro_popup'>"LISTofARRAY8"</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1186"><td class="num" id="LN1186">1186</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1187"><td class="num" id="LN1187">1187</td><td class="line"> vals = g_array_new (<span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='keyword'>sizeof</span> (SmPropValue));</td></tr>
+<tr class="codeline" data-linenumber="1188"><td class="num" id="LN1188">1188</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1189"><td class="num" id="LN1189">1189</td><td class="line"> <span class='macro'>va_start (ap, name)<span class='macro_popup'>__builtin_va_start(ap, name)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1190"><td class="num" id="LN1190">1190</td><td class="line"> <span class='keyword'>while</span> ((value = <span class='macro'>va_arg (ap, <span class='keyword'>char</span> *)<span class='macro_popup'>__builtin_va_arg(ap, char *)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="1191"><td class="num" id="LN1191">1191</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1192"><td class="num" id="LN1192">1192</td><td class="line"> pv.length = strlen (value);</td></tr>
+<tr class="codeline" data-linenumber="1193"><td class="num" id="LN1193">1193</td><td class="line"> pv.value = value;</td></tr>
+<tr class="codeline" data-linenumber="1194"><td class="num" id="LN1194">1194</td><td class="line"> <span class='macro'>g_array_append_val (vals, pv)<span class='macro_popup'>g_array_append_vals (vals, &amp;(pv), 1)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1195"><td class="num" id="LN1195">1195</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1196"><td class="num" id="LN1196">1196</td><td class="line"> <span class='macro'>va_end (ap)<span class='macro_popup'>__builtin_va_end(ap)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1197"><td class="num" id="LN1197">1197</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1198"><td class="num" id="LN1198">1198</td><td class="line"> prop-&gt;num_vals = vals-&gt;len;</td></tr>
+<tr class="codeline" data-linenumber="1199"><td class="num" id="LN1199">1199</td><td class="line"> prop-&gt;vals = <span class="mrange"><span class="mrange">(SmPropValue *)vals-&gt;data</span></span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:18ex; max-width:31em">Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption</div></td></tr>
+<tr class="codeline" data-linenumber="1200"><td class="num" id="LN1200">1200</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1201"><td class="num" id="LN1201">1201</td><td class="line"> g_array_free (vals, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1202"><td class="num" id="LN1202">1202</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1203"><td class="num" id="LN1203">1203</td><td class="line"> <span class='keyword'>return</span> prop;</td></tr>
+<tr class="codeline" data-linenumber="1204"><td class="num" id="LN1204">1204</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1205"><td class="num" id="LN1205">1205</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1206"><td class="num" id="LN1206">1206</td><td class="line"><span class='comment'>/* Takes a GPtrArray of strings and creates a LISTofARRAY8 property.</span></td></tr>
+<tr class="codeline" data-linenumber="1207"><td class="num" id="LN1207">1207</td><td class="line"> <span class='comment'>* The array contents are neither dupped nor freed; they need to</span></td></tr>
+<tr class="codeline" data-linenumber="1208"><td class="num" id="LN1208">1208</td><td class="line"> <span class='comment'>* remain valid until you're done with the SmProp.</span></td></tr>
+<tr class="codeline" data-linenumber="1209"><td class="num" id="LN1209">1209</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1210"><td class="num" id="LN1210">1210</td><td class="line"><span class='keyword'>static</span> SmProp *</td></tr>
+<tr class="codeline" data-linenumber="1211"><td class="num" id="LN1211">1211</td><td class="line">ptrarray_prop (<span class='keyword'>const</span> <span class='keyword'>char</span> *name, GPtrArray *values)</td></tr>
+<tr class="codeline" data-linenumber="1212"><td class="num" id="LN1212">1212</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1213"><td class="num" id="LN1213">1213</td><td class="line"> SmProp *prop;</td></tr>
+<tr class="codeline" data-linenumber="1214"><td class="num" id="LN1214">1214</td><td class="line"> SmPropValue pv;</td></tr>
+<tr class="codeline" data-linenumber="1215"><td class="num" id="LN1215">1215</td><td class="line"> GArray *vals;</td></tr>
+<tr class="codeline" data-linenumber="1216"><td class="num" id="LN1216">1216</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="1217"><td class="num" id="LN1217">1217</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1218"><td class="num" id="LN1218">1218</td><td class="line"> prop = <span class='macro'>g_new (SmProp, 1)<span class='macro_popup'>((SmProp *) g_malloc_n ((1), sizeof (SmProp)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1219"><td class="num" id="LN1219">1219</td><td class="line"> prop-&gt;name = (<span class='keyword'>char</span> *)name;</td></tr>
+<tr class="codeline" data-linenumber="1220"><td class="num" id="LN1220">1220</td><td class="line"> prop-&gt;type = (<span class='keyword'>char</span> *)<span class='macro'>SmLISTofARRAY8<span class='macro_popup'>"LISTofARRAY8"</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1221"><td class="num" id="LN1221">1221</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1222"><td class="num" id="LN1222">1222</td><td class="line"> vals = g_array_new (<span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='keyword'>sizeof</span> (SmPropValue));</td></tr>
+<tr class="codeline" data-linenumber="1223"><td class="num" id="LN1223">1223</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1224"><td class="num" id="LN1224">1224</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; values-&gt;len; i++)</td></tr>
+<tr class="codeline" data-linenumber="1225"><td class="num" id="LN1225">1225</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1226"><td class="num" id="LN1226">1226</td><td class="line"> pv.length = strlen (values-&gt;pdata[i]);</td></tr>
+<tr class="codeline" data-linenumber="1227"><td class="num" id="LN1227">1227</td><td class="line"> pv.value = values-&gt;pdata[i];</td></tr>
+<tr class="codeline" data-linenumber="1228"><td class="num" id="LN1228">1228</td><td class="line"> <span class='macro'>g_array_append_val (vals, pv)<span class='macro_popup'>g_array_append_vals (vals, &amp;(pv), 1)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1229"><td class="num" id="LN1229">1229</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1230"><td class="num" id="LN1230">1230</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1231"><td class="num" id="LN1231">1231</td><td class="line"> prop-&gt;num_vals = vals-&gt;len;</td></tr>
+<tr class="codeline" data-linenumber="1232"><td class="num" id="LN1232">1232</td><td class="line"> prop-&gt;vals = (SmPropValue *)vals-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="1233"><td class="num" id="LN1233">1233</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1234"><td class="num" id="LN1234">1234</td><td class="line"> g_array_free (vals, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1235"><td class="num" id="LN1235">1235</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1236"><td class="num" id="LN1236">1236</td><td class="line"> <span class='keyword'>return</span> prop;</td></tr>
+<tr class="codeline" data-linenumber="1237"><td class="num" id="LN1237">1237</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1238"><td class="num" id="LN1238">1238</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1239"><td class="num" id="LN1239">1239</td><td class="line"><span class='comment'>/* Takes a string and creates an ARRAY8 property. The string is</span></td></tr>
+<tr class="codeline" data-linenumber="1240"><td class="num" id="LN1240">1240</td><td class="line"> <span class='comment'>* neither dupped nor freed; it needs to remain valid until you're</span></td></tr>
+<tr class="codeline" data-linenumber="1241"><td class="num" id="LN1241">1241</td><td class="line"> <span class='comment'>* done with the SmProp.</span></td></tr>
+<tr class="codeline" data-linenumber="1242"><td class="num" id="LN1242">1242</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1243"><td class="num" id="LN1243">1243</td><td class="line"><span class='keyword'>static</span> SmProp *</td></tr>
+<tr class="codeline" data-linenumber="1244"><td class="num" id="LN1244">1244</td><td class="line">string_prop (<span class='keyword'>const</span> <span class='keyword'>char</span> *name, <span class='keyword'>const</span> <span class='keyword'>char</span> *value)</td></tr>
+<tr class="codeline" data-linenumber="1245"><td class="num" id="LN1245">1245</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1246"><td class="num" id="LN1246">1246</td><td class="line"> SmProp *prop;</td></tr>
+<tr class="codeline" data-linenumber="1247"><td class="num" id="LN1247">1247</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1248"><td class="num" id="LN1248">1248</td><td class="line"> prop = <span class='macro'>g_new (SmProp, 1)<span class='macro_popup'>((SmProp *) g_malloc_n ((1), sizeof (SmProp)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1249"><td class="num" id="LN1249">1249</td><td class="line"> prop-&gt;name = (<span class='keyword'>char</span> *)name;</td></tr>
+<tr class="codeline" data-linenumber="1250"><td class="num" id="LN1250">1250</td><td class="line"> prop-&gt;type = (<span class='keyword'>char</span> *)<span class='macro'>SmARRAY8<span class='macro_popup'>"ARRAY8"</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1251"><td class="num" id="LN1251">1251</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1252"><td class="num" id="LN1252">1252</td><td class="line"> prop-&gt;num_vals = 1;</td></tr>
+<tr class="codeline" data-linenumber="1253"><td class="num" id="LN1253">1253</td><td class="line"> prop-&gt;vals = <span class='macro'>g_new (SmPropValue, 1)<span class='macro_popup'>((SmPropValue *) g_malloc_n ((1), sizeof (SmPropValue)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1254"><td class="num" id="LN1254">1254</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1255"><td class="num" id="LN1255">1255</td><td class="line"> prop-&gt;vals[0].length = strlen (value);</td></tr>
+<tr class="codeline" data-linenumber="1256"><td class="num" id="LN1256">1256</td><td class="line"> prop-&gt;vals[0].value = (<span class='keyword'>char</span> *)value;</td></tr>
+<tr class="codeline" data-linenumber="1257"><td class="num" id="LN1257">1257</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1258"><td class="num" id="LN1258">1258</td><td class="line"> <span class='keyword'>return</span> prop;</td></tr>
+<tr class="codeline" data-linenumber="1259"><td class="num" id="LN1259">1259</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1260"><td class="num" id="LN1260">1260</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1261"><td class="num" id="LN1261">1261</td><td class="line"><span class='comment'>/* Takes a char and creates a CARD8 property. */</span></td></tr>
+<tr class="codeline" data-linenumber="1262"><td class="num" id="LN1262">1262</td><td class="line"><span class='keyword'>static</span> SmProp *</td></tr>
+<tr class="codeline" data-linenumber="1263"><td class="num" id="LN1263">1263</td><td class="line">card8_prop (<span class='keyword'>const</span> <span class='keyword'>char</span> *name, <span class='keyword'>unsigned</span> <span class='keyword'>char</span> value)</td></tr>
+<tr class="codeline" data-linenumber="1264"><td class="num" id="LN1264">1264</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1265"><td class="num" id="LN1265">1265</td><td class="line"> SmProp *prop;</td></tr>
+<tr class="codeline" data-linenumber="1266"><td class="num" id="LN1266">1266</td><td class="line"> <span class='keyword'>char</span> *card8val;</td></tr>
+<tr class="codeline" data-linenumber="1267"><td class="num" id="LN1267">1267</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1268"><td class="num" id="LN1268">1268</td><td class="line"> <span class='comment'>/* To avoid having to allocate and free prop-&gt;vals[0], we cheat and</span></td></tr>
+<tr class="codeline" data-linenumber="1269"><td class="num" id="LN1269">1269</td><td class="line"> <span class='comment'>* make vals a 2-element-long array and then use the second element</span></td></tr>
+<tr class="codeline" data-linenumber="1270"><td class="num" id="LN1270">1270</td><td class="line"> <span class='comment'>* to store value.</span></td></tr>
+<tr class="codeline" data-linenumber="1271"><td class="num" id="LN1271">1271</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1272"><td class="num" id="LN1272">1272</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1273"><td class="num" id="LN1273">1273</td><td class="line"> prop = <span class='macro'>g_new (SmProp, 1)<span class='macro_popup'>((SmProp *) g_malloc_n ((1), sizeof (SmProp)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1274"><td class="num" id="LN1274">1274</td><td class="line"> prop-&gt;name = (<span class='keyword'>char</span> *)name;</td></tr>
+<tr class="codeline" data-linenumber="1275"><td class="num" id="LN1275">1275</td><td class="line"> prop-&gt;type = (<span class='keyword'>char</span> *)<span class='macro'>SmCARD8<span class='macro_popup'>"CARD8"</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1276"><td class="num" id="LN1276">1276</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1277"><td class="num" id="LN1277">1277</td><td class="line"> prop-&gt;num_vals = 1;</td></tr>
+<tr class="codeline" data-linenumber="1278"><td class="num" id="LN1278">1278</td><td class="line"> prop-&gt;vals = <span class='macro'>g_new (SmPropValue, 2)<span class='macro_popup'>((SmPropValue *) g_malloc_n ((2), sizeof (SmPropValue)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1279"><td class="num" id="LN1279">1279</td><td class="line"> card8val = (<span class='keyword'>char</span> *)(&amp;prop-&gt;vals[1]);</td></tr>
+<tr class="codeline" data-linenumber="1280"><td class="num" id="LN1280">1280</td><td class="line"> card8val[0] = value;</td></tr>
+<tr class="codeline" data-linenumber="1281"><td class="num" id="LN1281">1281</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1282"><td class="num" id="LN1282">1282</td><td class="line"> prop-&gt;vals[0].length = 1;</td></tr>
+<tr class="codeline" data-linenumber="1283"><td class="num" id="LN1283">1283</td><td class="line"> prop-&gt;vals[0].value = card8val;</td></tr>
+<tr class="codeline" data-linenumber="1284"><td class="num" id="LN1284">1284</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1285"><td class="num" id="LN1285">1285</td><td class="line"> <span class='keyword'>return</span> prop;</td></tr>
+<tr class="codeline" data-linenumber="1286"><td class="num" id="LN1286">1286</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1287"><td class="num" id="LN1287">1287</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1288"><td class="num" id="LN1288">1288</td><td class="line"><span class='comment'>/* ICE code. This makes no effort to play nice with anyone else trying</span></td></tr>
+<tr class="codeline" data-linenumber="1289"><td class="num" id="LN1289">1289</td><td class="line"> <span class='comment'>* to use libICE. Fortunately, no one uses libICE for anything other</span></td></tr>
+<tr class="codeline" data-linenumber="1290"><td class="num" id="LN1290">1290</td><td class="line"> <span class='comment'>* than SM. (DCOP uses ICE, but it has its own private copy of</span></td></tr>
+<tr class="codeline" data-linenumber="1291"><td class="num" id="LN1291">1291</td><td class="line"> <span class='comment'>* libICE.)</span></td></tr>
+<tr class="codeline" data-linenumber="1292"><td class="num" id="LN1292">1292</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="1293"><td class="num" id="LN1293">1293</td><td class="line"> <span class='comment'>* When this moves to gtk, it will need to be cleverer, to avoid</span></td></tr>
+<tr class="codeline" data-linenumber="1294"><td class="num" id="LN1294">1294</td><td class="line"> <span class='comment'>* tripping over old apps that use MateClient or that use libSM</span></td></tr>
+<tr class="codeline" data-linenumber="1295"><td class="num" id="LN1295">1295</td><td class="line"> <span class='comment'>* directly.</span></td></tr>
+<tr class="codeline" data-linenumber="1296"><td class="num" id="LN1296">1296</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1297"><td class="num" id="LN1297">1297</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1298"><td class="num" id="LN1298">1298</td><td class="line"><span class='directive'>#include &lt;X11/ICE/ICElib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="1299"><td class="num" id="LN1299">1299</td><td class="line"><span class='directive'>#include &lt;fcntl.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="1300"><td class="num" id="LN1300">1300</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1301"><td class="num" id="LN1301">1301</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> ice_error_handler (IceConn ice_conn,</td></tr>
+<tr class="codeline" data-linenumber="1302"><td class="num" id="LN1302">1302</td><td class="line"> <span class='macro'>Bool<span class='macro_popup'>int</span></span> swap,</td></tr>
+<tr class="codeline" data-linenumber="1303"><td class="num" id="LN1303">1303</td><td class="line"> <span class='keyword'>int</span> offending_minor_opcode,</td></tr>
+<tr class="codeline" data-linenumber="1304"><td class="num" id="LN1304">1304</td><td class="line"> <span class='keyword'>unsigned</span> <span class='keyword'>long</span> offending_sequence,</td></tr>
+<tr class="codeline" data-linenumber="1305"><td class="num" id="LN1305">1305</td><td class="line"> <span class='keyword'>int</span> error_class,</td></tr>
+<tr class="codeline" data-linenumber="1306"><td class="num" id="LN1306">1306</td><td class="line"> <span class='keyword'>int</span> severity,</td></tr>
+<tr class="codeline" data-linenumber="1307"><td class="num" id="LN1307">1307</td><td class="line"> IcePointer values);</td></tr>
+<tr class="codeline" data-linenumber="1308"><td class="num" id="LN1308">1308</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> ice_io_error_handler (IceConn ice_conn);</td></tr>
+<tr class="codeline" data-linenumber="1309"><td class="num" id="LN1309">1309</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> ice_connection_watch (IceConn ice_conn,</td></tr>
+<tr class="codeline" data-linenumber="1310"><td class="num" id="LN1310">1310</td><td class="line"> IcePointer client_data,</td></tr>
+<tr class="codeline" data-linenumber="1311"><td class="num" id="LN1311">1311</td><td class="line"> <span class='macro'>Bool<span class='macro_popup'>int</span></span> opening,</td></tr>
+<tr class="codeline" data-linenumber="1312"><td class="num" id="LN1312">1312</td><td class="line"> IcePointer *watch_data);</td></tr>
+<tr class="codeline" data-linenumber="1313"><td class="num" id="LN1313">1313</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1314"><td class="num" id="LN1314">1314</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1315"><td class="num" id="LN1315">1315</td><td class="line">ice_init (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="1316"><td class="num" id="LN1316">1316</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1317"><td class="num" id="LN1317">1317</td><td class="line"> IceSetIOErrorHandler (ice_io_error_handler);</td></tr>
+<tr class="codeline" data-linenumber="1318"><td class="num" id="LN1318">1318</td><td class="line"> IceSetErrorHandler (ice_error_handler);</td></tr>
+<tr class="codeline" data-linenumber="1319"><td class="num" id="LN1319">1319</td><td class="line"> IceAddConnectionWatch (ice_connection_watch, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1320"><td class="num" id="LN1320">1320</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1321"><td class="num" id="LN1321">1321</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1322"><td class="num" id="LN1322">1322</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1323"><td class="num" id="LN1323">1323</td><td class="line">process_ice_messages (IceConn ice_conn)</td></tr>
+<tr class="codeline" data-linenumber="1324"><td class="num" id="LN1324">1324</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1325"><td class="num" id="LN1325">1325</td><td class="line"> IceProcessMessagesStatus status;</td></tr>
+<tr class="codeline" data-linenumber="1326"><td class="num" id="LN1326">1326</td><td class="line"> status = IceProcessMessages (ice_conn, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1327"><td class="num" id="LN1327">1327</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1328"><td class="num" id="LN1328">1328</td><td class="line"> <span class='keyword'>switch</span> (status)</td></tr>
+<tr class="codeline" data-linenumber="1329"><td class="num" id="LN1329">1329</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1330"><td class="num" id="LN1330">1330</td><td class="line"> <span class='keyword'>case</span> IceProcessMessagesSuccess:</td></tr>
+<tr class="codeline" data-linenumber="1331"><td class="num" id="LN1331">1331</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1332"><td class="num" id="LN1332">1332</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1333"><td class="num" id="LN1333">1333</td><td class="line"> <span class='keyword'>case</span> IceProcessMessagesIOError:</td></tr>
+<tr class="codeline" data-linenumber="1334"><td class="num" id="LN1334">1334</td><td class="line"> sm_client_xsmp_disconnect (IceGetConnectionContext (ice_conn));</td></tr>
+<tr class="codeline" data-linenumber="1335"><td class="num" id="LN1335">1335</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1336"><td class="num" id="LN1336">1336</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1337"><td class="num" id="LN1337">1337</td><td class="line"> <span class='keyword'>case</span> IceProcessMessagesConnectionClosed:</td></tr>
+<tr class="codeline" data-linenumber="1338"><td class="num" id="LN1338">1338</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1339"><td class="num" id="LN1339">1339</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1340"><td class="num" id="LN1340">1340</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="1341"><td class="num" id="LN1341">1341</td><td class="line"> <span class='macro'>g_assert_not_reached ()<span class='macro_popup'>do { g_assertion_message_expr ("EggSMClient", "eggsmclient-xsmp.c"<br>, 1341, ((const char*) (__func__)), ((void*)0)); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1342"><td class="num" id="LN1342">1342</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1343"><td class="num" id="LN1343">1343</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1344"><td class="num" id="LN1344">1344</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1345"><td class="num" id="LN1345">1345</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1346"><td class="num" id="LN1346">1346</td><td class="line">ice_iochannel_watch (GIOChannel *channel,</td></tr>
+<tr class="codeline" data-linenumber="1347"><td class="num" id="LN1347">1347</td><td class="line"> GIOCondition condition,</td></tr>
+<tr class="codeline" data-linenumber="1348"><td class="num" id="LN1348">1348</td><td class="line"> gpointer client_data)</td></tr>
+<tr class="codeline" data-linenumber="1349"><td class="num" id="LN1349">1349</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1350"><td class="num" id="LN1350">1350</td><td class="line"> <span class='keyword'>return</span> process_ice_messages (client_data);</td></tr>
+<tr class="codeline" data-linenumber="1351"><td class="num" id="LN1351">1351</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1352"><td class="num" id="LN1352">1352</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1353"><td class="num" id="LN1353">1353</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1354"><td class="num" id="LN1354">1354</td><td class="line">ice_connection_watch (IceConn ice_conn,</td></tr>
+<tr class="codeline" data-linenumber="1355"><td class="num" id="LN1355">1355</td><td class="line"> IcePointer client_data,</td></tr>
+<tr class="codeline" data-linenumber="1356"><td class="num" id="LN1356">1356</td><td class="line"> <span class='macro'>Bool<span class='macro_popup'>int</span></span> opening,</td></tr>
+<tr class="codeline" data-linenumber="1357"><td class="num" id="LN1357">1357</td><td class="line"> IcePointer *watch_data)</td></tr>
+<tr class="codeline" data-linenumber="1358"><td class="num" id="LN1358">1358</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1359"><td class="num" id="LN1359">1359</td><td class="line"> guint watch_id;</td></tr>
+<tr class="codeline" data-linenumber="1360"><td class="num" id="LN1360">1360</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1361"><td class="num" id="LN1361">1361</td><td class="line"> <span class='keyword'>if</span> (opening)</td></tr>
+<tr class="codeline" data-linenumber="1362"><td class="num" id="LN1362">1362</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1363"><td class="num" id="LN1363">1363</td><td class="line"> GIOChannel *channel;</td></tr>
+<tr class="codeline" data-linenumber="1364"><td class="num" id="LN1364">1364</td><td class="line"> <span class='keyword'>int</span> fd = IceConnectionNumber (ice_conn);</td></tr>
+<tr class="codeline" data-linenumber="1365"><td class="num" id="LN1365">1365</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1366"><td class="num" id="LN1366">1366</td><td class="line"> fcntl (fd, <span class='macro'>F_SETFD<span class='macro_popup'>2</span></span>, fcntl (fd, <span class='macro'>F_GETFD<span class='macro_popup'>1</span></span>, 0) | <span class='macro'>FD_CLOEXEC<span class='macro_popup'>1</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1367"><td class="num" id="LN1367">1367</td><td class="line"> channel = g_io_channel_unix_new (fd);</td></tr>
+<tr class="codeline" data-linenumber="1368"><td class="num" id="LN1368">1368</td><td class="line"> watch_id = g_io_add_watch (channel, G_IO_IN | G_IO_ERR,</td></tr>
+<tr class="codeline" data-linenumber="1369"><td class="num" id="LN1369">1369</td><td class="line"> ice_iochannel_watch, ice_conn);</td></tr>
+<tr class="codeline" data-linenumber="1370"><td class="num" id="LN1370">1370</td><td class="line"> g_io_channel_unref (channel);</td></tr>
+<tr class="codeline" data-linenumber="1371"><td class="num" id="LN1371">1371</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1372"><td class="num" id="LN1372">1372</td><td class="line"> *watch_data = <span class='macro'>GUINT_TO_POINTER (watch_id)<span class='macro_popup'>((gpointer) (gulong) (watch_id))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1373"><td class="num" id="LN1373">1373</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1374"><td class="num" id="LN1374">1374</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1375"><td class="num" id="LN1375">1375</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1376"><td class="num" id="LN1376">1376</td><td class="line"> watch_id = <span class='macro'>GPOINTER_TO_UINT (*watch_data)<span class='macro_popup'>((guint) (gulong) (*watch_data))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1377"><td class="num" id="LN1377">1377</td><td class="line"> g_source_remove (watch_id);</td></tr>
+<tr class="codeline" data-linenumber="1378"><td class="num" id="LN1378">1378</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1379"><td class="num" id="LN1379">1379</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1380"><td class="num" id="LN1380">1380</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1381"><td class="num" id="LN1381">1381</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1382"><td class="num" id="LN1382">1382</td><td class="line">ice_error_handler (IceConn ice_conn,</td></tr>
+<tr class="codeline" data-linenumber="1383"><td class="num" id="LN1383">1383</td><td class="line"> <span class='macro'>Bool<span class='macro_popup'>int</span></span> swap,</td></tr>
+<tr class="codeline" data-linenumber="1384"><td class="num" id="LN1384">1384</td><td class="line"> <span class='keyword'>int</span> offending_minor_opcode,</td></tr>
+<tr class="codeline" data-linenumber="1385"><td class="num" id="LN1385">1385</td><td class="line"> <span class='keyword'>unsigned</span> <span class='keyword'>long</span> offending_sequence,</td></tr>
+<tr class="codeline" data-linenumber="1386"><td class="num" id="LN1386">1386</td><td class="line"> <span class='keyword'>int</span> error_class,</td></tr>
+<tr class="codeline" data-linenumber="1387"><td class="num" id="LN1387">1387</td><td class="line"> <span class='keyword'>int</span> severity,</td></tr>
+<tr class="codeline" data-linenumber="1388"><td class="num" id="LN1388">1388</td><td class="line"> IcePointer values)</td></tr>
+<tr class="codeline" data-linenumber="1389"><td class="num" id="LN1389">1389</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1390"><td class="num" id="LN1390">1390</td><td class="line"> <span class='comment'>/* Do nothing */</span></td></tr>
+<tr class="codeline" data-linenumber="1391"><td class="num" id="LN1391">1391</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1392"><td class="num" id="LN1392">1392</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1393"><td class="num" id="LN1393">1393</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1394"><td class="num" id="LN1394">1394</td><td class="line">ice_io_error_handler (IceConn ice_conn)</td></tr>
+<tr class="codeline" data-linenumber="1395"><td class="num" id="LN1395">1395</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1396"><td class="num" id="LN1396">1396</td><td class="line"> <span class='comment'>/* Do nothing */</span></td></tr>
+<tr class="codeline" data-linenumber="1397"><td class="num" id="LN1397">1397</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1398"><td class="num" id="LN1398">1398</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1399"><td class="num" id="LN1399">1399</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1400"><td class="num" id="LN1400">1400</td><td class="line">smc_error_handler (SmcConn smc_conn,</td></tr>
+<tr class="codeline" data-linenumber="1401"><td class="num" id="LN1401">1401</td><td class="line"> <span class='macro'>Bool<span class='macro_popup'>int</span></span> swap,</td></tr>
+<tr class="codeline" data-linenumber="1402"><td class="num" id="LN1402">1402</td><td class="line"> <span class='keyword'>int</span> offending_minor_opcode,</td></tr>
+<tr class="codeline" data-linenumber="1403"><td class="num" id="LN1403">1403</td><td class="line"> <span class='keyword'>unsigned</span> <span class='keyword'>long</span> offending_sequence,</td></tr>
+<tr class="codeline" data-linenumber="1404"><td class="num" id="LN1404">1404</td><td class="line"> <span class='keyword'>int</span> error_class,</td></tr>
+<tr class="codeline" data-linenumber="1405"><td class="num" id="LN1405">1405</td><td class="line"> <span class='keyword'>int</span> severity,</td></tr>
+<tr class="codeline" data-linenumber="1406"><td class="num" id="LN1406">1406</td><td class="line"> SmPointer values)</td></tr>
+<tr class="codeline" data-linenumber="1407"><td class="num" id="LN1407">1407</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1408"><td class="num" id="LN1408">1408</td><td class="line"> <span class='comment'>/* Do nothing */</span></td></tr>
+<tr class="codeline" data-linenumber="1409"><td class="num" id="LN1409">1409</td><td class="line">}</td></tr>
+</table></body></html>
diff --git a/2024-03-27-012041-5213-1@78903120e74d_master/report-cafb08.html b/2024-03-27-012041-5213-1@78903120e74d_master/report-cafb08.html
new file mode 100644
index 0000000..ebe698d
--- /dev/null
+++ b/2024-03-27-012041-5213-1@78903120e74d_master/report-cafb08.html
@@ -0,0 +1,1265 @@
+<!doctype html>
+<html>
+<head>
+<title>glib-utils.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC Out of bound memory access (access exceeds upper limit of memory block) -->
+
+<!-- BUGTYPE Out-of-bound access -->
+
+<!-- BUGCATEGORY Logic error -->
+
+<!-- BUGFILE /rootdir/src/glib-utils.c -->
+
+<!-- FILENAME glib-utils.c -->
+
+<!-- FUNCTIONNAME g_utf8_strsplit -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT cafb0877d34be0e0feab00351e466e78 -->
+
+<!-- BUGLINE 221 -->
+
+<!-- BUGCOLUMN 18 -->
+
+<!-- BUGPATHLENGTH 21 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>src/glib-utils.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 221, column 18</a><br />Out of bound memory access (access exceeds upper limit of memory block)</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name glib-utils.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/src -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I .. -I ../mate-submodules/libegg/ -I .. -I .. -D ENGRAMPA_RESOURCE_UI_PATH="/org/mate/Engrampa/ui" -D FR_PREFIX="/usr/local" -D FR_SYSCONFDIR="/usr/local/etc" -D FR_DATADIR="/usr/local/share" -D PRIVDATADIR="/usr/local/share/engrampa/" -D FR_LIBDIR="/usr/local/lib" -D PKG_DATA_DIR="/usr/local/share/engrampa" -D PIXMAPSDIR="/usr/local/share/pixmaps" -D GLADEDIR="" -D LOCALEDIR="/usr/local/share/locale" -D SHDIR="/usr/local/libexec/engrampa/" -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/cairo -I /usr/include/gio-unix-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/libmount -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/fribidi -I /usr/include/sysprof-6 -I /usr/include/libpng16 -I /usr/include/json-glib-1.0 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/libmount -I /usr/include/blkid -I /usr/include/sysprof-6 -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-unused-parameter -fdebug-compilation-dir=/rootdir/src -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2024-03-27-012041-5213-1 -x c glib-utils.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"175": 1, "176": 1, "177": 1, "178": 1, "179": 1, "180": 1, "181": 1, "182": 1, "183": 1, "184": 1, "186": 1, "187": 1, "188": 1, "190": 1, "193": 1, "194": 1, "195": 1, "212": 1, "213": 1, "214": 1, "217": 1, "219": 1, "220": 1, "221": 1, "314": 1, "315": 1, "316": 1, "317": 1, "318": 1, "320": 1, "323": 1, "338": 1, "339": 1, "340": 1, "341": 1, "342": 1, "343": 1, "344": 1, "346": 1}, "6375": {"308": 1, "309": 1, "310": 1, "311": 1, "314": 1, "321": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+ <path class="arrow" id="arrow0"/>
+ <path class="arrow" id="arrow1"/>
+ <path class="arrow" id="arrow2"/>
+ <path class="arrow" id="arrow3"/>
+ <path class="arrow" id="arrow4"/>
+ <path class="arrow" id="arrow5"/>
+ <path class="arrow" id="arrow6"/>
+ <path class="arrow" id="arrow7"/>
+ <path class="arrow" id="arrow8"/>
+ <path class="arrow" id="arrow9"/>
+ <path class="arrow" id="arrow10"/>
+ <path class="arrow" id="arrow11"/>
+ <path class="arrow" id="arrow12"/>
+ <path class="arrow" id="arrow13"/>
+ <path class="arrow" id="arrow14"/>
+ <path class="arrow" id="arrow15"/>
+ <path class="arrow" id="arrow16"/>
+ <path class="arrow" id="arrow17"/>
+ <path class="arrow" id="arrow18"/>
+ <path class="arrow" id="arrow19"/>
+ <path class="arrow" id="arrow20"/>
+ <path class="arrow" id="arrow21"/>
+ <path class="arrow" id="arrow22"/>
+ <path class="arrow" id="arrow23"/>
+ <path class="arrow" id="arrow24"/>
+ <path class="arrow" id="arrow25"/>
+ <path class="arrow" id="arrow26"/>
+ <path class="arrow" id="arrow27"/>
+ <path class="arrow" id="arrow28"/>
+ <path class="arrow" id="arrow29"/>
+ <path class="arrow" id="arrow30"/>
+ <path class="arrow" id="arrow31"/>
+ <path class="arrow" id="arrow32"/>
+ <path class="arrow" id="arrow33"/>
+ <path class="arrow" id="arrow34"/>
+ <path class="arrow" id="arrow35"/>
+ <path class="arrow" id="arrow36"/>
+ <path class="arrow" id="arrow37"/>
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 38,36,33,31,30,24,24,21,21,19,19,17,14,12,12,11,6,2,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"><span class='comment'>/*</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>* Engrampa</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>* Copyright (C) 2005 Free Software Foundation, Inc.</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>* This program is free software; you can redistribute it and/or modify</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>* it under the terms of the GNU General Public License as published by</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>* the Free Software Foundation; either version 2 of the License, or</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>* (at your option) any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>* This program is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>* GNU General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>* You should have received a copy of the GNU General Public License</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>* along with this program; if not, write to the Free Software</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> <span class='comment'>* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"><span class='directive'>#include &lt;config.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"><span class='directive'>#include &lt;string.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"><span class='directive'>#include &lt;stdio.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#include &lt;glib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"><span class='directive'>#include &lt;glib/gi18n.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"><span class='directive'>#include &lt;glib/gprintf.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#include &lt;glib-object.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"><span class='directive'>#include "glib-utils.h"</span></td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"><span class='directive'>#define <span class='macro'>MAX_PATTERNS<span class='macro_popup'>128</span></span> 128</span></td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"><span class='comment'>/* gobject utils*/</span></td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line">_g_object_unref (gpointer object)</td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"> <span class='keyword'>if</span> (object != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line"> g_object_unref (object);</td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"><span class='comment'>/* string utils */</span></td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line">strchrs (<span class='keyword'>const</span> <span class='keyword'>char</span> *str,</td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *chars)</td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *c;</td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line"> <span class='keyword'>for</span> (c = chars; *c != '\0'; c++)</td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"> <span class='keyword'>if</span> (strchr (str, *c) != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line"><span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line">str_substitute (<span class='keyword'>const</span> <span class='keyword'>char</span> *str,</td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *from_str,</td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *to_str)</td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"> <span class='keyword'>char</span> **tokens;</td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line"> GString *gstr;</td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line"> <span class='keyword'>if</span> (str == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"> <span class='keyword'>if</span> (from_str == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>g_strdup (str)<span class='macro_popup'>g_strdup_inline (str)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line"> <span class='keyword'>if</span> (strcmp (str, from_str) == 0)</td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>g_strdup (to_str)<span class='macro_popup'>g_strdup_inline (to_str)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line"> tokens = g_strsplit (str, from_str, -1);</td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line"> gstr = g_string_new (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line"> <span class='keyword'>for</span> (i = 0; tokens[i] != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; i++) {</td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"> gstr = <span class='macro'>g_string_append (gstr, tokens[i])<span class='macro_popup'>(__builtin_constant_p (tokens[i]) ? __extension__ ({ const char<br> * const __val = (tokens[i]); g_string_append_len_inline (gstr<br>, __val, (__val != ((void*)0)) ? (gssize) strlen (((__val) + !<br>(__val))) : (gssize) -1); }) : g_string_append_len_inline (gstr<br>, tokens[i], (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"> <span class='keyword'>if</span> ((to_str != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (tokens[i+1] != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line"> gstr = <span class='macro'>g_string_append (gstr, to_str)<span class='macro_popup'>(__builtin_constant_p (to_str) ? __extension__ ({ const char *<br> const __val = (to_str); g_string_append_len_inline (gstr, __val<br>, (__val != ((void*)0)) ? (gssize) strlen (((__val) + !(__val<br>))) : (gssize) -1); }) : g_string_append_len_inline (gstr, to_str<br>, (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"> g_strfreev (tokens);</td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>g_string_free (gstr, FALSE)<span class='macro_popup'>(__builtin_constant_p ((0)) ? (((0)) ? (g_string_free) ((gstr<br>), ((0))) : g_string_free_and_steal (gstr)) : (g_string_free)<br> ((gstr), ((0))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"><span class='comment'>/* counts how many characters to escape in @str. */</span></td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line">count_chars_to_escape (<span class='keyword'>const</span> <span class='keyword'>char</span> *str,</td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *meta_chars)</td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line"> <span class='keyword'>int</span> meta_chars_n = strlen (meta_chars);</td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *s;</td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> <span class='keyword'>int</span> n = 0;</td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"> <span class='keyword'>for</span> (s = str; *s != 0; s++) {</td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; meta_chars_n; i++)</td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"> <span class='keyword'>if</span> (*s == meta_chars[i]) {</td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"> n++;</td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"> <span class='keyword'>return</span> n;</td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>char</span>*</td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line">escape_str_common (<span class='keyword'>const</span> <span class='keyword'>char</span> *str,</td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *meta_chars,</td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> prefix,</td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> postfix)</td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> <span class='keyword'>int</span> meta_chars_n = strlen (meta_chars);</td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line"> <span class='keyword'>char</span> *escaped;</td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line"> <span class='keyword'>int</span> i, new_l, extra_chars = 0;</td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *s;</td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line"> <span class='keyword'>char</span> *t;</td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line"> <span class='keyword'>if</span> (str == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"> <span class='keyword'>if</span> (prefix)</td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"> extra_chars++;</td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line"> <span class='keyword'>if</span> (postfix)</td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> extra_chars++;</td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line"> new_l = strlen (str) + (count_chars_to_escape (str, meta_chars) * extra_chars);</td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> escaped = g_malloc (new_l + 1);</td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"> s = str;</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"> t = escaped;</td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"> <span class='keyword'>while</span> (*s) {</td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> gboolean is_bad = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"> <span class='keyword'>for</span> (i = 0; (i &lt; meta_chars_n) &amp;&amp; !is_bad; i++)</td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> is_bad = (*s == meta_chars[i]);</td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line"> <span class='keyword'>if</span> (is_bad &amp;&amp; prefix)</td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line"> *t++ = prefix;</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"> *t++ = *s++;</td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"> <span class='keyword'>if</span> (is_bad &amp;&amp; postfix)</td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line"> *t++ = postfix;</td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"> *t = 0;</td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line"> <span class='keyword'>return</span> escaped;</td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"><span class='comment'>/* escape with backslash the string @str. */</span></td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"><span class='keyword'>char</span>*</td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line">escape_str (<span class='keyword'>const</span> <span class='keyword'>char</span> *str,</td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *meta_chars)</td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"> <span class='keyword'>return</span> escape_str_common (str, meta_chars, '\\', 0);</td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line">g_utf8_strstr (<span class='keyword'>const</span> <span class='keyword'>char</span> *haystack, <span class='keyword'>const</span> <span class='keyword'>char</span> *needle)</td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *s;</td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> gsize i;</td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> gsize haystack_len = g_utf8_strlen (haystack, -1);</td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"> gsize needle_len = g_utf8_strlen (needle, -1);</td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> <span class='keyword'>int</span> needle_size = strlen (needle);</td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> s = haystack;</td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt;= haystack_len - needle_len; i++) {</td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> <span class='keyword'>if</span> (strncmp (s, needle, needle_size) == 0)</td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line"> <span class='keyword'>return</span> s;</td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line"> s = <span class='macro'>g_utf8_next_char(s)<span class='macro_popup'>(char *)((s) + g_utf8_skip[*(const guchar *)(s)])</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"><span id="start29"><span class='keyword'>static</span></span> <span class='keyword'>char</span>**</td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line">g_utf8_strsplit (<span class='keyword'>const</span> <span class='keyword'>char</span> *string,</td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *delimiter,</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> <span class='keyword'>int</span> max_tokens)</td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"> GSList *<span id="start28"><span id="end29">string_list</span></span> = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, *slist;</td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"> <span class='keyword'>char</span> **str_array;</td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *s;</td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"> guint n = 0;</td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line"> <span id="start27"><span id="end28"><span class='keyword'>const</span></span></span> <span class='keyword'>char</span> *remainder;</td></tr>
+<tr class="codeline" data-linenumber="185"><td class="num" id="LN185">185</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="186"><td class="num" id="LN186">186</td><td class="line"> <span id="start25"><span id="start26"><span id="end26"><span id="end27"><span class='macro'>g_return_val_if_fail</span></span></span></span> (string != NULL, NULL)<span class='macro_popup'>do { if ((string != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "string != NULL")<br>; return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path5" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">5</div></td><td><div class="PathNav"><a href="#Path4" title="Previous event (4)">&#x2190;</a></div></td><td>Taking true branch</td><td><div class="PathNav"><a href="#Path6" title="Next event (6)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path6" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">6</div></td><td><div class="PathNav"><a href="#Path5" title="Previous event (5)">&#x2190;</a></div></td><td>Loop condition is false. Exiting loop</td><td><div class="PathNav"><a href="#Path7" title="Next event (7)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="187"><td class="num" id="LN187">187</td><td class="line"> <span id="start22"><span id="start23"><span id="end23"><span id="start24"><span id="end24"><span id="end25"><span class='macro'>g_return_val_if_fail</span></span></span></span></span></span> (delimiter != NULL, NULL)<span class='macro_popup'>do { if ((delimiter != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "delimiter != NULL"<br>); return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path7" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">7</div></td><td><div class="PathNav"><a href="#Path6" title="Previous event (6)">&#x2190;</a></div></td><td>Taking true branch</td><td><div class="PathNav"><a href="#Path8" title="Next event (8)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path8" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">8</div></td><td><div class="PathNav"><a href="#Path7" title="Previous event (7)">&#x2190;</a></div></td><td>Loop condition is false. Exiting loop</td><td><div class="PathNav"><a href="#Path9" title="Next event (9)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="188"><td class="num" id="LN188">188</td><td class="line"> <span id="start20"><span id="start21"><span id="end21"><span id="end22"><span class='macro'>g_return_val_if_fail</span></span></span></span> (delimiter[0] != '\0', NULL)<span class='macro_popup'>do { if ((delimiter[0] != '\0')) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "delimiter[0] != '\\0'"<br>); return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path9" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">9</div></td><td><div class="PathNav"><a href="#Path8" title="Previous event (8)">&#x2190;</a></div></td><td>Taking true branch</td><td><div class="PathNav"><a href="#Path10" title="Next event (10)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path10" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">10</div></td><td><div class="PathNav"><a href="#Path9" title="Previous event (9)">&#x2190;</a></div></td><td>Loop condition is false. Exiting loop</td><td><div class="PathNav"><a href="#Path11" title="Next event (11)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="189"><td class="num" id="LN189">189</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="190"><td class="num" id="LN190">190</td><td class="line"> <span id="start19"><span id="end20"><span class='keyword'>if</span></span></span> (<span id="start18"><span id="end19"><span class='variable'>max_tokens<table class='variable_popup'><tbody><tr><td valign='top'><div class='PathIndex PathIndexPopUp'>10.1</div></td><td>'max_tokens' is >= 1</td></tr></tbody></table></span></span></span> &lt; 1)</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path11" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">11</div></td><td><div class="PathNav"><a href="#Path10" title="Previous event (10)">&#x2190;</a></div></td><td>Taking false branch</td><td><div class="PathNav"><a href="#Path12" title="Next event (12)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="191"><td class="num" id="LN191">191</td><td class="line"> max_tokens = <span class='macro'>G_MAXINT<span class='macro_popup'>2147483647</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="192"><td class="num" id="LN192">192</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="193"><td class="num" id="LN193">193</td><td class="line"> <span id="start15"><span id="end16"><span id="start17"><span id="end18">remainder</span></span></span></span> = <span id="start16"><span id="end17">string</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="194"><td class="num" id="LN194">194</td><td class="line"> s = g_utf8_strstr (remainder, delimiter);</td></tr>
+<tr class="codeline" data-linenumber="195"><td class="num" id="LN195">195</td><td class="line"> <span id="start14"><span id="end15"><span class='keyword'>if</span></span></span> (<span id="start13"><span class="mrange"><span id="end14">s</span></span> != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span></span>) {</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path12" class="msg msgEvent" style="margin-left:13ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">12</div></td><td><div class="PathNav"><a href="#Path11" title="Previous event (11)">&#x2190;</a></div></td><td>Assuming 's' is equal to NULL</td><td><div class="PathNav"><a href="#Path13" title="Next event (13)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path13" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">13</div></td><td><div class="PathNav"><a href="#Path12" title="Previous event (12)">&#x2190;</a></div></td><td>Taking false branch</td><td><div class="PathNav"><a href="#Path14" title="Next event (14)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="196"><td class="num" id="LN196">196</td><td class="line"> gsize delimiter_size = strlen (delimiter);</td></tr>
+<tr class="codeline" data-linenumber="197"><td class="num" id="LN197">197</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="198"><td class="num" id="LN198">198</td><td class="line"> <span class='keyword'>while</span> (--max_tokens &amp;&amp; (s != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="199"><td class="num" id="LN199">199</td><td class="line"> gsize size = s - remainder;</td></tr>
+<tr class="codeline" data-linenumber="200"><td class="num" id="LN200">200</td><td class="line"> <span class='keyword'>char</span> *new_string;</td></tr>
+<tr class="codeline" data-linenumber="201"><td class="num" id="LN201">201</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="202"><td class="num" id="LN202">202</td><td class="line"> new_string = <span class='macro'>g_new (<span class='keyword'>char</span>, size + 1)<span class='macro_popup'>((char *) g_malloc_n ((size + 1), sizeof (char)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="203"><td class="num" id="LN203">203</td><td class="line"> strncpy (new_string, remainder, size);</td></tr>
+<tr class="codeline" data-linenumber="204"><td class="num" id="LN204">204</td><td class="line"> new_string[size] = 0;</td></tr>
+<tr class="codeline" data-linenumber="205"><td class="num" id="LN205">205</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="206"><td class="num" id="LN206">206</td><td class="line"> string_list = g_slist_prepend (string_list, new_string);</td></tr>
+<tr class="codeline" data-linenumber="207"><td class="num" id="LN207">207</td><td class="line"> n++;</td></tr>
+<tr class="codeline" data-linenumber="208"><td class="num" id="LN208">208</td><td class="line"> remainder = s + delimiter_size;</td></tr>
+<tr class="codeline" data-linenumber="209"><td class="num" id="LN209">209</td><td class="line"> s = g_utf8_strstr (remainder, delimiter);</td></tr>
+<tr class="codeline" data-linenumber="210"><td class="num" id="LN210">210</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="211"><td class="num" id="LN211">211</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="212"><td class="num" id="LN212">212</td><td class="line"> <span id="start12"><span id="end13"><span class='keyword'>if</span></span></span> (<span id="start11"><span class="mrange">*</span><span id="end12">string</span></span>) {</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path14" class="msg msgEvent" style="margin-left:13ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">14</div></td><td><div class="PathNav"><a href="#Path13" title="Previous event (13)">&#x2190;</a></div></td><td>Assuming the condition is true</td><td><div class="PathNav"><a href="#Path15" title="Next event (15)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path15" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">15</div></td><td><div class="PathNav"><a href="#Path14" title="Previous event (14)">&#x2190;</a></div></td><td>Taking true branch</td><td><div class="PathNav"><a href="#Path16" title="Next event (16)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="213"><td class="num" id="LN213">213</td><td class="line"> <span id="start10"><span id="end11">n</span></span>++;</td></tr>
+<tr class="codeline" data-linenumber="214"><td class="num" id="LN214">214</td><td class="line"> <span id="start9"><span id="end10">string_list</span></span> = g_slist_prepend (string_list, <span class='macro'>g_strdup (remainder)<span class='macro_popup'>g_strdup_inline (remainder)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="215"><td class="num" id="LN215">215</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="216"><td class="num" id="LN216">216</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="217"><td class="num" id="LN217">217</td><td class="line"> <span id="start8"><span id="end9">str_array</span></span> = <span class='macro'>g_new (<span class='keyword'>char</span>*, n + 1)<span class='macro_popup'>((char* *) g_malloc_n ((n + 1), sizeof (char*)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="218"><td class="num" id="LN218">218</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="219"><td class="num" id="LN219">219</td><td class="line"> str_array[n--] = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="220"><td class="num" id="LN220">220</td><td class="line"> <span id="start3"><span id="end4"><span id="start7"><span id="end8"><span class='keyword'>for</span></span></span></span></span> (slist = string_list; slist; slist = slist-&gt;next)</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path16" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">16</div></td><td><div class="PathNav"><a href="#Path15" title="Previous event (15)">&#x2190;</a></div></td><td>Loop condition is true. Entering loop body</td><td><div class="PathNav"><a href="#Path17" title="Next event (17)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path17" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">17</div></td><td><div class="PathNav"><a href="#Path16" title="Previous event (16)">&#x2190;</a></div></td><td>Loop condition is true. Entering loop body</td><td><div class="PathNav"><a href="#EndPath" title="Next event (18)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="221"><td class="num" id="LN221">221</td><td class="line"> <span class="mrange"><span id="start0"><span id="end1"><span id="start2"><span id="end3"><span id="start4"><span id="end5"><span id="start6"><span id="end7">str_array</span></span></span></span></span></span></span></span>[n--] <span id="end0">=</span> <span id="start1"><span id="end2"><span id="start5"><span id="end6">slist</span></span></span></span>-&gt;data</span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:32ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">18</div></td><td><div class="PathNav"><a href="#Path17" title="Previous event (17)">&#x2190;</a></div></td><td>Out of bound memory access (access exceeds upper limit of memory block)</td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="222"><td class="num" id="LN222">222</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="223"><td class="num" id="LN223">223</td><td class="line"> g_slist_free (string_list);</td></tr>
+<tr class="codeline" data-linenumber="224"><td class="num" id="LN224">224</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="225"><td class="num" id="LN225">225</td><td class="line"> <span class='keyword'>return</span> str_array;</td></tr>
+<tr class="codeline" data-linenumber="226"><td class="num" id="LN226">226</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="227"><td class="num" id="LN227">227</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="228"><td class="num" id="LN228">228</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>char</span>*</td></tr>
+<tr class="codeline" data-linenumber="229"><td class="num" id="LN229">229</td><td class="line">g_utf8_strchug (<span class='keyword'>char</span> *string)</td></tr>
+<tr class="codeline" data-linenumber="230"><td class="num" id="LN230">230</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="231"><td class="num" id="LN231">231</td><td class="line"> <span class='keyword'>char</span> *scan;</td></tr>
+<tr class="codeline" data-linenumber="232"><td class="num" id="LN232">232</td><td class="line"> gunichar c;</td></tr>
+<tr class="codeline" data-linenumber="233"><td class="num" id="LN233">233</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="234"><td class="num" id="LN234">234</td><td class="line"> <span class='macro'>g_return_val_if_fail (string != NULL, NULL)<span class='macro_popup'>do { if ((string != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "string != NULL")<br>; return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="235"><td class="num" id="LN235">235</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="236"><td class="num" id="LN236">236</td><td class="line"> scan = string;</td></tr>
+<tr class="codeline" data-linenumber="237"><td class="num" id="LN237">237</td><td class="line"> c = g_utf8_get_char (scan);</td></tr>
+<tr class="codeline" data-linenumber="238"><td class="num" id="LN238">238</td><td class="line"> <span class='keyword'>while</span> (g_unichar_isspace (c)) {</td></tr>
+<tr class="codeline" data-linenumber="239"><td class="num" id="LN239">239</td><td class="line"> scan = <span class='macro'>g_utf8_next_char (scan)<span class='macro_popup'>(char *)((scan) + g_utf8_skip[*(const guchar *)(scan)])</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="240"><td class="num" id="LN240">240</td><td class="line"> c = g_utf8_get_char (scan);</td></tr>
+<tr class="codeline" data-linenumber="241"><td class="num" id="LN241">241</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="242"><td class="num" id="LN242">242</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="243"><td class="num" id="LN243">243</td><td class="line"> memmove (string, scan, strlen (scan) + 1);</td></tr>
+<tr class="codeline" data-linenumber="244"><td class="num" id="LN244">244</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="245"><td class="num" id="LN245">245</td><td class="line"> <span class='keyword'>return</span> string;</td></tr>
+<tr class="codeline" data-linenumber="246"><td class="num" id="LN246">246</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="247"><td class="num" id="LN247">247</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="248"><td class="num" id="LN248">248</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>char</span>*</td></tr>
+<tr class="codeline" data-linenumber="249"><td class="num" id="LN249">249</td><td class="line">g_utf8_strchomp (<span class='keyword'>char</span> *string)</td></tr>
+<tr class="codeline" data-linenumber="250"><td class="num" id="LN250">250</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="251"><td class="num" id="LN251">251</td><td class="line"> <span class='keyword'>char</span> *scan;</td></tr>
+<tr class="codeline" data-linenumber="252"><td class="num" id="LN252">252</td><td class="line"> gsize len;</td></tr>
+<tr class="codeline" data-linenumber="253"><td class="num" id="LN253">253</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="254"><td class="num" id="LN254">254</td><td class="line"> <span class='macro'>g_return_val_if_fail (string != NULL, NULL)<span class='macro_popup'>do { if ((string != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "string != NULL")<br>; return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="255"><td class="num" id="LN255">255</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="256"><td class="num" id="LN256">256</td><td class="line"> len = g_utf8_strlen (string, -1);</td></tr>
+<tr class="codeline" data-linenumber="257"><td class="num" id="LN257">257</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="258"><td class="num" id="LN258">258</td><td class="line"> <span class='keyword'>if</span> (len == 0)</td></tr>
+<tr class="codeline" data-linenumber="259"><td class="num" id="LN259">259</td><td class="line"> <span class='keyword'>return</span> string;</td></tr>
+<tr class="codeline" data-linenumber="260"><td class="num" id="LN260">260</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="261"><td class="num" id="LN261">261</td><td class="line"> scan = g_utf8_offset_to_pointer (string, len - 1);</td></tr>
+<tr class="codeline" data-linenumber="262"><td class="num" id="LN262">262</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="263"><td class="num" id="LN263">263</td><td class="line"> <span class='keyword'>while</span> (len--) {</td></tr>
+<tr class="codeline" data-linenumber="264"><td class="num" id="LN264">264</td><td class="line"> gunichar c = g_utf8_get_char (scan);</td></tr>
+<tr class="codeline" data-linenumber="265"><td class="num" id="LN265">265</td><td class="line"> <span class='keyword'>if</span> (g_unichar_isspace (c))</td></tr>
+<tr class="codeline" data-linenumber="266"><td class="num" id="LN266">266</td><td class="line"> *scan = '\0';</td></tr>
+<tr class="codeline" data-linenumber="267"><td class="num" id="LN267">267</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="268"><td class="num" id="LN268">268</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="269"><td class="num" id="LN269">269</td><td class="line"> scan = g_utf8_find_prev_char (string, scan);</td></tr>
+<tr class="codeline" data-linenumber="270"><td class="num" id="LN270">270</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="271"><td class="num" id="LN271">271</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="272"><td class="num" id="LN272">272</td><td class="line"> <span class='keyword'>return</span> string;</td></tr>
+<tr class="codeline" data-linenumber="273"><td class="num" id="LN273">273</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="274"><td class="num" id="LN274">274</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="275"><td class="num" id="LN275">275</td><td class="line"><span class='directive'>#define <span class='macro'>g_utf8_strstrip(string)<span class='macro_popup'>g_utf8_strchomp (g_utf8_strchug (string))</span></span> g_utf8_strchomp (g_utf8_strchug (string))</span></td></tr>
+<tr class="codeline" data-linenumber="276"><td class="num" id="LN276">276</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="277"><td class="num" id="LN277">277</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="278"><td class="num" id="LN278">278</td><td class="line">match_regexps (GRegex **regexps,</td></tr>
+<tr class="codeline" data-linenumber="279"><td class="num" id="LN279">279</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *string,</td></tr>
+<tr class="codeline" data-linenumber="280"><td class="num" id="LN280">280</td><td class="line"> GRegexMatchFlags match_options)</td></tr>
+<tr class="codeline" data-linenumber="281"><td class="num" id="LN281">281</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="282"><td class="num" id="LN282">282</td><td class="line"> gboolean matched;</td></tr>
+<tr class="codeline" data-linenumber="283"><td class="num" id="LN283">283</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="284"><td class="num" id="LN284">284</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="285"><td class="num" id="LN285">285</td><td class="line"> <span class='keyword'>if</span> ((regexps == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) || (regexps[0] == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="286"><td class="num" id="LN286">286</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="287"><td class="num" id="LN287">287</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="288"><td class="num" id="LN288">288</td><td class="line"> <span class='keyword'>if</span> (string == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="289"><td class="num" id="LN289">289</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="290"><td class="num" id="LN290">290</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="291"><td class="num" id="LN291">291</td><td class="line"> matched = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="292"><td class="num" id="LN292">292</td><td class="line"> <span class='keyword'>for</span> (i = 0; regexps[i] != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; i++)</td></tr>
+<tr class="codeline" data-linenumber="293"><td class="num" id="LN293">293</td><td class="line"> <span class='keyword'>if</span> (g_regex_match (regexps[i], string, match_options, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="294"><td class="num" id="LN294">294</td><td class="line"> matched = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="295"><td class="num" id="LN295">295</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="296"><td class="num" id="LN296">296</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="297"><td class="num" id="LN297">297</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="298"><td class="num" id="LN298">298</td><td class="line"> <span class='keyword'>return</span> matched;</td></tr>
+<tr class="codeline" data-linenumber="299"><td class="num" id="LN299">299</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="300"><td class="num" id="LN300">300</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="301"><td class="num" id="LN301">301</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="302"><td class="num" id="LN302">302</td><td class="line">free_regexps (GRegex **regexps)</td></tr>
+<tr class="codeline" data-linenumber="303"><td class="num" id="LN303">303</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="304"><td class="num" id="LN304">304</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="305"><td class="num" id="LN305">305</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="306"><td class="num" id="LN306">306</td><td class="line"> <span class='keyword'>if</span> (regexps == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="307"><td class="num" id="LN307">307</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="308"><td class="num" id="LN308">308</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="309"><td class="num" id="LN309">309</td><td class="line"> <span class='keyword'>for</span> (i = 0; regexps[i] != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; i++)</td></tr>
+<tr class="codeline" data-linenumber="310"><td class="num" id="LN310">310</td><td class="line"> g_regex_unref (regexps[i]);</td></tr>
+<tr class="codeline" data-linenumber="311"><td class="num" id="LN311">311</td><td class="line"> g_free (regexps);</td></tr>
+<tr class="codeline" data-linenumber="312"><td class="num" id="LN312">312</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="313"><td class="num" id="LN313">313</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="314"><td class="num" id="LN314">314</td><td class="line"><span id="start35"><span class='keyword'>char</span></span> **</td></tr>
+<tr class="codeline" data-linenumber="315"><td class="num" id="LN315">315</td><td class="line">search_util_get_patterns (<span class='keyword'>const</span> <span class='keyword'>char</span> *pattern_string)</td></tr>
+<tr class="codeline" data-linenumber="316"><td class="num" id="LN316">316</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="317"><td class="num" id="LN317">317</td><td class="line"> <span id="start34"><span id="end35"><span class='keyword'>char</span></span></span> **patterns;</td></tr>
+<tr class="codeline" data-linenumber="318"><td class="num" id="LN318">318</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="319"><td class="num" id="LN319">319</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="320"><td class="num" id="LN320">320</td><td class="line"> <span id="start33"><span id="end34"><span class='keyword'>if</span></span></span> (<span id="start32"><span class="mrange"><span id="end33">pattern_string</span></span> == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span></span>)</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path2" class="msg msgEvent" style="margin-left:13ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">2</div></td><td><div class="PathNav"><a href="#Path1" title="Previous event (1)">&#x2190;</a></div></td><td>Assuming 'pattern_string' is not equal to NULL</td><td><div class="PathNav"><a href="#Path3" title="Next event (3)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path3" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">3</div></td><td><div class="PathNav"><a href="#Path2" title="Previous event (2)">&#x2190;</a></div></td><td>Taking false branch</td><td><div class="PathNav"><a href="#Path4" title="Next event (4)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="321"><td class="num" id="LN321">321</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="322"><td class="num" id="LN322">322</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="323"><td class="num" id="LN323">323</td><td class="line"> <span id="start31"><span id="end32">patterns</span></span> = <span class="mrange"><span id="end30">g_utf8_strsplit</span> (<span id="start30"><span id="end31">pattern_string</span></span>, <span class='string_literal'>";"</span>, <span class='macro'>MAX_PATTERNS<span class='macro_popup'>128</span></span>)</span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path4" class="msg msgEvent" style="margin-left:20ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">4</div></td><td><div class="PathNav"><a href="#Path3" title="Previous event (3)">&#x2190;</a></div></td><td>Calling 'g_utf8_strsplit'</td><td><div class="PathNav"><a href="#Path5" title="Next event (5)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="324"><td class="num" id="LN324">324</td><td class="line"> <span class='keyword'>for</span> (i = 0; patterns[i] != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; i++) {</td></tr>
+<tr class="codeline" data-linenumber="325"><td class="num" id="LN325">325</td><td class="line"> <span class='keyword'>char</span> *p1, *p2;</td></tr>
+<tr class="codeline" data-linenumber="326"><td class="num" id="LN326">326</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="327"><td class="num" id="LN327">327</td><td class="line"> p1 = <span class='macro'>g_utf8_strstrip (patterns[i])<span class='macro_popup'>g_utf8_strchomp (g_utf8_strchug (patterns[i]))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="328"><td class="num" id="LN328">328</td><td class="line"> p2 = str_substitute (p1, <span class='string_literal'>"."</span>, <span class='string_literal'>"\\."</span>);</td></tr>
+<tr class="codeline" data-linenumber="329"><td class="num" id="LN329">329</td><td class="line"> patterns[i] = str_substitute (p2, <span class='string_literal'>"*"</span>, <span class='string_literal'>".*"</span>);</td></tr>
+<tr class="codeline" data-linenumber="330"><td class="num" id="LN330">330</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="331"><td class="num" id="LN331">331</td><td class="line"> g_free (p2);</td></tr>
+<tr class="codeline" data-linenumber="332"><td class="num" id="LN332">332</td><td class="line"> g_free (p1);</td></tr>
+<tr class="codeline" data-linenumber="333"><td class="num" id="LN333">333</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="334"><td class="num" id="LN334">334</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="335"><td class="num" id="LN335">335</td><td class="line"> <span class='keyword'>return</span> patterns;</td></tr>
+<tr class="codeline" data-linenumber="336"><td class="num" id="LN336">336</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="337"><td class="num" id="LN337">337</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="338"><td class="num" id="LN338">338</td><td class="line">GRegex **</td></tr>
+<tr class="codeline" data-linenumber="339"><td class="num" id="LN339">339</td><td class="line">search_util_get_regexps (<span class='keyword'>const</span> <span class='keyword'>char</span> *pattern_string,</td></tr>
+<tr class="codeline" data-linenumber="340"><td class="num" id="LN340">340</td><td class="line"> GRegexCompileFlags compile_options)</td></tr>
+<tr class="codeline" data-linenumber="341"><td class="num" id="LN341">341</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="342"><td class="num" id="LN342">342</td><td class="line"> <span id="start37"><span class='keyword'>char</span></span> **patterns;</td></tr>
+<tr class="codeline" data-linenumber="343"><td class="num" id="LN343">343</td><td class="line"> GRegex **regexps;</td></tr>
+<tr class="codeline" data-linenumber="344"><td class="num" id="LN344">344</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="345"><td class="num" id="LN345">345</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="346"><td class="num" id="LN346">346</td><td class="line"> <span id="start36"><span id="end37">patterns</span></span> = <span class="mrange"><span id="end36">search_util_get_patterns</span> (pattern_string)</span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path1" class="msg msgEvent" style="margin-left:20ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">1</div></td><td>Calling 'search_util_get_patterns'</td><td><div class="PathNav"><a href="#Path2" title="Next event (2)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="347"><td class="num" id="LN347">347</td><td class="line"> <span class='keyword'>if</span> (patterns == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="348"><td class="num" id="LN348">348</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="349"><td class="num" id="LN349">349</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="350"><td class="num" id="LN350">350</td><td class="line"> regexps = <span class='macro'>g_new0 (GRegex*, g_strv_length (patterns) + 1)<span class='macro_popup'>((GRegex* *) g_malloc0_n ((g_strv_length (patterns) + 1), sizeof<br> (GRegex*)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="351"><td class="num" id="LN351">351</td><td class="line"> <span class='keyword'>for</span> (i = 0; patterns[i] != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; i++)</td></tr>
+<tr class="codeline" data-linenumber="352"><td class="num" id="LN352">352</td><td class="line"> regexps[i] = g_regex_new (patterns[i],</td></tr>
+<tr class="codeline" data-linenumber="353"><td class="num" id="LN353">353</td><td class="line"> G_REGEX_OPTIMIZE | compile_options,</td></tr>
+<tr class="codeline" data-linenumber="354"><td class="num" id="LN354">354</td><td class="line"> G_REGEX_MATCH_NOTEMPTY,</td></tr>
+<tr class="codeline" data-linenumber="355"><td class="num" id="LN355">355</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="356"><td class="num" id="LN356">356</td><td class="line"> g_strfreev (patterns);</td></tr>
+<tr class="codeline" data-linenumber="357"><td class="num" id="LN357">357</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="358"><td class="num" id="LN358">358</td><td class="line"> <span class='keyword'>return</span> regexps;</td></tr>
+<tr class="codeline" data-linenumber="359"><td class="num" id="LN359">359</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="360"><td class="num" id="LN360">360</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="361"><td class="num" id="LN361">361</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="362"><td class="num" id="LN362">362</td><td class="line">eat_spaces (<span class='keyword'>const</span> <span class='keyword'>char</span> *line)</td></tr>
+<tr class="codeline" data-linenumber="363"><td class="num" id="LN363">363</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="364"><td class="num" id="LN364">364</td><td class="line"> <span class='keyword'>if</span> (line == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="365"><td class="num" id="LN365">365</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="366"><td class="num" id="LN366">366</td><td class="line"> <span class='keyword'>while</span> (*line == ' ')</td></tr>
+<tr class="codeline" data-linenumber="367"><td class="num" id="LN367">367</td><td class="line"> line++;</td></tr>
+<tr class="codeline" data-linenumber="368"><td class="num" id="LN368">368</td><td class="line"> <span class='keyword'>return</span> line;</td></tr>
+<tr class="codeline" data-linenumber="369"><td class="num" id="LN369">369</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="370"><td class="num" id="LN370">370</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="371"><td class="num" id="LN371">371</td><td class="line"><span class='keyword'>char</span> **</td></tr>
+<tr class="codeline" data-linenumber="372"><td class="num" id="LN372">372</td><td class="line">split_line (<span class='keyword'>const</span> <span class='keyword'>char</span> *line,</td></tr>
+<tr class="codeline" data-linenumber="373"><td class="num" id="LN373">373</td><td class="line"> <span class='keyword'>int</span> n_fields)</td></tr>
+<tr class="codeline" data-linenumber="374"><td class="num" id="LN374">374</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="375"><td class="num" id="LN375">375</td><td class="line"> <span class='keyword'>char</span> **fields;</td></tr>
+<tr class="codeline" data-linenumber="376"><td class="num" id="LN376">376</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *scan, *field_end;</td></tr>
+<tr class="codeline" data-linenumber="377"><td class="num" id="LN377">377</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="378"><td class="num" id="LN378">378</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="379"><td class="num" id="LN379">379</td><td class="line"> fields = <span class='macro'>g_new0 (<span class='keyword'>char</span> *, n_fields + 1)<span class='macro_popup'>((char * *) g_malloc0_n ((n_fields + 1), sizeof (char *)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="380"><td class="num" id="LN380">380</td><td class="line"> fields[n_fields] = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="381"><td class="num" id="LN381">381</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="382"><td class="num" id="LN382">382</td><td class="line"> scan = eat_spaces (line);</td></tr>
+<tr class="codeline" data-linenumber="383"><td class="num" id="LN383">383</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; n_fields; i++) {</td></tr>
+<tr class="codeline" data-linenumber="384"><td class="num" id="LN384">384</td><td class="line"> <span class='keyword'>if</span> (scan == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="385"><td class="num" id="LN385">385</td><td class="line"> fields[i] = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="386"><td class="num" id="LN386">386</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="387"><td class="num" id="LN387">387</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="388"><td class="num" id="LN388">388</td><td class="line"> field_end = strchr (scan, ' ');</td></tr>
+<tr class="codeline" data-linenumber="389"><td class="num" id="LN389">389</td><td class="line"> <span class='keyword'>if</span> (field_end != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="390"><td class="num" id="LN390">390</td><td class="line"> fields[i] = g_strndup (scan, field_end - scan);</td></tr>
+<tr class="codeline" data-linenumber="391"><td class="num" id="LN391">391</td><td class="line"> scan = eat_spaces (field_end);</td></tr>
+<tr class="codeline" data-linenumber="392"><td class="num" id="LN392">392</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="393"><td class="num" id="LN393">393</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (scan != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; i == n_fields - 1)</td></tr>
+<tr class="codeline" data-linenumber="394"><td class="num" id="LN394">394</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="395"><td class="num" id="LN395">395</td><td class="line"> fields[i] = <span class='macro'>g_strdup (scan)<span class='macro_popup'>g_strdup_inline (scan)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="396"><td class="num" id="LN396">396</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="397"><td class="num" id="LN397">397</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="398"><td class="num" id="LN398">398</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="399"><td class="num" id="LN399">399</td><td class="line"> <span class='keyword'>return</span> fields;</td></tr>
+<tr class="codeline" data-linenumber="400"><td class="num" id="LN400">400</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="401"><td class="num" id="LN401">401</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="402"><td class="num" id="LN402">402</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="403"><td class="num" id="LN403">403</td><td class="line">get_last_field (<span class='keyword'>const</span> <span class='keyword'>char</span> *line,</td></tr>
+<tr class="codeline" data-linenumber="404"><td class="num" id="LN404">404</td><td class="line"> <span class='keyword'>int</span> last_field)</td></tr>
+<tr class="codeline" data-linenumber="405"><td class="num" id="LN405">405</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="406"><td class="num" id="LN406">406</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *field;</td></tr>
+<tr class="codeline" data-linenumber="407"><td class="num" id="LN407">407</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="408"><td class="num" id="LN408">408</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="409"><td class="num" id="LN409">409</td><td class="line"> <span class='keyword'>if</span> (line == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="410"><td class="num" id="LN410">410</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="411"><td class="num" id="LN411">411</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="412"><td class="num" id="LN412">412</td><td class="line"> last_field--;</td></tr>
+<tr class="codeline" data-linenumber="413"><td class="num" id="LN413">413</td><td class="line"> field = eat_spaces (line);</td></tr>
+<tr class="codeline" data-linenumber="414"><td class="num" id="LN414">414</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; last_field; i++) {</td></tr>
+<tr class="codeline" data-linenumber="415"><td class="num" id="LN415">415</td><td class="line"> <span class='keyword'>if</span> (field == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="416"><td class="num" id="LN416">416</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="417"><td class="num" id="LN417">417</td><td class="line"> field = strchr (field, ' ');</td></tr>
+<tr class="codeline" data-linenumber="418"><td class="num" id="LN418">418</td><td class="line"> field = eat_spaces (field);</td></tr>
+<tr class="codeline" data-linenumber="419"><td class="num" id="LN419">419</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="420"><td class="num" id="LN420">420</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="421"><td class="num" id="LN421">421</td><td class="line"> <span class='keyword'>return</span> field;</td></tr>
+<tr class="codeline" data-linenumber="422"><td class="num" id="LN422">422</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="423"><td class="num" id="LN423">423</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="424"><td class="num" id="LN424">424</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="425"><td class="num" id="LN425">425</td><td class="line">debug (<span class='keyword'>const</span> <span class='keyword'>char</span> *file,</td></tr>
+<tr class="codeline" data-linenumber="426"><td class="num" id="LN426">426</td><td class="line"> <span class='keyword'>int</span> line,</td></tr>
+<tr class="codeline" data-linenumber="427"><td class="num" id="LN427">427</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *function,</td></tr>
+<tr class="codeline" data-linenumber="428"><td class="num" id="LN428">428</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *format, ...)</td></tr>
+<tr class="codeline" data-linenumber="429"><td class="num" id="LN429">429</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="430"><td class="num" id="LN430">430</td><td class="line"><span class='directive'>#ifdef MATE_ENABLE_DEBUG</span></td></tr>
+<tr class="codeline" data-linenumber="431"><td class="num" id="LN431">431</td><td class="line"> va_list args;</td></tr>
+<tr class="codeline" data-linenumber="432"><td class="num" id="LN432">432</td><td class="line"> <span class='keyword'>char</span> *str;</td></tr>
+<tr class="codeline" data-linenumber="433"><td class="num" id="LN433">433</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="434"><td class="num" id="LN434">434</td><td class="line"> <span class='macro'>g_return_if_fail (format != NULL)<span class='macro_popup'>do { if ((format != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "format != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="435"><td class="num" id="LN435">435</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="436"><td class="num" id="LN436">436</td><td class="line"> <span class='macro'>va_start (args, format)<span class='macro_popup'>__builtin_va_start(args, format)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="437"><td class="num" id="LN437">437</td><td class="line"> str = g_strdup_vprintf (format, args);</td></tr>
+<tr class="codeline" data-linenumber="438"><td class="num" id="LN438">438</td><td class="line"> <span class='macro'>va_end (args)<span class='macro_popup'>__builtin_va_end(args)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="439"><td class="num" id="LN439">439</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="440"><td class="num" id="LN440">440</td><td class="line"> g_fprintf (<span class='macro'>stderr<span class='macro_popup'>stderr</span></span>, <span class='string_literal'>"[FR] %s:%d (%s):\n\t%s\n"</span>, file, line, function, str);</td></tr>
+<tr class="codeline" data-linenumber="441"><td class="num" id="LN441">441</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="442"><td class="num" id="LN442">442</td><td class="line"> g_free (str);</td></tr>
+<tr class="codeline" data-linenumber="443"><td class="num" id="LN443">443</td><td class="line"><span class='directive'>#else /* ! DEBUG */</span></td></tr>
+<tr class="codeline" data-linenumber="444"><td class="num" id="LN444">444</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="445"><td class="num" id="LN445">445</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="446"><td class="num" id="LN446">446</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="447"><td class="num" id="LN447">447</td><td class="line">GHashTable *static_strings = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="448"><td class="num" id="LN448">448</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="449"><td class="num" id="LN449">449</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="450"><td class="num" id="LN450">450</td><td class="line">get_static_string (<span class='keyword'>const</span> <span class='keyword'>char</span> *s)</td></tr>
+<tr class="codeline" data-linenumber="451"><td class="num" id="LN451">451</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="452"><td class="num" id="LN452">452</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *result;</td></tr>
+<tr class="codeline" data-linenumber="453"><td class="num" id="LN453">453</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="454"><td class="num" id="LN454">454</td><td class="line"> <span class='keyword'>if</span> (s == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="455"><td class="num" id="LN455">455</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="456"><td class="num" id="LN456">456</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="457"><td class="num" id="LN457">457</td><td class="line"> <span class='keyword'>if</span> (static_strings == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="458"><td class="num" id="LN458">458</td><td class="line"> static_strings = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="459"><td class="num" id="LN459">459</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="460"><td class="num" id="LN460">460</td><td class="line"> <span class='keyword'>if</span> (! g_hash_table_lookup_extended (static_strings, s, (gpointer*) &amp;result, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="461"><td class="num" id="LN461">461</td><td class="line"> result = <span class='macro'>g_strdup (s)<span class='macro_popup'>g_strdup_inline (s)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="462"><td class="num" id="LN462">462</td><td class="line"> g_hash_table_insert (static_strings,</td></tr>
+<tr class="codeline" data-linenumber="463"><td class="num" id="LN463">463</td><td class="line"> (gpointer) result,</td></tr>
+<tr class="codeline" data-linenumber="464"><td class="num" id="LN464">464</td><td class="line"> <span class='macro'>GINT_TO_POINTER (1)<span class='macro_popup'>((gpointer) (glong) (1))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="465"><td class="num" id="LN465">465</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="466"><td class="num" id="LN466">466</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="467"><td class="num" id="LN467">467</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="468"><td class="num" id="LN468">468</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="469"><td class="num" id="LN469">469</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="470"><td class="num" id="LN470">470</td><td class="line"><span class='keyword'>char</span>*</td></tr>
+<tr class="codeline" data-linenumber="471"><td class="num" id="LN471">471</td><td class="line">g_uri_display_basename (<span class='keyword'>const</span> <span class='keyword'>char</span> *uri)</td></tr>
+<tr class="codeline" data-linenumber="472"><td class="num" id="LN472">472</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="473"><td class="num" id="LN473">473</td><td class="line"> <span class='keyword'>char</span> *e_name, *name;</td></tr>
+<tr class="codeline" data-linenumber="474"><td class="num" id="LN474">474</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="475"><td class="num" id="LN475">475</td><td class="line"> e_name = g_filename_display_basename (uri);</td></tr>
+<tr class="codeline" data-linenumber="476"><td class="num" id="LN476">476</td><td class="line"> name = g_uri_unescape_string (e_name, <span class='string_literal'>""</span>);</td></tr>
+<tr class="codeline" data-linenumber="477"><td class="num" id="LN477">477</td><td class="line"> g_free (e_name);</td></tr>
+<tr class="codeline" data-linenumber="478"><td class="num" id="LN478">478</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="479"><td class="num" id="LN479">479</td><td class="line"> <span class='keyword'>return</span> name;</td></tr>
+<tr class="codeline" data-linenumber="480"><td class="num" id="LN480">480</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="481"><td class="num" id="LN481">481</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="482"><td class="num" id="LN482">482</td><td class="line"><span class='keyword'>const</span> gchar *</td></tr>
+<tr class="codeline" data-linenumber="483"><td class="num" id="LN483">483</td><td class="line">_g_path_get_file_name (<span class='keyword'>const</span> gchar *file_name)</td></tr>
+<tr class="codeline" data-linenumber="484"><td class="num" id="LN484">484</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="485"><td class="num" id="LN485">485</td><td class="line"> <span class='keyword'>register</span> <span class='keyword'>char</span> *base;</td></tr>
+<tr class="codeline" data-linenumber="486"><td class="num" id="LN486">486</td><td class="line"> <span class='keyword'>register</span> gssize last_char;</td></tr>
+<tr class="codeline" data-linenumber="487"><td class="num" id="LN487">487</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="488"><td class="num" id="LN488">488</td><td class="line"> <span class='keyword'>if</span> (file_name == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="489"><td class="num" id="LN489">489</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="490"><td class="num" id="LN490">490</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="491"><td class="num" id="LN491">491</td><td class="line"> <span class='keyword'>if</span> (file_name[0] == '\0')</td></tr>
+<tr class="codeline" data-linenumber="492"><td class="num" id="LN492">492</td><td class="line"> <span class='keyword'>return</span> <span class='string_literal'>""</span>;</td></tr>
+<tr class="codeline" data-linenumber="493"><td class="num" id="LN493">493</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="494"><td class="num" id="LN494">494</td><td class="line"> last_char = strlen (file_name) - 1;</td></tr>
+<tr class="codeline" data-linenumber="495"><td class="num" id="LN495">495</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="496"><td class="num" id="LN496">496</td><td class="line"> <span class='keyword'>if</span> (file_name [last_char] == <span class='macro'>G_DIR_SEPARATOR<span class='macro_popup'>'/'</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="497"><td class="num" id="LN497">497</td><td class="line"> <span class='keyword'>return</span> <span class='string_literal'>""</span>;</td></tr>
+<tr class="codeline" data-linenumber="498"><td class="num" id="LN498">498</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="499"><td class="num" id="LN499">499</td><td class="line"> base = g_utf8_strrchr (file_name, -1, <span class='macro'>G_DIR_SEPARATOR<span class='macro_popup'>'/'</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="500"><td class="num" id="LN500">500</td><td class="line"> <span class='keyword'>if</span> (! base)</td></tr>
+<tr class="codeline" data-linenumber="501"><td class="num" id="LN501">501</td><td class="line"> <span class='keyword'>return</span> file_name;</td></tr>
+<tr class="codeline" data-linenumber="502"><td class="num" id="LN502">502</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="503"><td class="num" id="LN503">503</td><td class="line"> <span class='keyword'>return</span> base + 1;</td></tr>
+<tr class="codeline" data-linenumber="504"><td class="num" id="LN504">504</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="505"><td class="num" id="LN505">505</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="506"><td class="num" id="LN506">506</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="507"><td class="num" id="LN507">507</td><td class="line">_g_path_get_base_name (<span class='keyword'>const</span> <span class='keyword'>char</span> *path,</td></tr>
+<tr class="codeline" data-linenumber="508"><td class="num" id="LN508">508</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *base_dir,</td></tr>
+<tr class="codeline" data-linenumber="509"><td class="num" id="LN509">509</td><td class="line"> gboolean junk_paths)</td></tr>
+<tr class="codeline" data-linenumber="510"><td class="num" id="LN510">510</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="511"><td class="num" id="LN511">511</td><td class="line"> size_t base_dir_len;</td></tr>
+<tr class="codeline" data-linenumber="512"><td class="num" id="LN512">512</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *base_path;</td></tr>
+<tr class="codeline" data-linenumber="513"><td class="num" id="LN513">513</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="514"><td class="num" id="LN514">514</td><td class="line"> <span class='keyword'>if</span> (junk_paths)</td></tr>
+<tr class="codeline" data-linenumber="515"><td class="num" id="LN515">515</td><td class="line"> <span class='keyword'>return</span> _g_path_get_file_name (path);</td></tr>
+<tr class="codeline" data-linenumber="516"><td class="num" id="LN516">516</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="517"><td class="num" id="LN517">517</td><td class="line"> <span class='keyword'>if</span> (base_dir == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="518"><td class="num" id="LN518">518</td><td class="line"> <span class='keyword'>return</span> (path[0] == '/') ? path + 1 : path;</td></tr>
+<tr class="codeline" data-linenumber="519"><td class="num" id="LN519">519</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="520"><td class="num" id="LN520">520</td><td class="line"> base_dir_len = strlen (base_dir);</td></tr>
+<tr class="codeline" data-linenumber="521"><td class="num" id="LN521">521</td><td class="line"> <span class='keyword'>if</span> (strlen (path) &lt; base_dir_len)</td></tr>
+<tr class="codeline" data-linenumber="522"><td class="num" id="LN522">522</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="523"><td class="num" id="LN523">523</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="524"><td class="num" id="LN524">524</td><td class="line"> base_path = path + base_dir_len;</td></tr>
+<tr class="codeline" data-linenumber="525"><td class="num" id="LN525">525</td><td class="line"> <span class='keyword'>if</span> (path[0] != '/')</td></tr>
+<tr class="codeline" data-linenumber="526"><td class="num" id="LN526">526</td><td class="line"> base_path -= 1;</td></tr>
+<tr class="codeline" data-linenumber="527"><td class="num" id="LN527">527</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="528"><td class="num" id="LN528">528</td><td class="line"> <span class='keyword'>return</span> base_path;</td></tr>
+<tr class="codeline" data-linenumber="529"><td class="num" id="LN529">529</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="530"><td class="num" id="LN530">530</td><td class="line"> </td></tr>
+</table></body></html>
diff --git a/2024-03-27-012041-5213-1@78903120e74d_master/report-cf3974.html b/2024-03-27-012041-5213-1@78903120e74d_master/report-cf3974.html
new file mode 100644
index 0000000..b9fee38
--- /dev/null
+++ b/2024-03-27-012041-5213-1@78903120e74d_master/report-cf3974.html
@@ -0,0 +1,2089 @@
+<!doctype html>
+<html>
+<head>
+<title>eggsmclient-xsmp.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption -->
+
+<!-- BUGTYPE Cast from non-struct type to struct type -->
+
+<!-- BUGCATEGORY Logic error -->
+
+<!-- BUGFILE /rootdir/mate-submodules/libegg/eggsmclient-xsmp.c -->
+
+<!-- FILENAME eggsmclient-xsmp.c -->
+
+<!-- FUNCTIONNAME ptrarray_prop -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT cf3974848df4dca833dffd0d8abcacb0 -->
+
+<!-- BUGLINE 1232 -->
+
+<!-- BUGCOLUMN 18 -->
+
+<!-- BUGPATHLENGTH 1 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>mate-submodules/libegg/eggsmclient-xsmp.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 1232, column 18</a><br />Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name eggsmclient-xsmp.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -fhalf-no-semantic-interposition -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/mate-submodules/libegg -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I ../.. -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/cairo -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/blkid -I /usr/include/at-spi-2.0 -I /usr/include/gio-unix-2.0 -I /usr/include/libmount -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/fribidi -I /usr/include/sysprof-6 -I /usr/include/libpng16 -D EGG_SM_CLIENT_BACKEND_XSMP -D G_LOG_DOMAIN="EggSMClient" -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/cairo -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/blkid -I /usr/include/at-spi-2.0 -I /usr/include/gio-unix-2.0 -I /usr/include/libmount -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/fribidi -I /usr/include/sysprof-6 -I /usr/include/libpng16 -D PIC -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-unused-parameter -fdebug-compilation-dir=/rootdir/mate-submodules/libegg -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2024-03-27-012041-5213-1 -x c eggsmclient-xsmp.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"1232": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 0,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/*</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> <span class='comment'>* Copyright (C) 2007 Novell, Inc.</span></td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>* Inspired by various other pieces of code including GsmClient (C)</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>* 2001 Havoc Pennington, MateClient (C) 1998 Carsten Schaar, and twm</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>* session code (C) 1998 The Open Group.</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>* This library is free software; you can redistribute it and/or</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>* modify it under the terms of the GNU Library General Public</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>* License as published by the Free Software Foundation; either</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>* version 2 of the License, or (at your option) any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>* This library is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>* Library General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>* You should have received a copy of the GNU Library General Public</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>* License along with this library; if not, write to the</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> <span class='comment'>* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> <span class='comment'>* Boston, MA 02110-1301, USA.</span></td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"><span class='directive'>#include "config.h"</span></td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#include "eggsmclient.h"</span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"><span class='directive'>#include "eggsmclient-private.h"</span></td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#include "eggdesktopfile.h"</span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"><span class='directive'>#include &lt;<span class='macro'>errno<span class='macro_popup'>(*__errno_location ())</span></span>.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"><span class='directive'>#include &lt;fcntl.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"><span class='directive'>#include &lt;stdlib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"><span class='directive'>#include &lt;string.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"><span class='directive'>#include &lt;unistd.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"><span class='directive'>#include &lt;X11/SM/SMlib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line"><span class='directive'>#include &lt;gtk/gtk.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"><span class='directive'>#include &lt;gdk/gdk.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line"><span class='directive'>#if defined(GDK_WINDOWING_X11) || defined(HAVE_X11)</span></td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"><span class='directive'>#include &lt;gdk/gdkx.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line"><span class='directive'>#define <span class='macro'>EGG_TYPE_SM_CLIENT_XSMP<span class='macro_popup'>(egg_sm_client_xsmp_get_type ())</span></span> (egg_sm_client_xsmp_get_type ())</span></td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line"><span class='directive'>#define <span class='macro'>EGG_SM_CLIENT_XSMP(obj)<span class='macro_popup'>((((EggSMClientXSMP*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((obj)), ((egg_sm_client_xsmp_get_type ()))))))</span></span> (<span class='macro'>G_TYPE_CHECK_INSTANCE_CAST ((obj), EGG_TYPE_SM_CLIENT_XSMP, EggSMClientXSMP)<span class='macro_popup'>(((EggSMClientXSMP*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((obj)), ((egg_sm_client_xsmp_get_type ())))))</span></span>)</span></td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"><span class='directive'>#define <span class='macro'>EGG_SM_CLIENT_XSMP_CLASS(klass)<span class='macro_popup'>((((EggSMClientXSMPClass*) (void *) g_type_check_class_cast (<br>(GTypeClass*) ((klass)), ((egg_sm_client_xsmp_get_type ()))))<br>))</span></span> (<span class='macro'>G_TYPE_CHECK_CLASS_CAST ((klass), EGG_TYPE_SM_CLIENT_XSMP, EggSMClientXSMPClass)<span class='macro_popup'>(((EggSMClientXSMPClass*) (void *) g_type_check_class_cast ((<br>GTypeClass*) ((klass)), ((egg_sm_client_xsmp_get_type ())))))</span></span>)</span></td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line"><span class='directive'>#define <span class='macro'>EGG_IS_SM_CLIENT_XSMP(obj)<span class='macro_popup'>(((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) (<br>(obj)); GType __t = ((egg_sm_client_xsmp_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; }))))</span></span> (<span class='macro'>G_TYPE_CHECK_INSTANCE_TYPE ((obj), EGG_TYPE_SM_CLIENT_XSMP)<span class='macro_popup'>((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) (<br>(obj)); GType __t = ((egg_sm_client_xsmp_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))</span></span>)</span></td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"><span class='directive'>#define <span class='macro'>EGG_IS_SM_CLIENT_XSMP_CLASS(klass)<span class='macro_popup'>(((__extension__ ({ GTypeClass *__class = (GTypeClass*) ((klass<br>)); GType __t = ((egg_sm_client_xsmp_get_type ())); gboolean __r<br>; if (!__class) __r = (0); else if (__class-&gt;g_type == __t<br>) __r = (!(0)); else __r = g_type_check_class_is_a (__class, __t<br>); __r; }))))</span></span> (<span class='macro'>G_TYPE_CHECK_CLASS_TYPE ((klass), EGG_TYPE_SM_CLIENT_XSMP)<span class='macro_popup'>((__extension__ ({ GTypeClass *__class = (GTypeClass*) ((klass<br>)); GType __t = ((egg_sm_client_xsmp_get_type ())); gboolean __r<br>; if (!__class) __r = (0); else if (__class-&gt;g_type == __t<br>) __r = (!(0)); else __r = g_type_check_class_is_a (__class, __t<br>); __r; })))</span></span>)</span></td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line"><span class='directive'>#define <span class='macro'>EGG_SM_CLIENT_XSMP_GET_CLASS(obj)<span class='macro_popup'>((((EggSMClientXSMPClass*) (((GTypeInstance*) ((obj)))-&gt;g_class<br>))))</span></span> (<span class='macro'>G_TYPE_INSTANCE_GET_CLASS ((obj), EGG_TYPE_SM_CLIENT_XSMP, EggSMClientXSMPClass)<span class='macro_popup'>(((EggSMClientXSMPClass*) (((GTypeInstance*) ((obj)))-&gt;g_class<br>)))</span></span>)</span></td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span> _EggSMClientXSMP EggSMClientXSMP;</td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span> _EggSMClientXSMPClass EggSMClientXSMPClass;</td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"><span class='comment'>/* These mostly correspond to the similarly-named states in section</span></td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line"> <span class='comment'>* 9.1 of the XSMP spec. Some of the states there aren't represented</span></td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line"> <span class='comment'>* here, because we don't need them. SHUTDOWN_CANCELLED is slightly</span></td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line"> <span class='comment'>* different from the spec; we use it when the client is IDLE after a</span></td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line"> <span class='comment'>* ShutdownCancelled message, but the application is still interacting</span></td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line"> <span class='comment'>* and doesn't know the shutdown has been cancelled yet.</span></td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>enum</span></td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"> XSMP_STATE_IDLE,</td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line"> XSMP_STATE_SAVE_YOURSELF,</td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line"> XSMP_STATE_INTERACT_REQUEST,</td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"> XSMP_STATE_INTERACT,</td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"> XSMP_STATE_SAVE_YOURSELF_DONE,</td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line"> XSMP_STATE_SHUTDOWN_CANCELLED,</td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line"> XSMP_STATE_CONNECTION_CLOSED</td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line">} EggSMClientXSMPState;</td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>const</span> <span class='keyword'>char</span> *state_names[] =</td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line"> <span class='string_literal'>"idle"</span>,</td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line"> <span class='string_literal'>"save-yourself"</span>,</td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line"> <span class='string_literal'>"interact-request"</span>,</td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"> <span class='string_literal'>"interact"</span>,</td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"> <span class='string_literal'>"save-yourself-done"</span>,</td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line"> <span class='string_literal'>"shutdown-cancelled"</span>,</td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line"> <span class='string_literal'>"connection-closed"</span></td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"><span class='directive'>#define <span class='macro'>EGG_SM_CLIENT_XSMP_STATE(xsmp)<span class='macro_popup'>(state_names[(xsmp)-&gt;state])</span></span> (state_names[(xsmp)-&gt;state])</span></td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line"><span class='keyword'>struct</span> _EggSMClientXSMP</td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"> EggSMClient parent;</td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line"> SmcConn connection;</td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"> <span class='keyword'>char</span> *client_id;</td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line"> EggSMClientXSMPState state;</td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line"> <span class='keyword'>char</span> **restart_command;</td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> gboolean set_restart_command;</td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"> <span class='keyword'>int</span> restart_style;</td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"> <span class='keyword'>char</span> **discard_command;</td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"> gboolean set_discard_command;</td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"> guint idle;</td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> <span class='comment'>/* Current SaveYourself state */</span></td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"> guint expecting_initial_save_yourself : 1;</td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line"> guint need_save_state : 1;</td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"> guint need_quit_requested : 1;</td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line"> guint interact_errors : 1;</td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> guint shutting_down : 1;</td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line"> <span class='comment'>/* Todo list */</span></td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line"> guint waiting_to_set_initial_properties : 1;</td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line"> guint waiting_to_emit_quit : 1;</td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line"> guint waiting_to_emit_quit_cancelled : 1;</td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line"> guint waiting_to_save_myself : 1;</td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"><span class='keyword'>struct</span> _EggSMClientXSMPClass</td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line"> EggSMClientClass parent_class;</td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> sm_client_xsmp_startup (EggSMClient *client,</td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *client_id);</td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> sm_client_xsmp_set_restart_command (EggSMClient *client,</td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> <span class='keyword'>int</span> argc,</td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> **argv);</td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> sm_client_xsmp_set_discard_command (EggSMClient *client,</td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> <span class='keyword'>int</span> argc,</td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> **argv);</td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> sm_client_xsmp_will_quit (EggSMClient *client,</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"> gboolean will_quit);</td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"><span class='keyword'>static</span> gboolean sm_client_xsmp_end_session (EggSMClient *client,</td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> EggSMClientEndStyle style,</td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"> gboolean request_confirmation);</td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> xsmp_save_yourself (SmcConn smc_conn,</td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line"> SmPointer client_data,</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"> <span class='keyword'>int</span> save_style,</td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"> <span class='macro'>Bool<span class='macro_popup'>int</span></span> shutdown,</td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line"> <span class='keyword'>int</span> interact_style,</td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"> <span class='macro'>Bool<span class='macro_popup'>int</span></span> fast);</td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> xsmp_die (SmcConn smc_conn,</td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line"> SmPointer client_data);</td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> xsmp_save_complete (SmcConn smc_conn,</td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line"> SmPointer client_data);</td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> xsmp_shutdown_cancelled (SmcConn smc_conn,</td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"> SmPointer client_data);</td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> xsmp_interact (SmcConn smc_conn,</td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line"> SmPointer client_data);</td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line"><span class='keyword'>static</span> SmProp *array_prop (<span class='keyword'>const</span> <span class='keyword'>char</span> *name,</td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"> ...);</td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line"><span class='keyword'>static</span> SmProp *ptrarray_prop (<span class='keyword'>const</span> <span class='keyword'>char</span> *name,</td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line"> GPtrArray *values);</td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"><span class='keyword'>static</span> SmProp *string_prop (<span class='keyword'>const</span> <span class='keyword'>char</span> *name,</td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *value);</td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line"><span class='keyword'>static</span> SmProp *card8_prop (<span class='keyword'>const</span> <span class='keyword'>char</span> *name,</td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"> <span class='keyword'>unsigned</span> <span class='keyword'>char</span> value);</td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> set_properties (EggSMClientXSMP *xsmp, ...);</td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> delete_properties (EggSMClientXSMP *xsmp, ...);</td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"><span class='keyword'>static</span> GPtrArray *generate_command (<span class='keyword'>char</span> **restart_command,</td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *client_id,</td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *state_file);</td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> save_state (EggSMClientXSMP *xsmp);</td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> do_save_yourself (EggSMClientXSMP *xsmp);</td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> update_pending_events (EggSMClientXSMP *xsmp);</td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> ice_init (<span class='keyword'>void</span>);</td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line"><span class='keyword'>static</span> gboolean process_ice_messages (IceConn ice_conn);</td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> smc_error_handler (SmcConn smc_conn,</td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"> <span class='macro'>Bool<span class='macro_popup'>int</span></span> swap,</td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line"> <span class='keyword'>int</span> offending_minor_opcode,</td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> <span class='keyword'>unsigned</span> <span class='keyword'>long</span> offending_sequence,</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> <span class='keyword'>int</span> error_class,</td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line"> <span class='keyword'>int</span> severity,</td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"> SmPointer values);</td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"><span class='macro'>G_DEFINE_TYPE (EggSMClientXSMP, egg_sm_client_xsmp, EGG_TYPE_SM_CLIENT)<span class='macro_popup'>static void egg_sm_client_xsmp_init (EggSMClientXSMP *self); static<br> void egg_sm_client_xsmp_class_init (EggSMClientXSMPClass *klass<br>); static GType egg_sm_client_xsmp_get_type_once (void); static<br> gpointer egg_sm_client_xsmp_parent_class = ((void*)0); static<br> gint EggSMClientXSMP_private_offset; static void egg_sm_client_xsmp_class_intern_init<br> (gpointer klass) { egg_sm_client_xsmp_parent_class = g_type_class_peek_parent<br> (klass); if (EggSMClientXSMP_private_offset != 0) g_type_class_adjust_private_offset<br> (klass, &amp;EggSMClientXSMP_private_offset); egg_sm_client_xsmp_class_init<br> ((EggSMClientXSMPClass*) klass); } __attribute__ ((__unused__<br>)) static inline gpointer egg_sm_client_xsmp_get_instance_private<br> (EggSMClientXSMP *self) { return (((gpointer) ((guint8*) (self<br>) + (glong) (EggSMClientXSMP_private_offset)))); } GType egg_sm_client_xsmp_get_type<br> (void) { static gsize static_g_define_type_id = 0; if ((__extension__<br> ({ _Static_assert (sizeof *(&amp;static_g_define_type_id) ==<br> sizeof (gpointer), "Expression evaluates to false"); (void) (<br>0 ? (gpointer) *(&amp;static_g_define_type_id) : ((void*)0));<br> (!(__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); __typeof__<br> (*(&amp;static_g_define_type_id)) gapg_temp_newval; __typeof__<br> ((&amp;static_g_define_type_id)) gapg_temp_atomic = (&amp;static_g_define_type_id<br>); __atomic_load (gapg_temp_atomic, &amp;gapg_temp_newval, 5)<br>; gapg_temp_newval; })) &amp;&amp; g_once_init_enter (&amp;static_g_define_type_id<br>)); }))) { GType g_define_type_id = egg_sm_client_xsmp_get_type_once<br> (); (__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); 0 ?<br> (void) (*(&amp;static_g_define_type_id) = (g_define_type_id)<br>) : (void) 0; g_once_init_leave ((&amp;static_g_define_type_id<br>), (gsize) (g_define_type_id)); })); } return static_g_define_type_id<br>; } __attribute__ ((__noinline__)) static GType egg_sm_client_xsmp_get_type_once<br> (void) { GType g_define_type_id = g_type_register_static_simple<br> ((egg_sm_client_get_type ()), g_intern_static_string ("EggSMClientXSMP"<br>), sizeof (EggSMClientXSMPClass), (GClassInitFunc)(void (*)(void<br>)) egg_sm_client_xsmp_class_intern_init, sizeof (EggSMClientXSMP<br>), (GInstanceInitFunc)(void (*)(void)) egg_sm_client_xsmp_init<br>, (GTypeFlags) 0); { {{};} } return g_define_type_id; }</span></span></td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="185"><td class="num" id="LN185">185</td><td class="line">egg_sm_client_xsmp_init (EggSMClientXSMP *xsmp)</td></tr>
+<tr class="codeline" data-linenumber="186"><td class="num" id="LN186">186</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="187"><td class="num" id="LN187">187</td><td class="line"> xsmp-&gt;state = XSMP_STATE_CONNECTION_CLOSED;</td></tr>
+<tr class="codeline" data-linenumber="188"><td class="num" id="LN188">188</td><td class="line"> xsmp-&gt;connection = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="189"><td class="num" id="LN189">189</td><td class="line"> xsmp-&gt;restart_style = <span class='macro'>SmRestartIfRunning<span class='macro_popup'>0</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="190"><td class="num" id="LN190">190</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="191"><td class="num" id="LN191">191</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="192"><td class="num" id="LN192">192</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="193"><td class="num" id="LN193">193</td><td class="line">egg_sm_client_xsmp_class_init (EggSMClientXSMPClass *klass)</td></tr>
+<tr class="codeline" data-linenumber="194"><td class="num" id="LN194">194</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="195"><td class="num" id="LN195">195</td><td class="line"> EggSMClientClass *sm_client_class = EGG_SM_CLIENT_CLASS (klass);</td></tr>
+<tr class="codeline" data-linenumber="196"><td class="num" id="LN196">196</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="197"><td class="num" id="LN197">197</td><td class="line"> sm_client_class-&gt;startup = sm_client_xsmp_startup;</td></tr>
+<tr class="codeline" data-linenumber="198"><td class="num" id="LN198">198</td><td class="line"> sm_client_class-&gt;set_restart_command = sm_client_xsmp_set_restart_command;</td></tr>
+<tr class="codeline" data-linenumber="199"><td class="num" id="LN199">199</td><td class="line"> sm_client_class-&gt;set_discard_command = sm_client_xsmp_set_discard_command;</td></tr>
+<tr class="codeline" data-linenumber="200"><td class="num" id="LN200">200</td><td class="line"> sm_client_class-&gt;will_quit = sm_client_xsmp_will_quit;</td></tr>
+<tr class="codeline" data-linenumber="201"><td class="num" id="LN201">201</td><td class="line"> sm_client_class-&gt;end_session = sm_client_xsmp_end_session;</td></tr>
+<tr class="codeline" data-linenumber="202"><td class="num" id="LN202">202</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="203"><td class="num" id="LN203">203</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="204"><td class="num" id="LN204">204</td><td class="line">EggSMClient *</td></tr>
+<tr class="codeline" data-linenumber="205"><td class="num" id="LN205">205</td><td class="line">egg_sm_client_xsmp_new (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="206"><td class="num" id="LN206">206</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="207"><td class="num" id="LN207">207</td><td class="line"> <span class='keyword'>if</span> (!g_getenv (<span class='string_literal'>"SESSION_MANAGER"</span>))</td></tr>
+<tr class="codeline" data-linenumber="208"><td class="num" id="LN208">208</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="209"><td class="num" id="LN209">209</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="210"><td class="num" id="LN210">210</td><td class="line"> <span class='keyword'>return</span> g_object_new (<span class='macro'>EGG_TYPE_SM_CLIENT_XSMP<span class='macro_popup'>(egg_sm_client_xsmp_get_type ())</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="211"><td class="num" id="LN211">211</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="212"><td class="num" id="LN212">212</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="213"><td class="num" id="LN213">213</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="214"><td class="num" id="LN214">214</td><td class="line">sm_client_xsmp_set_initial_properties (gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="215"><td class="num" id="LN215">215</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="216"><td class="num" id="LN216">216</td><td class="line"> EggSMClientXSMP *xsmp = user_data;</td></tr>
+<tr class="codeline" data-linenumber="217"><td class="num" id="LN217">217</td><td class="line"> EggDesktopFile *desktop_file;</td></tr>
+<tr class="codeline" data-linenumber="218"><td class="num" id="LN218">218</td><td class="line"> GPtrArray *clone, *restart;</td></tr>
+<tr class="codeline" data-linenumber="219"><td class="num" id="LN219">219</td><td class="line"> <span class='keyword'>char</span> pid_str[64];</td></tr>
+<tr class="codeline" data-linenumber="220"><td class="num" id="LN220">220</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="221"><td class="num" id="LN221">221</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;idle)</td></tr>
+<tr class="codeline" data-linenumber="222"><td class="num" id="LN222">222</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="223"><td class="num" id="LN223">223</td><td class="line"> g_source_remove (xsmp-&gt;idle);</td></tr>
+<tr class="codeline" data-linenumber="224"><td class="num" id="LN224">224</td><td class="line"> xsmp-&gt;idle = 0;</td></tr>
+<tr class="codeline" data-linenumber="225"><td class="num" id="LN225">225</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="226"><td class="num" id="LN226">226</td><td class="line"> xsmp-&gt;waiting_to_set_initial_properties = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="227"><td class="num" id="LN227">227</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="228"><td class="num" id="LN228">228</td><td class="line"> <span class='keyword'>if</span> (egg_sm_client_get_mode () == EGG_SM_CLIENT_MODE_NO_RESTART)</td></tr>
+<tr class="codeline" data-linenumber="229"><td class="num" id="LN229">229</td><td class="line"> xsmp-&gt;restart_style = <span class='macro'>SmRestartNever<span class='macro_popup'>3</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="230"><td class="num" id="LN230">230</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="231"><td class="num" id="LN231">231</td><td class="line"> <span class='comment'>/* Parse info out of desktop file */</span></td></tr>
+<tr class="codeline" data-linenumber="232"><td class="num" id="LN232">232</td><td class="line"> desktop_file = egg_get_desktop_file ();</td></tr>
+<tr class="codeline" data-linenumber="233"><td class="num" id="LN233">233</td><td class="line"> <span class='keyword'>if</span> (desktop_file)</td></tr>
+<tr class="codeline" data-linenumber="234"><td class="num" id="LN234">234</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="235"><td class="num" id="LN235">235</td><td class="line"> GError *err = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="236"><td class="num" id="LN236">236</td><td class="line"> <span class='keyword'>char</span> **argv;</td></tr>
+<tr class="codeline" data-linenumber="237"><td class="num" id="LN237">237</td><td class="line"> <span class='keyword'>int</span> argc;</td></tr>
+<tr class="codeline" data-linenumber="238"><td class="num" id="LN238">238</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="239"><td class="num" id="LN239">239</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;restart_style == <span class='macro'>SmRestartIfRunning<span class='macro_popup'>0</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="240"><td class="num" id="LN240">240</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="241"><td class="num" id="LN241">241</td><td class="line"> <span class='keyword'>if</span> (egg_desktop_file_get_boolean (desktop_file,</td></tr>
+<tr class="codeline" data-linenumber="242"><td class="num" id="LN242">242</td><td class="line"> <span class='string_literal'>"X-MATE-AutoRestart"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="243"><td class="num" id="LN243">243</td><td class="line"> xsmp-&gt;restart_style = <span class='macro'>SmRestartImmediately<span class='macro_popup'>2</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="244"><td class="num" id="LN244">244</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="245"><td class="num" id="LN245">245</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="246"><td class="num" id="LN246">246</td><td class="line"> <span class='keyword'>if</span> (!xsmp-&gt;set_restart_command)</td></tr>
+<tr class="codeline" data-linenumber="247"><td class="num" id="LN247">247</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="248"><td class="num" id="LN248">248</td><td class="line"> <span class='keyword'>char</span> *cmdline;</td></tr>
+<tr class="codeline" data-linenumber="249"><td class="num" id="LN249">249</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="250"><td class="num" id="LN250">250</td><td class="line"> cmdline = egg_desktop_file_parse_exec (desktop_file, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, &amp;err);</td></tr>
+<tr class="codeline" data-linenumber="251"><td class="num" id="LN251">251</td><td class="line"> <span class='keyword'>if</span> (cmdline &amp;&amp; g_shell_parse_argv (cmdline, &amp;argc, &amp;argv, &amp;err))</td></tr>
+<tr class="codeline" data-linenumber="252"><td class="num" id="LN252">252</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="253"><td class="num" id="LN253">253</td><td class="line"> egg_sm_client_set_restart_command (EGG_SM_CLIENT (xsmp),</td></tr>
+<tr class="codeline" data-linenumber="254"><td class="num" id="LN254">254</td><td class="line"> argc, (<span class='keyword'>const</span> <span class='keyword'>char</span> **)argv);</td></tr>
+<tr class="codeline" data-linenumber="255"><td class="num" id="LN255">255</td><td class="line"> g_strfreev (argv);</td></tr>
+<tr class="codeline" data-linenumber="256"><td class="num" id="LN256">256</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="257"><td class="num" id="LN257">257</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="258"><td class="num" id="LN258">258</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="259"><td class="num" id="LN259">259</td><td class="line"> g_warning (<span class='string_literal'>"Could not parse Exec line in desktop file: %s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="260"><td class="num" id="LN260">260</td><td class="line"> err-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="261"><td class="num" id="LN261">261</td><td class="line"> g_error_free (err);</td></tr>
+<tr class="codeline" data-linenumber="262"><td class="num" id="LN262">262</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="263"><td class="num" id="LN263">263</td><td class="line"> g_free (cmdline);</td></tr>
+<tr class="codeline" data-linenumber="264"><td class="num" id="LN264">264</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="265"><td class="num" id="LN265">265</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="266"><td class="num" id="LN266">266</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="267"><td class="num" id="LN267">267</td><td class="line"> <span class='keyword'>if</span> (!xsmp-&gt;set_restart_command)</td></tr>
+<tr class="codeline" data-linenumber="268"><td class="num" id="LN268">268</td><td class="line"> xsmp-&gt;restart_command = g_strsplit (g_get_prgname (), <span class='string_literal'>" "</span>, -1);</td></tr>
+<tr class="codeline" data-linenumber="269"><td class="num" id="LN269">269</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="270"><td class="num" id="LN270">270</td><td class="line"> clone = generate_command (xsmp-&gt;restart_command, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="271"><td class="num" id="LN271">271</td><td class="line"> restart = generate_command (xsmp-&gt;restart_command, xsmp-&gt;client_id, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="272"><td class="num" id="LN272">272</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="273"><td class="num" id="LN273">273</td><td class="line"> g_debug (<span class='string_literal'>"Setting initial properties"</span>);</td></tr>
+<tr class="codeline" data-linenumber="274"><td class="num" id="LN274">274</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="275"><td class="num" id="LN275">275</td><td class="line"> <span class='comment'>/* Program, CloneCommand, RestartCommand, and UserID are required.</span></td></tr>
+<tr class="codeline" data-linenumber="276"><td class="num" id="LN276">276</td><td class="line"> <span class='comment'>* ProcessID isn't required, but the SM may be able to do something</span></td></tr>
+<tr class="codeline" data-linenumber="277"><td class="num" id="LN277">277</td><td class="line"> <span class='comment'>* useful with it.</span></td></tr>
+<tr class="codeline" data-linenumber="278"><td class="num" id="LN278">278</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="279"><td class="num" id="LN279">279</td><td class="line"> g_snprintf (pid_str, <span class='keyword'>sizeof</span> (pid_str), <span class='string_literal'>"%lu"</span>, (gulong) getpid ());</td></tr>
+<tr class="codeline" data-linenumber="280"><td class="num" id="LN280">280</td><td class="line"> set_properties (xsmp,</td></tr>
+<tr class="codeline" data-linenumber="281"><td class="num" id="LN281">281</td><td class="line"> string_prop (<span class='macro'>SmProgram<span class='macro_popup'>"Program"</span></span>, g_get_prgname ()),</td></tr>
+<tr class="codeline" data-linenumber="282"><td class="num" id="LN282">282</td><td class="line"> ptrarray_prop (<span class='macro'>SmCloneCommand<span class='macro_popup'>"CloneCommand"</span></span>, clone),</td></tr>
+<tr class="codeline" data-linenumber="283"><td class="num" id="LN283">283</td><td class="line"> ptrarray_prop (<span class='macro'>SmRestartCommand<span class='macro_popup'>"RestartCommand"</span></span>, restart),</td></tr>
+<tr class="codeline" data-linenumber="284"><td class="num" id="LN284">284</td><td class="line"> string_prop (<span class='macro'>SmUserID<span class='macro_popup'>"UserID"</span></span>, g_get_user_name ()),</td></tr>
+<tr class="codeline" data-linenumber="285"><td class="num" id="LN285">285</td><td class="line"> string_prop (<span class='macro'>SmProcessID<span class='macro_popup'>"ProcessID"</span></span>, pid_str),</td></tr>
+<tr class="codeline" data-linenumber="286"><td class="num" id="LN286">286</td><td class="line"> card8_prop (<span class='macro'>SmRestartStyleHint<span class='macro_popup'>"RestartStyleHint"</span></span>, xsmp-&gt;restart_style),</td></tr>
+<tr class="codeline" data-linenumber="287"><td class="num" id="LN287">287</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="288"><td class="num" id="LN288">288</td><td class="line"> g_ptr_array_free (clone, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="289"><td class="num" id="LN289">289</td><td class="line"> g_ptr_array_free (restart, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="290"><td class="num" id="LN290">290</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="291"><td class="num" id="LN291">291</td><td class="line"> <span class='keyword'>if</span> (desktop_file)</td></tr>
+<tr class="codeline" data-linenumber="292"><td class="num" id="LN292">292</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="293"><td class="num" id="LN293">293</td><td class="line"> set_properties (xsmp,</td></tr>
+<tr class="codeline" data-linenumber="294"><td class="num" id="LN294">294</td><td class="line"> string_prop (<span class='string_literal'>"_GSM_DesktopFile"</span>, egg_desktop_file_get_source (desktop_file)),</td></tr>
+<tr class="codeline" data-linenumber="295"><td class="num" id="LN295">295</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="296"><td class="num" id="LN296">296</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="297"><td class="num" id="LN297">297</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="298"><td class="num" id="LN298">298</td><td class="line"> update_pending_events (xsmp);</td></tr>
+<tr class="codeline" data-linenumber="299"><td class="num" id="LN299">299</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="300"><td class="num" id="LN300">300</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="301"><td class="num" id="LN301">301</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="302"><td class="num" id="LN302">302</td><td class="line"><span class='comment'>/* This gets called from two different places: xsmp_die() (when the</span></td></tr>
+<tr class="codeline" data-linenumber="303"><td class="num" id="LN303">303</td><td class="line"> <span class='comment'>* server asks us to disconnect) and process_ice_messages() (when the</span></td></tr>
+<tr class="codeline" data-linenumber="304"><td class="num" id="LN304">304</td><td class="line"> <span class='comment'>* server disconnects unexpectedly).</span></td></tr>
+<tr class="codeline" data-linenumber="305"><td class="num" id="LN305">305</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="306"><td class="num" id="LN306">306</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="307"><td class="num" id="LN307">307</td><td class="line">sm_client_xsmp_disconnect (EggSMClientXSMP *xsmp)</td></tr>
+<tr class="codeline" data-linenumber="308"><td class="num" id="LN308">308</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="309"><td class="num" id="LN309">309</td><td class="line"> SmcConn connection;</td></tr>
+<tr class="codeline" data-linenumber="310"><td class="num" id="LN310">310</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="311"><td class="num" id="LN311">311</td><td class="line"> <span class='keyword'>if</span> (!xsmp-&gt;connection)</td></tr>
+<tr class="codeline" data-linenumber="312"><td class="num" id="LN312">312</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="313"><td class="num" id="LN313">313</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="314"><td class="num" id="LN314">314</td><td class="line"> g_debug (<span class='string_literal'>"Disconnecting"</span>);</td></tr>
+<tr class="codeline" data-linenumber="315"><td class="num" id="LN315">315</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="316"><td class="num" id="LN316">316</td><td class="line"> connection = xsmp-&gt;connection;</td></tr>
+<tr class="codeline" data-linenumber="317"><td class="num" id="LN317">317</td><td class="line"> xsmp-&gt;connection = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="318"><td class="num" id="LN318">318</td><td class="line"> SmcCloseConnection (connection, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="319"><td class="num" id="LN319">319</td><td class="line"> xsmp-&gt;state = XSMP_STATE_CONNECTION_CLOSED;</td></tr>
+<tr class="codeline" data-linenumber="320"><td class="num" id="LN320">320</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="321"><td class="num" id="LN321">321</td><td class="line"> xsmp-&gt;waiting_to_save_myself = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="322"><td class="num" id="LN322">322</td><td class="line"> update_pending_events (xsmp);</td></tr>
+<tr class="codeline" data-linenumber="323"><td class="num" id="LN323">323</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="324"><td class="num" id="LN324">324</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="325"><td class="num" id="LN325">325</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="326"><td class="num" id="LN326">326</td><td class="line">sm_client_xsmp_startup (EggSMClient *client,</td></tr>
+<tr class="codeline" data-linenumber="327"><td class="num" id="LN327">327</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *client_id)</td></tr>
+<tr class="codeline" data-linenumber="328"><td class="num" id="LN328">328</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="329"><td class="num" id="LN329">329</td><td class="line"> EggSMClientXSMP *xsmp = (EggSMClientXSMP *)client;</td></tr>
+<tr class="codeline" data-linenumber="330"><td class="num" id="LN330">330</td><td class="line"> SmcCallbacks callbacks;</td></tr>
+<tr class="codeline" data-linenumber="331"><td class="num" id="LN331">331</td><td class="line"> <span class='keyword'>char</span> *ret_client_id;</td></tr>
+<tr class="codeline" data-linenumber="332"><td class="num" id="LN332">332</td><td class="line"> <span class='keyword'>char</span> error_string_ret[256];</td></tr>
+<tr class="codeline" data-linenumber="333"><td class="num" id="LN333">333</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="334"><td class="num" id="LN334">334</td><td class="line"> xsmp-&gt;client_id = <span class='macro'>g_strdup (client_id)<span class='macro_popup'>g_strdup_inline (client_id)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="335"><td class="num" id="LN335">335</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="336"><td class="num" id="LN336">336</td><td class="line"> ice_init ();</td></tr>
+<tr class="codeline" data-linenumber="337"><td class="num" id="LN337">337</td><td class="line"> SmcSetErrorHandler (smc_error_handler);</td></tr>
+<tr class="codeline" data-linenumber="338"><td class="num" id="LN338">338</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="339"><td class="num" id="LN339">339</td><td class="line"> callbacks.save_yourself.callback = xsmp_save_yourself;</td></tr>
+<tr class="codeline" data-linenumber="340"><td class="num" id="LN340">340</td><td class="line"> callbacks.die.callback = xsmp_die;</td></tr>
+<tr class="codeline" data-linenumber="341"><td class="num" id="LN341">341</td><td class="line"> callbacks.save_complete.callback = xsmp_save_complete;</td></tr>
+<tr class="codeline" data-linenumber="342"><td class="num" id="LN342">342</td><td class="line"> callbacks.shutdown_cancelled.callback = xsmp_shutdown_cancelled;</td></tr>
+<tr class="codeline" data-linenumber="343"><td class="num" id="LN343">343</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="344"><td class="num" id="LN344">344</td><td class="line"> callbacks.save_yourself.client_data = xsmp;</td></tr>
+<tr class="codeline" data-linenumber="345"><td class="num" id="LN345">345</td><td class="line"> callbacks.die.client_data = xsmp;</td></tr>
+<tr class="codeline" data-linenumber="346"><td class="num" id="LN346">346</td><td class="line"> callbacks.save_complete.client_data = xsmp;</td></tr>
+<tr class="codeline" data-linenumber="347"><td class="num" id="LN347">347</td><td class="line"> callbacks.shutdown_cancelled.client_data = xsmp;</td></tr>
+<tr class="codeline" data-linenumber="348"><td class="num" id="LN348">348</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="349"><td class="num" id="LN349">349</td><td class="line"> client_id = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="350"><td class="num" id="LN350">350</td><td class="line"> error_string_ret[0] = '\0';</td></tr>
+<tr class="codeline" data-linenumber="351"><td class="num" id="LN351">351</td><td class="line"> xsmp-&gt;connection =</td></tr>
+<tr class="codeline" data-linenumber="352"><td class="num" id="LN352">352</td><td class="line"> SmcOpenConnection (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, xsmp, <span class='macro'>SmProtoMajor<span class='macro_popup'>1</span></span>, <span class='macro'>SmProtoMinor<span class='macro_popup'>0</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="353"><td class="num" id="LN353">353</td><td class="line"> <span class='macro'>SmcSaveYourselfProcMask<span class='macro_popup'>(1L &lt;&lt; 0)</span></span> | <span class='macro'>SmcDieProcMask<span class='macro_popup'>(1L &lt;&lt; 1)</span></span> |</td></tr>
+<tr class="codeline" data-linenumber="354"><td class="num" id="LN354">354</td><td class="line"> <span class='macro'>SmcSaveCompleteProcMask<span class='macro_popup'>(1L &lt;&lt; 2)</span></span> |</td></tr>
+<tr class="codeline" data-linenumber="355"><td class="num" id="LN355">355</td><td class="line"> <span class='macro'>SmcShutdownCancelledProcMask<span class='macro_popup'>(1L &lt;&lt; 3)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="356"><td class="num" id="LN356">356</td><td class="line"> &amp;callbacks,</td></tr>
+<tr class="codeline" data-linenumber="357"><td class="num" id="LN357">357</td><td class="line"> xsmp-&gt;client_id, &amp;ret_client_id,</td></tr>
+<tr class="codeline" data-linenumber="358"><td class="num" id="LN358">358</td><td class="line"> <span class='keyword'>sizeof</span> (error_string_ret), error_string_ret);</td></tr>
+<tr class="codeline" data-linenumber="359"><td class="num" id="LN359">359</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="360"><td class="num" id="LN360">360</td><td class="line"> <span class='keyword'>if</span> (!xsmp-&gt;connection)</td></tr>
+<tr class="codeline" data-linenumber="361"><td class="num" id="LN361">361</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="362"><td class="num" id="LN362">362</td><td class="line"> g_warning (<span class='string_literal'>"Failed to connect to the session manager: %s\n"</span>,</td></tr>
+<tr class="codeline" data-linenumber="363"><td class="num" id="LN363">363</td><td class="line"> error_string_ret[0] ?</td></tr>
+<tr class="codeline" data-linenumber="364"><td class="num" id="LN364">364</td><td class="line"> error_string_ret : <span class='string_literal'>"no error message given"</span>);</td></tr>
+<tr class="codeline" data-linenumber="365"><td class="num" id="LN365">365</td><td class="line"> xsmp-&gt;state = XSMP_STATE_CONNECTION_CLOSED;</td></tr>
+<tr class="codeline" data-linenumber="366"><td class="num" id="LN366">366</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="367"><td class="num" id="LN367">367</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="368"><td class="num" id="LN368">368</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="369"><td class="num" id="LN369">369</td><td class="line"> <span class='comment'>/* We expect a pointless initial SaveYourself if either (a) we</span></td></tr>
+<tr class="codeline" data-linenumber="370"><td class="num" id="LN370">370</td><td class="line"> <span class='comment'>* didn't have an initial client ID, or (b) we DID have an initial</span></td></tr>
+<tr class="codeline" data-linenumber="371"><td class="num" id="LN371">371</td><td class="line"> <span class='comment'>* client ID, but the server rejected it and gave us a new one.</span></td></tr>
+<tr class="codeline" data-linenumber="372"><td class="num" id="LN372">372</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="373"><td class="num" id="LN373">373</td><td class="line"> <span class='keyword'>if</span> (!xsmp-&gt;client_id ||</td></tr>
+<tr class="codeline" data-linenumber="374"><td class="num" id="LN374">374</td><td class="line"> (ret_client_id &amp;&amp; strcmp (xsmp-&gt;client_id, ret_client_id) != 0))</td></tr>
+<tr class="codeline" data-linenumber="375"><td class="num" id="LN375">375</td><td class="line"> xsmp-&gt;expecting_initial_save_yourself = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="376"><td class="num" id="LN376">376</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="377"><td class="num" id="LN377">377</td><td class="line"> <span class='keyword'>if</span> (ret_client_id)</td></tr>
+<tr class="codeline" data-linenumber="378"><td class="num" id="LN378">378</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="379"><td class="num" id="LN379">379</td><td class="line"> g_free (xsmp-&gt;client_id);</td></tr>
+<tr class="codeline" data-linenumber="380"><td class="num" id="LN380">380</td><td class="line"> xsmp-&gt;client_id = <span class='macro'>g_strdup (ret_client_id)<span class='macro_popup'>g_strdup_inline (ret_client_id)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="381"><td class="num" id="LN381">381</td><td class="line"> free (ret_client_id);</td></tr>
+<tr class="codeline" data-linenumber="382"><td class="num" id="LN382">382</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="383"><td class="num" id="LN383">383</td><td class="line"><span class='directive'>#if defined(GDK_WINDOWING_X11) || defined(HAVE_X11)</span></td></tr>
+<tr class="codeline" data-linenumber="384"><td class="num" id="LN384">384</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>GDK_IS_X11_DISPLAY (gdk_display_get_default ())<span class='macro_popup'>(((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) (<br>(gdk_display_get_default ())); GType __t = ((gdk_x11_display_get_type<br>())); gboolean __r; if (!__inst) __r = (0); else if (__inst-&gt;<br>g_class &amp;&amp; __inst-&gt;g_class-&gt;g_type == __t) __r =<br> (!(0)); else __r = g_type_check_instance_is_a (__inst, __t);<br> __r; }))))</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="385"><td class="num" id="LN385">385</td><td class="line"> gdk_x11_set_sm_client_id (xsmp-&gt;client_id);</td></tr>
+<tr class="codeline" data-linenumber="386"><td class="num" id="LN386">386</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="387"><td class="num" id="LN387">387</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="388"><td class="num" id="LN388">388</td><td class="line"> g_debug (<span class='string_literal'>"Got client ID \"%s\""</span>, xsmp-&gt;client_id);</td></tr>
+<tr class="codeline" data-linenumber="389"><td class="num" id="LN389">389</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="390"><td class="num" id="LN390">390</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="391"><td class="num" id="LN391">391</td><td class="line"> xsmp-&gt;state = XSMP_STATE_IDLE;</td></tr>
+<tr class="codeline" data-linenumber="392"><td class="num" id="LN392">392</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="393"><td class="num" id="LN393">393</td><td class="line"> <span class='comment'>/* Do not set the initial properties until we reach the main loop,</span></td></tr>
+<tr class="codeline" data-linenumber="394"><td class="num" id="LN394">394</td><td class="line"> <span class='comment'>* so that the application has a chance to call</span></td></tr>
+<tr class="codeline" data-linenumber="395"><td class="num" id="LN395">395</td><td class="line"> <span class='comment'>* egg_set_desktop_file(). (This may also help the session manager</span></td></tr>
+<tr class="codeline" data-linenumber="396"><td class="num" id="LN396">396</td><td class="line"> <span class='comment'>* have a better idea of when the application is fully up and</span></td></tr>
+<tr class="codeline" data-linenumber="397"><td class="num" id="LN397">397</td><td class="line"> <span class='comment'>* running.)</span></td></tr>
+<tr class="codeline" data-linenumber="398"><td class="num" id="LN398">398</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="399"><td class="num" id="LN399">399</td><td class="line"> xsmp-&gt;waiting_to_set_initial_properties = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="400"><td class="num" id="LN400">400</td><td class="line"> xsmp-&gt;idle = g_idle_add (sm_client_xsmp_set_initial_properties, client);</td></tr>
+<tr class="codeline" data-linenumber="401"><td class="num" id="LN401">401</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="402"><td class="num" id="LN402">402</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="403"><td class="num" id="LN403">403</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="404"><td class="num" id="LN404">404</td><td class="line">sm_client_xsmp_set_restart_command (EggSMClient *client,</td></tr>
+<tr class="codeline" data-linenumber="405"><td class="num" id="LN405">405</td><td class="line"> <span class='keyword'>int</span> argc,</td></tr>
+<tr class="codeline" data-linenumber="406"><td class="num" id="LN406">406</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> **argv)</td></tr>
+<tr class="codeline" data-linenumber="407"><td class="num" id="LN407">407</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="408"><td class="num" id="LN408">408</td><td class="line"> EggSMClientXSMP *xsmp = (EggSMClientXSMP *)client;</td></tr>
+<tr class="codeline" data-linenumber="409"><td class="num" id="LN409">409</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="410"><td class="num" id="LN410">410</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="411"><td class="num" id="LN411">411</td><td class="line"> g_strfreev (xsmp-&gt;restart_command);</td></tr>
+<tr class="codeline" data-linenumber="412"><td class="num" id="LN412">412</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="413"><td class="num" id="LN413">413</td><td class="line"> xsmp-&gt;restart_command = <span class='macro'>g_new (<span class='keyword'>char</span> *, argc + 1)<span class='macro_popup'>((char * *) g_malloc_n ((argc + 1), sizeof (char *)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="414"><td class="num" id="LN414">414</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; argc; i++)</td></tr>
+<tr class="codeline" data-linenumber="415"><td class="num" id="LN415">415</td><td class="line"> xsmp-&gt;restart_command[i] = <span class='macro'>g_strdup (argv[i])<span class='macro_popup'>g_strdup_inline (argv[i])</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="416"><td class="num" id="LN416">416</td><td class="line"> xsmp-&gt;restart_command[i] = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="417"><td class="num" id="LN417">417</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="418"><td class="num" id="LN418">418</td><td class="line"> xsmp-&gt;set_restart_command = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="419"><td class="num" id="LN419">419</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="420"><td class="num" id="LN420">420</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="421"><td class="num" id="LN421">421</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="422"><td class="num" id="LN422">422</td><td class="line">sm_client_xsmp_set_discard_command (EggSMClient *client,</td></tr>
+<tr class="codeline" data-linenumber="423"><td class="num" id="LN423">423</td><td class="line"> <span class='keyword'>int</span> argc,</td></tr>
+<tr class="codeline" data-linenumber="424"><td class="num" id="LN424">424</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> **argv)</td></tr>
+<tr class="codeline" data-linenumber="425"><td class="num" id="LN425">425</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="426"><td class="num" id="LN426">426</td><td class="line"> EggSMClientXSMP *xsmp = (EggSMClientXSMP *)client;</td></tr>
+<tr class="codeline" data-linenumber="427"><td class="num" id="LN427">427</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="428"><td class="num" id="LN428">428</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="429"><td class="num" id="LN429">429</td><td class="line"> g_strfreev (xsmp-&gt;discard_command);</td></tr>
+<tr class="codeline" data-linenumber="430"><td class="num" id="LN430">430</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="431"><td class="num" id="LN431">431</td><td class="line"> xsmp-&gt;discard_command = <span class='macro'>g_new (<span class='keyword'>char</span> *, argc + 1)<span class='macro_popup'>((char * *) g_malloc_n ((argc + 1), sizeof (char *)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="432"><td class="num" id="LN432">432</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; argc; i++)</td></tr>
+<tr class="codeline" data-linenumber="433"><td class="num" id="LN433">433</td><td class="line"> xsmp-&gt;discard_command[i] = <span class='macro'>g_strdup (argv[i])<span class='macro_popup'>g_strdup_inline (argv[i])</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="434"><td class="num" id="LN434">434</td><td class="line"> xsmp-&gt;discard_command[i] = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="435"><td class="num" id="LN435">435</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="436"><td class="num" id="LN436">436</td><td class="line"> xsmp-&gt;set_discard_command = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="437"><td class="num" id="LN437">437</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="438"><td class="num" id="LN438">438</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="439"><td class="num" id="LN439">439</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="440"><td class="num" id="LN440">440</td><td class="line">sm_client_xsmp_will_quit (EggSMClient *client,</td></tr>
+<tr class="codeline" data-linenumber="441"><td class="num" id="LN441">441</td><td class="line"> gboolean will_quit)</td></tr>
+<tr class="codeline" data-linenumber="442"><td class="num" id="LN442">442</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="443"><td class="num" id="LN443">443</td><td class="line"> EggSMClientXSMP *xsmp = (EggSMClientXSMP *)client;</td></tr>
+<tr class="codeline" data-linenumber="444"><td class="num" id="LN444">444</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="445"><td class="num" id="LN445">445</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;state == XSMP_STATE_CONNECTION_CLOSED)</td></tr>
+<tr class="codeline" data-linenumber="446"><td class="num" id="LN446">446</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="447"><td class="num" id="LN447">447</td><td class="line"> <span class='comment'>/* The session manager has already exited! Schedule a quit</span></td></tr>
+<tr class="codeline" data-linenumber="448"><td class="num" id="LN448">448</td><td class="line"> <span class='comment'>* signal.</span></td></tr>
+<tr class="codeline" data-linenumber="449"><td class="num" id="LN449">449</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="450"><td class="num" id="LN450">450</td><td class="line"> xsmp-&gt;waiting_to_emit_quit = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="451"><td class="num" id="LN451">451</td><td class="line"> update_pending_events (xsmp);</td></tr>
+<tr class="codeline" data-linenumber="452"><td class="num" id="LN452">452</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="453"><td class="num" id="LN453">453</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="454"><td class="num" id="LN454">454</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (xsmp-&gt;state == XSMP_STATE_SHUTDOWN_CANCELLED)</td></tr>
+<tr class="codeline" data-linenumber="455"><td class="num" id="LN455">455</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="456"><td class="num" id="LN456">456</td><td class="line"> <span class='comment'>/* We received a ShutdownCancelled message while the application</span></td></tr>
+<tr class="codeline" data-linenumber="457"><td class="num" id="LN457">457</td><td class="line"> <span class='comment'>* was interacting; Schedule a quit_cancelled signal.</span></td></tr>
+<tr class="codeline" data-linenumber="458"><td class="num" id="LN458">458</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="459"><td class="num" id="LN459">459</td><td class="line"> xsmp-&gt;waiting_to_emit_quit_cancelled = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="460"><td class="num" id="LN460">460</td><td class="line"> update_pending_events (xsmp);</td></tr>
+<tr class="codeline" data-linenumber="461"><td class="num" id="LN461">461</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="462"><td class="num" id="LN462">462</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="463"><td class="num" id="LN463">463</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="464"><td class="num" id="LN464">464</td><td class="line"> <span class='macro'>g_return_if_fail (xsmp-&gt;state == XSMP_STATE_INTERACT)<span class='macro_popup'>do { if ((xsmp-&gt;state == XSMP_STATE_INTERACT)) { } else { g_return_if_fail_warning<br> ("EggSMClient", ((const char*) (__func__)), "xsmp-&gt;state == XSMP_STATE_INTERACT"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="465"><td class="num" id="LN465">465</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="466"><td class="num" id="LN466">466</td><td class="line"> g_debug (<span class='string_literal'>"Sending InteractDone(%s)"</span>, will_quit ? <span class='string_literal'>"False"</span> : <span class='string_literal'>"True"</span>);</td></tr>
+<tr class="codeline" data-linenumber="467"><td class="num" id="LN467">467</td><td class="line"> SmcInteractDone (xsmp-&gt;connection, !will_quit);</td></tr>
+<tr class="codeline" data-linenumber="468"><td class="num" id="LN468">468</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="469"><td class="num" id="LN469">469</td><td class="line"> <span class='keyword'>if</span> (will_quit &amp;&amp; xsmp-&gt;need_save_state)</td></tr>
+<tr class="codeline" data-linenumber="470"><td class="num" id="LN470">470</td><td class="line"> save_state (xsmp);</td></tr>
+<tr class="codeline" data-linenumber="471"><td class="num" id="LN471">471</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="472"><td class="num" id="LN472">472</td><td class="line"> g_debug (<span class='string_literal'>"Sending SaveYourselfDone(%s)"</span>, will_quit ? <span class='string_literal'>"True"</span> : <span class='string_literal'>"False"</span>);</td></tr>
+<tr class="codeline" data-linenumber="473"><td class="num" id="LN473">473</td><td class="line"> SmcSaveYourselfDone (xsmp-&gt;connection, will_quit);</td></tr>
+<tr class="codeline" data-linenumber="474"><td class="num" id="LN474">474</td><td class="line"> xsmp-&gt;state = XSMP_STATE_SAVE_YOURSELF_DONE;</td></tr>
+<tr class="codeline" data-linenumber="475"><td class="num" id="LN475">475</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="476"><td class="num" id="LN476">476</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="477"><td class="num" id="LN477">477</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="478"><td class="num" id="LN478">478</td><td class="line">sm_client_xsmp_end_session (EggSMClient *client,</td></tr>
+<tr class="codeline" data-linenumber="479"><td class="num" id="LN479">479</td><td class="line"> EggSMClientEndStyle style,</td></tr>
+<tr class="codeline" data-linenumber="480"><td class="num" id="LN480">480</td><td class="line"> gboolean request_confirmation)</td></tr>
+<tr class="codeline" data-linenumber="481"><td class="num" id="LN481">481</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="482"><td class="num" id="LN482">482</td><td class="line"> EggSMClientXSMP *xsmp = (EggSMClientXSMP *)client;</td></tr>
+<tr class="codeline" data-linenumber="483"><td class="num" id="LN483">483</td><td class="line"> <span class='keyword'>int</span> save_type;</td></tr>
+<tr class="codeline" data-linenumber="484"><td class="num" id="LN484">484</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="485"><td class="num" id="LN485">485</td><td class="line"> <span class='comment'>/* To end the session via XSMP, we have to send a</span></td></tr>
+<tr class="codeline" data-linenumber="486"><td class="num" id="LN486">486</td><td class="line"> <span class='comment'>* SaveYourselfRequest. We aren't allowed to do that if anything</span></td></tr>
+<tr class="codeline" data-linenumber="487"><td class="num" id="LN487">487</td><td class="line"> <span class='comment'>* else is going on, but we don't want to expose this fact to the</span></td></tr>
+<tr class="codeline" data-linenumber="488"><td class="num" id="LN488">488</td><td class="line"> <span class='comment'>* application. So we do our best to patch things up here...</span></td></tr>
+<tr class="codeline" data-linenumber="489"><td class="num" id="LN489">489</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="490"><td class="num" id="LN490">490</td><td class="line"> <span class='comment'>* In the worst case, this method might block for some length of</span></td></tr>
+<tr class="codeline" data-linenumber="491"><td class="num" id="LN491">491</td><td class="line"> <span class='comment'>* time in process_ice_messages, but the only time that code path is</span></td></tr>
+<tr class="codeline" data-linenumber="492"><td class="num" id="LN492">492</td><td class="line"> <span class='comment'>* honestly likely to get hit is if the application tries to end the</span></td></tr>
+<tr class="codeline" data-linenumber="493"><td class="num" id="LN493">493</td><td class="line"> <span class='comment'>* session as the very first thing it does, in which case it</span></td></tr>
+<tr class="codeline" data-linenumber="494"><td class="num" id="LN494">494</td><td class="line"> <span class='comment'>* probably won't actually block anyway. It's not worth gunking up</span></td></tr>
+<tr class="codeline" data-linenumber="495"><td class="num" id="LN495">495</td><td class="line"> <span class='comment'>* the API to try to deal nicely with the other 0.01% of cases where</span></td></tr>
+<tr class="codeline" data-linenumber="496"><td class="num" id="LN496">496</td><td class="line"> <span class='comment'>* this happens.</span></td></tr>
+<tr class="codeline" data-linenumber="497"><td class="num" id="LN497">497</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="498"><td class="num" id="LN498">498</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="499"><td class="num" id="LN499">499</td><td class="line"> <span class='keyword'>while</span> (xsmp-&gt;state != XSMP_STATE_IDLE ||</td></tr>
+<tr class="codeline" data-linenumber="500"><td class="num" id="LN500">500</td><td class="line"> xsmp-&gt;expecting_initial_save_yourself)</td></tr>
+<tr class="codeline" data-linenumber="501"><td class="num" id="LN501">501</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="502"><td class="num" id="LN502">502</td><td class="line"> <span class='comment'>/* If we're already shutting down, we don't need to do anything. */</span></td></tr>
+<tr class="codeline" data-linenumber="503"><td class="num" id="LN503">503</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;shutting_down)</td></tr>
+<tr class="codeline" data-linenumber="504"><td class="num" id="LN504">504</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="505"><td class="num" id="LN505">505</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="506"><td class="num" id="LN506">506</td><td class="line"> <span class='keyword'>switch</span> (xsmp-&gt;state)</td></tr>
+<tr class="codeline" data-linenumber="507"><td class="num" id="LN507">507</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="508"><td class="num" id="LN508">508</td><td class="line"> <span class='keyword'>case</span> XSMP_STATE_CONNECTION_CLOSED:</td></tr>
+<tr class="codeline" data-linenumber="509"><td class="num" id="LN509">509</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="510"><td class="num" id="LN510">510</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="511"><td class="num" id="LN511">511</td><td class="line"> <span class='keyword'>case</span> XSMP_STATE_SAVE_YOURSELF:</td></tr>
+<tr class="codeline" data-linenumber="512"><td class="num" id="LN512">512</td><td class="line"> <span class='comment'>/* Trying to log out from the save_state callback? Whatever.</span></td></tr>
+<tr class="codeline" data-linenumber="513"><td class="num" id="LN513">513</td><td class="line"> <span class='comment'>* Abort the save_state.</span></td></tr>
+<tr class="codeline" data-linenumber="514"><td class="num" id="LN514">514</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="515"><td class="num" id="LN515">515</td><td class="line"> SmcSaveYourselfDone (xsmp-&gt;connection, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="516"><td class="num" id="LN516">516</td><td class="line"> xsmp-&gt;state = XSMP_STATE_SAVE_YOURSELF_DONE;</td></tr>
+<tr class="codeline" data-linenumber="517"><td class="num" id="LN517">517</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="518"><td class="num" id="LN518">518</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="519"><td class="num" id="LN519">519</td><td class="line"> <span class='keyword'>case</span> XSMP_STATE_INTERACT_REQUEST:</td></tr>
+<tr class="codeline" data-linenumber="520"><td class="num" id="LN520">520</td><td class="line"> <span class='keyword'>case</span> XSMP_STATE_INTERACT:</td></tr>
+<tr class="codeline" data-linenumber="521"><td class="num" id="LN521">521</td><td class="line"> <span class='keyword'>case</span> XSMP_STATE_SHUTDOWN_CANCELLED:</td></tr>
+<tr class="codeline" data-linenumber="522"><td class="num" id="LN522">522</td><td class="line"> <span class='comment'>/* Already in a shutdown-related state, just ignore</span></td></tr>
+<tr class="codeline" data-linenumber="523"><td class="num" id="LN523">523</td><td class="line"> <span class='comment'>* the new shutdown request...</span></td></tr>
+<tr class="codeline" data-linenumber="524"><td class="num" id="LN524">524</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="525"><td class="num" id="LN525">525</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="526"><td class="num" id="LN526">526</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="527"><td class="num" id="LN527">527</td><td class="line"> <span class='keyword'>case</span> XSMP_STATE_IDLE:</td></tr>
+<tr class="codeline" data-linenumber="528"><td class="num" id="LN528">528</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;waiting_to_set_initial_properties)</td></tr>
+<tr class="codeline" data-linenumber="529"><td class="num" id="LN529">529</td><td class="line"> sm_client_xsmp_set_initial_properties (xsmp);</td></tr>
+<tr class="codeline" data-linenumber="530"><td class="num" id="LN530">530</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="531"><td class="num" id="LN531">531</td><td class="line"> <span class='keyword'>if</span> (!xsmp-&gt;expecting_initial_save_yourself)</td></tr>
+<tr class="codeline" data-linenumber="532"><td class="num" id="LN532">532</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="533"><td class="num" id="LN533">533</td><td class="line"> <span class='comment'>/* else fall through */</span></td></tr>
+<tr class="codeline" data-linenumber="534"><td class="num" id="LN534">534</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="535"><td class="num" id="LN535">535</td><td class="line"> <span class='keyword'>case</span> XSMP_STATE_SAVE_YOURSELF_DONE:</td></tr>
+<tr class="codeline" data-linenumber="536"><td class="num" id="LN536">536</td><td class="line"> <span class='comment'>/* We need to wait for some response from the server.*/</span></td></tr>
+<tr class="codeline" data-linenumber="537"><td class="num" id="LN537">537</td><td class="line"> process_ice_messages (SmcGetIceConnection (xsmp-&gt;connection));</td></tr>
+<tr class="codeline" data-linenumber="538"><td class="num" id="LN538">538</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="539"><td class="num" id="LN539">539</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="540"><td class="num" id="LN540">540</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="541"><td class="num" id="LN541">541</td><td class="line"> <span class='comment'>/* Hm... shouldn't happen */</span></td></tr>
+<tr class="codeline" data-linenumber="542"><td class="num" id="LN542">542</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="543"><td class="num" id="LN543">543</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="544"><td class="num" id="LN544">544</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="545"><td class="num" id="LN545">545</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="546"><td class="num" id="LN546">546</td><td class="line"> <span class='comment'>/* xfce4-session will do the wrong thing if we pass SmSaveGlobal and</span></td></tr>
+<tr class="codeline" data-linenumber="547"><td class="num" id="LN547">547</td><td class="line"> <span class='comment'>* the user chooses to save the session. But mate-session will do</span></td></tr>
+<tr class="codeline" data-linenumber="548"><td class="num" id="LN548">548</td><td class="line"> <span class='comment'>* the wrong thing if we pass SmSaveBoth and the user chooses NOT to</span></td></tr>
+<tr class="codeline" data-linenumber="549"><td class="num" id="LN549">549</td><td class="line"> <span class='comment'>* save the session... Sigh.</span></td></tr>
+<tr class="codeline" data-linenumber="550"><td class="num" id="LN550">550</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="551"><td class="num" id="LN551">551</td><td class="line"> <span class='keyword'>if</span> (!strcmp (SmcVendor (xsmp-&gt;connection), <span class='string_literal'>"xfce4-session"</span>))</td></tr>
+<tr class="codeline" data-linenumber="552"><td class="num" id="LN552">552</td><td class="line"> save_type = <span class='macro'>SmSaveBoth<span class='macro_popup'>2</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="553"><td class="num" id="LN553">553</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="554"><td class="num" id="LN554">554</td><td class="line"> save_type = <span class='macro'>SmSaveGlobal<span class='macro_popup'>0</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="555"><td class="num" id="LN555">555</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="556"><td class="num" id="LN556">556</td><td class="line"> g_debug (<span class='string_literal'>"Sending SaveYourselfRequest(SmSaveGlobal, Shutdown, SmInteractStyleAny, %sFast)"</span>, request_confirmation ? <span class='string_literal'>"!"</span> : <span class='string_literal'>""</span>);</td></tr>
+<tr class="codeline" data-linenumber="557"><td class="num" id="LN557">557</td><td class="line"> SmcRequestSaveYourself (xsmp-&gt;connection,</td></tr>
+<tr class="codeline" data-linenumber="558"><td class="num" id="LN558">558</td><td class="line"> save_type,</td></tr>
+<tr class="codeline" data-linenumber="559"><td class="num" id="LN559">559</td><td class="line"> <span class='macro'>True<span class='macro_popup'>1</span></span>, <span class='comment'>/* shutdown */</span></td></tr>
+<tr class="codeline" data-linenumber="560"><td class="num" id="LN560">560</td><td class="line"> <span class='macro'>SmInteractStyleAny<span class='macro_popup'>2</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="561"><td class="num" id="LN561">561</td><td class="line"> !request_confirmation, <span class='comment'>/* fast */</span></td></tr>
+<tr class="codeline" data-linenumber="562"><td class="num" id="LN562">562</td><td class="line"> <span class='macro'>True<span class='macro_popup'>1</span></span> <span class='comment'>/* global */</span>);</td></tr>
+<tr class="codeline" data-linenumber="563"><td class="num" id="LN563">563</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="564"><td class="num" id="LN564">564</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="565"><td class="num" id="LN565">565</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="566"><td class="num" id="LN566">566</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="567"><td class="num" id="LN567">567</td><td class="line">idle_do_pending_events (gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="568"><td class="num" id="LN568">568</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="569"><td class="num" id="LN569">569</td><td class="line"> EggSMClientXSMP *xsmp = data;</td></tr>
+<tr class="codeline" data-linenumber="570"><td class="num" id="LN570">570</td><td class="line"> EggSMClient *client = data;</td></tr>
+<tr class="codeline" data-linenumber="571"><td class="num" id="LN571">571</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="572"><td class="num" id="LN572">572</td><td class="line"> xsmp-&gt;idle = 0;</td></tr>
+<tr class="codeline" data-linenumber="573"><td class="num" id="LN573">573</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="574"><td class="num" id="LN574">574</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;waiting_to_emit_quit)</td></tr>
+<tr class="codeline" data-linenumber="575"><td class="num" id="LN575">575</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="576"><td class="num" id="LN576">576</td><td class="line"> xsmp-&gt;waiting_to_emit_quit = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="577"><td class="num" id="LN577">577</td><td class="line"> egg_sm_client_quit (client);</td></tr>
+<tr class="codeline" data-linenumber="578"><td class="num" id="LN578">578</td><td class="line"> <span class='keyword'>goto</span> out;</td></tr>
+<tr class="codeline" data-linenumber="579"><td class="num" id="LN579">579</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="580"><td class="num" id="LN580">580</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="581"><td class="num" id="LN581">581</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;waiting_to_emit_quit_cancelled)</td></tr>
+<tr class="codeline" data-linenumber="582"><td class="num" id="LN582">582</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="583"><td class="num" id="LN583">583</td><td class="line"> xsmp-&gt;waiting_to_emit_quit_cancelled = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="584"><td class="num" id="LN584">584</td><td class="line"> egg_sm_client_quit_cancelled (client);</td></tr>
+<tr class="codeline" data-linenumber="585"><td class="num" id="LN585">585</td><td class="line"> xsmp-&gt;state = XSMP_STATE_IDLE;</td></tr>
+<tr class="codeline" data-linenumber="586"><td class="num" id="LN586">586</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="587"><td class="num" id="LN587">587</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="588"><td class="num" id="LN588">588</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;waiting_to_save_myself)</td></tr>
+<tr class="codeline" data-linenumber="589"><td class="num" id="LN589">589</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="590"><td class="num" id="LN590">590</td><td class="line"> xsmp-&gt;waiting_to_save_myself = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="591"><td class="num" id="LN591">591</td><td class="line"> do_save_yourself (xsmp);</td></tr>
+<tr class="codeline" data-linenumber="592"><td class="num" id="LN592">592</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="593"><td class="num" id="LN593">593</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="594"><td class="num" id="LN594">594</td><td class="line">out:</td></tr>
+<tr class="codeline" data-linenumber="595"><td class="num" id="LN595">595</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="596"><td class="num" id="LN596">596</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="597"><td class="num" id="LN597">597</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="598"><td class="num" id="LN598">598</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="599"><td class="num" id="LN599">599</td><td class="line">update_pending_events (EggSMClientXSMP *xsmp)</td></tr>
+<tr class="codeline" data-linenumber="600"><td class="num" id="LN600">600</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="601"><td class="num" id="LN601">601</td><td class="line"> gboolean want_idle =</td></tr>
+<tr class="codeline" data-linenumber="602"><td class="num" id="LN602">602</td><td class="line"> xsmp-&gt;waiting_to_emit_quit ||</td></tr>
+<tr class="codeline" data-linenumber="603"><td class="num" id="LN603">603</td><td class="line"> xsmp-&gt;waiting_to_emit_quit_cancelled ||</td></tr>
+<tr class="codeline" data-linenumber="604"><td class="num" id="LN604">604</td><td class="line"> xsmp-&gt;waiting_to_save_myself;</td></tr>
+<tr class="codeline" data-linenumber="605"><td class="num" id="LN605">605</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="606"><td class="num" id="LN606">606</td><td class="line"> <span class='keyword'>if</span> (want_idle)</td></tr>
+<tr class="codeline" data-linenumber="607"><td class="num" id="LN607">607</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="608"><td class="num" id="LN608">608</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;idle == 0)</td></tr>
+<tr class="codeline" data-linenumber="609"><td class="num" id="LN609">609</td><td class="line"> xsmp-&gt;idle = g_idle_add (idle_do_pending_events, xsmp);</td></tr>
+<tr class="codeline" data-linenumber="610"><td class="num" id="LN610">610</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="611"><td class="num" id="LN611">611</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="612"><td class="num" id="LN612">612</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="613"><td class="num" id="LN613">613</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;idle != 0)</td></tr>
+<tr class="codeline" data-linenumber="614"><td class="num" id="LN614">614</td><td class="line"> g_source_remove (xsmp-&gt;idle);</td></tr>
+<tr class="codeline" data-linenumber="615"><td class="num" id="LN615">615</td><td class="line"> xsmp-&gt;idle = 0;</td></tr>
+<tr class="codeline" data-linenumber="616"><td class="num" id="LN616">616</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="617"><td class="num" id="LN617">617</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="618"><td class="num" id="LN618">618</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="619"><td class="num" id="LN619">619</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="620"><td class="num" id="LN620">620</td><td class="line">fix_broken_state (EggSMClientXSMP *xsmp, <span class='keyword'>const</span> <span class='keyword'>char</span> *message,</td></tr>
+<tr class="codeline" data-linenumber="621"><td class="num" id="LN621">621</td><td class="line"> gboolean send_interact_done,</td></tr>
+<tr class="codeline" data-linenumber="622"><td class="num" id="LN622">622</td><td class="line"> gboolean send_save_yourself_done)</td></tr>
+<tr class="codeline" data-linenumber="623"><td class="num" id="LN623">623</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="624"><td class="num" id="LN624">624</td><td class="line"> g_warning (<span class='string_literal'>"Received XSMP %s message in state %s: client or server error"</span>,</td></tr>
+<tr class="codeline" data-linenumber="625"><td class="num" id="LN625">625</td><td class="line"> message, <span class='macro'>EGG_SM_CLIENT_XSMP_STATE (xsmp)<span class='macro_popup'>(state_names[(xsmp)-&gt;state])</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="626"><td class="num" id="LN626">626</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="627"><td class="num" id="LN627">627</td><td class="line"> <span class='comment'>/* Forget any pending SaveYourself plans we had */</span></td></tr>
+<tr class="codeline" data-linenumber="628"><td class="num" id="LN628">628</td><td class="line"> xsmp-&gt;waiting_to_save_myself = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="629"><td class="num" id="LN629">629</td><td class="line"> update_pending_events (xsmp);</td></tr>
+<tr class="codeline" data-linenumber="630"><td class="num" id="LN630">630</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="631"><td class="num" id="LN631">631</td><td class="line"> <span class='keyword'>if</span> (send_interact_done)</td></tr>
+<tr class="codeline" data-linenumber="632"><td class="num" id="LN632">632</td><td class="line"> SmcInteractDone (xsmp-&gt;connection, <span class='macro'>False<span class='macro_popup'>0</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="633"><td class="num" id="LN633">633</td><td class="line"> <span class='keyword'>if</span> (send_save_yourself_done)</td></tr>
+<tr class="codeline" data-linenumber="634"><td class="num" id="LN634">634</td><td class="line"> SmcSaveYourselfDone (xsmp-&gt;connection, <span class='macro'>True<span class='macro_popup'>1</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="635"><td class="num" id="LN635">635</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="636"><td class="num" id="LN636">636</td><td class="line"> xsmp-&gt;state = send_save_yourself_done ? XSMP_STATE_SAVE_YOURSELF_DONE : XSMP_STATE_IDLE;</td></tr>
+<tr class="codeline" data-linenumber="637"><td class="num" id="LN637">637</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="638"><td class="num" id="LN638">638</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="639"><td class="num" id="LN639">639</td><td class="line"><span class='comment'>/* SM callbacks */</span></td></tr>
+<tr class="codeline" data-linenumber="640"><td class="num" id="LN640">640</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="641"><td class="num" id="LN641">641</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="642"><td class="num" id="LN642">642</td><td class="line">xsmp_save_yourself (SmcConn smc_conn,</td></tr>
+<tr class="codeline" data-linenumber="643"><td class="num" id="LN643">643</td><td class="line"> SmPointer client_data,</td></tr>
+<tr class="codeline" data-linenumber="644"><td class="num" id="LN644">644</td><td class="line"> <span class='keyword'>int</span> save_type,</td></tr>
+<tr class="codeline" data-linenumber="645"><td class="num" id="LN645">645</td><td class="line"> <span class='macro'>Bool<span class='macro_popup'>int</span></span> shutdown,</td></tr>
+<tr class="codeline" data-linenumber="646"><td class="num" id="LN646">646</td><td class="line"> <span class='keyword'>int</span> interact_style,</td></tr>
+<tr class="codeline" data-linenumber="647"><td class="num" id="LN647">647</td><td class="line"> <span class='macro'>Bool<span class='macro_popup'>int</span></span> fast)</td></tr>
+<tr class="codeline" data-linenumber="648"><td class="num" id="LN648">648</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="649"><td class="num" id="LN649">649</td><td class="line"> EggSMClientXSMP *xsmp = client_data;</td></tr>
+<tr class="codeline" data-linenumber="650"><td class="num" id="LN650">650</td><td class="line"> gboolean wants_quit_requested;</td></tr>
+<tr class="codeline" data-linenumber="651"><td class="num" id="LN651">651</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="652"><td class="num" id="LN652">652</td><td class="line"> g_debug (<span class='string_literal'>"Received SaveYourself(%s, %s, %s, %s) in state %s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="653"><td class="num" id="LN653">653</td><td class="line"> save_type == <span class='macro'>SmSaveLocal<span class='macro_popup'>1</span></span> ? <span class='string_literal'>"SmSaveLocal"</span> :</td></tr>
+<tr class="codeline" data-linenumber="654"><td class="num" id="LN654">654</td><td class="line"> save_type == <span class='macro'>SmSaveGlobal<span class='macro_popup'>0</span></span> ? <span class='string_literal'>"SmSaveGlobal"</span> : <span class='string_literal'>"SmSaveBoth"</span>,</td></tr>
+<tr class="codeline" data-linenumber="655"><td class="num" id="LN655">655</td><td class="line"> shutdown ? <span class='string_literal'>"Shutdown"</span> : <span class='string_literal'>"!Shutdown"</span>,</td></tr>
+<tr class="codeline" data-linenumber="656"><td class="num" id="LN656">656</td><td class="line"> interact_style == <span class='macro'>SmInteractStyleAny<span class='macro_popup'>2</span></span> ? <span class='string_literal'>"SmInteractStyleAny"</span> :</td></tr>
+<tr class="codeline" data-linenumber="657"><td class="num" id="LN657">657</td><td class="line"> interact_style == <span class='macro'>SmInteractStyleErrors<span class='macro_popup'>1</span></span> ? <span class='string_literal'>"SmInteractStyleErrors"</span> :</td></tr>
+<tr class="codeline" data-linenumber="658"><td class="num" id="LN658">658</td><td class="line"> <span class='string_literal'>"SmInteractStyleNone"</span>, fast ? <span class='string_literal'>"Fast"</span> : <span class='string_literal'>"!Fast"</span>,</td></tr>
+<tr class="codeline" data-linenumber="659"><td class="num" id="LN659">659</td><td class="line"> <span class='macro'>EGG_SM_CLIENT_XSMP_STATE (xsmp)<span class='macro_popup'>(state_names[(xsmp)-&gt;state])</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="660"><td class="num" id="LN660">660</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="661"><td class="num" id="LN661">661</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;state != XSMP_STATE_IDLE &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="662"><td class="num" id="LN662">662</td><td class="line"> xsmp-&gt;state != XSMP_STATE_SHUTDOWN_CANCELLED)</td></tr>
+<tr class="codeline" data-linenumber="663"><td class="num" id="LN663">663</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="664"><td class="num" id="LN664">664</td><td class="line"> fix_broken_state (xsmp, <span class='string_literal'>"SaveYourself"</span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="665"><td class="num" id="LN665">665</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="666"><td class="num" id="LN666">666</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="667"><td class="num" id="LN667">667</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="668"><td class="num" id="LN668">668</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;waiting_to_set_initial_properties)</td></tr>
+<tr class="codeline" data-linenumber="669"><td class="num" id="LN669">669</td><td class="line"> sm_client_xsmp_set_initial_properties (xsmp);</td></tr>
+<tr class="codeline" data-linenumber="670"><td class="num" id="LN670">670</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="671"><td class="num" id="LN671">671</td><td class="line"> <span class='comment'>/* If this is the initial SaveYourself, ignore it; we've already set</span></td></tr>
+<tr class="codeline" data-linenumber="672"><td class="num" id="LN672">672</td><td class="line"> <span class='comment'>* properties and there's no reason to actually save state too.</span></td></tr>
+<tr class="codeline" data-linenumber="673"><td class="num" id="LN673">673</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="674"><td class="num" id="LN674">674</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;expecting_initial_save_yourself)</td></tr>
+<tr class="codeline" data-linenumber="675"><td class="num" id="LN675">675</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="676"><td class="num" id="LN676">676</td><td class="line"> xsmp-&gt;expecting_initial_save_yourself = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="677"><td class="num" id="LN677">677</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="678"><td class="num" id="LN678">678</td><td class="line"> <span class='keyword'>if</span> (save_type == <span class='macro'>SmSaveLocal<span class='macro_popup'>1</span></span> &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="679"><td class="num" id="LN679">679</td><td class="line"> interact_style == <span class='macro'>SmInteractStyleNone<span class='macro_popup'>0</span></span> &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="680"><td class="num" id="LN680">680</td><td class="line"> !shutdown &amp;&amp; !fast)</td></tr>
+<tr class="codeline" data-linenumber="681"><td class="num" id="LN681">681</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="682"><td class="num" id="LN682">682</td><td class="line"> g_debug (<span class='string_literal'>"Sending SaveYourselfDone(True) for initial SaveYourself"</span>);</td></tr>
+<tr class="codeline" data-linenumber="683"><td class="num" id="LN683">683</td><td class="line"> SmcSaveYourselfDone (xsmp-&gt;connection, <span class='macro'>True<span class='macro_popup'>1</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="684"><td class="num" id="LN684">684</td><td class="line"> <span class='comment'>/* As explained in the comment at the end of</span></td></tr>
+<tr class="codeline" data-linenumber="685"><td class="num" id="LN685">685</td><td class="line"> <span class='comment'>* do_save_yourself(), SAVE_YOURSELF_DONE is the correct</span></td></tr>
+<tr class="codeline" data-linenumber="686"><td class="num" id="LN686">686</td><td class="line"> <span class='comment'>* state here, not IDLE.</span></td></tr>
+<tr class="codeline" data-linenumber="687"><td class="num" id="LN687">687</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="688"><td class="num" id="LN688">688</td><td class="line"> xsmp-&gt;state = XSMP_STATE_SAVE_YOURSELF_DONE;</td></tr>
+<tr class="codeline" data-linenumber="689"><td class="num" id="LN689">689</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="690"><td class="num" id="LN690">690</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="691"><td class="num" id="LN691">691</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="692"><td class="num" id="LN692">692</td><td class="line"> g_warning (<span class='string_literal'>"First SaveYourself was not the expected one!"</span>);</td></tr>
+<tr class="codeline" data-linenumber="693"><td class="num" id="LN693">693</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="694"><td class="num" id="LN694">694</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="695"><td class="num" id="LN695">695</td><td class="line"> <span class='comment'>/* Even ignoring the "fast" flag completely, there are still 18</span></td></tr>
+<tr class="codeline" data-linenumber="696"><td class="num" id="LN696">696</td><td class="line"> <span class='comment'>* different combinations of save_type, shutdown and interact_style.</span></td></tr>
+<tr class="codeline" data-linenumber="697"><td class="num" id="LN697">697</td><td class="line"> <span class='comment'>* We interpret them as follows:</span></td></tr>
+<tr class="codeline" data-linenumber="698"><td class="num" id="LN698">698</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="699"><td class="num" id="LN699">699</td><td class="line"> <span class='comment'>* Type Shutdown Interact Interpretation</span></td></tr>
+<tr class="codeline" data-linenumber="700"><td class="num" id="LN700">700</td><td class="line"> <span class='comment'>* G F A/E/N do nothing (1)</span></td></tr>
+<tr class="codeline" data-linenumber="701"><td class="num" id="LN701">701</td><td class="line"> <span class='comment'>* G T N do nothing (1)*</span></td></tr>
+<tr class="codeline" data-linenumber="702"><td class="num" id="LN702">702</td><td class="line"> <span class='comment'>* G T A/E quit_requested (2)</span></td></tr>
+<tr class="codeline" data-linenumber="703"><td class="num" id="LN703">703</td><td class="line"> <span class='comment'>* L/B F A/E/N save_state (3)</span></td></tr>
+<tr class="codeline" data-linenumber="704"><td class="num" id="LN704">704</td><td class="line"> <span class='comment'>* L/B T N save_state (3)*</span></td></tr>
+<tr class="codeline" data-linenumber="705"><td class="num" id="LN705">705</td><td class="line"> <span class='comment'>* L/B T A/E quit_requested, then save_state (4)</span></td></tr>
+<tr class="codeline" data-linenumber="706"><td class="num" id="LN706">706</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="707"><td class="num" id="LN707">707</td><td class="line"> <span class='comment'>* 1. Do nothing, because the SM asked us to do something</span></td></tr>
+<tr class="codeline" data-linenumber="708"><td class="num" id="LN708">708</td><td class="line"> <span class='comment'>* uninteresting (save open files, but then don't quit</span></td></tr>
+<tr class="codeline" data-linenumber="709"><td class="num" id="LN709">709</td><td class="line"> <span class='comment'>* afterward) or rude (save open files without asking the user</span></td></tr>
+<tr class="codeline" data-linenumber="710"><td class="num" id="LN710">710</td><td class="line"> <span class='comment'>* for confirmation).</span></td></tr>
+<tr class="codeline" data-linenumber="711"><td class="num" id="LN711">711</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="712"><td class="num" id="LN712">712</td><td class="line"> <span class='comment'>* 2. Request interaction and then emit ::quit_requested. This</span></td></tr>
+<tr class="codeline" data-linenumber="713"><td class="num" id="LN713">713</td><td class="line"> <span class='comment'>* perhaps isn't quite correct for the SmInteractStyleErrors</span></td></tr>
+<tr class="codeline" data-linenumber="714"><td class="num" id="LN714">714</td><td class="line"> <span class='comment'>* case, but we don't care.</span></td></tr>
+<tr class="codeline" data-linenumber="715"><td class="num" id="LN715">715</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="716"><td class="num" id="LN716">716</td><td class="line"> <span class='comment'>* 3. Emit ::save_state. The SmSaveBoth SaveYourselfs in these</span></td></tr>
+<tr class="codeline" data-linenumber="717"><td class="num" id="LN717">717</td><td class="line"> <span class='comment'>* rows essentially get demoted to SmSaveLocal, because their</span></td></tr>
+<tr class="codeline" data-linenumber="718"><td class="num" id="LN718">718</td><td class="line"> <span class='comment'>* Global halves correspond to "do nothing".</span></td></tr>
+<tr class="codeline" data-linenumber="719"><td class="num" id="LN719">719</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="720"><td class="num" id="LN720">720</td><td class="line"> <span class='comment'>* 4. Request interaction, emit ::quit_requested, and then emit</span></td></tr>
+<tr class="codeline" data-linenumber="721"><td class="num" id="LN721">721</td><td class="line"> <span class='comment'>* ::save_state after interacting. This is the SmSaveBoth</span></td></tr>
+<tr class="codeline" data-linenumber="722"><td class="num" id="LN722">722</td><td class="line"> <span class='comment'>* equivalent of #2, but we also promote SmSaveLocal shutdown</span></td></tr>
+<tr class="codeline" data-linenumber="723"><td class="num" id="LN723">723</td><td class="line"> <span class='comment'>* SaveYourselfs to SmSaveBoth here, because we want to give</span></td></tr>
+<tr class="codeline" data-linenumber="724"><td class="num" id="LN724">724</td><td class="line"> <span class='comment'>* the user a chance to save open files before quitting.</span></td></tr>
+<tr class="codeline" data-linenumber="725"><td class="num" id="LN725">725</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="726"><td class="num" id="LN726">726</td><td class="line"> <span class='comment'>* (* It would be nice if we could do something useful when the</span></td></tr>
+<tr class="codeline" data-linenumber="727"><td class="num" id="LN727">727</td><td class="line"> <span class='comment'>* session manager sends a SaveYourself with shutdown True and</span></td></tr>
+<tr class="codeline" data-linenumber="728"><td class="num" id="LN728">728</td><td class="line"> <span class='comment'>* SmInteractStyleNone. But we can't, so we just pretend it didn't</span></td></tr>
+<tr class="codeline" data-linenumber="729"><td class="num" id="LN729">729</td><td class="line"> <span class='comment'>* even tell us it was shutting down. The docs for ::quit mention</span></td></tr>
+<tr class="codeline" data-linenumber="730"><td class="num" id="LN730">730</td><td class="line"> <span class='comment'>* that it might not always be preceded by ::quit_requested.)</span></td></tr>
+<tr class="codeline" data-linenumber="731"><td class="num" id="LN731">731</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="732"><td class="num" id="LN732">732</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="733"><td class="num" id="LN733">733</td><td class="line"> <span class='comment'>/* As an optimization, we don't actually request interaction and</span></td></tr>
+<tr class="codeline" data-linenumber="734"><td class="num" id="LN734">734</td><td class="line"> <span class='comment'>* emit ::quit_requested if the application isn't listening to the</span></td></tr>
+<tr class="codeline" data-linenumber="735"><td class="num" id="LN735">735</td><td class="line"> <span class='comment'>* signal.</span></td></tr>
+<tr class="codeline" data-linenumber="736"><td class="num" id="LN736">736</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="737"><td class="num" id="LN737">737</td><td class="line"> wants_quit_requested = g_signal_has_handler_pending (xsmp, g_signal_lookup (<span class='string_literal'>"quit_requested"</span>, <span class='macro'>EGG_TYPE_SM_CLIENT<span class='macro_popup'>(egg_sm_client_get_type ())</span></span>), 0, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="738"><td class="num" id="LN738">738</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="739"><td class="num" id="LN739">739</td><td class="line"> xsmp-&gt;need_save_state = (save_type != <span class='macro'>SmSaveGlobal<span class='macro_popup'>0</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="740"><td class="num" id="LN740">740</td><td class="line"> xsmp-&gt;need_quit_requested = (shutdown &amp;&amp; wants_quit_requested &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="741"><td class="num" id="LN741">741</td><td class="line"> interact_style != <span class='macro'>SmInteractStyleNone<span class='macro_popup'>0</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="742"><td class="num" id="LN742">742</td><td class="line"> xsmp-&gt;interact_errors = (interact_style == <span class='macro'>SmInteractStyleErrors<span class='macro_popup'>1</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="743"><td class="num" id="LN743">743</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="744"><td class="num" id="LN744">744</td><td class="line"> xsmp-&gt;shutting_down = shutdown;</td></tr>
+<tr class="codeline" data-linenumber="745"><td class="num" id="LN745">745</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="746"><td class="num" id="LN746">746</td><td class="line"> do_save_yourself (xsmp);</td></tr>
+<tr class="codeline" data-linenumber="747"><td class="num" id="LN747">747</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="748"><td class="num" id="LN748">748</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="749"><td class="num" id="LN749">749</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="750"><td class="num" id="LN750">750</td><td class="line">do_save_yourself (EggSMClientXSMP *xsmp)</td></tr>
+<tr class="codeline" data-linenumber="751"><td class="num" id="LN751">751</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="752"><td class="num" id="LN752">752</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;state == XSMP_STATE_SHUTDOWN_CANCELLED)</td></tr>
+<tr class="codeline" data-linenumber="753"><td class="num" id="LN753">753</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="754"><td class="num" id="LN754">754</td><td class="line"> <span class='comment'>/* The SM cancelled a previous SaveYourself, but we haven't yet</span></td></tr>
+<tr class="codeline" data-linenumber="755"><td class="num" id="LN755">755</td><td class="line"> <span class='comment'>* had a chance to tell the application, so we can't start</span></td></tr>
+<tr class="codeline" data-linenumber="756"><td class="num" id="LN756">756</td><td class="line"> <span class='comment'>* processing this SaveYourself yet.</span></td></tr>
+<tr class="codeline" data-linenumber="757"><td class="num" id="LN757">757</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="758"><td class="num" id="LN758">758</td><td class="line"> xsmp-&gt;waiting_to_save_myself = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="759"><td class="num" id="LN759">759</td><td class="line"> update_pending_events (xsmp);</td></tr>
+<tr class="codeline" data-linenumber="760"><td class="num" id="LN760">760</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="761"><td class="num" id="LN761">761</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="762"><td class="num" id="LN762">762</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="763"><td class="num" id="LN763">763</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;need_quit_requested)</td></tr>
+<tr class="codeline" data-linenumber="764"><td class="num" id="LN764">764</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="765"><td class="num" id="LN765">765</td><td class="line"> xsmp-&gt;state = XSMP_STATE_INTERACT_REQUEST;</td></tr>
+<tr class="codeline" data-linenumber="766"><td class="num" id="LN766">766</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="767"><td class="num" id="LN767">767</td><td class="line"> g_debug (<span class='string_literal'>"Sending InteractRequest(%s)"</span>,</td></tr>
+<tr class="codeline" data-linenumber="768"><td class="num" id="LN768">768</td><td class="line"> xsmp-&gt;interact_errors ? <span class='string_literal'>"Error"</span> : <span class='string_literal'>"Normal"</span>);</td></tr>
+<tr class="codeline" data-linenumber="769"><td class="num" id="LN769">769</td><td class="line"> SmcInteractRequest (xsmp-&gt;connection,</td></tr>
+<tr class="codeline" data-linenumber="770"><td class="num" id="LN770">770</td><td class="line"> xsmp-&gt;interact_errors ? <span class='macro'>SmDialogError<span class='macro_popup'>0</span></span> : <span class='macro'>SmDialogNormal<span class='macro_popup'>1</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="771"><td class="num" id="LN771">771</td><td class="line"> xsmp_interact,</td></tr>
+<tr class="codeline" data-linenumber="772"><td class="num" id="LN772">772</td><td class="line"> xsmp);</td></tr>
+<tr class="codeline" data-linenumber="773"><td class="num" id="LN773">773</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="774"><td class="num" id="LN774">774</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="775"><td class="num" id="LN775">775</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="776"><td class="num" id="LN776">776</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;need_save_state)</td></tr>
+<tr class="codeline" data-linenumber="777"><td class="num" id="LN777">777</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="778"><td class="num" id="LN778">778</td><td class="line"> save_state (xsmp);</td></tr>
+<tr class="codeline" data-linenumber="779"><td class="num" id="LN779">779</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="780"><td class="num" id="LN780">780</td><td class="line"> <span class='comment'>/* Though unlikely, the client could have been disconnected</span></td></tr>
+<tr class="codeline" data-linenumber="781"><td class="num" id="LN781">781</td><td class="line"> <span class='comment'>* while the application was saving its state.</span></td></tr>
+<tr class="codeline" data-linenumber="782"><td class="num" id="LN782">782</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="783"><td class="num" id="LN783">783</td><td class="line"> <span class='keyword'>if</span> (!xsmp-&gt;connection)</td></tr>
+<tr class="codeline" data-linenumber="784"><td class="num" id="LN784">784</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="785"><td class="num" id="LN785">785</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="786"><td class="num" id="LN786">786</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="787"><td class="num" id="LN787">787</td><td class="line"> g_debug (<span class='string_literal'>"Sending SaveYourselfDone(True)"</span>);</td></tr>
+<tr class="codeline" data-linenumber="788"><td class="num" id="LN788">788</td><td class="line"> SmcSaveYourselfDone (xsmp-&gt;connection, <span class='macro'>True<span class='macro_popup'>1</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="789"><td class="num" id="LN789">789</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="790"><td class="num" id="LN790">790</td><td class="line"> <span class='comment'>/* The client state diagram in the XSMP spec says that after a</span></td></tr>
+<tr class="codeline" data-linenumber="791"><td class="num" id="LN791">791</td><td class="line"> <span class='comment'>* non-shutdown SaveYourself, we go directly back to "idle". But</span></td></tr>
+<tr class="codeline" data-linenumber="792"><td class="num" id="LN792">792</td><td class="line"> <span class='comment'>* everything else in both the XSMP spec and the libSM docs</span></td></tr>
+<tr class="codeline" data-linenumber="793"><td class="num" id="LN793">793</td><td class="line"> <span class='comment'>* disagrees.</span></td></tr>
+<tr class="codeline" data-linenumber="794"><td class="num" id="LN794">794</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="795"><td class="num" id="LN795">795</td><td class="line"> xsmp-&gt;state = XSMP_STATE_SAVE_YOURSELF_DONE;</td></tr>
+<tr class="codeline" data-linenumber="796"><td class="num" id="LN796">796</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="797"><td class="num" id="LN797">797</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="798"><td class="num" id="LN798">798</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="799"><td class="num" id="LN799">799</td><td class="line">save_state (EggSMClientXSMP *xsmp)</td></tr>
+<tr class="codeline" data-linenumber="800"><td class="num" id="LN800">800</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="801"><td class="num" id="LN801">801</td><td class="line"> GKeyFile *state_file;</td></tr>
+<tr class="codeline" data-linenumber="802"><td class="num" id="LN802">802</td><td class="line"> <span class='keyword'>char</span> *state_file_path, *data;</td></tr>
+<tr class="codeline" data-linenumber="803"><td class="num" id="LN803">803</td><td class="line"> EggDesktopFile *desktop_file;</td></tr>
+<tr class="codeline" data-linenumber="804"><td class="num" id="LN804">804</td><td class="line"> GPtrArray *restart, *discard;</td></tr>
+<tr class="codeline" data-linenumber="805"><td class="num" id="LN805">805</td><td class="line"> <span class='keyword'>int</span> offset, fd;</td></tr>
+<tr class="codeline" data-linenumber="806"><td class="num" id="LN806">806</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="807"><td class="num" id="LN807">807</td><td class="line"> <span class='comment'>/* We set xsmp-&gt;state before emitting save_state, but our caller is</span></td></tr>
+<tr class="codeline" data-linenumber="808"><td class="num" id="LN808">808</td><td class="line"> <span class='comment'>* responsible for setting it back afterward.</span></td></tr>
+<tr class="codeline" data-linenumber="809"><td class="num" id="LN809">809</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="810"><td class="num" id="LN810">810</td><td class="line"> xsmp-&gt;state = XSMP_STATE_SAVE_YOURSELF;</td></tr>
+<tr class="codeline" data-linenumber="811"><td class="num" id="LN811">811</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="812"><td class="num" id="LN812">812</td><td class="line"> state_file = egg_sm_client_save_state ((EggSMClient *)xsmp);</td></tr>
+<tr class="codeline" data-linenumber="813"><td class="num" id="LN813">813</td><td class="line"> <span class='keyword'>if</span> (!state_file)</td></tr>
+<tr class="codeline" data-linenumber="814"><td class="num" id="LN814">814</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="815"><td class="num" id="LN815">815</td><td class="line"> restart = generate_command (xsmp-&gt;restart_command, xsmp-&gt;client_id, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="816"><td class="num" id="LN816">816</td><td class="line"> set_properties (xsmp,</td></tr>
+<tr class="codeline" data-linenumber="817"><td class="num" id="LN817">817</td><td class="line"> ptrarray_prop (<span class='macro'>SmRestartCommand<span class='macro_popup'>"RestartCommand"</span></span>, restart),</td></tr>
+<tr class="codeline" data-linenumber="818"><td class="num" id="LN818">818</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="819"><td class="num" id="LN819">819</td><td class="line"> g_ptr_array_free (restart, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="820"><td class="num" id="LN820">820</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="821"><td class="num" id="LN821">821</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;set_discard_command)</td></tr>
+<tr class="codeline" data-linenumber="822"><td class="num" id="LN822">822</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="823"><td class="num" id="LN823">823</td><td class="line"> discard = generate_command (xsmp-&gt;discard_command, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="824"><td class="num" id="LN824">824</td><td class="line"> set_properties (xsmp,</td></tr>
+<tr class="codeline" data-linenumber="825"><td class="num" id="LN825">825</td><td class="line"> ptrarray_prop (<span class='macro'>SmDiscardCommand<span class='macro_popup'>"DiscardCommand"</span></span>, discard),</td></tr>
+<tr class="codeline" data-linenumber="826"><td class="num" id="LN826">826</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="827"><td class="num" id="LN827">827</td><td class="line"> g_ptr_array_free (discard, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="828"><td class="num" id="LN828">828</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="829"><td class="num" id="LN829">829</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="830"><td class="num" id="LN830">830</td><td class="line"> delete_properties (xsmp, <span class='macro'>SmDiscardCommand<span class='macro_popup'>"DiscardCommand"</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="831"><td class="num" id="LN831">831</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="832"><td class="num" id="LN832">832</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="833"><td class="num" id="LN833">833</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="834"><td class="num" id="LN834">834</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="835"><td class="num" id="LN835">835</td><td class="line"> desktop_file = egg_get_desktop_file ();</td></tr>
+<tr class="codeline" data-linenumber="836"><td class="num" id="LN836">836</td><td class="line"> <span class='keyword'>if</span> (desktop_file)</td></tr>
+<tr class="codeline" data-linenumber="837"><td class="num" id="LN837">837</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="838"><td class="num" id="LN838">838</td><td class="line"> GKeyFile *merged_file;</td></tr>
+<tr class="codeline" data-linenumber="839"><td class="num" id="LN839">839</td><td class="line"> <span class='keyword'>char</span> *desktop_file_path;</td></tr>
+<tr class="codeline" data-linenumber="840"><td class="num" id="LN840">840</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="841"><td class="num" id="LN841">841</td><td class="line"> merged_file = g_key_file_new ();</td></tr>
+<tr class="codeline" data-linenumber="842"><td class="num" id="LN842">842</td><td class="line"> desktop_file_path =</td></tr>
+<tr class="codeline" data-linenumber="843"><td class="num" id="LN843">843</td><td class="line"> g_filename_from_uri (egg_desktop_file_get_source (desktop_file),</td></tr>
+<tr class="codeline" data-linenumber="844"><td class="num" id="LN844">844</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="845"><td class="num" id="LN845">845</td><td class="line"> <span class='keyword'>if</span> (desktop_file_path &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="846"><td class="num" id="LN846">846</td><td class="line"> g_key_file_load_from_file (merged_file, desktop_file_path,</td></tr>
+<tr class="codeline" data-linenumber="847"><td class="num" id="LN847">847</td><td class="line"> G_KEY_FILE_KEEP_COMMENTS |</td></tr>
+<tr class="codeline" data-linenumber="848"><td class="num" id="LN848">848</td><td class="line"> G_KEY_FILE_KEEP_TRANSLATIONS, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="849"><td class="num" id="LN849">849</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="850"><td class="num" id="LN850">850</td><td class="line"> guint g, k, i;</td></tr>
+<tr class="codeline" data-linenumber="851"><td class="num" id="LN851">851</td><td class="line"> <span class='keyword'>char</span> **groups, **keys, *value, *exec;</td></tr>
+<tr class="codeline" data-linenumber="852"><td class="num" id="LN852">852</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="853"><td class="num" id="LN853">853</td><td class="line"> groups = g_key_file_get_groups (state_file, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="854"><td class="num" id="LN854">854</td><td class="line"> <span class='keyword'>for</span> (g = 0; groups[g]; g++)</td></tr>
+<tr class="codeline" data-linenumber="855"><td class="num" id="LN855">855</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="856"><td class="num" id="LN856">856</td><td class="line"> keys = g_key_file_get_keys (state_file, groups[g], <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="857"><td class="num" id="LN857">857</td><td class="line"> <span class='keyword'>for</span> (k = 0; keys[k]; k++)</td></tr>
+<tr class="codeline" data-linenumber="858"><td class="num" id="LN858">858</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="859"><td class="num" id="LN859">859</td><td class="line"> value = g_key_file_get_value (state_file, groups[g],</td></tr>
+<tr class="codeline" data-linenumber="860"><td class="num" id="LN860">860</td><td class="line"> keys[k], <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="861"><td class="num" id="LN861">861</td><td class="line"> <span class='keyword'>if</span> (value)</td></tr>
+<tr class="codeline" data-linenumber="862"><td class="num" id="LN862">862</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="863"><td class="num" id="LN863">863</td><td class="line"> g_key_file_set_value (merged_file, groups[g],</td></tr>
+<tr class="codeline" data-linenumber="864"><td class="num" id="LN864">864</td><td class="line"> keys[k], value);</td></tr>
+<tr class="codeline" data-linenumber="865"><td class="num" id="LN865">865</td><td class="line"> g_free (value);</td></tr>
+<tr class="codeline" data-linenumber="866"><td class="num" id="LN866">866</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="867"><td class="num" id="LN867">867</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="868"><td class="num" id="LN868">868</td><td class="line"> g_strfreev (keys);</td></tr>
+<tr class="codeline" data-linenumber="869"><td class="num" id="LN869">869</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="870"><td class="num" id="LN870">870</td><td class="line"> g_strfreev (groups);</td></tr>
+<tr class="codeline" data-linenumber="871"><td class="num" id="LN871">871</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="872"><td class="num" id="LN872">872</td><td class="line"> g_key_file_free (state_file);</td></tr>
+<tr class="codeline" data-linenumber="873"><td class="num" id="LN873">873</td><td class="line"> state_file = merged_file;</td></tr>
+<tr class="codeline" data-linenumber="874"><td class="num" id="LN874">874</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="875"><td class="num" id="LN875">875</td><td class="line"> <span class='comment'>/* Update Exec key using "--sm-client-state-file %k" */</span></td></tr>
+<tr class="codeline" data-linenumber="876"><td class="num" id="LN876">876</td><td class="line"> restart = generate_command (xsmp-&gt;restart_command,</td></tr>
+<tr class="codeline" data-linenumber="877"><td class="num" id="LN877">877</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='string_literal'>"%k"</span>);</td></tr>
+<tr class="codeline" data-linenumber="878"><td class="num" id="LN878">878</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; restart-&gt;len; i++)</td></tr>
+<tr class="codeline" data-linenumber="879"><td class="num" id="LN879">879</td><td class="line"> restart-&gt;pdata[i] = g_shell_quote (restart-&gt;pdata[i]);</td></tr>
+<tr class="codeline" data-linenumber="880"><td class="num" id="LN880">880</td><td class="line"> g_ptr_array_add (restart, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="881"><td class="num" id="LN881">881</td><td class="line"> exec = g_strjoinv (<span class='string_literal'>" "</span>, (<span class='keyword'>char</span> **)restart-&gt;pdata);</td></tr>
+<tr class="codeline" data-linenumber="882"><td class="num" id="LN882">882</td><td class="line"> g_strfreev ((<span class='keyword'>char</span> **)restart-&gt;pdata);</td></tr>
+<tr class="codeline" data-linenumber="883"><td class="num" id="LN883">883</td><td class="line"> g_ptr_array_free (restart, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="884"><td class="num" id="LN884">884</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="885"><td class="num" id="LN885">885</td><td class="line"> g_key_file_set_string (state_file, <span class='macro'>EGG_DESKTOP_FILE_GROUP<span class='macro_popup'>"Desktop Entry"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="886"><td class="num" id="LN886">886</td><td class="line"> <span class='macro'>EGG_DESKTOP_FILE_KEY_EXEC<span class='macro_popup'>"Exec"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="887"><td class="num" id="LN887">887</td><td class="line"> exec);</td></tr>
+<tr class="codeline" data-linenumber="888"><td class="num" id="LN888">888</td><td class="line"> g_free (exec);</td></tr>
+<tr class="codeline" data-linenumber="889"><td class="num" id="LN889">889</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="890"><td class="num" id="LN890">890</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="891"><td class="num" id="LN891">891</td><td class="line"> desktop_file = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="892"><td class="num" id="LN892">892</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="893"><td class="num" id="LN893">893</td><td class="line"> g_free (desktop_file_path);</td></tr>
+<tr class="codeline" data-linenumber="894"><td class="num" id="LN894">894</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="895"><td class="num" id="LN895">895</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="896"><td class="num" id="LN896">896</td><td class="line"> <span class='comment'>/* Now write state_file to disk. (We can't use mktemp(), because</span></td></tr>
+<tr class="codeline" data-linenumber="897"><td class="num" id="LN897">897</td><td class="line"> <span class='comment'>* that requires the filename to end with "XXXXXX", and we want</span></td></tr>
+<tr class="codeline" data-linenumber="898"><td class="num" id="LN898">898</td><td class="line"> <span class='comment'>* it to end with ".desktop".)</span></td></tr>
+<tr class="codeline" data-linenumber="899"><td class="num" id="LN899">899</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="900"><td class="num" id="LN900">900</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="901"><td class="num" id="LN901">901</td><td class="line"> data = g_key_file_to_data (state_file, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="902"><td class="num" id="LN902">902</td><td class="line"> g_key_file_free (state_file);</td></tr>
+<tr class="codeline" data-linenumber="903"><td class="num" id="LN903">903</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="904"><td class="num" id="LN904">904</td><td class="line"> offset = 0;</td></tr>
+<tr class="codeline" data-linenumber="905"><td class="num" id="LN905">905</td><td class="line"> <span class='keyword'>while</span> (1)</td></tr>
+<tr class="codeline" data-linenumber="906"><td class="num" id="LN906">906</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="907"><td class="num" id="LN907">907</td><td class="line"> state_file_path = g_strdup_printf (<span class='string_literal'>"%s%csession-state%c%s-%ld.%s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="908"><td class="num" id="LN908">908</td><td class="line"> g_get_user_config_dir (),</td></tr>
+<tr class="codeline" data-linenumber="909"><td class="num" id="LN909">909</td><td class="line"> <span class='macro'>G_DIR_SEPARATOR<span class='macro_popup'>'/'</span></span>, <span class='macro'>G_DIR_SEPARATOR<span class='macro_popup'>'/'</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="910"><td class="num" id="LN910">910</td><td class="line"> g_get_prgname (),</td></tr>
+<tr class="codeline" data-linenumber="911"><td class="num" id="LN911">911</td><td class="line"> (<span class='keyword'>long</span>)time (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) + offset,</td></tr>
+<tr class="codeline" data-linenumber="912"><td class="num" id="LN912">912</td><td class="line"> desktop_file ? <span class='string_literal'>"desktop"</span> : <span class='string_literal'>"state"</span>);</td></tr>
+<tr class="codeline" data-linenumber="913"><td class="num" id="LN913">913</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="914"><td class="num" id="LN914">914</td><td class="line"> fd = open (state_file_path, <span class='macro'>O_WRONLY<span class='macro_popup'>01</span></span> | <span class='macro'>O_CREAT<span class='macro_popup'>0100</span></span> | <span class='macro'>O_EXCL<span class='macro_popup'>0200</span></span>, 0644);</td></tr>
+<tr class="codeline" data-linenumber="915"><td class="num" id="LN915">915</td><td class="line"> <span class='keyword'>if</span> (fd == -1)</td></tr>
+<tr class="codeline" data-linenumber="916"><td class="num" id="LN916">916</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="917"><td class="num" id="LN917">917</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>errno<span class='macro_popup'>(*__errno_location ())</span></span> == <span class='macro'>EEXIST<span class='macro_popup'>17</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="918"><td class="num" id="LN918">918</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="919"><td class="num" id="LN919">919</td><td class="line"> offset++;</td></tr>
+<tr class="codeline" data-linenumber="920"><td class="num" id="LN920">920</td><td class="line"> g_free (state_file_path);</td></tr>
+<tr class="codeline" data-linenumber="921"><td class="num" id="LN921">921</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="922"><td class="num" id="LN922">922</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="923"><td class="num" id="LN923">923</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (<span class='macro'>errno<span class='macro_popup'>(*__errno_location ())</span></span> == <span class='macro'>ENOTDIR<span class='macro_popup'>20</span></span> || <span class='macro'>errno<span class='macro_popup'>(*__errno_location ())</span></span> == <span class='macro'>ENOENT<span class='macro_popup'>2</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="924"><td class="num" id="LN924">924</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="925"><td class="num" id="LN925">925</td><td class="line"> <span class='keyword'>char</span> *sep = strrchr (state_file_path, <span class='macro'>G_DIR_SEPARATOR<span class='macro_popup'>'/'</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="926"><td class="num" id="LN926">926</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="927"><td class="num" id="LN927">927</td><td class="line"> *sep = '\0';</td></tr>
+<tr class="codeline" data-linenumber="928"><td class="num" id="LN928">928</td><td class="line"> <span class='keyword'>if</span> (g_mkdir_with_parents (state_file_path, 0755) != 0)</td></tr>
+<tr class="codeline" data-linenumber="929"><td class="num" id="LN929">929</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="930"><td class="num" id="LN930">930</td><td class="line"> g_warning (<span class='string_literal'>"Could not create directory '%s'"</span>,</td></tr>
+<tr class="codeline" data-linenumber="931"><td class="num" id="LN931">931</td><td class="line"> state_file_path);</td></tr>
+<tr class="codeline" data-linenumber="932"><td class="num" id="LN932">932</td><td class="line"> g_free (state_file_path);</td></tr>
+<tr class="codeline" data-linenumber="933"><td class="num" id="LN933">933</td><td class="line"> state_file_path = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="934"><td class="num" id="LN934">934</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="935"><td class="num" id="LN935">935</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="936"><td class="num" id="LN936">936</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="937"><td class="num" id="LN937">937</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="938"><td class="num" id="LN938">938</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="939"><td class="num" id="LN939">939</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="940"><td class="num" id="LN940">940</td><td class="line"> g_warning (<span class='string_literal'>"Could not create file '%s': %s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="941"><td class="num" id="LN941">941</td><td class="line"> state_file_path, g_strerror (<span class='macro'>errno<span class='macro_popup'>(*__errno_location ())</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="942"><td class="num" id="LN942">942</td><td class="line"> g_free (state_file_path);</td></tr>
+<tr class="codeline" data-linenumber="943"><td class="num" id="LN943">943</td><td class="line"> state_file_path = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="944"><td class="num" id="LN944">944</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="945"><td class="num" id="LN945">945</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="946"><td class="num" id="LN946">946</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="947"><td class="num" id="LN947">947</td><td class="line"> close (fd);</td></tr>
+<tr class="codeline" data-linenumber="948"><td class="num" id="LN948">948</td><td class="line"> g_file_set_contents (state_file_path, data, -1, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="949"><td class="num" id="LN949">949</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="950"><td class="num" id="LN950">950</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="951"><td class="num" id="LN951">951</td><td class="line"> g_free (data);</td></tr>
+<tr class="codeline" data-linenumber="952"><td class="num" id="LN952">952</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="953"><td class="num" id="LN953">953</td><td class="line"> restart = generate_command (xsmp-&gt;restart_command, xsmp-&gt;client_id,</td></tr>
+<tr class="codeline" data-linenumber="954"><td class="num" id="LN954">954</td><td class="line"> state_file_path);</td></tr>
+<tr class="codeline" data-linenumber="955"><td class="num" id="LN955">955</td><td class="line"> set_properties (xsmp,</td></tr>
+<tr class="codeline" data-linenumber="956"><td class="num" id="LN956">956</td><td class="line"> ptrarray_prop (<span class='macro'>SmRestartCommand<span class='macro_popup'>"RestartCommand"</span></span>, restart),</td></tr>
+<tr class="codeline" data-linenumber="957"><td class="num" id="LN957">957</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="958"><td class="num" id="LN958">958</td><td class="line"> g_ptr_array_free (restart, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="959"><td class="num" id="LN959">959</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="960"><td class="num" id="LN960">960</td><td class="line"> <span class='keyword'>if</span> (state_file_path)</td></tr>
+<tr class="codeline" data-linenumber="961"><td class="num" id="LN961">961</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="962"><td class="num" id="LN962">962</td><td class="line"> set_properties (xsmp,</td></tr>
+<tr class="codeline" data-linenumber="963"><td class="num" id="LN963">963</td><td class="line"> array_prop (<span class='macro'>SmDiscardCommand<span class='macro_popup'>"DiscardCommand"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="964"><td class="num" id="LN964">964</td><td class="line"> <span class='string_literal'>"/bin/rm"</span>, <span class='string_literal'>"-rf"</span>, state_file_path,</td></tr>
+<tr class="codeline" data-linenumber="965"><td class="num" id="LN965">965</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>),</td></tr>
+<tr class="codeline" data-linenumber="966"><td class="num" id="LN966">966</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="967"><td class="num" id="LN967">967</td><td class="line"> g_free (state_file_path);</td></tr>
+<tr class="codeline" data-linenumber="968"><td class="num" id="LN968">968</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="969"><td class="num" id="LN969">969</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="970"><td class="num" id="LN970">970</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="971"><td class="num" id="LN971">971</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="972"><td class="num" id="LN972">972</td><td class="line">xsmp_interact (SmcConn smc_conn,</td></tr>
+<tr class="codeline" data-linenumber="973"><td class="num" id="LN973">973</td><td class="line"> SmPointer client_data)</td></tr>
+<tr class="codeline" data-linenumber="974"><td class="num" id="LN974">974</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="975"><td class="num" id="LN975">975</td><td class="line"> EggSMClientXSMP *xsmp = client_data;</td></tr>
+<tr class="codeline" data-linenumber="976"><td class="num" id="LN976">976</td><td class="line"> EggSMClient *client = client_data;</td></tr>
+<tr class="codeline" data-linenumber="977"><td class="num" id="LN977">977</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="978"><td class="num" id="LN978">978</td><td class="line"> g_debug (<span class='string_literal'>"Received Interact message in state %s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="979"><td class="num" id="LN979">979</td><td class="line"> <span class='macro'>EGG_SM_CLIENT_XSMP_STATE (xsmp)<span class='macro_popup'>(state_names[(xsmp)-&gt;state])</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="980"><td class="num" id="LN980">980</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="981"><td class="num" id="LN981">981</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;state != XSMP_STATE_INTERACT_REQUEST)</td></tr>
+<tr class="codeline" data-linenumber="982"><td class="num" id="LN982">982</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="983"><td class="num" id="LN983">983</td><td class="line"> fix_broken_state (xsmp, <span class='string_literal'>"Interact"</span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="984"><td class="num" id="LN984">984</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="985"><td class="num" id="LN985">985</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="986"><td class="num" id="LN986">986</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="987"><td class="num" id="LN987">987</td><td class="line"> xsmp-&gt;state = XSMP_STATE_INTERACT;</td></tr>
+<tr class="codeline" data-linenumber="988"><td class="num" id="LN988">988</td><td class="line"> egg_sm_client_quit_requested (client);</td></tr>
+<tr class="codeline" data-linenumber="989"><td class="num" id="LN989">989</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="990"><td class="num" id="LN990">990</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="991"><td class="num" id="LN991">991</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="992"><td class="num" id="LN992">992</td><td class="line">xsmp_die (SmcConn smc_conn,</td></tr>
+<tr class="codeline" data-linenumber="993"><td class="num" id="LN993">993</td><td class="line"> SmPointer client_data)</td></tr>
+<tr class="codeline" data-linenumber="994"><td class="num" id="LN994">994</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="995"><td class="num" id="LN995">995</td><td class="line"> EggSMClientXSMP *xsmp = client_data;</td></tr>
+<tr class="codeline" data-linenumber="996"><td class="num" id="LN996">996</td><td class="line"> EggSMClient *client = client_data;</td></tr>
+<tr class="codeline" data-linenumber="997"><td class="num" id="LN997">997</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="998"><td class="num" id="LN998">998</td><td class="line"> g_debug (<span class='string_literal'>"Received Die message in state %s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="999"><td class="num" id="LN999">999</td><td class="line"> <span class='macro'>EGG_SM_CLIENT_XSMP_STATE (xsmp)<span class='macro_popup'>(state_names[(xsmp)-&gt;state])</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1000"><td class="num" id="LN1000">1000</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1001"><td class="num" id="LN1001">1001</td><td class="line"> sm_client_xsmp_disconnect (xsmp);</td></tr>
+<tr class="codeline" data-linenumber="1002"><td class="num" id="LN1002">1002</td><td class="line"> egg_sm_client_quit (client);</td></tr>
+<tr class="codeline" data-linenumber="1003"><td class="num" id="LN1003">1003</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1004"><td class="num" id="LN1004">1004</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1005"><td class="num" id="LN1005">1005</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1006"><td class="num" id="LN1006">1006</td><td class="line">xsmp_save_complete (SmcConn smc_conn,</td></tr>
+<tr class="codeline" data-linenumber="1007"><td class="num" id="LN1007">1007</td><td class="line"> SmPointer client_data)</td></tr>
+<tr class="codeline" data-linenumber="1008"><td class="num" id="LN1008">1008</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1009"><td class="num" id="LN1009">1009</td><td class="line"> EggSMClientXSMP *xsmp = client_data;</td></tr>
+<tr class="codeline" data-linenumber="1010"><td class="num" id="LN1010">1010</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1011"><td class="num" id="LN1011">1011</td><td class="line"> g_debug (<span class='string_literal'>"Received SaveComplete message in state %s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="1012"><td class="num" id="LN1012">1012</td><td class="line"> <span class='macro'>EGG_SM_CLIENT_XSMP_STATE (xsmp)<span class='macro_popup'>(state_names[(xsmp)-&gt;state])</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1013"><td class="num" id="LN1013">1013</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1014"><td class="num" id="LN1014">1014</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;state == XSMP_STATE_SAVE_YOURSELF_DONE)</td></tr>
+<tr class="codeline" data-linenumber="1015"><td class="num" id="LN1015">1015</td><td class="line"> xsmp-&gt;state = XSMP_STATE_IDLE;</td></tr>
+<tr class="codeline" data-linenumber="1016"><td class="num" id="LN1016">1016</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1017"><td class="num" id="LN1017">1017</td><td class="line"> fix_broken_state (xsmp, <span class='string_literal'>"SaveComplete"</span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1018"><td class="num" id="LN1018">1018</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1019"><td class="num" id="LN1019">1019</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1020"><td class="num" id="LN1020">1020</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1021"><td class="num" id="LN1021">1021</td><td class="line">xsmp_shutdown_cancelled (SmcConn smc_conn,</td></tr>
+<tr class="codeline" data-linenumber="1022"><td class="num" id="LN1022">1022</td><td class="line"> SmPointer client_data)</td></tr>
+<tr class="codeline" data-linenumber="1023"><td class="num" id="LN1023">1023</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1024"><td class="num" id="LN1024">1024</td><td class="line"> EggSMClientXSMP *xsmp = client_data;</td></tr>
+<tr class="codeline" data-linenumber="1025"><td class="num" id="LN1025">1025</td><td class="line"> EggSMClient *client = client_data;</td></tr>
+<tr class="codeline" data-linenumber="1026"><td class="num" id="LN1026">1026</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1027"><td class="num" id="LN1027">1027</td><td class="line"> g_debug (<span class='string_literal'>"Received ShutdownCancelled message in state %s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="1028"><td class="num" id="LN1028">1028</td><td class="line"> <span class='macro'>EGG_SM_CLIENT_XSMP_STATE (xsmp)<span class='macro_popup'>(state_names[(xsmp)-&gt;state])</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1029"><td class="num" id="LN1029">1029</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1030"><td class="num" id="LN1030">1030</td><td class="line"> xsmp-&gt;shutting_down = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1031"><td class="num" id="LN1031">1031</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1032"><td class="num" id="LN1032">1032</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;state == XSMP_STATE_SAVE_YOURSELF_DONE)</td></tr>
+<tr class="codeline" data-linenumber="1033"><td class="num" id="LN1033">1033</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1034"><td class="num" id="LN1034">1034</td><td class="line"> <span class='comment'>/* We've finished interacting and now the SM has agreed to</span></td></tr>
+<tr class="codeline" data-linenumber="1035"><td class="num" id="LN1035">1035</td><td class="line"> <span class='comment'>* cancel the shutdown.</span></td></tr>
+<tr class="codeline" data-linenumber="1036"><td class="num" id="LN1036">1036</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1037"><td class="num" id="LN1037">1037</td><td class="line"> xsmp-&gt;state = XSMP_STATE_IDLE;</td></tr>
+<tr class="codeline" data-linenumber="1038"><td class="num" id="LN1038">1038</td><td class="line"> egg_sm_client_quit_cancelled (client);</td></tr>
+<tr class="codeline" data-linenumber="1039"><td class="num" id="LN1039">1039</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1040"><td class="num" id="LN1040">1040</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (xsmp-&gt;state == XSMP_STATE_SHUTDOWN_CANCELLED)</td></tr>
+<tr class="codeline" data-linenumber="1041"><td class="num" id="LN1041">1041</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1042"><td class="num" id="LN1042">1042</td><td class="line"> <span class='comment'>/* Hm... ok, so we got a shutdown SaveYourself, which got</span></td></tr>
+<tr class="codeline" data-linenumber="1043"><td class="num" id="LN1043">1043</td><td class="line"> <span class='comment'>* cancelled, but the application was still interacting, so we</span></td></tr>
+<tr class="codeline" data-linenumber="1044"><td class="num" id="LN1044">1044</td><td class="line"> <span class='comment'>* didn't tell it yet, and then *another* SaveYourself arrived,</span></td></tr>
+<tr class="codeline" data-linenumber="1045"><td class="num" id="LN1045">1045</td><td class="line"> <span class='comment'>* which we must still be waiting to tell the app about, except</span></td></tr>
+<tr class="codeline" data-linenumber="1046"><td class="num" id="LN1046">1046</td><td class="line"> <span class='comment'>* that now that SaveYourself has been cancelled too! Dizzy yet?</span></td></tr>
+<tr class="codeline" data-linenumber="1047"><td class="num" id="LN1047">1047</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1048"><td class="num" id="LN1048">1048</td><td class="line"> xsmp-&gt;waiting_to_save_myself = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1049"><td class="num" id="LN1049">1049</td><td class="line"> update_pending_events (xsmp);</td></tr>
+<tr class="codeline" data-linenumber="1050"><td class="num" id="LN1050">1050</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1051"><td class="num" id="LN1051">1051</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1052"><td class="num" id="LN1052">1052</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1053"><td class="num" id="LN1053">1053</td><td class="line"> g_debug (<span class='string_literal'>"Sending SaveYourselfDone(False)"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1054"><td class="num" id="LN1054">1054</td><td class="line"> SmcSaveYourselfDone (xsmp-&gt;connection, <span class='macro'>False<span class='macro_popup'>0</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1055"><td class="num" id="LN1055">1055</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1056"><td class="num" id="LN1056">1056</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;state == XSMP_STATE_INTERACT)</td></tr>
+<tr class="codeline" data-linenumber="1057"><td class="num" id="LN1057">1057</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1058"><td class="num" id="LN1058">1058</td><td class="line"> <span class='comment'>/* The application is currently interacting, so we can't</span></td></tr>
+<tr class="codeline" data-linenumber="1059"><td class="num" id="LN1059">1059</td><td class="line"> <span class='comment'>* tell it about the cancellation yet; we will wait until</span></td></tr>
+<tr class="codeline" data-linenumber="1060"><td class="num" id="LN1060">1060</td><td class="line"> <span class='comment'>* after it calls egg_sm_client_will_quit().</span></td></tr>
+<tr class="codeline" data-linenumber="1061"><td class="num" id="LN1061">1061</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1062"><td class="num" id="LN1062">1062</td><td class="line"> xsmp-&gt;state = XSMP_STATE_SHUTDOWN_CANCELLED;</td></tr>
+<tr class="codeline" data-linenumber="1063"><td class="num" id="LN1063">1063</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1064"><td class="num" id="LN1064">1064</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1065"><td class="num" id="LN1065">1065</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1066"><td class="num" id="LN1066">1066</td><td class="line"> <span class='comment'>/* The shutdown was cancelled before the application got a</span></td></tr>
+<tr class="codeline" data-linenumber="1067"><td class="num" id="LN1067">1067</td><td class="line"> <span class='comment'>* chance to interact.</span></td></tr>
+<tr class="codeline" data-linenumber="1068"><td class="num" id="LN1068">1068</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1069"><td class="num" id="LN1069">1069</td><td class="line"> xsmp-&gt;state = XSMP_STATE_IDLE;</td></tr>
+<tr class="codeline" data-linenumber="1070"><td class="num" id="LN1070">1070</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1071"><td class="num" id="LN1071">1071</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1072"><td class="num" id="LN1072">1072</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1073"><td class="num" id="LN1073">1073</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1074"><td class="num" id="LN1074">1074</td><td class="line"><span class='comment'>/* Utilities */</span></td></tr>
+<tr class="codeline" data-linenumber="1075"><td class="num" id="LN1075">1075</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1076"><td class="num" id="LN1076">1076</td><td class="line"><span class='comment'>/* Create a restart/clone/Exec command based on @restart_command.</span></td></tr>
+<tr class="codeline" data-linenumber="1077"><td class="num" id="LN1077">1077</td><td class="line"> <span class='comment'>* If @client_id is non-%NULL, add "--sm-client-id @client_id".</span></td></tr>
+<tr class="codeline" data-linenumber="1078"><td class="num" id="LN1078">1078</td><td class="line"> <span class='comment'>* If @state_file is non-%NULL, add "--sm-client-state-file @state_file".</span></td></tr>
+<tr class="codeline" data-linenumber="1079"><td class="num" id="LN1079">1079</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="1080"><td class="num" id="LN1080">1080</td><td class="line"> <span class='comment'>* None of the input strings are g_strdup()ed; the caller must keep</span></td></tr>
+<tr class="codeline" data-linenumber="1081"><td class="num" id="LN1081">1081</td><td class="line"> <span class='comment'>* them around until it is done with the returned GPtrArray, and must</span></td></tr>
+<tr class="codeline" data-linenumber="1082"><td class="num" id="LN1082">1082</td><td class="line"> <span class='comment'>* then free the array, but not its contents.</span></td></tr>
+<tr class="codeline" data-linenumber="1083"><td class="num" id="LN1083">1083</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1084"><td class="num" id="LN1084">1084</td><td class="line"><span class='keyword'>static</span> GPtrArray *</td></tr>
+<tr class="codeline" data-linenumber="1085"><td class="num" id="LN1085">1085</td><td class="line">generate_command (<span class='keyword'>char</span> **restart_command, <span class='keyword'>const</span> <span class='keyword'>char</span> *client_id,</td></tr>
+<tr class="codeline" data-linenumber="1086"><td class="num" id="LN1086">1086</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *state_file)</td></tr>
+<tr class="codeline" data-linenumber="1087"><td class="num" id="LN1087">1087</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1088"><td class="num" id="LN1088">1088</td><td class="line"> GPtrArray *cmd;</td></tr>
+<tr class="codeline" data-linenumber="1089"><td class="num" id="LN1089">1089</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="1090"><td class="num" id="LN1090">1090</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1091"><td class="num" id="LN1091">1091</td><td class="line"> cmd = g_ptr_array_new ();</td></tr>
+<tr class="codeline" data-linenumber="1092"><td class="num" id="LN1092">1092</td><td class="line"> g_ptr_array_add (cmd, restart_command[0]);</td></tr>
+<tr class="codeline" data-linenumber="1093"><td class="num" id="LN1093">1093</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1094"><td class="num" id="LN1094">1094</td><td class="line"> <span class='keyword'>if</span> (client_id)</td></tr>
+<tr class="codeline" data-linenumber="1095"><td class="num" id="LN1095">1095</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1096"><td class="num" id="LN1096">1096</td><td class="line"> g_ptr_array_add (cmd, (<span class='keyword'>char</span> *)<span class='string_literal'>"--sm-client-id"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1097"><td class="num" id="LN1097">1097</td><td class="line"> g_ptr_array_add (cmd, (<span class='keyword'>char</span> *)client_id);</td></tr>
+<tr class="codeline" data-linenumber="1098"><td class="num" id="LN1098">1098</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1099"><td class="num" id="LN1099">1099</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1100"><td class="num" id="LN1100">1100</td><td class="line"> <span class='keyword'>if</span> (state_file)</td></tr>
+<tr class="codeline" data-linenumber="1101"><td class="num" id="LN1101">1101</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1102"><td class="num" id="LN1102">1102</td><td class="line"> g_ptr_array_add (cmd, (<span class='keyword'>char</span> *)<span class='string_literal'>"--sm-client-state-file"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1103"><td class="num" id="LN1103">1103</td><td class="line"> g_ptr_array_add (cmd, (<span class='keyword'>char</span> *)state_file);</td></tr>
+<tr class="codeline" data-linenumber="1104"><td class="num" id="LN1104">1104</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1105"><td class="num" id="LN1105">1105</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1106"><td class="num" id="LN1106">1106</td><td class="line"> <span class='keyword'>for</span> (i = 1; restart_command[i]; i++)</td></tr>
+<tr class="codeline" data-linenumber="1107"><td class="num" id="LN1107">1107</td><td class="line"> g_ptr_array_add (cmd, restart_command[i]);</td></tr>
+<tr class="codeline" data-linenumber="1108"><td class="num" id="LN1108">1108</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1109"><td class="num" id="LN1109">1109</td><td class="line"> <span class='keyword'>return</span> cmd;</td></tr>
+<tr class="codeline" data-linenumber="1110"><td class="num" id="LN1110">1110</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1111"><td class="num" id="LN1111">1111</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1112"><td class="num" id="LN1112">1112</td><td class="line"><span class='comment'>/* Takes a NULL-terminated list of SmProp * values, created by</span></td></tr>
+<tr class="codeline" data-linenumber="1113"><td class="num" id="LN1113">1113</td><td class="line"> <span class='comment'>* array_prop, ptrarray_prop, string_prop, card8_prop, sets them, and</span></td></tr>
+<tr class="codeline" data-linenumber="1114"><td class="num" id="LN1114">1114</td><td class="line"> <span class='comment'>* frees them.</span></td></tr>
+<tr class="codeline" data-linenumber="1115"><td class="num" id="LN1115">1115</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1116"><td class="num" id="LN1116">1116</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1117"><td class="num" id="LN1117">1117</td><td class="line">set_properties (EggSMClientXSMP *xsmp, ...)</td></tr>
+<tr class="codeline" data-linenumber="1118"><td class="num" id="LN1118">1118</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1119"><td class="num" id="LN1119">1119</td><td class="line"> GPtrArray *props;</td></tr>
+<tr class="codeline" data-linenumber="1120"><td class="num" id="LN1120">1120</td><td class="line"> SmProp *prop;</td></tr>
+<tr class="codeline" data-linenumber="1121"><td class="num" id="LN1121">1121</td><td class="line"> va_list ap;</td></tr>
+<tr class="codeline" data-linenumber="1122"><td class="num" id="LN1122">1122</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="1123"><td class="num" id="LN1123">1123</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1124"><td class="num" id="LN1124">1124</td><td class="line"> props = g_ptr_array_new ();</td></tr>
+<tr class="codeline" data-linenumber="1125"><td class="num" id="LN1125">1125</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1126"><td class="num" id="LN1126">1126</td><td class="line"> <span class='macro'>va_start (ap, xsmp)<span class='macro_popup'>__builtin_va_start(ap, xsmp)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1127"><td class="num" id="LN1127">1127</td><td class="line"> <span class='keyword'>while</span> ((prop = <span class='macro'>va_arg (ap, SmProp *)<span class='macro_popup'>__builtin_va_arg(ap, SmProp *)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="1128"><td class="num" id="LN1128">1128</td><td class="line"> g_ptr_array_add (props, prop);</td></tr>
+<tr class="codeline" data-linenumber="1129"><td class="num" id="LN1129">1129</td><td class="line"> <span class='macro'>va_end (ap)<span class='macro_popup'>__builtin_va_end(ap)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1130"><td class="num" id="LN1130">1130</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1131"><td class="num" id="LN1131">1131</td><td class="line"> <span class='keyword'>if</span> (xsmp-&gt;connection)</td></tr>
+<tr class="codeline" data-linenumber="1132"><td class="num" id="LN1132">1132</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1133"><td class="num" id="LN1133">1133</td><td class="line"> SmcSetProperties (xsmp-&gt;connection, props-&gt;len,</td></tr>
+<tr class="codeline" data-linenumber="1134"><td class="num" id="LN1134">1134</td><td class="line"> (SmProp **)props-&gt;pdata);</td></tr>
+<tr class="codeline" data-linenumber="1135"><td class="num" id="LN1135">1135</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1136"><td class="num" id="LN1136">1136</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1137"><td class="num" id="LN1137">1137</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; props-&gt;len; i++)</td></tr>
+<tr class="codeline" data-linenumber="1138"><td class="num" id="LN1138">1138</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1139"><td class="num" id="LN1139">1139</td><td class="line"> prop = props-&gt;pdata[i];</td></tr>
+<tr class="codeline" data-linenumber="1140"><td class="num" id="LN1140">1140</td><td class="line"> g_free (prop-&gt;vals);</td></tr>
+<tr class="codeline" data-linenumber="1141"><td class="num" id="LN1141">1141</td><td class="line"> g_free (prop);</td></tr>
+<tr class="codeline" data-linenumber="1142"><td class="num" id="LN1142">1142</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1143"><td class="num" id="LN1143">1143</td><td class="line"> g_ptr_array_free (props, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1144"><td class="num" id="LN1144">1144</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1145"><td class="num" id="LN1145">1145</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1146"><td class="num" id="LN1146">1146</td><td class="line"><span class='comment'>/* Takes a NULL-terminated list of property names and deletes them. */</span></td></tr>
+<tr class="codeline" data-linenumber="1147"><td class="num" id="LN1147">1147</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1148"><td class="num" id="LN1148">1148</td><td class="line">delete_properties (EggSMClientXSMP *xsmp, ...)</td></tr>
+<tr class="codeline" data-linenumber="1149"><td class="num" id="LN1149">1149</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1150"><td class="num" id="LN1150">1150</td><td class="line"> GPtrArray *props;</td></tr>
+<tr class="codeline" data-linenumber="1151"><td class="num" id="LN1151">1151</td><td class="line"> <span class='keyword'>char</span> *prop;</td></tr>
+<tr class="codeline" data-linenumber="1152"><td class="num" id="LN1152">1152</td><td class="line"> va_list ap;</td></tr>
+<tr class="codeline" data-linenumber="1153"><td class="num" id="LN1153">1153</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1154"><td class="num" id="LN1154">1154</td><td class="line"> <span class='keyword'>if</span> (!xsmp-&gt;connection)</td></tr>
+<tr class="codeline" data-linenumber="1155"><td class="num" id="LN1155">1155</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1156"><td class="num" id="LN1156">1156</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1157"><td class="num" id="LN1157">1157</td><td class="line"> props = g_ptr_array_new ();</td></tr>
+<tr class="codeline" data-linenumber="1158"><td class="num" id="LN1158">1158</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1159"><td class="num" id="LN1159">1159</td><td class="line"> <span class='macro'>va_start (ap, xsmp)<span class='macro_popup'>__builtin_va_start(ap, xsmp)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1160"><td class="num" id="LN1160">1160</td><td class="line"> <span class='keyword'>while</span> ((prop = <span class='macro'>va_arg (ap, <span class='keyword'>char</span> *)<span class='macro_popup'>__builtin_va_arg(ap, char *)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="1161"><td class="num" id="LN1161">1161</td><td class="line"> g_ptr_array_add (props, prop);</td></tr>
+<tr class="codeline" data-linenumber="1162"><td class="num" id="LN1162">1162</td><td class="line"> <span class='macro'>va_end (ap)<span class='macro_popup'>__builtin_va_end(ap)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1163"><td class="num" id="LN1163">1163</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1164"><td class="num" id="LN1164">1164</td><td class="line"> SmcDeleteProperties (xsmp-&gt;connection, props-&gt;len,</td></tr>
+<tr class="codeline" data-linenumber="1165"><td class="num" id="LN1165">1165</td><td class="line"> (<span class='keyword'>char</span> **)props-&gt;pdata);</td></tr>
+<tr class="codeline" data-linenumber="1166"><td class="num" id="LN1166">1166</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1167"><td class="num" id="LN1167">1167</td><td class="line"> g_ptr_array_free (props, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1168"><td class="num" id="LN1168">1168</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1169"><td class="num" id="LN1169">1169</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1170"><td class="num" id="LN1170">1170</td><td class="line"><span class='comment'>/* Takes an array of strings and creates a LISTofARRAY8 property. The</span></td></tr>
+<tr class="codeline" data-linenumber="1171"><td class="num" id="LN1171">1171</td><td class="line"> <span class='comment'>* strings are neither dupped nor freed; they need to remain valid</span></td></tr>
+<tr class="codeline" data-linenumber="1172"><td class="num" id="LN1172">1172</td><td class="line"> <span class='comment'>* until you're done with the SmProp.</span></td></tr>
+<tr class="codeline" data-linenumber="1173"><td class="num" id="LN1173">1173</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1174"><td class="num" id="LN1174">1174</td><td class="line"><span class='keyword'>static</span> SmProp *</td></tr>
+<tr class="codeline" data-linenumber="1175"><td class="num" id="LN1175">1175</td><td class="line">array_prop (<span class='keyword'>const</span> <span class='keyword'>char</span> *name, ...)</td></tr>
+<tr class="codeline" data-linenumber="1176"><td class="num" id="LN1176">1176</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1177"><td class="num" id="LN1177">1177</td><td class="line"> SmProp *prop;</td></tr>
+<tr class="codeline" data-linenumber="1178"><td class="num" id="LN1178">1178</td><td class="line"> SmPropValue pv;</td></tr>
+<tr class="codeline" data-linenumber="1179"><td class="num" id="LN1179">1179</td><td class="line"> GArray *vals;</td></tr>
+<tr class="codeline" data-linenumber="1180"><td class="num" id="LN1180">1180</td><td class="line"> <span class='keyword'>char</span> *value;</td></tr>
+<tr class="codeline" data-linenumber="1181"><td class="num" id="LN1181">1181</td><td class="line"> va_list ap;</td></tr>
+<tr class="codeline" data-linenumber="1182"><td class="num" id="LN1182">1182</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1183"><td class="num" id="LN1183">1183</td><td class="line"> prop = <span class='macro'>g_new (SmProp, 1)<span class='macro_popup'>((SmProp *) g_malloc_n ((1), sizeof (SmProp)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1184"><td class="num" id="LN1184">1184</td><td class="line"> prop-&gt;name = (<span class='keyword'>char</span> *)name;</td></tr>
+<tr class="codeline" data-linenumber="1185"><td class="num" id="LN1185">1185</td><td class="line"> prop-&gt;type = (<span class='keyword'>char</span> *)<span class='macro'>SmLISTofARRAY8<span class='macro_popup'>"LISTofARRAY8"</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1186"><td class="num" id="LN1186">1186</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1187"><td class="num" id="LN1187">1187</td><td class="line"> vals = g_array_new (<span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='keyword'>sizeof</span> (SmPropValue));</td></tr>
+<tr class="codeline" data-linenumber="1188"><td class="num" id="LN1188">1188</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1189"><td class="num" id="LN1189">1189</td><td class="line"> <span class='macro'>va_start (ap, name)<span class='macro_popup'>__builtin_va_start(ap, name)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1190"><td class="num" id="LN1190">1190</td><td class="line"> <span class='keyword'>while</span> ((value = <span class='macro'>va_arg (ap, <span class='keyword'>char</span> *)<span class='macro_popup'>__builtin_va_arg(ap, char *)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="1191"><td class="num" id="LN1191">1191</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1192"><td class="num" id="LN1192">1192</td><td class="line"> pv.length = strlen (value);</td></tr>
+<tr class="codeline" data-linenumber="1193"><td class="num" id="LN1193">1193</td><td class="line"> pv.value = value;</td></tr>
+<tr class="codeline" data-linenumber="1194"><td class="num" id="LN1194">1194</td><td class="line"> <span class='macro'>g_array_append_val (vals, pv)<span class='macro_popup'>g_array_append_vals (vals, &amp;(pv), 1)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1195"><td class="num" id="LN1195">1195</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1196"><td class="num" id="LN1196">1196</td><td class="line"> <span class='macro'>va_end (ap)<span class='macro_popup'>__builtin_va_end(ap)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1197"><td class="num" id="LN1197">1197</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1198"><td class="num" id="LN1198">1198</td><td class="line"> prop-&gt;num_vals = vals-&gt;len;</td></tr>
+<tr class="codeline" data-linenumber="1199"><td class="num" id="LN1199">1199</td><td class="line"> prop-&gt;vals = (SmPropValue *)vals-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="1200"><td class="num" id="LN1200">1200</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1201"><td class="num" id="LN1201">1201</td><td class="line"> g_array_free (vals, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1202"><td class="num" id="LN1202">1202</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1203"><td class="num" id="LN1203">1203</td><td class="line"> <span class='keyword'>return</span> prop;</td></tr>
+<tr class="codeline" data-linenumber="1204"><td class="num" id="LN1204">1204</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1205"><td class="num" id="LN1205">1205</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1206"><td class="num" id="LN1206">1206</td><td class="line"><span class='comment'>/* Takes a GPtrArray of strings and creates a LISTofARRAY8 property.</span></td></tr>
+<tr class="codeline" data-linenumber="1207"><td class="num" id="LN1207">1207</td><td class="line"> <span class='comment'>* The array contents are neither dupped nor freed; they need to</span></td></tr>
+<tr class="codeline" data-linenumber="1208"><td class="num" id="LN1208">1208</td><td class="line"> <span class='comment'>* remain valid until you're done with the SmProp.</span></td></tr>
+<tr class="codeline" data-linenumber="1209"><td class="num" id="LN1209">1209</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1210"><td class="num" id="LN1210">1210</td><td class="line"><span class='keyword'>static</span> SmProp *</td></tr>
+<tr class="codeline" data-linenumber="1211"><td class="num" id="LN1211">1211</td><td class="line">ptrarray_prop (<span class='keyword'>const</span> <span class='keyword'>char</span> *name, GPtrArray *values)</td></tr>
+<tr class="codeline" data-linenumber="1212"><td class="num" id="LN1212">1212</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1213"><td class="num" id="LN1213">1213</td><td class="line"> SmProp *prop;</td></tr>
+<tr class="codeline" data-linenumber="1214"><td class="num" id="LN1214">1214</td><td class="line"> SmPropValue pv;</td></tr>
+<tr class="codeline" data-linenumber="1215"><td class="num" id="LN1215">1215</td><td class="line"> GArray *vals;</td></tr>
+<tr class="codeline" data-linenumber="1216"><td class="num" id="LN1216">1216</td><td class="line"> guint i;</td></tr>
+<tr class="codeline" data-linenumber="1217"><td class="num" id="LN1217">1217</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1218"><td class="num" id="LN1218">1218</td><td class="line"> prop = <span class='macro'>g_new (SmProp, 1)<span class='macro_popup'>((SmProp *) g_malloc_n ((1), sizeof (SmProp)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1219"><td class="num" id="LN1219">1219</td><td class="line"> prop-&gt;name = (<span class='keyword'>char</span> *)name;</td></tr>
+<tr class="codeline" data-linenumber="1220"><td class="num" id="LN1220">1220</td><td class="line"> prop-&gt;type = (<span class='keyword'>char</span> *)<span class='macro'>SmLISTofARRAY8<span class='macro_popup'>"LISTofARRAY8"</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1221"><td class="num" id="LN1221">1221</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1222"><td class="num" id="LN1222">1222</td><td class="line"> vals = g_array_new (<span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='keyword'>sizeof</span> (SmPropValue));</td></tr>
+<tr class="codeline" data-linenumber="1223"><td class="num" id="LN1223">1223</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1224"><td class="num" id="LN1224">1224</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; values-&gt;len; i++)</td></tr>
+<tr class="codeline" data-linenumber="1225"><td class="num" id="LN1225">1225</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1226"><td class="num" id="LN1226">1226</td><td class="line"> pv.length = strlen (values-&gt;pdata[i]);</td></tr>
+<tr class="codeline" data-linenumber="1227"><td class="num" id="LN1227">1227</td><td class="line"> pv.value = values-&gt;pdata[i];</td></tr>
+<tr class="codeline" data-linenumber="1228"><td class="num" id="LN1228">1228</td><td class="line"> <span class='macro'>g_array_append_val (vals, pv)<span class='macro_popup'>g_array_append_vals (vals, &amp;(pv), 1)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1229"><td class="num" id="LN1229">1229</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1230"><td class="num" id="LN1230">1230</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1231"><td class="num" id="LN1231">1231</td><td class="line"> prop-&gt;num_vals = vals-&gt;len;</td></tr>
+<tr class="codeline" data-linenumber="1232"><td class="num" id="LN1232">1232</td><td class="line"> prop-&gt;vals = <span class="mrange"><span class="mrange">(SmPropValue *)vals-&gt;data</span></span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:18ex; max-width:31em">Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption</div></td></tr>
+<tr class="codeline" data-linenumber="1233"><td class="num" id="LN1233">1233</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1234"><td class="num" id="LN1234">1234</td><td class="line"> g_array_free (vals, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1235"><td class="num" id="LN1235">1235</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1236"><td class="num" id="LN1236">1236</td><td class="line"> <span class='keyword'>return</span> prop;</td></tr>
+<tr class="codeline" data-linenumber="1237"><td class="num" id="LN1237">1237</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1238"><td class="num" id="LN1238">1238</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1239"><td class="num" id="LN1239">1239</td><td class="line"><span class='comment'>/* Takes a string and creates an ARRAY8 property. The string is</span></td></tr>
+<tr class="codeline" data-linenumber="1240"><td class="num" id="LN1240">1240</td><td class="line"> <span class='comment'>* neither dupped nor freed; it needs to remain valid until you're</span></td></tr>
+<tr class="codeline" data-linenumber="1241"><td class="num" id="LN1241">1241</td><td class="line"> <span class='comment'>* done with the SmProp.</span></td></tr>
+<tr class="codeline" data-linenumber="1242"><td class="num" id="LN1242">1242</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1243"><td class="num" id="LN1243">1243</td><td class="line"><span class='keyword'>static</span> SmProp *</td></tr>
+<tr class="codeline" data-linenumber="1244"><td class="num" id="LN1244">1244</td><td class="line">string_prop (<span class='keyword'>const</span> <span class='keyword'>char</span> *name, <span class='keyword'>const</span> <span class='keyword'>char</span> *value)</td></tr>
+<tr class="codeline" data-linenumber="1245"><td class="num" id="LN1245">1245</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1246"><td class="num" id="LN1246">1246</td><td class="line"> SmProp *prop;</td></tr>
+<tr class="codeline" data-linenumber="1247"><td class="num" id="LN1247">1247</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1248"><td class="num" id="LN1248">1248</td><td class="line"> prop = <span class='macro'>g_new (SmProp, 1)<span class='macro_popup'>((SmProp *) g_malloc_n ((1), sizeof (SmProp)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1249"><td class="num" id="LN1249">1249</td><td class="line"> prop-&gt;name = (<span class='keyword'>char</span> *)name;</td></tr>
+<tr class="codeline" data-linenumber="1250"><td class="num" id="LN1250">1250</td><td class="line"> prop-&gt;type = (<span class='keyword'>char</span> *)<span class='macro'>SmARRAY8<span class='macro_popup'>"ARRAY8"</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1251"><td class="num" id="LN1251">1251</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1252"><td class="num" id="LN1252">1252</td><td class="line"> prop-&gt;num_vals = 1;</td></tr>
+<tr class="codeline" data-linenumber="1253"><td class="num" id="LN1253">1253</td><td class="line"> prop-&gt;vals = <span class='macro'>g_new (SmPropValue, 1)<span class='macro_popup'>((SmPropValue *) g_malloc_n ((1), sizeof (SmPropValue)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1254"><td class="num" id="LN1254">1254</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1255"><td class="num" id="LN1255">1255</td><td class="line"> prop-&gt;vals[0].length = strlen (value);</td></tr>
+<tr class="codeline" data-linenumber="1256"><td class="num" id="LN1256">1256</td><td class="line"> prop-&gt;vals[0].value = (<span class='keyword'>char</span> *)value;</td></tr>
+<tr class="codeline" data-linenumber="1257"><td class="num" id="LN1257">1257</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1258"><td class="num" id="LN1258">1258</td><td class="line"> <span class='keyword'>return</span> prop;</td></tr>
+<tr class="codeline" data-linenumber="1259"><td class="num" id="LN1259">1259</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1260"><td class="num" id="LN1260">1260</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1261"><td class="num" id="LN1261">1261</td><td class="line"><span class='comment'>/* Takes a char and creates a CARD8 property. */</span></td></tr>
+<tr class="codeline" data-linenumber="1262"><td class="num" id="LN1262">1262</td><td class="line"><span class='keyword'>static</span> SmProp *</td></tr>
+<tr class="codeline" data-linenumber="1263"><td class="num" id="LN1263">1263</td><td class="line">card8_prop (<span class='keyword'>const</span> <span class='keyword'>char</span> *name, <span class='keyword'>unsigned</span> <span class='keyword'>char</span> value)</td></tr>
+<tr class="codeline" data-linenumber="1264"><td class="num" id="LN1264">1264</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1265"><td class="num" id="LN1265">1265</td><td class="line"> SmProp *prop;</td></tr>
+<tr class="codeline" data-linenumber="1266"><td class="num" id="LN1266">1266</td><td class="line"> <span class='keyword'>char</span> *card8val;</td></tr>
+<tr class="codeline" data-linenumber="1267"><td class="num" id="LN1267">1267</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1268"><td class="num" id="LN1268">1268</td><td class="line"> <span class='comment'>/* To avoid having to allocate and free prop-&gt;vals[0], we cheat and</span></td></tr>
+<tr class="codeline" data-linenumber="1269"><td class="num" id="LN1269">1269</td><td class="line"> <span class='comment'>* make vals a 2-element-long array and then use the second element</span></td></tr>
+<tr class="codeline" data-linenumber="1270"><td class="num" id="LN1270">1270</td><td class="line"> <span class='comment'>* to store value.</span></td></tr>
+<tr class="codeline" data-linenumber="1271"><td class="num" id="LN1271">1271</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1272"><td class="num" id="LN1272">1272</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1273"><td class="num" id="LN1273">1273</td><td class="line"> prop = <span class='macro'>g_new (SmProp, 1)<span class='macro_popup'>((SmProp *) g_malloc_n ((1), sizeof (SmProp)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1274"><td class="num" id="LN1274">1274</td><td class="line"> prop-&gt;name = (<span class='keyword'>char</span> *)name;</td></tr>
+<tr class="codeline" data-linenumber="1275"><td class="num" id="LN1275">1275</td><td class="line"> prop-&gt;type = (<span class='keyword'>char</span> *)<span class='macro'>SmCARD8<span class='macro_popup'>"CARD8"</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1276"><td class="num" id="LN1276">1276</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1277"><td class="num" id="LN1277">1277</td><td class="line"> prop-&gt;num_vals = 1;</td></tr>
+<tr class="codeline" data-linenumber="1278"><td class="num" id="LN1278">1278</td><td class="line"> prop-&gt;vals = <span class='macro'>g_new (SmPropValue, 2)<span class='macro_popup'>((SmPropValue *) g_malloc_n ((2), sizeof (SmPropValue)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1279"><td class="num" id="LN1279">1279</td><td class="line"> card8val = (<span class='keyword'>char</span> *)(&amp;prop-&gt;vals[1]);</td></tr>
+<tr class="codeline" data-linenumber="1280"><td class="num" id="LN1280">1280</td><td class="line"> card8val[0] = value;</td></tr>
+<tr class="codeline" data-linenumber="1281"><td class="num" id="LN1281">1281</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1282"><td class="num" id="LN1282">1282</td><td class="line"> prop-&gt;vals[0].length = 1;</td></tr>
+<tr class="codeline" data-linenumber="1283"><td class="num" id="LN1283">1283</td><td class="line"> prop-&gt;vals[0].value = card8val;</td></tr>
+<tr class="codeline" data-linenumber="1284"><td class="num" id="LN1284">1284</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1285"><td class="num" id="LN1285">1285</td><td class="line"> <span class='keyword'>return</span> prop;</td></tr>
+<tr class="codeline" data-linenumber="1286"><td class="num" id="LN1286">1286</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1287"><td class="num" id="LN1287">1287</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1288"><td class="num" id="LN1288">1288</td><td class="line"><span class='comment'>/* ICE code. This makes no effort to play nice with anyone else trying</span></td></tr>
+<tr class="codeline" data-linenumber="1289"><td class="num" id="LN1289">1289</td><td class="line"> <span class='comment'>* to use libICE. Fortunately, no one uses libICE for anything other</span></td></tr>
+<tr class="codeline" data-linenumber="1290"><td class="num" id="LN1290">1290</td><td class="line"> <span class='comment'>* than SM. (DCOP uses ICE, but it has its own private copy of</span></td></tr>
+<tr class="codeline" data-linenumber="1291"><td class="num" id="LN1291">1291</td><td class="line"> <span class='comment'>* libICE.)</span></td></tr>
+<tr class="codeline" data-linenumber="1292"><td class="num" id="LN1292">1292</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="1293"><td class="num" id="LN1293">1293</td><td class="line"> <span class='comment'>* When this moves to gtk, it will need to be cleverer, to avoid</span></td></tr>
+<tr class="codeline" data-linenumber="1294"><td class="num" id="LN1294">1294</td><td class="line"> <span class='comment'>* tripping over old apps that use MateClient or that use libSM</span></td></tr>
+<tr class="codeline" data-linenumber="1295"><td class="num" id="LN1295">1295</td><td class="line"> <span class='comment'>* directly.</span></td></tr>
+<tr class="codeline" data-linenumber="1296"><td class="num" id="LN1296">1296</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1297"><td class="num" id="LN1297">1297</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1298"><td class="num" id="LN1298">1298</td><td class="line"><span class='directive'>#include &lt;X11/ICE/ICElib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="1299"><td class="num" id="LN1299">1299</td><td class="line"><span class='directive'>#include &lt;fcntl.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="1300"><td class="num" id="LN1300">1300</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1301"><td class="num" id="LN1301">1301</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> ice_error_handler (IceConn ice_conn,</td></tr>
+<tr class="codeline" data-linenumber="1302"><td class="num" id="LN1302">1302</td><td class="line"> <span class='macro'>Bool<span class='macro_popup'>int</span></span> swap,</td></tr>
+<tr class="codeline" data-linenumber="1303"><td class="num" id="LN1303">1303</td><td class="line"> <span class='keyword'>int</span> offending_minor_opcode,</td></tr>
+<tr class="codeline" data-linenumber="1304"><td class="num" id="LN1304">1304</td><td class="line"> <span class='keyword'>unsigned</span> <span class='keyword'>long</span> offending_sequence,</td></tr>
+<tr class="codeline" data-linenumber="1305"><td class="num" id="LN1305">1305</td><td class="line"> <span class='keyword'>int</span> error_class,</td></tr>
+<tr class="codeline" data-linenumber="1306"><td class="num" id="LN1306">1306</td><td class="line"> <span class='keyword'>int</span> severity,</td></tr>
+<tr class="codeline" data-linenumber="1307"><td class="num" id="LN1307">1307</td><td class="line"> IcePointer values);</td></tr>
+<tr class="codeline" data-linenumber="1308"><td class="num" id="LN1308">1308</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> ice_io_error_handler (IceConn ice_conn);</td></tr>
+<tr class="codeline" data-linenumber="1309"><td class="num" id="LN1309">1309</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> ice_connection_watch (IceConn ice_conn,</td></tr>
+<tr class="codeline" data-linenumber="1310"><td class="num" id="LN1310">1310</td><td class="line"> IcePointer client_data,</td></tr>
+<tr class="codeline" data-linenumber="1311"><td class="num" id="LN1311">1311</td><td class="line"> <span class='macro'>Bool<span class='macro_popup'>int</span></span> opening,</td></tr>
+<tr class="codeline" data-linenumber="1312"><td class="num" id="LN1312">1312</td><td class="line"> IcePointer *watch_data);</td></tr>
+<tr class="codeline" data-linenumber="1313"><td class="num" id="LN1313">1313</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1314"><td class="num" id="LN1314">1314</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1315"><td class="num" id="LN1315">1315</td><td class="line">ice_init (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="1316"><td class="num" id="LN1316">1316</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1317"><td class="num" id="LN1317">1317</td><td class="line"> IceSetIOErrorHandler (ice_io_error_handler);</td></tr>
+<tr class="codeline" data-linenumber="1318"><td class="num" id="LN1318">1318</td><td class="line"> IceSetErrorHandler (ice_error_handler);</td></tr>
+<tr class="codeline" data-linenumber="1319"><td class="num" id="LN1319">1319</td><td class="line"> IceAddConnectionWatch (ice_connection_watch, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1320"><td class="num" id="LN1320">1320</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1321"><td class="num" id="LN1321">1321</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1322"><td class="num" id="LN1322">1322</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1323"><td class="num" id="LN1323">1323</td><td class="line">process_ice_messages (IceConn ice_conn)</td></tr>
+<tr class="codeline" data-linenumber="1324"><td class="num" id="LN1324">1324</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1325"><td class="num" id="LN1325">1325</td><td class="line"> IceProcessMessagesStatus status;</td></tr>
+<tr class="codeline" data-linenumber="1326"><td class="num" id="LN1326">1326</td><td class="line"> status = IceProcessMessages (ice_conn, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1327"><td class="num" id="LN1327">1327</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1328"><td class="num" id="LN1328">1328</td><td class="line"> <span class='keyword'>switch</span> (status)</td></tr>
+<tr class="codeline" data-linenumber="1329"><td class="num" id="LN1329">1329</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1330"><td class="num" id="LN1330">1330</td><td class="line"> <span class='keyword'>case</span> IceProcessMessagesSuccess:</td></tr>
+<tr class="codeline" data-linenumber="1331"><td class="num" id="LN1331">1331</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1332"><td class="num" id="LN1332">1332</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1333"><td class="num" id="LN1333">1333</td><td class="line"> <span class='keyword'>case</span> IceProcessMessagesIOError:</td></tr>
+<tr class="codeline" data-linenumber="1334"><td class="num" id="LN1334">1334</td><td class="line"> sm_client_xsmp_disconnect (IceGetConnectionContext (ice_conn));</td></tr>
+<tr class="codeline" data-linenumber="1335"><td class="num" id="LN1335">1335</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1336"><td class="num" id="LN1336">1336</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1337"><td class="num" id="LN1337">1337</td><td class="line"> <span class='keyword'>case</span> IceProcessMessagesConnectionClosed:</td></tr>
+<tr class="codeline" data-linenumber="1338"><td class="num" id="LN1338">1338</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1339"><td class="num" id="LN1339">1339</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1340"><td class="num" id="LN1340">1340</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="1341"><td class="num" id="LN1341">1341</td><td class="line"> <span class='macro'>g_assert_not_reached ()<span class='macro_popup'>do { g_assertion_message_expr ("EggSMClient", "eggsmclient-xsmp.c"<br>, 1341, ((const char*) (__func__)), ((void*)0)); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1342"><td class="num" id="LN1342">1342</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1343"><td class="num" id="LN1343">1343</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1344"><td class="num" id="LN1344">1344</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1345"><td class="num" id="LN1345">1345</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1346"><td class="num" id="LN1346">1346</td><td class="line">ice_iochannel_watch (GIOChannel *channel,</td></tr>
+<tr class="codeline" data-linenumber="1347"><td class="num" id="LN1347">1347</td><td class="line"> GIOCondition condition,</td></tr>
+<tr class="codeline" data-linenumber="1348"><td class="num" id="LN1348">1348</td><td class="line"> gpointer client_data)</td></tr>
+<tr class="codeline" data-linenumber="1349"><td class="num" id="LN1349">1349</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1350"><td class="num" id="LN1350">1350</td><td class="line"> <span class='keyword'>return</span> process_ice_messages (client_data);</td></tr>
+<tr class="codeline" data-linenumber="1351"><td class="num" id="LN1351">1351</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1352"><td class="num" id="LN1352">1352</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1353"><td class="num" id="LN1353">1353</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1354"><td class="num" id="LN1354">1354</td><td class="line">ice_connection_watch (IceConn ice_conn,</td></tr>
+<tr class="codeline" data-linenumber="1355"><td class="num" id="LN1355">1355</td><td class="line"> IcePointer client_data,</td></tr>
+<tr class="codeline" data-linenumber="1356"><td class="num" id="LN1356">1356</td><td class="line"> <span class='macro'>Bool<span class='macro_popup'>int</span></span> opening,</td></tr>
+<tr class="codeline" data-linenumber="1357"><td class="num" id="LN1357">1357</td><td class="line"> IcePointer *watch_data)</td></tr>
+<tr class="codeline" data-linenumber="1358"><td class="num" id="LN1358">1358</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1359"><td class="num" id="LN1359">1359</td><td class="line"> guint watch_id;</td></tr>
+<tr class="codeline" data-linenumber="1360"><td class="num" id="LN1360">1360</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1361"><td class="num" id="LN1361">1361</td><td class="line"> <span class='keyword'>if</span> (opening)</td></tr>
+<tr class="codeline" data-linenumber="1362"><td class="num" id="LN1362">1362</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1363"><td class="num" id="LN1363">1363</td><td class="line"> GIOChannel *channel;</td></tr>
+<tr class="codeline" data-linenumber="1364"><td class="num" id="LN1364">1364</td><td class="line"> <span class='keyword'>int</span> fd = IceConnectionNumber (ice_conn);</td></tr>
+<tr class="codeline" data-linenumber="1365"><td class="num" id="LN1365">1365</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1366"><td class="num" id="LN1366">1366</td><td class="line"> fcntl (fd, <span class='macro'>F_SETFD<span class='macro_popup'>2</span></span>, fcntl (fd, <span class='macro'>F_GETFD<span class='macro_popup'>1</span></span>, 0) | <span class='macro'>FD_CLOEXEC<span class='macro_popup'>1</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1367"><td class="num" id="LN1367">1367</td><td class="line"> channel = g_io_channel_unix_new (fd);</td></tr>
+<tr class="codeline" data-linenumber="1368"><td class="num" id="LN1368">1368</td><td class="line"> watch_id = g_io_add_watch (channel, G_IO_IN | G_IO_ERR,</td></tr>
+<tr class="codeline" data-linenumber="1369"><td class="num" id="LN1369">1369</td><td class="line"> ice_iochannel_watch, ice_conn);</td></tr>
+<tr class="codeline" data-linenumber="1370"><td class="num" id="LN1370">1370</td><td class="line"> g_io_channel_unref (channel);</td></tr>
+<tr class="codeline" data-linenumber="1371"><td class="num" id="LN1371">1371</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1372"><td class="num" id="LN1372">1372</td><td class="line"> *watch_data = <span class='macro'>GUINT_TO_POINTER (watch_id)<span class='macro_popup'>((gpointer) (gulong) (watch_id))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1373"><td class="num" id="LN1373">1373</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1374"><td class="num" id="LN1374">1374</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1375"><td class="num" id="LN1375">1375</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1376"><td class="num" id="LN1376">1376</td><td class="line"> watch_id = <span class='macro'>GPOINTER_TO_UINT (*watch_data)<span class='macro_popup'>((guint) (gulong) (*watch_data))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1377"><td class="num" id="LN1377">1377</td><td class="line"> g_source_remove (watch_id);</td></tr>
+<tr class="codeline" data-linenumber="1378"><td class="num" id="LN1378">1378</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1379"><td class="num" id="LN1379">1379</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1380"><td class="num" id="LN1380">1380</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1381"><td class="num" id="LN1381">1381</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1382"><td class="num" id="LN1382">1382</td><td class="line">ice_error_handler (IceConn ice_conn,</td></tr>
+<tr class="codeline" data-linenumber="1383"><td class="num" id="LN1383">1383</td><td class="line"> <span class='macro'>Bool<span class='macro_popup'>int</span></span> swap,</td></tr>
+<tr class="codeline" data-linenumber="1384"><td class="num" id="LN1384">1384</td><td class="line"> <span class='keyword'>int</span> offending_minor_opcode,</td></tr>
+<tr class="codeline" data-linenumber="1385"><td class="num" id="LN1385">1385</td><td class="line"> <span class='keyword'>unsigned</span> <span class='keyword'>long</span> offending_sequence,</td></tr>
+<tr class="codeline" data-linenumber="1386"><td class="num" id="LN1386">1386</td><td class="line"> <span class='keyword'>int</span> error_class,</td></tr>
+<tr class="codeline" data-linenumber="1387"><td class="num" id="LN1387">1387</td><td class="line"> <span class='keyword'>int</span> severity,</td></tr>
+<tr class="codeline" data-linenumber="1388"><td class="num" id="LN1388">1388</td><td class="line"> IcePointer values)</td></tr>
+<tr class="codeline" data-linenumber="1389"><td class="num" id="LN1389">1389</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1390"><td class="num" id="LN1390">1390</td><td class="line"> <span class='comment'>/* Do nothing */</span></td></tr>
+<tr class="codeline" data-linenumber="1391"><td class="num" id="LN1391">1391</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1392"><td class="num" id="LN1392">1392</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1393"><td class="num" id="LN1393">1393</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1394"><td class="num" id="LN1394">1394</td><td class="line">ice_io_error_handler (IceConn ice_conn)</td></tr>
+<tr class="codeline" data-linenumber="1395"><td class="num" id="LN1395">1395</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1396"><td class="num" id="LN1396">1396</td><td class="line"> <span class='comment'>/* Do nothing */</span></td></tr>
+<tr class="codeline" data-linenumber="1397"><td class="num" id="LN1397">1397</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1398"><td class="num" id="LN1398">1398</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1399"><td class="num" id="LN1399">1399</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1400"><td class="num" id="LN1400">1400</td><td class="line">smc_error_handler (SmcConn smc_conn,</td></tr>
+<tr class="codeline" data-linenumber="1401"><td class="num" id="LN1401">1401</td><td class="line"> <span class='macro'>Bool<span class='macro_popup'>int</span></span> swap,</td></tr>
+<tr class="codeline" data-linenumber="1402"><td class="num" id="LN1402">1402</td><td class="line"> <span class='keyword'>int</span> offending_minor_opcode,</td></tr>
+<tr class="codeline" data-linenumber="1403"><td class="num" id="LN1403">1403</td><td class="line"> <span class='keyword'>unsigned</span> <span class='keyword'>long</span> offending_sequence,</td></tr>
+<tr class="codeline" data-linenumber="1404"><td class="num" id="LN1404">1404</td><td class="line"> <span class='keyword'>int</span> error_class,</td></tr>
+<tr class="codeline" data-linenumber="1405"><td class="num" id="LN1405">1405</td><td class="line"> <span class='keyword'>int</span> severity,</td></tr>
+<tr class="codeline" data-linenumber="1406"><td class="num" id="LN1406">1406</td><td class="line"> SmPointer values)</td></tr>
+<tr class="codeline" data-linenumber="1407"><td class="num" id="LN1407">1407</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1408"><td class="num" id="LN1408">1408</td><td class="line"> <span class='comment'>/* Do nothing */</span></td></tr>
+<tr class="codeline" data-linenumber="1409"><td class="num" id="LN1409">1409</td><td class="line">}</td></tr>
+</table></body></html>
diff --git a/2024-03-27-012041-5213-1@78903120e74d_master/scanview.css b/2024-03-27-012041-5213-1@78903120e74d_master/scanview.css
new file mode 100644
index 0000000..cf8a5a6
--- /dev/null
+++ b/2024-03-27-012041-5213-1@78903120e74d_master/scanview.css
@@ -0,0 +1,62 @@
+body { color:#000000; background-color:#ffffff }
+body { font-family: Helvetica, sans-serif; font-size:9pt }
+h1 { font-size: 14pt; }
+h2 { font-size: 12pt; }
+table { font-size:9pt }
+table { border-spacing: 0px; border: 1px solid black }
+th, table thead {
+ background-color:#eee; color:#666666;
+ font-weight: bold; cursor: default;
+ text-align:center;
+ font-weight: bold; font-family: Verdana;
+ white-space:nowrap;
+}
+.W { font-size:0px }
+th, td { padding:5px; padding-left:8px; text-align:left }
+td.SUMM_DESC { padding-left:12px }
+td.DESC { white-space:pre }
+td.Q { text-align:right }
+td { text-align:left }
+tbody.scrollContent { overflow:auto }
+
+table.form_group {
+ background-color: #ccc;
+ border: 1px solid #333;
+ padding: 2px;
+}
+
+table.form_inner_group {
+ background-color: #ccc;
+ border: 1px solid #333;
+ padding: 0px;
+}
+
+table.form {
+ background-color: #999;
+ border: 1px solid #333;
+ padding: 2px;
+}
+
+td.form_label {
+ text-align: right;
+ vertical-align: top;
+}
+/* For one line entires */
+td.form_clabel {
+ text-align: right;
+ vertical-align: center;
+}
+td.form_value {
+ text-align: left;
+ vertical-align: top;
+}
+td.form_submit {
+ text-align: right;
+ vertical-align: top;
+}
+
+h1.SubmitFail {
+ color: #f00;
+}
+h1.SubmitOk {
+}
diff --git a/2024-03-27-012041-5213-1@78903120e74d_master/sorttable.js b/2024-03-27-012041-5213-1@78903120e74d_master/sorttable.js
new file mode 100644
index 0000000..32faa07
--- /dev/null
+++ b/2024-03-27-012041-5213-1@78903120e74d_master/sorttable.js
@@ -0,0 +1,492 @@
+/*
+ SortTable
+ version 2
+ 7th April 2007
+ Stuart Langridge, http://www.kryogenix.org/code/browser/sorttable/
+
+ Instructions:
+ Download this file
+ Add <script src="sorttable.js"></script> to your HTML
+ Add class="sortable" to any table you'd like to make sortable
+ Click on the headers to sort
+
+ Thanks to many, many people for contributions and suggestions.
+ Licenced as X11: http://www.kryogenix.org/code/browser/licence.html
+ This basically means: do what you want with it.
+*/
+
+
+var stIsIE = /*@cc_on!@*/false;
+
+sorttable = {
+ init: function() {
+ // quit if this function has already been called
+ if (arguments.callee.done) return;
+ // flag this function so we don't do the same thing twice
+ arguments.callee.done = true;
+ // kill the timer
+ if (_timer) clearInterval(_timer);
+
+ if (!document.createElement || !document.getElementsByTagName) return;
+
+ sorttable.DATE_RE = /^(\d\d?)[\/\.-](\d\d?)[\/\.-]((\d\d)?\d\d)$/;
+
+ forEach(document.getElementsByTagName('table'), function(table) {
+ if (table.className.search(/\bsortable\b/) != -1) {
+ sorttable.makeSortable(table);
+ }
+ });
+
+ },
+
+ makeSortable: function(table) {
+ if (table.getElementsByTagName('thead').length == 0) {
+ // table doesn't have a tHead. Since it should have, create one and
+ // put the first table row in it.
+ the = document.createElement('thead');
+ the.appendChild(table.rows[0]);
+ table.insertBefore(the,table.firstChild);
+ }
+ // Safari doesn't support table.tHead, sigh
+ if (table.tHead == null) table.tHead = table.getElementsByTagName('thead')[0];
+
+ if (table.tHead.rows.length != 1) return; // can't cope with two header rows
+
+ // Sorttable v1 put rows with a class of "sortbottom" at the bottom (as
+ // "total" rows, for example). This is B&R, since what you're supposed
+ // to do is put them in a tfoot. So, if there are sortbottom rows,
+ // for backward compatibility, move them to tfoot (creating it if needed).
+ sortbottomrows = [];
+ for (var i=0; i<table.rows.length; i++) {
+ if (table.rows[i].className.search(/\bsortbottom\b/) != -1) {
+ sortbottomrows[sortbottomrows.length] = table.rows[i];
+ }
+ }
+ if (sortbottomrows) {
+ if (table.tFoot == null) {
+ // table doesn't have a tfoot. Create one.
+ tfo = document.createElement('tfoot');
+ table.appendChild(tfo);
+ }
+ for (var i=0; i<sortbottomrows.length; i++) {
+ tfo.appendChild(sortbottomrows[i]);
+ }
+ delete sortbottomrows;
+ }
+
+ // work through each column and calculate its type
+ headrow = table.tHead.rows[0].cells;
+ for (var i=0; i<headrow.length; i++) {
+ // manually override the type with a sorttable_type attribute
+ if (!headrow[i].className.match(/\bsorttable_nosort\b/)) { // skip this col
+ mtch = headrow[i].className.match(/\bsorttable_([a-z0-9]+)\b/);
+ if (mtch) { override = mtch[1]; }
+ if (mtch && typeof sorttable["sort_"+override] == 'function') {
+ headrow[i].sorttable_sortfunction = sorttable["sort_"+override];
+ } else {
+ headrow[i].sorttable_sortfunction = sorttable.guessType(table,i);
+ }
+ // make it clickable to sort
+ headrow[i].sorttable_columnindex = i;
+ headrow[i].sorttable_tbody = table.tBodies[0];
+ dean_addEvent(headrow[i],"click", function(e) {
+
+ if (this.className.search(/\bsorttable_sorted\b/) != -1) {
+ // if we're already sorted by this column, just
+ // reverse the table, which is quicker
+ sorttable.reverse(this.sorttable_tbody);
+ this.className = this.className.replace('sorttable_sorted',
+ 'sorttable_sorted_reverse');
+ this.removeChild(document.getElementById('sorttable_sortfwdind'));
+ sortrevind = document.createElement('span');
+ sortrevind.id = "sorttable_sortrevind";
+ sortrevind.innerHTML = stIsIE ? '&nbsp<font face="webdings">5</font>' : '&nbsp;&#x25B4;';
+ this.appendChild(sortrevind);
+ return;
+ }
+ if (this.className.search(/\bsorttable_sorted_reverse\b/) != -1) {
+ // if we're already sorted by this column in reverse, just
+ // re-reverse the table, which is quicker
+ sorttable.reverse(this.sorttable_tbody);
+ this.className = this.className.replace('sorttable_sorted_reverse',
+ 'sorttable_sorted');
+ this.removeChild(document.getElementById('sorttable_sortrevind'));
+ sortfwdind = document.createElement('span');
+ sortfwdind.id = "sorttable_sortfwdind";
+ sortfwdind.innerHTML = stIsIE ? '&nbsp<font face="webdings">6</font>' : '&nbsp;&#x25BE;';
+ this.appendChild(sortfwdind);
+ return;
+ }
+
+ // remove sorttable_sorted classes
+ theadrow = this.parentNode;
+ forEach(theadrow.childNodes, function(cell) {
+ if (cell.nodeType == 1) { // an element
+ cell.className = cell.className.replace('sorttable_sorted_reverse','');
+ cell.className = cell.className.replace('sorttable_sorted','');
+ }
+ });
+ sortfwdind = document.getElementById('sorttable_sortfwdind');
+ if (sortfwdind) { sortfwdind.parentNode.removeChild(sortfwdind); }
+ sortrevind = document.getElementById('sorttable_sortrevind');
+ if (sortrevind) { sortrevind.parentNode.removeChild(sortrevind); }
+
+ this.className += ' sorttable_sorted';
+ sortfwdind = document.createElement('span');
+ sortfwdind.id = "sorttable_sortfwdind";
+ sortfwdind.innerHTML = stIsIE ? '&nbsp<font face="webdings">6</font>' : '&nbsp;&#x25BE;';
+ this.appendChild(sortfwdind);
+
+ // build an array to sort. This is a Schwartzian transform thing,
+ // i.e., we "decorate" each row with the actual sort key,
+ // sort based on the sort keys, and then put the rows back in order
+ // which is a lot faster because you only do getInnerText once per row
+ row_array = [];
+ col = this.sorttable_columnindex;
+ rows = this.sorttable_tbody.rows;
+ for (var j=0; j<rows.length; j++) {
+ row_array[row_array.length] = [sorttable.getInnerText(rows[j].cells[col]), rows[j]];
+ }
+ /* If you want a stable sort, uncomment the following line */
+ sorttable.shaker_sort(row_array, this.sorttable_sortfunction);
+ /* and comment out this one */
+ //row_array.sort(this.sorttable_sortfunction);
+
+ tb = this.sorttable_tbody;
+ for (var j=0; j<row_array.length; j++) {
+ tb.appendChild(row_array[j][1]);
+ }
+
+ delete row_array;
+ });
+ }
+ }
+ },
+
+ guessType: function(table, column) {
+ // guess the type of a column based on its first non-blank row
+ sortfn = sorttable.sort_alpha;
+ for (var i=0; i<table.tBodies[0].rows.length; i++) {
+ text = sorttable.getInnerText(table.tBodies[0].rows[i].cells[column]);
+ if (text != '') {
+ if (text.match(/^-?[�$�]?[\d,.]+%?$/)) {
+ return sorttable.sort_numeric;
+ }
+ // check for a date: dd/mm/yyyy or dd/mm/yy
+ // can have / or . or - as separator
+ // can be mm/dd as well
+ possdate = text.match(sorttable.DATE_RE)
+ if (possdate) {
+ // looks like a date
+ first = parseInt(possdate[1]);
+ second = parseInt(possdate[2]);
+ if (first > 12) {
+ // definitely dd/mm
+ return sorttable.sort_ddmm;
+ } else if (second > 12) {
+ return sorttable.sort_mmdd;
+ } else {
+ // looks like a date, but we can't tell which, so assume
+ // that it's dd/mm (English imperialism!) and keep looking
+ sortfn = sorttable.sort_ddmm;
+ }
+ }
+ }
+ }
+ return sortfn;
+ },
+
+ getInnerText: function(node) {
+ // gets the text we want to use for sorting for a cell.
+ // strips leading and trailing whitespace.
+ // this is *not* a generic getInnerText function; it's special to sorttable.
+ // for example, you can override the cell text with a customkey attribute.
+ // it also gets .value for <input> fields.
+
+ hasInputs = (typeof node.getElementsByTagName == 'function') &&
+ node.getElementsByTagName('input').length;
+
+ if (node.getAttribute("sorttable_customkey") != null) {
+ return node.getAttribute("sorttable_customkey");
+ }
+ else if (typeof node.textContent != 'undefined' && !hasInputs) {
+ return node.textContent.replace(/^\s+|\s+$/g, '');
+ }
+ else if (typeof node.innerText != 'undefined' && !hasInputs) {
+ return node.innerText.replace(/^\s+|\s+$/g, '');
+ }
+ else if (typeof node.text != 'undefined' && !hasInputs) {
+ return node.text.replace(/^\s+|\s+$/g, '');
+ }
+ else {
+ switch (node.nodeType) {
+ case 3:
+ if (node.nodeName.toLowerCase() == 'input') {
+ return node.value.replace(/^\s+|\s+$/g, '');
+ }
+ case 4:
+ return node.nodeValue.replace(/^\s+|\s+$/g, '');
+ break;
+ case 1:
+ case 11:
+ var innerText = '';
+ for (var i = 0; i < node.childNodes.length; i++) {
+ innerText += sorttable.getInnerText(node.childNodes[i]);
+ }
+ return innerText.replace(/^\s+|\s+$/g, '');
+ break;
+ default:
+ return '';
+ }
+ }
+ },
+
+ reverse: function(tbody) {
+ // reverse the rows in a tbody
+ newrows = [];
+ for (var i=0; i<tbody.rows.length; i++) {
+ newrows[newrows.length] = tbody.rows[i];
+ }
+ for (var i=newrows.length-1; i>=0; i--) {
+ tbody.appendChild(newrows[i]);
+ }
+ delete newrows;
+ },
+
+ /* sort functions
+ each sort function takes two parameters, a and b
+ you are comparing a[0] and b[0] */
+ sort_numeric: function(a,b) {
+ aa = parseFloat(a[0].replace(/[^0-9.-]/g,''));
+ if (isNaN(aa)) aa = 0;
+ bb = parseFloat(b[0].replace(/[^0-9.-]/g,''));
+ if (isNaN(bb)) bb = 0;
+ return aa-bb;
+ },
+ sort_alpha: function(a,b) {
+ if (a[0]==b[0]) return 0;
+ if (a[0]<b[0]) return -1;
+ return 1;
+ },
+ sort_ddmm: function(a,b) {
+ mtch = a[0].match(sorttable.DATE_RE);
+ y = mtch[3]; m = mtch[2]; d = mtch[1];
+ if (m.length == 1) m = '0'+m;
+ if (d.length == 1) d = '0'+d;
+ dt1 = y+m+d;
+ mtch = b[0].match(sorttable.DATE_RE);
+ y = mtch[3]; m = mtch[2]; d = mtch[1];
+ if (m.length == 1) m = '0'+m;
+ if (d.length == 1) d = '0'+d;
+ dt2 = y+m+d;
+ if (dt1==dt2) return 0;
+ if (dt1<dt2) return -1;
+ return 1;
+ },
+ sort_mmdd: function(a,b) {
+ mtch = a[0].match(sorttable.DATE_RE);
+ y = mtch[3]; d = mtch[2]; m = mtch[1];
+ if (m.length == 1) m = '0'+m;
+ if (d.length == 1) d = '0'+d;
+ dt1 = y+m+d;
+ mtch = b[0].match(sorttable.DATE_RE);
+ y = mtch[3]; d = mtch[2]; m = mtch[1];
+ if (m.length == 1) m = '0'+m;
+ if (d.length == 1) d = '0'+d;
+ dt2 = y+m+d;
+ if (dt1==dt2) return 0;
+ if (dt1<dt2) return -1;
+ return 1;
+ },
+
+ shaker_sort: function(list, comp_func) {
+ // A stable sort function to allow multi-level sorting of data
+ // see: http://en.wikipedia.org/wiki/Cocktail_sort
+ // thanks to Joseph Nahmias
+ var b = 0;
+ var t = list.length - 1;
+ var swap = true;
+
+ while(swap) {
+ swap = false;
+ for(var i = b; i < t; ++i) {
+ if ( comp_func(list[i], list[i+1]) > 0 ) {
+ var q = list[i]; list[i] = list[i+1]; list[i+1] = q;
+ swap = true;
+ }
+ } // for
+ t--;
+
+ if (!swap) break;
+
+ for(var i = t; i > b; --i) {
+ if ( comp_func(list[i], list[i-1]) < 0 ) {
+ var q = list[i]; list[i] = list[i-1]; list[i-1] = q;
+ swap = true;
+ }
+ } // for
+ b++;
+
+ } // while(swap)
+ }
+}
+
+/* ******************************************************************
+ Supporting functions: bundled here to avoid depending on a library
+ ****************************************************************** */
+
+// Dean Edwards/Matthias Miller/John Resig
+
+/* for Mozilla/Opera9 */
+if (document.addEventListener) {
+ document.addEventListener("DOMContentLoaded", sorttable.init, false);
+}
+
+/* for Internet Explorer */
+/*@cc_on @*/
+/*@if (@_win32)
+ document.write("<script id=__ie_onload defer src=javascript:void(0)><\/script>");
+ var script = document.getElementById("__ie_onload");
+ script.onreadystatechange = function() {
+ if (this.readyState == "complete") {
+ sorttable.init(); // call the onload handler
+ }
+ };
+/*@end @*/
+
+/* for Safari */
+if (/WebKit/i.test(navigator.userAgent)) { // sniff
+ var _timer = setInterval(function() {
+ if (/loaded|complete/.test(document.readyState)) {
+ sorttable.init(); // call the onload handler
+ }
+ }, 10);
+}
+
+/* for other browsers */
+window.onload = sorttable.init;
+
+// written by Dean Edwards, 2005
+// with input from Tino Zijdel, Matthias Miller, Diego Perini
+
+// http://dean.edwards.name/weblog/2005/10/add-event/
+
+function dean_addEvent(element, type, handler) {
+ if (element.addEventListener) {
+ element.addEventListener(type, handler, false);
+ } else {
+ // assign each event handler a unique ID
+ if (!handler.$$guid) handler.$$guid = dean_addEvent.guid++;
+ // create a hash table of event types for the element
+ if (!element.events) element.events = {};
+ // create a hash table of event handlers for each element/event pair
+ var handlers = element.events[type];
+ if (!handlers) {
+ handlers = element.events[type] = {};
+ // store the existing event handler (if there is one)
+ if (element["on" + type]) {
+ handlers[0] = element["on" + type];
+ }
+ }
+ // store the event handler in the hash table
+ handlers[handler.$$guid] = handler;
+ // assign a global event handler to do all the work
+ element["on" + type] = handleEvent;
+ }
+};
+// a counter used to create unique IDs
+dean_addEvent.guid = 1;
+
+function removeEvent(element, type, handler) {
+ if (element.removeEventListener) {
+ element.removeEventListener(type, handler, false);
+ } else {
+ // delete the event handler from the hash table
+ if (element.events && element.events[type]) {
+ delete element.events[type][handler.$$guid];
+ }
+ }
+};
+
+function handleEvent(event) {
+ var returnValue = true;
+ // grab the event object (IE uses a global event object)
+ event = event || fixEvent(((this.ownerDocument || this.document || this).parentWindow || window).event);
+ // get a reference to the hash table of event handlers
+ var handlers = this.events[event.type];
+ // execute each event handler
+ for (var i in handlers) {
+ this.$$handleEvent = handlers[i];
+ if (this.$$handleEvent(event) === false) {
+ returnValue = false;
+ }
+ }
+ return returnValue;
+};
+
+function fixEvent(event) {
+ // add W3C standard event methods
+ event.preventDefault = fixEvent.preventDefault;
+ event.stopPropagation = fixEvent.stopPropagation;
+ return event;
+};
+fixEvent.preventDefault = function() {
+ this.returnValue = false;
+};
+fixEvent.stopPropagation = function() {
+ this.cancelBubble = true;
+}
+
+// Dean's forEach: http://dean.edwards.name/base/forEach.js
+/*
+ forEach, version 1.0
+ Copyright 2006, Dean Edwards
+ License: http://www.opensource.org/licenses/mit-license.php
+*/
+
+// array-like enumeration
+if (!Array.forEach) { // mozilla already supports this
+ Array.forEach = function(array, block, context) {
+ for (var i = 0; i < array.length; i++) {
+ block.call(context, array[i], i, array);
+ }
+ };
+}
+
+// generic enumeration
+Function.prototype.forEach = function(object, block, context) {
+ for (var key in object) {
+ if (typeof this.prototype[key] == "undefined") {
+ block.call(context, object[key], key, object);
+ }
+ }
+};
+
+// character enumeration
+String.forEach = function(string, block, context) {
+ Array.forEach(string.split(""), function(chr, index) {
+ block.call(context, chr, index, string);
+ });
+};
+
+// globally resolve forEach enumeration
+var forEach = function(object, block, context) {
+ if (object) {
+ var resolve = Object; // default
+ if (object instanceof Function) {
+ // functions have a "length" property
+ resolve = Function;
+ } else if (object.forEach instanceof Function) {
+ // the object implements a custom forEach method so use that
+ object.forEach(block, context);
+ return;
+ } else if (typeof object == "string") {
+ // the object is a string
+ resolve = String;
+ } else if (typeof object.length == "number") {
+ // the object is array-like
+ resolve = Array;
+ }
+ resolve.forEach(object, block, context);
+ }
+};