summaryrefslogtreecommitdiff
path: root/thunar/thunar-history.h
diff options
context:
space:
mode:
Diffstat (limited to 'thunar/thunar-history.h')
-rw-r--r--thunar/thunar-history.h32
1 files changed, 27 insertions, 5 deletions
diff --git a/thunar/thunar-history.h b/thunar/thunar-history.h
index efef8ec1..ffae36e0 100644
--- a/thunar/thunar-history.h
+++ b/thunar/thunar-history.h
@@ -34,13 +34,35 @@ typedef struct _ThunarHistory ThunarHistory;
#define THUNAR_IS_HISTORY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), THUNAR_TYPE_HISTORY))
#define THUNAR_HISTORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), THUNAR_TYPE_HISTORY, ThunarHistoryClass))
-GType thunar_history_get_type (void) G_GNUC_CONST;
+typedef enum
+{
+ THUNAR_HISTORY_MENU_BACK,
+ THUNAR_HISTORY_MENU_FORWARD,
+
+
+} ThunarHistoryMenuType;
-ThunarHistory *thunar_history_copy (ThunarHistory *history,
- GtkActionGroup *action_group);
+struct _ThunarHistoryClass
+{
+ GObjectClass __parent__;
+
+ /* external signals */
+ void (*history_changed) (ThunarHistory *history,
+ const gchar *initial_text);
+};
+
+GType thunar_history_get_type (void) G_GNUC_CONST;
-ThunarFile *thunar_history_peek_back (ThunarHistory *history);
-ThunarFile *thunar_history_peek_forward (ThunarHistory *history);
+ThunarHistory *thunar_history_copy (ThunarHistory *history);
+gboolean thunar_history_has_back (ThunarHistory *history);
+gboolean thunar_history_has_forward (ThunarHistory *history);
+ThunarFile *thunar_history_peek_back (ThunarHistory *history);
+ThunarFile *thunar_history_peek_forward (ThunarHistory *history);
+void thunar_history_action_back (ThunarHistory *history);
+void thunar_history_action_forward (ThunarHistory *history);
+void thunar_history_show_menu (ThunarHistory *history,
+ ThunarHistoryMenuType type,
+ GtkWidget *parent);
G_END_DECLS;