wok-6.x view leafpad/stuff/icon.patch @ rev 21586

updated nspr and nspr-dev (4.10.8 -> 4.21)
author Hans-G?nter Theisgen
date Mon May 20 13:58:55 2019 +0100 (2019-05-20)
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);