aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets/totem-glow-button.h
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <descalante@igalia.com>2011-01-27 05:01:43 +0800
committerDiego Escalante Urrelo <descalante@igalia.com>2011-03-08 04:34:52 +0800
commit1463005c1bc7e30be973876db0c324021222cd8c (patch)
tree618abed7b936edae4f9c096ced4ad2e070272019 /lib/widgets/totem-glow-button.h
parentb9f9bf1a0763492f8bf41b8856bbd1149c5871a9 (diff)
downloadgsoc2013-epiphany-1463005c1bc7e30be973876db0c324021222cd8c.tar
gsoc2013-epiphany-1463005c1bc7e30be973876db0c324021222cd8c.tar.gz
gsoc2013-epiphany-1463005c1bc7e30be973876db0c324021222cd8c.tar.bz2
gsoc2013-epiphany-1463005c1bc7e30be973876db0c324021222cd8c.tar.lz
gsoc2013-epiphany-1463005c1bc7e30be973876db0c324021222cd8c.tar.xz
gsoc2013-epiphany-1463005c1bc7e30be973876db0c324021222cd8c.tar.zst
gsoc2013-epiphany-1463005c1bc7e30be973876db0c324021222cd8c.zip
ephy-download-widget: new widget
A widget showing the progress of an EphyDownload and offering the default set of actions to take on it: Open, Browse to, Cancel. It keeps a ref to the EphyDownload its showing. Bug #618443
Diffstat (limited to 'lib/widgets/totem-glow-button.h')
-rw-r--r--lib/widgets/totem-glow-button.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/lib/widgets/totem-glow-button.h b/lib/widgets/totem-glow-button.h
new file mode 100644
index 000000000..138f8c44f
--- /dev/null
+++ b/lib/widgets/totem-glow-button.h
@@ -0,0 +1,52 @@
+/*
+ * (C) Copyright 2007 Bastien Nocera <hadess@hadess.net>
+ *
+ * Glow code from libwnck/libwnck/tasklist.c:
+ * Copyright © 2001 Havoc Pennington
+ * Copyright © 2003 Kim Woelders
+ * Copyright © 2003 Red Hat, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301 USA.
+ */
+
+#ifndef __TOTEM_GLOW_BUTTON_H__
+#define __TOTEM_GLOW_BUTTON_H__
+
+#include <gtk/gtk.h>
+
+G_BEGIN_DECLS
+
+#define TOTEM_TYPE_GLOW_BUTTON (totem_glow_button_get_type ())
+#define TOTEM_GLOW_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TOTEM_TYPE_GLOW_BUTTON, TotemGlowButton))
+#define TOTEM_IS_GLOW_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TOTEM_TYPE_GLOW_BUTTON))
+
+typedef struct _TotemGlowButton TotemGlowButton;
+
+typedef struct _TotemGlowButtonClass {
+ GtkButtonClass parent_class;
+
+ gpointer __bla[4];
+} TotemGlowButtonClass;
+
+GType totem_glow_button_get_type (void) G_GNUC_CONST;
+
+GtkWidget * totem_glow_button_new (void);
+void totem_glow_button_set_glow (TotemGlowButton *button, gboolean glow);
+gboolean totem_glow_button_get_glow (TotemGlowButton *button);
+
+G_END_DECLS
+
+#endif /* __TOTEM_GLOW_BUTTON_H__ */