wok rev 16713
sakura: add patch
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 29 10:48:34 2014 +0300 (2014-05-29) |
parents | 26a6bcd5604e |
children | 9cd79296bc67 |
files | sakura/stuff/sakura-icon.patch |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/sakura/stuff/sakura-icon.patch Thu May 29 10:48:34 2014 +0300 1.3 @@ -0,0 +1,20 @@ 1.4 +--- src/sakura.c.orig 1.5 ++++ src/sakura.c 1.6 +@@ -210,7 +210,7 @@ 1.7 + }; 1.8 + 1.9 + 1.10 +-#define ICON_FILE "terminal-tango.svg" 1.11 ++#define ICON_NAME "terminal" 1.12 + #define SCROLL_LINES 4096 1.13 + #define HTTP_REGEXP "(ftp|http)s?://[-a-zA-Z0-9.?$%&/=_~#.,:;+]*" 1.14 + #define CONFIGFILE "sakura.conf" 1.15 +@@ -1803,7 +1803,7 @@ 1.16 + 1.17 + sakura.main_window=gtk_window_new(GTK_WINDOW_TOPLEVEL); 1.18 + gtk_window_set_title(GTK_WINDOW(sakura.main_window), "sakura"); 1.19 +- gtk_window_set_icon_from_file(GTK_WINDOW(sakura.main_window), DATADIR "/pixmaps/" ICON_FILE, &gerror); 1.20 ++ gtk_window_set_icon_name(GTK_WINDOW(sakura.main_window), ICON_NAME); 1.21 + /* Default terminal size*/ 1.22 + sakura.columns = DEFAULT_COLUMNS; 1.23 + sakura.rows = DEFAULT_ROWS;