~ubuntu-branches/ubuntu/trusty/kvirc/trusty-proposed

« back to all changes in this revision

Viewing changes to src/kvirc/kvs/KviKvsCoreSimpleCommands_sz.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Kai Wasserbäch
  • Date: 2011-02-23 13:19:39 UTC
  • mfrom: (14.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20110223131939-fmb8l4arvgul8hy0
The "Cunning Advisor" release.

* Synced to upstream's SVN revision 5507.
* debian/kvirc-data.preinst: Removed. Upgrades from stable won't need it.
* debian/watch: Replace the "latest" part with "([\d\.]+)" to make us
  independent of the upstream symlink.
* debian/README.Debian:
  - Removed obsolete parts about Python and upgrades from 3.4.
  - Added notice about handling default script issues.
* debian/README.source: Updated for 4.1.1.
* debian/{compat,control,rules}: Updates for debhelper 8.
* debian/patches/10_fix_desktop_entry.patch: Refreshed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
149
149
                        !sw: -n | --new-context
150
150
                        Forces the connection to be attempted in a new IRC context (server window) instead of the current one.
151
151
 
 
152
                        !sw: -m | --minimized
 
153
                        If a new console window is created (due to -n or -u) then create it as minimized.
 
154
 
152
155
                        !sw: -p=<password:string> | --password=<password:string>
153
156
                        Uses <password> to login to the server (the password will be stored in the server
154
157
                        entry too).
223
226
                KVSCSC_PARAMETERS_END
224
227
 
225
228
                KviConsoleWindow * console = 0;
226
 
                if(KVSCSC_pSwitches->find('n',"new-context"))console = KVSCSC_pWindow->frame()->createNewConsole();
 
229
                if(KVSCSC_pSwitches->find('n',"new-context"))
 
230
                        console = KVSCSC_pWindow->frame()->createNewConsole(false,!KVSCSC_pSwitches->find('m',"minimized"));
227
231
                else {
228
232
                        if(KVSCSC_pSwitches->find('u',"unused-context"))
229
233
                        {
243
247
                                        console = KVSCSC_pWindow->frame()->firstNotConnectedConsole();
244
248
                                        if(!console)
245
249
                                        {
246
 
                                                console = KVSCSC_pWindow->frame()->createNewConsole();
 
250
                                                console = KVSCSC_pWindow->frame()->createNewConsole(false,!KVSCSC_pSwitches->find('m',"minimized"));
247
251
                                        }
248
252
                                }
249
253
                        } else console = KVSCSC_pWindow->console();