~ubuntu-branches/ubuntu/utopic/vlc/utopic

« back to all changes in this revision

Viewing changes to modules/gui/macosx/simple_prefs.m

  • Committer: Package Import Robot
  • Author(s): Benjamin Drung
  • Date: 2012-02-18 01:29:48 UTC
  • mfrom: (1.1.45) (3.5.32 sid)
  • Revision ID: package-import@ubuntu.com-20120218012948-tvq9nhnfi98kra44
Tags: 2.0.0-1
* New upstream release (Closes: #499381, #573064, #624027, LP: #455825,
  #573775, #695882, #705151, #708448, #738381, #743581, #747757, #817924,
  #931083).
* Remove dropped mozilla-plugin-vlc, vlc-plugin-ggi, and vlc-plugin-svgalib.
  The Mozilla browser plug-in is now provided by a separate source tarball.
* Add new plugins to and remove dropped plugins from vlc-nox.
* Add new and remove dropped build dependencies:
  + libbluray-dev (for Blu-ray support)
  + libresid-builder-dev
  + libsamplerate0-dev
  + libsidplay2-dev
  + lbspeexdsp-dev
  + libxcb-composite0-dev
  - libgtk2.0-dev
  - xulrunner-dev
* vlc-plugin-fluidsynth depends on fluid-soundfont-gm or
  musescore-soundfont-gm for having a sound font for playing MIDI files.
* Drop all patches (they were either backported or accepted by upstream).
* Update symbols for libvlc5.
* Install plugins.dat instead of running vlc-cache-gen in postinst.
* Update minimum version of build dependencies.
* Change Build-Dependency from libupnp3-dev to unversioned libupnp-dev.
  (Closes: #656831)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
* simple_prefs.m: Simple Preferences for Mac OS X
3
3
*****************************************************************************
4
4
* Copyright (C) 2008-2011 VLC authors and VideoLAN
5
 
* $Id: 1d838064ac7f85d3436a70e2695383a18ad095f7 $
 
5
* $Id: c19564ec2183eccdbeb0b27f93fbaec6ebea5c73 $
6
6
*
7
7
* Authors: Felix Paul Kühne <fkuehne at videolan dot org>
8
8
*
437
437
- (void)setupButton: (NSButton *)object forBoolValue: (const char *)name
438
438
{
439
439
    [object setState: config_GetInt( p_intf, name )];
440
 
    [object setToolTip: _NS(config_GetLabel( p_intf, name ) ?: "")];
 
440
 
 
441
    char * psz_label = config_GetLabel( p_intf, name );
 
442
    NSString * o_label;
 
443
 
 
444
    if (psz_label)
 
445
    {
 
446
        o_label = _NS(psz_label);
 
447
        free( psz_label );
 
448
    }
 
449
    else
 
450
        o_label = @"";
 
451
 
 
452
    [object setToolTip: o_label];
441
453
}
442
454
 
443
455
- (void)setupField:(NSTextField *)o_object forOption:(const char *)psz_option