Merge lp:~elementary-pantheon/switchboard-plug-display/add-desktop into lp:~elementary-apps/switchboard-plug-display/trunk

Proposed by Danielle Foré
Status: Merged
Merged at revision: 102
Proposed branch: lp:~elementary-pantheon/switchboard-plug-display/add-desktop
Merge into: lp:~elementary-apps/switchboard-plug-display/trunk
Diff against target: 40 lines (+18/-1)
2 files modified
CMakeLists.txt (+6/-1)
data/pantheon-plug-display.desktop (+12/-0)
To merge this branch: bzr merge lp:~elementary-pantheon/switchboard-plug-display/add-desktop
Reviewer Review Type Date Requested Status
elementary Apps team Pending
Review via email: mp+259813@code.launchpad.net

Commit message

add .desktop file

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'CMakeLists.txt'
2--- CMakeLists.txt 2014-07-30 00:58:06 +0000
3+++ CMakeLists.txt 2015-05-21 17:33:20 +0000
4@@ -31,6 +31,11 @@
5 add_definitions (-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\")
6 add_definitions (-DGNOME_DESKTOP_USE_UNSTABLE_API)
7
8+# Files
9+file (GLOB resources "${CMAKE_CURRENT_SOURCE_DIR}/data/*")
10+
11+install (FILES "${CMAKE_CURRENT_SOURCE_DIR}/data/pantheon-plug-display.desktop" DESTINATION "${CMAKE_INSTALL_FULL_DATAROOTDIR}/applications")
12+
13 # Add 'make dist' command for creating release tarball
14 set (CPACK_PACKAGE_VERSION ${VERSION})
15 set (CPACK_SOURCE_GENERATOR "TGZ")
16@@ -42,4 +47,4 @@
17 # Traslation stuff
18 add_subdirectory (po)
19
20-add_subdirectory(src)
21\ No newline at end of file
22+add_subdirectory(src)
23
24=== added directory 'data'
25=== added file 'data/pantheon-plug-display.desktop'
26--- data/pantheon-plug-display.desktop 1970-01-01 00:00:00 +0000
27+++ data/pantheon-plug-display.desktop 2015-05-21 17:33:20 +0000
28@@ -0,0 +1,12 @@
29+[Desktop Entry]
30+Name=Displays
31+Comment=Change resolution and position of monitors and projectors
32+Exec=switchboard -o hardware-pantheon-display
33+Icon=preferences-desktop-display
34+Terminal=false
35+Type=Application
36+StartupNotify=true
37+Categories=X-PANTHEON-Switchboard-Plugs;
38+OnlyShowIn=Pantheon;
39+Keywords=displays;monitor;projector;resolution;rotation;
40+X-GNOME-Gettext-Domain=switchboard

Subscribers

People subscribed via source and target branches