diff options
| author | Mirco Müller <mirco.mueller@ubuntu.com> | 2010-09-13 17:34:27 +0200 |
|---|---|---|
| committer | Mirco Müller <mirco.mueller@ubuntu.com> | 2010-09-13 17:34:27 +0200 |
| commit | 3334a2e571afbf63c489c96ad7971623b3ba304b (patch) | |
| tree | 94fc663f8d34852a6fa260431f5ad7dcefe76add /unity-private/panel | |
| parent | ea52670ccda101af8a917089262a537dc91fa87e (diff) | |
removed unused boolean flag
(bzr r495.3.2)
Diffstat (limited to 'unity-private/panel')
| -rw-r--r-- | unity-private/panel/panel-home-button.vala | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/unity-private/panel/panel-home-button.vala b/unity-private/panel/panel-home-button.vala index 29dcf6215..cf1b5e8ca 100644 --- a/unity-private/panel/panel-home-button.vala +++ b/unity-private/panel/panel-home-button.vala @@ -28,7 +28,6 @@ namespace Unity.Panel private Clutter.Texture bfb_bg_normal; private Clutter.Texture bfb_bg_prelight; private Clutter.Texture bfb_bg_active; - private bool search_shown; public HomeButton (Shell shell) { @@ -98,8 +97,6 @@ namespace Unity.Panel set_background_for_state (Ctk.ActorState.STATE_NORMAL, bfb_bg_normal); set_background_for_state (Ctk.ActorState.STATE_PRELIGHT, bfb_bg_prelight); set_background_for_state (Ctk.ActorState.STATE_ACTIVE, bfb_bg_active); - - search_shown = false; } private override void allocate (Clutter.ActorBox box, @@ -195,14 +192,12 @@ namespace Unity.Panel set_background_for_state (Ctk.ActorState.STATE_NORMAL, bfb_bg_normal); set_background_for_state (Ctk.ActorState.STATE_PRELIGHT, bfb_bg_prelight); set_background_for_state (Ctk.ActorState.STATE_ACTIVE, bfb_bg_active); - search_shown = false; } else { set_background_for_state (Ctk.ActorState.STATE_NORMAL, null); set_background_for_state (Ctk.ActorState.STATE_PRELIGHT, null); set_background_for_state (Ctk.ActorState.STATE_ACTIVE, null); - search_shown = true; } do_queue_redraw (); |
