~midori/midori/cmake-make-dist

« back to all changes in this revision

Viewing changes to src/main.h

  • Committer: Christian Dywan
  • Date: 2008-06-01 21:47:27 UTC
  • Revision ID: git-v1:b511f12b9b4b063610161f2229b94a24a86be0fc
Rename folder 'src' to 'midori'

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 Copyright (C) 2007-2008 Christian Dywan <christian@twotoasts.de>
3
 
 
4
 
 This library is free software; you can redistribute it and/or
5
 
 modify it under the terms of the GNU Lesser General Public
6
 
 License as published by the Free Software Foundation; either
7
 
 version 2.1 of the License, or (at your option) any later version.
8
 
 
9
 
 See the file COPYING for the full license text.
10
 
*/
11
 
 
12
 
#ifndef __MAIN_H__
13
 
#define __MAIN_H__ 1
14
 
 
15
 
#include <katze/katze.h>
16
 
 
17
 
#include <gtk/gtk.h>
18
 
#include <webkit/webkit.h>
19
 
 
20
 
#include <glib/gi18n.h>
21
 
 
22
 
// FIXME: Remove these globals
23
 
 
24
 
GList* searchEngines; // Items of type 'SearchEngine'
25
 
KatzeXbelItem* bookmarks;
26
 
 
27
 
// Custom stock items
28
 
 
29
 
// We should distribute these
30
 
// Names should match with epiphany and/ or xdg spec
31
 
/* NOTE: Those uncommented were replaced with remotely related icons
32
 
         in order to reduce the amount of warnings :D */
33
 
 
34
 
#define STOCK_BOOKMARK           GTK_STOCK_FILE // "stock_bookmark" "bookmark-web"
35
 
#define STOCK_FORM_FILL          GTK_STOCK_JUSTIFY_FILL // "insert-text" "form-fill"
36
 
#define STOCK_NEWSFEED           GTK_STOCK_INDEX
37
 
 
38
 
// We assume that these legacy icon names are usually present
39
 
 
40
 
#define STOCK_BOOKMARK_ADD       "stock_add-bookmark"
41
 
#define STOCK_HOMEPAGE           GTK_STOCK_HOME
42
 
#define STOCK_IMAGE              "gnome-mime-image"
43
 
#define STOCK_LOCK_OPEN          "stock_lock-open"
44
 
#define STOCK_LOCK_SECURE        "stock_lock"
45
 
#define STOCK_LOCK_BROKEN        "stock_lock-broken"
46
 
#define STOCK_NETWORK_OFFLINE    "network-offline"
47
 
#define STOCK_SCRIPT             "stock_script"
48
 
#define STOCK_SEND               "stock_mail-send"
49
 
#define STOCK_TAB_NEW            "stock_new-tab"
50
 
#define STOCK_THEME              "gnome-settings-theme"
51
 
#define STOCK_USER_TRASH         "gnome-stock-trash"
52
 
#define STOCK_WINDOW_NEW         "stock_new-window"
53
 
 
54
 
// For backwards compatibility
55
 
 
56
 
#if !GTK_CHECK_VERSION(2, 10, 0)
57
 
#define GTK_STOCK_SELECT_ALL     "gtk-select-all"
58
 
#endif
59
 
#if !GTK_CHECK_VERSION(2, 8, 0)
60
 
#define GTK_STOCK_FULLSCREEN "gtk-fullscreen"
61
 
#define GTK_STOCK_LEAVE_FULLSCREEN "gtk-leave-fullscreen"
62
 
#endif
63
 
 
64
 
#endif /* !__MAIN_H__ */