- user switching does not work under OpenBSD, so disable the button

This commit is contained in:
ajacoutot 2008-12-12 12:50:48 +00:00
parent 640e4694fa
commit e104e709ae
2 changed files with 15 additions and 2 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.43 2008/11/29 16:14:38 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.44 2008/12/12 12:50:48 ajacoutot Exp $
COMMENT= GNOME panel
GNOME_PROJECT= gnome-panel
GNOME_VERSION= 2.24.2
PKGNAME= ${DISTNAME}p1
PKGNAME= ${DISTNAME}p2
SHARED_LIBS= panel-applet-2 2.24 # .2.26
CATEGORIES= x11

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-gnome-panel_panel-logout_c,v 1.3 2008/12/12 12:50:48 ajacoutot Exp $
--- gnome-panel/panel-logout.c.orig Fri Dec 12 13:30:36 2008
+++ gnome-panel/panel-logout.c Fri Dec 12 13:30:43 2008
@@ -343,9 +343,6 @@ panel_logout_new (PanelLogoutDialogType type,
//FIXME is gdm running?
gtk_dialog_add_button (GTK_DIALOG (logout_dialog),
- _("_Switch User"),
- PANEL_LOGOUT_RESPONSE_SWITCH_USER);
- gtk_dialog_add_button (GTK_DIALOG (logout_dialog),
GTK_STOCK_CANCEL,
GTK_RESPONSE_CANCEL);
gtk_dialog_add_button (GTK_DIALOG (logout_dialog),