wok view leafpad/stuff/icon.patch @ rev 20390
broadcom-wl: update 3.14.0.patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 23 13:39:05 2018 +0200 (2018-06-23) |
parents | |
children |
line source
1 --- a/data/leafpad.desktop.in
2 +++ b/data/leafpad.desktop.in
3 @@ -1,10 +1,9 @@
4 [Desktop Entry]
5 -Encoding=UTF-8
6 +Type=Application
7 _Name=Leafpad
8 _Comment=Simple text editor
9 +Terminal=false
10 Exec=leafpad %f
11 -Icon=leafpad
12 +Icon=accessories-text-editor
13 -Terminal=false
14 -Type=Application
15 -MimeType=text/plain
16 Categories=GTK;Utility;TextEditor;
17 +MimeType=text/plain;
18 --- a/src/callback.c
19 +++ b/src/callback.c
20 @@ -336,7 +336,7 @@
21 "authors", authors,
22 "artists", artists,
23 "translator-credits", translator_credits,
24 - "logo-icon-name", PACKAGE,
25 + "logo-icon-name", "accessories-text-editor",
26 NULL);
27 #else
28 static GtkWidget *about = NULL;
29 --- a/src/window.c
30 +++ b/src/window.c
31 @@ -52,7 +52,7 @@
32 gtk_window_set_default_icon(icon);
33 */
34 #if GTK_CHECK_VERSION(2, 6, 0)
35 - gtk_window_set_default_icon_name(PACKAGE);
36 + gtk_window_set_default_icon_name("accessories-text-editor");
37 #else
38 GdkPixbuf *icon = gdk_pixbuf_new_from_file(
39 ICONDIR G_DIR_SEPARATOR_S PACKAGE ".png", NULL);