public inbox for gentoo-soc@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-soc] Patch and introduction
@ 2010-04-08 17:43 Peter Hedman
  2010-04-08 18:39 ` [gentoo-soc] introduction, and bug fixes EBo
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Hedman @ 2010-04-08 17:43 UTC (permalink / raw
  To: gentoo-soc


[-- Attachment #1.1: Type: text/plain, Size: 274 bytes --]

Hi guys!

Seems like I've forgotten about the introduction part =]

Anyway I've been poking around the Kuroo code and would like to continue
doing that for the summer.

I'm attaching a completely unnecessary patch that should save a few lines of
code.

Regards
Peter Hedman

[-- Attachment #1.2: Type: text/html, Size: 320 bytes --]

[-- Attachment #2: thephogchanges.diff --]
[-- Type: text/x-patch, Size: 1410 bytes --]

Only in backuptrunk/src: #kuroo.cpp#
diff -cr backuptrunk/src/kuroo.cpp trunk/src/kuroo.cpp
*** backuptrunk/src/kuroo.cpp	2010-04-08 19:53:04.000000000 +0300
--- trunk/src/kuroo.cpp	2010-04-08 19:57:21.000000000 +0300
***************
*** 157,173 ****
   */
  void Kuroo::slotBusy()
  {
! 	if ( SignalistSingleton::Instance()->isKurooBusy() || EmergeSingleton::Instance()->isRunning() ) {
! 		actionRefreshPortage->setEnabled( false );
! 		actionRefreshUpdates->setEnabled( false );
  	}
! 	else {
! 		actionRefreshPortage->setEnabled( true );
! 		actionRefreshUpdates->setEnabled( true );
  
- 		// Make sure progressbar is stopped!
- 		KurooStatusBar::instance()->stopTimer();
- 	}
  
  	if ( EmergeSingleton::Instance()->isRunning() || SignalistSingleton::Instance()->isKurooBusy() ||
  		 !KUser().isSuperUser() || KurooDBSingleton::Instance()->isPortageEmpty() ) {
--- 157,170 ----
   */
  void Kuroo::slotBusy()
  {
! 	// thephog was here!
! 	bool isBusy = (SignalistSingleton::Instance()->isKurooBusy() || EmergeSingleton::Instance()->isRunning());
! 	if ( !isBusy ) {
! 		KurooStatusBar::instance()->stopTimer();		
  	}
! 	actionRefreshPortage->setEnabled( isBusy );
! 	actionRefreshUpdates->setEnabled( isBusy );
  
  
  	if ( EmergeSingleton::Instance()->isRunning() || SignalistSingleton::Instance()->isKurooBusy() ||
  		 !KUser().isSuperUser() || KurooDBSingleton::Instance()->isPortageEmpty() ) {

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-soc] introduction, and bug fixes
  2010-04-08 17:43 [gentoo-soc] Patch and introduction Peter Hedman
@ 2010-04-08 18:39 ` EBo
  0 siblings, 0 replies; 2+ messages in thread
From: EBo @ 2010-04-08 18:39 UTC (permalink / raw
  To: gentoo-soc


It has been such a wild ride these last two weeks that I cannot remember if I
posted introductions and the patch.  I do remember that I posted a query to
#gentoo-soc if making a moc patch was necessary or if I could refer to real
patches and diffs previously submitted, and they said that should be
sufficient.  Just checking...

  glendix-source (now on Sunrise) #303153
  plan9port updates (read the last couple of posts) #273890

Hope that helps.

  EBo --




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-08 18:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-08 17:43 [gentoo-soc] Patch and introduction Peter Hedman
2010-04-08 18:39 ` [gentoo-soc] introduction, and bug fixes EBo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox