From 0df829dbf58ff7b8a6050afb7823ff41369cc1c3 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 11 Aug 2009 15:10:06 +0000 Subject: [PATCH] - Fix the friendly name not being editable (#516801) --- ...not-working-in-the-properties-window.patch | 35 +++++++++++++++++++ gnome-bluetooth.spec | 8 ++++- 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 0001-Fix-keyboard-not-working-in-the-properties-window.patch diff --git a/0001-Fix-keyboard-not-working-in-the-properties-window.patch b/0001-Fix-keyboard-not-working-in-the-properties-window.patch new file mode 100644 index 0000000..5e0d8cd --- /dev/null +++ b/0001-Fix-keyboard-not-working-in-the-properties-window.patch @@ -0,0 +1,35 @@ +From b95f581c6b8b10ef6369f009e8dc88ab75db99ee Mon Sep 17 00:00:00 2001 +From: Bastien Nocera +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 + diff --git a/gnome-bluetooth.spec b/gnome-bluetooth.spec index 575ee52..186cc42 100644 --- a/gnome-bluetooth.spec +++ b/gnome-bluetooth.spec @@ -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 2.27.9-5 +- Fix the friendly name not being editable (#516801) + * Tue Aug 11 2009 Bastien Nocera 2.27.9-4 - Add udev rules to access /dev/rfkill (#514798)