Adding ctrl-enter for fullscreen
authorepage <eopage@byu.net>
Fri, 25 Sep 2009 00:25:51 +0000 (00:25 +0000)
committerepage <eopage@byu.net>
Fri, 25 Sep 2009 00:25:51 +0000 (00:25 +0000)
git-svn-id: file:///svnroot/gc-dialer/trunk@476 c39d3808-3fe2-4d86-a59f-b7f623ee9f21

src/dc_glade.py
support/builddeb.py

index 4a297a9..9e85078 100755 (executable)
@@ -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:
index c3619d8..97f3baa 100755 (executable)
@@ -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