Commit ddf03b56 authored by James Liggett's avatar James Liggett

git: Adapt to Gtk 3.0 changes

parent ca075c88
......@@ -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);
......
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment