vinagre r279 - branches/unstable/src



Author: jwendell
Date: Thu Apr  3 22:15:51 2008
New Revision: 279
URL: http://svn.gnome.org/viewvc/vinagre?rev=279&view=rev

Log:
fix minor issue in previous commit

Modified:
   branches/unstable/src/vinagre-window.c

Modified: branches/unstable/src/vinagre-window.c
==============================================================================
--- branches/unstable/src/vinagre-window.c	(original)
+++ branches/unstable/src/vinagre-window.c	Thu Apr  3 22:15:51 2008
@@ -180,7 +180,8 @@
   switch (event->keyval)
     {
       case GDK_F11:
-	if (window->priv->active_tab)
+	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;
     }



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