Commit Graph

29 Commits

Author SHA1 Message Date
Gaetan Semet
3e4eefcfd2 Minor code update and error management 2019-04-18 15:15:55 +02:00
Louie Lu
500be20990 Block notebook button-press-event when search box visible
If we don't block notebook button-press-event, it will affect search box,
when double click on search box button or search entry, it will then add
a new page with focus, which is what we don't want.

So, block this event when search box is visible, and unblock it when
search box is show off.
2019-04-18 12:58:44 +02:00
Louie Lu
39be44a519 Add terminal search box
User can search their terminal by search box. Search is based on vte.

Default accel-key is CTRL+SHIFT-F, it will then show up a search box
at right bottom of the page. User can search by hitting Return to search
next, or hitting Return with Shift to search previous, or using next/prev
button to search.

ESC or anyother focus-out of search entry will hide the search box.

NOTE: it will only search on last focus terminal if the terminal has been
split out.
2019-04-18 12:58:44 +02:00
Louie Lu
3e5e39c2c0 Fix save/restore tabs for workspaces
This fix #1527
2019-04-16 22:19:16 +02:00
Louie Lu
e72dacf45e Add auto save tabs, enable by prefs 2019-04-13 14:14:32 +02:00
Louie Lu
61f2bab360 Add save/restore tabs 2019-04-13 06:28:48 +02:00
Louie Lu
626b5a4811 Add label parameter for new_page_with_focus 2019-04-13 06:28:48 +02:00
Louie Lu
1a1c161bbf Revert "Fixes #1438"
This reverts commit 4ba0b2abcb.
2019-04-13 06:28:48 +02:00
tensor-zeng
4ba0b2abcb Fixes #1438 2019-04-03 14:08:30 +02:00
Aleksandr Mezin
e0dba674ee Add optional close buttons for tabs
sem-ver: feature

Signed-off-by: Aleksandr Mezin <mezin.alexander@gmail.com>
2019-01-11 18:39:55 +01:00
Aleksandr Mezin
acdb9223f7 Restore "new tab" button
removed in 1311cb0

Fixes #1471

sem-ver: feature

Signed-off-by: Aleksandr Mezin <mezin.alexander@gmail.com>
2019-01-10 09:55:11 +01:00
Aleksandr Mezin
b55e50773f Open new tab by double-clicking on the tab bar
Fixes #1439

sem-ver: feature

Signed-off-by: Aleksandr Mezin <mezin.alexander@gmail.com>
2019-01-08 00:26:30 +01:00
Mario Aichinger
15cb7fdf04 fix make check issues 2019-01-08 00:17:57 +01:00
Mario Aichinger
1dbab10db1 add a notebook manager
fix settings only applied to the active workspace if more the 1 is used
fix prompt quit dialog numbers when more then 1 workspace is used
fix dbus interface when more then 1 workspace is used
remove some 'python magic'
replace try-catch with condition
2019-01-08 00:17:57 +01:00
Florian Reimair
f6a196cbbc One notebook per workspace 2018-12-19 13:27:38 +01:00
pathmann
84cf17f837 add global notebook context menu 2018-11-29 12:54:13 +01:00
Rodrigo Rodrigues da Silva
89d39aa06f Add hotkey to open new tab in home directory. 2018-11-11 23:07:45 +01:00
Rodrigo Rodrigues da Silva
7df65d8baf Resolve #1451
Pass `directory` argument to `new_page()` in `new_page_with_focus()`. Probably introduced in 0834bad4.
2018-11-11 23:05:59 +01:00
Mario Aichinger
4a117df631 fix #1097 2018-10-04 18:45:41 +02:00
Alessio Garzi
3d5be3162b TerminalNotebook.get_terminals corrected
The method get_terminals does not require index parameter.
If placed it causes the get_count_tab() dbus method to crash.
2018-09-27 22:19:18 +02:00
Mario Aichinger
04e3c582cf split terminal
sem-ver: feature
2018-09-21 10:21:18 +02:00
Mario Aichinger
cdb6b509df fix close tab related issues 2018-09-19 19:03:00 +02:00
Mario Aichinger
9e7441a64c fix terminal directory selection after terminal has been closed 2018-09-05 13:52:29 +02:00
Mario Aichinger
bdab3af5ef fix #1177 2018-09-02 10:37:26 +02:00
Mario Aichinger
8074c1c034 fix focus after tab was closed 2018-09-01 16:21:22 +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
Mario Aichinger
7ad09e97ca fix tab_ontop
fix get_current_terminal
2018-08-24 23:42:15 +02:00
Mario Aichinger
741b55c60d remove whitespace and fix/reorder imports 2018-08-24 23:42:15 +02:00
Mario Aichinger
1311cb0b6b rewrite the notebook 2018-08-24 23:42:15 +02:00