Search
lxdream.org :: lxdream :: r1017:f94af28e38b7
lxdream 0.9.1
released Jun 29
Download Now
changeset1017:f94af28e38b7
parent1016:6c63a6d20011
child1018:5942a162e5ef
authornkeynes
dateWed Jun 03 04:00:52 2009 +0000 (10 years ago)
Replace dcemu.gif with the better-named lxdream.png
Update gtkui to actually use the icon
Add a GNOME desktop entry for menu goodness
Makefile.am
Makefile.in
lxdream.desktop
pixmaps/dcemu.gif
pixmaps/lxdream.png
src/cocoaui/cocoaui.m
src/gtkui/gtk_win.c
src/gtkui/gtkcb.c
1.1 --- a/Makefile.am Wed Jun 03 03:59:22 2009 +0000
1.2 +++ b/Makefile.am Wed Jun 03 04:00:52 2009 +0000
1.3 @@ -8,7 +8,7 @@
1.4 endif
1.5 SUBDIRS = src po $(TEST_SUBDIR)
1.6
1.7 -EXTRA_DIST = autogen.sh lxdream.pod bundlelibs.pl
1.8 +EXTRA_DIST = autogen.sh lxdream.pod lxdream.desktop bundlelibs.pl
1.9
1.10 dist_sysconf_DATA = lxdreamrc
1.11 CLEANFILES = lxdream.1
1.12 @@ -27,11 +27,15 @@
1.13 fi \
1.14 done \
1.15 fi
1.16 + $(INSTALL_DATA) $(srcdir)/lxdream.desktop $(DESTDIR)$(datadir)/applications
1.17 + $(INSTALL_DATA) $(srcdir)/pixmaps/lxdream.png $(DESTDIR)$(datadir)/pixmaps
1.18 $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
1.19
1.20 uninstall-local:
1.21 @$(NORMAL_UNINSTALL)
1.22 - rm -rf $(DESTDIR)$(datadir)/pixmaps
1.23 + rm -rf $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE)
1.24 + rm -f $(DESTDIR)$(datadir)/pixmaps/lxdream.png
1.25 + rm -f $(DESTDIR)$(datadir)/applications/lxdream.desktop
1.26
1.27 clean-local:
1.28 rm -rf $(BUNDLE)
2.1 --- a/Makefile.in Wed Jun 03 03:59:22 2009 +0000
2.2 +++ b/Makefile.in Wed Jun 03 04:00:52 2009 +0000
2.3 @@ -264,7 +264,7 @@
2.4 BUNDLE = lxdream.app
2.5 @BUILD_SYSTEST_TRUE@TEST_SUBDIR = test
2.6 SUBDIRS = src po $(TEST_SUBDIR)
2.7 -EXTRA_DIST = autogen.sh lxdream.pod bundlelibs.pl
2.8 +EXTRA_DIST = autogen.sh lxdream.pod lxdream.desktop bundlelibs.pl
2.9 dist_sysconf_DATA = lxdreamrc
2.10 CLEANFILES = lxdream.1
2.11 man_MANS = lxdream.1
2.12 @@ -786,11 +786,15 @@
2.13 fi \
2.14 done \
2.15 fi
2.16 + $(INSTALL_DATA) $(srcdir)/lxdream.desktop $(DESTDIR)$(datadir)/applications
2.17 + $(INSTALL_DATA) $(srcdir)/pixmaps/lxdream.png $(DESTDIR)$(datadir)/pixmaps
2.18 $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
2.19
2.20 uninstall-local:
2.21 @$(NORMAL_UNINSTALL)
2.22 - rm -rf $(DESTDIR)$(datadir)/pixmaps
2.23 + rm -rf $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE)
2.24 + rm -f $(DESTDIR)$(datadir)/pixmaps/lxdream.png
2.25 + rm -f $(DESTDIR)$(datadir)/applications/lxdream.desktop
2.26
2.27 clean-local:
2.28 rm -rf $(BUNDLE)
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2 +++ b/lxdream.desktop Wed Jun 03 04:00:52 2009 +0000
3.3 @@ -0,0 +1,12 @@
3.4 +[Desktop Entry]
3.5 +Version=1.0
3.6 +Encoding=UTF-8
3.7 +Name=lxdream
3.8 +GenericName=Dreamcast Emulator
3.9 +Type=Application
3.10 +Categories=Game;Emulator
3.11 +MimeType=application/x-lxdream-save-state;
3.12 +FilePattern=gdi;GDI;dst;DST;
3.13 +Exec=lxdream %f
3.14 +TryExec=lxdream
3.15 +Icon=lxdream
4.1 Binary file pixmaps/dcemu.gif has changed
5.1 Binary file pixmaps/lxdream.png has changed
6.1 --- a/src/cocoaui/cocoaui.m Wed Jun 03 03:59:22 2009 +0000
6.2 +++ b/src/cocoaui/cocoaui.m Wed Jun 03 04:00:52 2009 +0000
6.3 @@ -310,7 +310,7 @@
6.4
6.5 LxdreamDelegate *delegate = [[LxdreamDelegate alloc] init];
6.6 [NSApp setDelegate: delegate];
6.7 - NSString *iconFile = [[NSBundle mainBundle] pathForResource:@"dcemu" ofType:@"gif"];
6.8 + NSString *iconFile = [[NSBundle mainBundle] pathForResource:@"lxdream" ofType:@"png"];
6.9 NSImage *iconImage = [[NSImage alloc] initWithContentsOfFile: iconFile];
6.10 [iconImage setName: @"NSApplicationIcon"];
6.11 [NSApp setApplicationIconImage: iconImage];
7.1 --- a/src/gtkui/gtk_win.c Wed Jun 03 03:59:22 2009 +0000
7.2 +++ b/src/gtkui/gtk_win.c Wed Jun 03 04:00:52 2009 +0000
7.3 @@ -289,6 +289,8 @@
7.4 win->is_grabbed = FALSE;
7.5 gtk_window_set_title( GTK_WINDOW(win->window), title );
7.6 gtk_window_add_accel_group (GTK_WINDOW (win->window), accel_group);
7.7 + gtk_window_set_icon_from_file( GTK_WINDOW(win->window),
7.8 + PACKAGE_DATA_DIR "/pixmaps/lxdream.png", NULL );
7.9
7.10 gtk_toolbar_set_style( GTK_TOOLBAR(toolbar), GTK_TOOLBAR_ICONS );
7.11
8.1 --- a/src/gtkui/gtkcb.c Wed Jun 03 03:59:22 2009 +0000
8.2 +++ b/src/gtkui/gtkcb.c Wed Jun 03 04:00:52 2009 +0000
8.3 @@ -181,6 +181,7 @@
8.4 "name", APP_NAME,
8.5 "version", lxdream_full_version,
8.6 "copyright", lxdream_copyright,
8.7 + "logo-icon-name", "lxdream",
8.8 NULL);
8.9 gtk_window_set_modal(GTK_WINDOW(dialog), TRUE);
8.10 gtk_dialog_run(GTK_DIALOG(dialog));
.