summaryrefslogtreecommitdiff
authoreilers <eilers>2003-08-01 13:57:54 (UTC)
committer eilers <eilers>2003-08-01 13:57:54 (UTC)
commit5346424fc26bde232a15aa34fbb720f86218b26f (patch) (side-by-side diff)
treeb6ce224b1fb517e8b31db1b9e0ef30cf539f6f6f
parent307b353d11842b0994827e4130b48386454b3f94 (diff)
downloadopie-5346424fc26bde232a15aa34fbb720f86218b26f.zip
opie-5346424fc26bde232a15aa34fbb720f86218b26f.tar.gz
opie-5346424fc26bde232a15aa34fbb720f86218b26f.tar.bz2
Icon bug.. fixed.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/addressbook.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/pim/addressbook/addressbook.cpp b/core/pim/addressbook/addressbook.cpp
index 6819085..03c96c8 100644
--- a/core/pim/addressbook/addressbook.cpp
+++ b/core/pim/addressbook/addressbook.cpp
@@ -1001,57 +1001,57 @@ void AddressbookWindow::slotViewSwitched( int view )
// Tell the view about the selected view
m_abView -> setShowToView ( (AbView::Views) view );
active_view = view;
}
void AddressbookWindow::slotListView()
{
slotViewSwitched( AbView::TableView );
}
void AddressbookWindow::slotCardView()
{
slotViewSwitched( AbView::CardView );
}
void AddressbookWindow::slotSetLetter( char c ) {
m_abView->setShowByLetter( c, m_config.letterPickerSearch() );
}
void AddressbookWindow::populateCategories()
{
catMenu->clear();
int id, rememberId;
id = 1;
rememberId = 0;
- catMenu->insertItem( Resource::loadPixmap( "datebook/weeklst" ), tr( "List" ), id++ );
- catMenu->insertItem( Resource::loadPixmap( "day" ), tr( "Cards" ), id++ );
+ catMenu->insertItem( Resource::loadPixmap( "addressbook/listview" ), tr( "List" ), id++ );
+ catMenu->insertItem( Resource::loadPixmap( "addressbook/cardview" ), tr( "Cards" ), id++ );
// catMenu->insertItem( tr( "Personal" ), id++ );
catMenu->insertSeparator();
catMenu->insertItem( tr( "All" ), id++ );
QStringList categories = m_abView->categories();
categories.append( tr( "Unfiled" ) );
for ( QStringList::Iterator it = categories.begin();
it != categories.end(); ++it ) {
catMenu->insertItem( *it, id );
if ( *it == m_abView -> showCategory() )
rememberId = id;
++id;
}
if ( m_abView -> showCategory().isEmpty() ) {
slotSetCategory( 3 );
}
else {
slotSetCategory( rememberId );
}
}