Mercurial > pidgin.yaz
comparison src/gtkconv.c @ 10678:210e38f53b7b
[gaim-migrate @ 12221]
19:40:11 <deryni> About ctrl-z I'm thinking minimize should probably more properly be a wm thing, and so the user can bind a wm action if they want it and we shouldn't grab it.
committer: Tailor Script <tailor@pidgin.im>
author | Etan Reisner <pidgin@unreliablesource.net> |
---|---|
date | Wed, 09 Mar 2005 00:52:59 +0000 |
parents | b39d5850883a |
children | 2f646d020011 |
comparison
equal
deleted
inserted
replaced
10677:4cfc6bebeb5f | 10678:210e38f53b7b |
---|---|
1708 move_to_next_unread_tab(conv); | 1708 move_to_next_unread_tab(conv); |
1709 | 1709 |
1710 return TRUE; | 1710 return TRUE; |
1711 break; | 1711 break; |
1712 | 1712 |
1713 case 'z': | |
1714 gtk_window_iconify(GTK_WINDOW(gtkwin->window)); | |
1715 | |
1716 return TRUE; | |
1717 break; | |
1718 | |
1719 } /* End of switch */ | 1713 } /* End of switch */ |
1720 } | 1714 } |
1721 | 1715 |
1722 /* If ALT (or whatever) was held down... */ | 1716 /* If ALT (or whatever) was held down... */ |
1723 else if (event->state & GDK_MOD1_MASK) | 1717 else if (event->state & GDK_MOD1_MASK) |
1735 /* If neither CTRL nor ALT were held down... */ | 1729 /* If neither CTRL nor ALT were held down... */ |
1736 else | 1730 else |
1737 { | 1731 { |
1738 switch (event->keyval) | 1732 switch (event->keyval) |
1739 { | 1733 { |
1740 case GDK_Tab: | 1734 case GDK_Tab: |
1741 return tab_complete(conv); | 1735 return tab_complete(conv); |
1742 break; | 1736 break; |
1743 | 1737 |
1744 case GDK_Page_Up: | 1738 case GDK_Page_Up: |
1745 gtk_imhtml_page_up(GTK_IMHTML(gtkconv->imhtml)); | 1739 gtk_imhtml_page_up(GTK_IMHTML(gtkconv->imhtml)); |