[anjuta/git-shell] git: Adapt to Gtk 3.0 changes



commit ddf03b5624040431fe03bb051f7074b70eb6ef03
Author: James Liggett <jrliggett cox net>
Date:   Sat Nov 13 14:05:07 2010 -0800

    git: Adapt to Gtk 3.0 changes

 plugins/git/git-pane.c                |    1 -
 plugins/git/git-repository-selector.c |    4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/plugins/git/git-pane.c b/plugins/git/git-pane.c
index 9086f89..4fadc7b 100644
--- a/plugins/git/git-pane.c
+++ b/plugins/git/git-pane.c
@@ -227,7 +227,6 @@ message_dialog (GtkMessageType message_type, const gchar *message, Git *plugin)
 	text_view = gtk_text_view_new ();
 	text_buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (text_view));
 
-	gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
 	gtk_widget_set_size_request (text_view, 500, 150);
 	
 	gtk_container_add (GTK_CONTAINER (scrolled_window), text_view);
diff --git a/plugins/git/git-repository-selector.c b/plugins/git/git-repository-selector.c
index dae6f2a..5a1ed83 100644
--- a/plugins/git/git-repository-selector.c
+++ b/plugins/git/git-repository-selector.c
@@ -152,8 +152,8 @@ git_repository_selector_grab_focus (GtkWidget *widget)
 	GTK_WIDGET_CLASS (git_repository_selector_parent_class)->grab_focus (widget);
 
 	/* Only the URL entry can grab focus */
-	gtk_notebook_set_page (GTK_NOTEBOOK (self->priv->notebook), 
-	                       GIT_REPOSITORY_SELECTOR_URL);
+	gtk_notebook_set_current_page (GTK_NOTEBOOK (self->priv->notebook), 
+	                               GIT_REPOSITORY_SELECTOR_URL);
 	gtk_widget_grab_focus (self->priv->url_entry);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]