Commit Graph

86 Commits

Author SHA1 Message Date
Marcel Hollerbach fe62d65bca extra: only override progress if we are not muted
otherwise we could never reach the done callback which wants to be
waited for.
2017-02-16 18:57:01 +01:00
Marcel Hollerbach 39e8e45008 extra: reapply selected state to the grid when the state changes 2017-02-15 22:09:39 +01:00
Marcel Hollerbach 6aa58f27c0 extra: hide the toolbar when a popup is placed 2017-02-15 21:58:20 +01:00
Marcel Hollerbach 4e28bb3394 extra: reset the tooltip bar in the top when the install/uninstall is
done
2017-02-15 21:44:43 +01:00
Marcel Hollerbach 1f502df5cd extra: that should be plural
thank you jf_simon :)
2017-02-13 10:17:35 +01:00
Marcel Hollerbach 037e694827 extra: explicitly show the image 2017-02-12 23:28:54 +01:00
Marcel Hollerbach 7ea72aa641 extra: replace the cache once a bild has updated
otherwise a update of a image does not get downloaded
2017-02-09 00:15:40 +01:00
Daniel Haß aa0a82f61f fixed if condition in autogen.sh 2017-02-05 21:44:04 +01:00
Marcel Hollerbach b4821fea18 extra: the fullscreen window should be maximized and fullscreened 2017-02-05 13:00:10 +01:00
Marcel Hollerbach d36e68bdd4 extra: stop leaking the event rectangle 2017-02-05 12:51:57 +01:00
Marcel Hollerbach 6cda810903 extra: lets be a bit more secure 2017-02-01 21:12:45 +01:00
Marcel Hollerbach 2dfd1b4733 extra: stop spreading error messages about progressbars
this is done by stopping emitting the progress callbacks.
2017-02-01 21:12:29 +01:00
Marcel Hollerbach c32bfdb144 extra: if a image cannot be set delete the file and redownload it
this should fix cases where people dont see complete images because they
are corrupted. For example because the app was closed when then image
was not fully downloaded.
2017-01-31 20:18:05 +01:00
Marcel Hollerbach 633f335cc4 build: really set the defaults that are also written as default 2017-01-25 18:26:11 +01:00
Marcel Hollerbach 1ae919d9cc pkgbuild: make it work
looks like the pkgbuild was a bit older its now updated.

It works after you have run ./autogen in the project directory
2017-01-25 18:25:26 +01:00
Marcel Hollerbach 6a5fe80585 extra: add all files that are needed for that dist 2017-01-23 23:50:49 +01:00
Marcel Hollerbach f94b39987e extra: remove the theme stuff
Its not needed
2017-01-23 23:50:49 +01:00
Andy Williams f221c3141c Update copying to reflect AUTHORS 2017-01-23 22:38:16 +00:00
Marcel Hollerbach 5decd8debc extra: fill the manpage 2017-01-23 23:19:01 +01:00
Marcel Hollerbach deb5e0b9a3 extra: add a option to get back to the default 2017-01-23 23:12:31 +01:00
Marcel Hollerbach e0bc2ad19a extra: close fullscreen when pressing escape 2017-01-23 22:59:54 +01:00
Marcel Hollerbach 4030ddba2f extra: remove popup toolbar when details are opened 2017-01-23 22:56:15 +01:00
Marcel Hollerbach a368556033 extra: close fullscreen if you click on the window 2017-01-23 22:53:45 +01:00
Marcel Hollerbach f57ef54ad8 extra: bring a little toolbar to the themes
I liked the popup at the top more than diretly showing the details.
This also refactors the popup showing and hiding into the utils
2017-01-22 22:35:12 +01:00
Marcel Hollerbach 06fed444de extra: hide popup when selector is switched 2017-01-20 10:52:51 +01:00
Marcel Hollerbach bdb41a0b87 extra: add a background selector
this brings a background selector to extra
2017-01-20 10:37:19 +01:00
Marcel Hollerbach 6b5bb23524 extra: refactor those calls into the util
they are also helpfull for other selectors
2017-01-20 00:52:55 +01:00
Marcel Hollerbach d770e2a2b1 extra: add api for backgrounds 2017-01-20 00:52:22 +01:00
Marcel Hollerbach 7f1424b2d2 extra: this refactors the json parsing
This refactors the json parsing into its single file, the parsing is now
much lesser work. It also adds the downloading of the available background images
in the sync call
2017-01-17 18:35:01 +01:00
Marcel Hollerbach a458862760 Merge branch 'devs/bu5hm4n/ui-change'
This merges a new interface for extra. This brings:

1. Grid selection. There is a grid where you can select between the
themes. Themes are displayed with theire screenshots and names.

2. The state of the theme is be displayed. A theme can be downloaded,
set as default, or old-version available.

3. Different operations depending on the state of the theme. You have a
button to set a theme as default. Update the downloaded file. Or install
it, for the case its not even downloaded.
2017-01-15 21:16:30 +01:00
Marcel Hollerbach 7015ae49ee extra: validate input parameters 2017-01-15 21:12:15 +01:00
Marcel Hollerbach c4785eaa5b extra: bring first in 2017-01-15 21:09:46 +01:00
Andy Williams 39368a041b Remove warnings and dupe code 2017-01-15 21:09:46 +01:00
Marcel Hollerbach 9d4a263b81 extra: lets add operations depending on the state 2017-01-15 11:28:55 +01:00
Marcel Hollerbach 8545c9e1a3 extra: free the iterator, so the file is really closed 2017-01-15 10:53:52 +01:00
Marcel Hollerbach 264625f496 extra: add indicators to the grid so the state of the theme is known 2017-01-14 23:20:42 +01:00
Marcel Hollerbach 7bc64a439f extra: add more api calls
You can check now if there is a old version, or if the theme is set as
default.
2017-01-14 22:58:50 +01:00
Marcel Hollerbach fd69b2797b extra: remove file if the exit code is not 200 2017-01-14 22:58:50 +01:00
Marcel Hollerbach bec53e0c59 extra: change the theme selector from a list with names to a grid
the new ui brings a grid selection so the user can see the screenshot of
each theme when scrolling through it. This also refactors the progress
popup creation into its own file.
2017-01-14 22:58:44 +01:00
Marcel Hollerbach 285cb4864a extra: add a data field to the progress struct
the data field will be passed to the callback when its called.
2017-01-14 14:04:11 +01:00
Marcel Hollerbach 4a3007e094 extra: lets change the cursor here 2017-01-12 14:20:25 +01:00
Marcel Hollerbach 4c05710d49 extra: show the image as fullscreen when it gets clicked 2017-01-12 12:24:00 +01:00
Marcel Hollerbach bef597729e build: init submodules when calling autogen.sh
if one submodule is not initializied it will run submodule update --init
  --recursive, which will download the files that are needed.

The whole thing is also just called if you are in a git repository so
nothing of that magic is done when a tarbal is downloaded and shipped.
2017-01-10 17:26:24 +01:00
Andy Williams d11e1a00d3 General refactoring 2017-01-10 12:17:55 +00:00
Marcel Hollerbach 47c299aa37 extra: complile with c99 if possible 2017-01-10 10:26:44 +01:00
Andy Williams 8a36b3c080 free correctt object 2017-01-09 23:28:16 +00:00
Marcel Hollerbach b04e0fcd5d extra: use strbuf
the other calculation was a bit rough to read. And strbuf handles that better.
2017-01-09 22:22:28 +01:00
Marcel Hollerbach 8c786787de use the normal url there may be someone without ssh 2017-01-09 22:14:15 +01:00
Marcel Hollerbach d2c0eed7e2 extra: generate the theme cache var with efreet api
there can be some people who are changing the cache home directory to
some other value than the standard xdg stuff.
2017-01-09 22:06:20 +01:00
Marcel Hollerbach 439e748db0 extra: make sure the downloads are only started once
otherwise we could overwrite the image and invalidate it.
2017-01-09 22:02:07 +01:00