fix scim key selection dialog
authorMr.LeQuocTuan <Mr.LeQuocTuan@79bd180b-0a32-48ee-ac55-ada8cae9df61>
Thu, 25 Jun 2009 11:42:57 +0000 (11:42 +0000)
committerMr.LeQuocTuan <Mr.LeQuocTuan@79bd180b-0a32-48ee-ac55-ada8cae9df61>
Thu, 25 Jun 2009 11:42:57 +0000 (11:42 +0000)
git-svn-id: svn://localhost/trunk@34 79bd180b-0a32-48ee-ac55-ada8cae9df61

setup/scim_unikey_setup.cpp

index 14d89c1..44afe2d 100644 (file)
@@ -232,12 +232,13 @@ static GtkWidget* create_setup_window()
         GtkWidget *bpskey = gtk_button_new_with_label("...");
         gtk_box_pack_end(GTK_BOX(psbox), bpskey, false, false, 0);
         gtk_container_set_border_width(GTK_CONTAINER(bpskey), 5);
-        g_signal_connect(bpskey, "clicked", G_CALLBACK(on_hotkey_button_clicked), __widget_preedit_skey);
 
         __widget_preedit_skey = gtk_entry_new();
         gtk_entry_set_editable(GTK_ENTRY(__widget_preedit_skey), false);
         gtk_box_pack_end(GTK_BOX(psbox), __widget_preedit_skey, true, true, 0);
 
+        g_signal_connect(bpskey, "clicked", G_CALLBACK(on_hotkey_button_clicked), __widget_preedit_skey);
+
 
         // create preedit checkbox
         __widget_preedit = gtk_check_button_new_with_label(_("Preedit is default"));