svnno****@sourc*****
svnno****@sourc*****
Fri Oct 5 06:57:23 JST 2007
Revision: 3269 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3269 Author: ikezoe Date: 2007-10-05 06:57:23 +0900 (Fri, 05 Oct 2007) Log Message: ----------- clean Modified Paths: -------------- kazehakase/trunk/src/sidebar/kz-tabtree.c Modified: kazehakase/trunk/src/sidebar/kz-tabtree.c =================================================================== --- kazehakase/trunk/src/sidebar/kz-tabtree.c 2007-10-04 21:54:50 UTC (rev 3268) +++ kazehakase/trunk/src/sidebar/kz-tabtree.c 2007-10-04 21:57:23 UTC (rev 3269) @@ -132,28 +132,6 @@ }; -enum { - TARGET_KAZEHAKASE_TAB, - TARGET_NETSCAPE_URL, - TARGET_TEXT_URI_LIST, - TARGET_TEXT_PLAIN, - TARGET_STRING -}; - - -#if 0 -static GtkTargetEntry dnd_types [] = -{ - { "_KAZEHAKASE_TAB", 0, TARGET_KAZEHAKASE_TAB}, - { "_NETSCAPE_URL", 0, TARGET_NETSCAPE_URL}, - { "text/uri-list", 0, TARGET_TEXT_URI_LIST}, - { "text/plain", 0, TARGET_TEXT_PLAIN}, - { "STRING", 0, TARGET_STRING} -}; -static guint n_dnd_types = G_N_ELEMENTS (dnd_types); -#endif - - KzSidebarEntry * kz_tab_tree_get_entry (gint idx) { @@ -262,21 +240,6 @@ tree_view = GTK_TREE_VIEW(widget); gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(tree_view), TRUE); gtk_container_add(GTK_CONTAINER(scrwin), GTK_WIDGET(tree_view)); -#if 0 - gtk_tree_view_enable_model_drag_source(GTK_TREE_VIEW(tree_view), - GDK_BUTTON1_MASK - | GDK_BUTTON2_MASK - | GDK_BUTTON3_MASK, - dnd_types, - n_dnd_types, - GDK_ACTION_ASK | GDK_ACTION_COPY - | GDK_ACTION_MOVE | GDK_ACTION_LINK); - gtk_tree_view_enable_model_drag_dest(GTK_TREE_VIEW (tree_view), - dnd_types, - n_dnd_types, - GDK_ACTION_ASK | GDK_ACTION_COPY - | GDK_ACTION_MOVE | GDK_ACTION_LINK); -#endif gtk_widget_show(GTK_WIDGET(tree_view)); column = gtk_tree_view_column_new();