Go to the FreeLists Home Page Home Signup Help Login
 



[haiku-development] || [Date Prev] [06-2007 Date Index] [Date Next] || [Thread Prev] [06-2007 Thread Index] [Thread Next]

[haiku-development] patch to not allow quitting the registrar from the shutdown window

  • From: "Jonas Sundström" <jonas@xxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 03 Jun 2007 19:34:15 +0200 CEST
It's currently possible to quit the registrar during or after the
shutdown process, by pressing Command-Q.

/Jonas.


Index: /Source/Haiku/haiku/src/servers/registrar/ShutdownProcess.cpp
===================================================================
--- /Source/Haiku/haiku/src/servers/registrar/ShutdownProcess.cpp       
(revision 21306)
+++ /Source/Haiku/haiku/src/servers/registrar/ShutdownProcess.cpp       
(working copy)
@@ -235,6 +235,11 @@
                for (int32 i = 0; AppInfo *info = 
(AppInfo*)fAppInfos.ItemAt(i); i++)
                        delete info;
        }
+       
+       virtual bool QuitRequested()
+       {
+               return false;
+       }
 
        status_t Init(BMessenger target)
        {




[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.