summaryrefslogtreecommitdiff
path: root/plugins/filebrowser/pluma-file-browser-utils.h
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-11-07 19:52:18 -0300
committerPerberos <[email protected]>2011-11-07 19:52:18 -0300
commit5ded9cba8563f336939400303d6a841d5089b107 (patch)
treec5676588cff26ba37e12369fe4de24b54e9f6682 /plugins/filebrowser/pluma-file-browser-utils.h
parentf00b3a11a199f9f85a4d46a600f9d14179b37dbf (diff)
downloadpluma-5ded9cba8563f336939400303d6a841d5089b107.tar.bz2
pluma-5ded9cba8563f336939400303d6a841d5089b107.tar.xz
renaming from gedit to pluma
Diffstat (limited to 'plugins/filebrowser/pluma-file-browser-utils.h')
-rwxr-xr-xplugins/filebrowser/pluma-file-browser-utils.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/plugins/filebrowser/pluma-file-browser-utils.h b/plugins/filebrowser/pluma-file-browser-utils.h
new file mode 100755
index 00000000..0ac4296a
--- /dev/null
+++ b/plugins/filebrowser/pluma-file-browser-utils.h
@@ -0,0 +1,27 @@
+#ifndef __PLUMA_FILE_BROWSER_UTILS_H__
+#define __PLUMA_FILE_BROWSER_UTILS_H__
+
+#include <pluma/pluma-window.h>
+#include <gio/gio.h>
+
+GdkPixbuf *pluma_file_browser_utils_pixbuf_from_theme (gchar const *name,
+ GtkIconSize size);
+
+GdkPixbuf *pluma_file_browser_utils_pixbuf_from_icon (GIcon * icon,
+ GtkIconSize size);
+GdkPixbuf *pluma_file_browser_utils_pixbuf_from_file (GFile * file,
+ GtkIconSize size);
+
+gchar * pluma_file_browser_utils_file_basename (GFile * file);
+gchar * pluma_file_browser_utils_uri_basename (gchar const * uri);
+
+gboolean pluma_file_browser_utils_confirmation_dialog (PlumaWindow * window,
+ GtkMessageType type,
+ gchar const *message,
+ gchar const *secondary,
+ gchar const * button_stock,
+ gchar const * button_label);
+
+#endif /* __PLUMA_FILE_BROWSER_UTILS_H__ */
+
+// ex:ts=8:noet: