wok view sakura/stuff/sakura-icon.patch @ rev 23848

inkscape: update build_depends
author Richard Dunbar <mojo@slitaz.org>
date Sun Jun 14 23:18:03 2020 -0400 (2020-06-14)
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;