wok-current view sakura/stuff/sakura-icon.patch @ rev 20253
mixxx: force 32 bits arch (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 12 22:07:54 2018 +0100 (2018-03-12) |
parents | b00dca9c0ddd |
children |
line source
1 Set Freedesktop standard icon
3 --- a/src/sakura.c
4 +++ b/src/sakura.c
5 @@ -210,7 +210,7 @@
6 };
9 -#define ICON_FILE "terminal-tango.svg"
10 +#define ICON_NAME "utilities-terminal"
11 #define SCROLL_LINES 4096
12 #define HTTP_REGEXP "(ftp|http)s?://[-a-zA-Z0-9.?$%&/=_~#.,:;+]*"
13 #define CONFIGFILE "sakura.conf"
14 @@ -1803,7 +1803,7 @@
16 sakura.main_window=gtk_window_new(GTK_WINDOW_TOPLEVEL);
17 gtk_window_set_title(GTK_WINDOW(sakura.main_window), "sakura");
18 - gtk_window_set_icon_from_file(GTK_WINDOW(sakura.main_window), DATADIR "/pixmaps/" ICON_FILE, &gerror);
19 + gtk_window_set_icon_name(GTK_WINDOW(sakura.main_window), ICON_NAME);
20 /* Default terminal size*/
21 sakura.columns = DEFAULT_COLUMNS;
22 sakura.rows = DEFAULT_ROWS;