diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2011-03-09 09:56:37 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:43 +0800 |
commit | 7ea1badd8a6e61d727ca7353dd5d34d2735bf067 (patch) | |
tree | 16c9c022c63e01d6751fbe22823d211258415202 /widgets/misc/e-activity-proxy.c | |
parent | b30716185aa6625fe72de78457071532b1712934 (diff) | |
download | gsoc2013-evolution-7ea1badd8a6e61d727ca7353dd5d34d2735bf067.tar gsoc2013-evolution-7ea1badd8a6e61d727ca7353dd5d34d2735bf067.tar.gz gsoc2013-evolution-7ea1badd8a6e61d727ca7353dd5d34d2735bf067.tar.bz2 gsoc2013-evolution-7ea1badd8a6e61d727ca7353dd5d34d2735bf067.tar.lz gsoc2013-evolution-7ea1badd8a6e61d727ca7353dd5d34d2735bf067.tar.xz gsoc2013-evolution-7ea1badd8a6e61d727ca7353dd5d34d2735bf067.tar.zst gsoc2013-evolution-7ea1badd8a6e61d727ca7353dd5d34d2735bf067.zip |
Bug 644235 - Make EActivityProxy a GtkFrame
So it can inherit the theme from the widget below. Was previously a
GtkEventBox for historical reasons that no one remembers.
Diffstat (limited to 'widgets/misc/e-activity-proxy.c')
-rw-r--r-- | widgets/misc/e-activity-proxy.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/widgets/misc/e-activity-proxy.c b/widgets/misc/e-activity-proxy.c index d52451fa37..91dd5765ea 100644 --- a/widgets/misc/e-activity-proxy.c +++ b/widgets/misc/e-activity-proxy.c @@ -47,7 +47,7 @@ enum { G_DEFINE_TYPE ( EActivityProxy, e_activity_proxy, - GTK_TYPE_EVENT_BOX) + GTK_TYPE_FRAME) static void activity_proxy_feedback (EActivityProxy *proxy) @@ -262,14 +262,9 @@ e_activity_proxy_init (EActivityProxy *proxy) proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE ( proxy, E_TYPE_ACTIVITY_PROXY, EActivityProxyPrivate); - container = GTK_WIDGET (proxy); - - widget = gtk_frame_new (NULL); - gtk_frame_set_shadow_type (GTK_FRAME (widget), GTK_SHADOW_IN); - gtk_container_add (GTK_CONTAINER (container), widget); - gtk_widget_show (widget); + gtk_frame_set_shadow_type (GTK_FRAME (proxy), GTK_SHADOW_IN); - container = widget; + container = GTK_WIDGET (proxy); widget = gtk_hbox_new (FALSE, 3); gtk_container_add (GTK_CONTAINER (container), widget); |