Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37504356
en ru br
Репозитории ALT

Группа :: Графические оболочки/KDE
Пакет: kde5-ktp-contact-list

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: alt-def-dont-group.patch
Скачать


--- a/main-widget.cpp~	2016-01-21 16:11:17.000000000 +0300
+++ b/main-widget.cpp	2016-01-28 14:32:38.614000000 +0300
@@ -148,7 +148,7 @@ MainWidget::MainWidget(QWidget *parent)
     bool sortByPresence = guiConfigGroup.readEntry("sort_by_presence", true);
     m_sortByPresenceAction->setActive(sortByPresence);
 
-    bool useGroups = guiConfigGroup.readEntry("use_groups", true);
+    bool useGroups = guiConfigGroup.readEntry("use_groups", false);
     m_contactsListView->toggleGroups(useGroups);
     m_contactsListView->toggleOfflineContacts(showOffline);
     m_contactsListView->toggleSortByPresence(sortByPresence);
@@ -568,7 +568,7 @@ void MainWidget::setupActions(const KCon
     m_groupContactsActionGroup = new QActionGroup(this);
     m_groupContactsActionGroup->setExclusive(true);
     m_groupContactsActionGroup->addAction(createAction(i18n("Show Contacts by Groups"), m_contactsListView, SLOT(showGrouped()),
-                                          guiConfigGroup.readEntry("use_groups", true)));
+                                          guiConfigGroup.readEntry("use_groups", false)));
     QString useGroupsDisabledText;
     if (KTp::kpeopleEnabled()) {
         useGroupsDisabledText = i18n("Do Not Group");
@@ -577,7 +577,7 @@ void MainWidget::setupActions(const KCon
         useGroupsDisabledText = i18n("Show Contacts by Accounts");
     }
     m_groupContactsActionGroup->addAction(createAction(useGroupsDisabledText, m_contactsListView, SLOT(showUngrouped()),
-                                          ! guiConfigGroup.readEntry("use_groups", true)));
+                                          ! guiConfigGroup.readEntry("use_groups", false)));
 
     m_showOfflineAction = new KDualAction(i18n("Show Offline Contacts"),
                                           i18n("Hide Offline Contacts"),
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin