After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 510903 - use gtk-cursor-blink setting
use gtk-cursor-blink setting
Status: RESOLVED FIXED
Product: vte
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: VTE Maintainers
VTE Maintainers
Depends on:
Blocks: 342921
 
 
Reported: 2008-01-20 21:43 UTC by Christian Persch
Modified: 2008-10-25 03:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (9.26 KB, patch)
2008-01-20 21:43 UTC, Christian Persch
needs-work Details | Review
[PATCH] Bug 510903 – use gtk-cursor-blink setting (13.88 KB, patch)
2008-06-26 19:02 UTC, Christian Persch
accepted-commit_now Details | Review

Description Christian Persch 2008-01-20 21:43:17 UTC
(Continued from gnome-terminal bug 342921.)
Comment 1 Christian Persch 2008-01-20 21:43:29 UTC
Created attachment 103283 [details] [review]
patch
Comment 2 Behdad Esfahbod 2008-01-20 23:03:01 UTC
Looks good.  I remember desrt doing something like this too, but can't find any bugs.
Comment 3 Christian Persch 2008-06-23 14:27:17 UTC
Given the reaction to bug 342921, I don't think we want this patch. Instead, I think something like this:

enum {
  VTE_TERMINAL_BLINK_SYSTEM,
  VTE_TERMINAL_BLINK_ON,
  VTE_TERMINAL_BLINK_OFF
} VteTerminalBlinkMode;

with getter + setter vte_terminal_[sg]et_cursor_blink_mode(), and only use the gtk setting if the mode is SYSTEM. (And setting mode ON/OFF is the replacement of vte_terminal_set_cursor_blinks).
I'm going to update the patch accordingly.
Comment 4 Christian Persch 2008-06-26 19:02:04 UTC
Created attachment 113482 [details] [review]
[PATCH] Bug 510903 – use gtk-cursor-blink setting

 doc/reference/tmpl/vte.sgml    |   18 +++
 doc/reference/vte-sections.txt |    2 +
 src/vte-private.h              |   10 +-
 src/vte.c                      |  234 +++++++++++++++++++++++++++-------------
 src/vte.h                      |   13 ++-
 5 files changed, 197 insertions(+), 80 deletions(-)
Comment 5 Behdad Esfahbod 2008-06-27 13:32:33 UTC
Looks good.
Comment 6 Christian Persch 2008-06-27 16:52:54 UTC
        * doc/reference/tmpl/vte.sgml:
        * doc/reference/vte-sections.txt:
        * src/vte-private.h:
        * src/vte.c:
        * src/vte.h: Make the cursor blinking follow the gtk setting by
        default, with a possible override.

Comment 7 Phy 2008-10-25 03:37:06 UTC
'kay so how does one go about disabling the bloody blinking?