abakkk
17c0da57a1
Merge branch 'dev' into 'master'
...
v6
See merge request abakkk/DrawOnYourScreen!11
2020-03-13 17:20:47 +01:00
abakkk
8b3256d820
version -> 6
2020-03-13 17:17:46 +01:00
albanobattistella
970a6370be
update it translation
...
close !7
close !10
2020-03-13 17:09:57 +01:00
abakkk
0a5dff018d
add gnome-shell-extension-prefs in readme
2020-03-13 17:09:57 +01:00
abakkk
1fe315b8f7
version -> 5.2
...
Ok with GS 3.36.
2020-03-13 17:09:57 +01:00
abakkk
508d7dca3a
fix helper OSD display
2020-03-13 17:09:57 +01:00
abakkk
6286834473
GS 3.36 compatibility
...
* Clutter.Escape -> Clutter.KEY_Escape
* container.add(child) -> actor.add_child(child)
* container.add(child, { expand: true }) -> child.x_expand = true && actor.add_child(child)
* slider.onKeyPressEvent does not exist anymore (Slider use vfunc instead)
2020-03-13 17:09:57 +01:00
abakkk
2dbcb4a805
Merge branch 'master' into 'master'
...
Russian localization update
See merge request abakkk/DrawOnYourScreen!9
2020-03-13 16:59:35 +01:00
Sazonow Andrew
da66b29032
Russian localization update
2020-03-13 16:59:35 +01:00
abakkk
9e92996cc0
Merge branch 'dev' into 'master'
...
v5.1
Closes #20 and #22
See merge request abakkk/DrawOnYourScreen!8
2020-03-06 16:30:22 +01:00
abakkk
0d83dcead1
add it locale .mo
2020-03-04 17:50:29 +01:00
albanobattistella
447b36421b
Upload New File
2020-03-04 17:46:12 +01:00
abakkk
149b188e4e
version -> 5.1
2020-03-04 15:47:36 +01:00
abakkk
0ae23a5d10
"Open user.css" -> "Edit style"
2020-03-04 14:23:49 +01:00
abakkk
4e3353863c
drawing menu style
...
Reduce menu height.
2020-03-04 09:33:40 +01:00
abakkk
289b280f67
remove Monospace in openDrawing item styles
2020-03-04 08:51:36 +01:00
abakkk
7fbbb8ef68
readme
2020-03-04 08:15:53 +01:00
abakkk
06f59dbea3
json files
...
* Do not use fileInfo.get_modification_date_time for compatibility reason.
* Inverse 'Open drawing' list order: recent first.
* Overwrite identical contents when the save operation is queried by the user.
2020-03-03 13:48:31 +01:00
abakkk
8580902bf5
fix commit 5e8cb0ea1 (close menu when showing helper)
2020-03-02 16:42:46 +01:00
abakkk
d19c3e25ea
cleanup
2020-03-02 16:32:50 +01:00
abakkk
ef99ca7f2f
readme
2020-03-02 10:40:20 +01:00
abakkk
0dd7859d4f
minor, syntax
2020-03-01 17:33:41 +01:00
abakkk
34c7c8f575
let user customize square area size
...
Fixes issue #22
2020-03-01 16:56:49 +01:00
abakkk
1e03967fbf
introduce space key modifier
...
Pointer movement is ignored when the `space` key is held.
To ensure [Screenshot Tool](https://extensions.gnome.org/extension/1112/screenshot-tool/ ) extension compatibility, we need a way to let the third extension select the screenshot area with pointer but without leaving drawing mode and without drawing.
As a side effect, it allows to insert straight line segments in free drawing (after releasing the key).
Fixes issue #20
2020-03-01 13:25:48 +01:00
abakkk
5e8cb0ea1f
close menu when showing helper
2020-03-01 11:35:33 +01:00
abakkk
acb728a117
.pot: "Translators" --> "translator-credits"
...
"translator-credits" as in Gtk.AboutDialog
2020-02-09 18:03:36 +01:00
abakkk
c9bde10ff0
cursor -> textCursor
...
Not to be confused with pointer cursor.
2020-02-09 17:56:40 +01:00
abakkk
cc7e208c35
minor, imports ByteArray module in header
2020-02-09 17:45:28 +01:00
abakkk
528a62fa57
minor, menuCloseFunction
...
Fixes 'TypeError: this.saveDrawingSubMenu is undefined'
2020-02-09 16:43:21 +01:00
abakkk
e0ce5e0096
do not override peristent.json with an empty drawing when changing persistency setting
2020-01-10 13:01:26 +01:00
abakkk
aa0a984878
define 'persistent-file-name' and 'svg-file-name' in metadata
...
instead of 'DEFAULT-FILE-NAME' const
2020-01-10 12:32:28 +01:00
abakkk
4cc28cf100
small rework of prefs.js
2020-01-07 22:15:18 +01:00
abakkk
662f229a64
user.css outside extension directory
...
* Move drawing style to `default.css`.
* Generate (when opening) and handle `user.css` in `~/.local/share/drawOnYourScreen/`.
2020-01-06 21:24:29 +01:00
abakkk
e4d6e327b8
icons/ -> data/icons/
2020-01-06 15:46:49 +01:00
abakkk
738d06cde6
replace DATA_SUB_DIR const with 'data-dir' metadata property
2020-01-06 15:32:38 +01:00
abakkk
8159ff3f7a
minor, metadata
2020-01-06 15:29:01 +01:00
abakkk
f4ff709fd3
change imports
...
* Extension -> Me
* ExtensionJs -> Extension
* Use ExtensionUtils instead of convenience with GS 3.32+
2020-01-05 15:44:51 +01:00
abakkk
bc5acc7472
change prefs order and style
2020-01-05 14:50:38 +01:00
abakkk
8f3fbe7aa9
replace 'smoothed-stroke' pref with 'Ctrl' key modifier
2020-01-05 13:42:05 +01:00
abakkk
5b1816d29a
change some keybindings
...
* increment/decrement line width more: `Primary + Page_Up/Down` --> `Primary + Shift + KP_Add/Subtract`
* open previous/next json: `Primary + Left/Right` --> `Primary + Page_Up/Down`
* save drawing as svg file: `Primary + S` --> `Primary + Shift + S`
* save drawing: `Primary + Shift + S` --> `Primary + S`
2020-01-05 12:40:35 +01:00
abakkk
74f602b268
fix cursor update when closing the menu from save entry
...
St.Entry clutter_text set the DEFAULT cursor on leave event with a delay and overrides the cursor set by area.updatePointerCursor().
In order to update drawing cursor on menu closed, we need to leave the saveEntry before closing menu.
Since escape key press event can't be captured easily, the job is done in the menu close function.
2020-01-05 12:36:42 +01:00
abakkk
04b119557f
fix commit ec2348b1e (drawingContentsHasChanged)
2020-01-04 16:07:53 +01:00
abakkk
5997c9cba3
small trick to prevent the menu from "jumping" on first opening
2020-01-04 12:58:05 +01:00
abakkk
ec2348b1ec
Add asterisk to the drawing name item if the drawing has changed since last save or open operation
2020-01-04 12:50:43 +01:00
abakkk
17bbe345af
new "Open" and "Save" drawing features
...
* Use a "drawOnYourScreen" subdir in the xdg user data dir
* Info item with the name of the last saved/open json file
* "Open drawing" sub menu with data dir content
* "Save drawing" sub menu with entry
* "Save", "Open previous" and "Open next" keybindings
2020-01-04 00:16:20 +01:00
abakkk
7c7d75a2ba
minor, true -> GLib.SOURCE_CONTINUE
2020-01-02 01:44:08 +01:00
abakkk
97c8393835
getActor() utility function
...
Prepare save and open drawing features.
2020-01-02 01:38:57 +01:00
abakkk
7878af7157
DEFAULT_FILE_NAME and getDateString()
...
Prepare save and open drawing features.
2020-01-02 01:22:25 +01:00
abakkk
f0ac2a21b0
add iconName param to showOsd function
...
Prepare save and open drawing features.
2020-01-02 00:56:40 +01:00
abakkk
6d27a37478
drawing menu separator item style improvement
2020-01-02 00:32:14 +01:00