Ignore:
Timestamp:
Mar 15, 2010, 2:42:43 PM (12 years ago)
Author:
charles
Message:

(trunk, gtk) rename the slightly-pejorative "minimal view" as "compact view"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/tr-window.c

    r10380 r10383  
    178178    PrivateData * p = get_private_data( GTK_WINDOW( wind ) );
    179179
    180     if( !strcmp( key, PREF_KEY_MINIMAL_VIEW ) )
    181     {
    182         g_object_set( p->renderer, "minimal", pref_flag_get( key ), NULL );
     180    if( !strcmp( key, PREF_KEY_COMPACT_VIEW ) )
     181    {
     182        g_object_set( p->renderer, "compact", pref_flag_get( key ), NULL );
    183183        /* since the cell size has changed, we need gtktreeview to revalidate
    184184         * its fixed-height mode values.  Unfortunately there's not an API call
     
    749749    /* listen for prefs changes that affect the window */
    750750    p->core = core;
    751     prefsChanged( core, PREF_KEY_MINIMAL_VIEW, self );
     751    prefsChanged( core, PREF_KEY_COMPACT_VIEW, self );
    752752    prefsChanged( core, PREF_KEY_FILTERBAR, self );
    753753    prefsChanged( core, PREF_KEY_STATUSBAR, self );
Note: See TracChangeset for help on using the changeset viewer.