wok-current annotate sakura/stuff/sakura-icon.patch @ rev 24004
Up tazinst (110)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 17 17:23:12 2021 +0000 (2021-01-17) |
parents | b00dca9c0ddd |
children |
rev | line source |
---|---|
al@19035 | 1 Set Freedesktop standard icon |
al@19035 | 2 |
al@19035 | 3 --- a/src/sakura.c |
al@19035 | 4 +++ b/src/sakura.c |
al@16713 | 5 @@ -210,7 +210,7 @@ |
al@16713 | 6 }; |
al@16713 | 7 |
al@16713 | 8 |
al@16713 | 9 -#define ICON_FILE "terminal-tango.svg" |
al@19035 | 10 +#define ICON_NAME "utilities-terminal" |
al@16713 | 11 #define SCROLL_LINES 4096 |
al@16713 | 12 #define HTTP_REGEXP "(ftp|http)s?://[-a-zA-Z0-9.?$%&/=_~#.,:;+]*" |
al@16713 | 13 #define CONFIGFILE "sakura.conf" |
al@16713 | 14 @@ -1803,7 +1803,7 @@ |
al@16713 | 15 |
al@16713 | 16 sakura.main_window=gtk_window_new(GTK_WINDOW_TOPLEVEL); |
al@16713 | 17 gtk_window_set_title(GTK_WINDOW(sakura.main_window), "sakura"); |
al@16713 | 18 - gtk_window_set_icon_from_file(GTK_WINDOW(sakura.main_window), DATADIR "/pixmaps/" ICON_FILE, &gerror); |
al@16713 | 19 + gtk_window_set_icon_name(GTK_WINDOW(sakura.main_window), ICON_NAME); |
al@16713 | 20 /* Default terminal size*/ |
al@16713 | 21 sakura.columns = DEFAULT_COLUMNS; |
al@16713 | 22 sakura.rows = DEFAULT_ROWS; |