wok-6.x view leafpad/stuff/icon.patch @ rev 22793
recompiled claws-mail and claws-mail-perl
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jan 27 09:33:23 2020 +0100 (2020-01-27) |
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);