[libpeas] Don't select the first plugin when reloading
- From: Steve Frécinaux <sfre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas] Don't select the first plugin when reloading
- Date: Sun, 6 Mar 2011 15:45:20 +0000 (UTC)
commit 943c9691f49a336476b50926115804e199d6bc28
Author: Garrett Regier <alias301 gmail com>
Date: Sun Mar 6 04:58:46 2011 -0800
Don't select the first plugin when reloading
We don't do this in other places so don't bother.
libpeas-gtk/peas-gtk-plugin-manager-view.c | 18 ------------------
1 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/libpeas-gtk/peas-gtk-plugin-manager-view.c b/libpeas-gtk/peas-gtk-plugin-manager-view.c
index ce83295..75823ec 100644
--- a/libpeas-gtk/peas-gtk-plugin-manager-view.c
+++ b/libpeas-gtk/peas-gtk-plugin-manager-view.c
@@ -198,24 +198,6 @@ plugin_list_changed_cb (PeasEngine *engine,
peas_gtk_plugin_manager_store_reload (view->priv->store);
- if (info == NULL)
- {
- GtkTreeModel *model;
- GtkTreeIter iter;
-
- model = gtk_tree_view_get_model (GTK_TREE_VIEW (view));
-
- if (gtk_tree_model_get_iter_first (model, &iter))
- {
- PeasGtkPluginManagerStore *store;
-
- store = PEAS_GTK_PLUGIN_MANAGER_STORE (view->priv->store);
-
- convert_iter_to_child_iter (view, &iter);
- info = peas_gtk_plugin_manager_store_get_plugin (store, &iter);
- }
- }
-
if (info != NULL)
peas_gtk_plugin_manager_view_set_selected_plugin (view, info);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]