[go: up one dir, main page]

File: debian.patch

package info (click to toggle)
tora 1.3.21-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 14,252 kB
  • ctags: 10,397
  • sloc: cpp: 108,822; sh: 10,861; makefile: 766; xml: 69; perl: 6
file content (25 lines) | stat: -rw-r--r-- 1,366 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
diff --exclude debian -ruN tora_1.3.20.orig/toglobalsetting.cpp tora-1.3.20/toglobalsetting.cpp
--- tora_1.3.20.orig/toglobalsetting.cpp	2005-04-19 12:30:42.000000000 +0200
+++ tora-1.3.20/toglobalsetting.cpp	2006-02-11 13:23:54.000000000 +0100
@@ -84,7 +84,7 @@
     HistorySize->setValue(toTool::globalConfig(CONF_STATUS_SAVE,
                           DEFAULT_STATUS_SAVE).toInt());
     IncludeDB->setChecked(!toTool::globalConfig(CONF_DB_TITLE, "Yes").isEmpty());
-    MaximizeMain->setChecked(!toTool::globalConfig(CONF_MAXIMIZE_MAIN, "Yes").isEmpty());
+    MaximizeMain->setChecked(!toTool::globalConfig(CONF_MAXIMIZE_MAIN, "").isEmpty());
     Statusbar->setChecked(!toTool::globalConfig(CONF_MESSAGE_STATUSBAR, "").isEmpty());
     RestoreSession->setChecked(!toTool::globalConfig(CONF_RESTORE_SESSION, "").isEmpty());
     HelpDirectory->setText(toHelpPath());
diff --exclude debian -ruN tora_1.3.20.orig/tomain.cpp tora-1.3.20/tomain.cpp
--- tora_1.3.20.orig/tomain.cpp	2005-06-28 22:29:35.000000000 +0200
+++ tora-1.3.20/tomain.cpp	2006-02-11 13:24:17.000000000 +0100
@@ -484,7 +484,7 @@
         TOCATCH
     }
 
-    if (!toTool::globalConfig(CONF_MAXIMIZE_MAIN, "Yes").isEmpty() && Connections.empty() )
+    if (!toTool::globalConfig(CONF_MAXIMIZE_MAIN, "").isEmpty() && Connections.empty() )
         showMaximized();
     else
         show();