diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-07-18 04:51:25 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-07-18 04:51:25 +0800 |
commit | 787e1f93d51f647457d874b3be1b1681d884a401 (patch) | |
tree | 86460cb5b2af5bf69edea1d1cadb4794fc863044 /widgets | |
parent | f8b8692499922f1aefe6c673549d6cd9f13c7856 (diff) | |
download | gsoc2013-evolution-787e1f93d51f647457d874b3be1b1681d884a401.tar.gz gsoc2013-evolution-787e1f93d51f647457d874b3be1b1681d884a401.tar.zst gsoc2013-evolution-787e1f93d51f647457d874b3be1b1681d884a401.zip |
Make errors in taskbar clickable.
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/e-activity-proxy.c | 1 | ||||
-rw-r--r-- | widgets/misc/e-alert-activity.c | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/widgets/misc/e-activity-proxy.c b/widgets/misc/e-activity-proxy.c index b045394442..10249b1911 100644 --- a/widgets/misc/e-activity-proxy.c +++ b/widgets/misc/e-activity-proxy.c @@ -272,6 +272,7 @@ activity_proxy_init (EActivityProxy *proxy) gtk_widget_hide (widget); widget = gtk_button_new (); + gtk_button_set_relief (GTK_BUTTON (widget), GTK_RELIEF_NONE); gtk_box_pack_start (GTK_BOX (container), widget, FALSE, FALSE, 0); proxy->priv->button = g_object_ref (widget); gtk_widget_hide (widget); diff --git a/widgets/misc/e-alert-activity.c b/widgets/misc/e-alert-activity.c index 860b129ef9..1e8f915213 100644 --- a/widgets/misc/e-alert-activity.c +++ b/widgets/misc/e-alert-activity.c @@ -114,6 +114,11 @@ alert_activity_constructed (GObject *object) activity = E_ACTIVITY (alert_activity); e_activity_set_primary_text (activity, primary_text); e_activity_set_secondary_text (activity, secondary_text); + + /* This is a constructor property, so can't do it in init(). + * XXX What we really want to do is override the property's + * default value, but GObject does not support that. */ + e_activity_set_clickable (E_ACTIVITY (alert_activity), TRUE); } static void @@ -181,7 +186,6 @@ alert_activity_init (EAlertActivity *alert_activity) { alert_activity->priv = E_ALERT_ACTIVITY_GET_PRIVATE (alert_activity); - e_activity_set_clickable (E_ACTIVITY (alert_activity), TRUE); e_timeout_activity_set_timeout (E_TIMEOUT_ACTIVITY (alert_activity), 60); } |