Sat, 21 Jan 2006 00:46:36 +0000
[gaim-migrate @ 15326]
GtkTreeView::indent_expanders is a boolean value not an integer, so change
gaimrc to match. Also fix how changing settings works, all settings should be
instant-apply-on-change for gtk > 2.4, and will either work better or worse
than they did before with gtk < 2.4 (I'm not sure and don't have anywhere to
test.)
| 6409 | 1 | /* |
| 2 | * gaim - WinGaim Options Plugin | |
| 3 | * | |
| 4 | * File: gtkappbar.h | |
| 5 | * Date: August 2, 2003 | |
| 6 | * Description: Appbar functionality for Windows GTK+ applications | |
| 7 | * | |
| 8 | * Copyright (C) 2003, Herman Bloggs <hermanator12002@yahoo.com> | |
| 9 | * | |
| 10 | * This program is free software; you can redistribute it and/or modify | |
| 11 | * it under the terms of the GNU General Public License as published by | |
| 12 | * the Free Software Foundation; either version 2 of the License, or | |
| 13 | * (at your option) any later version. | |
| 14 | * | |
| 15 | * This program is distributed in the hope that it will be useful, | |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 18 | * GNU General Public License for more details. | |
| 19 | * | |
| 20 | * You should have received a copy of the GNU General Public License | |
| 21 | * along with this program; if not, write to the Free Software | |
| 22 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 23 | * | |
| 24 | */ | |
| 25 | #ifndef _GTKAPPBAR_H_ | |
| 26 | #define _GTKAPPBAR_H_ | |
| 27 | ||
| 28 | typedef struct { | |
| 29 | GtkWidget *win; | |
|
10550
ba4492f86ce3
[gaim-migrate @ 11924]
Daniel Atallah <datallah@pidgin.im>
parents:
6436
diff
changeset
|
30 | /** The rectangle of the screen area used for docking */ |
| 6409 | 31 | RECT docked_rect; |
|
10550
ba4492f86ce3
[gaim-migrate @ 11924]
Daniel Atallah <datallah@pidgin.im>
parents:
6436
diff
changeset
|
32 | /** The height of the window prior to docking */ |
| 6409 | 33 | UINT undocked_height; |
|
10550
ba4492f86ce3
[gaim-migrate @ 11924]
Daniel Atallah <datallah@pidgin.im>
parents:
6436
diff
changeset
|
34 | /** The side of the screen to which the window is docked*/ |
| 6409 | 35 | UINT side; |
|
10550
ba4492f86ce3
[gaim-migrate @ 11924]
Daniel Atallah <datallah@pidgin.im>
parents:
6436
diff
changeset
|
36 | /** Is the window currently docked? */ |
| 6409 | 37 | gboolean docked; |
|
10550
ba4492f86ce3
[gaim-migrate @ 11924]
Daniel Atallah <datallah@pidgin.im>
parents:
6436
diff
changeset
|
38 | /** Is the window currently in the process of docking? */ |
| 6409 | 39 | gboolean docking; |
|
10550
ba4492f86ce3
[gaim-migrate @ 11924]
Daniel Atallah <datallah@pidgin.im>
parents:
6436
diff
changeset
|
40 | /** Is the window currently registered as an appbar */ |
| 6409 | 41 | gboolean registered; |
|
10550
ba4492f86ce3
[gaim-migrate @ 11924]
Daniel Atallah <datallah@pidgin.im>
parents:
6436
diff
changeset
|
42 | /** Callback functions to notify of dock state change */ |
|
6436
f2bf79a9db81
[gaim-migrate @ 6944]
Herman Bloggs <herman@bluedigits.com>
parents:
6409
diff
changeset
|
43 | GList *dock_cbs; |
|
10550
ba4492f86ce3
[gaim-migrate @ 11924]
Daniel Atallah <datallah@pidgin.im>
parents:
6436
diff
changeset
|
44 | /** Is the window currently iconized? */ |
|
ba4492f86ce3
[gaim-migrate @ 11924]
Daniel Atallah <datallah@pidgin.im>
parents:
6436
diff
changeset
|
45 | gboolean iconized; |
| 6409 | 46 | } GtkAppBar; |
| 47 | ||
|
6436
f2bf79a9db81
[gaim-migrate @ 6944]
Herman Bloggs <herman@bluedigits.com>
parents:
6409
diff
changeset
|
48 | typedef void (*GtkAppBarDockCB)(gboolean); |
|
f2bf79a9db81
[gaim-migrate @ 6944]
Herman Bloggs <herman@bluedigits.com>
parents:
6409
diff
changeset
|
49 | |
| 6409 | 50 | GtkAppBar *gtk_appbar_add(GtkWidget *win); |
| 51 | void gtk_appbar_remove(GtkAppBar *ab); | |
| 52 | void gtk_appbar_dock(GtkAppBar *ab, UINT side); | |
|
6436
f2bf79a9db81
[gaim-migrate @ 6944]
Herman Bloggs <herman@bluedigits.com>
parents:
6409
diff
changeset
|
53 | void gtk_appbar_add_dock_cb(GtkAppBar *ab, GtkAppBarDockCB dock_cb); |
| 6409 | 54 | |
| 55 | #endif /* _GTKAPPBAR_H_ */ |