[snappy] ui: remove unnecessary mouse click action
- From: Luis de Bethencourt <luisbg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [snappy] ui: remove unnecessary mouse click action
- Date: Tue, 16 Apr 2013 17:22:11 +0000 (UTC)
commit f0e9fc7309076d01752a56e0e09e93972a9db626
Author: Luis de Bethencourt <luis debethencourt com>
Date: Tue Apr 16 13:21:28 2013 -0400
ui: remove unnecessary mouse click action
src/user_interface.c | 11 -----------
1 file changed, 11 deletions(-)
---
diff --git a/src/user_interface.c b/src/user_interface.c
index 80705c3..bec4b7f 100644
--- a/src/user_interface.c
+++ b/src/user_interface.c
@@ -499,17 +499,6 @@ event_cb (ClutterStage * stage, ClutterEvent * event, UserInterface * ui)
ui->volume = (float) volume;
clutter_content_invalidate (ui->vol_int_canvas);
- } else if (actor == ui->control_bg || actor == ui->control_title
- || actor == ui->control_pos) {
- ui->keep_showing_controls = !ui->keep_showing_controls;
-
- if (ui->keep_showing_controls) {
- clutter_stage_hide_cursor (CLUTTER_STAGE (ui->stage));
- } else {
- penalty_box (ui);
- show_controls (ui, FALSE);
- }
-
} else if (actor == ui->texture || actor == ui->stage) {
if (!ui->penalty_box_active) {
penalty_box (ui);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]