~ubuntu-branches/ubuntu/oneiric/overlay-scrollbar/oneiric

« back to all changes in this revision

Viewing changes to os/os-utils.c

  • Committer: Bazaar Package Importer
  • Author(s): Ken VanDine
  • Date: 2011-04-26 14:21:57 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20110426142157-8sjpjbak5u4wn85o
Tags: 0.1.10-0ubuntu1
* New upstream release.
  - Updated blacklist:
    * vmware (LP: #770625)
    * gnucash (LP: #770304)
    * pgadmin3, codeblocks and codelite (LP: #769232)
  - liferea and cardapio requires 
    GDK_POINTER_MOTION_MASK (LP: #769217) (LP: #769460)
  - liboverlay doesn't work in detached tabs (LP: #769427)
  - Scrollbar's slider appears away from the mouse (LP: #763707)

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
  static const gchar *const blacklist[] = {
36
36
    "apport-gtk",
37
37
    "Banshee",
 
38
    "codeblocks",
 
39
    "codelite",
38
40
    "deja-dup",
39
41
    "eclipse",
 
42
    "gnucash",
40
43
    "inkscape",
41
 
    "liferea",
42
44
    "lshw-gtk",
43
45
    "meld",
 
46
    "pgadmin3",
44
47
    "synaptic",
45
48
    "update-manager",
46
 
    "vinagre"
 
49
    "vinagre",
 
50
    "vmware"
47
51
  };
48
52
 
49
53
  gint32 i;
63
67
gboolean
64
68
os_utils_is_whitelisted (const gchar* program)
65
69
{
66
 
  /* White-list of program names retrieved with g_get_prgname(). */
67
 
  static const gchar *const whitelist[] = {
68
 
    "baobab",
69
 
    "ccsm",
70
 
    "cheese",
71
 
    "chromium",
72
 
    "devhelp",
73
 
    "empathy",
74
 
    "eog",
75
 
    "epiphany",
76
 
    "evince",
77
 
    "gedit",
78
 
    "gnome-about-me",
79
 
    "gnome-appearance-properties",
80
 
    "gnome-audio-profiles-properties",
81
 
    "gnome-character-map",
82
 
    "gnome-control-center",
83
 
    "gnome-dictionary",
84
 
    "gnome-font-viewer",
85
 
    "gnome-help",
86
 
    "gnome-keybinding-properties",
87
 
    "gnome-keyboard-properties",
88
 
    "gnome-network-properties",
89
 
    "gnome-screensaver-preferences",
90
 
    "gnome-session-properties",
91
 
    "gnome-sound-recorder",
92
 
    "gnome-system-log",
93
 
    "gnome-system-monitor",
94
 
    "gnome-volume-control",
95
 
    "google-chrome",
96
 
    "gwibber",
97
 
    "gwibber-accounts",
98
 
    "midori",
99
 
    "nautilus",
100
 
    "palimpsest",
101
 
    "rhythmbox",
102
 
    "shotwell",
103
 
    "Tomboy",
104
 
    "totem",
105
 
    "ubuntuone-control-panel-gtk",
106
 
    "xchat"
107
 
  };
108
 
 
109
 
  gint32 i;
110
 
  const gint32 nr_programs = G_N_ELEMENTS (whitelist);
111
 
  for (i = 0; i < nr_programs; i++)
112
 
    if (g_strcmp0 (whitelist[i], program) == 0)
113
 
      return TRUE;
114
 
 
115
70
  return TRUE;
116
71
}