~awn-extras/awn-extras/applet-reorganization

« back to all changes in this revision

Viewing changes to src/awnsystemmonitor/dashboard.c

  • Committer: R. Cryderman
  • Date: 2009-04-19 02:10:13 UTC
  • Revision ID: rcryderman@gmail.com-20090419021013-jo0qzraoyhu6zbpc
* src/awnsystemmonitor/awnsystemmonitor.c:
* src/awnsystemmonitor/dashboard.c:
* src/awnsystemmonitor/sysmem_component.c:

        Make the default appearance more presentable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1011
1011
{
1012
1012
  if (!dashboard->ignore_gtk)
1013
1013
  {
 
1014
    static gboolean doneonce = FALSE;
1014
1015
    set_bg_rbg(&dashboard->mainwindow->style->base[0]);
1015
1016
    set_fg_rbg(&dashboard->mainwindow->style->fg[0]);
1016
 
 
 
1017
    get_fg_rgba_colour(&dashboard->fg);
 
1018
    get_bg_rgba_colour(&dashboard->bg);
 
1019
    if (!doneonce)
 
1020
    {
 
1021
      _apply_dash_colours(NULL, NULL, dashboard);
 
1022
      doneonce = TRUE;
 
1023
    }
1017
1024
    /*FIXME - decide if forcing propagation of gtk colours is good.
1018
1025
    right no choosing no */
1019
1026
//        g_slist_foreach(dashboard->Dashboard_plugs,_apply_c_ ,dashboard);