Merge lp:~holizz/ubuntu/natty/gnome-terminal/cursor-blink-mode-ui into lp:ubuntu/natty/gnome-terminal

Proposed by Tom Adams
Status: Rejected
Rejected by: Martin Pitt
Proposed branch: lp:~holizz/ubuntu/natty/gnome-terminal/cursor-blink-mode-ui
Merge into: lp:ubuntu/natty/gnome-terminal
Diff against target: 82 lines (+78/-0)
1 file modified
debian/patches/22_cursor_blink_mode.patch (+78/-0)
To merge this branch: bzr merge lp:~holizz/ubuntu/natty/gnome-terminal/cursor-blink-mode-ui
Reviewer Review Type Date Requested Status
Michael Terry Disapprove
Ubuntu branches Pending
Review via email: mp+58904@code.launchpad.net

Description of the change

Solves bug #762399.

Under the general tab in Profile Preferences there's a new select box which can change the cursor_blink_mode option.

I had previously proposed another commit, but this one puts the changes into debian/patches (oops).

To post a comment you must log in.
Revision history for this message
Michael Terry (mterry) wrote :

Thank you so much for the patch, it looks good at what it does. However, we try not to diverge from the upstream UI unless there is a very strong reason. It would be better to get upstream to put this into gnome-terminal (though I understand they've dragged their feet).

I'm rejecting, not because I don't think it's a good idea, but just because we don't want to add another delta to Ubuntu.

review: Disapprove

Unmerged revisions

78. By Tom Adams

* debian/patches/22_cursor_blink_mode.patch
  - Fix LP: #762399 - Blinking cursor can be deactivated but only through
    gconf

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'debian/patches/22_cursor_blink_mode.patch'
2--- debian/patches/22_cursor_blink_mode.patch 1970-01-01 00:00:00 +0000
3+++ debian/patches/22_cursor_blink_mode.patch 2011-04-24 14:20:51 +0000
4@@ -0,0 +1,78 @@
5+=== modified file 'src/profile-editor.c'
6+--- old/src/profile-editor.c 2010-08-17 17:25:32 +0000
7++++ new/src/profile-editor.c 2011-04-16 13:34:59 +0000
8+@@ -884,6 +884,7 @@
9+ CONNECT ("bold-color-same-as-fg-checkbox", TERMINAL_PROFILE_BOLD_COLOR_SAME_AS_FG);
10+ CONNECT ("bold-colorpicker", TERMINAL_PROFILE_BOLD_COLOR);
11+ CONNECT ("cursor-shape-combobox", TERMINAL_PROFILE_CURSOR_SHAPE);
12++ CONNECT ("cursor-blink-mode-combobox", TERMINAL_PROFILE_CURSOR_BLINK_MODE);
13+ CONNECT ("custom-command-entry", TERMINAL_PROFILE_CUSTOM_COMMAND);
14+ CONNECT ("darken-background-scale", TERMINAL_PROFILE_BACKGROUND_DARKNESS);
15+ CONNECT ("default-size-columns-spinbutton", TERMINAL_PROFILE_DEFAULT_SIZE_COLUMNS);
16+
17+=== modified file 'src/profile-preferences.glade'
18+--- old/src/profile-preferences.glade 2010-08-17 17:25:32 +0000
19++++ new/src/profile-preferences.glade 2011-04-16 13:34:59 +0000
20+@@ -346,6 +346,61 @@
21+ </child>
22+
23+ <child>
24++ <widget class="GtkHBox" id="hbox141">
25++ <property name="visible">True</property>
26++ <property name="homogeneous">False</property>
27++ <property name="spacing">12</property>
28++
29++ <child>
30++ <widget class="GtkLabel" id="label482">
31++ <property name="visible">True</property>
32++ <property name="label" translatable="yes">_Cursor blink mode:</property>
33++ <property name="use_underline">True</property>
34++ <property name="use_markup">False</property>
35++ <property name="justify">GTK_JUSTIFY_LEFT</property>
36++ <property name="wrap">False</property>
37++ <property name="selectable">False</property>
38++ <property name="xalign">0.5</property>
39++ <property name="yalign">0.5</property>
40++ <property name="xpad">0</property>
41++ <property name="ypad">0</property>
42++ <property name="mnemonic_widget">cursor-blink-mode-combobox</property>
43++ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
44++ <property name="width_chars">-1</property>
45++ <property name="single_line_mode">False</property>
46++ <property name="angle">0</property>
47++ </widget>
48++ <packing>
49++ <property name="padding">0</property>
50++ <property name="expand">False</property>
51++ <property name="fill">False</property>
52++ </packing>
53++ </child>
54++
55++ <child>
56++ <widget class="GtkComboBox" id="cursor-blink-mode-combobox">
57++ <property name="visible">True</property>
58++ <property name="items" translatable="yes">System preference
59++On
60++Off</property>
61++ <property name="add_tearoffs">False</property>
62++ <property name="focus_on_click">True</property>
63++ </widget>
64++ <packing>
65++ <property name="padding">0</property>
66++ <property name="expand">False</property>
67++ <property name="fill">True</property>
68++ </packing>
69++ </child>
70++ </widget>
71++ <packing>
72++ <property name="padding">0</property>
73++ <property name="expand">False</property>
74++ <property name="fill">True</property>
75++ </packing>
76++ </child>
77++
78++ <child>
79+ <widget class="GtkHBox" id="hbox136">
80+ <property name="visible">True</property>
81+ <property name="homogeneous">False</property>
82+

Subscribers

People subscribed via source and target branches