evolution r36721 - branches/gnome-2-24/composer
- From: mbarnes svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r36721 - branches/gnome-2-24/composer
- Date: Mon, 3 Nov 2008 04:14:38 +0000 (UTC)
Author: mbarnes
Date: Mon Nov 3 04:14:38 2008
New Revision: 36721
URL: http://svn.gnome.org/viewvc/evolution?rev=36721&view=rev
Log:
2008-11-02 Matthew Barnes <mbarnes redhat com>
** Fixes bug #559028
* composer/e-msg-composer.c (msg_composer_key_press_event):
Skip over the style toolbar when tabbing in reverse.
Modified:
branches/gnome-2-24/composer/ChangeLog
branches/gnome-2-24/composer/e-msg-composer.c
Modified: branches/gnome-2-24/composer/e-msg-composer.c
==============================================================================
--- branches/gnome-2-24/composer/e-msg-composer.c (original)
+++ branches/gnome-2-24/composer/e-msg-composer.c Mon Nov 3 04:14:38 2008
@@ -2297,6 +2297,11 @@
{
EMsgComposer *composer = E_MSG_COMPOSER (widget);
GtkWidget *input_widget;
+ GtkhtmlEditor *editor;
+ GtkHTML *html;
+
+ editor = GTKHTML_EDITOR (widget);
+ html = gtkhtml_editor_get_html (editor);
input_widget =
e_composer_header_table_get_header (
@@ -2316,8 +2321,13 @@
}
if (event->keyval == GDK_Tab && gtk_widget_is_focus (input_widget)) {
- gtkhtml_editor_run_command (
- GTKHTML_EDITOR (composer), "grab-focus");
+ gtkhtml_editor_run_command (editor, "grab-focus");
+ return TRUE;
+ }
+
+ if (event->keyval == GDK_ISO_Left_Tab &&
+ gtk_widget_is_focus (GTK_WIDGET (html))) {
+ gtk_widget_grab_focus (input_widget);
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]