gedit r6279 - in trunk: . plugins/filebrowser
- From: pborelli svn gnome org
- To: svn-commits-list gnome org
- Subject: gedit r6279 - in trunk: . plugins/filebrowser
- Date: Mon, 12 May 2008 15:57:38 +0100 (BST)
Author: pborelli
Date: Mon May 12 14:57:37 2008
New Revision: 6279
URL: http://svn.gnome.org/viewvc/gedit?rev=6279&view=rev
Log:
another patch by jesse
Modified:
trunk/ChangeLog
trunk/plugins/filebrowser/gedit-file-browser-view.c
Modified: trunk/plugins/filebrowser/gedit-file-browser-view.c
==============================================================================
--- trunk/plugins/filebrowser/gedit-file-browser-view.c (original)
+++ trunk/plugins/filebrowser/gedit-file-browser-view.c Mon May 12 14:57:37 2008
@@ -112,10 +112,6 @@
GtkTreePath * path,
GtkTreeIter * iter,
GeditFileBrowserView * view);
-
-static void on_virtual_root_changed (GeditFileBrowserStore * model,
- GParamSpec * param,
- GeditFileBrowserView * view);
static void
gedit_file_browser_view_finalize (GObject * object)
@@ -721,10 +717,6 @@
g_signal_handlers_disconnect_by_func (model,
on_row_inserted,
tree_view);
-
- g_signal_handlers_disconnect_by_func (model,
- on_virtual_root_changed,
- tree_view);
}
static void
@@ -750,11 +742,6 @@
"row-inserted",
G_CALLBACK (on_row_inserted),
tree_view);
-
- g_signal_connect (model,
- "notify::virtual-root",
- G_CALLBACK (on_virtual_root_changed),
- tree_view);
}
static void
@@ -782,14 +769,13 @@
fill_expand_state (view, NULL);
install_restore_signals (view, view->priv->model);
- on_virtual_root_changed (GEDIT_FILE_BROWSER_STORE (view->priv->model),
- NULL,
- view);
}
}
else if (view->priv->model && GEDIT_IS_FILE_BROWSER_STORE (view->priv->model))
+ {
uninstall_restore_signals (view, view->priv->model);
-
+ }
+
view->priv->restore_expand_state = state;
}
@@ -1167,7 +1153,6 @@
}
}
-
static void
on_begin_loading (GeditFileBrowserStore * model, GtkTreeIter * iter,
GeditFileBrowserView * obj)
@@ -1273,16 +1258,5 @@
gtk_tree_path_free (copy);
}
-
-static void
-on_virtual_root_changed (GeditFileBrowserStore * model,
- GParamSpec * param,
- GeditFileBrowserView * view)
-{
- gchar * uri = gedit_file_browser_store_get_virtual_root (model);
-
- add_expand_state (view, uri);
- g_free (uri);
-}
// ex:ts=8:noet:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]