Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
xfce4-weather-plugin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
25
Issues
25
List
Boards
Labels
Service Desk
Milestones
Custom Issue Tracker
Custom Issue Tracker
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Panel Plugins
xfce4-weather-plugin
Commits
97601ab2
Commit
97601ab2
authored
Jun 28, 2020
by
OlivierDuchateau
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switch to the 2.0 API
parent
af009015
Pipeline
#1136
passed with stages
in 1 minute and 17 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
panel-plugin/weather.c
panel-plugin/weather.c
+1
-1
panel-plugin/weather.h
panel-plugin/weather.h
+1
-1
No files found.
panel-plugin/weather.c
View file @
97601ab2
...
...
@@ -656,7 +656,7 @@ update_handler(plugin_data *data)
/* build url */
url
=
g_strdup_printf
(
"https://api.met.no"
"/weatherapi/locationforecast/%s/"
"
?lat=%s&lon=%s&msl
=%d"
,
"
classic?lat=%s&lon=%s&altitude
=%d"
,
api_version
,
data
->
lat
,
data
->
lon
,
data
->
msl
);
...
...
panel-plugin/weather.h
View file @
97601ab2
...
...
@@ -31,7 +31,7 @@
#define MAX_FORECAST_DAYS 10
#define DEFAULT_FORECAST_DAYS 5
#define MAX_SCROLLBOX_LINES 10
#define FORECAST_API "
1.9
"
#define FORECAST_API "
2.0
"
G_BEGIN_DECLS
...
...
Romain Bouvier
@skunnyk
mentioned in issue
#18 (closed)
·
Jul 05, 2020
mentioned in issue
#18 (closed)
mentioned in issue #18
Toggle commit list
Romain Bouvier
@skunnyk
mentioned in issue
#21 (closed)
·
Jul 22, 2020
mentioned in issue
#21 (closed)
mentioned in issue #21
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment