From 5ced556d869552eedbe3e406ea80cfd34f32b3f5 Mon Sep 17 00:00:00 2001 From: epage Date: Fri, 25 Sep 2009 00:25:51 +0000 Subject: [PATCH 1/1] Adding ctrl-enter for fullscreen git-svn-id: file:///svnroot/gc-dialer/trunk@476 c39d3808-3fe2-4d86-a59f-b7f623ee9f21 --- src/dc_glade.py | 12 +++++++----- support/builddeb.py | 2 ++ 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/dc_glade.py b/src/dc_glade.py index 4a297a9..9e85078 100755 --- a/src/dc_glade.py +++ b/src/dc_glade.py @@ -134,10 +134,9 @@ class Dialcentral(object): replacementButtons ) - if hildonize.IS_HILDON_SUPPORTED: - self._window.connect("key-press-event", self._on_key_press) - self._window.connect("window-state-event", self._on_window_state_change) - else: + self._window.connect("key-press-event", self._on_key_press) + self._window.connect("window-state-event", self._on_window_state_change) + if not hildonize.IS_HILDON_SUPPORTED: logging.warning("No hildonization support") hildonize.set_application_title(self._window, "%s" % constants.__pretty_app_name__) @@ -654,7 +653,10 @@ class Dialcentral(object): @note Hildon specific """ try: - if event.keyval == gtk.keysyms.F6: + if ( + event.keyval == gtk.keysyms.F6 or + event.keyval == gtk.keysyms.Return and event.get_state() & gtk.gdk.CONTROL_MASK + ): if self._isFullScreen: self._window.unfullscreen() else: diff --git a/support/builddeb.py b/support/builddeb.py index c3619d8..97f3baa 100755 --- a/support/builddeb.py +++ b/support/builddeb.py @@ -28,6 +28,8 @@ __changelog__ = """ * Made startup more error resistant * Simplified menus * Fremantle: Making various areas pannable +* Fremantle: CTRL-V added for paste for Dialpad +* Fremantle: CTRL-Enter added for fullscreen * Phone selection and SMS Message dialogs now use a tree view for the top part. This gives highlighting of the last message, easier scrolling, easier code, etc * Added notifcations for various things like login and dialing * UI Tweak: Switch to accounts tab when logging in and callback is blank as a sublte hint to configure it -- 1.7.9.5