Mercurial > pidgin
view PROGRAMMING_NOTES @ 14481:452007468387
[gaim-migrate @ 17200]
SF Patch #1554423 from charkins
Fixes SF Bug #1429503
"When creating the blist, gaim currently calls
gtk_widget_show_all() on the window, then immediately
hides it if using the docklet and the blist was hidden
when gaim last quit. Bug #1429503 reports that the
buddy list window will flash on the screen when
starting gaim (though I can't reproduce it).
This patch changes that behavior so that the
gtk_widget_show_all() is called on the vbox, not the
window. gtk_widget_show() will still get called on the
window when appropriate (either immediately, or when
the user clicks the docklet, etc)."
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sat, 09 Sep 2006 19:31:45 +0000 |
parents | da88e2cd5c53 |
children | 83ec0b408926 |
line wrap: on
line source
Notes on keeping GAIM OS independant ------------------------------------ General ------- - Use G_DIR_SEPARATOR_S and G_DIR_SEPARATOR for paths - Use g_getenv, g_snprintf, g_vsnprintf - Use gaim_home_dir instead of g_get_home_dir or g_getenv("HOME") - Make sure when including win32dep.h that it is the last header to be included. - Open binary files when reading or writing with 'b' mode. e.g: fopen("somefile", "wb"); Not doing so will open files in windows using defaut translation mode. i.e. newline -> <CR><LF> Paths ----- - DATADIR, LOCALEDIR & LIBDIR are defined in wingaim as functions. Doing the following will therefore break the windows build: printf("File in DATADIR is: %s\n", DATADIR G_DIR_SEPARATOR_S "pic.png"); it should be: printf("File in DATADIR is: %s%s%s\n", DATADIR, G_DIR_SEPARATOR_S, "pic.png"); PLUGINS & PROTOS ---------------- - G_MODULE_EXPORT all functions which are to be accessed from outside the scope of its "dll" or "so". (E.G. gaim_plugin_init) - G_MODULE_IMPORT all global variables which are located outside your dynamic library. (E.G. connections) (Not doing this will cause "Memory Access Violations" in Win32)