Mercurial > pidgin.yaz
diff pidgin/gtkblist.c @ 24282:d38d854cd0bf
Use GtkSetting to obtain the tooltip preferences instead of our own hidden
pref, when compiling against GTK+ 2.14 or higher.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 30 Oct 2008 19:53:55 +0000 |
parents | aa8ddc4e12af |
children | d9a50381a20c bc632f651319 45ce87f9a07f |
line wrap: on
line diff
--- a/pidgin/gtkblist.c Thu Oct 30 05:41:19 2008 +0000 +++ b/pidgin/gtkblist.c Thu Oct 30 19:53:55 2008 +0000 @@ -7177,7 +7177,10 @@ purple_prefs_add_int(PIDGIN_PREFS_ROOT "/blist/y", 0); purple_prefs_add_int(PIDGIN_PREFS_ROOT "/blist/width", 250); /* Golden ratio, baby */ purple_prefs_add_int(PIDGIN_PREFS_ROOT "/blist/height", 405); /* Golden ratio, baby */ +#if !GTK_CHECK_VERSION(2,14,0) + /* This pref is used in pidgintooltip.c. */ purple_prefs_add_int(PIDGIN_PREFS_ROOT "/blist/tooltip_delay", 500); +#endif /* Register our signals */ purple_signal_register(gtk_blist_handle, "gtkblist-hiding",