bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #20884] NSCell issue


From: Enrico Sersale
Subject: [bug #20884] NSCell issue
Date: Mon, 27 Aug 2007 10:17:14 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.9) Gecko/20070207 Fedora/1.0.7-0.6.1.fc6 pango-text SeaMonkey/1.0.7

Follow-up Comment #2, bug #20884 (project gnustep):

Regarding the last known good state, as I said, I can't be more precise
because I was on vacation. The only thing I can say is that till one month ago
it surely worked as expected.

The checkbox is in an old gorm file of the GWorkspace preferences, that is,
GWorkspace/Resources/English.lproj/IconsPref.gorm, but all the gorm files that
use checkbox NSButtons are affected.

The full code hasn't anything different from the example I've already posted
but... here it is:

- (IBAction)setUnsetThumbnails:(id)sender
{
  NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; 
  int state = [sender state];

  [defaults setBool: ((state == NSOnState) ? YES : NO) 
             forKey: @"usesthumbnails"];
  [defaults synchronize];  
  
  [gw setUsesThumbnails: (state == NSOnState)];
}


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?20884>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]