From b70d9695bb6a2d567b75965c0530792ad90c84a3 Mon Sep 17 00:00:00 2001 From: zautrix Date: Tue, 29 Mar 2005 18:35:10 +0000 Subject: icons --- diff --git a/bin/kdepim/kaddressbook/germantranslation.txt b/bin/kdepim/kaddressbook/germantranslation.txt index 6721d5f..30b4168 100644 --- a/bin/kdepim/kaddressbook/germantranslation.txt +++ b/bin/kdepim/kaddressbook/germantranslation.txt @@ -749,8 +749,8 @@ { "Change search field enable jump bar","Ändere Suchfeld um Jumpbar anzuzeigen" }, { "Search with '*' prefix (wildcard)","Suche mit '*' Prefix (Wildcard)" }, { "Shrink searchfield in portrait view","Verkleinere Suchfeld im Portraitmodus" }, -{ "","" }, -{ "","" }, +{ "Edit new contact","Bearbeite neuen Kontakt" }, +{ "Edit ","Bearbeite " }, { "","" }, { "","" }, { "","" }, diff --git a/bin/kdepim/kaddressbook/icons16/ic_family.png b/bin/kdepim/kaddressbook/icons16/ic_family.png new file mode 100644 index 0000000..6b0dec6 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons16/ic_family.png Binary files differ diff --git a/bin/kdepim/kaddressbook/icons16/ic_female.png b/bin/kdepim/kaddressbook/icons16/ic_female.png new file mode 100644 index 0000000..c427605 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons16/ic_female.png Binary files differ diff --git a/bin/kdepim/kaddressbook/icons16/ic_kids.png b/bin/kdepim/kaddressbook/icons16/ic_kids.png new file mode 100644 index 0000000..fdbdabc --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons16/ic_kids.png Binary files differ diff --git a/bin/kdepim/kaddressbook/icons16/ic_male.png b/bin/kdepim/kaddressbook/icons16/ic_male.png new file mode 100644 index 0000000..f22eaab --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons16/ic_male.png Binary files differ diff --git a/bin/kdepim/kaddressbook/icons16/ic_penguin.png b/bin/kdepim/kaddressbook/icons16/ic_penguin.png new file mode 100644 index 0000000..a78da37 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons16/ic_penguin.png Binary files differ diff --git a/bin/kdepim/kaddressbook/icons16/package_toys.png b/bin/kdepim/kaddressbook/icons16/package_toys.png deleted file mode 100644 index eea4fc7..0000000 --- a/bin/kdepim/kaddressbook/icons16/package_toys.png +++ b/dev/null Binary files differ diff --git a/bin/kdepim/kaddressbook/icons22/ic_family.png b/bin/kdepim/kaddressbook/icons22/ic_family.png new file mode 100644 index 0000000..6b0dec6 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/ic_family.png Binary files differ diff --git a/bin/kdepim/kaddressbook/icons22/ic_female.png b/bin/kdepim/kaddressbook/icons22/ic_female.png new file mode 100644 index 0000000..c427605 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/ic_female.png Binary files differ diff --git a/bin/kdepim/kaddressbook/icons22/ic_kids.png b/bin/kdepim/kaddressbook/icons22/ic_kids.png new file mode 100644 index 0000000..fdbdabc --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/ic_kids.png Binary files differ diff --git a/bin/kdepim/kaddressbook/icons22/ic_male.png b/bin/kdepim/kaddressbook/icons22/ic_male.png new file mode 100644 index 0000000..f22eaab --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/ic_male.png Binary files differ diff --git a/bin/kdepim/kaddressbook/icons22/ic_penguin.png b/bin/kdepim/kaddressbook/icons22/ic_penguin.png new file mode 100644 index 0000000..a78da37 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/ic_penguin.png Binary files differ diff --git a/bin/kdepim/kaddressbook/icons22/package_toys.png b/bin/kdepim/kaddressbook/icons22/package_toys.png deleted file mode 100644 index eea4fc7..0000000 --- a/bin/kdepim/kaddressbook/icons22/package_toys.png +++ b/dev/null Binary files differ diff --git a/kabc/addresseeview.cpp b/kabc/addresseeview.cpp index e85991e..8f104e0 100644 --- a/kabc/addresseeview.cpp +++ b/kabc/addresseeview.cpp @@ -252,16 +252,22 @@ void AddresseeView::setAddressee( const KABC::Addressee& mAddressee ) picAvailUrl = !picture.isIntern() && QFile::exists(picture.url() ); } if ( picAvailUrl || picAvailintern || QApplication::desktop()->width() > 320 ) { + picString = ""; if ( picAvailintern ) { QMimeSourceFactory::defaultFactory()->setImage( "myimage", picture.data() ); } else { if ( picAvailUrl ) { QMimeSourceFactory::defaultFactory()->setPixmap( "myimage", QPixmap( picture.url() )); } else { - QMimeSourceFactory::defaultFactory()->setPixmap( "myimage", KGlobal::iconLoader()->loadIcon( "package_toys", KIcon::Desktop, 128 ) ); + static bool setDefaultImage = false; + if ( !setDefaultImage ) { + qDebug("Setting default pixmap "); + QMimeSourceFactory::defaultFactory()->setPixmap( "defaultPenguin", KGlobal::iconLoader()->loadIcon( "package_toys", KIcon::Desktop, 128 ) ); + setDefaultImage = true; + } + picString = ""; } } - picString = ""; mText = QString::fromLatin1( "" "" // text and background color diff --git a/kaddressbook/addresseeeditordialog.cpp b/kaddressbook/addresseeeditordialog.cpp index a84fc61..b5a60f2 100644 --- a/kaddressbook/addresseeeditordialog.cpp +++ b/kaddressbook/addresseeeditordialog.cpp @@ -67,7 +67,7 @@ void AddresseeEditorDialog::setAddressee( const KABC::Addressee &addr ) mEditorWidget->setAddressee( addr ); - this->setCaption("Edit " + addr.formattedName()); + this->setCaption(i18n ("Edit ") + addr.formattedName()); } KABC::Addressee AddresseeEditorDialog::addressee() diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index 3f9b546..e1a490d 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp @@ -1260,6 +1260,7 @@ void KABCore::newContact() KABC::Addressee addr; addr.setResource( resource ); mEditorDialog->setAddressee( addr ); + mEditorDialog->setCaption( i18n("Edit new contact")); KApplication::execDialog ( mEditorDialog ); } else diff --git a/korganizer/koviewmanager.cpp b/korganizer/koviewmanager.cpp index 8752636..53cd011 100644 --- a/korganizer/koviewmanager.cpp +++ b/korganizer/koviewmanager.cpp @@ -260,7 +260,7 @@ void KOViewManager::showNextView() if ( KOPrefs::instance()->mShowIconList ) { showListView() ;return ;} - if ( KOPrefs::instance()->mShowIconTodoview ) { showTodoView() ;return ;} + //if ( KOPrefs::instance()->mShowIconTodoview ) { showTodoView() ;return ;} -- cgit v0.9.0.2