/* * gedit-file-browser-utils.h - Gedit plugin providing easy file access * from the sidepanel * * Copyright (C) 2006 - Jesse van den Kieboom * * 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, or (at your option) * any later version. * * 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 General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see . */ #ifndef GEDIT_FILE_BROWSER_UTILS_H #define GEDIT_FILE_BROWSER_UTILS_H #include #include gchar *gedit_file_browser_utils_name_from_themed_icon (GIcon *icon); GdkPixbuf *gedit_file_browser_utils_pixbuf_from_theme (gchar const *name, GtkIconSize size); GdkPixbuf *gedit_file_browser_utils_pixbuf_from_icon (GIcon *icon, GtkIconSize size); GdkPixbuf *gedit_file_browser_utils_pixbuf_from_file (GFile *file, GtkIconSize size, gboolean use_symbolic); gchar *gedit_file_browser_utils_symbolic_icon_name_from_file (GFile *file); gchar *gedit_file_browser_utils_file_basename (GFile *file); gboolean gedit_file_browser_utils_confirmation_dialog (GeditWindow *window, GtkMessageType type, gchar const *message, gchar const *secondary, gchar const *button_label); #endif /* GEDIT_FILE_BROWSER_UTILS_H */ /* ex:set ts=8 noet: */