[gnome-photos/wip/facebook] header-bar: Add the "titlebar" style class for rounded corners
- From: Álvaro Peña <alvaropg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/facebook] header-bar: Add the "titlebar" style class for rounded corners
- Date: Fri, 22 Nov 2013 22:00:46 +0000 (UTC)
commit 95e210e302b2f3ca2e46685148a0962637f3d080
Author: Debarshi Ray <debarshir gnome org>
Date: Fri Sep 13 14:37:56 2013 +0200
header-bar: Add the "titlebar" style class for rounded corners
src/photos-header-bar.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-header-bar.c b/src/photos-header-bar.c
index f5b60f2..8b45985 100644
--- a/src/photos-header-bar.c
+++ b/src/photos-header-bar.c
@@ -69,10 +69,14 @@ static void
photos_header_bar_init (PhotosHeaderBar *self)
{
PhotosHeaderBarPrivate *priv;
+ GtkStyleContext *context;
self->priv = photos_header_bar_get_instance_private (self);
priv = self->priv;
+ context = gtk_widget_get_style_context (GTK_WIDGET (self));
+ gtk_style_context_add_class (context, "titlebar");
+
priv->stack_switcher = g_object_ref_sink (gtk_stack_switcher_new ());
gtk_widget_show (priv->stack_switcher);
gtk_widget_set_no_show_all (priv->stack_switcher, TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]