summaryrefslogtreecommitdiff
path: root/plugins/filebrowser/gedit-file-browser-utils.h
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-11-07 16:46:58 -0300
committerPerberos <[email protected]>2011-11-07 16:46:58 -0300
commit528c1e5ff51e213936e800fc5a9a25da99c0bdf2 (patch)
tree77f8aa456b09367ba81f04d4562fc935f898a951 /plugins/filebrowser/gedit-file-browser-utils.h
downloadpluma-528c1e5ff51e213936e800fc5a9a25da99c0bdf2.tar.bz2
pluma-528c1e5ff51e213936e800fc5a9a25da99c0bdf2.tar.xz
initial
Diffstat (limited to 'plugins/filebrowser/gedit-file-browser-utils.h')
-rwxr-xr-xplugins/filebrowser/gedit-file-browser-utils.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/plugins/filebrowser/gedit-file-browser-utils.h b/plugins/filebrowser/gedit-file-browser-utils.h
new file mode 100755
index 00000000..fc9acbce
--- /dev/null
+++ b/plugins/filebrowser/gedit-file-browser-utils.h
@@ -0,0 +1,27 @@
+#ifndef __GEDIT_FILE_BROWSER_UTILS_H__
+#define __GEDIT_FILE_BROWSER_UTILS_H__
+
+#include <gedit/gedit-window.h>
+#include <gio/gio.h>
+
+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);
+
+gchar * gedit_file_browser_utils_file_basename (GFile * file);
+gchar * gedit_file_browser_utils_uri_basename (gchar const * uri);
+
+gboolean gedit_file_browser_utils_confirmation_dialog (GeditWindow * window,
+ GtkMessageType type,
+ gchar const *message,
+ gchar const *secondary,
+ gchar const * button_stock,
+ gchar const * button_label);
+
+#endif /* __GEDIT_FILE_BROWSER_UTILS_H__ */
+
+// ex:ts=8:noet: