From a1082f0e45e1e34c3f0193ff3a51588c89f914c1 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 2 Jul 2009 13:49:11 -0400 Subject: Kill the last GtkOptionMenu instances. Wrote a new widget (ECharsetComboBox) to replace e-charset-picker.c. The widget provides a "charset" string property that allows us to bind to GConf keys (via EShellSettings). Moved e_charset_add_radio_actions() to e-util/e-charset.c. Updated Glade files, #include lines, etc. --- e-util/e-charset.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 e-util/e-charset.h (limited to 'e-util/e-charset.h') diff --git a/e-util/e-charset.h b/e-util/e-charset.h new file mode 100644 index 0000000000..57b6976a1f --- /dev/null +++ b/e-util/e-charset.h @@ -0,0 +1,36 @@ +/* + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with the program; if not, see + * + * + * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com) + * + */ + +#ifndef E_CHARSET_H +#define E_CHARSET_H + +#include + +G_BEGIN_DECLS + +GSList * e_charset_add_radio_actions (GtkActionGroup *action_group, + const gchar *action_prefix, + const gchar *default_charset, + GCallback callback, + gpointer user_data); + +G_END_DECLS + +#endif /* E_CHARSET_H */ -- cgit