1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 
3 /*
4  *  GThumb
5  *
6  *  Copyright (C) 2009 Free Software Foundation, Inc.
7  *
8  *  This program is free software; you can redistribute it and/or modify
9  *  it under the terms of the GNU General Public License as published by
10  *  the Free Software Foundation; either version 2 of the License, or
11  *  (at your option) any later version.
12  *
13  *  This program is distributed in the hope that it will be useful,
14  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  *  GNU General Public License for more details.
17  *
18  *  You should have received a copy of the GNU General Public License
19  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
20  */
21 
22 
23 #include <config.h>
24 #include <gtk/gtk.h>
25 #include <gthumb.h>
26 #include "callbacks.h"
27 
28 
29 G_MODULE_EXPORT void
gthumb_extension_activate(void)30 gthumb_extension_activate (void)
31 {
32 	gth_hook_add_callback ("gth-browser-file-list-rename", 10, G_CALLBACK (rs__gth_browser_file_list_rename_cb), NULL);
33 }
34 
35 
36 G_MODULE_EXPORT void
gthumb_extension_deactivate(void)37 gthumb_extension_deactivate (void)
38 {
39 }
40 
41 
42 G_MODULE_EXPORT gboolean
gthumb_extension_is_configurable(void)43 gthumb_extension_is_configurable (void)
44 {
45 	return FALSE;
46 }
47 
48 
49 G_MODULE_EXPORT void
gthumb_extension_configure(GtkWindow * parent)50 gthumb_extension_configure (GtkWindow *parent)
51 {
52 }
53