mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
59 lines
3.5 KiB
Diff
59 lines
3.5 KiB
Diff
Index: kdebase-workspace-4.2.0/plasma/applets/kickoff/ui/launcher.cpp
|
|
===================================================================
|
|
--- kdebase-workspace-4.2.0.orig/plasma/desktop/applets/kickoff/ui/launcher.cpp 2009-01-01 11:26:06.000000000 -0500
|
|
+++ kdebase-workspace-4.2.0/plasma/desktop/applets/kickoff/ui/launcher.cpp 2009-01-24 19:48:30.000000000 -0500
|
|
@@ -153,7 +153,7 @@
|
|
UrlItemView *view = new UrlItemView();
|
|
ItemDelegate *delegate = new ItemDelegate(q);
|
|
delegate->setRoleMapping(Plasma::Delegate::SubTitleRole, SubTitleRole);
|
|
- delegate->setRoleMapping(Plasma::Delegate::SubTitleMandatoryRole, SubTitleMandatoryRole);
|
|
+ //delegate->setRoleMapping(Plasma::Delegate::SubTitleMandatoryRole, SubTitleMandatoryRole);
|
|
view->setItemDelegate(delegate);
|
|
view->setItemStateProvider(delegate);
|
|
addView(i18n("Leave"), KIcon("system-shutdown"), leaveModel, view);
|
|
@@ -164,7 +164,7 @@
|
|
UrlItemView *view = new UrlItemView();
|
|
ItemDelegate *delegate = new ItemDelegate(q);
|
|
delegate->setRoleMapping(Plasma::Delegate::SubTitleRole, SubTitleRole);
|
|
- delegate->setRoleMapping(Plasma::Delegate::SubTitleMandatoryRole, SubTitleMandatoryRole);
|
|
+ //delegate->setRoleMapping(Plasma::Delegate::SubTitleMandatoryRole, SubTitleMandatoryRole);
|
|
view->setItemDelegate(delegate);
|
|
view->setItemStateProvider(delegate);
|
|
addView(i18n("Favorites"), KIcon("bookmarks"), model, view);
|
|
@@ -193,7 +193,7 @@
|
|
applicationView = new FlipScrollView();
|
|
ItemDelegate *delegate = new ItemDelegate(q);
|
|
delegate->setRoleMapping(Plasma::Delegate::SubTitleRole, SubTitleRole);
|
|
- delegate->setRoleMapping(Plasma::Delegate::SubTitleMandatoryRole, SubTitleMandatoryRole);
|
|
+ //delegate->setRoleMapping(Plasma::Delegate::SubTitleMandatoryRole, SubTitleMandatoryRole);
|
|
applicationView->setItemDelegate(delegate);
|
|
|
|
addView(i18n("Applications"), KIcon("applications-other"),
|
|
@@ -205,7 +205,7 @@
|
|
UrlItemView *view = new UrlItemView();
|
|
ItemDelegate *delegate = new ItemDelegate(q);
|
|
delegate->setRoleMapping(Plasma::Delegate::SubTitleRole, SubTitleRole);
|
|
- delegate->setRoleMapping(Plasma::Delegate::SubTitleMandatoryRole, SubTitleMandatoryRole);
|
|
+ //delegate->setRoleMapping(Plasma::Delegate::SubTitleMandatoryRole, SubTitleMandatoryRole);
|
|
view->setItemDelegate(delegate);
|
|
view->setItemStateProvider(delegate);
|
|
addView(i18n("Recently Used"), KIcon("document-open-recent"), model, view);
|
|
@@ -224,7 +224,7 @@
|
|
UrlItemView *view = new UrlItemView();
|
|
ItemDelegate *delegate = new ItemDelegate(q);
|
|
delegate->setRoleMapping(Plasma::Delegate::SubTitleRole, SubTitleRole);
|
|
- delegate->setRoleMapping(Plasma::Delegate::SubTitleMandatoryRole, SubTitleMandatoryRole);
|
|
+ //delegate->setRoleMapping(Plasma::Delegate::SubTitleMandatoryRole, SubTitleMandatoryRole);
|
|
view->setItemDelegate(delegate);
|
|
view->setItemStateProvider(delegate);
|
|
|
|
@@ -236,7 +236,7 @@
|
|
UrlItemView *view = new UrlItemView();
|
|
ItemDelegate *delegate = new ItemDelegate(q);
|
|
delegate->setRoleMapping(Plasma::Delegate::SubTitleRole, SubTitleRole);
|
|
- delegate->setRoleMapping(Plasma::Delegate::SubTitleMandatoryRole, SubTitleMandatoryRole);
|
|
+ //delegate->setRoleMapping(Plasma::Delegate::SubTitleMandatoryRole, SubTitleMandatoryRole);
|
|
view->setItemDelegate(delegate);
|
|
view->setItemStateProvider(delegate);
|
|
view->setModel(searchModel);
|