*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
*/
#ifndef __GTKUTILS_H__
# include <wchar.h>
#endif
+#ifdef MAEMO
+#include <hildon-widgets/hildon-program.h>
+#include <hildon-widgets/hildon-window.h>
+#include "main.h"
+#include <gtk/gtkmain.h>
+#endif
+
typedef struct _ComboButton ComboButton;
struct _ComboButton
gboolean case_sens);
GtkWidget *label_window_create(const gchar *str);
+void label_window_destroy(GtkWidget *widget);
+
void gtkut_window_popup (GtkWidget *window);
+GtkWidget *gtkut_window_new (GtkWindowType type,
+ const gchar *class);
+
void gtkut_widget_get_uposition (GtkWidget *widget,
gint *px,
GtkWidget *gtkut_get_browse_file_btn(const gchar *label);
GtkWidget *gtkut_get_browse_directory_btn(const gchar *label);
GtkWidget *gtkut_get_replace_btn(const gchar *label);
+GtkWidget *gtkut_get_options_frame(GtkWidget *box, GtkWidget **frame, const gchar *frame_label);
#if HAVE_LIBCOMPFACE
-gint create_xpm_from_xface(gchar *xpm[], const gchar *xface);
GtkWidget *xface_get_from_header(const gchar *o_xface, GdkColor *background,
GdkWindow *window);
#endif
gboolean gtkut_tree_model_get_iter_last(GtkTreeModel *model,
GtkTreeIter *iter);
+gboolean gtkut_tree_iter_comp(GtkTreeModel *model,
+ GtkTreeIter *iter1,
+ GtkTreeIter *iter2);
+
+gint gtkut_list_view_get_selected_row(GtkWidget *list_view);
+gboolean gtkut_list_view_select_row(GtkWidget *list, gint row);
+
#endif /* __GTKUTILS_H__ */