wok-current annotate leafpad/stuff/icon.patch @ rev 21702
updated privoxy (3.0.26 -> 3.0.28)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 06 16:03:11 2019 +0100 (2019-06-06) |
parents | |
children |
rev | line source |
---|---|
al@19129 | 1 --- a/data/leafpad.desktop.in |
al@19129 | 2 +++ b/data/leafpad.desktop.in |
al@19129 | 3 @@ -1,10 +1,9 @@ |
al@19129 | 4 [Desktop Entry] |
al@19129 | 5 -Encoding=UTF-8 |
al@19129 | 6 +Type=Application |
al@19129 | 7 _Name=Leafpad |
al@19129 | 8 _Comment=Simple text editor |
al@19129 | 9 +Terminal=false |
al@19129 | 10 Exec=leafpad %f |
al@19129 | 11 -Icon=leafpad |
al@19129 | 12 +Icon=accessories-text-editor |
al@19129 | 13 -Terminal=false |
al@19129 | 14 -Type=Application |
al@19129 | 15 -MimeType=text/plain |
al@19129 | 16 Categories=GTK;Utility;TextEditor; |
al@19129 | 17 +MimeType=text/plain; |
al@19129 | 18 --- a/src/callback.c |
al@19129 | 19 +++ b/src/callback.c |
al@19129 | 20 @@ -336,7 +336,7 @@ |
al@19129 | 21 "authors", authors, |
al@19129 | 22 "artists", artists, |
al@19129 | 23 "translator-credits", translator_credits, |
al@19129 | 24 - "logo-icon-name", PACKAGE, |
al@19129 | 25 + "logo-icon-name", "accessories-text-editor", |
al@19129 | 26 NULL); |
al@19129 | 27 #else |
al@19129 | 28 static GtkWidget *about = NULL; |
al@19129 | 29 --- a/src/window.c |
al@19129 | 30 +++ b/src/window.c |
al@19129 | 31 @@ -52,7 +52,7 @@ |
al@19129 | 32 gtk_window_set_default_icon(icon); |
al@19129 | 33 */ |
al@19129 | 34 #if GTK_CHECK_VERSION(2, 6, 0) |
al@19129 | 35 - gtk_window_set_default_icon_name(PACKAGE); |
al@19129 | 36 + gtk_window_set_default_icon_name("accessories-text-editor"); |
al@19129 | 37 #else |
al@19129 | 38 GdkPixbuf *icon = gdk_pixbuf_new_from_file( |
al@19129 | 39 ICONDIR G_DIR_SEPARATOR_S PACKAGE ".png", NULL); |