You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(106) |
Oct
(334) |
Nov
(246) |
Dec
(145) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(42) |
Feb
(53) |
Mar
(232) |
Apr
(109) |
May
(137) |
Jun
(63) |
Jul
(26) |
Aug
(263) |
Sep
(193) |
Oct
(507) |
Nov
(440) |
Dec
(241) |
2003 |
Jan
(567) |
Feb
(195) |
Mar
(504) |
Apr
(481) |
May
(524) |
Jun
(522) |
Jul
(594) |
Aug
(502) |
Sep
(643) |
Oct
(508) |
Nov
(430) |
Dec
(377) |
2004 |
Jan
(361) |
Feb
(251) |
Mar
(219) |
Apr
(499) |
May
(461) |
Jun
(419) |
Jul
(314) |
Aug
(519) |
Sep
(416) |
Oct
(247) |
Nov
(305) |
Dec
(382) |
2005 |
Jan
(267) |
Feb
(282) |
Mar
(327) |
Apr
(338) |
May
(189) |
Jun
(400) |
Jul
(462) |
Aug
(530) |
Sep
(316) |
Oct
(523) |
Nov
(481) |
Dec
(650) |
2006 |
Jan
(536) |
Feb
(361) |
Mar
(287) |
Apr
(146) |
May
(101) |
Jun
(169) |
Jul
(221) |
Aug
(498) |
Sep
(300) |
Oct
(236) |
Nov
(209) |
Dec
(205) |
2007 |
Jan
(30) |
Feb
(23) |
Mar
(26) |
Apr
(15) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <dat...@us...> - 2006-10-04 02:53:57
|
Revision: 17409 http://svn.sourceforge.net/gaim/?rev=17409&view=rev Author: datallah Date: 2006-09-30 13:09:28 -0700 (Sat, 30 Sep 2006) Log Message: ----------- Finish up making the status box work nicely when you have accounts with identical statuses enabled. This adds some (further) complexity to the status box, but I actually eliminated some unnecessary regenerations and refreshes and stuff. Modified Paths: -------------- trunk/gtk/gtkstatusbox.c trunk/gtk/gtkstatusbox.h trunk/libgaim/savedstatuses.c Modified: trunk/gtk/gtkstatusbox.c =================================================================== --- trunk/gtk/gtkstatusbox.c 2006-09-30 08:24:17 UTC (rev 17408) +++ trunk/gtk/gtkstatusbox.c 2006-09-30 20:09:28 UTC (rev 17409) @@ -500,7 +500,10 @@ char *primary, *secondary, *text; GdkPixbuf *pixbuf; GtkTreePath *path; + gboolean account_status = FALSE; + GaimAccount *acct = (status_box->token_status_account) ? status_box->token_status_account : status_box->account; + show_buddy_icons = gaim_prefs_get_bool("/gaim/gtk/blist/show_buddy_icons"); if (show_buddy_icons) icon_size = gtk_icon_size_from_name(GAIM_ICON_SIZE_STATUS); @@ -515,6 +518,10 @@ saved_status = gaim_savedstatus_get_current(); + if (status_box->account || (status_box->token_status_account + && gaim_savedstatus_is_transient(saved_status))) + account_status = TRUE; + /* Primary */ if (status_box->typing != 0) { @@ -534,10 +541,8 @@ /* This should never happen, but just in case... */ primary = g_strdup("New status"); } - else if (status_box->account != NULL) - { - primary = g_strdup(gaim_status_get_name(gaim_account_get_active_status(status_box->account))); - } + else if (account_status) + primary = g_strdup(gaim_status_get_name(gaim_account_get_active_status(acct))); else if (gaim_savedstatus_is_transient(saved_status)) primary = g_strdup(gaim_primitive_get_name_from_type(gaim_savedstatus_get_type(saved_status))); else @@ -573,9 +578,9 @@ pixbuf = status_box->connecting_pixbufs[status_box->connecting_index]; else { - if (status_box->account != NULL) - pixbuf = gaim_gtk_create_prpl_icon_with_status(status_box->account, - gaim_status_get_type(gaim_account_get_active_status(status_box->account)), + if (account_status) + pixbuf = gaim_gtk_create_prpl_icon_with_status(acct, + gaim_status_get_type(gaim_account_get_active_status(acct)), show_buddy_icons ? 1.0 : 0.5); else pixbuf = gaim_gtk_create_gaim_icon_with_status( @@ -638,6 +643,25 @@ update_size(status_box); } +static GaimStatusType * +find_status_type_by_index(const GaimAccount *account, gint active) +{ + const GList *l = gaim_account_get_status_types(account); + gint i; + + for (i = 0; l; l = l->next) { + GaimStatusType *status_type = l->data; + if (!gaim_status_type_is_user_settable(status_type)) + continue; + + if (active == i) + return status_type; + i++; + } + + return NULL; +} + /** * This updates the GtkTreeView so that it correctly shows the state * we are currently using. It is used when the current state is @@ -675,7 +699,7 @@ * popular status in the dropdown menu. */ primitive = gaim_savedstatus_get_type(saved_status); - if (gaim_savedstatus_is_transient(saved_status) && + if (!status_box->token_status_account && gaim_savedstatus_is_transient(saved_status) && ((primitive == GAIM_STATUS_AVAILABLE) || (primitive == GAIM_STATUS_AWAY) || (primitive == GAIM_STATUS_INVISIBLE) || (primitive == GAIM_STATUS_OFFLINE)) && (!gaim_savedstatus_has_substatuses(saved_status))) @@ -688,6 +712,7 @@ GtkTreeIter iter; GtkGaimStatusBoxItemType type; gpointer data; + const char *name; /* Unset the active item */ gtk_combo_box_set_active(GTK_COMBO_BOX(status_box), -1); @@ -699,11 +724,25 @@ { gtk_tree_model_get(GTK_TREE_MODEL(status_box->dropdown_store), &iter, TYPE_COLUMN, &type, + TEXT_COLUMN, &name, DATA_COLUMN, &data, -1); - if ((type == GTK_GAIM_STATUS_BOX_TYPE_POPULAR) && - (GPOINTER_TO_INT(data) == gaim_savedstatus_get_creation_time(saved_status))) + if (status_box->token_status_account && gaim_savedstatus_is_transient(saved_status) + && type == GTK_GAIM_STATUS_BOX_TYPE_PRIMITIVE && primitive == GPOINTER_TO_INT(data)) { + const char *acct_status_name = gaim_status_get_name( + gaim_account_get_active_status(status_box->token_status_account)); + if (!gaim_savedstatus_has_substatuses(saved_status) + || !strcmp(name, acct_status_name)) + { + /* Found! */ + gtk_combo_box_set_active_iter(GTK_COMBO_BOX(status_box), &iter); + break; + } + } + else if ((type == GTK_GAIM_STATUS_BOX_TYPE_POPULAR) && + (GPOINTER_TO_INT(data) == gaim_savedstatus_get_creation_time(saved_status))) + { /* Found! */ gtk_combo_box_set_active_iter(GTK_COMBO_BOX(status_box), &iter); break; @@ -898,7 +937,6 @@ gtk_gaim_status_box_regenerate(GtkGaimStatusBox *status_box) { gboolean show_buddy_icons; - GaimAccount *account; GdkPixbuf *pixbuf, *pixbuf2, *pixbuf3, *pixbuf4; GtkIconSize icon_size; @@ -916,17 +954,16 @@ * if we do this here. */ /* gtk_combo_box_set_model(GTK_COMBO_BOX(status_box), GTK_TREE_MODEL(status_box->dropdown_store)); */ - account = GTK_GAIM_STATUS_BOX(status_box)->account; - if (account == NULL) + if (status_box->account == NULL) { pixbuf = gtk_widget_render_icon (GTK_WIDGET(status_box->vbox), GAIM_STOCK_STATUS_ONLINE, icon_size, "GtkGaimStatusBox"); /* Do all the currently enabled accounts have the same statuses? * If so, display them instead of our global list. */ - if ((account = check_active_accounts_for_identical_statuses())) - add_account_statuses(status_box, account, show_buddy_icons); - else { + if (status_box->token_status_account) { + add_account_statuses(status_box, status_box->token_status_account, show_buddy_icons); + } else { /* Global */ pixbuf2 = gtk_widget_render_icon (GTK_WIDGET(status_box->vbox), GAIM_STOCK_STATUS_AWAY, icon_size, "GtkGaimStatusBox"); @@ -951,8 +988,9 @@ status_menu_refresh_iter(status_box); } else { - add_account_statuses(status_box, account, show_buddy_icons); - update_to_reflect_account_status(status_box, account, gaim_account_get_active_status(account)); + add_account_statuses(status_box, status_box->account, show_buddy_icons); + update_to_reflect_account_status(status_box, status_box->account, + gaim_account_get_active_status(status_box->account)); } } @@ -1075,16 +1113,14 @@ } static void account_enabled_cb(GaimAccount *acct, GtkGaimStatusBox *status_box) { - /* Make sure our current status is added to the list of popular statuses */ - gtk_gaim_status_box_regenerate(status_box); + GaimAccount *initial_token_acct = status_box->token_status_account; - if (status_box->account != NULL) - update_to_reflect_account_status(status_box, status_box->account, - gaim_account_get_active_status(status_box->account)); - else - status_menu_refresh_iter(status_box); + status_box->token_status_account = check_active_accounts_for_identical_statuses(); - gtk_gaim_status_box_refresh(status_box); + /* Regenerate the list if it has changed */ + if (initial_token_acct != status_box->token_status_account) { + gtk_gaim_status_box_regenerate(status_box); + } } @@ -1093,14 +1129,6 @@ { /* Make sure our current status is added to the list of popular statuses */ gtk_gaim_status_box_regenerate(status_box); - - if (status_box->account != NULL) - update_to_reflect_account_status(status_box, status_box->account, - gaim_account_get_active_status(status_box->account)); - else - status_menu_refresh_iter(status_box); - - gtk_gaim_status_box_refresh(status_box); } static void @@ -1111,7 +1139,6 @@ cache_pixbufs(status_box); gtk_gaim_status_box_regenerate(status_box); - gtk_gaim_status_box_refresh(status_box); } static void @@ -1315,9 +1342,10 @@ gtk_combo_box_set_row_separator_func(GTK_COMBO_BOX(status_box), dropdown_store_row_separator_func, NULL, NULL); #endif + status_box->token_status_account = check_active_accounts_for_identical_statuses(); + cache_pixbufs(status_box); gtk_gaim_status_box_regenerate(status_box); - gtk_gaim_status_box_refresh(status_box); gaim_signal_connect(gaim_savedstatuses_get_handle(), "savedstatus-changed", status_box, @@ -1658,25 +1686,6 @@ gtk_gaim_status_box_refresh(status_box); } -static GaimStatusType * -find_status_type_by_index(const GaimAccount *account, gint active) -{ - const GList *l = gaim_account_get_status_types(account); - gint i; - - for (i = 0; l; l = l->next) { - GaimStatusType *status_type = l->data; - if (!gaim_status_type_is_user_settable(status_type)) - continue; - - if (active == i) - return status_type; - i++; - } - - return NULL; -} - static gboolean message_changed(const char *one, const char *two) { @@ -1697,7 +1706,7 @@ gchar *title; GtkTreeIter iter; char *message; - GaimSavedStatus *saved_status; + GaimSavedStatus *saved_status = NULL; gboolean changed = TRUE; if (!gtk_combo_box_get_active_iter(GTK_COMBO_BOX(status_box), &iter)) @@ -1735,29 +1744,93 @@ } if (status_box->account == NULL) { + GaimStatusType *acct_status_type = NULL; + GaimStatusPrimitive primitive = GPOINTER_TO_INT(data); /* Global */ /* Save the newly selected status to prefs.xml and status.xml */ /* Has the status really been changed? */ - saved_status = gaim_savedstatus_get_current(); - if (gaim_savedstatus_get_type(saved_status) == GPOINTER_TO_INT(data) && - !gaim_savedstatus_has_substatuses(saved_status)) - { - if (!message_changed(gaim_savedstatus_get_message(saved_status), message)) - changed = FALSE; + if (status_box->token_status_account) { + gint active; + GaimStatus *status; + const char *id = NULL; + + status = gaim_account_get_active_status(status_box->token_status_account); + g_object_get(G_OBJECT(status_box), "active", &active, NULL); + + acct_status_type = find_status_type_by_index(status_box->token_status_account, active); + id = gaim_status_type_get_id(acct_status_type); + + if (strncmp(id, gaim_status_get_id(status), strlen(id)) == 0) + { + /* Selected status and previous status is the same */ + if (!message_changed(message, gaim_status_get_attr_string(status, "message"))) + changed = FALSE; + } + } else { + saved_status = gaim_savedstatus_get_current(); + if (gaim_savedstatus_get_type(saved_status) == primitive && + !gaim_savedstatus_has_substatuses(saved_status)) + { + if (!message_changed(gaim_savedstatus_get_message(saved_status), message)) + changed = FALSE; + } } if (changed) { - /* If we've used this type+message before, lookup the transient status */ - saved_status = gaim_savedstatus_find_transient_by_type_and_message( - GPOINTER_TO_INT(data), message); + /* Manually find the appropriate transient acct */ + if (status_box->token_status_account) { + const GList *iter = gaim_savedstatuses_get_all(); + GList *tmp, *active_accts = gaim_accounts_get_all_active(); + for (; iter != NULL; iter = iter->next) { + GaimSavedStatus *ss= iter->data; + const char *ss_msg = gaim_savedstatus_get_message(ss); + if ((gaim_savedstatus_get_type(ss) == primitive) && gaim_savedstatus_is_transient(ss) && + gaim_savedstatus_has_substatuses(ss) && /* Must have substatuses */ + (((ss_msg == NULL) && (message == NULL)) || + ((ss_msg != NULL) && (message != NULL) && !strcmp(ss_msg, message)))) + { + gboolean found = FALSE; + /* The currently enabled accounts must have substatuses for all the active accts */ + for(tmp = active_accts; tmp != NULL; tmp = tmp->next) { + GaimAccount *acct = tmp->data; + GaimSavedStatusSub *sub = gaim_savedstatus_get_substatus(ss, acct); + if (sub) { + const GaimStatusType *sub_type = gaim_savedstatus_substatus_get_type(sub); + if (!strcmp(gaim_status_type_get_id(sub_type), + gaim_status_type_get_id(acct_status_type))) + found = TRUE; + } + } + if (!found) + continue; + saved_status = ss; + break; + } + } + + g_list_free(active_accts); + + } else { + /* If we've used this type+message before, lookup the transient status */ + saved_status = gaim_savedstatus_find_transient_by_type_and_message(primitive, message); + } + /* If this type+message is unique then create a new transient saved status */ if (saved_status == NULL) { - saved_status = gaim_savedstatus_new(NULL, GPOINTER_TO_INT(data)); + saved_status = gaim_savedstatus_new(NULL, primitive); gaim_savedstatus_set_message(saved_status, message); + if (status_box->token_status_account) { + GList *tmp, *active_accts = gaim_accounts_get_all_active(); + for (tmp = active_accts; tmp != NULL; tmp = tmp->next) { + gaim_savedstatus_set_substatus(saved_status, + (GaimAccount*) tmp->data, acct_status_type, message); + } + g_list_free(active_accts); + } } /* Set the status for each account */ @@ -1939,17 +2012,15 @@ if (status_box->imhtml_visible) { gtk_widget_show_all(status_box->vbox); - if (GTK_WIDGET_IS_SENSITIVE(GTK_WIDGET(status_box))) { - status_box->typing = g_timeout_add(TYPING_TIMEOUT, (GSourceFunc)remove_typing_cb, status_box); - } + status_box->typing = g_timeout_add(TYPING_TIMEOUT, (GSourceFunc)remove_typing_cb, status_box); gtk_widget_grab_focus(status_box->imhtml); gtk_imhtml_clear(GTK_IMHTML(status_box->imhtml)); } else { gtk_widget_hide_all(status_box->vbox); - if (GTK_WIDGET_IS_SENSITIVE(GTK_WIDGET(status_box))) - activate_currently_selected_status(status_box); /* This is where we actually set the status */ + activate_currently_selected_status(status_box); /* This is where we actually set the status */ + return; } } gtk_gaim_status_box_refresh(status_box); Modified: trunk/gtk/gtkstatusbox.h =================================================================== --- trunk/gtk/gtkstatusbox.h 2006-09-30 08:24:17 UTC (rev 17408) +++ trunk/gtk/gtkstatusbox.h 2006-09-30 20:09:28 UTC (rev 17409) @@ -81,6 +81,10 @@ GaimAccount *account; + /* This will be non-NULL and contain a sample account + * when all enabled accounts use the same statuses */ + GaimAccount *token_status_account; + GtkWidget *vbox, *sw; GtkWidget *imhtml; Modified: trunk/libgaim/savedstatuses.c =================================================================== --- trunk/libgaim/savedstatuses.c 2006-09-30 08:24:17 UTC (rev 17408) +++ trunk/libgaim/savedstatuses.c 2006-09-30 20:09:28 UTC (rev 17409) @@ -910,6 +910,7 @@ { status = (GaimSavedStatus *)iter->data; if ((status->type == type) && gaim_savedstatus_is_transient(status) && + !gaim_savedstatus_has_substatuses(status) && (((status->message == NULL) && (message == NULL)) || ((status->message != NULL) && (message != NULL) && !strcmp(status->message, message)))) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sa...@us...> - 2006-10-04 02:52:46
|
Revision: 17407 http://svn.sourceforge.net/gaim/?rev=17407&view=rev Author: sadrul Date: 2006-09-29 20:49:00 -0700 (Fri, 29 Sep 2006) Log Message: ----------- Selecting 'Rename' or 'Alias' in the buddylist should always work now. Also, set the properties depending on GTK+ version. Modified Paths: -------------- trunk/gtk/gtkblist.c Modified: trunk/gtk/gtkblist.c =================================================================== --- trunk/gtk/gtkblist.c 2006-09-30 03:08:47 UTC (rev 17406) +++ trunk/gtk/gtkblist.c 2006-09-30 03:49:00 UTC (rev 17407) @@ -406,7 +406,12 @@ g_object_set(G_OBJECT(gtkblist->text_rend), "editable", TRUE, NULL); gtk_tree_view_set_enable_search (GTK_TREE_VIEW(gtkblist->treeview), FALSE); gtk_widget_grab_focus(gtkblist->treeview); +#if GTK_CHECK_VERSION(2,2,0) + gtk_tree_view_set_cursor_on_cell(GTK_TREE_VIEW(gtkblist->treeview), path, + gtkblist->text_column, gtkblist->text_rend, TRUE); +#else gtk_tree_view_set_cursor(GTK_TREE_VIEW(gtkblist->treeview), path, gtkblist->text_column, TRUE); +#endif gtk_tree_path_free(path); } @@ -3984,17 +3989,21 @@ gtk_tree_view_column_pack_start(column, rend, FALSE); gtk_tree_view_column_set_attributes(column, rend, "expander-visible", GROUP_EXPANDER_COLUMN, +#if GTK_CHECK_VERSION(2,6,0) "sensitive", GROUP_EXPANDER_COLUMN, "cell-background-gdk", BGCOLOR_COLUMN, +#endif NULL); rend = gaim_gtk_cell_renderer_expander_new(); gtk_tree_view_column_pack_start(column, rend, FALSE); gtk_tree_view_column_set_attributes(column, rend, "expander-visible", CONTACT_EXPANDER_COLUMN, +#if GTK_CHECK_VERSION(2,6,0) "sensitive", CONTACT_EXPANDER_COLUMN, + "cell-background-gdk", BGCOLOR_COLUMN, +#endif "visible", CONTACT_EXPANDER_VISIBLE_COLUMN, - "cell-background-gdk", BGCOLOR_COLUMN, NULL); rend = gtk_cell_renderer_pixbuf_new(); @@ -4002,14 +4011,18 @@ gtk_tree_view_column_set_attributes(column, rend, "pixbuf", STATUS_ICON_COLUMN, "visible", STATUS_ICON_VISIBLE_COLUMN, +#if GTK_CHECK_VERSION(2,6,0) "cell-background-gdk", BGCOLOR_COLUMN, +#endif NULL); g_object_set(rend, "xalign", 0.0, "ypad", 0, NULL); gtkblist->text_rend = rend = gtk_cell_renderer_text_new(); gtk_tree_view_column_pack_start (column, rend, TRUE); gtk_tree_view_column_set_attributes(column, rend, +#if GTK_CHECK_VERSION(2,6,0) "cell-background-gdk", BGCOLOR_COLUMN, +#endif "markup", NAME_COLUMN, NULL); g_signal_connect(G_OBJECT(rend), "edited", G_CALLBACK(gtk_blist_renderer_edited_cb), NULL); @@ -4025,14 +4038,18 @@ gtk_tree_view_column_set_attributes(column, rend, "markup", IDLE_COLUMN, "visible", IDLE_VISIBLE_COLUMN, +#if GTK_CHECK_VERSION(2,6,0) "cell-background-gdk", BGCOLOR_COLUMN, +#endif NULL); rend = gtk_cell_renderer_pixbuf_new(); g_object_set(rend, "xalign", 1.0, "ypad", 0, NULL); gtk_tree_view_column_pack_start(column, rend, FALSE); gtk_tree_view_column_set_attributes(column, rend, "pixbuf", BUDDY_ICON_COLUMN, +#if GTK_CHECK_VERSION(2,6,0) "cell-background-gdk", BGCOLOR_COLUMN, +#endif "visible", BUDDY_ICON_VISIBLE_COLUMN, NULL); @@ -4416,7 +4433,7 @@ mark = g_strdup_printf("<span color='#%02x%02x%02x' weight='bold'>%s</span>%s", textcolor.red>>8, textcolor.green>>8, textcolor.blue>>8, esc, group_count); - + g_free(esc); gtk_tree_store_set(gtkblist->treemodel, &iter, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mar...@us...> - 2006-10-04 02:52:45
|
Revision: 17402 http://svn.sourceforge.net/gaim/?rev=17402&view=rev Author: markhuetsch Date: 2006-09-29 17:14:00 -0700 (Fri, 29 Sep 2006) Log Message: ----------- leak-be-gone Modified Paths: -------------- trunk/libgaim/protocols/qq/char_conv.c trunk/libgaim/protocols/qq/file_trans.c trunk/libgaim/protocols/qq/group_im.c trunk/libgaim/protocols/qq/group_network.c trunk/libgaim/protocols/qq/im.c trunk/libgaim/protocols/qq/login_logout.c trunk/libgaim/protocols/qq/recv_core.c Modified: trunk/libgaim/protocols/qq/char_conv.c =================================================================== --- trunk/libgaim/protocols/qq/char_conv.c 2006-09-29 20:49:33 UTC (rev 17401) +++ trunk/libgaim/protocols/qq/char_conv.c 2006-09-30 00:14:00 UTC (rev 17402) @@ -112,10 +112,10 @@ if (error == NULL) return ret; /* conversion is OK */ else { /* conversion error */ + gchar *failed = hex_dump_to_str((guint8 *) str, (len == -1) ? strlen(str) : len); gaim_debug(GAIM_DEBUG_ERROR, "QQ", "%s\n", error->message); - gaim_debug(GAIM_DEBUG_WARNING, "QQ", - "Dump failed text\n%s", - hex_dump_to_str((guint8 *) str, (len == -1) ? strlen(str) : len)); + gaim_debug(GAIM_DEBUG_WARNING, "QQ", "Dump failed text\n%s", failed); + g_free(failed); g_error_free(error); return g_strdup(QQ_NULL_MSG); } Modified: trunk/libgaim/protocols/qq/file_trans.c =================================================================== --- trunk/libgaim/protocols/qq/file_trans.c 2006-09-29 20:49:33 UTC (rev 17401) +++ trunk/libgaim/protocols/qq/file_trans.c 2006-09-30 00:14:00 UTC (rev 17402) @@ -344,26 +344,29 @@ } if (bytes == bytes_expected) { - gaim_debug(GAIM_DEBUG_INFO, "QQ", "sending packet[%s]: \n%s", qq_get_file_cmd_desc(packet_type), - hex_dump_to_str(raw_data, bytes)); + gchar *hex_dump = hex_dump_to_str(raw_data, bytes); + gaim_debug(GAIM_DEBUG_INFO, "QQ", "sending packet[%s]: \n%s", qq_get_file_cmd_desc(packet_type), hex_dump); + g_free(hex_dump); encrypted_len = bytes + 16; encrypted_data = g_newa(guint8, encrypted_len); qq_crypt(ENCRYPT, raw_data, bytes, info->file_session_key, encrypted_data, &encrypted_len); /*debug: try to decrypt it */ /* if (QQ_DEBUG) { - gaim_debug(GAIM_DEBUG_INFO, "QQ", "encrypted packet: \n%s", - hex_dump_to_str(encrypted_data, encrypted_len)); guint8 *buf; int buflen; + hex_dump = hex_dump_to_str(encrypted_data, encrypted_len); + gaim_debug(GAIM_DEBUG_INFO, "QQ", "encrypted packet: \n%s", hex_dump); + g_free(hex_dump); buf = g_newa(guint8, MAX_PACKET_SIZE); buflen = encrypted_len; if (qq_crypt(DECRYPT, encrypted_data, encrypted_len, info->file_session_key, buf, &buflen)) { gaim_debug(GAIM_DEBUG_INFO, "QQ", "decrypt success\n"); if (buflen == bytes && memcmp(raw_data, buf, buflen) == 0) gaim_debug(GAIM_DEBUG_INFO, "QQ", "checksum ok\n"); - gaim_debug(GAIM_DEBUG_INFO, "QQ", "decrypted packet: \n%s", - hex_dump_to_str(buf, buflen)); + hex_dump = hex_dump_to_str(buf, buflen); + gaim_debug(GAIM_DEBUG_INFO, "QQ", "decrypted packet: \n%s", hex_dump); + g_free(hex_dump); } else { gaim_debug(GAIM_DEBUG_INFO, "QQ", "decrypt fail\n"); } @@ -524,13 +527,15 @@ decrypted_len = len; if (qq_crypt(DECRYPT, cursor, len - (cursor - data), qd->session_md5, decrypted_data, &decrypted_len)) { + gchar *hex_dump; cursor = decrypted_data + 16; /* skip md5 section */ read_packet_w(decrypted_data, &cursor, decrypted_len, &packet_type); read_packet_w(decrypted_data, &cursor, decrypted_len, &seq); cursor += 4+1+1+19+1; gaim_debug(GAIM_DEBUG_INFO, "QQ", "==> [%d] receive %s packet\n", seq, qq_get_file_cmd_desc(packet_type)); - gaim_debug(GAIM_DEBUG_INFO, "QQ", "decrypted control packet received: \n%s", - hex_dump_to_str(decrypted_data, decrypted_len)); + hex_dump = hex_dump_to_str(decrypted_data, decrypted_len); + gaim_debug(GAIM_DEBUG_INFO, "QQ", "decrypted control packet received: \n%s", hex_dump); + g_free(hex_dump); switch (packet_type) { case QQ_FILE_CMD_NOTIFY_IP_ACK: cursor = decrypted_data; Modified: trunk/libgaim/protocols/qq/group_im.c =================================================================== --- trunk/libgaim/protocols/qq/group_im.c 2006-09-29 20:49:33 UTC (rev 17401) +++ trunk/libgaim/protocols/qq/group_im.c 2006-09-30 00:14:00 UTC (rev 17402) @@ -299,7 +299,7 @@ void qq_process_recv_group_im(guint8 *data, guint8 **cursor, gint data_len, guint32 internal_group_id, GaimConnection *gc, guint16 im_type) { - gchar *msg_with_gaim_smiley, *msg_utf8_encoded, *im_src_name; + gchar *msg_with_gaim_smiley, *msg_utf8_encoded, *im_src_name, *hex_dump; guint16 unknown; guint32 unknown4; GaimConversation *conv; @@ -312,8 +312,8 @@ g_return_if_fail(data != NULL && data_len > 0); qd = (qq_data *) gc->proto_data; - gaim_debug(GAIM_DEBUG_INFO, "QQ", - "group im hex dump\n%s\n", hex_dump_to_str(*cursor, data_len - (*cursor - data))); + hex_dump = hex_dump_to_str(*cursor, data_len - (*cursor - data)); + gaim_debug(GAIM_DEBUG_INFO, "QQ", "group im hex dump\n%s\n", hex_dump); if (*cursor >= (data + data_len - 1)) { gaim_debug(GAIM_DEBUG_WARNING, "QQ", "Received group im_group is empty\n"); @@ -399,6 +399,7 @@ (conv)), im_src_name, 0, msg_utf8_encoded, im_group->send_time); g_free(im_src_name); } + g_free(hex_dump); g_free(msg_with_gaim_smiley); g_free(msg_utf8_encoded); g_free(im_group->msg); Modified: trunk/libgaim/protocols/qq/group_network.c =================================================================== --- trunk/libgaim/protocols/qq/group_network.c 2006-09-29 20:49:33 UTC (rev 17401) +++ trunk/libgaim/protocols/qq/group_network.c 2006-09-30 00:14:00 UTC (rev 17402) @@ -94,8 +94,12 @@ /* default process, dump only */ static void _qq_process_group_cmd_reply_default(guint8 *data, guint8 **cursor, gint len, GaimConnection *gc) { + gchar *hex_dump; g_return_if_fail(data != NULL && len > 0); - gaim_debug(GAIM_DEBUG_INFO, "QQ", "Dump unprocessed group cmd reply:\n%s", hex_dump_to_str(data, len)); + + hex_dump = hex_dump_to_str(data, len); + gaim_debug(GAIM_DEBUG_INFO, "QQ", "Dump unprocessed group cmd reply:\n%s", hex_dump); + g_free(hex_dump); } /* The lower layer command of send group cmd */ Modified: trunk/libgaim/protocols/qq/im.c =================================================================== --- trunk/libgaim/protocols/qq/im.c 2006-09-29 20:49:33 UTC (rev 17401) +++ trunk/libgaim/protocols/qq/im.c 2006-09-30 00:14:00 UTC (rev 17402) @@ -327,6 +327,7 @@ gint bytes; qq_recv_normal_im_common *common; qq_recv_normal_im_unprocessed *im_unprocessed; + gchar *hex_dump; g_return_if_fail (data != NULL && len != 0); @@ -384,10 +385,9 @@ gaim_debug (GAIM_DEBUG_WARNING, "QQ", "Normal IM, unprocessed type [0x%04x]\n", common->normal_im_type); - gaim_debug (GAIM_DEBUG_WARNING, "QQ", - "Dump unknown part.\n%s", - hex_dump_to_str (im_unprocessed->unknown, - im_unprocessed->length)); + hex_dump = hex_dump_to_str(im_unprocessed->unknown, im_unprocessed->length); + gaim_debug (GAIM_DEBUG_WARNING, "QQ", "Dump unknown part.\n%s", hex_dump); + g_free(hex_dump); g_free (common->session_md5); return; } Modified: trunk/libgaim/protocols/qq/login_logout.c =================================================================== --- trunk/libgaim/protocols/qq/login_logout.c 2006-09-29 20:49:33 UTC (rev 17401) +++ trunk/libgaim/protocols/qq/login_logout.c 2006-09-30 00:14:00 UTC (rev 17402) @@ -377,6 +377,7 @@ void qq_process_request_login_token_reply(guint8 *buf, gint buf_len, GaimConnection *gc) { qq_data *qd; + gchar *hex_dump; g_return_if_fail(buf != NULL && buf_len != 0); @@ -389,17 +390,20 @@ gaim_debug(GAIM_DEBUG_INFO, "QQ", "Attempting to proceed with the actual packet length.\n"); } + hex_dump = hex_dump_to_str(buf+2, buf_len-2); gaim_debug(GAIM_DEBUG_INFO, "QQ", - "<<< got a token with %d bytes -> [default] decrypt and dump\n%s",buf_len-2, hex_dump_to_str(buf+2, buf_len-2)); + "<<< got a token with %d bytes -> [default] decrypt and dump\n%s", buf_len-2, hex_dump); qq_send_packet_login(gc, buf_len-2, buf+2); } else { gaim_debug(GAIM_DEBUG_ERROR, "QQ", "Unknown request login token reply code : %d\n", buf[0]); + hex_dump = hex_dump_to_str(buf, buf_len); gaim_debug(GAIM_DEBUG_WARNING, "QQ", ">>> %d bytes -> [default] decrypt and dump\n%s", - buf_len, hex_dump_to_str(buf, buf_len)); + buf_len, hex_dump); try_dump_as_gbk(buf, buf_len); gaim_connection_error(gc, _("Request login token error!")); } + g_free(hex_dump); } /* send logout packets to QQ server */ @@ -421,6 +425,7 @@ gint len, ret, bytes; guint8 *data; qq_data *qd; + gchar *hex_dump; g_return_if_fail(buf != NULL && buf_len != 0); @@ -453,9 +458,11 @@ break; default: gaim_debug(GAIM_DEBUG_ERROR, "QQ", "Unknown reply code: %d\n", data[0]); + hex_dump = hex_dump_to_str(data, len); gaim_debug(GAIM_DEBUG_WARNING, "QQ", ">>> %d bytes -> [default] decrypt and dump\n%s", - buf_len, hex_dump_to_str(data, len)); + buf_len, hex_dump); + g_free(hex_dump); try_dump_as_gbk(data, len); ret = QQ_LOGIN_REPLY_MISC_ERROR; Modified: trunk/libgaim/protocols/qq/recv_core.c =================================================================== --- trunk/libgaim/protocols/qq/recv_core.c 2006-09-29 20:49:33 UTC (rev 17401) +++ trunk/libgaim/protocols/qq/recv_core.c 2006-09-30 00:14:00 UTC (rev 17402) @@ -90,9 +90,11 @@ _qq_show_packet("Processing unknown packet", buf, len); if (qq_crypt(DECRYPT, buf, buf_len, qd->session_key, data, &len)) { + gchar *hex_dump = hex_dump_to_str(data, len); gaim_debug(GAIM_DEBUG_WARNING, "QQ", ">>> [%d] %s, %d bytes -> [default] decrypt and dump\n%s", - seq, qq_get_cmd_desc(cmd), buf_len, hex_dump_to_str(data, len)); + seq, qq_get_cmd_desc(cmd), buf_len, hex_dump); + g_free(hex_dump); try_dump_as_gbk(data, len); } else { gaim_debug(GAIM_DEBUG_ERROR, "QQ", "Fail decrypt packet with default process\n"); @@ -115,8 +117,10 @@ bytes_expected = qd->use_tcp ? QQ_TCP_HEADER_LENGTH : QQ_UDP_HEADER_LENGTH; if (buf_len < bytes_expected) { + gchar *hex_dump = hex_dump_to_str(buf, buf_len); gaim_debug(GAIM_DEBUG_ERROR, - "QQ", "Received packet is too short, dump and drop\n%s", hex_dump_to_str(buf, buf_len)); + "QQ", "Received packet is too short, dump and drop\n%s", hex_dump); + g_free(hex_dump); return; } /* initialize */ @@ -149,8 +153,10 @@ } if ((buf[buf_len - 1] != QQ_PACKET_TAIL) || (header.header_tag != QQ_PACKET_TAG)) { + gchar *hex_dump = hex_dump_to_str(buf, buf_len); gaim_debug(GAIM_DEBUG_ERROR, - "QQ", "Unknown QQ proctocol, dump and drop\n%s", hex_dump_to_str(buf, buf_len)); + "QQ", "Unknown QQ proctocol, dump and drop\n%s", hex_dump); + g_free(hex_dump); return; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sa...@us...> - 2006-10-04 02:49:29
|
Revision: 17424 http://svn.sourceforge.net/gaim/?rev=17424&view=rev Author: sadrul Date: 2006-10-02 18:59:32 -0700 (Mon, 02 Oct 2006) Log Message: ----------- libgnt needs to build before the wms. This should fix the compile problem for fresh checkouts. Modified Paths: -------------- trunk/console/libgnt/Makefile.am Modified: trunk/console/libgnt/Makefile.am =================================================================== --- trunk/console/libgnt/Makefile.am 2006-10-02 22:50:27 UTC (rev 17423) +++ trunk/console/libgnt/Makefile.am 2006-10-03 01:59:32 UTC (rev 17424) @@ -1,4 +1,4 @@ -SUBDIRS = wms +SUBDIRS = . wms pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = gnt.pc This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sea...@us...> - 2006-10-04 02:49:22
|
Revision: 17421 http://svn.sourceforge.net/gaim/?rev=17421&view=rev Author: seanegan Date: 2006-10-02 15:16:13 -0700 (Mon, 02 Oct 2006) Log Message: ----------- gaim-text post from sadrul Added Paths: ----------- web/htdocs/sean/posts/gaim-text.txt Added: web/htdocs/sean/posts/gaim-text.txt =================================================================== --- web/htdocs/sean/posts/gaim-text.txt (rev 0) +++ web/htdocs/sean/posts/gaim-text.txt 2006-10-02 22:16:13 UTC (rev 17421) @@ -0,0 +1,252 @@ +gaim-text + +<p>Following up on my last e-mail, Sadrul wrote me with a more thorough description of gaim-text +and the UI library it uses. I'll be posting follow-ups for other Summer of Code projects soon! +</p> + +<p> +Hi! I am Sadrul, and I am going to talk about gaim-text. gaim-text is a text-frontend for Gaim. It +uses libgaim for the IM-services, and libgnt for the UI widgets. gaim-text was developed for +Google's Summer of Code 2006 program. +</p> + +<h3>Overview</h3> + +<p> +I tried to make sure gaim-text looks pretty close to Gaim to make sure a Gaim user can easily use +gaim-text without having to go through a steep learning curve. There are buttons, textboxes, windows +etc. which closely resemble the same widgets in GTK+ (the toolkit used by Gaim). So a user should +feel at home with the environment (more on this later). +</p> + +<h4>Buddy List</h4> +<p> +When you start gaim-text, it starts with the buddy-list window. +You can expand/collapse the selected group or contact by pressing the space-bar. If you want to +start a conversation with a buddy, then simply select the buddy and press Return. You can use the +menu-key (right-click key) to show a context menu for the selected buddy/contact/chat/group. This +context menu allows you to start chat with a buddy, get information about the buddy, add a new +buddy/chat in the group etc. +</p> + +<center> +<pre><span style="background:#efefef;color:#000000">- GaimDudes </span><span style="background:#000000;color:#00adad">^</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#efefef">(<a href="mailto:sa...@ir..." target="_blank">sa...@ir...</a> -- IRC)</span><span style="background:#efefef;color:#000000">|--------[X] </span> +<span style="background:#efefef;color:#adad00"> <b><u><b></b></u></b></span><span style="background:#adad00;color:#efefef"> </span><span style="background:#efefef;color:#adad00"> Bleeter Yaluser </span><span style="background:#efefef;color:#000000"> | </span><span style="background:#000000;color:#00adad"> </span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> + +<span style="background:#efefef;color:#000000"> <b><u><b></b></u></b></span><span style="background:#000000;color:#efefef"> </span><span style="background:#efefef;color:#000000"> deryni9 </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">| </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> +<span style="background:#efefef;color:#adad00"> <b><u><b></b></u></b></span><span style="background:#adad00;color:#efefef"> </span><span style="background:#efefef;color:#adad00"> ecoffey </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">| </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> + +<span style="background:#efefef;color:#000000"> <b><u><b></b></u></b></span><span style="background:#000000;color:#efefef"> </span><span style="background:#efefef;color:#000000"> grim elite </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">| </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> +<span style="background:#efefef;color:#000000"> <b><u><b></b></u></b></span><span style="background:#000000;color:#efefef"> </span><span style="background:#efefef;color:#000000"> MarkDoliner </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">| </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> + +<span style="background:#efefef;color:#adad00"> <b><u><b></b></u></b></span><span style="background:#adad00;color:#efefef"> </span><span style="background:#efefef;color:#adad00"> nathan walp </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">| </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> +<span style="background:#efefef;color:#000000"> <b><u><b></b></u></b></span><span style="background:#000000;color:#efefef"> </span><span style="background:#efefef;color:#000000"> PacoPaco31 </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">| </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> + +<span style="background:#efefef;color:#000000"> <b><u><b></b></u></b></span><span style="background:#000000;color:#efefef"> </span><span style="background:#efefef;color:#000000"> r0bby </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">| </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> +<span style="background:#efefef;color:#000000"> <b><u><b></b></u></b></span><span style="background:#000000;color:#efefef"> </span><span style="background:#efefef;color:#000000"> SeanEgn </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">| </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> + +<span style="background:#0000ad;color:#efefef">- Meself </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">+----|</span><span style="background:#000000;color:#efefef">Meself</span><span style="background:#efefef;color:#000000">|----+ </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> +<span style="background:#efefef;color:#000000"> <b><u><b></b></u></b></span><span style="background:#000000;color:#efefef"> </span><span style="background:#efefef;color:#000000"> Adil SHC |</span><span style="background:#000000;color:#00adad">Add Buddy </span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> + +<span style="background:#efefef;color:#000000"> <b><u><b></b></u></b></span><span style="background:#000000;color:#efefef"> </span><span style="background:#efefef;color:#000000"> asd |Add Chat </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> +<span style="background:#efefef;color:#000000"> <b><u><b></b></u></b></span><span style="background:#000000;color:#efefef"> </span><span style="background:#efefef;color:#000000"> Booya |Add Group </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> + +<span style="background:#efefef;color:#000000"> <b><u><b></b></u></b></span><span style="background:#000000;color:#efefef"> </span><span style="background:#efefef;color:#000000"> Krusty </span><span style="background:#000000;color:#00adad">v</span><span style="background:#efefef;color:#000000">|Rename </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> +<span style="background:#efefef;color:#000000">+--------------------+|Remove </span><span style="background:#000000;color:#00adad"> </span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#00adad"> </span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> + +<span style="background:#efefef;color:#000000">|Away |v|+----------------+</span><span style="background:#000000;color:#000000"> </span><span style="background:#000000;color:#00adad">_________________________</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> +<span style="background:#efefef;color:#000000">+--------------------+ </span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000">-------------------------+</span><span style="background:#000000;color:#000000"> </span> +<span style="background:#000000;color:#00adad">"For me to poop on"___</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> +<span style="background:#0000ad;color:#efefef">Buddy List</span><span style="background:#efefef;color:#000000">|#gaim (sad|#guificati|#ion (sadr|#gaim-comm|#gaim-test (s</span> + +</pre> +<i>Context menu for a group</i> +</center> + +<h4>Status Selector</h4> +<p> +There is a status-selector at the bottom of the buddy-list window which you can use to set your +status. Selecting 'New...' will bring up a dialog to set a new custom status. Selecting 'Saved...' +will bring up a dialog with all the previously-saved statuses which you can use to change your +status. +</p> + +<h4>Conversation Windows</h4> +<p> +Each conversation has its own window in gaim-text, unlike Gaim where you can group conversations in +tabbed windows. However, in gaim-text, it is possible to write plugins which will manage the conversation +windows to closely resemble the same functionality (more on this later). +</p> +<p> + +The textbox in which you type your messages is single-line. Right now, there is no support for +entering multi-line messages. However, the text-boxes do have other useful features, like +tab-completion, and history (ctrl+up/down to use previous messages). +</p> + +<center> +<pre><span style="background:#efefef;color:#000000">+------------|</span><span style="background:#0000ad;color:#efefef">#gaim (<a href="mailto:sa...@ir..." target="_blank">sa...@ir...</a> -- IRC)</span><span style="background:#efefef;color:#000000">|-----------[X] </span> +<span style="background:#efefef;color:#000000">|</span><span style="background:#efefef;color:#adad00">on). </span><span style="background:#000000;color:#00adad">^</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> + +<span style="background:#efefef;color:#000000">|</span><span style="background:#efefef;color:#adad00">(20:36:50) <b></b></span><span style="background:#efefef;color:#000000">ForlornPenguin: I recind my question about raping the |</span><span style="background:#000000;color:#000000"> </span> +<span style="background:#efefef;color:#000000">| GPL, and replace it with the statement that I believe that the |</span><span style="background:#000000;color:#000000"> </span> +<span style="background:#efefef;color:#000000">|shareware version of x-chat is an illegal violation of the GPL. |</span><span style="background:#000000;color:#000000"> </span> +<span style="background:#efefef;color:#000000">|</span><span style="background:#efefef;color:#adad00">(20:37:47) <b></b></span><span style="background:#efefef;color:#000000">kyevan: Gaim's bonjour doesn't work very well. Or is |</span><span style="background:#000000;color:#000000"> </span> +<span style="background:#efefef;color:#000000">|+--------------+ bonjour chat system sucks? |</span><span style="background:#000000;color:#000000"> </span> + +<span style="background:#efefef;color:#000000">||</span><span style="background:#000000;color:#00adad">sadrul </span><span style="background:#efefef;color:#000000">|<b>ere: </b>ours needs work. patches welcome |</span><span style="background:#000000;color:#000000"> </span> +<span style="background:#efefef;color:#000000">||seanegan </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|<b>n: </b>Or does the implimentation used by iChat and |</span><span style="background:#000000;color:#000000"> </span> +<span style="background:#efefef;color:#000000">||seph </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|.3 not work very well? |</span><span style="background:#000000;color:#000000"> </span> + +<span style="background:#efefef;color:#000000">||Sgeo </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|<b>n: </b>LSchiere: well, I don't really have the skill |</span><span style="background:#000000;color:#000000"> </span> +<span style="background:#efefef;color:#000000">||siege </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|on it :( |</span><span style="background:#000000;color:#000000"> </span> +<span style="background:#efefef;color:#000000">||SimGuy |</span><span style="background:#efefef;color:#adad00"> [n=<a href="mailto:ge...@ba..." target="_blank">geoff@bas2-ottawa23-1177884781<WBR>.dsl.bell.ca</a>] </span><span style="background:#efefef;color:#000000"> |</span><span style="background:#000000;color:#000000"> </span> + +<span style="background:#efefef;color:#000000">||Singularity |</span><span style="background:#efefef;color:#adad00">. </span><span style="background:#efefef;color:#000000"> |</span><span style="background:#000000;color:#000000"> </span> +<span style="background:#efefef;color:#000000">||slaytanic </span><span style="background:#000000;color:#00adad">v</span><span style="background:#efefef;color:#000000">|</span><span style="background:#efefef;color:#adad00">ar left the room (quit: Remote closed the connec</span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> +<span style="background:#efefef;color:#000000">|+--------------+</span><span style="background:#efefef;color:#adad00"> </span><span style="background:#000000;color:#00adad"> </span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> + +<span style="background:#efefef;color:#000000">|</span><span style="background:#0000ad;color:#efefef">s</span><span style="background:#efefef;color:#0000ad">_</span><span style="background:#0000ad;color:#efefef">______________________________<WBR>______________________________<WBR>___</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> +<span style="background:#efefef;color:#000000">+-----------------------------<WBR>------------------------------<WBR>------+</span><span style="background:#000000;color:#000000"> </span> +<span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#000000"> </span> + +<span style="background:#0000ad;color:#efefef">#gaim (sadrul@ir</span><span style="background:#efefef;color:#000000">|#guifications (s|#ion (sadrul@irc|#gaim-commits (sa</span> +</pre> +<i>Tab-completion in entry boxes</i> +</center> +<h4>Accounts Window</h4> +<p> +You can add, delete or modify accounts from the accounts window, just like Gaim. Take a look at the +screenshot: +</p> +<center> +<pre><span style="background:#efefef;color:#000000">+----------|</span><span style="background:#000000;color:#efefef">#gaim-test (<a href="mailto:sa...@ir..." target="_blank">sa...@ir...</a> -- IRC)</span><span style="background:#efefef;color:#000000">|--------[X] </span> + +<span style="background:#efefef;color:#000000">| </span><span style="background:#000000;color:#00adad"> </span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> +<span style="background:#efefef;color:#000000">| +-----------------------|</span><span style="background:#0000ad;color:#efefef">Accounts</span><span style="background:#efefef;color:#000000">|---------------------[X] </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> +<span style="background:#efefef;color:#000000">| |You can enable/disable accounts from the following list.|</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> + +<span style="background:#efefef;color:#000000">| | ------------------------------<WBR>------------------------ |</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> +<span style="background:#efefef;color:#000000">| |[ ] adil040 |Yahoo </span><span style="background:#000000;color:#00adad"> </span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> + +<span style="background:#efefef;color:#000000">| |[ ] <a href="mailto:adi...@ho..." target="_blank">adi...@ho...</a> |MSN </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> +<span style="background:#efefef;color:#000000">| |</span><span style="background:#0000ad;color:#efefef">[X] <a href="http://im...@gm.../Gaim" target="_blank">im...@gm.../Gaim</a> |Jabber </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> + +<span style="background:#efefef;color:#000000">| |[X] <a href="mailto:sa...@ir..." target="_blank">sa...@ir...</a> |IRC |</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> +<span style="background:#efefef;color:#000000">| |[X] gaim_adil |Yahoo |</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> + +<span style="background:#efefef;color:#000000">| |[ ] <a href="http://sa...@ja.../Gaim" target="_blank">sa...@ja.../Gaim</a> |Jabber </span><span style="background:#000000;color:#00adad">v</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> +<span style="background:#efefef;color:#000000">| | ------------------------------<WBR>------------------------ |</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> + +<span style="background:#efefef;color:#000000">| | +-----+ +--------+ +--------+ |</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> +<span style="background:#efefef;color:#000000">|</span><span style="background:#efefef;color:#adad00">(20</span><span style="background:#efefef;color:#000000">| | Add |</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> | Modify |</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> | Delete |</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> |</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#adad00"> </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> + +<span style="background:#efefef;color:#000000">|</span><span style="background:#efefef;color:#adad00">[ B</span><span style="background:#efefef;color:#000000">| +-----+</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> +--------+</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> +--------+</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> |</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#adad00"> </span><span style="background:#000000;color:#00adad"> </span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> + +<span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#00adad">___</span><span style="background:#efefef;color:#000000">| </span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> |</span><span style="background:#000000;color:#000000"> </span><span style="background:#000000;color:#00adad">___</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> +<span style="background:#efefef;color:#000000">+---+-------------------------<WBR>------------------------------<WBR>-+</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000">---+</span><span style="background:#000000;color:#000000"> </span> + +<span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#000000"> </span> +<span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#000000"> </span> +<span style="background:#efefef;color:#000000">#gaim (sad|#guificati|#ion (sadr|#gaim-comm|</span><span style="background:#0000ad;color:#efefef">Accounts </span><span style="background:#efefef;color:#000000">|#gaim-test (s</span> +</pre> +<i>Accounts window</i> +</center> + +<h4>Plugins</h4> +<p> +gaim-text also has a plugin-window where you can enable/disable plugins. Note that there many +UI-specific plugins for gaim, which, obviously, will not work in gaim-text. However, there are a lot of +UI-independent plugins, which can be used with gaim-text. +</p> +<p> +There are also a few gnt-plugins which can be use by gaim-text. The gnt-plugins use libgnt for its +ui. If you are an interested developer, you should be able to convert many GTK-plugins into +gnt-plugins without too much trouble. +</p> + + +<h3>Gaim Ncurses Toolkit (GNT) Environment</h3> +<p> +Now let's talk about the toolkit used by gaim-text. The toolkit is called 'Gaim Ncurses Toolkit', or +'GLib Ncurses Toolkit'. It was developed as part of the Google Summer of Code project along with gaim-text. This +toolkit provides a set of UI elements, which you can use with event callbacks, much like how GTK+ +widgets are used. +</p> + +<h4>Keyboard Shortcuts</h4> + +<p> +Here's a list of shortcuts that you will find useful while using gaim-text: +<ul> + <li>Alt + a: Brings up a list of available actions. You can use this to open the accounts window, + plugins window, preferences window etc.</li> + <li>Alt + w: Brings up a list of open windows to quickly switch between windows.</li> + <li>Alt + d: Dump the contents of the screen into "dump.html" (that's how the screenshots in + this page were created.)</li> + <li>Alt + m: This allows you to move a window.</li> + + <li>Alt + r: This allows you to resize a window.</li> + <li>Alt + n: Switch to the next window.</li> + <li>Alt + p: Switch to the previous window.</li> + <li>Alt + c: Close the current window.</li> + <li>Alt + q: Quit.</li> + <li>Alt + ,: Move the position of the window one place to the left.</li> + + <li>Alt + .: Move the position of the window one place to the right.</li> + <li>Alt + 1 2 ...0: Jump to the 1st, 2nd ... 10th window.</li> + <li>Ctrl + o: Bring up the menu for a window if it has one. (Note: currently only the buddylist + has a menu). +</li></ul> +</p> + +<h4>Configuration Script</h4> +<p> +You can configure some settings in the environment by setting the appropriate options in ~/.gntrc. +For example, you can enable shadows in the windows, enable mouse support, use a window manager etc. +using the file. +</p> + +<h4>Window Manager</h4> +<p> +To manage all the windows, libgnt uses a window manager. The default window manager is <i>very</i> +naive. However, gaim-text comes with a simple custom window manager as a sample. A custom window +manager is able to control the size, position, appearance of the windows. It can also change the +default behaviour of the keystrokes, mouse-events etc. +</p> +<p> +To use a custom window-manager, set the following option in ~/.gntrc: +<pre> +[general] +wm = /path/to/custom/wm.so +</pre> +</p> + +<h4>Mouse Support</h4> + +<p> +You can enable mouse support by setting +<pre> +[general] +mouse = 1 +</pre> +in ~/.gntrc. The mouse support will work if your version of ncurses/ncursesw is not too old. The mouse +support includes clicking on a window to gain focus, click on buttons to activate, drag-n-drop to +move a window etc. Note that although quite useful, the mouse support is still experimental, and +patches to improve the functionalities are always welcome. +</p> + +<h4>Others</h4> +<p> +Do a `man gaim-text` to see how you can add more options in ~/.gntrc. +</p> + +<h3>Contributing</h3> + +<p> +There are quite a few places in both gaim-text and libgnt that can use improvements. For example, a +multi-line input-box can be useful. The mouse support can also be extended. A more robust +window-manager would be cool. If you are interested, feel most welcome to jump in and start +hacking! There are a few small test applications included that you can take a look at to get started. I +will also be happy to reply to any questions you may have about gaim-text or/and libgnt. +</p> Property changes on: web/htdocs/sean/posts/gaim-text.txt ___________________________________________________________________ Name: svn:mime-type + text/html Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dat...@us...> - 2006-10-04 02:48:58
|
Revision: 17410 http://svn.sourceforge.net/gaim/?rev=17410&view=rev Author: datallah Date: 2006-09-30 13:28:22 -0700 (Sat, 30 Sep 2006) Log Message: ----------- Make sure that the ft window appears on-screen (on win32). Modified Paths: -------------- trunk/gtk/gtkft.c Modified: trunk/gtk/gtkft.c =================================================================== --- trunk/gtk/gtkft.c 2006-09-30 20:09:28 UTC (rev 17409) +++ trunk/gtk/gtkft.c 2006-09-30 20:28:22 UTC (rev 17410) @@ -879,6 +879,11 @@ g_signal_connect(G_OBJECT(button), "clicked", G_CALLBACK(close_button_cb), dialog); +#ifdef _WIN32 + g_signal_connect(G_OBJECT(dialog->window), "show", + G_CALLBACK(gtkwgaim_ensure_onscreen), dialog->window); +#endif + return dialog; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sea...@us...> - 2006-10-04 02:47:42
|
Revision: 17422 http://svn.sourceforge.net/gaim/?rev=17422&view=rev Author: seanegan Date: 2006-10-02 15:45:23 -0700 (Mon, 02 Oct 2006) Log Message: ----------- Use actual images for screenshots. The HTML isn't rendering right (for me at least) Modified Paths: -------------- web/htdocs/sean/posts/gaim-text.txt Added Paths: ----------- web/htdocs/sean/images/gntaccounts.png web/htdocs/sean/images/gntblist.png web/htdocs/sean/images/gntchat.png Added: web/htdocs/sean/images/gntaccounts.png =================================================================== (Binary files differ) Property changes on: web/htdocs/sean/images/gntaccounts.png ___________________________________________________________________ Name: svn:mime-type + image/png Added: web/htdocs/sean/images/gntblist.png =================================================================== (Binary files differ) Property changes on: web/htdocs/sean/images/gntblist.png ___________________________________________________________________ Name: svn:mime-type + image/png Added: web/htdocs/sean/images/gntchat.png =================================================================== (Binary files differ) Property changes on: web/htdocs/sean/images/gntchat.png ___________________________________________________________________ Name: svn:mime-type + image/png Modified: web/htdocs/sean/posts/gaim-text.txt =================================================================== --- web/htdocs/sean/posts/gaim-text.txt 2006-10-02 22:16:13 UTC (rev 17421) +++ web/htdocs/sean/posts/gaim-text.txt 2006-10-02 22:45:23 UTC (rev 17422) @@ -29,38 +29,10 @@ buddy/chat in the group etc. </p> -<center> -<pre><span style="background:#efefef;color:#000000">- GaimDudes </span><span style="background:#000000;color:#00adad">^</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#efefef">(<a href="mailto:sa...@ir..." target="_blank">sa...@ir...</a> -- IRC)</span><span style="background:#efefef;color:#000000">|--------[X] </span> -<span style="background:#efefef;color:#adad00"> <b><u><b></b></u></b></span><span style="background:#adad00;color:#efefef"> </span><span style="background:#efefef;color:#adad00"> Bleeter Yaluser </span><span style="background:#efefef;color:#000000"> | </span><span style="background:#000000;color:#00adad"> </span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> +<img src="http://gaim.sf.net/sean/images/gntblist.png" /> -<span style="background:#efefef;color:#000000"> <b><u><b></b></u></b></span><span style="background:#000000;color:#efefef"> </span><span style="background:#efefef;color:#000000"> deryni9 </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">| </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> -<span style="background:#efefef;color:#adad00"> <b><u><b></b></u></b></span><span style="background:#adad00;color:#efefef"> </span><span style="background:#efefef;color:#adad00"> ecoffey </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">| </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> - -<span style="background:#efefef;color:#000000"> <b><u><b></b></u></b></span><span style="background:#000000;color:#efefef"> </span><span style="background:#efefef;color:#000000"> grim elite </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">| </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> -<span style="background:#efefef;color:#000000"> <b><u><b></b></u></b></span><span style="background:#000000;color:#efefef"> </span><span style="background:#efefef;color:#000000"> MarkDoliner </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">| </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> - -<span style="background:#efefef;color:#adad00"> <b><u><b></b></u></b></span><span style="background:#adad00;color:#efefef"> </span><span style="background:#efefef;color:#adad00"> nathan walp </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">| </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> -<span style="background:#efefef;color:#000000"> <b><u><b></b></u></b></span><span style="background:#000000;color:#efefef"> </span><span style="background:#efefef;color:#000000"> PacoPaco31 </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">| </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> - -<span style="background:#efefef;color:#000000"> <b><u><b></b></u></b></span><span style="background:#000000;color:#efefef"> </span><span style="background:#efefef;color:#000000"> r0bby </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">| </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> -<span style="background:#efefef;color:#000000"> <b><u><b></b></u></b></span><span style="background:#000000;color:#efefef"> </span><span style="background:#efefef;color:#000000"> SeanEgn </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">| </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> - -<span style="background:#0000ad;color:#efefef">- Meself </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">+----|</span><span style="background:#000000;color:#efefef">Meself</span><span style="background:#efefef;color:#000000">|----+ </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> -<span style="background:#efefef;color:#000000"> <b><u><b></b></u></b></span><span style="background:#000000;color:#efefef"> </span><span style="background:#efefef;color:#000000"> Adil SHC |</span><span style="background:#000000;color:#00adad">Add Buddy </span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> - -<span style="background:#efefef;color:#000000"> <b><u><b></b></u></b></span><span style="background:#000000;color:#efefef"> </span><span style="background:#efefef;color:#000000"> asd |Add Chat </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> -<span style="background:#efefef;color:#000000"> <b><u><b></b></u></b></span><span style="background:#000000;color:#efefef"> </span><span style="background:#efefef;color:#000000"> Booya |Add Group </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> - -<span style="background:#efefef;color:#000000"> <b><u><b></b></u></b></span><span style="background:#000000;color:#efefef"> </span><span style="background:#efefef;color:#000000"> Krusty </span><span style="background:#000000;color:#00adad">v</span><span style="background:#efefef;color:#000000">|Rename </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> -<span style="background:#efefef;color:#000000">+--------------------+|Remove </span><span style="background:#000000;color:#00adad"> </span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#00adad"> </span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> - -<span style="background:#efefef;color:#000000">|Away |v|+----------------+</span><span style="background:#000000;color:#000000"> </span><span style="background:#000000;color:#00adad">_________________________</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> -<span style="background:#efefef;color:#000000">+--------------------+ </span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000">-------------------------+</span><span style="background:#000000;color:#000000"> </span> -<span style="background:#000000;color:#00adad">"For me to poop on"___</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> -<span style="background:#0000ad;color:#efefef">Buddy List</span><span style="background:#efefef;color:#000000">|#gaim (sad|#guificati|#ion (sadr|#gaim-comm|#gaim-test (s</span> - -</pre> -<i>Context menu for a group</i> +<center> +<i>Tooltip for a group</i> </center> <h4>Status Selector</h4> @@ -85,33 +57,7 @@ </p> <center> -<pre><span style="background:#efefef;color:#000000">+------------|</span><span style="background:#0000ad;color:#efefef">#gaim (<a href="mailto:sa...@ir..." target="_blank">sa...@ir...</a> -- IRC)</span><span style="background:#efefef;color:#000000">|-----------[X] </span> -<span style="background:#efefef;color:#000000">|</span><span style="background:#efefef;color:#adad00">on). </span><span style="background:#000000;color:#00adad">^</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> - -<span style="background:#efefef;color:#000000">|</span><span style="background:#efefef;color:#adad00">(20:36:50) <b></b></span><span style="background:#efefef;color:#000000">ForlornPenguin: I recind my question about raping the |</span><span style="background:#000000;color:#000000"> </span> -<span style="background:#efefef;color:#000000">| GPL, and replace it with the statement that I believe that the |</span><span style="background:#000000;color:#000000"> </span> -<span style="background:#efefef;color:#000000">|shareware version of x-chat is an illegal violation of the GPL. |</span><span style="background:#000000;color:#000000"> </span> -<span style="background:#efefef;color:#000000">|</span><span style="background:#efefef;color:#adad00">(20:37:47) <b></b></span><span style="background:#efefef;color:#000000">kyevan: Gaim's bonjour doesn't work very well. Or is |</span><span style="background:#000000;color:#000000"> </span> -<span style="background:#efefef;color:#000000">|+--------------+ bonjour chat system sucks? |</span><span style="background:#000000;color:#000000"> </span> - -<span style="background:#efefef;color:#000000">||</span><span style="background:#000000;color:#00adad">sadrul </span><span style="background:#efefef;color:#000000">|<b>ere: </b>ours needs work. patches welcome |</span><span style="background:#000000;color:#000000"> </span> -<span style="background:#efefef;color:#000000">||seanegan </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|<b>n: </b>Or does the implimentation used by iChat and |</span><span style="background:#000000;color:#000000"> </span> -<span style="background:#efefef;color:#000000">||seph </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|.3 not work very well? |</span><span style="background:#000000;color:#000000"> </span> - -<span style="background:#efefef;color:#000000">||Sgeo </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|<b>n: </b>LSchiere: well, I don't really have the skill |</span><span style="background:#000000;color:#000000"> </span> -<span style="background:#efefef;color:#000000">||siege </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|on it :( |</span><span style="background:#000000;color:#000000"> </span> -<span style="background:#efefef;color:#000000">||SimGuy |</span><span style="background:#efefef;color:#adad00"> [n=<a href="mailto:ge...@ba..." target="_blank">geoff@bas2-ottawa23-1177884781<WBR>.dsl.bell.ca</a>] </span><span style="background:#efefef;color:#000000"> |</span><span style="background:#000000;color:#000000"> </span> - -<span style="background:#efefef;color:#000000">||Singularity |</span><span style="background:#efefef;color:#adad00">. </span><span style="background:#efefef;color:#000000"> |</span><span style="background:#000000;color:#000000"> </span> -<span style="background:#efefef;color:#000000">||slaytanic </span><span style="background:#000000;color:#00adad">v</span><span style="background:#efefef;color:#000000">|</span><span style="background:#efefef;color:#adad00">ar left the room (quit: Remote closed the connec</span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> -<span style="background:#efefef;color:#000000">|+--------------+</span><span style="background:#efefef;color:#adad00"> </span><span style="background:#000000;color:#00adad"> </span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> - -<span style="background:#efefef;color:#000000">|</span><span style="background:#0000ad;color:#efefef">s</span><span style="background:#efefef;color:#0000ad">_</span><span style="background:#0000ad;color:#efefef">______________________________<WBR>______________________________<WBR>___</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> -<span style="background:#efefef;color:#000000">+-----------------------------<WBR>------------------------------<WBR>------+</span><span style="background:#000000;color:#000000"> </span> -<span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#000000"> </span> - -<span style="background:#0000ad;color:#efefef">#gaim (sadrul@ir</span><span style="background:#efefef;color:#000000">|#guifications (s|#ion (sadrul@irc|#gaim-commits (sa</span> -</pre> +<img src="http://gaim.sf.net/sean/images/gntchat.png" /> <i>Tab-completion in entry boxes</i> </center> <h4>Accounts Window</h4> @@ -120,36 +66,7 @@ screenshot: </p> <center> -<pre><span style="background:#efefef;color:#000000">+----------|</span><span style="background:#000000;color:#efefef">#gaim-test (<a href="mailto:sa...@ir..." target="_blank">sa...@ir...</a> -- IRC)</span><span style="background:#efefef;color:#000000">|--------[X] </span> - -<span style="background:#efefef;color:#000000">| </span><span style="background:#000000;color:#00adad"> </span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> -<span style="background:#efefef;color:#000000">| +-----------------------|</span><span style="background:#0000ad;color:#efefef">Accounts</span><span style="background:#efefef;color:#000000">|---------------------[X] </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> -<span style="background:#efefef;color:#000000">| |You can enable/disable accounts from the following list.|</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> - -<span style="background:#efefef;color:#000000">| | ------------------------------<WBR>------------------------ |</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> -<span style="background:#efefef;color:#000000">| |[ ] adil040 |Yahoo </span><span style="background:#000000;color:#00adad"> </span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> - -<span style="background:#efefef;color:#000000">| |[ ] <a href="mailto:adi...@ho..." target="_blank">adi...@ho...</a> |MSN </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> -<span style="background:#efefef;color:#000000">| |</span><span style="background:#0000ad;color:#efefef">[X] <a href="http://im...@gm.../Gaim" target="_blank">im...@gm.../Gaim</a> |Jabber </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> - -<span style="background:#efefef;color:#000000">| |[X] <a href="mailto:sa...@ir..." target="_blank">sa...@ir...</a> |IRC |</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> -<span style="background:#efefef;color:#000000">| |[X] gaim_adil |Yahoo |</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> - -<span style="background:#efefef;color:#000000">| |[ ] <a href="http://sa...@ja.../Gaim" target="_blank">sa...@ja.../Gaim</a> |Jabber </span><span style="background:#000000;color:#00adad">v</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> -<span style="background:#efefef;color:#000000">| | ------------------------------<WBR>------------------------ |</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> - -<span style="background:#efefef;color:#000000">| | +-----+ +--------+ +--------+ |</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> -<span style="background:#efefef;color:#000000">|</span><span style="background:#efefef;color:#adad00">(20</span><span style="background:#efefef;color:#000000">| | Add |</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> | Modify |</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> | Delete |</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> |</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#adad00"> </span><span style="background:#000000;color:#00adad">#</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> - -<span style="background:#efefef;color:#000000">|</span><span style="background:#efefef;color:#adad00">[ B</span><span style="background:#efefef;color:#000000">| +-----+</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> +--------+</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> +--------+</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> |</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#adad00"> </span><span style="background:#000000;color:#00adad"> </span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> - -<span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#00adad">___</span><span style="background:#efefef;color:#000000">| </span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> |</span><span style="background:#000000;color:#000000"> </span><span style="background:#000000;color:#00adad">___</span><span style="background:#efefef;color:#000000">|</span><span style="background:#000000;color:#000000"> </span> -<span style="background:#efefef;color:#000000">+---+-------------------------<WBR>------------------------------<WBR>-+</span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000">---+</span><span style="background:#000000;color:#000000"> </span> - -<span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#000000"> </span><span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#000000"> </span> -<span style="background:#efefef;color:#000000"> </span><span style="background:#000000;color:#000000"> </span> -<span style="background:#efefef;color:#000000">#gaim (sad|#guificati|#ion (sadr|#gaim-comm|</span><span style="background:#0000ad;color:#efefef">Accounts </span><span style="background:#efefef;color:#000000">|#gaim-test (s</span> -</pre> +<img src="http://gaim.sf.net/sean/images/gntaccounts.png"/> <i>Accounts window</i> </center> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sea...@us...> - 2006-10-04 02:47:05
|
Revision: 17423 http://svn.sourceforge.net/gaim/?rev=17423&view=rev Author: seanegan Date: 2006-10-02 15:50:27 -0700 (Mon, 02 Oct 2006) Log Message: ----------- One day I'll make a commit to web/ that works first shot Modified Paths: -------------- web/htdocs/sean/posts/gaim-text.txt Modified: web/htdocs/sean/posts/gaim-text.txt =================================================================== --- web/htdocs/sean/posts/gaim-text.txt 2006-10-02 22:45:23 UTC (rev 17422) +++ web/htdocs/sean/posts/gaim-text.txt 2006-10-02 22:50:27 UTC (rev 17423) @@ -29,9 +29,10 @@ buddy/chat in the group etc. </p> -<img src="http://gaim.sf.net/sean/images/gntblist.png" /> <center> +<img src="http://gaim.sf.net/sean/images/gntblist.png" /> +<br/> <i>Tooltip for a group</i> </center> @@ -58,6 +59,7 @@ <center> <img src="http://gaim.sf.net/sean/images/gntchat.png" /> +<br/> <i>Tab-completion in entry boxes</i> </center> <h4>Accounts Window</h4> @@ -67,6 +69,7 @@ </p> <center> <img src="http://gaim.sf.net/sean/images/gntaccounts.png"/> +<br/> <i>Accounts window</i> </center> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dat...@us...> - 2006-10-04 02:32:32
|
Revision: 17425 http://svn.sourceforge.net/gaim/?rev=17425&view=rev Author: datallah Date: 2006-10-03 19:32:17 -0700 (Tue, 03 Oct 2006) Log Message: ----------- Oops, I leaked. Modified Paths: -------------- trunk/gtk/gtkstatusbox.c Modified: trunk/gtk/gtkstatusbox.c =================================================================== --- trunk/gtk/gtkstatusbox.c 2006-10-03 01:59:32 UTC (rev 17424) +++ trunk/gtk/gtkstatusbox.c 2006-10-04 02:32:17 UTC (rev 17425) @@ -712,7 +712,6 @@ GtkTreeIter iter; GtkGaimStatusBoxItemType type; gpointer data; - const char *name; /* Unset the active item */ gtk_combo_box_set_active(GTK_COMBO_BOX(status_box), -1); @@ -724,21 +723,27 @@ { gtk_tree_model_get(GTK_TREE_MODEL(status_box->dropdown_store), &iter, TYPE_COLUMN, &type, - TEXT_COLUMN, &name, DATA_COLUMN, &data, -1); if (status_box->token_status_account && gaim_savedstatus_is_transient(saved_status) && type == GTK_GAIM_STATUS_BOX_TYPE_PRIMITIVE && primitive == GPOINTER_TO_INT(data)) { + char *name; const char *acct_status_name = gaim_status_get_name( gaim_account_get_active_status(status_box->token_status_account)); + + gtk_tree_model_get(GTK_TREE_MODEL(status_box->dropdown_store), &iter, + TEXT_COLUMN, &name, -1); + if (!gaim_savedstatus_has_substatuses(saved_status) || !strcmp(name, acct_status_name)) { /* Found! */ gtk_combo_box_set_active_iter(GTK_COMBO_BOX(status_box), &iter); + g_free(name); break; } + g_free(name); } else if ((type == GTK_GAIM_STATUS_BOX_TYPE_POPULAR) && (GPOINTER_TO_INT(data) == gaim_savedstatus_get_creation_time(saved_status))) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <nos...@us...> - 2006-10-01 18:18:24
|
Revision: 17420 http://svn.sourceforge.net/gaim/?rev=17420&view=rev Author: nosnilmot Date: 2006-10-01 11:17:49 -0700 (Sun, 01 Oct 2006) Log Message: ----------- It is more correct to use foo_la_LIBADD to specify libs to link to instead of foo_la_LDFLAGS Modified Paths: -------------- trunk/console/libgnt/wms/Makefile.am trunk/console/plugins/Makefile.am trunk/gtk/plugins/Makefile.am trunk/gtk/plugins/cap/Makefile.am trunk/gtk/plugins/docklet/Makefile.am trunk/gtk/plugins/gestures/Makefile.am trunk/gtk/plugins/gevolution/Makefile.am trunk/gtk/plugins/musicmessaging/Makefile.am trunk/gtk/plugins/ticker/Makefile.am trunk/libgaim/plugins/Makefile.am trunk/libgaim/plugins/perl/Makefile.am trunk/libgaim/plugins/ssl/Makefile.am trunk/libgaim/plugins/tcl/Makefile.am trunk/libgaim/protocols/bonjour/Makefile.am trunk/libgaim/protocols/gg/Makefile.am trunk/libgaim/protocols/irc/Makefile.am trunk/libgaim/protocols/jabber/Makefile.am trunk/libgaim/protocols/msn/Makefile.am trunk/libgaim/protocols/novell/Makefile.am trunk/libgaim/protocols/oscar/Makefile.am trunk/libgaim/protocols/qq/Makefile.am trunk/libgaim/protocols/silc/Makefile.am trunk/libgaim/protocols/simple/Makefile.am trunk/libgaim/protocols/yahoo/Makefile.am trunk/libgaim/protocols/zephyr/Makefile.am Modified: trunk/console/libgnt/wms/Makefile.am =================================================================== --- trunk/console/libgnt/wms/Makefile.am 2006-10-01 16:33:14 UTC (rev 17419) +++ trunk/console/libgnt/wms/Makefile.am 2006-10-01 18:17:49 UTC (rev 17420) @@ -1,11 +1,12 @@ -s_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) $(GNT_LIBS) +s_la_LDFLAGS = -module -avoid-version plugin_LTLIBRARIES = \ s.la plugindir = $(libdir)/gaim -s_la_SOURCES = s.c +s_la_SOURCES = s.c +s_la_LIBADD = $(GLIB_LIBS) $(top_builddir)/console/libgnt/libgnt.la EXTRA_DIST = Modified: trunk/console/plugins/Makefile.am =================================================================== --- trunk/console/plugins/Makefile.am 2006-10-01 16:33:14 UTC (rev 17419) +++ trunk/console/plugins/Makefile.am 2006-10-01 18:17:49 UTC (rev 17420) @@ -1,5 +1,5 @@ -gntgf_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) $(X11_LIBS) $(GNT_LIBS) -gnthistory_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) +gntgf_la_LDFLAGS = -module -avoid-version +gnthistory_la_LDFLAGS = -module -avoid-version if PLUGINS @@ -12,6 +12,9 @@ gntgf_la_SOURCES = gntgf.c gnthistory_la_SOURCES = gnthistory.c +gntgf_la_LIBADD = $(GLIB_LIBS) $(X11_LIBS) $(top_builddir)/console/libgnt/libgnt.la +gnthistory_la_LIBADD = $(GLIB_LIBS) + endif # PLUGINS EXTRA_DIST = Modified: trunk/gtk/plugins/Makefile.am =================================================================== --- trunk/gtk/plugins/Makefile.am 2006-10-01 16:33:14 UTC (rev 17419) +++ trunk/gtk/plugins/Makefile.am 2006-10-01 18:17:49 UTC (rev 17420) @@ -27,15 +27,15 @@ plugindir = $(libdir)/gaim -extplacement_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) -gaimrc_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) -history_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) -iconaway_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) -notify_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) -relnot_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) -spellchk_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) -timestamp_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) -timestamp_format_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) +extplacement_la_LDFLAGS = -module -avoid-version +gaimrc_la_LDFLAGS = -module -avoid-version +history_la_LDFLAGS = -module -avoid-version +iconaway_la_LDFLAGS = -module -avoid-version +notify_la_LDFLAGS = -module -avoid-version +relnot_la_LDFLAGS = -module -avoid-version +spellchk_la_LDFLAGS = -module -avoid-version +timestamp_la_LDFLAGS = -module -avoid-version +timestamp_format_la_LDFLAGS = -module -avoid-version if PLUGINS @@ -61,6 +61,16 @@ timestamp_la_SOURCES = timestamp.c timestamp_format_la_SOURCES = timestamp_format.c +extplacement_la_LIBADD = $(GTK_LIBS) +gaimrc_la_LIBADD = $(GTK_LIBS) +history_la_LIBADD = $(GTK_LIBS) +iconaway_la_LIBADD = $(GTK_LIBS) +notify_la_LIBADD = $(GTK_LIBS) +relnot_la_LIBADD = $(GLIB_LIBS) +spellchk_la_LIBADD = $(GTK_LIBS) +timestamp_la_LIBADD = $(GTK_LIBS) +timestamp_format_la_LIBADD = $(GTK_LIBS) + endif # PLUGINS EXTRA_DIST = \ Modified: trunk/gtk/plugins/cap/Makefile.am =================================================================== --- trunk/gtk/plugins/cap/Makefile.am 2006-10-01 16:33:14 UTC (rev 17419) +++ trunk/gtk/plugins/cap/Makefile.am 2006-10-01 18:17:49 UTC (rev 17420) @@ -1,6 +1,6 @@ capdir = $(libdir)/gaim -cap_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) +cap_la_LDFLAGS = -module -avoid-version if PLUGINS @@ -15,7 +15,7 @@ endif -cap_la_LIBADD = $(SQLITE3_LIBS) +cap_la_LIBADD = $(GTK_LIBS) $(SQLITE3_LIBS) AM_CPPFLAGS = \ -DDATADIR=\"$(datadir)\" \ Modified: trunk/gtk/plugins/docklet/Makefile.am =================================================================== --- trunk/gtk/plugins/docklet/Makefile.am 2006-10-01 16:33:14 UTC (rev 17419) +++ trunk/gtk/plugins/docklet/Makefile.am 2006-10-01 18:17:49 UTC (rev 17420) @@ -6,7 +6,7 @@ plugindir = $(libdir)/gaim -docklet_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) +docklet_la_LDFLAGS = -module -avoid-version if PLUGINS @@ -19,6 +19,8 @@ docklet.c \ docklet-x11.c +docklet_la_LIBADD = $(GTK_LIBS) + endif AM_CPPFLAGS = \ Modified: trunk/gtk/plugins/gestures/Makefile.am =================================================================== --- trunk/gtk/plugins/gestures/Makefile.am 2006-10-01 16:33:14 UTC (rev 17419) +++ trunk/gtk/plugins/gestures/Makefile.am 2006-10-01 18:17:49 UTC (rev 17420) @@ -1,6 +1,6 @@ plugindir = $(libdir)/gaim -gestures_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) +gestures_la_LDFLAGS = -module -avoid-version if PLUGINS @@ -13,6 +13,8 @@ stroke.c \ stroke-draw.c +gestures_la_LIBADD = $(GTK_LIBS) + endif AM_CPPFLAGS = \ Modified: trunk/gtk/plugins/gevolution/Makefile.am =================================================================== --- trunk/gtk/plugins/gevolution/Makefile.am 2006-10-01 16:33:14 UTC (rev 17419) +++ trunk/gtk/plugins/gevolution/Makefile.am 2006-10-01 18:17:49 UTC (rev 17420) @@ -1,9 +1,6 @@ plugindir = $(libdir)/gaim -gevolution_la_LDFLAGS = \ - -module -avoid-version \ - $(EVOLUTION_ADDRESSBOOK_LIBS) \ - $(GTK_LIBS) +gevolution_la_LDFLAGS = -module -avoid-version if PLUGINS @@ -18,10 +15,10 @@ new_person_dialog.c \ eds-utils.c +gevolution_la_LIBADD = $(EVOLUTION_ADDRESSBOOK_LIBS) $(GTK_LIBS) + endif -gevolution_la_LIBADD = - AM_CPPFLAGS = \ -DDATADIR=\"$(datadir)\" \ -DVERSION=\"$(VERSION)\" \ Modified: trunk/gtk/plugins/musicmessaging/Makefile.am =================================================================== --- trunk/gtk/plugins/musicmessaging/Makefile.am 2006-10-01 16:33:14 UTC (rev 17419) +++ trunk/gtk/plugins/musicmessaging/Makefile.am 2006-10-01 18:17:49 UTC (rev 17420) @@ -3,7 +3,7 @@ musicmessagingdir = $(libdir)/gaim -musicmessaging_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) $(DBUS_LIBS) +musicmessaging_la_LDFLAGS = -module -avoid-version if PLUGINS if ENABLE_DBUS @@ -16,8 +16,8 @@ musicmessaging_la_SOURCES = \ musicmessaging.c +musicmessaging_la_LIBADD = $(GTK_LIBS) $(DBUS_LIBS) - CLEANFILES = music-messaging-bindings.c .PHONY: always Modified: trunk/gtk/plugins/ticker/Makefile.am =================================================================== --- trunk/gtk/plugins/ticker/Makefile.am 2006-10-01 16:33:14 UTC (rev 17419) +++ trunk/gtk/plugins/ticker/Makefile.am 2006-10-01 18:17:49 UTC (rev 17420) @@ -3,7 +3,7 @@ plugindir = $(libdir)/gaim -ticker_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) +ticker_la_LDFLAGS = -module -avoid-version if PLUGINS @@ -14,6 +14,8 @@ gtkticker.h \ ticker.c +ticker_la_LIBADD = $(GTK_LIBS) + endif AM_CPPFLAGS = \ Modified: trunk/libgaim/plugins/Makefile.am =================================================================== --- trunk/libgaim/plugins/Makefile.am 2006-10-01 16:33:14 UTC (rev 17419) +++ trunk/libgaim/plugins/Makefile.am 2006-10-01 18:17:49 UTC (rev 17420) @@ -24,13 +24,13 @@ plugindir = $(libdir)/gaim -idle_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) -log_reader_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) -psychic_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) -statenotify_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) +idle_la_LDFLAGS = -module -avoid-version +log_reader_la_LDFLAGS = -module -avoid-version +psychic_la_LDFLAGS = -module -avoid-version +statenotify_la_LDFLAGS = -module -avoid-version # this can't be in a conditional otherwise automake 1.4 yells -dbus_example_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) $(DBUS_LIBS) +dbus_example_la_LDFLAGS = -module -avoid-version if PLUGINS @@ -47,11 +47,18 @@ psychic_la_SOURCES = psychic.c statenotify_la_SOURCES = statenotify.c +idle_la_LIBADD = $(GLIB_LIBS) +log_reader_la_LIBADD = $(GLIB_LIBS) +psychic_la_LIBADD = $(GLIB_LIBS) +statenotify_la_LIBADD = $(GLIB_LIBS) + if ENABLE_DBUS CLEANFILES = dbus-example-bindings.c dbus_example_la_SOURCES = dbus-example.c +dbus_example_la_LIBADD = $(GLIB_LIBS) $(DBUS_LIBS) + .PHONY: always $(top_builddir)/libgaim/dbus-types.h: always Modified: trunk/libgaim/plugins/perl/Makefile.am =================================================================== --- trunk/libgaim/plugins/perl/Makefile.am 2006-10-01 16:33:14 UTC (rev 17419) +++ trunk/libgaim/plugins/perl/Makefile.am 2006-10-01 18:17:49 UTC (rev 17420) @@ -1,11 +1,13 @@ plugindir = $(libdir)/gaim +hackdir = $(plugindir)/private perl_dirs = common -plugin_LTLIBRARIES = perl.la libgaimperl.la +plugin_LTLIBRARIES = perl.la +hack_LTLIBRARIES = libgaimperl.la -perl_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) $(PERL_LIBS) -perl_la_LIBADD = $(PERL_LIBS) -L. -L.libs -lgaimperl +perl_la_LDFLAGS = -module -avoid-version +perl_la_LIBADD = $(GLIB_LIBS) $(PERL_LIBS) libgaimperl.la perl_la_SOURCES = \ perl.c \ perl-common.c \ @@ -18,7 +20,8 @@ .libs/DynaLoader.a \ libgaimperl.la -libgaimperl_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) +libgaimperl_la_LDFLAGS = -module -avoid-version +libgaimperl_la_LIBADD = $(GLIB_LIBS) libgaimperl_la_SOURCES = libgaimperl.c .libs/libperl_orig.a: Modified: trunk/libgaim/plugins/ssl/Makefile.am =================================================================== --- trunk/libgaim/plugins/ssl/Makefile.am 2006-10-01 16:33:14 UTC (rev 17419) +++ trunk/libgaim/plugins/ssl/Makefile.am 2006-10-01 18:17:49 UTC (rev 17420) @@ -3,9 +3,9 @@ plugindir = $(libdir)/gaim -ssl_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) -ssl_gnutls_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) -ssl_nss_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) +ssl_la_LDFLAGS = -module -avoid-version +ssl_gnutls_la_LDFLAGS = -module -avoid-version +ssl_nss_la_LDFLAGS = -module -avoid-version if PLUGINS @@ -18,8 +18,9 @@ ssl_gnutls_la_SOURCES = ssl-gnutls.c ssl_nss_la_SOURCES = ssl-nss.c -ssl_gnutls_la_LIBADD = $(GNUTLS_LIBS) -ssl_nss_la_LIBADD = $(NSS_LIBS) +ssl_la_LIBADD = $(GLIB_LIBS) +ssl_gnutls_la_LIBADD = $(GLIB_LIBS) $(GNUTLS_LIBS) +ssl_nss_la_LIBADD = $(GLIB_LIBS) $(NSS_LIBS) endif # PLUGINS Modified: trunk/libgaim/plugins/tcl/Makefile.am =================================================================== --- trunk/libgaim/plugins/tcl/Makefile.am 2006-10-01 16:33:14 UTC (rev 17419) +++ trunk/libgaim/plugins/tcl/Makefile.am 2006-10-01 18:17:49 UTC (rev 17420) @@ -1,12 +1,14 @@ plugindir = $(libdir)/gaim -tcl_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) $(TCL_LIBS) $(TK_LIBS) +tcl_la_LDFLAGS = -module -avoid-version plugin_LTLIBRARIES = tcl.la tcl_la_SOURCES = tcl.c tcl_glib.c tcl_glib.h tcl_cmds.c tcl_signals.c tcl_gaim.h \ tcl_ref.c tcl_cmd.c +tcl_la_LIBADD = $(GLIB_LIBS) $(TCL_LIBS) $(TK_LIBS) + EXTRA_DIST = signal-test.tcl Makefile.mingw AM_CPPFLAGS = \ Modified: trunk/libgaim/protocols/bonjour/Makefile.am =================================================================== --- trunk/libgaim/protocols/bonjour/Makefile.am 2006-10-01 16:33:14 UTC (rev 17419) +++ trunk/libgaim/protocols/bonjour/Makefile.am 2006-10-01 18:17:49 UTC (rev 17420) @@ -15,7 +15,7 @@ AM_CFLAGS = $(st) -libbonjour_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) $(HOWL_LIBS) +libbonjour_la_LDFLAGS = -module -avoid-version if STATIC_BONJOUR @@ -30,6 +30,7 @@ st = pkg_LTLIBRARIES = libbonjour.la libbonjour_la_SOURCES = $(BONJOURSOURCES) +libbonjour_la_LIBADD = $(GLIB_LIBS) $(HOWL_LIBS) endif Modified: trunk/libgaim/protocols/gg/Makefile.am =================================================================== --- trunk/libgaim/protocols/gg/Makefile.am 2006-10-01 16:33:14 UTC (rev 17419) +++ trunk/libgaim/protocols/gg/Makefile.am 2006-10-01 18:17:49 UTC (rev 17420) @@ -47,7 +47,7 @@ AM_CFLAGS = $(st) -libgg_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) +libgg_la_LDFLAGS = -module -avoid-version if STATIC_GG @@ -66,7 +66,7 @@ noinst_LIBRARIES = libgg_la_SOURCES = $(GGSOURCES) -libgg_la_LIBADD = $(GADU_LIBS) +libgg_la_LIBADD = $(GLIB_LIBS) $(GADU_LIBS) endif Modified: trunk/libgaim/protocols/irc/Makefile.am =================================================================== --- trunk/libgaim/protocols/irc/Makefile.am 2006-10-01 16:33:14 UTC (rev 17419) +++ trunk/libgaim/protocols/irc/Makefile.am 2006-10-01 18:17:49 UTC (rev 17420) @@ -6,7 +6,7 @@ AM_CFLAGS = $(st) -libirc_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) +libirc_la_LDFLAGS = -module -avoid-version if STATIC_IRC @@ -24,6 +24,7 @@ noinst_LIBRARIES = libirc_la_SOURCES = $(IRCSOURCES) +libirc_la_LIBADD = $(GLIB_LIBS) endif Modified: trunk/libgaim/protocols/jabber/Makefile.am =================================================================== --- trunk/libgaim/protocols/jabber/Makefile.am 2006-10-01 16:33:14 UTC (rev 17419) +++ trunk/libgaim/protocols/jabber/Makefile.am 2006-10-01 18:17:49 UTC (rev 17420) @@ -36,7 +36,7 @@ AM_CFLAGS = $(st) -libjabber_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) $(SASL_LIBS) $(LIBXML_LIBS) +libjabber_la_LDFLAGS = -module -avoid-version if STATIC_JABBER @@ -54,6 +54,7 @@ noinst_LIBRARIES = libjabber_la_SOURCES = $(JABBERSOURCES) +libjabber_la_LIBADD = $(GLIB_LIBS) $(SASL_LIBS) $(LIBXML_LIBS) endif Modified: trunk/libgaim/protocols/msn/Makefile.am =================================================================== --- trunk/libgaim/protocols/msn/Makefile.am 2006-10-01 16:33:14 UTC (rev 17419) +++ trunk/libgaim/protocols/msn/Makefile.am 2006-10-01 18:17:49 UTC (rev 17420) @@ -65,7 +65,7 @@ AM_CFLAGS = $(st) -libmsn_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) +libmsn_la_LDFLAGS = -module -avoid-version if STATIC_MSN @@ -79,6 +79,7 @@ st = pkg_LTLIBRARIES = libmsn.la libmsn_la_SOURCES = $(MSNSOURCES) +libmsn_la_LIBADD = $(GLIB_LIBS) endif Modified: trunk/libgaim/protocols/novell/Makefile.am =================================================================== --- trunk/libgaim/protocols/novell/Makefile.am 2006-10-01 16:33:14 UTC (rev 17419) +++ trunk/libgaim/protocols/novell/Makefile.am 2006-10-01 18:17:49 UTC (rev 17420) @@ -28,7 +28,7 @@ AM_CFLAGS = $(st) -libnovell_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) +libnovell_la_LDFLAGS = -module -avoid-version if STATIC_NOVELL @@ -46,6 +46,7 @@ noinst_LIBRARIES = libnovell_la_SOURCES = $(NOVELLSOURCES) +libnovell_la_LIBADD = $(GLIB_LIBS) endif Modified: trunk/libgaim/protocols/oscar/Makefile.am =================================================================== --- trunk/libgaim/protocols/oscar/Makefile.am 2006-10-01 16:33:14 UTC (rev 17419) +++ trunk/libgaim/protocols/oscar/Makefile.am 2006-10-01 18:17:49 UTC (rev 17420) @@ -46,7 +46,7 @@ AM_CFLAGS = $(st) -liboscar_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) +liboscar_la_LDFLAGS = -module -avoid-version if STATIC_OSCAR @@ -60,6 +60,7 @@ st = pkg_LTLIBRARIES = liboscar.la liboscar_la_SOURCES = $(OSCARSOURCES) +liboscar_la_LIBADD = $(GLIB_LIBS) endif Modified: trunk/libgaim/protocols/qq/Makefile.am =================================================================== --- trunk/libgaim/protocols/qq/Makefile.am 2006-10-01 16:33:14 UTC (rev 17419) +++ trunk/libgaim/protocols/qq/Makefile.am 2006-10-01 18:17:49 UTC (rev 17420) @@ -73,7 +73,7 @@ AM_CFLAGS = $(st) -libqq_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) +libqq_la_LDFLAGS = -module -avoid-version if STATIC_QQ @@ -87,6 +87,7 @@ st = pkg_LTLIBRARIES = libqq.la libqq_la_SOURCES = $(QQSOURCES) +libqq_la_LIBADD = $(GLIB_LIBS) endif Modified: trunk/libgaim/protocols/silc/Makefile.am =================================================================== --- trunk/libgaim/protocols/silc/Makefile.am 2006-10-01 16:33:14 UTC (rev 17419) +++ trunk/libgaim/protocols/silc/Makefile.am 2006-10-01 18:17:49 UTC (rev 17420) @@ -6,7 +6,7 @@ AM_CFLAGS = $(st) -libsilcgaim_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) +libsilcgaim_la_LDFLAGS = -module -avoid-version if STATIC_SILC @@ -25,7 +25,7 @@ noinst_LIBRARIES = libsilcgaim_la_SOURCES = $(SILCSOURCES) -libsilcgaim_la_LIBADD = $(SILC_LIBS) +libsilcgaim_la_LIBADD = $(GLIB_LIBS) $(SILC_LIBS) endif Modified: trunk/libgaim/protocols/simple/Makefile.am =================================================================== --- trunk/libgaim/protocols/simple/Makefile.am 2006-10-01 16:33:14 UTC (rev 17419) +++ trunk/libgaim/protocols/simple/Makefile.am 2006-10-01 18:17:49 UTC (rev 17420) @@ -11,7 +11,7 @@ AM_CFLAGS = $(st) -libsimple_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) +libsimple_la_LDFLAGS = -module -avoid-version if STATIC_MSN @@ -25,6 +25,7 @@ st = pkg_LTLIBRARIES = libsimple.la libsimple_la_SOURCES = $(SIMPLESOURCES) +libsimple_la_LIBADD = $(GLIB_LIBS) endif Modified: trunk/libgaim/protocols/yahoo/Makefile.am =================================================================== --- trunk/libgaim/protocols/yahoo/Makefile.am 2006-10-01 16:33:14 UTC (rev 17419) +++ trunk/libgaim/protocols/yahoo/Makefile.am 2006-10-01 18:17:49 UTC (rev 17420) @@ -29,7 +29,7 @@ AM_CFLAGS = $(st) -libyahoo_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) +libyahoo_la_LDFLAGS = -module -avoid-version if STATIC_YAHOO @@ -43,6 +43,7 @@ st = pkg_LTLIBRARIES = libyahoo.la libyahoo_la_SOURCES = $(YAHOOSOURCES) +libyahoo_la_LIBADD = $(GLIB_LIBS) endif Modified: trunk/libgaim/protocols/zephyr/Makefile.am =================================================================== --- trunk/libgaim/protocols/zephyr/Makefile.am 2006-10-01 16:33:14 UTC (rev 17419) +++ trunk/libgaim/protocols/zephyr/Makefile.am 2006-10-01 18:17:49 UTC (rev 17420) @@ -73,7 +73,7 @@ ZEPHYRLIBSEXT = $(ZEPHYR_LDFLAGS) $(ZEPHYR_LIBS) -libzephyr_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) +libzephyr_la_LDFLAGS = -module -avoid-version if STATIC_ZEPHYR @@ -90,10 +90,10 @@ if EXTERNAL_LIBZEPHYR libzephyr_la_SOURCES = $(ZEPHYRSOURCESEXT) -libzephyr_la_LIBADD = $(ZEPHYRLIBSEXT) +libzephyr_la_LIBADD = $(GLIB_LIBS) $(ZEPHYRLIBSEXT) else libzephyr_la_SOURCES = $(ZEPHYRSOURCES) -libzephyr_la_LIBADD = $(ZEPHYRLIBS) +libzephyr_la_LIBADD = $(GLIB_LIBS) $(ZEPHYRLIBS) endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <nos...@us...> - 2006-10-01 16:33:27
|
Revision: 17419 http://svn.sourceforge.net/gaim/?rev=17419&view=rev Author: nosnilmot Date: 2006-10-01 09:33:14 -0700 (Sun, 01 Oct 2006) Log Message: ----------- Link to external libraries where necessary to reduce the number of undefined symbols reported by ldd -r Modified Paths: -------------- trunk/console/libgnt/wms/Makefile.am trunk/console/plugins/Makefile.am trunk/libgaim/protocols/jabber/Makefile.am trunk/libgaim/protocols/qq/Makefile.am Modified: trunk/console/libgnt/wms/Makefile.am =================================================================== --- trunk/console/libgnt/wms/Makefile.am 2006-10-01 16:11:39 UTC (rev 17418) +++ trunk/console/libgnt/wms/Makefile.am 2006-10-01 16:33:14 UTC (rev 17419) @@ -1,4 +1,4 @@ -s_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) +s_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) $(GNT_LIBS) plugin_LTLIBRARIES = \ s.la Modified: trunk/console/plugins/Makefile.am =================================================================== --- trunk/console/plugins/Makefile.am 2006-10-01 16:11:39 UTC (rev 17418) +++ trunk/console/plugins/Makefile.am 2006-10-01 16:33:14 UTC (rev 17419) @@ -1,5 +1,5 @@ -gntgf_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) $(X11_LIBS) -gnthistory_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) +gntgf_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) $(X11_LIBS) $(GNT_LIBS) +gnthistory_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) if PLUGINS @@ -9,8 +9,8 @@ plugindir = $(libdir)/gaim -gntgf_la_SOURCES = gntgf.c -gnthistory_la_SOURCES = gnthistory.c +gntgf_la_SOURCES = gntgf.c +gnthistory_la_SOURCES = gnthistory.c endif # PLUGINS Modified: trunk/libgaim/protocols/jabber/Makefile.am =================================================================== --- trunk/libgaim/protocols/jabber/Makefile.am 2006-10-01 16:11:39 UTC (rev 17418) +++ trunk/libgaim/protocols/jabber/Makefile.am 2006-10-01 16:33:14 UTC (rev 17419) @@ -36,7 +36,7 @@ AM_CFLAGS = $(st) -libjabber_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) $(SASL_LIBS) +libjabber_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) $(SASL_LIBS) $(LIBXML_LIBS) if STATIC_JABBER Modified: trunk/libgaim/protocols/qq/Makefile.am =================================================================== --- trunk/libgaim/protocols/qq/Makefile.am 2006-10-01 16:11:39 UTC (rev 17418) +++ trunk/libgaim/protocols/qq/Makefile.am 2006-10-01 16:33:14 UTC (rev 17419) @@ -73,7 +73,7 @@ AM_CFLAGS = $(st) -libqq_la_LDFLAGS = -module -avoid-version +libqq_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) if STATIC_QQ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <nos...@us...> - 2006-10-01 16:11:44
|
Revision: 17418 http://svn.sourceforge.net/gaim/?rev=17418&view=rev Author: nosnilmot Date: 2006-10-01 09:11:39 -0700 (Sun, 01 Oct 2006) Log Message: ----------- Spec file updates: - We can build with internal gadugadu again now, so bring it back into the main package - Uninstall gconf schemas as necessary when upgrading or uninstalling - Fix building without text - Use %find_lang for locale files Modified Paths: -------------- trunk/gaim.spec.in Modified: trunk/gaim.spec.in =================================================================== --- trunk/gaim.spec.in 2006-10-01 15:16:21 UTC (rev 17417) +++ trunk/gaim.spec.in 2006-10-01 16:11:39 UTC (rev 17418) @@ -28,9 +28,8 @@ # Generic build requirements BuildRequires: libtool, pkgconfig, intltool, gettext -%{?_with_avahi:BuildRequires: avahi-compat-howl avahi-compat-howl-devel} +%{?_with_avahi:BuildRequires: avahi-compat-howl-devel} %{?_with_dbus:BuildRequires: dbus-devel >= 0.35} -%{?_with_gadugadu:BuildRequires: libgadu-devel} %{!?_without_gstreamer:BuildRequires: gstreamer-devel} %{!?_without_gtkspell:BuildRequires: gtkspell-devel} %{?_with_howl:BuildRequires: howl-devel} @@ -64,6 +63,8 @@ # For some reason perl isn't always automatically detected as a requirement :( Requires: perl +# Gadu-Gadu support was split out temporarily +Provides: gaim-gadugadu = %{epoch}:%{version}-%{release} %package devel Summary: Development headers, documentation, and libraries for Gaim. @@ -77,13 +78,6 @@ Requires: gaim = %{epoch}:%{version} %endif -%if 0%{?_with_gadugadu:1} -%package gadugadu -Summary: Gadu-Gadu plugin for Gaim using the libgadu library -Group: Applications/Internet -Requires: gaim = %{epoch}:%{version} -%endif - %if 0%{?_with_meanwhile:1} %package meanwhile Summary: Lotus Sametime plugin for Gaim using the Meanwhile library @@ -143,11 +137,6 @@ Bonjour plugin for Gaim. %endif -%if 0%{?_with_gadugadu:1} -%description gadugadu -Gadu-Gadu plugin for Gaim using the libgadu library. -%endif - %if 0%{?_with_meanwhile:1} %description meanwhile Lotus Sametime plugin for Gaim using the Meanwhile library. @@ -199,13 +188,14 @@ %{?_with_sasl:--enable-cyrus-sasl} \ %{?_with_silc:--with-silc-includes=%{_includedir}/silc} \ %{?_with_silc:--with-silc-libs=%{_libdir}/silc} \ - %{!?_with_tcl:--disable-tcl} + %{!?_with_tcl:--disable-tcl} \ + %{?_without_text:--disable-consoleui} make %{?_smp_mflags} %install rm -rf %{buildroot} -%if 0%{?_with_perlmakehack} +%if 0%{?_with_perlmakehack:1} make prefix=%{buildroot}%{_prefix} bindir=%{buildroot}%{_bindir} \ datadir=%{buildroot}%{_datadir} includedir=%{buildroot}%{_includedir} \ libdir=%{buildroot}%{_libdir} mandir=%{buildroot}%{_mandir} \ @@ -222,10 +212,6 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';' -%if 0%{!?_with_gadugadu:1} -rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/libgg.so -%endif - %if 0%{!?_with_howl:1} && 0%{!?_with_avahi:1} rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/libbonjour.so %endif @@ -247,13 +233,22 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/tcl.so %endif +%if 0%{?_without_text:1} +rm -f $RPM_BUILD_ROOT%{_mandir}/man1/gaim-text.* +rm -f $RPM_BUILD_ROOT%{_bindir}/gaim-text +rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/gntgf.so +rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/gnthistory.so +rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/s.so +rm -f $RPM_BUILD_ROOT%{_libdir}/libgnt.so.* +%endif +%find_lang %{name} + find $RPM_BUILD_ROOT%{_libdir}/gaim -type f -print | \ sed "s@^$RPM_BUILD_ROOT@@g" | \ grep -v /gntgf.so | \ grep -v /gnthistory.so | \ grep -v /libbonjour.so | \ - grep -v /libgg.so | \ grep -v /libsilcgaim.so | \ grep -v /libsametime.so | \ grep -v /mono.so | \ @@ -262,13 +257,36 @@ grep -v ".dll$" | \ grep -v ".tcl$" > %{name}-%{version}-coreplugins +# files -f file can only take one filename :( +cat %{name}.lang >> %{name}-%{version}-coreplugins + %clean rm -rf %{buildroot} +%pre +if [ "$1" -gt 1 -a -n "`which gconftool-2 2>/dev/null`" ]; then + export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` + gconftool-2 --makefile-uninstall-rule \ + %{_sysconfdir}/gconf/schemas/gaim.schemas >/dev/null || : + killall -HUP gconfd-2 || : +fi + %post -# Modified from the sample at: http://www.gnome.org/projects/gconf/ -[ -n "`which gconftool-2 2>/dev/null`" ] && GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gaim.schemas > /dev/null +if [ -n "`which gconftool-2 2>/dev/null`" ]; then + export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` + gconftool-2 --makefile-install-rule \ + %{_sysconfdir}/gconf/schemas/gaim.schemas > /dev/null || : + killall -HUP gconfd-2 || : +fi +%preun +if [ "$1" -eq 0 -a -n "`which gconftool-2 2>/dev/null`" ]; then + export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` + gconftool-2 --makefile-uninstall-rule \ + %{_sysconfdir}/gconf/schemas/gaim.schemas > /dev/null || : + killall -HUP gconfd-2 || : +fi + %files -f %{name}-%{version}-coreplugins %defattr(-, root, root) @@ -289,12 +307,6 @@ %attr(755, root, root) %{perl_vendorarch}/auto/Gaim %{_bindir}/gaim -%{_bindir}/gaim-client-example -%{_bindir}/gaim-remote -%{_bindir}/gaim-send -%{_bindir}/gaim-send-async -%{_bindir}/gaim-url-handler -%{_datadir}/locale/*/*/* %{_datadir}/pixmaps/* %dir %{_datadir}/sounds/gaim %{_datadir}/sounds/gaim/* @@ -303,6 +315,11 @@ %{_sysconfdir}/gconf/schemas/gaim.schemas %if 0%{?_with_dbus:1} +%{_bindir}/gaim-client-example +%{_bindir}/gaim-remote +%{_bindir}/gaim-send +%{_bindir}/gaim-send-async +%{_bindir}/gaim-url-handler %{_libdir}/libgaim-client.so.* %{_datadir}/dbus-1/services/gaim.service %doc README.dbus @@ -339,13 +356,6 @@ %{_libdir}/gaim/libbonjour.* %endif -%if 0%{?_with_gadugadu:1} -%files gadugadu -%defattr(-, root, root) - -%{_libdir}/gaim/libgg.* -%endif - %if 0%{?_with_meanwhile:1} %files meanwhile %defattr(-, root, root) @@ -375,7 +385,7 @@ %{_libdir}/gaim/tcl.so %endif -%if 0%{!?without_text:1} +%if 0%{!?_without_text:1} %files text %defattr(-, root, root) @@ -388,6 +398,11 @@ %endif %changelog +* Sun Oct 1 2006 Stu Tomlinson <st...@no...> +- We can build with internal gadu gadu again, so bring it back into the + main package +- Deal with gconf schame uninstallation on package upgrade and removal + * Sun Aug 20 2006 Stu Tomlinson <st...@no...> - Make the gstreamer-devel dependency overridable with '--without-gstreamer' to allow building on older distributions without suitable gstreamer This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <nos...@us...> - 2006-10-01 15:16:26
|
Revision: 17417 http://svn.sourceforge.net/gaim/?rev=17417&view=rev Author: nosnilmot Date: 2006-10-01 08:16:21 -0700 (Sun, 01 Oct 2006) Log Message: ----------- Tidy the configure output if suitable sqlite3 is not found, and ensure cap is not built when not building gtk gaim Modified Paths: -------------- trunk/configure.ac Modified: trunk/configure.ac =================================================================== --- trunk/configure.ac 2006-10-01 15:14:05 UTC (rev 17416) +++ trunk/configure.ac 2006-10-01 15:16:21 UTC (rev 17417) @@ -344,15 +344,19 @@ dnl # Check for libsqlite3 (for the Contact Availability Prediction plugin) dnl ####################################################################### if test "x$enable_cap" = "xyes"; then - PKG_CHECK_MODULES(SQLITE3, sqlite3 >= 3.3, , enable_cap="no") + PKG_CHECK_MODULES(SQLITE3, sqlite3 >= 3.3,,[ + AC_MSG_RESULT(no) + enable_cap="no" + ]) fi else # GTK + enable_cap=no + enable_gevolution=no + enable_gtkspell=no enable_screensaver=no enable_sm=no enable_startup_notification=no - enable_gtkspell=no - enable_gevolution=no fi # GTK AM_CONDITIONAL(ENABLE_GTK, test "x$enable_gtkui" = "xyes") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <nos...@us...> - 2006-10-01 15:14:10
|
Revision: 17416 http://svn.sourceforge.net/gaim/?rev=17416&view=rev Author: nosnilmot Date: 2006-10-01 08:14:05 -0700 (Sun, 01 Oct 2006) Log Message: ----------- Don't dereference things before we check if they are NULL Modified Paths: -------------- trunk/libgaim/blist.c Modified: trunk/libgaim/blist.c =================================================================== --- trunk/libgaim/blist.c 2006-10-01 15:11:55 UTC (rev 17415) +++ trunk/libgaim/blist.c 2006-10-01 15:14:05 UTC (rev 17416) @@ -839,11 +839,13 @@ { GaimBlistUiOps *ops = gaim_blist_get_ui_ops(); GaimConversation *conv; - char *old_alias = contact->alias; GaimBlistNode *bnode; + char *old_alias; g_return_if_fail(contact != NULL); + old_alias = contact->alias; + if ((alias != NULL) && (*alias != '\0')) contact->alias = g_strdup(alias); else @@ -872,10 +874,12 @@ void gaim_blist_alias_chat(GaimChat *chat, const char *alias) { GaimBlistUiOps *ops = gaim_blist_get_ui_ops(); - char *old_alias = chat->alias; + char *old_alias; g_return_if_fail(chat != NULL); + old_alias = chat->alias; + if ((alias != NULL) && (*alias != '\0')) chat->alias = g_strdup(alias); else @@ -895,10 +899,12 @@ { GaimBlistUiOps *ops = gaim_blist_get_ui_ops(); GaimConversation *conv; - char *old_alias = buddy->alias; + char *old_alias; g_return_if_fail(buddy != NULL); + old_alias = buddy->alias; + if ((alias != NULL) && (*alias != '\0')) buddy->alias = g_strdup(alias); else @@ -923,10 +929,12 @@ { GaimBlistUiOps *ops = gaim_blist_get_ui_ops(); GaimConversation *conv; - char *old_alias = buddy->server_alias; + char *old_alias; g_return_if_fail(buddy != NULL); + old_alias = buddy->server_alias; + if ((alias != NULL) && (*alias != '\0') && g_utf8_validate(alias, -1, NULL)) buddy->server_alias = g_strdup(alias); else @@ -1404,10 +1412,12 @@ void gaim_contact_set_alias(GaimContact *contact, const char *alias) { GaimBlistUiOps *ops = gaim_blist_get_ui_ops(); - char *old_alias = contact->alias; + char *old_alias; g_return_if_fail(contact != NULL); + old_alias = contact->alias; + if ((alias != NULL) && (*alias != '\0')) contact->alias = g_strdup(alias); else This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <nos...@us...> - 2006-10-01 15:12:00
|
Revision: 17415 http://svn.sourceforge.net/gaim/?rev=17415&view=rev Author: nosnilmot Date: 2006-10-01 08:11:55 -0700 (Sun, 01 Oct 2006) Log Message: ----------- Prevent auto-reconnecting to IRC if the server rejected the account name Modified Paths: -------------- trunk/libgaim/protocols/irc/msgs.c Modified: trunk/libgaim/protocols/irc/msgs.c =================================================================== --- trunk/libgaim/protocols/irc/msgs.c 2006-10-01 15:10:48 UTC (rev 17414) +++ trunk/libgaim/protocols/irc/msgs.c 2006-10-01 15:11:55 UTC (rev 17415) @@ -841,6 +841,7 @@ _("Your selected nickname was rejected by the server. It probably contains invalid characters.")); } else { + gc->wants_to_die = TRUE; gaim_connection_error(gaim_account_get_connection(irc->account), _("Your selected account name was rejected by the server. It probably contains invalid characters.")); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <nos...@us...> - 2006-10-01 15:10:54
|
Revision: 17414 http://svn.sourceforge.net/gaim/?rev=17414&view=rev Author: nosnilmot Date: 2006-10-01 08:10:48 -0700 (Sun, 01 Oct 2006) Log Message: ----------- Hide all widgets when closing a conversation window to hide the rapidly changing window title as each tab is destroyed Modified Paths: -------------- trunk/gtk/gtkconv.c Modified: trunk/gtk/gtkconv.c =================================================================== --- trunk/gtk/gtkconv.c 2006-10-01 15:05:45 UTC (rev 17413) +++ trunk/gtk/gtkconv.c 2006-10-01 15:10:48 UTC (rev 17414) @@ -7545,6 +7545,8 @@ if (win->dialogs.search) gtk_widget_destroy(win->dialogs.search); + gtk_widget_hide_all(win->window); + if (win->gtkconvs) { while (win->gtkconvs) { GList *nextgtk = win->gtkconvs->next; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <nos...@us...> - 2006-10-01 15:06:00
|
Revision: 17413 http://svn.sourceforge.net/gaim/?rev=17413&view=rev Author: nosnilmot Date: 2006-10-01 08:05:45 -0700 (Sun, 01 Oct 2006) Log Message: ----------- Only de-sensitize the Add button if no username is set Modified Paths: -------------- trunk/gtk/plugins/gevolution/new_person_dialog.c Modified: trunk/gtk/plugins/gevolution/new_person_dialog.c =================================================================== --- trunk/gtk/plugins/gevolution/new_person_dialog.c 2006-10-01 06:11:05 UTC (rev 17412) +++ trunk/gtk/plugins/gevolution/new_person_dialog.c 2006-10-01 15:05:45 UTC (rev 17413) @@ -412,7 +412,8 @@ /* Add button */ button = gtk_button_new_from_stock(GTK_STOCK_ADD); dialog->add_button = button; - gtk_widget_set_sensitive(button, FALSE); + if (username == NULL || *username == '\0') + gtk_widget_set_sensitive(button, FALSE); gtk_box_pack_start(GTK_BOX(bbox), button, FALSE, FALSE, 0); gtk_widget_show(button); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rl...@us...> - 2006-10-01 06:11:10
|
Revision: 17412 http://svn.sourceforge.net/gaim/?rev=17412&view=rev Author: rlaager Date: 2006-09-30 23:11:05 -0700 (Sat, 30 Sep 2006) Log Message: ----------- Full name for zdeqb (the submitter of the last patch I committed) Modified Paths: -------------- trunk/COPYRIGHT Modified: trunk/COPYRIGHT =================================================================== --- trunk/COPYRIGHT 2006-10-01 01:37:53 UTC (rev 17411) +++ trunk/COPYRIGHT 2006-10-01 06:11:05 UTC (rev 17412) @@ -336,4 +336,5 @@ Nickolai Zeldovich Marco Ziech Piotr Zielinski +Welker Zsombor Jeroen Zwartepoorte This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rl...@us...> - 2006-10-01 01:37:58
|
Revision: 17411 http://svn.sourceforge.net/gaim/?rev=17411&view=rev Author: rlaager Date: 2006-09-30 18:37:53 -0700 (Sat, 30 Sep 2006) Log Message: ----------- SF Patch #1568503 from zdeqb Adds a perl binding for gaim_buddy_get_server_alias(). Modified Paths: -------------- trunk/libgaim/plugins/perl/common/BuddyList.xs Modified: trunk/libgaim/plugins/perl/common/BuddyList.xs =================================================================== --- trunk/libgaim/plugins/perl/common/BuddyList.xs 2006-09-30 20:28:22 UTC (rev 17410) +++ trunk/libgaim/plugins/perl/common/BuddyList.xs 2006-10-01 01:37:53 UTC (rev 17411) @@ -333,6 +333,10 @@ const char *screenname const char *alias +const char * +gaim_buddy_get_server_alias(buddy) + Gaim::BuddyList::Buddy buddy + void gaim_buddy_set_icon(buddy, icon) Gaim::BuddyList::Buddy buddy This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <de...@us...> - 2006-09-30 08:24:23
|
Revision: 17408 http://svn.sourceforge.net/gaim/?rev=17408&view=rev Author: deryni9 Date: 2006-09-30 01:24:17 -0700 (Sat, 30 Sep 2006) Log Message: ----------- I'm pretty sure this is what was meant here, and no this doesn't indicate a general level of boredom. Modified Paths: -------------- trunk/libgaim/account.c Modified: trunk/libgaim/account.c =================================================================== --- trunk/libgaim/account.c 2006-09-30 03:49:00 UTC (rev 17407) +++ trunk/libgaim/account.c 2006-09-30 08:24:17 UTC (rev 17408) @@ -1354,7 +1354,7 @@ { g_return_if_fail(account != NULL); - /* Old with the old... */ + /* Out with the old... */ if (account->status_types != NULL) { g_list_foreach(account->status_types, (GFunc)gaim_status_type_destroy, NULL); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <de...@us...> - 2006-09-30 03:08:52
|
Revision: 17406 http://svn.sourceforge.net/gaim/?rev=17406&view=rev Author: deryni9 Date: 2006-09-29 20:08:47 -0700 (Fri, 29 Sep 2006) Log Message: ----------- It was discussed on gaim-devel a little while ago that having group counts on collapsed groups might be a good idea, so here that is. It's not perfect, there seem to be some redrawing issues here, the blist row doesn't get redrawn until you select a different row, but I'm not sure that there's anything to do about that (and even if there is I don't know what). Modified Paths: -------------- trunk/gtk/gtkblist.c Modified: trunk/gtk/gtkblist.c =================================================================== --- trunk/gtk/gtkblist.c 2006-09-30 03:02:01 UTC (rev 17405) +++ trunk/gtk/gtkblist.c 2006-09-30 03:08:47 UTC (rev 17406) @@ -4385,10 +4385,11 @@ show = TRUE;} if (show) { + char group_count[12] = ""; char *mark, *esc; GtkTreeIter iter; GtkTreePath *path; - gboolean expanded; + gboolean expanded; GdkColor bgcolor; GdkColor textcolor; @@ -4402,13 +4403,19 @@ expanded = gtk_tree_view_row_expanded(GTK_TREE_VIEW(gtkblist->treeview), path); gtk_tree_path_free(path); + if (!expanded) { + g_snprintf(group_count, sizeof(group_count), " (%d/%d)", + gaim_blist_get_group_online_count(group), + gaim_blist_get_group_size(group, FALSE)); + } + esc = g_markup_escape_text(group->name, -1); if (selected) - mark = g_strdup_printf("<span weight='bold'>%s</span>",esc); + mark = g_strdup_printf("<span weight='bold'>%s</span>%s", esc, group_count); else - mark = g_strdup_printf("<span color='#%02x%02x%02x' weight='bold'>%s</span>", + mark = g_strdup_printf("<span color='#%02x%02x%02x' weight='bold'>%s</span>%s", textcolor.red>>8, textcolor.green>>8, textcolor.blue>>8, - esc); + esc, group_count); g_free(esc); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rl...@us...> - 2006-09-30 03:02:08
|
Revision: 17405 http://svn.sourceforge.net/gaim/?rev=17405&view=rev Author: rlaager Date: 2006-09-29 20:02:01 -0700 (Fri, 29 Sep 2006) Log Message: ----------- SF Patch #1568062 from Mike Stoddard "This fixes a crash when processing the contact list during login. In some cases where there was an invalid contact in the list, a NULL string was being passed to g_utf8_strdown causing the segfault." Modified Paths: -------------- trunk/libgaim/protocols/novell/nmuser.c Modified: trunk/libgaim/protocols/novell/nmuser.c =================================================================== --- trunk/libgaim/protocols/novell/nmuser.c 2006-09-30 02:48:29 UTC (rev 17404) +++ trunk/libgaim/protocols/novell/nmuser.c 2006-09-30 03:02:01 UTC (rev 17405) @@ -1137,17 +1137,27 @@ void nm_user_add_user_record(NMUser * user, NMUserRecord * user_record) { + const char *display_id; + const char *dn; + + if (!user || !user_record) + return; + + display_id = nm_user_record_get_display_id(user_record); + dn = nm_user_record_get_dn(user_record); + + if (!dn || !display_id) + return; + nm_user_record_add_ref(user_record); g_hash_table_insert(user->user_records, - g_utf8_strdown(nm_user_record_get_dn(user_record), -1), + g_utf8_strdown(dn, -1), user_record); g_hash_table_insert(user->display_id_to_dn, - g_utf8_strdown(nm_user_record_get_display_id(user_record), - -1), - g_utf8_strdown(nm_user_record_get_dn(user_record), -1)); - + g_utf8_strdown(display_id, -1), + g_utf8_strdown(dn, -1)); } nm_event_cb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <nos...@us...> - 2006-09-30 02:48:35
|
Revision: 17404 http://svn.sourceforge.net/gaim/?rev=17404&view=rev Author: nosnilmot Date: 2006-09-29 19:48:29 -0700 (Fri, 29 Sep 2006) Log Message: ----------- Make things "go" with gtk 2.0. hopefully all those still using 2.0 dont't really care all that much for graphics and stuff as they're probably quite old now. Modified Paths: -------------- trunk/gtk/gtkutils.c Modified: trunk/gtk/gtkutils.c =================================================================== --- trunk/gtk/gtkutils.c 2006-09-30 02:44:03 UTC (rev 17403) +++ trunk/gtk/gtkutils.c 2006-09-30 02:48:29 UTC (rev 17404) @@ -2458,13 +2458,13 @@ char * gaim_gtk_convert_buddy_icon(GaimPlugin *plugin, const char *path) { + GaimPluginProtocolInfo *prpl_info; + char **prpl_formats; #if GTK_CHECK_VERSION(2,2,0) int width, height; char **pixbuf_formats = NULL; GdkPixbufFormat *format; GdkPixbuf *pixbuf; - GaimPluginProtocolInfo *prpl_info; - char **prpl_formats; #if !GTK_CHECK_VERSION(2,4,0) GdkPixbufLoader *loader; FILE *file; @@ -2694,7 +2694,12 @@ height = info->height; } +#if GTK_CHECK_VERSION(2,2,0) /* 2.0 users are going to have very strangely sized things */ gdk_pixbuf_loader_set_size (loader, width, height); +#else +#warning nosnilmot could not be bothered to fix this properly for you +#warning ... good luck ... your images may end up strange sizes +#endif } GdkPixbuf * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <nos...@us...> - 2006-09-30 02:44:07
|
Revision: 17403 http://svn.sourceforge.net/gaim/?rev=17403&view=rev Author: nosnilmot Date: 2006-09-29 19:44:03 -0700 (Fri, 29 Sep 2006) Log Message: ----------- I don't think this crashes any more than it did before and it does now compile with older Gtk versions. Thanks to Sadrul for the patch. Modified Paths: -------------- trunk/gtk/gtkcellrendererexpander.c Modified: trunk/gtk/gtkcellrendererexpander.c =================================================================== --- trunk/gtk/gtkcellrendererexpander.c 2006-09-30 00:14:00 UTC (rev 17402) +++ trunk/gtk/gtkcellrendererexpander.c 2006-09-30 02:44:03 UTC (rev 17403) @@ -28,6 +28,7 @@ * Jonathon Blandford <jr...@re...> for RedHat, Inc. */ +#include <gtk/gtk.h> #include <gtk/gtktreeview.h> #include "gtkcellrendererexpander.h" @@ -245,8 +246,13 @@ width = cell_area->width; height = cell_area->height; +#if GTK_CHECK_VERSION(2,6,0) if (!cell->sensitive) state = GTK_STATE_INSENSITIVE; +#else + if (GTK_WIDGET_STATE(widget) == GTK_STATE_INSENSITIVE) + state = GTK_STATE_INSENSITIVE; +#endif else if (flags & GTK_CELL_RENDERER_PRELIT) state = GTK_STATE_PRELIGHT; else if (GTK_WIDGET_HAS_FOCUS (widget) && flags & GTK_CELL_RENDERER_SELECTED) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <nos...@us...> - 2006-09-29 20:49:37
|
Revision: 17401 http://svn.sourceforge.net/gaim/?rev=17401&view=rev Author: nosnilmot Date: 2006-09-29 13:49:33 -0700 (Fri, 29 Sep 2006) Log Message: ----------- unleak Modified Paths: -------------- trunk/gtk/gtkutils.c Modified: trunk/gtk/gtkutils.c =================================================================== --- trunk/gtk/gtkutils.c 2006-09-29 20:48:45 UTC (rev 17400) +++ trunk/gtk/gtkutils.c 2006-09-29 20:49:33 UTC (rev 17401) @@ -2561,12 +2561,14 @@ g_free(random); g_free(filename); + g_free(contents); #if GTK_CHECK_VERSION(2,2,0) && !GTK_CHECK_VERSION(2,4,0) g_object_unref(G_OBJECT(pixbuf)); #endif return NULL; } fclose(image); + g_free(contents); #if GTK_CHECK_VERSION(2,2,0) && !GTK_CHECK_VERSION(2,4,0) g_object_unref(G_OBJECT(pixbuf)); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |