grim/guifications1

Parents ae19ddd4567c
Children b265f29f5b68
compiles on windows now, crashes at startup though. Updated README to let people know about gaim pre 0.75 support being dropped
  • +3 -0
    README
  • +10 -0
    gf_theme_editor.c
  • +1 -0
    gf_utils.c
  • --- a/README Fri Jan 02 10:59:27 2004 +0000
    +++ b/README Fri Jan 02 12:16:41 2004 +0000
    @@ -19,5 +19,8 @@
    INSTALL
    =======
    +Due to changes in the gaim source and my own laziness, Guifications will not
    +work with any version of Gaim earlier than 0.75!
    +
    For install instructions for windows see INSTALL.WIN32
    For all other operating systems see the INSTALL file
    --- a/gf_theme_editor.c Fri Jan 02 10:59:27 2004 +0000
    +++ b/gf_theme_editor.c Fri Jan 02 12:16:41 2004 +0000
    @@ -488,18 +488,22 @@
    gtk_entry_set_text(GTK_ENTRY(theme_name), theme.info[0]);
    else
    gtk_entry_set_text(GTK_ENTRY(theme_name), "");
    +
    if (theme.info[1] != NULL)
    gtk_entry_set_text(GTK_ENTRY(theme_version), theme.info[1]);
    else
    gtk_entry_set_text(GTK_ENTRY(theme_version), "");
    +
    if (theme.info[2] != NULL)
    gtk_entry_set_text(GTK_ENTRY(theme_description), theme.info[2]);
    else
    gtk_entry_set_text(GTK_ENTRY(theme_description), "");
    +
    if (theme.info[3] != NULL)
    gtk_entry_set_text(GTK_ENTRY(theme_author), theme.info[3]);
    else
    gtk_entry_set_text(GTK_ENTRY(theme_author), "");
    +
    if (theme.info[4] != NULL)
    gtk_entry_set_text(GTK_ENTRY(theme_website), theme.info[4]);
    else
    @@ -510,6 +514,7 @@
    gtk_entry_set_text(GTK_ENTRY(basic_image_file), theme.data.basic.image);
    else
    gtk_entry_set_text(GTK_ENTRY(basic_image_file), "");
    +
    gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(basic_text_font_check), theme.data.basic.text_custom_font);
    gtk_widget_set_sensitive(basic_text_font_button, theme.data.basic.text_custom_font);
    gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(basic_text_color_check), theme.data.basic.text_custom_color);
    @@ -528,22 +533,27 @@
    gtk_entry_set_text(GTK_ENTRY(basic_message_signon), theme.data.basic.messages[0]);
    else
    gtk_entry_set_text(GTK_ENTRY(basic_message_signon), "");
    +
    if (theme.data.basic.messages[1] != NULL)
    gtk_entry_set_text(GTK_ENTRY(basic_message_signoff), theme.data.basic.messages[1]);
    else
    gtk_entry_set_text(GTK_ENTRY(basic_message_signoff), "");
    +
    if (theme.data.basic.messages[2] != NULL)
    gtk_entry_set_text(GTK_ENTRY(basic_message_away), theme.data.basic.messages[2]);
    else
    gtk_entry_set_text(GTK_ENTRY(basic_message_away), "");
    +
    if (theme.data.basic.messages[3] != NULL)
    gtk_entry_set_text(GTK_ENTRY(basic_message_back), theme.data.basic.messages[3]);
    else
    gtk_entry_set_text(GTK_ENTRY(basic_message_back), "");
    +
    if (theme.data.basic.messages[4] != NULL)
    gtk_entry_set_text(GTK_ENTRY(basic_message_idle), theme.data.basic.messages[4]);
    else
    gtk_entry_set_text(GTK_ENTRY(basic_message_idle), "");
    +
    if (theme.data.basic.messages[5] != NULL)
    gtk_entry_set_text(GTK_ENTRY(basic_message_unidle), theme.data.basic.messages[5]);
    else
    --- a/gf_utils.c Fri Jan 02 10:59:27 2004 +0000
    +++ b/gf_utils.c Fri Jan 02 12:16:41 2004 +0000
    @@ -460,6 +460,7 @@
    proto = g_strdup_printf("%s.png", prplinfo->list_icon(buddy->account, buddy));
    file = g_build_filename(DATADIR, "pixmaps", "gaim", "status", "default", proto, NULL);
    + g_free(proto);
    src = gdk_pixbuf_new_from_file(file, NULL);
    g_free(file);