[rhythmbox] status-icon: handle forward and back mouse buttons (bug #316257)



commit 9a982259f8c7b1e4733dac5fcbdd3c2560387637
Author: James <jamesm51 gmail com>
Date:   Sun Nov 29 22:31:05 2009 +1000

    status-icon: handle forward and back mouse buttons (bug #316257)

 plugins/status-icon/rb-status-icon-plugin.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/plugins/status-icon/rb-status-icon-plugin.c b/plugins/status-icon/rb-status-icon-plugin.c
index 41a5933..dd26061 100644
--- a/plugins/status-icon/rb-status-icon-plugin.c
+++ b/plugins/status-icon/rb-status-icon-plugin.c
@@ -281,6 +281,13 @@ rb_status_icon_plugin_button_press_event (RBStatusIconPlugin *plugin,
 		rb_tray_icon_menu_popup (plugin->priv->tray_icon, popup, 3);
 		g_object_unref (ui_manager);
 		break;
+
+	case 8:
+		rb_shell_player_do_previous (plugin->priv->shell_player, NULL);
+		break;
+	case 9:
+		rb_shell_player_do_next (plugin->priv->shell_player, NULL);
+		break;
 	}
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]