[Goodies-dev] [Bug 12942] Bar always indicates activity

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Fri Dec 2 11:33:41 CET 2016


https://bugzilla.xfce.org/show_bug.cgi?id=12942

--- Comment #13 from skontar <skontar at gmail.com> ---
I have a patch on mind, however I had trouble to understand how should I build
Xfce on Fedora last time I have tried. I have this on my TODO list, and I hope
to get to the point of contributing to Xfce soon (tm) :-D.

I was thinking, maybe naively, something along the lines of:

#if GTK_CHECK_VERSION (3, 20, 0)
        if (xfce_panel_plugin_get_orientation(global->plugin) ==
GTK_ORIENTATION_HORIZONTAL) 
        {
            css = g_strdup_printf("progressbar trough { min-width: 4px; } \
                                   progressbar progress { min-width: 4px; \
                                                          background-color: %s;
background-image: none; }",
                  gdk_rgba_to_string(&global->monitor[count]->options.color));
        }
        else
        {
            css = g_strdup_printf("progressbar trough { min-height: 4px; } \
                                   progressbar progress { min-height: 4px; \
                                                          background-color: %s;
background-image: none; }",
                  gdk_rgba_to_string(&global->monitor[count]->options.color));
        }       
#else

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the Goodies-dev mailing list