vinagre r346 - in trunk: . src



Author: jwendell
Date: Fri May 30 20:45:14 2008
New Revision: 346
URL: http://svn.gnome.org/viewvc/vinagre?rev=346&view=rev

Log:
2008-05-30  Jonh Wendell <jwendell gnome org>

	* src/vinagre-window.c: Drop F11 key handling.


Modified:
   trunk/ChangeLog
   trunk/src/vinagre-window.c

Modified: trunk/src/vinagre-window.c
==============================================================================
--- trunk/src/vinagre-window.c	(original)
+++ trunk/src/vinagre-window.c	Fri May 30 20:45:14 2008
@@ -192,25 +192,6 @@
   return GTK_WIDGET_CLASS (vinagre_window_parent_class)->configure_event (widget, event);
 }
 
-
-static gboolean
-vinagre_window_key_press_cb (GtkWidget   *widget,
-			     GdkEventKey *event)
-{
-  VinagreWindow *window = VINAGRE_WINDOW (widget);
-
-  switch (event->keyval)
-    {
-      case GDK_F11:
-	if (window->priv->active_tab &&
-	    (vinagre_tab_get_state (VINAGRE_TAB (window->priv->active_tab)) == VINAGRE_TAB_STATE_CONNECTED))
-	  vinagre_window_toggle_fullscreen (window);
-	return FALSE;
-    }
-
-  return GTK_WIDGET_CLASS (vinagre_window_parent_class)->key_press_event (widget, event);
-}
-
 static void
 vinagre_window_class_init (VinagreWindowClass *klass)
 {
@@ -220,7 +201,6 @@
   object_class->finalize = vinagre_window_finalize;
   object_class->dispose  = vinagre_window_dispose;
 
-  widget_class->key_press_event    = vinagre_window_key_press_cb;
   widget_class->window_state_event = vinagre_window_state_event_cb;
   widget_class->configure_event    = vinagre_window_configure_event;
   widget_class->delete_event       = vinagre_window_delete_event;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]