wok diff leafpad/stuff/icon.patch @ rev 20887

updated enet (1.2.1 -> 1.3.14)
author Hans-G?nter Theisgen
date Mon Feb 25 15:29:18 2019 +0100 (2019-02-25)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/leafpad/stuff/icon.patch	Mon Feb 25 15:29:18 2019 +0100
     1.3 @@ -0,0 +1,39 @@
     1.4 +--- a/data/leafpad.desktop.in
     1.5 ++++ b/data/leafpad.desktop.in
     1.6 +@@ -1,10 +1,9 @@
     1.7 + [Desktop Entry]
     1.8 +-Encoding=UTF-8
     1.9 ++Type=Application
    1.10 + _Name=Leafpad
    1.11 + _Comment=Simple text editor
    1.12 ++Terminal=false
    1.13 + Exec=leafpad %f
    1.14 +-Icon=leafpad
    1.15 ++Icon=accessories-text-editor
    1.16 +-Terminal=false
    1.17 +-Type=Application
    1.18 +-MimeType=text/plain
    1.19 + Categories=GTK;Utility;TextEditor;
    1.20 ++MimeType=text/plain;
    1.21 +--- a/src/callback.c
    1.22 ++++ b/src/callback.c
    1.23 +@@ -336,7 +336,7 @@
    1.24 + 		"authors", authors,
    1.25 + 		"artists", artists,
    1.26 + 		"translator-credits", translator_credits,
    1.27 +-		"logo-icon-name", PACKAGE,
    1.28 ++		"logo-icon-name", "accessories-text-editor",
    1.29 + 		NULL);
    1.30 + #else
    1.31 + 	static GtkWidget *about = NULL;
    1.32 +--- a/src/window.c
    1.33 ++++ b/src/window.c
    1.34 +@@ -52,7 +52,7 @@
    1.35 + 	gtk_window_set_default_icon(icon);
    1.36 + */
    1.37 + #if GTK_CHECK_VERSION(2, 6, 0)
    1.38 +-	gtk_window_set_default_icon_name(PACKAGE);
    1.39 ++	gtk_window_set_default_icon_name("accessories-text-editor");
    1.40 + #else
    1.41 +  	GdkPixbuf *icon = gdk_pixbuf_new_from_file(
    1.42 + 		ICONDIR G_DIR_SEPARATOR_S PACKAGE ".png", NULL);