[epiphany] title-box: Don't use a secure image when created
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] title-box: Don't use a secure image when created
- Date: Thu, 22 Sep 2016 05:02:50 +0000 (UTC)
commit fb34ac9e2d8ad52ba5be9879fb2010220d8feb4b
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Wed Sep 21 22:53:49 2016 -0500
title-box: Don't use a secure image when created
This didn't make any sense, I just did it because I hadn't found the
gtk_image_new() function at the time.
lib/widgets/ephy-title-box.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/lib/widgets/ephy-title-box.c b/lib/widgets/ephy-title-box.c
index 6bbf023..d5d4056 100644
--- a/lib/widgets/ephy-title-box.c
+++ b/lib/widgets/ephy-title-box.c
@@ -98,7 +98,8 @@ ephy_title_box_constructed (GObject *object)
gtk_widget_set_valign (hbox, GTK_ALIGN_BASELINE);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
- title_box->lock_image = gtk_image_new_from_icon_name ("channel-secure-symbolic", GTK_ICON_SIZE_MENU);
+ title_box->lock_image = gtk_image_new ();
+ g_object_set (title_box->lock_image, "icon-size", GTK_ICON_SIZE_MENU, NULL);
gtk_widget_set_valign (title_box->lock_image, GTK_ALIGN_BASELINE);
gtk_box_pack_start (GTK_BOX (hbox), title_box->lock_image, FALSE, FALSE, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]