From: <ev...@us...> - 2006-09-29 00:18:04
|
Revision: 17393 http://svn.sourceforge.net/gaim/?rev=17393&view=rev Author: evands Date: 2006-09-28 17:17:58 -0700 (Thu, 28 Sep 2006) Log Message: ----------- Hide the Browsers preference tab when running in OS X, as is done with gnome, and use its open command which functions as gnome-open does for handling clicked links. Modified Paths: -------------- trunk/gtk/gtknotify.c trunk/gtk/gtkprefs.c Modified: trunk/gtk/gtknotify.c =================================================================== --- trunk/gtk/gtknotify.c 2006-09-29 00:17:18 UTC (rev 17392) +++ trunk/gtk/gtknotify.c 2006-09-29 00:17:58 UTC (rev 17393) @@ -942,6 +942,10 @@ { command = g_strdup_printf("gnome-open %s", escaped); } + else if (gaim_running_osx() == TRUE) + { + command = g_strdup_printf("open %s", escaped); + } else if (!strcmp(web_browser, "epiphany") || !strcmp(web_browser, "galeon")) { Modified: trunk/gtk/gtkprefs.c =================================================================== --- trunk/gtk/gtkprefs.c 2006-09-29 00:17:18 UTC (rev 17392) +++ trunk/gtk/gtkprefs.c 2006-09-29 00:17:58 UTC (rev 17393) @@ -1887,8 +1887,8 @@ prefs_notebook_add_page(_("Network"), NULL, network_page(), &p, NULL, notebook_page++); #ifndef _WIN32 /* We use the registered default browser in windows */ - /* if the user is running gnome 2.x, hide the browsers tab */ - if (gaim_running_gnome() == FALSE) { + /* if the user is running gnome 2.x or Mac OS X, hide the browsers tab */ + if ((gaim_running_gnome() == FALSE) && (gaim_running_osx() == FALSE)) { prefs_notebook_add_page(_("Browser"), NULL, browser_page(), &p, NULL, notebook_page++); } #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |