[gnome-photos] indexing-notification: Flatten the close button



commit 75275a36c242216c178da6f4d2aa1816975e99ba
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu Feb 16 11:23:08 2017 +0100

    indexing-notification: Flatten the close button

 src/photos-indexing-notification.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-indexing-notification.c b/src/photos-indexing-notification.c
index 1659b41..1de53dd 100644
--- a/src/photos-indexing-notification.c
+++ b/src/photos-indexing-notification.c
@@ -285,6 +285,8 @@ photos_indexing_notification_init (PhotosIndexingNotification *self)
 
   close = gtk_button_new ();
   gtk_widget_set_valign (close, GTK_ALIGN_CENTER);
+  gtk_widget_set_focus_on_click (close, FALSE);
+  gtk_button_set_relief (GTK_BUTTON (close), GTK_RELIEF_NONE);
   gtk_button_set_image (GTK_BUTTON (close), image);
   gtk_container_add (GTK_CONTAINER (self), close);
   g_signal_connect_swapped (close, "clicked", G_CALLBACK (photos_indexing_notification_close_clicked), self);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]