diff options
author | Olivier Duchateau <olivierd@FreeBSD.org> | 2015-04-07 16:23:17 +0000 |
---|---|---|
committer | Olivier Duchateau <olivierd@FreeBSD.org> | 2015-04-07 16:23:17 +0000 |
commit | 71bb568c18ea0f9b294400a8a628a1472413c2a0 (patch) | |
tree | f8ae89cf49a170144f584fdd3d7e711f8ece4134 /x11 | |
parent | 49b322725c7e692b0afa10636508a466728b13dc (diff) | |
download | ports-71bb568c18ea0f9b294400a8a628a1472413c2a0.tar.gz ports-71bb568c18ea0f9b294400a8a628a1472413c2a0.zip |
Notes
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xfce4-taskmanager/Makefile | 1 | ||||
-rw-r--r-- | x11/xfce4-taskmanager/files/patch-src__exec-tool-button.c | 39 |
2 files changed, 32 insertions, 8 deletions
diff --git a/x11/xfce4-taskmanager/Makefile b/x11/xfce4-taskmanager/Makefile index 559696efae38..923bc93c5ee6 100644 --- a/x11/xfce4-taskmanager/Makefile +++ b/x11/xfce4-taskmanager/Makefile @@ -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} diff --git a/x11/xfce4-taskmanager/files/patch-src__exec-tool-button.c b/x11/xfce4-taskmanager/files/patch-src__exec-tool-button.c index 56e32f07155c..e532876d6940 100644 --- a/x11/xfce4-taskmanager/files/patch-src__exec-tool-button.c +++ b/x11/xfce4-taskmanager/files/patch-src__exec-tool-button.c @@ -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); + |