2007-12-16 22:20:24 +00:00
|
|
|
/*
|
|
|
|
Copyright (C) 2007 Christian Dywan <christian@twotoasts.de>
|
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU Lesser General Public
|
|
|
|
License as published by the Free Software Foundation; either
|
|
|
|
version 2.1 of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
See the file COPYING for the full license text.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __PREFS_H__
|
|
|
|
#define __PREFS_H__ 1
|
|
|
|
|
2008-03-10 21:26:09 +00:00
|
|
|
#include "midori-browser.h"
|
2007-12-16 22:20:24 +00:00
|
|
|
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
|
|
|
|
// -- Types
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
2008-03-10 21:26:09 +00:00
|
|
|
MidoriBrowser* browser;
|
2008-01-23 04:27:54 +00:00
|
|
|
GtkWidget* userStylesheetUri;
|
2007-12-16 22:20:24 +00:00
|
|
|
GtkWidget* treeview;
|
|
|
|
GtkWidget* combobox;
|
|
|
|
GtkWidget* add;
|
|
|
|
} CPrefs;
|
|
|
|
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
PROTOCOLS_COL_NAME,
|
|
|
|
PROTOCOLS_COL_COMMAND,
|
|
|
|
PROTOCOLS_COL_N
|
|
|
|
};
|
|
|
|
|
|
|
|
// -- Declarations
|
|
|
|
|
|
|
|
GtkWidget*
|
2008-03-10 21:26:09 +00:00
|
|
|
prefs_preferences_dialog_new(MidoriBrowser*);
|
2007-12-16 22:20:24 +00:00
|
|
|
|
|
|
|
#endif /* !__PREFS_H__ */
|