After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 675310 - evince-previewer: use the primary-toolbar style class for the toolbar
evince-previewer: use the primary-toolbar style class for the toolbar
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-05-02 17:02 UTC by Volker Sobek (weld)
Modified: 2012-05-04 18:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
evince-previewer: Use primary-toolbar style class (1.03 KB, patch)
2012-05-02 23:17 UTC, Volker Sobek (weld)
committed Details | Review

Description Volker Sobek (weld) 2012-05-02 17:02:42 UTC
Evince-previewer still has a wrong toolbar look.
Comment 1 Volker Sobek (weld) 2012-05-02 23:17:32 UTC
Created attachment 213340 [details] [review]
evince-previewer: Use primary-toolbar style class
Comment 2 Carlos Garcia Campos 2012-05-04 18:33:01 UTC
Review of attachment 213340 [details] [review]:

Pushed to git master, thank you very much.

::: previewer/ev-previewer-window.c
@@ +601,2 @@
 	toolbar = gtk_ui_manager_get_widget (window->ui_manager, "/PreviewToolbar");
+	gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (toolbar)),

toolbar is already a GtkWidget, so no need to cast it.