aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-08-10 08:16:16 +0800
committerPeter Williams <peterw@src.gnome.org>2001-08-10 08:16:16 +0800
commit09eba6fad0da0db54d594e62420fe4a2c325af22 (patch)
treeb5e0f7674b39a1b88f32970e80aa69bf7e538e39
parent8aeb5d203460e590bde98da12c00443ae4d2e5e0 (diff)
downloadgsoc2013-evolution-09eba6fad0da0db54d594e62420fe4a2c325af22.tar.gz
gsoc2013-evolution-09eba6fad0da0db54d594e62420fe4a2c325af22.tar.zst
gsoc2013-evolution-09eba6fad0da0db54d594e62420fe4a2c325af22.zip
in mail:
2001-08-09 Peter Williams <peterw@ximian.com> [ * folder-browser.c (on_key_press): The bonobo menu items now handle 'n' and 'p'. ] (on_key_press): 'q' as well. in ui: 2001-08-09 Peter Williams <peterw@ximian.com> * evolution-mail-global.xml: Give the (pre)view pane toggle an accelerator of 'q', like we were implementing the hard manual way before. svn path=/trunk/; revision=11858
-rw-r--r--mail/ChangeLog1
-rw-r--r--mail/folder-browser.c7
-rw-r--r--ui/ChangeLog6
-rw-r--r--ui/evolution-mail-global.xml1
4 files changed, 8 insertions, 7 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 18816239d5..4c418ad95e 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -10,6 +10,7 @@
* folder-browser.c (on_key_press): The bonobo menu items now
handle 'n' and 'p'.
+ (on_key_press): 'q' as well.
* message-list.c (message_list_select): Fix inline documentation.
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index bc934a6696..08e465aa66 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -1539,13 +1539,6 @@ on_key_press (GtkWidget *widget, GdkEventKey *key, gpointer data)
case '!':
toggle_as_important (NULL, fb, NULL);
return TRUE;
- case 'q':
- case 'Q':
- if (fb->uicomp)
- bonobo_ui_component_set_prop (fb->uicomp,
- "/commands/ViewPreview",
- "state", fb->preview_shown ? "0" : "1", NULL);
- return TRUE;
}
return FALSE;
diff --git a/ui/ChangeLog b/ui/ChangeLog
index 55067c3bd3..bc3a072fa1 100644
--- a/ui/ChangeLog
+++ b/ui/ChangeLog
@@ -1,3 +1,9 @@
+2001-08-09 Peter Williams <peterw@ximian.com>
+
+ * evolution-mail-global.xml: Give the (pre)view pane toggle
+ an accelerator of 'q', like we were implementing the hard
+ manual way before.
+
2001-08-09 Ettore Perazzoli <ettore@ximian.com>
* evolution.xml: Remove all the "New ... FIXME" items.
diff --git a/ui/evolution-mail-global.xml b/ui/evolution-mail-global.xml
index 809552c5e6..a942bcfb6b 100644
--- a/ui/evolution-mail-global.xml
+++ b/ui/evolution-mail-global.xml
@@ -35,6 +35,7 @@
<cmd name="ViewPreview"
_tip="Show message preview window"
+ accel="q"
type="toggle" />
</commands>