Author: akv
Date: 2009-12-30 21:50:41 +0100 (Wed, 30 Dec 2009)
New Revision: 2916

Modified:
   branches/rawstudio-ng-color/src/rs-actions.c
   branches/rawstudio-ng-color/src/ui.xml
Log:
Added Lens editor with ctrl-l shortcut in view menu.

Modified: branches/rawstudio-ng-color/src/rs-actions.c
===================================================================
--- branches/rawstudio-ng-color/src/rs-actions.c        2009-12-30 20:46:16 UTC 
(rev 2915)
+++ branches/rawstudio-ng-color/src/rs-actions.c        2009-12-30 20:50:41 UTC 
(rev 2916)
@@ -37,6 +37,7 @@
 #include "rs-batch.h"
 #include "rs-save-dialog.h"
 #include "rs-library.h"
+#include "rs-lens-db-editor.h"
 
 static GtkActionGroup *core_action_group = NULL;
 GStaticMutex rs_actions_spinlock = G_STATIC_MUTEX_INIT;
@@ -864,6 +865,11 @@
        rs_batch_process(rs->queue);
 }
 
+ACTION(lens_db_editor)
+{
+       rs_lens_db_editor();
+}
+
 ACTION(filter_graph)
 {
        rs_filter_graph(rs->filter_input);
@@ -968,6 +974,7 @@
        /* View menu */
        { "PreviousPhoto", GTK_STOCK_GO_BACK, _("_Previous photo"), 
"<control>Left", NULL, ACTION_CB(previous_photo) },
        { "NextPhoto", GTK_STOCK_GO_FORWARD, _("_Next Photo"), 
"<control>Right", NULL, ACTION_CB(next_photo) },
+       { "LensDbEditor", NULL, _("_Lens Editor"), "<control>L", NULL, 
ACTION_CB(lens_db_editor) },
 
        /* Batch menu */
        { "AddToBatch", GTK_STOCK_ADD, _("_Add to batch queue"), "<control>B", 
NULL, ACTION_CB(add_to_batch) },

Modified: branches/rawstudio-ng-color/src/ui.xml
===================================================================
--- branches/rawstudio-ng-color/src/ui.xml      2009-12-30 20:46:16 UTC (rev 
2915)
+++ branches/rawstudio-ng-color/src/ui.xml      2009-12-30 20:50:41 UTC (rev 
2916)
@@ -63,6 +63,7 @@
    <menuitem action="ExposureMask" />
    <menuitem action="Split" />
    <menuitem action="Lightsout" />
+   <menuitem action="LensDbEditor" />
   </menu>
   <menu action="BatchMenu">
    <menuitem action="AddToBatch" />


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

Reply via email to