file-roller r2208 - in trunk: . src
- From: paobac svn gnome org
- To: svn-commits-list gnome org
- Subject: file-roller r2208 - in trunk: . src
- Date: Thu, 3 Apr 2008 12:11:45 +0100 (BST)
Author: paobac
Date: Thu Apr 3 12:11:44 2008
New Revision: 2208
URL: http://svn.gnome.org/viewvc/file-roller?rev=2208&view=rev
Log:
2008-04-03 Paolo Bacchilega <paobac svn gnome org>
* src/fr-window.c:
* src/fr-archive.c:
* src/file-utils.h:
* src/dlg-open-with.c:
remove useless code.
Modified:
trunk/ChangeLog
trunk/src/dlg-open-with.c
trunk/src/file-utils.h
trunk/src/fr-archive.c
trunk/src/fr-window.c
Modified: trunk/src/dlg-open-with.c
==============================================================================
--- trunk/src/dlg-open-with.c (original)
+++ trunk/src/dlg-open-with.c Thu Apr 3 12:11:44 2008
@@ -135,9 +135,9 @@
app_list_selection_changed_cb (GtkTreeSelection *selection,
gpointer p)
{
- DialogData *data = p;
- GtkTreeIter iter;
- GnomeVFSMimeApplication *app;
+ DialogData *data = p;
+ GtkTreeIter iter;
+ GAppInfo *app;
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (data->o_app_tree_view));
if (selection == NULL)
Modified: trunk/src/file-utils.h
==============================================================================
--- trunk/src/file-utils.h (original)
+++ trunk/src/file-utils.h Thu Apr 3 12:11:44 2008
@@ -95,7 +95,6 @@
/* URI/Path utils */
const char * get_home_uri (void);
-GnomeVFSURI * new_uri_from_path (const char *path);
char * get_uri_from_local_path (const char *local_path);
char * get_local_path_from_uri (const char *uri);
const char * get_file_path_from_uri (const char *uri);
Modified: trunk/src/fr-archive.c
==============================================================================
--- trunk/src/fr-archive.c (original)
+++ trunk/src/fr-archive.c Thu Apr 3 12:11:44 2008
@@ -140,7 +140,6 @@
char *uri;
char *password;
FRAction action;
- GnomeVFSResult result;
GList *file_list;
char *base_uri;
char *dest_dir;
Modified: trunk/src/fr-window.c
==============================================================================
--- trunk/src/fr-window.c (original)
+++ trunk/src/fr-window.c Thu Apr 3 12:11:44 2008
@@ -7543,40 +7543,6 @@
static void
-open_file_modified_cb (GnomeVFSMonitorHandle *handle,
- const char *monitor_uri,
- const char *info_uri,
- GnomeVFSMonitorEventType event_type,
- gpointer user_data)
-{
- FrWindow *window = user_data;
- OpenFile *file;
- GList *scan;
-
- if ((event_type != GNOME_VFS_MONITOR_EVENT_CHANGED)
- && (event_type != GNOME_VFS_MONITOR_EVENT_CREATED))
- {
- return;
- }
-
- file = NULL;
- for (scan = window->priv->open_files; scan; scan = scan->next) {
- OpenFile *test = scan->data;
- if (uricmp (test->extracted_uri, monitor_uri) == 0) {
- file = test;
- break;
- }
- }
-
- g_return_if_fail (file != NULL);
-
- if (window->priv->update_dialog == NULL)
- window->priv->update_dialog = dlg_update (window);
- dlg_update_add_file (window->priv->update_dialog, file);
-}
-
-
-static void
open_file_modified_cb (GFileMonitor *monitor,
GFile *file,
GFile *other_file,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]