Author: abrander
Date: 2009-08-03 21:27:26 +0200 (Mon, 03 Aug 2009)
New Revision: 2600

Modified:
   trunk/src/rs-actions.c
   trunk/src/ui.xml
Log:
Added debug-menu.

Modified: trunk/src/rs-actions.c
===================================================================
--- trunk/src/rs-actions.c      2009-08-03 19:18:20 UTC (rev 2599)
+++ trunk/src/rs-actions.c      2009-08-03 19:27:26 UTC (rev 2600)
@@ -766,6 +766,11 @@
        rs_batch_process(rs->queue);
 }
 
+ACTION(filter_graph)
+{
+       rs_filter_graph(rs->filter_input);
+}
+
 ACTION(about)
 {
        const static gchar *authors[] = {
@@ -822,6 +827,7 @@
        { "SortByMenu", NULL, _("_Sort by") },
        { "BatchMenu", NULL, _("_Batch"), NULL, NULL, ACTION_CB(batch_menu) },
        { "HelpMenu", NULL, _("_Help") },
+       { "DebugMenu", NULL, "_Debug" },
        { "PreviewPopup", NULL, NULL, NULL, NULL, ACTION_CB(preview_popup) },
 
        /* File menu */
@@ -872,6 +878,9 @@
 
        /* help menu */
        { "About", GTK_STOCK_ABOUT, _("_About"), NULL, NULL, ACTION_CB(about) },
+
+       /* debug menu */
+       { "FilterGraph", NULL, "_Filter Graph", NULL, NULL, 
ACTION_CB(filter_graph) },
        };
        static guint n_actionentries = G_N_ELEMENTS (actionentries);
 

Modified: trunk/src/ui.xml
===================================================================
--- trunk/src/ui.xml    2009-08-03 19:18:20 UTC (rev 2599)
+++ trunk/src/ui.xml    2009-08-03 19:27:26 UTC (rev 2600)
@@ -72,6 +72,9 @@
   <menu action="HelpMenu">
    <menuitem action="About" />
   </menu>
+  <menu action="DebugMenu">
+   <menuitem action="FilterGraph" />
+  </menu>
  </menubar>
  <popup name="PreviewPopup" action="PreviewPopup">
    <menuitem action="ZommToFit" />


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to