summaryrefslogtreecommitdiff
path: root/baobab/src/baobab-utils.h
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2011-12-14 10:13:54 +0100
committerStefano Karapetsas <[email protected]>2011-12-14 10:13:54 +0100
commitef0467789bfc8406b57ba553e4d59f4d6c3f9be8 (patch)
tree09d541636a16cb38448fe6183289ebdc3080c1bf /baobab/src/baobab-utils.h
downloadmate-utils-ef0467789bfc8406b57ba553e4d59f4d6c3f9be8.tar.bz2
mate-utils-ef0467789bfc8406b57ba553e4d59f4d6c3f9be8.tar.xz
Moved from Mate-Extra repository
Diffstat (limited to 'baobab/src/baobab-utils.h')
-rw-r--r--baobab/src/baobab-utils.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/baobab/src/baobab-utils.h b/baobab/src/baobab-utils.h
new file mode 100644
index 00000000..37330240
--- /dev/null
+++ b/baobab/src/baobab-utils.h
@@ -0,0 +1,49 @@
+/*
+ * baobab-utils.h
+ * This file is part of baobab
+ *
+ * Copyright (C) 2005-2006 Fabio Marzocca <[email protected]>
+ *
+ * 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
+ * (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, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Boston, MA 02110-1301 USA
+ */
+
+#ifndef __BAOBAB_UTILS_H__
+#define __BAOBAB_UTILS_H__
+
+#include "baobab.h"
+
+void baobab_get_filesystem (BaobabFS *fs);
+gchar* dir_select (gboolean, GtkWidget *);
+void on_toggled (GtkToggleButton *, gpointer);
+void stop_scan (void);
+gboolean show_bars (GtkTreeModel *model,
+ GtkTreePath *path,
+ GtkTreeIter *iter,
+ gpointer data);
+void message (const gchar *primary_msg, const gchar *secondary_msg, GtkMessageType type, GtkWidget *parent);
+gint messageyesno (const gchar *primary_msg, const gchar *secondary_msg, GtkMessageType type, gchar * ok_button, GtkWidget *parent);
+gboolean baobab_check_dir (GFile *);
+void popupmenu_list (GtkTreePath *path, GdkEventButton *event, gboolean can_trash);
+void open_file_with_application (GFile *file);
+gboolean can_trash_file (GFile *file);
+gboolean trash_file (GFile *file);
+void set_ui_action_sens (const gchar *name, gboolean sens);
+void set_ui_widget_sens (const gchar *name, gboolean sens);
+gchar *baobab_mateconf_get_string_with_default (MateConfClient *client, const gchar *key, const gchar *def);
+gboolean baobab_help_display (GtkWindow *parent, const gchar *file_name, const gchar *link_id);
+gboolean is_virtual_filesystem (GFile *file);
+
+#endif /* __BAOBAB_UTILS_H__ */