[yelp] yelp-window: Drop gtk bug workaround because mclasen fixed the bug



commit 1775789539917bc9c974cfa278d4e51180dbaab2
Author: Shaun McCance <shaunm gnome org>
Date:   Wed Jun 18 12:27:50 2014 -0400

    yelp-window: Drop gtk bug workaround because mclasen fixed the bug

 src/yelp-window.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/src/yelp-window.c b/src/yelp-window.c
index 42b0305..a33c6e9 100644
--- a/src/yelp-window.c
+++ b/src/yelp-window.c
@@ -1164,11 +1164,6 @@ ctrll_entry_activate (GtkEntry    *entry,
     g_object_unref (uri);
 
     gtk_header_bar_set_custom_title (GTK_HEADER_BAR (priv->header), NULL);
-    /* GTK+ forgets to make the subtitle visible again:
-       https://bugzilla.gnome.org/show_bug.cgi?id=731790
-    */
-    gtk_header_bar_set_subtitle (GTK_HEADER_BAR (priv->header),
-                                 gtk_header_bar_get_subtitle (GTK_HEADER_BAR (priv->header)));
 }
 
 static gboolean
@@ -1180,11 +1175,6 @@ ctrll_entry_key_press (GtkWidget    *widget,
 
     if (event->keyval == GDK_KEY_Escape) {
         gtk_header_bar_set_custom_title (GTK_HEADER_BAR (priv->header), NULL);
-        /* GTK+ forgets to make the subtitle visible again:
-           https://bugzilla.gnome.org/show_bug.cgi?id=731790
-        */
-        gtk_header_bar_set_subtitle (GTK_HEADER_BAR (priv->header),
-                                     gtk_header_bar_get_subtitle (GTK_HEADER_BAR (priv->header)));
         return TRUE;
     }
     return FALSE;


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