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

updated pure-ftpd and pure-ftpd-pam (1.0.48 -> 1.0.49)
author Hans-G?nter Theisgen
date Fri Apr 03 13:56:35 2020 +0100 (2020-04-03)
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;