|
|
@@ -41,7 +41,6 @@ struct _IridiumWindow
|
|
|
GtkSearchEntry *search_entry;
|
|
|
GtkToggleButton *toggle_html_view;
|
|
|
GtkRevealer *notification_revealer;
|
|
|
- GtkRevealer *html_view_revealer;
|
|
|
WebKitWebView *html_view;
|
|
|
|
|
|
GBinding *title_binding;
|
|
|
@@ -232,7 +231,6 @@ iridium_window_class_init (IridiumWindowClass *klass)
|
|
|
gtk_widget_class_bind_template_child (widget_class, IridiumWindow, search_bar);
|
|
|
gtk_widget_class_bind_template_child (widget_class, IridiumWindow, search_entry);
|
|
|
gtk_widget_class_bind_template_child (widget_class, IridiumWindow, html_view);
|
|
|
- gtk_widget_class_bind_template_child (widget_class, IridiumWindow, html_view_revealer);
|
|
|
gtk_widget_class_bind_template_child (widget_class, IridiumWindow, toggle_html_view);
|
|
|
gtk_widget_class_bind_template_child (widget_class, IridiumWindow, notification_revealer);
|
|
|
|
|
|
@@ -266,7 +264,7 @@ iridium_window_init (IridiumWindow *self)
|
|
|
g_object_unref (action);
|
|
|
|
|
|
g_object_bind_property (self->toggle_html_view, "active",
|
|
|
- self->html_view_revealer, "reveal-child", G_BINDING_DEFAULT);
|
|
|
+ self->html_view, "visible", G_BINDING_DEFAULT);
|
|
|
gtk_search_bar_connect_entry (self->search_bar, GTK_ENTRY (self->search_entry));
|
|
|
|
|
|
manager = gtk_source_language_manager_get_default ();
|