Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwife.git;a=commitdiff;h=038701410eb01060f857113e6ed81243b71aaa79

commit 038701410eb01060f857113e6ed81243b71aaa79
Author: Elentir <elen...@mailoo.org>
Date:   Tue Jul 28 13:21:51 2009 +0200

add missing skip_to_next_plugin function

diff --git a/src/fwife.c b/src/fwife.c
index ebc3251..0a0160b 100644
--- a/src/fwife.c
+++ b/src/fwife.c
@@ -213,6 +213,13 @@ int plugin_previous(GtkWidget *w, gpointer user_data)
return 0;
}

+/* Go to next plugin in special case */
+int skip_to_next_plugin()
+{
+       gtk_assistant_set_current_page(GTK_ASSISTANT(assistant), 
gtk_assistant_get_current_page(GTK_ASSISTANT(assistant))+1);
+       return plugin_next(NULL,NULL);
+}
+
/* Load next plugin */
int show_help(GtkWidget *w, gpointer user_data)
{
diff --git a/src/fwife.h b/src/fwife.h
index 21b72cc..c3f05b3 100644
--- a/src/fwife.h
+++ b/src/fwife.h
@@ -78,6 +78,9 @@ void set_page_completed();
void set_page_incompleted();

/* Force fwife to quit */
-void fwife_exit();
+void fwife_exit();
+
+/* Go to next plugin in special case */
+int skip_to_next_plugin();

#endif /* FWIFE_H_INCLUDED */
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to