From 3334a2e571afbf63c489c96ad7971623b3ba304b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mirco=20M=C3=BCller?= Date: Mon, 13 Sep 2010 17:34:27 +0200 Subject: removed unused boolean flag (bzr r495.3.2) --- unity-private/panel/panel-home-button.vala | 5 ----- 1 file changed, 5 deletions(-) (limited to 'unity-private') 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 (); -- cgit v1.2.3