pidgin: 0f218123: Allow the use of the numeric keypad's Pa...

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Mon Dec 27 20:31:13 EST 2010


----------------------------------------------------------------------
Revision: 0f2181237987a55e6e9b516110ffa2886bb3ccbf
Parent:   eacb4b7b156d002ac5750716605d5c7a59484c44
Author:   rflegel at gmail.com
Date:     12/27/10 20:17:25
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/0f2181237987a55e6e9b516110ffa2886bb3ccbf

Changelog: 

Allow the use of the numeric keypad's Page Up and Page Down keys in the
conversation window.  Fixes #13127.

Changes against parent eacb4b7b156d002ac5750716605d5c7a59484c44

  patched  COPYRIGHT
  patched  ChangeLog
  patched  pidgin/gtkconv.c

-------------- next part --------------
============================================================
--- ChangeLog	9589f1c5bf7cf93140c10dd86ca66dec68be9420
+++ ChangeLog	e6a216a88721cf7e84d7ed94a00ccea83eb53608
@@ -1,6 +1,9 @@ version 2.7.10 (??/??/????):
 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:
============================================================
--- pidgin/gtkconv.c	fd98809f02bf50949648e402ede0f2622464edfe
+++ pidgin/gtkconv.c	89336efbdeb1ed4c8e38988d8aa0c8e481d846a8
@@ -1919,6 +1919,7 @@ conv_keypress_common(PidginConversation 
 	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 @@ conv_keypress_common(PidginConversation 
 				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 @@ entry_key_press_cb(GtkWidget *entry, Gdk
 			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 @@ refocus_entry_cb(GtkWidget *widget, GdkE
 		(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) ||
============================================================
--- COPYRIGHT	97e9d51e04b358ccc2815194d87e87f6fead051b
+++ COPYRIGHT	57512d883189ddb56ae595fe05a02fb376dc695a
@@ -162,6 +162,7 @@ David Fiander
 Gavan Fantom (gavan)
 Leonardo Fernandes
 David Fiander
+Ryan Flegel
 Rob Flynn <gaim at robflynn.com>
 Rob Foehl (rwf)
 Chris Foote


More information about the Commits mailing list