Changeset 246 for trunk/desktop/class_c/wpfolderwindow.c
- Timestamp:
- Mar 10, 2007, 6:49:44 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/desktop/class_c/wpfolderwindow.c
r244 r246 651 651 #endif 652 652 653 #if 0 653 654 /* Handle mouse buttons */ 654 655 g_signal_connect (GTK_WIDGET(icon_view), "button-press-event", … … 675 676 gtk_drag_dest_set(GTK_WIDGET(icon_view), GTK_DEST_DEFAULT_ALL, targetEntries, 1, 676 677 GDK_ACTION_DEFAULT|GDK_ACTION_LINK|GDK_ACTION_COPY|GDK_ACTION_MOVE); 677 678 #endif 678 679 #if 0 679 680 /* Connect to the "clicked" signal of the "Up" tool button */ … … 682 683 #endif 683 684 685 _wpConnectDefaultSignalHandlers(nomSelf, icon_view, NULLHANDLE); 684 686 WPFolderWindow_wpSetContainerHandle(nomSelf, icon_view, NULLHANDLE); 685 687 … … 696 698 } 697 699 698 700 NOM_Scope void NOMLINK impl_WPFolderWindow_wpConnectDefaultSignalHandlers(WPFolderWindow* nomSelf, 701 const PGtkWidget pgWidget, 702 CORBA_Environment *ev) 703 { 704 /* WPFolderWindowData* nomThis=WPFolderWindowGetData(nomSelf); */ 705 706 /* Handle mouse buttons */ 707 g_signal_connect (GTK_WIDGET(pgWidget), "button-press-event", 708 G_CALLBACK (fldr_handleButtonEvent), nomSelf); 709 g_signal_connect (GTK_WIDGET(pgWidget), "button-release-event", 710 G_CALLBACK (fldr_handleButtonEvent), nomSelf); 711 712 /* Handle folder DnD */ 713 g_signal_connect(GTK_WIDGET(pgWidget), "drag-begin", 714 G_CALLBACK(fldrWindowHandleDragBegin), nomSelf); 715 g_signal_connect(GTK_WIDGET(pgWidget), "drag-motion", 716 G_CALLBACK(fldrWindowHandleDragMotion), nomSelf); 717 g_signal_connect(GTK_WIDGET(pgWidget), "drag-drop", 718 G_CALLBACK(fldrWindowHandleDragDrop), nomSelf); 719 g_signal_connect(GTK_WIDGET(pgWidget), "drag_data_received", 720 G_CALLBACK(fldrWindowHandleDragDataReceived), nomSelf); 721 g_signal_connect(GTK_WIDGET(pgWidget), "drag_data_get", 722 G_CALLBACK(fldrWindowHandleDragDataGet), nomSelf); 723 724 /* Prepare drag and drop */ 725 gtk_drag_source_set(GTK_WIDGET(pgWidget), GDK_BUTTON3_MASK, targetEntries, 726 G_N_ELEMENTS(targetEntries), 727 GDK_ACTION_DEFAULT|GDK_ACTION_LINK|GDK_ACTION_COPY|GDK_ACTION_MOVE); 728 gtk_drag_dest_set(GTK_WIDGET(pgWidget), GTK_DEST_DEFAULT_ALL, targetEntries, 1, 729 GDK_ACTION_DEFAULT|GDK_ACTION_LINK|GDK_ACTION_COPY|GDK_ACTION_MOVE); 730 731 } 732
Note:
See TracChangeset
for help on using the changeset viewer.