Skip to content

Commit 993cab1

Browse files
committed
Fix delete & re-add icon to CMAKE
1 parent cd57f4f commit 993cab1

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

data/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ file(GLOB ASSETS_FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets)
77
install(DIRECTORY ${ASSETS_FILES}
88
DESTINATION ${PKGDATADIR})
99

10+
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/com.github.philip-scott.spice-up.svg
11+
DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/icons/hicolor/scalable/apps/)
12+
1013
# install the appdata
1114
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/com.github.philip-scott.spice-up.appdata.xml
1215
DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/metainfo/)

src/Window.vala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,10 @@ public class Spice.Window : Gtk.ApplicationWindow {
258258
slide_manager.current_slide.delete ();
259259
}
260260
}
261+
return true;
261262
}
262263

263-
return true;
264+
return false;
264265
}
265266

266267
private bool next_slide () {

0 commit comments

Comments
 (0)