wok view sakura/stuff/sakura-icon.patch @ rev 17869
Use VERSION variable
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 26 09:34:19 2015 +0100 (2015-03-26) |
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;