Revision: 1236 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1236&view=re... Author: frlan Date: 2010-04-11 14:01:58 +0000 (Sun, 11 Apr 2010)
Log Message: ----------- GeanyLaTeX: Enabling inserting reference on pushing return after typing inside the insert reference dialog.
Modified Paths: -------------- trunk/geanylatex/ChangeLog trunk/geanylatex/src/geanylatex.c
Modified: trunk/geanylatex/ChangeLog =================================================================== --- trunk/geanylatex/ChangeLog 2010-04-11 13:56:49 UTC (rev 1235) +++ trunk/geanylatex/ChangeLog 2010-04-11 14:01:58 UTC (rev 1236) @@ -3,7 +3,9 @@ * Enabling inserting label on pushing return after typing in label name. * Enabling inserting \usepackage{} on pushing return after typing in dialog. * Enabling inserting environment on pushing return after typing inside - the insert environment dialog. + the insert environment dialog. + * Enabling inserting reference on pushing return after typing inside the + insert reference dialog.
2010-03-27 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
Modified: trunk/geanylatex/src/geanylatex.c =================================================================== --- trunk/geanylatex/src/geanylatex.c 2010-04-11 13:56:49 UTC (rev 1235) +++ trunk/geanylatex/src/geanylatex.c 2010-04-11 14:01:58 UTC (rev 1236) @@ -733,6 +733,7 @@ GtkWidget *radio1 = NULL; GtkWidget *radio2 = NULL; GtkWidget *radio3 = NULL; + GtkWidget *tmp_entry = NULL; GtkTreeModel *model = NULL; GeanyDocument *doc = NULL; GSList *file_list = NULL; @@ -793,6 +794,11 @@ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(radio3), FALSE); gtk_container_add(GTK_CONTAINER(vbox), radio3);
+ tmp_entry = gtk_bin_get_child(GTK_BIN(textbox_ref)); + g_signal_connect(G_OBJECT(tmp_entry), "activate", + G_CALLBACK(glatex_enter_key_pressed_in_entry), dialog); + + gtk_widget_show_all(vbox);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org