Skip to content

Commit 434c148

Browse files
committed
fix up .desktop file
and add an icon
1 parent 4953eac commit 434c148

File tree

8 files changed

+11
-7
lines changed

8 files changed

+11
-7
lines changed

Diff for: ChangeLog

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
started 8.5.2 14/6/17
2+
- install icon, fix icon in desktop file
3+
14
started 8.5.1 22/1/17
25
- fix a crash bug
36
- make separate Image / Alpha menu, add Add, Extract, Drop

Diff for: Makefile.am

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ if UPDATE_DESKTOP
3737
install-data-hook:
3838
-$(UPDATE_MIME_DATABASE) ${DESTDIR}$(datadir)/mime
3939
-$(UPDATE_DESKTOP_DATABASE) ${DESTDIR}$(datadir)/applications
40+
$(mkinstalldirs) ${DESTDIR}$(datadir)/icons/hicolor/128x128/apps
41+
-cp share/nip2/data/nip2.png ${DESTDIR}$(datadir)/icons/hicolor/128x128/apps
4042
endif
4143

4244
dist-hook:

Diff for: configure.ac

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Process this file with autoconf to produce a configure script.
22

3-
AC_INIT([nip2], [8.5.1], [[email protected]])
3+
AC_INIT([nip2], [8.5.2], [[email protected]])
44

55
# foreign stops complaints about a missing README (we use README.md instead)
66
# and missing INSTALL (the standard Gnu INSTALL is not very useful)
@@ -17,7 +17,7 @@ dnl
1717

1818
m4_define([nip_major_version], [8])
1919
m4_define([nip_minor_version], [5])
20-
m4_define([nip_micro_version], [1])
20+
m4_define([nip_micro_version], [2])
2121
m4_define([nip_version],
2222
[nip_major_version.nip_minor_version.nip_micro_version])
2323

Diff for: nip2.desktop.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Name=@PACKAGE@
33
Comment=Image manipulation program based on VIPS
44
Comment[it]=Programma per la manipolazione di immagini basato su VIPS
55
Exec=nip2 %F
6-
Icon=nip2
6+
Icon=nip2.png
77
Terminal=false
88
Type=Application
99
Categories=Graphics;RasterGraphics;

Diff for: share/nip2/data/Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ nipdata_DATA = \
66
sRGB.icm \
77
macbeth_lab_d65.mat \
88
macbeth_lab_d50.mat \
9-
vips-128.png \
9+
nip2.png \
1010
nip2-icon.ico \
1111
cmyk.icm \
1212
stock-tool-ink-22.png \
File renamed without changes.

Diff for: src/boxes.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,7 @@ about_build( iDialog *idlg, GtkWidget *work )
367367
gtk_container_add( GTK_CONTAINER( work ), hb );
368368
gtk_widget_show( hb );
369369

370-
image = image_new_from_file(
371-
"$VIPSHOME/share/$PACKAGE/data/vips-128.png" );
370+
image = image_new_from_file( "$VIPSHOME/share/$PACKAGE/data/nip2.png" );
372371
gtk_box_pack_start( GTK_BOX( hb ), image, FALSE, FALSE, 2 );
373372
gtk_widget_show( image );
374373

Diff for: src/main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ main_x_init( int *argc, char ***argv )
794794
/* Set the default icon.
795795
*/
796796
im_strncpy( buf,
797-
"$VIPSHOME/share/$PACKAGE/data/vips-128.png", FILENAME_MAX );
797+
"$VIPSHOME/share/$PACKAGE/data/nip2.png", FILENAME_MAX );
798798
path_expand( buf );
799799
gtk_window_set_default_icon_from_file( buf, NULL );
800800

0 commit comments

Comments
 (0)