File tree 3 files changed +2
-538
lines changed
3 files changed +2
-538
lines changed Original file line number Diff line number Diff line change @@ -178,26 +178,6 @@ public class Gala.WindowMenu : Clutter.Actor {
178
178
179
179
private void push_modal () {
180
180
modal_proxy = wm. push_modal (this );
181
- modal_proxy. set_keybinding_filter ((binding) = > {
182
- var action = Meta . Prefs . get_keybinding_action (binding. get_name ());
183
-
184
- switch (action) {
185
- case Meta . KeyBindingAction . NONE:
186
- case Meta . KeyBindingAction . LOCATE_POINTER_KEY:
187
- case Meta . KeyBindingAction . SWITCH_APPLICATIONS:
188
- case Meta . KeyBindingAction . SWITCH_APPLICATIONS_BACKWARD:
189
- case Meta . KeyBindingAction . SWITCH_WINDOWS:
190
- case Meta . KeyBindingAction . SWITCH_WINDOWS_BACKWARD:
191
- case Meta . KeyBindingAction . SWITCH_GROUP:
192
- case Meta . KeyBindingAction . SWITCH_GROUP_BACKWARD:
193
- return false ;
194
- default:
195
- break ;
196
- }
197
-
198
- return true ;
199
- });
200
-
201
181
}
202
182
203
183
public override void key_focus_out () {
Original file line number Diff line number Diff line change 6
6
public class Gala.SeparatorMenuItem : Clutter .Actor {
7
7
private Clutter . Canvas canvas;
8
8
9
- public SeparatorMenuItem () {
9
+ construct {
10
10
canvas = new Clutter .Canvas ();
11
11
canvas. draw. connect (draw_background);
12
12
@@ -18,6 +18,7 @@ public class Gala.SeparatorMenuItem : Clutter.Actor {
18
18
public void scale (float scale_factor ) {
19
19
height = InternalUtils . scale_to_int (2 , scale_factor);
20
20
margin_top = margin_bottom = InternalUtils . scale_to_int (3 , scale_factor);
21
+ canvas. scale_factor = scale_factor;
21
22
}
22
23
23
24
private bool draw_background (Cairo .Context ctx , int width , int height ) {
You can’t perform that action at this time.
0 commit comments