[evolution-patches] auto-focus message list after selecting a folder
- From: Gustavo Noronha Silva <kov debian org>
- To: evolution-patches ximian com
- Subject: [evolution-patches] auto-focus message list after selecting a folder
- Date: Mon, 08 Nov 2004 23:56:22 -0200
[Please CC: me on replies, I'm not subscribed]
Hi,
I posted a bug on bugzilla[0] and was told to send my patch here. I
basically want to make my life easier with the keyboard on evolution.
This is a simple patch to auto-focus the message list when you select
a folder in the folders list.
By doing this I can use the keyboard most of the time with no need to
use the mouse to click the message list. Here's the patch:
-------
--- mail/em-folder-browser.c.old 2004-11-03 02:07:12.000000000 -0200
+++ mail/em-folder-browser.c 2004-11-03 02:06:33.000000000 -0200
@@ -857,6 +857,8 @@
* e_canvas_item_region_show_relay() uses a timeout, we have to use a timeout of the
* same interval but a lower priority. */
emfb->priv->idle_scroll_id = g_timeout_add_full (G_PRIORITY_LOW, 250, (GSourceFunc) scroll_idle_cb, emfb, NULL);
+
+ gtk_widget_grab_focus (GTK_WIDGET(ml));
}
static void
-------
I don't really agree with Andre that this should be an option, at least
not one to be available through the normal UI. Maybe a gconf key is in
order, but even then I'm not sure. I think this is just a sane default.
Thanks,
[0]: http://bugzilla.ximian.com/show_bug.cgi?id=69048
--
kov debian org: Gustavo Noronha <http://people.debian.org/~kov>
Debian: <http://www.debian.org> * <http://www.debian-br.org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]