rpms/bluez-gnome/devel 0001-Sort-devices-by-type-in-the-treeviews.patch, NONE, 1.1 bluez-gnome.spec, 1.69, 1.70

Bastien Nocera hadess at fedoraproject.org
Sun Oct 26 12:42:14 UTC 2008


Author: hadess

Update of /cvs/pkgs/rpms/bluez-gnome/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21713

Modified Files:
	bluez-gnome.spec 
Added Files:
	0001-Sort-devices-by-type-in-the-treeviews.patch 
Log Message:
* Sun Oct 26 2008 - Bastien Nocera <bnocera at redhat.com> - 1.8-8
- Avoid the devices jumping around in the treeview


0001-Sort-devices-by-type-in-the-treeviews.patch:

--- NEW FILE 0001-Sort-devices-by-type-in-the-treeviews.patch ---
>From dcc41434b39493d97cd3ec36d07c8a59ae4f0211 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess at hadess.net>
Date: Sun, 26 Oct 2008 12:36:33 +0000
Subject: [PATCH] Sort devices by type in the treeviews

Sorting by RSSI means that the devices just around in the treeview
which is painfully annoying.
---
 common/helper.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/common/helper.c b/common/helper.c
index e53d4bc..7335b7f 100644
--- a/common/helper.c
+++ b/common/helper.c
@@ -185,7 +185,7 @@ gchar *show_browse_dialog(void)
 	model = bluetooth_client_get_device_model(client, NULL);
 	sorted = gtk_tree_model_sort_new_with_model(model);
 	gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(sorted),
-				BLUETOOTH_COLUMN_RSSI, GTK_SORT_DESCENDING);
+				BLUETOOTH_COLUMN_TYPE, GTK_SORT_DESCENDING);
 	tree = create_tree(sorted, TRUE);
 	g_object_unref(sorted);
 	g_object_unref(model);
-- 
1.6.0.3



Index: bluez-gnome.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bluez-gnome/devel/bluez-gnome.spec,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- bluez-gnome.spec	23 Oct 2008 21:57:28 -0000	1.69
+++ bluez-gnome.spec	26 Oct 2008 12:41:44 -0000	1.70
@@ -1,6 +1,6 @@
 Name:		bluez-gnome
 Version:	1.8
-Release:	7%{?dist}
+Release:	8%{?dist}
 Summary:	Bluetooth pairing and control applet
 
 Group:		Applications/System
@@ -21,6 +21,8 @@
 Patch6:		bluez-wizard-fix-null-display.patch
 # https://bugzilla.redhat.com/show_bug.cgi?id=464446
 Patch7:		0001-Add-support-for-pairing-a-few-GPS-devices.patch
+# http://thread.gmane.org/gmane.linux.bluez.kernel/650
+Patch8:		0001-Sort-devices-by-type-in-the-treeviews.patch
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -66,6 +68,7 @@
 %patch5 -p1 -b .apple-kbd
 %patch6 -p1 -b .wizard-crash
 %patch7 -p1 -b .gps
+%patch8 -p1 -b .sorting
 
 %build
 %configure --disable-mime-update --disable-desktop-update --disable-icon-update
@@ -157,6 +160,9 @@
 %{_mandir}/man1/bluetooth-analyzer.1.gz
 
 %changelog
+* Sun Oct 26 2008 - Bastien Nocera <bnocera at redhat.com> - 1.8-8
+- Avoid the devices jumping around in the treeview
+
 * Thu Oct 23 2008 - Bastien Nocera <bnocera at redhat.com> - 1.8-7
 - Add support for pairing a few GPS devices (#464446)
 




More information about the scm-commits mailing list