- Fix the friendly name not being editable (#516801)

This commit is contained in:
Bastien Nocera 2009-08-11 15:10:06 +00:00
parent c91d47dc8a
commit 0df829dbf5
2 changed files with 42 additions and 1 deletions

View File

@ -0,0 +1,35 @@
From b95f581c6b8b10ef6369f009e8dc88ab75db99ee Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Tue, 11 Aug 2009 16:03:03 +0100
Subject: [PATCH] Fix keyboard not working in the properties window
Wrong prototype for the key-press-event callback.
---
properties/main.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/properties/main.c b/properties/main.c
index 4cf435b..7a93026 100644
--- a/properties/main.c
+++ b/properties/main.c
@@ -51,7 +51,7 @@ static gboolean delete_callback(GtkWidget *window, GdkEvent *event,
return FALSE;
}
-static void
+static gboolean
keypress_callback (GtkWidget *window,
GdkEventKey *key,
gpointer user_data)
@@ -61,6 +61,8 @@ keypress_callback (GtkWidget *window,
gtk_main_quit();
}
+
+ return FALSE;
}
static void close_callback(GtkWidget *button, gpointer user_data)
--
1.6.2.5

View File

@ -1,6 +1,6 @@
Name: gnome-bluetooth
Version: 2.27.9
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Bluetooth graphical utilities
Group: Applications/Communications
@ -11,6 +11,8 @@ Source1: 61-gnome-bluetooth-rfkill.rules
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Patch0: 0001-Bug-590874-crash-in-Bluetooth-adding-a-bluetoot.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=516801
Patch1: 0001-Fix-keyboard-not-working-in-the-properties-window.patch
BuildRequires: gtk2-devel
BuildRequires: GConf2-devel
@ -65,6 +67,7 @@ for writing applications that require a Bluetooth device selection widget.
%prep
%setup -q -n gnome-bluetooth-%{version}
%patch0 -p1 -b .nm-crasher
%patch1 -p1 -b .kbd
%build
%configure --disable-desktop-update --disable-icon-update
@ -197,6 +200,9 @@ fi
%{_datadir}/gtk-doc/html/gnome-bluetooth/
%changelog
* Tue Aug 11 2009 Bastien Nocera <bnocera@redhat.com> 2.27.9-5
- Fix the friendly name not being editable (#516801)
* Tue Aug 11 2009 Bastien Nocera <bnocera@redhat.com> 2.27.9-4
- Add udev rules to access /dev/rfkill (#514798)