Add es to ignored translation temp files
[nautilus-actions.git] / src / nact / nact-main-menubar-maintainer.c
blob6b61806eed7be8650294bece5acc63011e1d856f
1 /*
2 * Nautilus Actions
3 * A Nautilus extension which offers configurable context menu actions.
5 * Copyright (C) 2005 The GNOME Foundation
6 * Copyright (C) 2006, 2007, 2008 Frederic Ruaudel and others (see AUTHORS)
7 * Copyright (C) 2009, 2010 Pierre Wieser and others (see AUTHORS)
9 * This Program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of
12 * the License, or (at your option) any later version.
14 * This Program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public
20 * License along with this Library; see the file COPYING. If not,
21 * write to the Free Software Foundation, Inc., 59 Temple Place,
22 * Suite 330, Boston, MA 02111-1307, USA.
24 * Authors:
25 * Frederic Ruaudel <grumz@grumz.net>
26 * Rodrigo Moya <rodrigo@gnome-db.org>
27 * Pierre Wieser <pwieser@trychlos.org>
28 * ... and many others (see AUTHORS)
31 #ifdef HAVE_CONFIG_H
32 #include <config.h>
33 #endif
35 #include <api/na-object-api.h>
37 #include "nact-iactions-list.h"
38 #include "nact-clipboard.h"
39 #include "nact-main-menubar.h"
40 #include "nact-main-menubar-maintainer.h"
42 /**
43 * nact_main_menubar_maintainer_on_update_sensitivities:
44 * @window: the #NactMainWindow main application window.
45 * @user_data: user data ?
46 * @mis: the #MenubarIndicatorsStruct structure.
48 * Update sensitivities on the Maintainer menu.
50 void
51 nact_main_menubar_maintainer_on_update_sensitivities( NactMainWindow *window, gpointer user_data, MenubarIndicatorsStruct *mis )
55 /**
56 * nact_main_menubar_maintainer_on_dump_selection:
57 * @action: the #GtkAction of the item.
58 * @window: the #NactMainWindow main application window.
60 * Triggers the "Maintainer/Dump selection" item.
62 void
63 nact_main_menubar_maintainer_on_dump_selection( GtkAction *action, NactMainWindow *window )
65 GList *items, *it;
67 items = nact_iactions_list_bis_get_selected_items( NACT_IACTIONS_LIST( window ));
68 for( it = items ; it ; it = it->next ){
69 na_object_dump( it->data );
72 na_object_unref_selected_items( items );
75 /**
76 * nact_main_menubar_maintainer_on_brief_tree_store_dump:
77 * @action: the #GtkAction of the item.
78 * @window: the #NactMainWindow main application window.
80 * Triggers the "Maintainer/Brief treestore dump" item.
82 void
83 nact_main_menubar_maintainer_on_brief_tree_store_dump( GtkAction *action, NactMainWindow *window )
85 nact_iactions_list_brief_tree_dump( NACT_IACTIONS_LIST( window ));
88 /**
89 * nact_main_menubar_maintainer_on_list_modified_items:
90 * @action: the #GtkAction of the item.
91 * @window: the #NactMainWindow main application window.
93 * Triggers the "Maintainer/List modified items" item.
95 void
96 nact_main_menubar_maintainer_on_list_modified_items( GtkAction *action, NactMainWindow *window )
98 nact_iactions_list_bis_list_modified_items( NACT_IACTIONS_LIST( window ));
102 * nact_main_menubar_maintainer_on_dump_clipboard:
103 * @action: the #GtkAction of the item.
104 * @window: the #NactMainWindow main application window.
106 * Triggers the "Maintainer/Dump clipboard" item.
108 void
109 nact_main_menubar_maintainer_on_dump_clipboard( GtkAction *action, NactMainWindow *window )
111 nact_clipboard_dump( nact_main_window_get_clipboard( window ));