gnome-commander r2191 - in trunk: . src/intviewer



Author: epiotr
Date: Tue Oct 14 22:34:39 2008
New Revision: 2191
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=2191&view=rev

Log:
Internal viewer: view metatags with both t/T shortcuts

Modified:
   trunk/ChangeLog
   trunk/src/intviewer/viewer-window.cc

Modified: trunk/src/intviewer/viewer-window.cc
==============================================================================
--- trunk/src/intviewer/viewer-window.cc	(original)
+++ trunk/src/intviewer/viewer-window.cc	Tue Oct 14 22:34:39 2008
@@ -426,6 +426,14 @@
 
     switch (state_is_blank(event->keyval))
     {
+        case GDK_t:
+        case GDK_T:
+            if (w->priv->metadata_visible)
+                gviewer_window_hide_metadata(w);
+            else
+                gviewer_window_show_metadata(w);
+            return TRUE;
+
         case GDK_plus:
         case GDK_KP_Add:
         case GDK_equal:
@@ -1408,7 +1416,6 @@
                                              G_TYPE_STRING,
                                              G_TYPE_STRING,
                                              G_TYPE_STRING);
-
     return GTK_TREE_MODEL (tree);
 }
 



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