desktop/kde-workspace/07_always_show_kickoff_subtext.patch

59 lines
3.5 KiB
Diff
Raw Normal View History

2010-05-22 06:25:44 +08:00
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);