openbsd-ports/x11/gnome/applets2/patches/patch-mixer_applet_c
2009-10-12 12:03:27 +00:00

37 lines
1.3 KiB
Plaintext

$OpenBSD: patch-mixer_applet_c,v 1.3 2009/10/12 12:03:27 jasper Exp $
gnome-volume-control doesn't get build currently (see gnome/media/Makefile)
--- mixer/applet.c.orig Fri May 22 05:35:48 2009
+++ mixer/applet.c Mon Oct 12 13:48:55 2009
@@ -385,7 +385,6 @@ gnome_volume_applet_setup (GnomeVolumeApplet *applet,
GtkObject *adj;
BonoboUIComponent *component;
static const BonoboUIVerb verbs[] = {
- BONOBO_UI_UNSAFE_VERB ("RunMixer", cb_verb),
BONOBO_UI_UNSAFE_VERB ("Mute", cb_verb),
BONOBO_UI_UNSAFE_VERB ("Help", cb_verb),
BONOBO_UI_UNSAFE_VERB ("About", cb_verb),
@@ -846,10 +845,6 @@ gnome_volume_applet_key (GtkWidget *widget,
}
break;
case GDK_o:
- if (event->state == GDK_CONTROL_MASK) {
- gnome_volume_applet_run_mixer (applet);
- return TRUE;
- }
break;
case GDK_Escape:
gnome_volume_applet_popdown_dock (applet);
@@ -1390,9 +1385,7 @@ cb_verb (BonoboUIComponent *uic,
{
GnomeVolumeApplet *applet = GNOME_VOLUME_APPLET (data);
- if (!strcmp (verbname, "RunMixer")) {
- gnome_volume_applet_run_mixer (applet);
- } else if (!strcmp (verbname, "Help")) {
+ if (!strcmp (verbname, "Help")) {
GError *error = NULL;
gtk_show_uri (gtk_widget_get_screen (GTK_WIDGET (applet)),