gnome-terminal r2615 - trunk/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-terminal r2615 - trunk/src
- Date: Thu, 29 May 2008 19:38:52 +0000 (UTC)
Author: chpe
Date: Thu May 29 19:38:52 2008
New Revision: 2615
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2615&view=rev
Log:
Reorder some code.
Modified:
trunk/src/terminal-screen.c
Modified: trunk/src/terminal-screen.c
==============================================================================
--- trunk/src/terminal-screen.c (original)
+++ trunk/src/terminal-screen.c Thu May 29 19:38:52 2008
@@ -94,6 +94,17 @@
PROP_TITLE
};
+enum
+{
+ TARGET_COLOR,
+ TARGET_BGIMAGE,
+ TARGET_RESET_BG,
+ TARGET_TEXT_PLAIN,
+ TARGET_MOZ_URL,
+ TARGET_NETSCAPE_URL,
+ TARGET_TAB
+};
+
static void terminal_screen_init (TerminalScreen *screen);
static void terminal_screen_class_init (TerminalScreenClass *klass);
static void terminal_screen_dispose (GObject *object);
@@ -129,6 +140,15 @@
GConfEntry *entry,
gpointer user_data);
+static void drag_data_received (TerminalScreen *widget,
+ GdkDragContext *context,
+ gint x,
+ gint y,
+ GtkSelectionData *selection_data,
+ guint info,
+ guint time,
+ gpointer data);
+
static void terminal_screen_match_add (TerminalScreen *screen,
const char *regexp,
int flavor);
@@ -1838,20 +1858,7 @@
gtk_window_present (GTK_WINDOW (priv->title_editor));
}
-enum
-{
- TARGET_URI_LIST,
- TARGET_TEXT,
- TARGET_COLOR,
- TARGET_BGIMAGE,
- TARGET_RESET_BG,
- TARGET_TEXT_PLAIN,
- TARGET_MOZ_URL,
- TARGET_NETSCAPE_URL,
- TARGET_TAB
-};
-
-static void
+static void
drag_data_received (TerminalScreen *widget,
GdkDragContext *context,
gint x,
@@ -2016,6 +2023,10 @@
}
break;
+ case TARGET_NETSCAPE_URL:
+ /* FIXMEchpe implement me! */
+ break;
+
case TARGET_BGIMAGE:
{
char *uri_list;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]