Mercurial > pidgin.yaz
comparison src/gtkblist.c @ 10814:364a2ef907ae
[gaim-migrate @ 12468]
same thing here, changing to consistently using GTK+, by rlaager
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Mon, 11 Apr 2005 12:24:47 +0000 |
parents | 33fe0093bbba |
children | fa06fda62868 |
comparison
equal
deleted
inserted
replaced
10813:290131d5f626 | 10814:364a2ef907ae |
---|---|
141 gboolean contact_expanded; | 141 gboolean contact_expanded; |
142 }; | 142 }; |
143 | 143 |
144 #ifdef WANT_DROP_SHADOW | 144 #ifdef WANT_DROP_SHADOW |
145 /**************************** Weird drop shadow stuff *******************/ | 145 /**************************** Weird drop shadow stuff *******************/ |
146 /* This is based on a patch for drop shadows in GTK menus available at | 146 /* This is based on a patch for drop shadows in GTK+ menus available at |
147 * http://www.xfce.org/gtkmenu-shadow/ | 147 * http://www.xfce.org/gtkmenu-shadow/ |
148 */ | 148 */ |
149 | 149 |
150 enum side { | 150 enum side { |
151 EAST_SIDE, | 151 EAST_SIDE, |
225 * 2004-08-22: This bug fix should land in GTK+ version 2.4.8: | 225 * 2004-08-22: This bug fix should land in GTK+ version 2.4.8: |
226 * http://bugzilla.gnome.org/show_bug.cgi?id=149013 | 226 * http://bugzilla.gnome.org/show_bug.cgi?id=149013 |
227 * | 227 * |
228 * In Win32, GDK gets the workarea that isn't occupied by toolbars | 228 * In Win32, GDK gets the workarea that isn't occupied by toolbars |
229 * (including the taskbar) and uses that region as the screen size. | 229 * (including the taskbar) and uses that region as the screen size. |
230 * GTK returns positions based on a screen size that ignores these | 230 * GTK+ returns positions based on a screen size that ignores these |
231 * toolbars. Since we want a pixmap with real X,Y coordinates, we | 231 * toolbars. Since we want a pixmap with real X,Y coordinates, we |
232 * need to find out the offset from GTK's screen to GDK's screen, | 232 * need to find out the offset from GTK's screen to GDK's screen, |
233 * and adjust the pixmaps we grab accordingly. GDK will not deal | 233 * and adjust the pixmaps we grab accordingly. GDK will not deal |
234 * with toolbar position updates, so we're stuck restarting Gaim | 234 * with toolbar position updates, so we're stuck restarting Gaim |
235 * if that happens. - SimGuy | 235 * if that happens. - SimGuy |
1498 handled = TRUE; | 1498 handled = TRUE; |
1499 } | 1499 } |
1500 | 1500 |
1501 #if (1) | 1501 #if (1) |
1502 /* | 1502 /* |
1503 * This code only exists because GTK doesn't work. If we return | 1503 * This code only exists because GTK+ doesn't work. If we return |
1504 * FALSE here, as would be normal the event propoagates down and | 1504 * FALSE here, as would be normal the event propoagates down and |
1505 * somehow gets interpreted as the start of a drag event. | 1505 * somehow gets interpreted as the start of a drag event. |
1506 * | 1506 * |
1507 * Um, isn't it _normal_ to return TRUE here? Since the event | 1507 * Um, isn't it _normal_ to return TRUE here? Since the event |
1508 * was handled? --Mark | 1508 * was handled? --Mark |