Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Apr 2015 16:23:18 +0000 (UTC)
From:      Olivier Duchateau <olivierd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r383521 - in head/x11/xfce4-taskmanager: . files
Message-ID:  <201504071623.t37GNIcI015892@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olivierd
Date: Tue Apr  7 16:23:17 2015
New Revision: 383521
URL: https://svnweb.freebsd.org/changeset/ports/383521

Log:
  - Replace missing icons ('gtk-execute', and 'terminal') by their equivalent
  in Adwaita icons theme (it's default icons theme)
  - Bump PORTREVISION

Modified:
  head/x11/xfce4-taskmanager/Makefile
  head/x11/xfce4-taskmanager/files/patch-src__exec-tool-button.c

Modified: head/x11/xfce4-taskmanager/Makefile
==============================================================================
--- head/x11/xfce4-taskmanager/Makefile	Tue Apr  7 16:17:05 2015	(r383520)
+++ head/x11/xfce4-taskmanager/Makefile	Tue Apr  7 16:23:17 2015	(r383521)
@@ -3,6 +3,7 @@
 
 PORTNAME=	xfce4-taskmanager
 PORTVERSION=	1.1.0
+PORTREVISION=	1
 CATEGORIES=	x11 xfce
 MASTER_SITES=	${MASTER_SITE_XFCE}
 MASTER_SITE_SUBDIR=	src/apps/${PORTNAME}/${PORTVERSION:R}

Modified: head/x11/xfce4-taskmanager/files/patch-src__exec-tool-button.c
==============================================================================
--- head/x11/xfce4-taskmanager/files/patch-src__exec-tool-button.c	Tue Apr  7 16:17:05 2015	(r383520)
+++ head/x11/xfce4-taskmanager/files/patch-src__exec-tool-button.c	Tue Apr  7 16:23:17 2015	(r383521)
@@ -1,14 +1,37 @@
-Use generic icon to avoid menu item without icon (especially with GNOME icons
-theme).
-
---- ./src/exec-tool-button.c.orig	2014-01-08 18:42:02.000000000 +0000
-+++ ./src/exec-tool-button.c	2014-01-08 21:43:47.000000000 +0000
-@@ -179,7 +179,7 @@
- 		menu_append_item (GTK_MENU (menu), _("Run Program..."), "gexec", "gtk-execute");
+--- src/exec-tool-button.c.orig	2014-12-23 21:35:43 UTC
++++ src/exec-tool-button.c
+@@ -51,7 +51,7 @@ xtm_exec_tool_button_init (XtmExecToolBu
+ {
+ 	GtkWidget *menu;
+ 
+-	gtk_tool_button_set_icon_name (GTK_TOOL_BUTTON (button), "gtk-execute");
++	gtk_tool_button_set_icon_name (GTK_TOOL_BUTTON (button), "system-run");
+ 	gtk_tool_button_set_use_underline (GTK_TOOL_BUTTON (button), TRUE);
+ 
+ 	menu = construct_menu ();
+@@ -189,19 +189,19 @@ construct_menu (void)
+ 
+ 	/* Find a runner program */
+ 	if (program_exists ("xfrun4"))
+-		menu_append_item (GTK_MENU (menu), _("Run Program..."), "xfrun4", "gtk-execute");
++		menu_append_item (GTK_MENU (menu), _("Run Program..."), "xfrun4", "system-run");
+ 	else if (program_exists ("gmrun"))
+-		menu_append_item (GTK_MENU (menu), _("Run Program..."), "gmrun", "gtk-execute");
++		menu_append_item (GTK_MENU (menu), _("Run Program..."), "gmrun", "system-run");
+ 	else if (program_exists ("gexec"))
+-		menu_append_item (GTK_MENU (menu), _("Run Program..."), "gexec", "gtk-execute");
++		menu_append_item (GTK_MENU (menu), _("Run Program..."), "gexec", "system-run");
  	/* Find an applications-listing program */
  	if (program_exists ("xfce4-appfinder"))
 -		menu_append_item (GTK_MENU (menu), _("Application Finder"), "xfce4-appfinder", "xfce4-appfinder");
 +		menu_append_item (GTK_MENU (menu), _("Application Finder"), "xfce4-appfinder", "utilities-system-monitor");
  	/* Find a terminal emulator */
  	if (program_exists ("exo-open"))
- 		menu_append_item (GTK_MENU (menu), _("Terminal emulator"), "exo-open --launch TerminalEmulator", "terminal");
+-		menu_append_item (GTK_MENU (menu), _("Terminal emulator"), "exo-open --launch TerminalEmulator", "terminal");
++		menu_append_item (GTK_MENU (menu), _("Terminal emulator"), "exo-open --launch TerminalEmulator", "utilities-terminal");
+ 	else if (program_exists ("xterm"))
+-		menu_append_item (GTK_MENU (menu), _("XTerm"), "xterm -fg grey -bg black", "terminal");
++		menu_append_item (GTK_MENU (menu), _("XTerm"), "xterm -fg grey -bg black", "utilities-terminal");
+ 
+ 	gtk_widget_show_all (menu);
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504071623.t37GNIcI015892>