Mercurial > pidgin
changeset 31068:f48808788b53
Allow the use of the numeric keypad's Page Up and Page Down keys in the
conversation window. Fixes #13127.
committer: John Bailey <rekkanoryo@rekkanoryo.org>
author | rflegel@gmail.com |
---|---|
date | Tue, 28 Dec 2010 01:17:25 +0000 |
parents | b00410f45382 |
children | b44ee1fe06f5 |
files | COPYRIGHT ChangeLog pidgin/gtkconv.c |
diffstat | 3 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/COPYRIGHT Mon Dec 27 04:08:30 2010 +0000 +++ b/COPYRIGHT Tue Dec 28 01:17:25 2010 +0000 @@ -162,6 +162,7 @@ Gavan Fantom (gavan) Leonardo Fernandes David Fiander +Ryan Flegel Rob Flynn <gaim@robflynn.com> Rob Foehl (rwf) Chris Foote
--- a/ChangeLog Mon Dec 27 04:08:30 2010 +0000 +++ b/ChangeLog Tue Dec 28 01:17:25 2010 +0000 @@ -1,6 +1,9 @@ Pidgin and Finch: The Pimpin' Penguin IM Clients That're Good for the Soul version 2.7.10 (??/??/????): + Pidgin: + * Support using the Page Up and Page Down keys on the numeric keypad in + the conversation window. (Ryan Flegel) (#13127) version 2.7.9 (12/26/2010): MSN:
--- a/pidgin/gtkconv.c Mon Dec 27 04:08:30 2010 +0000 +++ b/pidgin/gtkconv.c Tue Dec 28 01:17:25 2010 +0000 @@ -1919,6 +1919,7 @@ if (event->state & GDK_CONTROL_MASK) { switch (event->keyval) { case GDK_Page_Down: + case GDK_KP_Page_Down: case ']': if (!pidgin_conv_window_get_gtkconv_at_index(win, curconv + 1)) gtk_notebook_set_current_page(GTK_NOTEBOOK(win->notebook), 0); @@ -1928,6 +1929,7 @@ break; case GDK_Page_Up: + case GDK_KP_Page_Up; case '[': if (!pidgin_conv_window_get_gtkconv_at_index(win, curconv - 1)) gtk_notebook_set_current_page(GTK_NOTEBOOK(win->notebook), -1); @@ -2128,11 +2130,13 @@ break; case GDK_Page_Up: + case GDK_KP_Page_Up: gtk_imhtml_page_up(GTK_IMHTML(gtkconv->imhtml)); return TRUE; break; case GDK_Page_Down: + case GDK_KP_Page_Down: gtk_imhtml_page_down(GTK_IMHTML(gtkconv->imhtml)); return TRUE; break; @@ -2188,7 +2192,9 @@ (event->keyval == GDK_Left) || (event->keyval == GDK_Right) || (event->keyval == GDK_Page_Up) || + (event->keyval == GDK_KP_Page_Up) || (event->keyval == GDK_Page_Down) || + (event->keyval == GDK_KP_Page_Down) || (event->keyval == GDK_Home) || (event->keyval == GDK_End) || (event->keyval == GDK_Tab) ||