Revision: 2088 http://geany.svn.sourceforge.net/geany/?rev=2088&view=rev Author: eht16 Date: 2007-12-04 07:28:17 -0800 (Tue, 04 Dec 2007)
Log Message: ----------- Let right-clicks select an item. Don't load unused symbols from library. Grab focus after right-clicked in the VTE widget.
Modified Paths: -------------- trunk/ChangeLog trunk/plugins/filebrowser.c trunk/src/vte.c trunk/src/vte.h
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2007-12-04 13:25:41 UTC (rev 2087) +++ trunk/ChangeLog 2007-12-04 15:28:17 UTC (rev 2088) @@ -5,6 +5,10 @@ Fix display of double backslash in path entry on Windows. Add basic path entry auto completion. Print error message when external command fails to execute. + Let right-clicks select an item. + * src/vte.c, src/vte.h: + Don't load unused symbols from library. + Grab focus after right-clicked in the VTE widget.
2007-12-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/plugins/filebrowser.c =================================================================== --- trunk/plugins/filebrowser.c 2007-12-04 13:25:41 UTC (rev 2087) +++ trunk/plugins/filebrowser.c 2007-12-04 15:28:17 UTC (rev 2088) @@ -486,7 +486,7 @@
gtk_menu_popup(GTK_MENU(popup_menu), NULL, NULL, NULL, NULL, event->button, event->time); - return TRUE; + return FALSE; } return FALSE; }
Modified: trunk/src/vte.c =================================================================== --- trunk/src/vte.c 2007-12-04 13:25:41 UTC (rev 2087) +++ trunk/src/vte.c 2007-12-04 15:28:17 UTC (rev 2088) @@ -206,7 +206,6 @@ gtk_widget_set_size_request(GTK_WIDGET(vte), 10, 10); vf->vte_terminal_set_size(VTE_TERMINAL(vte), 30, 1);
- //vf->vte_terminal_set_encoding(VTE_TERMINAL(vte), "UTF-8"); vf->vte_terminal_set_mouse_autohide(VTE_TERMINAL(vte), TRUE); vf->vte_terminal_set_word_chars(VTE_TERMINAL(vte), VTE_WORDCHARS);
@@ -323,6 +322,7 @@ popup_menu_created = TRUE; }
+ gtk_widget_grab_focus(vc->vte); gtk_menu_popup(GTK_MENU(vc->menu), NULL, NULL, NULL, NULL, event->button, event->time); }
@@ -337,9 +337,7 @@ g_module_symbol(mod, "vte_terminal_fork_command", (void*)&vf->vte_terminal_fork_command); g_module_symbol(mod, "vte_terminal_set_word_chars", (void*)&vf->vte_terminal_set_word_chars); g_module_symbol(mod, "vte_terminal_set_mouse_autohide", (void*)&vf->vte_terminal_set_mouse_autohide); - g_module_symbol(mod, "vte_terminal_set_encoding", (void*)&vf->vte_terminal_set_encoding); g_module_symbol(mod, "vte_terminal_reset", (void*)&vf->vte_terminal_reset); - g_module_symbol(mod, "vte_terminal_set_cursor_blinks", (void*)&vf->vte_terminal_set_cursor_blinks); g_module_symbol(mod, "vte_terminal_get_type", (void*)&vf->vte_terminal_get_type); g_module_symbol(mod, "vte_terminal_set_scroll_on_output", (void*)&vf->vte_terminal_set_scroll_on_output); g_module_symbol(mod, "vte_terminal_set_scroll_on_keystroke", (void*)&vf->vte_terminal_set_scroll_on_keystroke);
Modified: trunk/src/vte.h =================================================================== --- trunk/src/vte.h 2007-12-04 13:25:41 UTC (rev 2087) +++ trunk/src/vte.h 2007-12-04 15:28:17 UTC (rev 2088) @@ -117,8 +117,6 @@ void (*vte_terminal_set_word_chars) (VteTerminal *terminal, const char *spec); void (*vte_terminal_set_mouse_autohide) (VteTerminal *terminal, gboolean setting); void (*vte_terminal_reset) (VteTerminal *terminal, gboolean full, gboolean clear_history); - void (*vte_terminal_set_encoding) (VteTerminal *terminal, const char *codeset); - void (*vte_terminal_set_cursor_blinks) (VteTerminal *terminal, gboolean blink); GtkType (*vte_terminal_get_type) (void); void (*vte_terminal_set_scroll_on_output) (VteTerminal *terminal, gboolean scroll); void (*vte_terminal_set_scroll_on_keystroke) (VteTerminal *terminal, gboolean scroll);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.