wok-6.x view sakura/stuff/sakura-icon.patch @ rev 18664
Up tazpkg(881)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 04 03:41:51 2015 +0200 (2015-12-04) |
parents | |
children | 6775c03ff541 |
line source
1 --- src/sakura.c.orig
2 +++ src/sakura.c
3 @@ -210,7 +210,7 @@
4 };
7 -#define ICON_FILE "terminal-tango.svg"
8 +#define ICON_NAME "terminal"
9 #define SCROLL_LINES 4096
10 #define HTTP_REGEXP "(ftp|http)s?://[-a-zA-Z0-9.?$%&/=_~#.,:;+]*"
11 #define CONFIGFILE "sakura.conf"
12 @@ -1803,7 +1803,7 @@
14 sakura.main_window=gtk_window_new(GTK_WINDOW_TOPLEVEL);
15 gtk_window_set_title(GTK_WINDOW(sakura.main_window), "sakura");
16 - gtk_window_set_icon_from_file(GTK_WINDOW(sakura.main_window), DATADIR "/pixmaps/" ICON_FILE, &gerror);
17 + gtk_window_set_icon_name(GTK_WINDOW(sakura.main_window), ICON_NAME);
18 /* Default terminal size*/
19 sakura.columns = DEFAULT_COLUMNS;
20 sakura.rows = DEFAULT_ROWS;