Commit Graph

1262 Commits

Author SHA1 Message Date
Stephen Boddy 8f7b7f9a27 Remove an outstanding VERIFY item. Gtk-3.0.gir function def says to ignore it (gtk2->gtk3) 2015-11-07 01:29:12 +01:00
Stephen Boddy d56f3b609f (trunk-1664)
* Set window geometry hints to off by default. The constant trickle of problems it causes are annoying.
  May set up a warning dialog when turning on.
* Actually set the DBUs interface to on by default. For some reason it wasn't active by default.
2015-11-07 01:25:01 +01:00
Stephen Boddy be510d0d3e Fix editable label distorting the layout until the splitter gets moved 2015-11-07 01:21:05 +01:00
Stephen Boddy 8e57aae0fe Fix to make sure the bell icon appears even when titlebar text extends beyond terminals width 2015-11-07 01:19:44 +01:00
Stephen Boddy 4217a7308f Minor fixup for newer GI wanting us to specify versions 2015-11-07 01:15:46 +01:00
Stephen Boddy d4bd916c90 (trunk-1681) Followup to 1616 to improve behaviour a bit further on rebalancing 2015-11-07 01:15:27 +01:00
Stephen Boddy 109e26161a (trunk-1679) Fix flickering and intermittent failures to rebalance 2015-11-05 10:57:57 +01:00
Stephen Boddy 4269a99598 Reimplement visual flash that got removed from libvte, reusing the DnD overlay to flash the terminal (gtk2->gtk3) 2015-09-29 02:24:36 +02:00
Stephen Boddy 177c62068c (trunk-1655) Minor correction to actually return error message, rather than just contemplating it 2015-09-19 17:37:19 +02:00
Stephen Boddy 7b769ae1d8 * Fix the DBus interface (gtk2-gtk3)
* Disable the wm_class feature. Seems not possible in GTK3, and breaks
  the DBus call for new_window.
(trunk-1651)
* As part of GTK3 fixup, some improvements to the DBus interface, and
  remotinator (Steve Boddy)
  * Can now open a window or tab using remotinator
  * Can get the window uuid, or title using remotinator
  * Moved new tab key handling into the terminal for consistency
  * Standardise response when a new term is created (split, win
    or tab) to reply with new terms uuid
  * For GTK3 gave the DBus a slightly different name so they it
    can run at same time as GTK2
  * remotinator now uses argparse for commandline option handling,
    vastly improving the option handling
  * remotinator help strings are translatable now
2015-09-19 05:25:25 +02:00
Stephen Boddy e4c235dcd6 (trunk-1650) Minor change to custom commands to use the standard gerr function instead of the broken local one 2015-09-19 05:01:25 +02:00
Stephen Boddy 76b9cd33e0 Minor fix for a lingering usage of GTK2 style constant when setting the last resort icon. 2015-09-10 00:34:12 +02:00
Stephen Boddy a65ce100f7 (trunk-1617) Add fallback to psutils to discover the cwd of a terminal (Heon Jeong) 2015-09-01 23:05:24 +02:00
Stephen Boddy ac53de6afb (trunk-1615) Start 'New Layout #' from 1. Looked strange starting at 2 2015-09-01 23:04:16 +02:00
Stephen Boddy 94b577484b (trunk-1614) Sort entries in config file, so they don't jump around every time config is saved for easier troubleshooting 2015-09-01 23:01:16 +02:00
Stephen Boddy f64d3e67fa (trunk-1599/1600/1601)
* setup.py can install the manual (and by extension do can debuild)
* setup.py has (inactive) code for generating the html from the source
  but this will break if rtd theme is not available
* A few changes to doc strings to make the autodoc prettier
* Added help shortcut, by default F1 to open the local manual
* Added button to About tab to launch manual
* A couple of additional string to translate related to manual/help

* Small tweak to setup.py to seperate build and install, and always attempt
  to install manual by default.

* Small fix for systems (i.e. my 12.04 LTS) that don't set LANGUAGE for
  whatever reason. This breaks the manual lookup
2015-09-01 22:50:09 +02:00
Stephen Boddy 2e21276b64 (trunk-1619) Slight change to how the zoomed font is calculated. This just
seems to give a more natural size when zooming over the previous. Can be
reverted if people don't like it. Also using this as a sneaky way to close 6
year old bug.
2015-08-21 00:09:01 +02:00
Stephen Boddy 933237adce (trunk-1618)
* Remove the old_padding and allocation stuff from the zoom_scaled function in terminal which iasn't used anyway
* Remove another unneeded assignment in is_zoomed function in terminal
2015-08-20 23:55:42 +02:00
Stephen Boddy 8b8376c331 Fix the zoom/maximise terminal function (gtk2->gtk3) 2015-08-16 21:19:24 +02:00
Stephen Boddy e723f0df25 (trunk-1611) Fix composed characters when broadcast is turned on to appear in all receivers now (LP:#1463704) 2015-08-10 22:51:56 +02:00
Stephen Boddy 73c2a17ca0 (trunk-1610) Stop the buttons in the layout tab from being hidden by the slider 2015-08-10 21:45:53 +02:00
Stephen Boddy cfd4539a4a (trunk-1609) Fix minor issue with Super+double-click on a splitter failing if tabs were in use 2015-08-10 20:40:49 +02:00
Stephen Boddy 03947c7b50 (trunk-1608) Minor fix to slider widget in Prefs>Global, which was filling the whole trough, unlike the one right above it. 2015-08-09 14:17:13 +02:00
Stephen Boddy 67c99283d8 (trunk-1606) Fix the problem with tabs not being named where a window with splits creates a new tab 2015-08-09 04:34:05 +02:00
Stephen Boddy d6b62b61d8 Minor gtk3 fix for setting urgent flag on window for highlight in task bar 2015-08-06 21:45:07 +02:00
Stephen Boddy 275086501b * (trunk-1594) Add and improve the mnemonics in the group menu
* Also fix the group radio buttons after the mnemonics additions broke them
  (GTK3 is such a pain - there may be a better solution, I just couldn't find it)
2015-08-04 20:45:22 +02:00
Stephen Boddy 795ab2aeec (trunk-1593) Make the random default group names translatable
(occurred to me that they might look out of place in f.e. Arabic, Chinese, Cyrillic and (ironically) Greek)
2015-08-04 20:42:36 +02:00
Stephen Boddy 2254055eb7 (trunk-1592) Correct a default shortcut that was a bit garbled 2015-08-04 20:39:35 +02:00
Stephen Boddy d5a231afb2 (trunk-1590) Another big chunk of translation updates
* Add translation for column headers in Preferences
  * Add translation for some remaining strings
  * Remove some of the now deprecated "Gtk.STOCK_*" items
2015-08-04 03:17:05 +02:00
Stephen Boddy 20dad87117 (trunk-1588/1589)
BIG update to translations, due to additions and changes. Unfortunately Launchpad
translations don't work with gettext fuzzy matches, so I'm afraid there's a lot
of rework for translators.

* Add a few new translatable strings
* Update the list of files to scan with additionas and deletions
* Update the template (pot) and country (po) files
* Fix the preferences window to be translated (LP:#1245806) (accidentally added earlier in gtk3 rev 1565, just noting here)
* Update tab close button icon to match lighter gnome-terminal one (accidentally added earlier in gtk3 rev 1565, just noting here)
2015-08-03 21:15:28 +02:00
Stephen Boddy c83e627a69 (trunk-1587) * Adjust the config section name to InactivityWatch for InactivityWatch class
* Add a new setting for ActivityWatch to set the time between activty notifications
2015-08-03 20:36:14 +02:00
Stephen Boddy 73d29ef997 (trunk-1586) Additional windows icon loading works better, and respect the theme changes. 2015-08-03 20:33:10 +02:00
Stephen Boddy 2686296cf6 (trunk-1585) Adds high contast icons, and makes the main window icon loading work better, and respect the theme changes.
Note: wmclass_name no longer readable under GTK3, so -c option is a bit dubious now.
      Also, in HighContrast, there are issues with titlebar background colours that are not present in GTK2.
2015-08-03 20:22:15 +02:00
Stephen Boddy d93e104da8 (trunk-1584) Fixes font lookups for people with unpopulated gconf database (i.e. KDE) 2015-08-02 00:50:24 +02:00
Stephen Boddy 2deebe40bf (trunk-1582) Set some default shortcuts based on my preference (Steve Boddy) 2015-07-19 23:44:41 +02:00
Stephen Boddy 2c002e5139 (trunk-1579) Fix slightly uneven splits on shortcut due to handle size, though this will make previously saved layouts off by a few pixels (Steve Boddy, LP#1089162)"
Also broke the getting of the handle bar size out into a function.
2015-07-15 20:09:32 +02:00
Stephen Boddy 85532f980c (trunk-1578) Fix a few prefs widget alignments as per GNOME visual guidelines 2015-07-15 19:08:18 +02:00
Stephen Boddy 7f452e5b64 (trunk-1577) Preselect the current layout when opening Prefs window, and also save config after using the layout 'Save' button (Steve Boddy) 2015-07-15 02:51:18 +02:00
Stephen Boddy 758863f363 (trunk-1576) Add 'Save' button for saving to the selected Layout (Ariel Zelivansky) 2015-07-15 02:43:39 +02:00
Stephen Boddy d53b036642 Dual solution for cwd based on comments 36 & 37 by Egmont Koblinger in LP#1030562 2015-07-13 16:30:27 +02:00
Stephen Boddy 43c134b5c5 (trunk-1575) Fix drag and drop of files (Schplurtz le Déboulonné, LP#1311481) and some tweaks (Steve Boddy)
Schplurtz le Déboulonné
    - multiple files can be dropped in terminal
    - correctly sh-quote filenames, even those with '
    - also fixes LP#1311481 (\n after dropped filename)
Steve Boddy
    - changes to the logic, where all lines are now checked for the file:// prefix
    - text blocks now insert in full, not just first line
    - Oddly gtk3 changes dropped text blocks from '\n' to '\r\n' (gtk2->gtk3)
2015-07-13 00:39:09 +02:00
Stephen Boddy d56da596b3 Fix the drag-and-drop of terminals/text back to pre-port functionality - a real pain this one (gtk2->gtk3) 2015-07-12 22:06:36 +02:00
Stephen Boddy 8b566b9859 (trunk-1574) Add shortcuts for next/prev profile (Peter E Lind, LP#1314734) 2015-07-12 00:27:59 +02:00
Stephen Boddy cf81fe937a (trunk-1573) Global setting for changing the titlebar font (partially from Eli Zor branch), but expanded and improved (docs/GUI), plus some minor fixup from this. 2015-07-10 21:37:35 +02:00
Stephen Boddy e97f669b6e Major cleanup and reorganisation of the preferences window. 2015-07-10 16:14:05 +02:00
Stephen Boddy 1a435127f2 Fix URL opening. Little too much removed in original port, meaning one click = two copies of page opened. 2015-07-02 21:42:40 +02:00
Stephen Boddy 912545e5da Remove comment re right way to keep menus visible - Happy with solution 2015-07-02 21:40:53 +02:00
Stephen Boddy 0629a02465 (trunk-1565) actually merge the distcheck fix in this time 2015-06-23 02:36:45 +02:00
Stephen Boddy 29a412ee0f (trunk-1564) Merge default broadcast behaviour toggle by Jiri (jtyr) - fixes lp #1288835 2015-06-22 20:06:21 +02:00
Stephen Boddy e4edaa1ffa Add Ctrl+Shift+mousewheel and Ctrl+Super+mousewheel actions to zoom receivers or all terminals 2015-06-21 20:38:03 +02:00
Stephen Boddy d9ba9c41cf Small fix in get_allocation override to prevent exceptions/hung process on exiting with close button. 2015-06-21 18:54:37 +02:00
Stephen Boddy 448d020cf1 Fix for confirm close dialog from judgedreads 2015-06-21 18:49:07 +02:00
Stephen Boddy 899916c0fb (trunk-1552) Merge search bar wrap toggle from Christophe Bourez 2015-06-21 17:57:14 +02:00
Stephen Boddy b549f43834 Fix search broken by port because returns are now different (gtk2->gtk3 and vte 0.36 -> 0.38) 2015-06-21 04:23:52 +02:00
Stephen Boddy b0d4357002 (trunk-1554/1561) Final fix for moving between terminals, checks for overlap. So far never selects wrong terminal. 2015-06-20 21:02:41 +02:00
Stephen Boddy 7e89aa14b3 Revert to gtk2 of cwd detection, as method from Egmonts gtk3 port only returned None for me 2015-06-19 03:58:41 +02:00
Stephen Boddy 56c9875395 (trunk-1557) Fix xterm color palette to match xterm - fixes lp #1260924 2015-06-19 03:50:07 +02:00
Stephen Boddy 3b76adfdfb (trunk-1556) whitespace cleanup 2015-06-19 03:48:12 +02:00
Stephen Boddy 56e78990f2 (trunk-1555) Show application if --new-tab passed, although needs currently broken dbus - lp #1367680 2015-06-19 03:41:46 +02:00
Stephen Boddy 5fecd18da1 Fix pid for spawning now forking is deprecated, but returns are different (vte 0.36 -> 0.38) 2015-06-19 03:38:17 +02:00
Stephen Boddy addb3947dd Fix allocations not having the x,y position just w,h (gtk3 bug? gtk2->gtk3 diff?) 2015-06-19 03:36:41 +02:00
Stephen Boddy 3b290dd563 Fix allocations (no longer an attribute) when balancing (gtk2->gtk3 diff) 2015-06-19 03:34:30 +02:00
Stephen Boddy 724b563073 (trunk-1551) Fix scrollbar doubleclick rebalancing - fixes: lp #1423686 2015-06-19 03:32:24 +02:00
Stephen Boddy c12149089d Fixed getting the handle size (gtk2->gtk3 diff) 2015-06-19 03:20:54 +02:00
judgedreads pearce@millerdedmon.com 6cdc1983a6 Remove invalid dialog property 2015-03-29 15:49:57 -07:00
Stephen Boddy 9c9a37eb78 Add Ctrl+MouseWheel Zoom in/out and Shift+MouseWheel page scroll up/down 2015-03-02 22:03:08 +01:00
Stephen Boddy df0043427e Fix the scroll up/down key bindings to use gtk3 method 2015-03-02 21:50:29 +01:00
Stephen Boddy a980aec7ae Remove old flag based HAS_FOCUS usage from unused method of terminator class. 2015-03-02 13:16:09 +01:00
Stephen Boddy be6128f7be Minor focus grabbing fix from the GTK3 port. 2015-02-26 00:07:14 +01:00
Stephen Boddy 59c0499c77 Merge Activity Watcher plugin improvements from Joseph Crosland (with additional GTK3 fixes) 2015-02-26 00:02:09 +01:00
Stephen Boddy a8822e9da4 Remove pointless horizontal scrollbar from Layout Launcher 2015-02-25 18:47:29 +01:00
Stephen Boddy bf1c0dd3b9 Fixes LP#1414332 custom commands broadcast to grouped terminals from Mauro S M Rodrigues 2015-02-25 17:30:37 +01:00
Stephen Boddy 47e5baf76c Slightly modified version of Custom Commands Dialog fix from David Chandler + fixes for GTK3 2015-02-25 15:25:41 +01:00
Stephen Boddy 02601c8663 Add vertical scrollbars to the Profiles and Layouts tabs in Preferences 2015-02-23 17:09:25 +01:00
Stephen Boddy e5a249a498 Fix titlebar label preventing scaling down titlebars by wrapping whole box in a viewport. 2015-02-19 15:30:45 +01:00
Stephen Boddy 412c9b3be3 Fix startup error (undefined variable) on non-composited displays. 2015-02-19 15:28:59 +01:00
Stephen Boddy 22ed84abdd Apply terminator-gtk3-vte038-v4.patch from Egmont Koblinger 2014-09-19 16:10:43 +02:00
Stephen Boddy 7ca6dd96c6 Changes made by pygi-convert.sh 2014-09-19 16:08:08 +02:00
Peter Lind f3403d72a9 Improved code for cycling through profiles 2014-08-13 18:52:59 +02:00
Peter Lind 16cf86d5ab Adding feature to switch between profiles using keybindings
- adding config options
- adding prefeditor code
- adding event handlers to switch back and forth
2014-08-13 09:36:20 +02:00
Ariel Zelivansky eadb5cb419 Save layout button prototype. 2014-05-19 22:47:11 +03:00
Stephen Boddy 59c3022e28 Kurekt speling uv Omicron. Closes LP#1317256 2014-05-08 19:27:39 +02:00
Stephen Boddy 3fa48565ef Additional shortcuts/code to toggle All/Tab grouping 2014-01-24 23:29:54 +01:00
Stephen Boddy 106afb85df Additional shortcuts/code to toggle All/Tab grouping 2014-01-24 23:29:07 +01:00
Stephen Boddy 8426fab935 Missed a line in the cruft removal 2014-01-21 23:41:37 +01:00
Stephen Boddy 8d426d1d68 Remove the unnecessary cruft left over in the windows on_focus_in related to terminal focus 2013-12-19 23:51:30 +01:00
Stephen Boddy 581b6eeb92 Add layout save and load of active term for tabs, remember active term on switching tabs, plus more. Too inter-dependant to split into smaller commits. 2013-12-18 18:06:59 +01:00
Stephen Boddy 0272c78739 Add layout save and load of last active term for windows without tabs 2013-11-19 12:46:11 +01:00
Stephen Boddy e66a522555 Cleanup the describe_layout labels code to make some future changes easier to add in seperate commits 2013-11-15 13:21:24 +01:00
Stephen Boddy d3ff2749f9 Sync up trunk changes 2013-10-31 20:14:22 +01:00
Stephen Boddy d265dd5724 Active Window saved to layouts, and made active when loaded 2013-10-31 18:50:21 +01:00
Stephen Boddy ef57c5a5f6 Missed import of util function in previous commit 2013-10-31 17:39:16 +01:00
Stephen Boddy f0e3cb7fe5 Terminals now save and load their UUID to and from the layout 2013-10-30 17:12:00 +01:00
Stephen Boddy 8c07f1ac41 Allow the UUID to return a uuid object based on a provided UUID string 2013-10-30 17:07:23 +01:00
Stephen Boddy 07af1b3cf2 Add icons to the additional windows (Launcher, Preferences and Custom Commands) Improvements welcome ;-) 2013-10-29 14:57:01 +01:00
Stephen Boddy 3931a5cfe8 Fixes splits not being central mith multiple tabs (Justin Ossevoort). Closes LP#1186953 2013-10-25 20:13:57 +02:00
Stephen Boddy b7768f62d1 Fix the Group All/Tab shortcuts where titlebars were not updated. Closes LP#1242675 2013-10-25 16:57:14 +02:00
Stephen Boddy e86dd8859b Fixes splits not being central mith multiple tabs (Justin Ossevoort). Closes LP#1186953 2013-10-25 16:55:26 +02:00
Stephen Boddy dc2a9d428a Add a vertical scrollbar to the layoutlauncher - also make mouse wheel scrolling work. 2013-09-26 00:10:12 +02:00
Stephen Boddy f067e5355b Reload the config before we write to it or we could overwrite something from another instance. 2013-09-26 00:07:01 +02:00