[Xfce4-commits] <xfce4-panel:devel> Use the arrow button instead of the blink button.
Nick Schermer
nick at xfce.org
Tue Aug 11 20:28:29 CEST 2009
Updating branch refs/heads/devel
to 1830919eb6692bcf403270f5d979966e544da92b (commit)
from d320f8e5e147a2db0ef72b51e3cac2f553df1002 (commit)
commit 1830919eb6692bcf403270f5d979966e544da92b
Author: Nick Schermer <nick at xfce.org>
Date: Fri Feb 27 18:41:19 2009 +0100
Use the arrow button instead of the blink button.
plugins/tasklist/tasklist-widget.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/plugins/tasklist/tasklist-widget.c b/plugins/tasklist/tasklist-widget.c
index eea4aca..66ea1b0 100644
--- a/plugins/tasklist/tasklist-widget.c
+++ b/plugins/tasklist/tasklist-widget.c
@@ -29,7 +29,6 @@
#include <exo/exo.h>
#include <libwnck/libwnck.h>
#include <libxfce4panel/libxfce4panel.h>
-#include <libxfce4panel/xfce-blink-button.h>
#include <common/panel-private.h>
#include "tasklist-widget.h"
@@ -1248,7 +1247,7 @@ tasklist_button_state_changed (WnckWindow *window,
/* update the blinking state */
if (PANEL_HAS_FLAG (changed_state, WNCK_WINDOW_STATE_DEMANDS_ATTENTION)
|| PANEL_HAS_FLAG (changed_state, WNCK_WINDOW_STATE_URGENT))
- xfce_blink_button_set_blinking (XFCE_BLINK_BUTTON (child->button),
+ xfce_arrow_button_set_blinking (XFCE_ARROW_BUTTON (child->button),
wnck_window_or_transient_needs_attention (child->window));
}
@@ -1400,7 +1399,7 @@ tasklist_button_new (XfceTasklistChild *child)
WnckWindow *window = child->window;
/* create the application button */
- child->button = xfce_blink_button_new ();
+ child->button = xfce_arrow_button_new (GTK_ARROW_NONE);
gtk_button_set_relief (GTK_BUTTON (child->button),
child->tasklist->button_relief);
g_signal_connect (G_OBJECT (child->button), "toggled",
More information about the Xfce4-commits
mailing list