comparison pidgin/plugins/win32/winprefs/gtkappbar.h @ 19283:39df1370839e

Fix the docked buddy list to consistently not have a taskbar entry thanks to some tips from "imiganai." This took *way* too long because of how arcane dealing with Windows on Windows is (the unnecessary complexity of our gtkappbar implementation doesn't help). Hopefully this doesn't break anything. Fixes #575.
author Daniel Atallah <daniel.atallah@gmail.com>
date Wed, 15 Aug 2007 03:41:04 +0000
parents 32c366eeeb99
children 44b4e8bd759b
comparison
equal deleted inserted replaced
19282:fcc5d2de3b74 19283:39df1370839e
23 * 23 *
24 */ 24 */
25 #ifndef _GTKAPPBAR_H_ 25 #ifndef _GTKAPPBAR_H_
26 #define _GTKAPPBAR_H_ 26 #define _GTKAPPBAR_H_
27 27
28 #include <glib.h>
29 #include <gtk/gtk.h>
30
28 typedef struct { 31 typedef struct {
29 GtkWidget *win; 32 GtkWidget *win;
30 /** The rectangle of the screen area used for docking */ 33 /** The rectangle of the screen area used for docking */
31 RECT docked_rect; 34 RECT docked_rect;
32 /** The height of the window prior to docking */ 35 /** The height of the window prior to docking */
33 UINT undocked_height; 36 UINT undocked_height;
34 /** The side of the screen to which the window is docked*/ 37 /** The side of the screen to which the window is docked*/
35 UINT side; 38 UINT side;
36 /** Is the window currently docked? */ 39 /** Is the window currently docked? */
37 gboolean docked; 40 gboolean docked;
38 /** Is the window currently in the process of docking? */ 41 /** Is the window currently in the process of docking? */
39 gboolean docking; 42 gboolean docking;
43 gboolean undocking;
40 /** Is the window currently registered as an appbar */ 44 /** Is the window currently registered as an appbar */
41 gboolean registered; 45 gboolean registered;
42 /** Callback functions to notify of dock state change */ 46 /** Callback functions to notify of dock state change */
43 GList *dock_cbs; 47 GSList *dock_cbs;
44 /** Is the window currently iconized? */ 48 /** Is the window currently iconized? */
45 gboolean iconized; 49 gboolean iconized;
46 } GtkAppBar; 50 } GtkAppBar;
47 51
48 typedef void (*GtkAppBarDockCB)(gboolean); 52 typedef void (*GtkAppBarDockCB)(gboolean);