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 679085 - GtkSeparator not shown in dark theme
GtkSeparator not shown in dark theme
Status: RESOLVED FIXED
Product: gnome-themes-standard
Classification: Core
Component: Adwaita GTK3 theme
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-themes-standard-maint
gnome-themes-standard-maint
Depends on:
Blocks:
 
 
Reported: 2012-06-28 20:33 UTC by Christophe Fergeau
Modified: 2012-06-28 22:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christophe Fergeau 2012-06-28 20:33:25 UTC
If I apply the patch below to gnome-control-center to switch it to dark theme and start it, the separators in the main view (icon list of panels) are not shown. If you unfocus the control center window, they appear, and disappear again as soon as the window is focused. Things are working as expected (separator always appearing) in the non-dark theme.

    diff --git a/shell/control-center.c b/shell/control-center.c
    index a3f020b..3595eb6 100644
    --- a/shell/control-center.c
    +++ b/shell/control-center.c
    @@ -253,6 +253,9 @@ main (int argc, char **argv)
    g_signal_connect (application, "command-line",
    G_CALLBACK (application_command_line_cb), shell);
    + GtkSettings *settings;
    + settings = gtk_settings_get_default ();
    + g_object_set (G_OBJECT (settings), "gtk-application-prefer-dark-theme", TRUE, NULL);
    status = g_application_run (G_APPLICATION (application), argc, argv);
    g_object_unref (application);
Comment 1 Cosimo Cecchi 2012-06-28 22:35:59 UTC
Fixed in git master, thanks for the report.