Merge lp:~hyuchia/pantheon-calculator/fix-1594598 into lp:~elementary-apps/pantheon-calculator/trunk

Proposed by Diego Islas Ocampo
Status: Needs review
Proposed branch: lp:~hyuchia/pantheon-calculator/fix-1594598
Merge into: lp:~elementary-apps/pantheon-calculator/trunk
Diff against target: 228 lines (+77/-77)
10 files modified
CMakeLists.txt (+1/-1)
data/CMakeLists.txt (+5/-5)
data/io.elementary.calculator.appdata.xml.in (+24/-0)
data/io.elementary.calculator.desktop.in.in (+14/-0)
data/io.elementary.calculator.gschema.xml (+30/-0)
data/org.pantheon.calculator.appdata.xml.in (+0/-24)
data/org.pantheon.calculator.desktop.in.in (+0/-14)
data/org.pantheon.calculator.gschema.xml (+0/-30)
src/MainWindow.vala (+1/-1)
src/PantheonCalculator.vala (+2/-2)
To merge this branch: bzr merge lp:~hyuchia/pantheon-calculator/fix-1594598
Reviewer Review Type Date Requested Status
elementary Apps team Pending
Review via email: mp+318301@code.launchpad.net

Description of the change

Removed all instances of org.pantheon and replaced them with the io.elementary Scheme

To post a comment you must log in.
322. By Diego Islas Ocampo

Merge with latest trunk

323. By Diego Islas Ocampo

Use the right scheme for paths

Unmerged revisions

323. By Diego Islas Ocampo

Use the right scheme for paths

322. By Diego Islas Ocampo

Merge with latest trunk

321. By Diego Islas Ocampo

Use the right reversed elementary Scheme

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 2017-01-19 21:17:21 +0000
3+++ CMakeLists.txt 2017-03-02 01:54:13 +0000
4@@ -57,7 +57,7 @@
5 )
6
7 include(GSettings)
8-add_schema("data/org.pantheon.calculator.gschema.xml")
9+add_schema("data/io.elementary.calculator.gschema.xml")
10
11 add_subdirectory (po)
12
13
14=== modified file 'data/CMakeLists.txt'
15--- data/CMakeLists.txt 2016-09-01 06:57:26 +0000
16+++ data/CMakeLists.txt 2017-03-02 01:54:13 +0000
17@@ -1,5 +1,5 @@
18-configure_file (org.pantheon.calculator.desktop.in.in ${CMAKE_CURRENT_BINARY_DIR}/org.pantheon.calculator.desktop.in)
19-configure_file_translation (${CMAKE_CURRENT_BINARY_DIR}/org.pantheon.calculator.desktop.in ${CMAKE_CURRENT_BINARY_DIR}/org.pantheon.calculator.desktop ${CMAKE_SOURCE_DIR}/po/)
20-configure_file_translation (${CMAKE_CURRENT_SOURCE_DIR}/org.pantheon.calculator.appdata.xml.in ${CMAKE_CURRENT_BINARY_DIR}/org.pantheon.calculator.appdata.xml ${CMAKE_SOURCE_DIR}/po/)
21-install (FILES ${CMAKE_CURRENT_BINARY_DIR}/org.pantheon.calculator.desktop DESTINATION share/applications)
22-install (FILES ${CMAKE_CURRENT_BINARY_DIR}/org.pantheon.calculator.appdata.xml DESTINATION share/appdata)
23+configure_file (io.elementary.calculator.desktop.in.in ${CMAKE_CURRENT_BINARY_DIR}/io.elementary.calculator.desktop.in)
24+configure_file_translation (${CMAKE_CURRENT_BINARY_DIR}/io.elementary.calculator.desktop.in ${CMAKE_CURRENT_BINARY_DIR}/io.elementary.calculator.desktop ${CMAKE_SOURCE_DIR}/po/)
25+configure_file_translation (${CMAKE_CURRENT_SOURCE_DIR}/io.elementary.calculator.appdata.xml.in ${CMAKE_CURRENT_BINARY_DIR}/io.elementary.calculator.appdata.xml ${CMAKE_SOURCE_DIR}/po/)
26+install (FILES ${CMAKE_CURRENT_BINARY_DIR}/io.elementary.calculator.desktop DESTINATION share/applications)
27+install (FILES ${CMAKE_CURRENT_BINARY_DIR}/io.elementary.calculator.appdata.xml DESTINATION share/appdata)
28
29=== added file 'data/io.elementary.calculator.appdata.xml.in'
30--- data/io.elementary.calculator.appdata.xml.in 1970-01-01 00:00:00 +0000
31+++ data/io.elementary.calculator.appdata.xml.in 2017-03-02 01:54:13 +0000
32@@ -0,0 +1,24 @@
33+<?xml version="1.0" encoding="UTF-8"?>
34+<!-- Copyright 2015-2016 elementary, LLC <contact@elementary.io> -->
35+<component type="desktop">
36+ <id>io.elementary.calculator.desktop</id>
37+ <metadata_license>CC0-1.0</metadata_license>
38+ <project_group>elementary</project_group>
39+ <project_license>GPL-3.0+</project_license>
40+ <_name>Calculator</_name>
41+ <description>
42+ <_p>
43+ A simple calculator for everyday use. It supports basic and some
44+ scientific calculations including trigonometry functions, sin, cos, and tan.
45+ </_p>
46+ </description>
47+ <provides>
48+ <binary>pantheon-calculator</binary>
49+ </provides>
50+ <developer_name>elementary LLC.</developer_name>
51+ <url type="homepage">https://elementary.io/</url>
52+ <url type="bugtracker">https://bugs.launchpad.net/pantheon-calculator</url>
53+ <url type="donation">https://elementary.io/get-involved#funding</url>
54+ <url type="help">https://elementaryos.stackexchange.com/questions/tagged/calculator</url>
55+ <update_contact>contact_at_elementary.io</update_contact>
56+</component>
57
58=== added file 'data/io.elementary.calculator.desktop.in.in'
59--- data/io.elementary.calculator.desktop.in.in 1970-01-01 00:00:00 +0000
60+++ data/io.elementary.calculator.desktop.in.in 2017-03-02 01:54:13 +0000
61@@ -0,0 +1,14 @@
62+[Desktop Entry]
63+_Name=Calculator
64+_Comment=Solve simple equations
65+Exec=pantheon-calculator %U
66+Icon=accessories-calculator
67+Terminal=false
68+Type=Application
69+StartupNotify=true
70+Categories=GNOME;GTK;Utility;Calculator;
71+Actions=AboutDialog;
72+
73+[Desktop Action AboutDialog]
74+_Name=About Calculator
75+Exec=pantheon-calculator --about
76
77=== added file 'data/io.elementary.calculator.gschema.xml'
78--- data/io.elementary.calculator.gschema.xml 1970-01-01 00:00:00 +0000
79+++ data/io.elementary.calculator.gschema.xml 2017-03-02 01:54:13 +0000
80@@ -0,0 +1,30 @@
81+<?xml version="1.0" encoding="UTF-8"?>
82+<schemalist>
83+ <schema path="/io/elementary/calculator/saved-state/" id="io.elementary.calculator.saved-state" gettext-domain="pantheon-calculator">
84+ <key name="extended-shown" type="b">
85+ <default>false</default>
86+ <summary>Saves the state of the extended panel (open or closed).</summary>
87+ <description>Saves the state of the extended panel (open or closed).</description>
88+ </key>
89+ <key name="entry-content" type="s">
90+ <default>""</default>
91+ <summary>Saves the content of the entry field for calculations.</summary>
92+ <description>Saves the content of the entry field for calculations.</description>
93+ </key>
94+ <key name="decimal-places" type="i">
95+ <default>5</default>
96+ <summary>Saves the decimal places for displayed values.</summary>
97+ <description>Saves the decimal places for displayed values.</description>
98+ </key>
99+ <key name="window-x" type="i">
100+ <default>-100</default>
101+ <summary>Window x position.</summary>
102+ <description>Saved x position of main calculator window.</description>
103+ </key>
104+ <key name="window-y" type="i">
105+ <default>-100</default>
106+ <summary>Window y position.</summary>
107+ <description>Saved y position of main calculator window.</description>
108+ </key>
109+ </schema>
110+</schemalist>
111
112=== removed file 'data/org.pantheon.calculator.appdata.xml.in'
113--- data/org.pantheon.calculator.appdata.xml.in 2016-09-01 06:57:26 +0000
114+++ data/org.pantheon.calculator.appdata.xml.in 1970-01-01 00:00:00 +0000
115@@ -1,24 +0,0 @@
116-<?xml version="1.0" encoding="UTF-8"?>
117-<!-- Copyright 2015-2016 elementary, LLC <contact@elementary.io> -->
118-<component type="desktop">
119- <id>org.pantheon.calculator.desktop</id>
120- <metadata_license>CC0-1.0</metadata_license>
121- <project_group>elementary</project_group>
122- <project_license>GPL-3.0+</project_license>
123- <_name>Calculator</_name>
124- <description>
125- <_p>
126- A simple calculator for everyday use. It supports basic and some
127- scientific calculations including trigonometry functions, sin, cos, and tan.
128- </_p>
129- </description>
130- <provides>
131- <binary>pantheon-calculator</binary>
132- </provides>
133- <developer_name>elementary LLC.</developer_name>
134- <url type="homepage">https://elementary.io/</url>
135- <url type="bugtracker">https://bugs.launchpad.net/pantheon-calculator</url>
136- <url type="donation">https://elementary.io/get-involved#funding</url>
137- <url type="help">https://elementaryos.stackexchange.com/questions/tagged/calculator</url>
138- <update_contact>contact_at_elementary.io</update_contact>
139-</component>
140
141=== removed file 'data/org.pantheon.calculator.desktop.in.in'
142--- data/org.pantheon.calculator.desktop.in.in 2016-09-01 06:57:26 +0000
143+++ data/org.pantheon.calculator.desktop.in.in 1970-01-01 00:00:00 +0000
144@@ -1,14 +0,0 @@
145-[Desktop Entry]
146-_Name=Calculator
147-_Comment=Solve simple equations
148-Exec=pantheon-calculator %U
149-Icon=accessories-calculator
150-Terminal=false
151-Type=Application
152-StartupNotify=true
153-Categories=GNOME;GTK;Utility;Calculator;
154-Actions=AboutDialog;
155-
156-[Desktop Action AboutDialog]
157-_Name=About Calculator
158-Exec=pantheon-calculator --about
159
160=== removed file 'data/org.pantheon.calculator.gschema.xml'
161--- data/org.pantheon.calculator.gschema.xml 2016-11-26 20:51:29 +0000
162+++ data/org.pantheon.calculator.gschema.xml 1970-01-01 00:00:00 +0000
163@@ -1,30 +0,0 @@
164-<?xml version="1.0" encoding="UTF-8"?>
165-<schemalist>
166- <schema path="/org/pantheon/calculator/saved-state/" id="org.pantheon.calculator.saved-state" gettext-domain="pantheon-calculator">
167- <key name="extended-shown" type="b">
168- <default>false</default>
169- <summary>Saves the state of the extended panel (open or closed).</summary>
170- <description>Saves the state of the extended panel (open or closed).</description>
171- </key>
172- <key name="entry-content" type="s">
173- <default>""</default>
174- <summary>Saves the content of the entry field for calculations.</summary>
175- <description>Saves the content of the entry field for calculations.</description>
176- </key>
177- <key name="decimal-places" type="i">
178- <default>5</default>
179- <summary>Saves the decimal places for displayed values.</summary>
180- <description>Saves the decimal places for displayed values.</description>
181- </key>
182- <key name="window-x" type="i">
183- <default>-100</default>
184- <summary>Window x position.</summary>
185- <description>Saved x position of main calculator window.</description>
186- </key>
187- <key name="window-y" type="i">
188- <default>-100</default>
189- <summary>Window y position.</summary>
190- <description>Saved y position of main calculator window.</description>
191- </key>
192- </schema>
193-</schemalist>
194
195=== modified file 'src/MainWindow.vala'
196--- src/MainWindow.vala 2016-12-22 18:57:07 +0000
197+++ src/MainWindow.vala 2017-03-02 01:54:13 +0000
198@@ -53,7 +53,7 @@
199 set_resizable (false);
200 window_position = Gtk.WindowPosition.CENTER;
201
202- settings = new Settings ("org.pantheon.calculator.saved-state");
203+ settings = new Settings ("io.elementary.calculator.saved-state");
204 decimal_places = settings.get_int ("decimal-places");
205
206 history = new List<History?> ();
207
208=== modified file 'src/PantheonCalculator.vala'
209--- src/PantheonCalculator.vala 2016-11-26 22:55:50 +0000
210+++ src/PantheonCalculator.vala 2017-03-02 01:54:13 +0000
211@@ -21,7 +21,7 @@
212
213 public class PantheonCalculatorApp : Granite.Application {
214 construct {
215- application_id = "org.pantheon.calculator";
216+ application_id = "io.elementary.calculator";
217 flags = ApplicationFlags.FLAGS_NONE;
218
219 Intl.setlocale (LocaleCategory.ALL, "");
220@@ -36,7 +36,7 @@
221 build_version = Build.VERSION;
222 build_version_info = Build.VERSION_INFO;
223
224- app_launcher = "org.pantheon.calculator.desktop";
225+ app_launcher = "io.elementary.calculator.desktop";
226 main_url = "https://launchpad.net/pantheon-calculator";
227 bug_url = "https://bugs.launchpad.net/pantheon-calculator";
228 help_url = "https://answers.launchpad.net/pantheon-calculator";

Subscribers

People subscribed via source and target branches