Changeset 10384


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

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

Location:
trunk/qt
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/mainwin.cc

    r9890 r10384  
    137137    connect( ui.action_Filterbar, SIGNAL(toggled(bool)), this, SLOT(setFilterbarVisible(bool)));
    138138    connect( ui.action_Statusbar, SIGNAL(toggled(bool)), this, SLOT(setStatusbarVisible(bool)));
    139     connect( ui.action_MinimalView, SIGNAL(toggled(bool)), this, SLOT(setMinimalView(bool)));
     139    connect( ui.action_CompactView, SIGNAL(toggled(bool)), this, SLOT(setCompactView(bool)));
    140140    connect( ui.action_SortByActivity, SIGNAL(toggled(bool)), this, SLOT(onSortByActivityToggled(bool)));
    141141    connect( ui.action_SortByAge,      SIGNAL(toggled(bool)), this, SLOT(onSortByAgeToggled(bool)));
     
    260260             << Prefs :: TOOLBAR
    261261             << Prefs :: ALT_SPEED_LIMIT_ENABLED
    262              << Prefs :: MINIMAL_VIEW
     262             << Prefs :: COMPACT_VIEW
    263263             << Prefs :: DSPEED
    264264             << Prefs :: DSPEED_ENABLED
     
    887887
    888888void
    889 TrMainWindow :: setMinimalView( bool visible )
    890 {
    891     myPrefs.set( Prefs :: MINIMAL_VIEW, visible );
     889TrMainWindow :: setCompactView( bool visible )
     890{
     891    myPrefs.set( Prefs :: COMPACT_VIEW, visible );
    892892}
    893893void
     
    10391039            break;
    10401040
    1041         case Prefs::MINIMAL_VIEW:
     1041        case Prefs::COMPACT_VIEW:
    10421042            b = myPrefs.getBool( key );
    1043             ui.action_MinimalView->setChecked( b );
     1043            ui.action_CompactView->setChecked( b );
    10441044            ui.listView->setItemDelegate( b ? myTorrentDelegateMin : myTorrentDelegate );
    10451045            ui.listView->reset( ); // force the rows to resize
  • trunk/qt/mainwin.h

    r9868 r10384  
    185185        void setStatusbarVisible( bool );
    186186        void setTrayIconVisible( bool );
    187         void setMinimalView( bool );
     187        void setCompactView( bool );
    188188        void refreshActionSensitivity( );
    189189        void wrongAuthentication( );
  • trunk/qt/mainwin.ui

    r9663 r10384  
    5252     <y>0</y>
    5353     <width>792</width>
    54      <height>25</height>
     54     <height>23</height>
    5555    </rect>
    5656   </property>
     
    104104     <string>&amp;View</string>
    105105    </property>
    106     <addaction name="action_MinimalView"/>
     106    <addaction name="action_CompactView"/>
    107107    <addaction name="separator"/>
    108108    <addaction name="action_Toolbar"/>
     
    320320   </property>
    321321  </action>
    322   <action name="action_MinimalView">
    323    <property name="checkable">
    324     <bool>true</bool>
    325    </property>
    326    <property name="text">
    327     <string>&amp;Minimal View</string>
     322  <action name="action_CompactView">
     323   <property name="checkable">
     324    <bool>true</bool>
     325   </property>
     326   <property name="text">
     327    <string>&amp;Compact View</string>
     328   </property>
     329   <property name="iconText">
     330    <string>Compact View</string>
     331   </property>
     332   <property name="toolTip">
     333    <string>Compact View</string>
    328334   </property>
    329335   <property name="shortcut">
  • trunk/qt/prefs.cc

    r10065 r10384  
    4444    { SORT_MODE, "sort-mode", TrTypes::SortModeType },
    4545    { SORT_REVERSED, "sort-reversed", QVariant::Bool },
    46     { MINIMAL_VIEW, "minimal-view", QVariant::Bool },
     46    { COMPACT_VIEW, "compact-view", QVariant::Bool },
    4747    { FILTERBAR, "show-filterbar", QVariant::Bool },
    4848    { STATUSBAR, "show-statusbar", QVariant::Bool },
     
    257257    tr_bencDictAddStr( d, keyStr(SORT_MODE), "sort-by-name" );
    258258    tr_bencDictAddInt( d, keyStr(SORT_REVERSED), false );
    259     tr_bencDictAddInt( d, keyStr(MINIMAL_VIEW), false );
     259    tr_bencDictAddInt( d, keyStr(COMPACT_VIEW), false );
    260260    tr_bencDictAddInt( d, keyStr(START), true );
    261261    tr_bencDictAddInt( d, keyStr(TRASH_ORIGINAL), false );
  • trunk/qt/prefs.h

    r10065 r10384  
    4747            SORT_MODE,
    4848            SORT_REVERSED,
    49             MINIMAL_VIEW,
     49            COMPACT_VIEW,
    5050            FILTERBAR,
    5151            STATUSBAR,
Note: See TracChangeset for help on using the changeset viewer.