- Fix missing Gtk stock icons
- Bump PORTREVISION
This commit is contained in:
parent
b01fef6950
commit
78b38367f2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=380779
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= dashboard
|
||||
PORTVERSION= 0.2.3
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= x11 xfce
|
||||
MASTER_SITES= http://xfdashboard.froevel.de/releases/
|
||||
PKGNAMEPREFIX= xfce4-
|
||||
@ -28,4 +28,8 @@ USE_XORG= x11 xcomposite xdamage
|
||||
USE_GL= gl
|
||||
INSTALLS_ICONS= yes
|
||||
|
||||
post-patch:
|
||||
${FIND} ${WRKSRC}/data/themes -type f -name '*.css' \
|
||||
| ${XARGS} ${REINPLACE_CMD} -i "" 's|gtk-home|go-home|'
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
11
x11/xfce4-dashboard/files/patch-src_applications-view.c
Normal file
11
x11/xfce4-dashboard/files/patch-src_applications-view.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/applications-view.c.orig 2014-08-26 15:48:00 UTC
|
||||
+++ src/applications-view.c
|
||||
@@ -949,7 +949,7 @@ static void xfdashboard_applications_vie
|
||||
/* Set up view */
|
||||
xfdashboard_view_set_internal_name(XFDASHBOARD_VIEW(self), "applications");
|
||||
xfdashboard_view_set_name(XFDASHBOARD_VIEW(self), _("Applications"));
|
||||
- xfdashboard_view_set_icon(XFDASHBOARD_VIEW(self), GTK_STOCK_HOME);
|
||||
+ xfdashboard_view_set_icon(XFDASHBOARD_VIEW(self), "go-home");
|
||||
|
||||
/* Set up actor */
|
||||
xfdashboard_actor_set_can_focus(XFDASHBOARD_ACTOR(self), TRUE);
|
11
x11/xfce4-dashboard/files/patch-src_search-view.c
Normal file
11
x11/xfce4-dashboard/files/patch-src_search-view.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/search-view.c.orig 2014-08-26 15:48:00 UTC
|
||||
+++ src/search-view.c
|
||||
@@ -1052,7 +1052,7 @@ static void xfdashboard_search_view_init
|
||||
/* Set up view (Note: Search view is disabled by default!) */
|
||||
xfdashboard_view_set_internal_name(XFDASHBOARD_VIEW(self), "search");
|
||||
xfdashboard_view_set_name(XFDASHBOARD_VIEW(self), _("Search"));
|
||||
- xfdashboard_view_set_icon(XFDASHBOARD_VIEW(self), GTK_STOCK_FIND);
|
||||
+ xfdashboard_view_set_icon(XFDASHBOARD_VIEW(self), "edit-find");
|
||||
xfdashboard_view_set_enabled(XFDASHBOARD_VIEW(self), FALSE);
|
||||
|
||||
/* Set up actor */
|
11
x11/xfce4-dashboard/files/patch-src_windows-view.c
Normal file
11
x11/xfce4-dashboard/files/patch-src_windows-view.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/windows-view.c.orig 2014-08-26 15:48:01 UTC
|
||||
+++ src/windows-view.c
|
||||
@@ -87,7 +87,7 @@ static XfdashboardLiveWindow* _xfdashboa
|
||||
static void _xfdashboard_windows_view_set_active_workspace(XfdashboardWindowsView *self, XfdashboardWindowTrackerWorkspace *inWorkspace);
|
||||
|
||||
/* IMPLEMENTATION: Private variables and methods */
|
||||
-#define DEFAULT_VIEW_ICON GTK_STOCK_FULLSCREEN
|
||||
+#define DEFAULT_VIEW_ICON "view-fullscreen"
|
||||
#define DEFAULT_DRAG_HANDLE_SIZE 32.0f
|
||||
|
||||
/* Check if window should be shown */
|
Loading…
Reference in New Issue
Block a user