mirror of https://github.com/GNOME/gimp.git
fixed signal connection.
2006-04-29 Sven Neumann <sven@gimp.org> * app/dialogs/user-install-dialog.c: fixed signal connection. * app/core/gimp-user-install.c: indentation.
This commit is contained in:
parent
7debd74dc6
commit
a75fc42af0
|
@ -1,3 +1,9 @@
|
|||
2006-04-29 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/dialogs/user-install-dialog.c: fixed signal connection.
|
||||
|
||||
* app/core/gimp-user-install.c: indentation.
|
||||
|
||||
2006-04-29 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/core/Makefile.am (AM_CPP_FLAGS): define GIMP_APP_VERSION.
|
||||
|
|
|
@ -139,7 +139,6 @@ gimp_user_install_new ()
|
|||
}
|
||||
|
||||
/* we assume that GIMP_APP_VERSION is in the form '2.x' */
|
||||
|
||||
version[2] = '2';
|
||||
|
||||
migrate = g_file_test (dir, G_FILE_TEST_IS_DIR);
|
||||
|
@ -296,7 +295,7 @@ user_install_file_copy (GimpUserInstall *install,
|
|||
|
||||
static gboolean
|
||||
user_install_mkdir (GimpUserInstall *install,
|
||||
const gchar *dirname)
|
||||
const gchar *dirname)
|
||||
{
|
||||
user_install_log (install, _("Creating folder '%s'..."),
|
||||
gimp_filename_to_utf8 (dirname));
|
||||
|
|
|
@ -263,12 +263,15 @@ user_install_dialog_log (const gchar *message,
|
|||
gboolean error,
|
||||
gpointer data)
|
||||
{
|
||||
GtkWidget *dialog = data;
|
||||
GtkWidget *dialog = data;
|
||||
GtkWidget *view = g_object_get_data (G_OBJECT (dialog), "log-view");
|
||||
GtkTextBuffer *buffer = g_object_get_data (G_OBJECT (dialog), "log-buffer");
|
||||
GdkPixbuf *pixbuf;
|
||||
GtkTextIter cursor;
|
||||
|
||||
g_return_if_fail (GTK_IS_WIDGET (view));
|
||||
g_return_if_fail (GTK_IS_TEXT_BUFFER (buffer));
|
||||
|
||||
gtk_text_buffer_insert_at_cursor (buffer, error ? "\n" : " ", -1);
|
||||
|
||||
gtk_text_buffer_get_end_iter (buffer, &cursor);
|
||||
|
@ -375,7 +378,7 @@ user_install_dialog_run (GimpUserInstall *install)
|
|||
|
||||
g_signal_connect (dialog, "response",
|
||||
G_CALLBACK (user_install_dialog_response),
|
||||
notebook);
|
||||
install);
|
||||
|
||||
user_install_dialog_add_welcome_page (install, notebook);
|
||||
|
||||
|
|
Loading…
Reference in New Issue