From: Eric W. <war...@us...> - 2001-11-21 12:22:34
|
Update of /cvsroot/gaim/gaim/src In directory usw-pr-cvs1:/tmp/cvs-serv25815 Modified Files: conversation.c Log Message: forgot i left this in there. it didn't work but didn't hurt being there. Index: conversation.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/conversation.c,v retrieving revision 1.304 retrieving revision 1.305 diff -u -d -r1.304 -r1.305 --- conversation.c 2001/11/21 12:15:37 1.304 +++ conversation.c 2001/11/21 12:22:31 1.305 @@ -60,8 +60,6 @@ #include "pixmaps/mrt.xpm" #include "pixmaps/download.xpm" -static GtkTooltips *tabtips = NULL; - static gchar *ispell_cmd[] = { "ispell", "-a", NULL }; int state_lock = 0; @@ -2158,7 +2156,6 @@ c->hasfg = 0; if (im_options & OPT_IM_ONE_WINDOW) { - GtkWidget *page; if (!all_convos) { win = all_convos = c->window = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_wmclass(GTK_WINDOW(win), "conversation", "Gaim"); @@ -2171,11 +2168,6 @@ GTK_SIGNAL_FUNC(delete_all_convo), NULL); convo_notebook = gtk_notebook_new(); - if (!tabtips) { - tabtips = gtk_tooltips_new(); - if (!(im_options & OPT_IM_ALIAS_TAB)) - gtk_tooltips_disable(tabtips); - } if (im_options & OPT_IM_SIDE_TAB) { if (im_options & OPT_IM_BR_TAB) { gtk_notebook_set_tab_pos(GTK_NOTEBOOK(convo_notebook), @@ -2207,11 +2199,6 @@ /* this doesn't actually matter since we're resetting it once we're out of the if/else */ gtk_notebook_append_page(GTK_NOTEBOOK(convo_notebook), cont, gtk_label_new(c->name)); gtk_widget_show(cont); - - page = gtk_notebook_get_nth_page(GTK_NOTEBOOK(convo_notebook), - g_list_index(conversations, c)); - page = gtk_notebook_get_tab_label(GTK_NOTEBOOK(convo_notebook), page); - gtk_tooltips_set_tip(tabtips, page->parent, c->name, c->name); } else { cont = win = gtk_window_new(GTK_WINDOW_TOPLEVEL); c->window = win; |