[gnome-photos/wip/facebook] main-toolbar: Remove emphasis on Cancel button
- From: Álvaro Peña <alvaropg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/facebook] main-toolbar: Remove emphasis on Cancel button
- Date: Fri, 22 Nov 2013 21:56:29 +0000 (UTC)
commit a5633514ffa02970b6e1ebf24a7392cbf9b5c9ed
Author: Arnel A. Borja <arnelborja src gnome org>
Date: Mon Aug 26 23:18:09 2013 +0800
main-toolbar: Remove emphasis on Cancel button
This is to follow the new design for Content Selection Pattern.
https://bugzilla.gnome.org/show_bug.cgi?id=706810
src/photos-main-toolbar.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/photos-main-toolbar.c b/src/photos-main-toolbar.c
index fe7c3e4..b96de47 100644
--- a/src/photos-main-toolbar.c
+++ b/src/photos-main-toolbar.c
@@ -482,7 +482,6 @@ static void
photos_main_toolbar_populate_for_selection_mode (PhotosMainToolbar *self)
{
PhotosMainToolbarPrivate *priv = self->priv;
- GtkStyleContext *context;
GtkWidget *selection_button;
photos_header_bar_set_mode (PHOTOS_HEADER_BAR (priv->toolbar), PHOTOS_HEADER_BAR_MODE_SELECTION);
@@ -490,8 +489,6 @@ photos_main_toolbar_populate_for_selection_mode (PhotosMainToolbar *self)
selection_button = gd_header_simple_button_new ();
gd_header_button_set_label (GD_HEADER_BUTTON (selection_button), _("Cancel"));
gtk_header_bar_pack_end (GTK_HEADER_BAR (priv->toolbar), selection_button);
- context = gtk_widget_get_style_context (selection_button);
- gtk_style_context_add_class (context, "suggested-action");
g_signal_connect (selection_button, "clicked", G_CALLBACK (photos_main_toolbar_done_button_clicked), self);
g_signal_connect_object (priv->sel_cntrlr,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]