summaryrefslogtreecommitdiff
path: root/src/trg-menu-bar.h
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-09-08 08:25:15 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-09-08 08:25:15 +0000
commit20e277802983fa9d16a5f406f27c8cc120200e46 (patch)
treee745cff05e79c1d3f391199fd1e4cc422c64a6d2 /src/trg-menu-bar.h
parentc5b0c941f310f2b90e9d23f5dc5d89f3167cd817 (diff)
use glib message functions instead of g_printf(). make view state selector/notebook a persistent setting. add toggling of tracker/dir filters to view menu. I might add more from preferences another time.
Diffstat (limited to 'src/trg-menu-bar.h')
-rw-r--r--src/trg-menu-bar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/trg-menu-bar.h b/src/trg-menu-bar.h
index cc148be..1f9fe29 100644
--- a/src/trg-menu-bar.h
+++ b/src/trg-menu-bar.h
@@ -23,6 +23,7 @@
#include <glib-object.h>
#include <gtk/gtk.h>
+#include "trg-prefs.h"
#include "trg-main-window.h"
G_BEGIN_DECLS
@@ -47,7 +48,7 @@ typedef struct {
GType trg_menu_bar_get_type(void);
-TrgMenuBar *trg_menu_bar_new(TrgMainWindow * win);
+TrgMenuBar *trg_menu_bar_new(TrgPrefs * prefs);
GtkWidget *trg_menu_bar_item_new(GtkMenuShell * shell, char *text,
char *stock_id, gboolean sensitive);