[f-spot] we don't need an FSpot.Gui namespace
- From: Stephane Delcroix <sdelcroix src gnome org>
- To: svn-commits-list gnome org
- Subject: [f-spot] we don't need an FSpot.Gui namespace
- Date: Mon, 6 Jul 2009 09:37:31 +0000 (UTC)
commit a081fb8974749de346125cba6b3d622f76319096
Author: Stephane Delcroix <stephane delcroix org>
Date: Mon Jul 6 11:33:31 2009 +0200
we don't need an FSpot.Gui namespace
src/DragDropTargets.cs | 4 ++--
src/FolderQueryWidget.cs | 4 ++--
src/MainWindow.cs | 1 -
src/QueryWidget.cs | 1 -
src/SelectionDataExtensions.cs | 4 ++--
src/SingleView.cs | 9 ++++-----
src/TagQueryWidget.cs | 1 -
src/TagSelectionWidget.cs | 3 +--
src/Term.cs | 4 ----
src/UI.Dialog/TagSelectionDialog.cs | 1 -
src/Widgets/FolderTreePage.cs | 1 -
11 files changed, 11 insertions(+), 22 deletions(-)
---
diff --git a/src/DragDropTargets.cs b/src/DragDropTargets.cs
index 34b1b58..f893e0a 100644
--- a/src/DragDropTargets.cs
+++ b/src/DragDropTargets.cs
@@ -1,5 +1,5 @@
/*
- * FSpot.Gui.DragDropTargets.cs
+ * FSpot.DragDropTargets.cs
*
* Author(s)
* Mike Gemuende <mike gemuende de>
@@ -10,7 +10,7 @@
using System;
using Gtk;
-namespace FSpot.Gui
+namespace FSpot
{
public static class DragDropTargets
{
diff --git a/src/FolderQueryWidget.cs b/src/FolderQueryWidget.cs
index e150e9d..1f9780b 100644
--- a/src/FolderQueryWidget.cs
+++ b/src/FolderQueryWidget.cs
@@ -1,5 +1,5 @@
/*
- * FSpot.Gui.FolderQueryWidget.cs
+ * FSpot.FolderQueryWidget.cs
*
* Author(s)
* Mike Gemuende <mike gemuende de>
@@ -20,7 +20,7 @@ using FSpot;
using FSpot.Utils;
using FSpot.Query;
-namespace FSpot.Gui
+namespace FSpot
{
diff --git a/src/MainWindow.cs b/src/MainWindow.cs
index 618ad97..aa14f0d 100644
--- a/src/MainWindow.cs
+++ b/src/MainWindow.cs
@@ -23,7 +23,6 @@ using FSpot.Widgets;
using FSpot.Utils;
using FSpot.UI.Dialog;
using FSpot.Platform;
-using FSpot.Gui;
using LibGPhoto2;
diff --git a/src/QueryWidget.cs b/src/QueryWidget.cs
index ee4c7e1..e2d2e59 100644
--- a/src/QueryWidget.cs
+++ b/src/QueryWidget.cs
@@ -15,7 +15,6 @@ using Mono.Unix;
using Gtk;
-using FSpot.Gui;
using FSpot.Utils;
using FSpot.Query;
using FSpot.Widgets;
diff --git a/src/SelectionDataExtensions.cs b/src/SelectionDataExtensions.cs
index fae55cd..d9d4634 100644
--- a/src/SelectionDataExtensions.cs
+++ b/src/SelectionDataExtensions.cs
@@ -1,5 +1,5 @@
/*
- * FSpot.Gui.SelectionDataExtensions.cs
+ * FSpot.SelectionDataExtensions.cs
*
* Author(s)
* Mike Gemuende <mike gemuende de>
@@ -17,7 +17,7 @@ using Gdk;
using FSpot;
using FSpot.Utils;
-namespace FSpot.Gui
+namespace FSpot
{
public static class SelectionDataExtensions
{
diff --git a/src/SingleView.cs b/src/SingleView.cs
index 37c249e..29749be 100644
--- a/src/SingleView.cs
+++ b/src/SingleView.cs
@@ -9,7 +9,6 @@ using FSpot.Utils;
using FSpot.UI.Dialog;
using FSpot.Widgets;
using FSpot.Platform;
-using FSpot.Gui;
namespace FSpot {
public class SingleView {
@@ -109,8 +108,8 @@ namespace FSpot {
collection = new UriCollection (uris);
TargetEntry [] dest_table = {
- FSpot.Gui.DragDropTargets.UriListEntry,
- FSpot.Gui.DragDropTargets.PlainTextEntry
+ FSpot.DragDropTargets.UriListEntry,
+ FSpot.DragDropTargets.PlainTextEntry
};
directory_view = new FSpot.Widgets.IconView (collection);
@@ -468,8 +467,8 @@ namespace FSpot {
void HandleDragDataReceived (object sender, DragDataReceivedArgs args)
{
- if (args.Info == FSpot.Gui.DragDropTargets.UriListEntry.Info
- || args.Info == FSpot.Gui.DragDropTargets.PlainTextEntry.Info) {
+ if (args.Info == FSpot.DragDropTargets.UriListEntry.Info
+ || args.Info == FSpot.DragDropTargets.PlainTextEntry.Info) {
/*
* If the drop is coming from inside f-spot then we don't want to import
diff --git a/src/TagQueryWidget.cs b/src/TagQueryWidget.cs
index c6ebb3a..f865c27 100644
--- a/src/TagQueryWidget.cs
+++ b/src/TagQueryWidget.cs
@@ -6,7 +6,6 @@ using Gtk;
using Gdk;
using FSpot.Utils;
-using FSpot.Gui;
namespace FSpot
{
diff --git a/src/TagSelectionWidget.cs b/src/TagSelectionWidget.cs
index dc8091c..e9294ce 100644
--- a/src/TagSelectionWidget.cs
+++ b/src/TagSelectionWidget.cs
@@ -21,14 +21,13 @@ using Gtk;
using Mono.Unix;
using FSpot;
-using FSpot.Gui;
using FSpot.Utils;
using FSpot.Widgets;
using FSpot.UI.Dialog;
-namespace FSpot.Gui {
+namespace FSpot {
public class TagSelectionWidget : SaneTreeView {
diff --git a/src/Term.cs b/src/Term.cs
index f6321c3..2c9bffb 100644
--- a/src/Term.cs
+++ b/src/Term.cs
@@ -12,10 +12,6 @@ using Mono.Unix;
using Gtk;
using Gdk;
-using FSpot.Gui;
-
-
-
namespace FSpot {
public abstract class Term {
private ArrayList sub_terms = new ArrayList ();
diff --git a/src/UI.Dialog/TagSelectionDialog.cs b/src/UI.Dialog/TagSelectionDialog.cs
index 5ef7061..f5cb1b9 100644
--- a/src/UI.Dialog/TagSelectionDialog.cs
+++ b/src/UI.Dialog/TagSelectionDialog.cs
@@ -2,7 +2,6 @@ using System;
using Gdk;
using Gtk;
using Glade;
-using FSpot.Gui;
namespace FSpot.UI.Dialog {
public class TagSelectionDialog : GladeDialog
diff --git a/src/Widgets/FolderTreePage.cs b/src/Widgets/FolderTreePage.cs
index 9dd3c6c..e552c74 100644
--- a/src/Widgets/FolderTreePage.cs
+++ b/src/Widgets/FolderTreePage.cs
@@ -16,7 +16,6 @@ using Gtk;
using GLib;
using FSpot;
-using FSpot.Gui;
using FSpot.Utils;
using Banshee.Database;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]