~ubuntu-branches/ubuntu/natty/xfce4-panel/natty

« back to all changes in this revision

Viewing changes to plugins/windowlist/windowlist.h

  • Committer: Bazaar Package Importer
  • Author(s): Lionel Le Folgoc
  • Date: 2010-12-04 15:45:53 UTC
  • mfrom: (1.1.25 upstream)
  • Revision ID: james.westby@ubuntu.com-20101204154553-c1k0n2p2j83chld0
Tags: 4.7.5-0ubuntu1
Upload to natty (pkg-xfce svn r4611).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* vim: set expandtab ts=8 sw=4: */
2
 
 
3
 
/*  $Id$
4
 
 *
5
 
 *  Copyright (c) 2003 Andre Lerche <a.lerche@gmx.net>
6
 
 *  Copyright (c) 2003 Benedikt Meurer <benedikt.meurer@unix-ag.uni-siegen.de>
7
 
 *  Copyright (c) 2006 Jani Monoses <jani@ubuntu.com>
8
 
 *  Copyright (c) 2006 Jasper Huijsmans <jasper@xfce.org>
9
 
 *  Copyright (c) 2006 Nick Schermer <nick@xfce.org>
10
 
 *
11
 
 *  This program is free software; you can redistribute it and/or modify
12
 
 *  it under the terms of the GNU Library General Public License as published
13
 
 *  by the Free Software Foundation; either version 2 of the License, or
14
 
 *  (at your option) any later version.
15
 
 *
16
 
 *  This program is distributed in the hope that it will be useful,
17
 
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
18
 
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19
 
 *  GNU Library General Public License for more details.
20
 
 *
21
 
 *  You should have received a copy of the GNU Library General Public License
22
 
 *  along with this program; if not, write to the Free Software
23
 
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24
 
 */
25
 
 
26
 
#ifndef _WINDOWLIST_H
27
 
#define _WINDOWLIST_H
28
 
 
29
 
#include <libwnck/libwnck.h>
30
 
#include <libxfcegui4/libxfcegui4.h>
31
 
#include <libxfce4panel/xfce-panel-plugin.h>
32
 
#include <gtk/gtk.h>
33
 
 
34
 
typedef enum
35
 
{
36
 
    ICON_BUTTON,
37
 
    ARROW_BUTTON,
38
 
}
39
 
ButtonLayout;
40
 
 
41
 
typedef enum
42
 
{
43
 
    DISABLED,
44
 
    OTHER_WORKSPACES,
45
 
    ALL_WORKSPACES,
46
 
}
47
 
UrgencyNotify;
48
 
 
49
 
typedef struct
50
 
{
51
 
    XfcePanelPlugin *plugin;
52
 
 
53
 
    /* Widget stuff */
54
 
    GtkWidget   *button;
55
 
    GtkWidget   *icon;
56
 
    GtkArrowType arrowtype;
57
 
    GtkTooltips *tooltips;
58
 
 
59
 
    WnckScreen  *screen;
60
 
    guint        screen_callback_id;
61
 
 
62
 
    /* Settings */
63
 
    ButtonLayout layout;
64
 
 
65
 
    guint show_all_workspaces : 1;
66
 
    guint show_window_icons : 1;
67
 
    guint show_workspace_actions : 1;
68
 
 
69
 
    UrgencyNotify notify;
70
 
 
71
 
    /* Blink button stuff */
72
 
    guint search_timeout_id;
73
 
    guint blink_timeout_id;
74
 
    guint blink : 1;
75
 
    guint block_blink : 1;
76
 
}
77
 
Windowlist;
78
 
 
79
 
void
80
 
windowlist_start_blink (Windowlist * wl);
81
 
 
82
 
void
83
 
windowlist_create_button (Windowlist * wl);
84
 
 
85
 
#endif /* _WINDOWLIST_H */