Commit Graph

40 Commits

Author SHA1 Message Date
Louie Lu
986ace8fa4 Fix serach box disappear when set background image
We didn't re-paint RootTerminalBox.search_revealer, thus search box
will not show when set background image.

Fix this by re-paint search_revealer.
2021-09-22 09:29:49 +02:00
David Yu Yang
2cfc9b3ab0 Satisfied new lint constraints 2021-09-21 17:46:01 +08:00
David Yu Yang
b2efa89bc4 Combine if statements 2021-09-13 14:43:47 +02:00
David Yang
0d8c726efd
Merge pull request #1765 from gchamon/fix-fullscreen-display
Moving window to correct coordinates before maximizing
2021-09-13 12:38:43 +08:00
David Yu Yang
2b51a07b45 Make black 2021-09-13 12:06:05 +08:00
David Yu Yang
081ba43d1b Add back os import 2021-09-13 12:03:21 +08:00
Louie Lu
46410eca24 Cache loaded background image when load the same file 2021-09-13 12:00:12 +08:00
Louie Lu
aedc0c305a Pylint 2021-09-13 11:59:35 +08:00
Louie Lu
fd1b9eee40 Force re-draw when changing BackgroundImageManager settings 2021-09-13 11:57:36 +08:00
Louie Lu
c1701d429e Reset when passing blank filename into load_from_file 2021-09-13 11:54:50 +08:00
Louie Lu
0975704ba9 Convert int mode to ImageLayoutMode IntEnum 2021-09-13 11:54:50 +08:00
Louie Lu
c5bdc28d63 Add background image manager to handle background image in guake
The implementation is based on tilix #576. For detail explanation,
please look into BackgroundImageManager.draw, which have document
the comment on it.
2021-09-13 11:54:50 +08:00
Gabriel Chamon Araujo
19da824d96 moving window to correct coordinates before maximizing 2021-09-11 04:12:29 +08:00
Eli Schwartz
60bd69db11
remove unused imports 2021-09-08 23:33:03 -04:00
Louie Lu
040fdbefd4 Format source code by black 2021-09-07 20:51:12 +08:00
David Yu Yang
a38b47c97c fix: Get CI to pass 2021-09-07 11:17:27 +02:00
woodpenker
651140c38e fix: #1761 update to avoid switch when last window minimized. 2021-05-14 07:38:40 +02:00
woodpenker
30ca397dd3 fix: #1761 guake follows mouse focus when have 2 monitors 2021-05-14 07:38:40 +02:00
Gaetan Semet
3ac1a69660 Replace autopep8, yapf by black
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2020-02-18 22:58:54 +01:00
Louie Lu
5205ce2b33 Fix fullscreen/unfullscreen not handle correctly when trigger by window manager
Expect handling from accel-key fullscreen toggle, also handle from window state changed.

Because if you bind same accel-key for fullscreen in window manager, you will not trigger it
from Guake toggle fullscreen, instead from wm.

This should fix wierd window size & position when first using Guake fullscreen toggle, then
toggle fullscreen by wm hotkey.
2019-05-13 12:29:30 +02:00
Louie Lu
ff5490e4c8 Add fullscreen hide tabbar pref 2019-05-13 12:29:30 +02:00
Gaetan Semet
6a6a6b2138 Update release note 2019-05-13 11:07:08 +02:00
Michaël Arnauts
b87256d269 Fix window positioning 2019-05-13 10:52:28 +02:00
Louie Lu
4af660fb41 Add is_x11_display checker 2019-05-07 11:43:02 +02:00
Louie Lu
d89a134321 Fix GdkX11 import error on non-X11 display backend 2019-05-07 11:43:02 +02:00
Gaetan Semet
3e4eefcfd2 Minor code update and error management 2019-04-18 15:15:55 +02:00
Louie Lu
9b2f85ee5f Add save/restore preferences to Guake CLI
$ guake --save-preferences prefs.guake
    $ guake --restore-preferences prefs.guake

**WARNING**

User will need to ensure the content inside the preferences file,
otherwise it may broke up the preferences, e.g. bad accel-key binding
2019-04-13 15:15:12 +02:00
Louie Lu
e72dacf45e Add auto save tabs, enable by prefs 2019-04-13 14:14:32 +02:00
Michaël Arnauts
6918843b6d Revert use_mouse code to previous behavior 2018-11-20 13:14:58 +01:00
Mario Aichinger
04e3c582cf split terminal
sem-ver: feature
2018-09-21 10:21:18 +02:00
Mario Aichinger
eeb1386cab fix prevent hide from tab context menu 2018-09-03 15:01:12 +02:00
Mario Aichinger
ad7c87d2e8 add comments 2018-09-03 14:17:59 +02:00
Mario Aichinger
00bdecbd73 fix #1395 reimplement main window hide prevention 2018-09-03 14:17:59 +02:00
Mario Aichinger
f16b84f394 restore unfullscreen after guake was hidden 2018-08-31 19:41:51 +02:00
Mario Aichinger
a5893dbd4e reorder imports 2018-08-31 19:41:51 +02:00
Mario Aichinger
0834bad4d1 move add, remove, and delete page methods from guake_app to notebook
remove context menus from the glade file since the are edited in code anyways
rewrite the contextmenus to support per terminal menus
remove fullscreen logic from guake_app (to Fullscreenmanager in utils)
remove proxy code since it was diabled since the gtk3 port and needs to be ported but there also no issues on GH currently
move dialogs to dialogs.py
move a lot of code (menus, dialogs, customcommands, themes) to its own files
move terminal related code (like init) to the terminal class
remove a bunch of dead code
mark some methods as keybindings/dbusinterface only
2018-08-31 19:41:51 +02:00
Gaetan Semet
12a05905b2 implement local timestamp
fix #1215
2018-03-26 21:46:38 +02:00
Gaetan Semet
aa05dfff46 Minor logging rework 2018-01-23 17:21:38 +01:00
Gaetan Semet
9b9f3f38c4 cleanup imports and desc exec dependencies 2018-01-18 09:02:33 +01:00
Gaetan Semet
cf052b6077 refactorize get_server_time
should fix crash on Wayland

Ref: #1071

Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2018-01-15 14:17:07 +01:00