comparison src/gtkutils.c @ 11878:f672349cfc1c

[gaim-migrate @ 14169] Use GNOME proxy preferences. Works For Me. People are going to go crazy. We'll try it out in beta. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Fri, 28 Oct 2005 23:12:04 +0000
parents 8cb75ba77f9d
children 29dc8fc0dd6c
comparison
equal deleted inserted replaced
11877:f1f7c83d7b6c 11878:f672349cfc1c
1347 #if GTK_CHECK_VERSION(2,2,0) 1347 #if GTK_CHECK_VERSION(2,2,0)
1348 gaim_gtk_menu_position_func (menu, x, y, push_in, data); 1348 gaim_gtk_menu_position_func (menu, x, y, push_in, data);
1349 #endif 1349 #endif
1350 } 1350 }
1351 1351
1352 gboolean
1353 gaim_running_gnome(void)
1354 {
1355 gchar *tmp = g_find_program_in_path("gnome-open");
1356 if ((g_getenv("GNOME_DESKTOP_SESSION_ID") != NULL) &&
1357 (tmp != NULL))
1358 {
1359 g_free(tmp);
1360 return TRUE;
1361 }
1362 g_free(tmp);
1363 return FALSE;
1364 }
1365
1366 enum { 1352 enum {
1367 DND_FILE_TRANSFER, 1353 DND_FILE_TRANSFER,
1368 DND_IM_IMAGE, 1354 DND_IM_IMAGE,
1369 DND_BUDDY_ICON 1355 DND_BUDDY_ICON
1370 }; 1356 };