Patch for initial setup notebook
- From: rfc826 <rfc826 iafrica com>
- To: balsa-list gnome org
- Subject: Patch for initial setup notebook
- Date: Thu, 1 Oct 1998 23:05:17 +0200 (SAT)
<delurk>
i've just started fiddling with GTK, Gnome & Balsa so have almost no idea
what i'm doing (so if the stuff below is stupid, educate me!). Until i
have enough knowledge to warrant write perm. in CVS, is posting patches
here appropriate? Should i be mailing one of the primary authors rather?
Below is a patch (actually it is the whole routine (for
various silly reasons i wasn't able to produce a patch file. Future
submissions will be "real" patch files)) that fixes the problem of the
"Finish" button in the initial setup notebook (when no .balsarc exists)
not reverting back to "Next..." if the user clicks on the "Previous..."
button. It's not very elegant but what the hell.
==== pseudo-patch start
balsa-init.c
------------
static void
prev_cb (GtkWidget * widget, gpointer data)
{
//>>> Ensure the "Next..." button is always labelled appropriately.
gtk_label_set (GTK_LABEL (GTK_BIN (iw->next)->child), "Next...");
gtk_notebook_prev_page (GTK_NOTEBOOK (iw->notebook));
gtk_widget_set_sensitive (iw->next, TRUE);
if (gtk_notebook_current_page (GTK_NOTEBOOK (iw->notebook)) == IW_PAGE_WELCOME)
gtk_widget_set_sensitive (iw->prev, FALSE);
}
==== pseudo-patch end
</delurk>
-----------------
This statement contains |
one error. | mailto:rfc826@iafrica.com
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]